Where are the errors?
Posted: Thu Dec 16, 2004 12:44 pm
I'm probably just stupid but I can't find our why there are no warnings / error reports in my scripts. It's probably just something stupid but it complicates my work.
outputs:
Thx for your time
Code: Select all
<?php
echo error_reporting();
echo "<br><br>Division by null: ";
$i = 10/0;
echo "<br><br>Non-existent function: ";
$var = NonExistentFunction("text");
?>Code: Select all
2047
Division by null:
Non-existent function: