ID:               35411
 Updated by:       [EMAIL PROTECTED]
 Reported By:      frisauf at comnet dot cz
-Status:           Assigned
+Status:           Closed
 Bug Type:         Strings related
 Operating System: linux
 PHP Version:      5.1.0
 Assigned To:      iliaa
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




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

[2005-11-26 18:42:15] [EMAIL PROTECTED]

This commit seems to be the cause:
http://cvs.php.net/diff.php/ZendEnine2/zend_language_scanner.l?r1=1.131.2.1&r2=1.131.2.2&ty=u

I give infos to ilia, he likes to fix that.

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

[2005-11-26 17:51:26] frisauf at comnet dot cz

Description:
------------
I have found unexpected behaviour in PHP 5.1.0.

Escaping braces in strings doesn't work as in previous version.

Reproduce code:
---------------
$string="abc";

echo "... {$string} ...\n";
echo "... \{$string} ...\n";


Expected result:
----------------
php 5.0.5:

... abc ...
... {abc} ...


Actual result:
--------------
php 5.1.0:

... abc ...
... {$string} ...


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


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

Reply via email to