ID: 34192
Updated by: [EMAIL PROTECTED]
Reported By: crypticcreeper at yahoo dot com
Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows 2000 Professional
PHP Version: 5.1.0RC1
New Comment:
None of your examples crash. Please provice more information about your
setup.
Previous Comments:
------------------------------------------------------------------------
[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