|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-02-27 11:33 UTC] ryh at poczta dot wp dot pl
[2008-02-27 16:39 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
Description: ------------ Other example: This should show that there is an error in file xx.php Put the files in the same directory and run test.php Then change to E_ALL and see the correct error alert. Reproduce code: --------------- File test.php ----------------------- error_reporting(E_STRICT); function autoload($class_name) { require_once Dirname(__FILE__).'/'.$class_name . '.php'; } spl_autoload_register('autoload'); $obj = new xx(); File xx.php -------------------------- class xx { abstract function yy(); } class zz extends zz { } Expected result: ---------------- Change to error_reporting to E_ALL and see the correct error alert. Actual result: -------------- Empty page.