note 65168 added to function.set-error-handler

From: Date: Tue, 25 Apr 2006 23:47:04 +0000
Subject: note 65168 added to function.set-error-handler
Groups: php.notes 
Request: Send a blank email to php-notes+get-109708@lists.php.net to get a copy of this message
Please change the "default" output to match the output of your example code... it seems confusing not to have the "my" prefix. Following is the correct output; vector a Array ( [0] => 2 [1] => 3 [2] => foo [3] => 5.5 [4] => 43.3 [5] => 21.11 ) ---- vector b - a warning (b = log(PI) * a) <b>My NOTICE</b> [1024] Value at position 2 is not a number, using 0 (zero)<br /> Array ( [0] => 2.2894597716988 [1] => 3.4341896575482 [2] => 0 [3] => 6.2960143721717 [4] => 49.566804057279 [5] => 24.165247890281 ) ---- vector c - an error <b>My WARNING</b> [512] Incorrect input vector, array of values expected<br /> NULL ---- vector d - fatal error <b>My ERROR</b> [256] log(x) for x <= 0 is undefined, you used: scale = -2.5<br /> Fatal error in line 32 of file /maxtor/work/eclipse/bMail/zz.php, PHP 4.3.11 (Linux)<br /> Aborting...<br /> ---- Server IP: 216.194.113.175 Probable Submitter: 71.51.0.34 ---- X-Spam-Status: No, hits=3.3 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HTML_MESSAGE autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.set-error-handler.php Edit -- http://master.php.net/note/edit/65168 Del: integrated -- http://master.php.net/note/delete/65168/integrated Del: useless -- http://master.php.net/note/delete/65168/useless Del: bad code -- http://master.php.net/note/delete/65168/bad+code Del: spam -- http://master.php.net/note/delete/65168/spam Del: non-english -- http://master.php.net/note/delete/65168/non-english Del: in docs -- http://master.php.net/note/delete/65168/in+docs Del: other reasons-- http://master.php.net/note/delete/65168 Reject -- http://master.php.net/note/reject/65168 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#109708) next »