Monthly Archives: April 2008
Functions in strings with PHP as templates
Although you can use variables within strings in PHP, you can’t do functions. Well, not quite. If your function name begins with a dollar sign ($), it works fine. You can exploit this to call non-object functions such as htmlspecialchars. … Continue reading
I'm on Twitter!