$ 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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to