So I was chasing my tail today doing some PHP work (deadline way tight, of course!) only to find out that the bloody weakly typed language allows instantiated a variable because I did not use its global
construct to tell it to use the variable of the same name that is external to the method. Argh!
So yeah, mind your global
s.
Categories