note 52240 deleted from language.variables by danbrown

From: Date: Sun, 20 Jul 2008 16:08:39 +0000
Subject: note 52240 deleted from language.variables by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-142155@lists.php.net to get a copy of this message
Note Submitter: david at rayninfo dot co dot uk ---- When constructing strings from text and variables you can use curly braces to "demarcate" variables from any surrounding text where, for whatever reason, you cannot use a space eg: $str="Hi my name is ${bold}$name bla-bla"; which AFAIK is the same as $str="Hi my name is {$bold}$name bla-bla"; zzapper

« previous php.notes (#142155) next »