ID:               34192
 User updated by:  crypticcreeper at yahoo dot com
 Reported By:      crypticcreeper at yahoo dot com
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Windows 2000 Professional
 PHP Version:      5.1.0RC1
 New Comment:

I just tried the latest 5.1.x CVS snapshot and still crash is occurring
for me =o(


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to