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


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