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 PHP 4 to PHP 5.

Was this intentional and if yes, should it be documented in http://www.php.net/manual/en/migration5.incompatible.php ?

If this has been discussed before then I apologize.

Cheers,
- Chris

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to