using . to concatenate strings ?

From: Date: Thu, 04 Dec 2003 08:47:29 +0000
Subject: using . to concatenate strings ?
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24119@lists.php.net to get a copy of this message
Hi all, i have a php question. What is the best way to go ? $str = 'text ' . $obj->myvar . ' extrat text'; or $str = "text {$obj->myvar} extrat text'; Does one have advantages over the other ?

« previous php.pear.dev (#24119) next »