#35411 [Opn->Asn]: brace escape problem (changed behaviour)

From: Date: Sat, 26 Nov 2005 21:12:45 +0000
Subject: #35411 [Opn->Asn]: brace escape problem (changed behaviour)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89067@lists.php.net to get a copy of this message
ID: 35411 Updated by: iliaa@php.net 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] pajoye@php.net 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

« previous php.bugs (#89067) next »