|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-12-06 16:50 UTC] stas@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 10:00:01 2025 UTC |
Description: ------------ If user error handler returns false on amd64, PHP crashes. This is due to the fact that zend_error uses va_list twice, which does not work on systems where va_arg modifies va_list. Reproduce code: --------------- <? function my_error($errno, $errstr, $errfile, $errline) { print "$errstr ($errno) in $errfile:$errline\n"; return false; } set_error_handler('my_error'); $f = fopen("/tmp/blah", "r"); ?>