Bug #13289: array_map segfault

From: Date: Thu, 13 Sep 2001 17:50:12 +0000
Subject: Bug #13289: array_map segfault
Groups: php.dev 
Request: Send a blank email to php-dev+get-65891@lists.php.net to get a copy of this message
From: vincent@igeek.co.uk Operating system: Linux version 2.2.15pre3 (benh@s PHP version: 4.0.6 PHP Bug Type: Arrays related Bug description: array_map segfault This is a duplicate bug. I couldn't find any way to comment on the last on (id 11933). I am also experiencing this problem, but to answer one of the questions on the previous bug, I am not running the Zend Optimiser, (won't run on PPC arch). I am afraid i was not in a position to run gdb. Configure line:  './configure' '--with-apxs=/usr/local/apache/bin/apxs' '-- enable-bcmath' '--with-zlib' '--with-gd=shared' '--with- mysql=/usr/local/mysql' '--with-jpeg-dir=/usr/local/lib' '- -with-freetype-dir=/usr/include' '--with-png-dir=/usr/ local/lib' Also the array_map function is called three times with the same function but different arrays. This is my custom function: function jumpURL($fileName) { return('<a href="?action=jump&jump= '.base64_encode($fileName).'" target="_top">'.$fileName.'</ a>'); } And this is the offending call: $out = array_map('jumpURL',$out); -- Edit bug report at: http://bugs.php.net/?id=13289&edit=1

« previous php.dev (#65891) next »