1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

Return the error, not dump it

This commit is contained in:
Hannes Magnusson
2008-12-05 09:01:39 +00:00
parent 33e5665a9b
commit 5abd69f1e8

View File

@@ -65,7 +65,7 @@ function run_self_tests() {
return array(
"name" => "Header weirdness. Pages named '.html.php' are returning wrong status headers",
"see" => $MYSITE . "mirroring-troubles.php#content-type",
"got" => var_export($ctype),
"got" => var_export($ctype, true),
);
}
@@ -77,7 +77,7 @@ function run_self_tests() {
return array(
"name" => "MultiViews on",
"see" => $MYSITE . "mirroring-troubles.php#multiviews",
"got" => var_export($ctype),
"got" => var_export($ctype, true),
);
}
@@ -87,7 +87,7 @@ function run_self_tests() {
return array(
"name" => "Var Handler",
"see" => $MYSITE . "mirroring-troubles.php#var",
"got" => var_export($header),
"got" => var_export($header, true),
);
}