ID: 40241 Updated by: [EMAIL PROTECTED] Reported By: markus at dix dot at -Status: Open +Status: Feedback Bug Type: Strings related Operating System: Linux PHP Version: 5.2.0 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2007-01-25 20:48:27] markus at dix dot at Description: ------------ PHP crashes sometimes, when first parameter of strcspn is empty (string with length zero). Example: see http://bugs.typo3.org/view.php?id=4678 Maybe this bug is related to bug #39032 (strcspn stops on null character)? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40241&edit=1