#35411 [NEW]: brace escape problem (changed behaviour)
| From: | frisauf at comnet dot cz | Date: | Sat, 26 Nov 2005 16:51:27 +0000 |
| Subject: | #35411 [NEW]: brace escape problem (changed behaviour) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-89048@lists.php.net to get a copy of this message | ||
From: frisauf at comnet dot cz
Operating system: linux
PHP version: 5.1.0
PHP Bug Type: Strings related
Bug description: brace escape problem (changed behaviour)
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 bug report at http://bugs.php.net/?id=35411&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35411&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35411&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35411&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=35411&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=35411&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=35411&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=35411&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=35411&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=35411&r=support
Expected behavior: http://bugs.php.net/fix.php?id=35411&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=35411&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=35411&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=35411&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35411&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=35411&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=35411&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=35411&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=35411&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=35411&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=35411&r=mysqlcfg