Re: make test result (4.1.0RC CVS)

From: Date: Mon, 12 Nov 2001 00:55:58 +0000
Subject: Re: make test result (4.1.0RC CVS)
References: 1 2 3  Groups: php.qa 
Request: Send a blank email to php-qa+get-3806@lists.php.net to get a copy of this message
Yasuo Ohgaki wrote:
Sander Roobol wrote:
Following critical(?) problems are seems to be fixed in latest 4.1.0RC CVS. - zlib output compression crash - segfault at the shutdown when --enable-debug is enabled (mostly fixed?) Rather critical bugs, that I know & verified exists in both 4.1.0 and 4.2.0, are - #8441 (register_globals=on and track_vars=on produce strange results for arrays) - #13703 (PHP allows function redefinition)
What about #11389 and #12776? Both are bugs about crashes using array_walk. Don't know if they're related, but it seems someone needs to take a look at the array_walk function... Sander
I cannot reproduce #11389. PHP won't crash on linux. Reporter's envronment is Windows, though. Could anyone confirm this bug on Windows? IIRC there is commit for array_walk crash.
It seems this bug is still active. PHP does not display echo "after\n", print_r() and "aaaaaaaa*". It seems PHP exit from script. =========== begin ============== <pre> <?php $myarr = array(array(1,2,3), array(1,2,3), array(1,2,3)); echo "before\n"; print_r($myarr); array_walk(&$myarr, "myfunc"); function myfunc(&$value, $key) { global $myarr; $myarr=null; } echo "after\n"; print_r($myarr); ?> </pre> aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ============ end ============= -- Yasuo Ohgaki

« previous php.qa (#3806) next »