|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-28 17:56 UTC] didou@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 20 07:00:01 2025 UTC |
Description: ------------ I see: string set_error_handler ( callback error_handler) Must be: callback set_error_handler ( callback error_handler) Because: "Returns the _previously defined error handler_ (if any), or FALSE on error." Reproduce code: --------------- <? class a { function h() { echo "a::h()"; } }; set_error_handler(array('a','h')); print_r(set_error_handler(array('a','h'))); ?>