PHP 4.0 Bug #6785 Updated: { needs to be backslashed if followed by a variable
| From: | Bug Database | Date: | Sun, 17 Sep 2000 06:03:21 +0000 |
| Subject: | PHP 4.0 Bug #6785 Updated: { needs to be backslashed if followed by a variable | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33379@lists.php.net to get a copy of this message | ||
ID: 6785
Updated by: stas
Reported By: alain@onesite.org
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
This is not a bug. Please read http://www.php.net/version4/incompatibilities.php
Previous Comments:
---------------------------------------------------------------------------
[2000-09-17 01:58:16] alain@onesite.org
I'm not sure this is a bug :
this works :
====================
<?php
echo "{n";
?>
====================
this fails :
====================
<?php
$s="hello";
echo "{$s";
?>
====================
Parse error: parse error, expecting `'}'' on line 3
Just in case :
http://www.onesite.org/phpinfo.php
Alain
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6785