ID:               36288
 Updated by:       [EMAIL PROTECTED]
 Reported By:      scripts at freq9 dot de
-Status:           Open
+Status:           Feedback
 Bug Type:         Variables related
 Operating System: Windows XP Prof.
 PHP Version:      6CVS-2006-02-04 (snap)
 New Comment:

Does CLI work in the same time? 
Please explain what does it mean "crashes" and provide more info.
Also, I can't reproduce it on Linux. 


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

[2006-02-04 23:17:14] scripts at freq9 dot de

Description:
------------
When I execute this code, fastcgi crashes and i´ll get an Error 500.

Reproduce code:
---------------
<?php

    $foo   = 'hello';
    $bar   = 'world';
    $fname = ($foo{4} != 'x') ?  /* condition */
               $foo.' '.$bar :   /* is true */
               $foo.$bar;        /* is false */
    echo $fname;

?>

Expected result:
----------------
hello world

Actual result:
--------------
FastCGI crashes & Error 500 (Premature end of script headers)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=36288&edit=1

Reply via email to