I have a function in one of my PHP scripts that relies on version 5.3 to run.
I thought that if it was in a function that didn\'t happen to get called when run on a serv
You might look at implementing PHP 5.3+ functions if they don't exist.
if (!function_exists('array_replace')) { function array_replace(....) { // logic here } }
If you have to detect the version, you can use PHP_VERSION.
PHP_VERSION