ID: 32021 Updated by: [EMAIL PROTECTED] Reported By: mueller_rainer at gmx dot de -Status: Assigned +Status: Closed Bug Type: Reproducible crash PHP Version: 5.0.3 Assigned To: derick New Comment:
This bug has been fixed in CVS. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. Thank you for the report, and for helping us make PHP better. 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