Segfault with error callback
| From: | Timm Friebe | Date: | Tue, 11 May 2004 16:01:35 +0000 |
| Subject: | Segfault with error callback | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-9819@lists.php.net to get a copy of this message | ||
$ php -r 'function e($code, $msg, $file, $line, &$context) { }
set_error_handler("e"); trigger_error("Hello");'
Notice: Hello in Command line code on line 1
Segmentation fault (core dumped)
Affected: PHP4, PHP5. Does not occur when & before $context is omitted.
- Timm