PHP 4.0 Bug #2917 Updated: parenthesis inside " " product a parser error

From: Date: Thu, 09 Dec 1999 18:37:52 +0000
Subject: PHP 4.0 Bug #2917 Updated: parenthesis inside " " product a parser error
Groups: php.dev 
Request: Send a blank email to php-dev+get-13527@lists.php.net to get a copy of this message
ID: 2917 Updated by: zeev Reported By: carmelo@melting-soft.com Status: Closed Bug Type: Scripting Engine problem Assigned To: Comments: Curly braces have a new meaning in PHP 4.0, they allow you to reference a 'full featured' variable within quoted strings, e.g.: print "{$foo["bar"][2*3]}"; If you want to have the two letters {$ inside a quoted string, you must then escape either the { using \: print "\{$foo}"; Full Bug description available at: http://bugs.php.net/version4/?id=2917

« previous php.dev (#13527) next »