ID: 34192 Updated by: [EMAIL PROTECTED] Reported By: crypticcreeper at yahoo dot com -Status: Open +Status: Feedback Bug Type: Reproducible crash Operating System: Windows 2000 Professional PHP Version: 5.1.0RC1 New Comment:
Provide only the changes you've made to php.ini (compared to whatever you used as base). Previous Comments: ------------------------------------------------------------------------ [2005-08-19 23:06:35] crypticcreeper at yahoo dot com -------------------------------------------------------- System Setup -------------------------------------------------------- Server : Apache 2.0.54 PHP : 5.1.x to latest CVS OS : Windows 2000 Professional Safe Mode : off -------------------------------------------------------- -------------------------------------------------------- Apache Error Log -------------------------------------------------------- [Fri Aug 19 11:28:23 2005] [notice] Digest: generating secret for digest authentication ... [Fri Aug 19 11:28:23 2005] [notice] Digest: done [Fri Aug 19 11:28:26 2005] [notice] Apache configured -- resuming normal operations [Fri Aug 19 11:28:26 2005] [notice] Server built: Apr 16 2005 14:25:31 [Fri Aug 19 11:28:26 2005] [notice] Parent: Created child process 2560 [Fri Aug 19 11:28:27 2005] [notice] Digest: generating secret for digest authentication ... [Fri Aug 19 11:28:27 2005] [notice] Digest: done [Fri Aug 19 11:28:28 2005] [notice] Child 2560: Child process is running [Fri Aug 19 11:28:28 2005] [notice] Child 2560: Acquired the start mutex. [Fri Aug 19 11:28:28 2005] [notice] Child 2560: Starting 250 worker threads. [Fri Aug 19 11:29:39 2005] [notice] Parent: child process exited with status 1073807364 -- Restarting. -------------------------------------------------------- -------------------------------------------------------- Notes -------------------------------------------------------- I've tried switching different options for highlight_*() functions and crash still occurs. Only __METHOD__ and __FUNCTION__ seem to crash it for me. I tested this same thing on my live server which runs Apache 1.3.x, PHP 5.0.4 and Linux, but it does not crash. Only my local development server seems to be crashing from it. If you request will post php.ini settings too. Thanks. -------------------------------------------------------- ------------------------------------------------------------------------ [2005-08-19 17:10:59] [EMAIL PROTECTED] None of your examples crash. Please provice more information about your setup. ------------------------------------------------------------------------ [2005-08-19 14:36:12] crypticcreeper at yahoo dot com I just tried the latest 5.1.x CVS snapshot and still crash is occurring for me =o( ------------------------------------------------------------------------ [2005-08-19 14:28:26] crypticcreeper at yahoo dot com Description: ------------ When using __METHOD__ or __FUNCTION__ in highlight_*() functions Apache crashs and restarts. Reproduce code: --------------- echo highlight_string('<?php echo __METHOD__; ?>'); OR $string = '<?php class test { function test() { echo __METHOD__; } } ?>'; echo highlight_string($string); Expected result: ---------------- Highlight string/file. Actual result: -------------- Apache crashs and restarts ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34192&edit=1