Hi,
I was just wondering what the difference/advantage of these two
methods of writing a string are:
1) $string = "foo{$bar}";
2) $string = 'foo'.$bar;
I always use method 2 but have been noticing method 1 more and more in
source code. Is this just user preference?
I would use a generic search engine but not sure what the first method
is called so don't know where to begin my search.
Thanks for any help.
Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php