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

From: Date: Sat, 26 Nov 2005 17:42:16 +0000
Subject: #35411 [Opn]: brace escape problem (changed behaviour)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89053@lists.php.net to get a copy of this message
ID: 35411 Updated by: pajoye@php.net Reported By: frisauf at comnet dot cz Status: Open Bug Type: Strings related Operating System: linux PHP Version: 5.1.0 -Assigned To: +Assigned To: ilia New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#89053) next »