Re: [PHP-DEV] String BC break \{$a}

2007-03-23 Thread Christian Schneider
Tomas Kuliavas wrote: It was changed in 5.1.0-5.1.1 versions. According to PHP Manual (http://www.php.net/language.types.string) curly brackets are not escaped with backslash. Escape worked in older PHP versions. It does not work in 5.1.1+. http://bugs.php.net/31341 http://bugs.php.net/35411

Re: [PHP-DEV] String BC break \{$a}

2007-03-22 Thread Tomas Kuliavas
> Hi there, > looking around quickly I couldn't find any documentation on the > following change: > $a = "foo"; echo "\{$a}"; > > PHP 4.4.4: {foo} > PHP 5.2.1: \{foo} > > I didn't check which exact version introduced this change. Some > third-party code used this obscure construct and failed when m

[PHP-DEV] String BC break \{$a}

2007-03-22 Thread Christian Schneider
Hi there, looking around quickly I couldn't find any documentation on the following change: $a = "foo"; echo "\{$a}"; PHP 4.4.4: {foo} PHP 5.2.1: \{foo} I didn't check which exact version introduced this change. Some third-party code used this obscure construct and failed when migrating from