Did you know this about PHP?
It occurred to me today that there is actually a difference between using the $GLOBALS array and the global keyword in PHP.
You write:
function foo()
{
global $var;
}
PHP does:
function foo()
{
$var =& $GLOBALS['var'];
}
Why does this matter? The manual knows the answer.
On another note: I have been working on a new theme for a while now. It’s probably going to be my best one yet, but I’ll let you judge about that. I am also developing a WordPress plugin at the moment, it will be released when I launch the theme. ![]()
Alan on August 19th, at 11:07 pm •