ID: 32021 Updated by: [EMAIL PROTECTED] Reported By: mueller_rainer at gmx dot de -Status: Open +Status: Assigned Bug Type: Reproducible crash PHP Version: 5.0.3 -Assigned To: +Assigned To: derick
Previous Comments: ------------------------------------------------------------------------ [2005-02-18 14:06:20] mueller_rainer at gmx dot de Description: ------------ If you use '' as the first parameter and a non-empty string as second parameter for range() PHP crashes/produces a segfault. Tested on Windows with 5.0.3 and also on Linux with CVS Snapshot PHP 5.0.4-dev. Reproduce code: --------------- $foo = range('', 'z'); Expected result: ---------------- range() should return an empty array. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32021&edit=1