note 94081 added to function.trigger-error

From: Date: Thu, 15 Oct 2009 15:07:02 +0000
Subject: note 94081 added to function.trigger-error
Groups: php.notes 
Request: Send a blank email to php-notes+get-161767@lists.php.net to get a copy of this message
It actually turns out - at least on PHP 5.2.6 on XAMPP (Windows) that for the custom error handler, you will need to set $errorType as the first parameter, and only the second parameter as $message, i.e. in reverse order compared to how the manual states it now. ---- Server IP: 69.147.83.197 Probable Submitter: 82.78.28.76 ---- Manual Page -- http://www.php.net/manual/en/function.trigger-error.php Edit -- https://master.php.net/note/edit/94081 Del: integrated -- https://master.php.net/note/delete/94081/integrated Del: useless -- https://master.php.net/note/delete/94081/useless Del: bad code -- https://master.php.net/note/delete/94081/bad+code Del: spam -- https://master.php.net/note/delete/94081/spam Del: non-english -- https://master.php.net/note/delete/94081/non-english Del: in docs -- https://master.php.net/note/delete/94081/in+docs Del: other reasons-- https://master.php.net/note/delete/94081 Reject -- https://master.php.net/note/reject/94081 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#161767) next »