ID: 12929
Updated by: andrei
Status: Assigned
Bug Type: Reproducible crash
Operating System: linux
PHP Version: 4.0.6
Assigned To: andrei
New Comment:

I can fix the crash, but what should be done with the keys? Should they be just 
ignored? I think it only makes sense to preserve them if you are mapping a single 
arrays, in case there are 2 or more, the keys are useless.. agree?

Previous Comments:

[2001-08-23 12:38:35] [EMAIL PROTECTED]

Have fun:
        $data = Array('a','b','c'); // works
#       $data = Array(1 => 'a', 2 => 'b', 3 => 'c');  // crash
#       $data = Array('1' => 'a', '2' => '3'); // crash

        $plop = array_map('addslashes', $data);
        die("I didn't crash :)");


Edit this bug report at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to