note 82454 added to function.set-error-handler

From: Date: Fri, 11 Apr 2008 14:42:21 +0000
Subject: note 82454 added to function.set-error-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-138184@lists.php.net to get a copy of this message
Per the comment below: There's no problem with static class functions. The proper way to set a callback for a static class function is: array("Classname", "functionname") The class name is a string. If you don't quote the string, PHP treats it as a barestring and triggers a notice. /manual/en/language.pseudo-types.php ---- Server IP: 64.71.164.2 Probable Submitter: 68.95.121.200 ---- Manual Page -- http://www.php.net/manual/en/function.set-error-handler.php Edit -- https://master.php.net/note/edit/82454 Del: integrated -- https://master.php.net/note/delete/82454/integrated Del: useless -- https://master.php.net/note/delete/82454/useless Del: bad code -- https://master.php.net/note/delete/82454/bad+code Del: spam -- https://master.php.net/note/delete/82454/spam Del: non-english -- https://master.php.net/note/delete/82454/non-english Del: in docs -- https://master.php.net/note/delete/82454/in+docs Del: other reasons-- https://master.php.net/note/delete/82454 Reject -- https://master.php.net/note/reject/82454 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#138184) next »