ID: 48888 Updated by: j...@php.net Reported By: contact at juzaz dot com -Status: Open +Status: Feedback -Bug Type: Unknown/Other Function +Bug Type: Reproducible crash Operating System: Linux 2.6.24-gentoo-r8 PHP Version: 5.2.10 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: ------------------------------------------------------------------------ [2009-07-12 08:00:45] sjoerd-php at linuxonly dot nl Thank you for your bug report. How do you run these scripts? From the command line or from the browser? ------------------------------------------------------------------------ [2009-07-11 17:12:36] contact at juzaz dot com Description: ------------ When running 2 batch scripts simultaneously, getting weird errors like: Fatal error: Call to undefined function substr() in xxx.php on line 125 The problem is obviously not related to the source code as it happens with built-in functions. It also happens with custom class functions sometimes. The problem doesn't seem to exist when a single php process is running. Unfortunately the problem is not reproductible intentionnally. The exact same code and conditions will sometimes work and other times fail. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48888&edit=1