I'm a beginner with PHP and I'm stucked in this problem:
Code: Select all
<?php
set_error_handler('my_e_handler');
function my_e_handler() {
echo "error";
exit();
}
$my_date = date('Y');
echo $my_date;
?>I have Windows XP, PHP 5.1.1 and Apache 2.0.55. I can't find any error/notice/warning messages in logs.
Plz let me know the answer!