[FX.php List] 1 success, one failure

Bob Patin bob at patin.com
Thu Feb 7 08:53:03 MST 2008


this may be a stupid question, but is declaring variables as simple as  
just saying

$myvar = 0;

?

Or is there a more-accepted method of doing that, like one does for  
declaring an array?

BP


On Feb 7, 2008, at 9:50 AM, Dale Bengston wrote:

> Yes, undeclared variables got me too. That and short tages and some  
> old, old references to $_HTTP_SERVER_VARS that should have been  
> $_SERVER. The short tags and the $_HTTP_SERVER_VARS were easy to  
> repair with global search-and-replace. The undeclared variables had  
> to be done by hand.
>
> Dale



More information about the FX.php_List mailing list