|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-03-15 10:48 UTC] nizar dot jouini at gmail dot com
[2007-03-15 16:44 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ Trying to set an exception handler which is a type of 'static public function' results in a segfault. This script is run from php-cli Reproduce code: --------------- <?php class ehandle{ static public function exh ($ex) { echo 'foo'; } } set_exception_handler("ehandle::exh"); throw new Exception ("Whiii"); ?> Expected result: ---------------- I would expect to catch an exception. Actual result: -------------- fish: Job 1, ?php destroythis.php ? terminated by signal SIGSEGV (Address boundary error)