This really should not be this complicated, which indicates I am doing a problem, but after checking the paperwork I can not evaluate which.

I am attempting to perform a simple determine if the kind of a "tag" is incorporated in the listing of types for use throughout this operation, by using this bit of code ($level is passed in like a parameter):

$filter = $this->levels[isset($this->levels[$level])?$level:'max'];
foreach($this->tags as $name => $tag)
{
    $firephp->warn($tag);
    if(in_array($tag->type , $filter) == false) continue;
    // code omitted (this is where it dies)
}

Checking FirePHP reviews a 500 Internal Server Error happened, and I am 99.9% sure it's here (like I stated, this is the line when PHP execution stops). And So I suppoes this really is two questions: How do you get this to work, why is this happening to begin with?

Also, whether it matters, I am using Apache 2.2.11 on Home windows Vista (32-bit) with PHP 5.2.9-1 and MySQL 5.1

UPDATE: Let alone - switched to be considered a syntax error. If a person could close this that might be great.

Why don't you switch on error_confirming to obtain a more in depth error?

error_reporting(E_ALL);
ini_set('display_errors', 1);