ID:               21721
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Slackware 8.1
 PHP Version:      4.2.3
 New Comment:

Cannot reproduce the bug are mentioned.

Tested an equivalent script:

<?=echo "BUG\n"; ?>

Using the CLI from PHP 4.3.0, I get:

% php -f echo.php
[Error during execution of script] 
Parse error: parse error, unexpected T_ECHO, expecting ',' or ';' in
/tmp/echo.php on line 1

Using PHP CGI 4.2.0 or 4.1.0 I get:

[Error during execution of script] <br />
<b>Parse error</b>:  parse error, unexpected T_ECHO, expecting ',' or
';' in <b>/tmp/echo.php</b> on line <b>1</b><br />

I am using Solaris 8.


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

[2003-01-17 21:38:18] [EMAIL PROTECTED]

When parsing the code, the entire script crashes without outputting
anything.  And I see nothing in the logs.  I think there should be an
error message outputted with this.

I'm running apache 1.27 with PHP compiled into it, not APXS.

The exact part of the script is as followed:
<?=echo $_GET['username']."@".$_USER['domain']?>

A phpinfo() page can be found here:

http://www.nudenurd.com/phpinfo.php

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


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

Reply via email to