note 65168 rejected from function.set-error-handler by bjori
| From: | bjori@php.net | Date: | Wed, 26 Apr 2006 00:05:23 +0000 |
| Subject: | note 65168 rejected from function.set-error-handler by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-109709@lists.php.net to get a copy of this message | ||
Note Submitter: brice bhb at iceburg dot net
----
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 />