Gerd Riesselmann: Notes From the Bog - All Around Objects: C++, .NET, PHP, Design Patterns And MoreThis is the blog of Gerd Riesselmann, a freelance software developer from Cologne, Germany. This site contains articles about software development and user interface design in general and object oriented programming in special, covering a set of programming languages from C++ and C# to PHP and Javascript. Additionally, you'll find code snippets and modules for Drupal, the open source content management system powering this site.PHP: Beware of Variables Inside Strings- February 28, 2007 One of the rather useless discussion among software developers is if to use PHP variable parsing when building string or not. That is if you should write your code like this: <php $value = 15; $text = "Value is $value, isn't it"; > Or better like this <php $value = 15; $text = 'Value is ' . $value . ', isn't it'; > Well, some claim that the first version,.http://www.gerd-riesselmann.net/php-beware-of-variables-inside-strings |