I recently updated my copy of PHP and it requires me to initialize my variables before I use them. Is there any way I can get around this? Maybe some setting in the php.ini file(I have full access) and if not how does one go about initializing a variable?
There is a setting in php.ini, but it's easy enough to initialise a variable:
$foo = 'bar';
$foo is now initialised with the value 'bar';
could you please explain the setting in php.ini? to set all of my used and uninitialized(at first) vars would take a lot of work, they're scripts from a while back.
resolved, thanks anyway