Re: Fix for bug #25543

From: Date: Fri, 03 Oct 2003 05:43:08 +0000
Subject: Re: Fix for bug #25543
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-4660@lists.php.net to get a copy of this message
#25543 is documentation 'bug', what exactly does your patch fix? I don't see anything wrong with set_error_handler().. --Jani On Fri, 3 Oct 2003, Moriyoshi Koizumi wrote: >Hi, > >Attached is a fix for bug #25543 (Error in set_error_handler() definition), >which is caused by disordered scheduling of the garbage collection >(zend_clean_garbage()). > >With this patch I'm adding the following two inline functions, >zend_begin_atomic() and zend_end_atomic(), to prevent GC from being >performed at the right time. Calls to those functions are inserted >at the beginning / end of zend_fetch_dimension_address(), >zend_fetch_property_address(), and some other functions of the same kind. > >I'll commit these shortly if you don't see any problem. > >Regards, > >Moriyoshi >

« previous php.internals (#4660) next »