Code: Alles auswählen
<?php
error_reporting(E_ALL | E_STRICT);
echo $test;
echo "TEST";
header('HTTP/1.1 404 Not Found');
?>
Der Test auf XAMPP 1.5.5 verlief jedoch nicht so gut, der letzte Fehler wurde übergangen:Notice: Undefined variable: test in /.../test.php on line 5
TEST
Warning: Cannot modify header information - headers already sent by (output started at /.../test.php:5) in /.../test.php on line 8
Weiß jemand, woran das liegen könnte?Notice: Undefined variable: test in C:\...\test.php on line 5
TEST