There is an alternative to the "upgrade.php" script, that already existed for a longer time. You can find it under pear.php.net/package/P... (pear.php.net/package/P...) and it is sometimes already installed on servers.
The emulation functions of PHP_Compat (pear.php.net/package/P...) are often a bit cleaner and behave more (Warning messages) like the native ones would. It is suddenly also not complete yet, but both projects can be used in conjuction easily.
PEAR::PHP_Compat
There is an alternative to the "upgrade.php" script, that already existed for a longer time. You can find it under pear.php.net/package/P... (pear.php.net/package/P...) and it is sometimes already installed on servers.
The emulation functions of PHP_Compat (pear.php.net/package/P...) are often a bit cleaner and behave more (Warning messages) like the native ones would. It is suddenly also not complete yet, but both projects can be used in conjuction easily.