Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:28562 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1242 invoked by uid 1010); 23 Mar 2007 02:16:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1227 invoked from network); 23 Mar 2007 02:16:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Mar 2007 02:16:23 -0000 X-Host-Fingerprint: 217.162.171.242 217-162-171-242.dclient.hispeed.ch Received: from [217.162.171.242] ([217.162.171.242:5410] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/AB-06941-67833064 for ; Thu, 22 Mar 2007 21:16:22 -0500 Message-ID: <62.AB.06941.67833064@pb1.pair.com> To: internals@lists.php.net Date: Fri, 23 Mar 2007 03:16:13 +0100 User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 217.162.171.242 Subject: String BC break \{$a} From: cschneid@cschneid.com (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 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