From:             [EMAIL PROTECTED]
Operating system: Mandrake Linux 8.2
PHP version:      4.1.2
PHP Bug Type:     Reproducible crash
Bug description:  Using natsort() on multi-dimensional arrays causes the PHP engine to 
segfault

The problem arises when you attempt to natsort() a multi-dimensional array,
which in turn causes the engine 
to segault.

[[EMAIL PROTECTED]]-[~]$ echo '<? $x = array("a",array("x","y"),"b");
natsort($x); ?>' | php -q
Segmentation fault

This bug exists in both PHP-4.1.2 and the current PHP CVS as of 03/21/02.
-- 
Edit bug report at http://bugs.php.net/?id=16212&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16212&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16212&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16212&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16212&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16212&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16212&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16212&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16212&r=submittedtwice

Reply via email to