TonyGroves
Programmer
I'm totally new to PHP, but I've taken over the maintenance of a website which uses PHP, and have copied it for testing purposes to my local Debian server which runs Apache 2.2 with the PHP 5.2.0 module. I notice that on my local server, the PHP function array_merge($arg1,$arg2) aborts if the first argument is undefined, but on the live server (I don't know which PHP version it runs, but I suspect it's quite old) it works as you'd expect. It's no problem to patch the script to suit, but if it was possible to set some global configuration option instead, that would better.
So, can somebody tell me is there some way to set a global option to handle that type of situation, or is there something else I can do? Remember, I'm new to PHP!
Thanks.
So, can somebody tell me is there some way to set a global option to handle that type of situation, or is there something else I can do? Remember, I'm new to PHP!
Thanks.