The upgrade.php script provides PHP backwards compatibility. It does so by automatically defining workalikes for more recently introduced PHP 5.2 or 6.0 core functions when run in an older interpreter version (like 4.1). This allows developers or projects to safely use the more advanced features of PHP while still supporting most applications that run on outdated servers. It emulates over 100 core functions and the complete FTP, ctype, GETTEXT, and mime_magic extensions, and comes with reasonable emulations for PDO, bcmath, ODBC, and the FILTER extension.
|Tags||Software Development Libraries|
Release Notes: The new PHP 5.5 functions array_column, json_last_error_msg, and boolval were added. Password_compat is included. Minor fixes were made to json_decode, and new wrapper functions mimicking the dated mysql_* extension with pdo_* prefixes were added, where pdo_query() provides easy-to-use bound parameters additionally.
Release Notes: Various new PHP 5.3 and 5.2 functions have been added. A new extension provides pspell functionality. Multiple errors have been fixed, such as example array handling in preg_filter and escaping in json_encode.
Release Notes: Contributed fixes to json_decode() helped with compliance of the array conversion parameter. New PHP5.3 additions are preg_filter(), lcfirst(), parse_ini_string(), and array_replace(). Contrib modules have been rearranged. A new style object-oriented $_REQUEST input wrapper and data filter have been added.
Release Notes: This release includes PDO emulation for PHP 4.x. This new unified PHP5 standard database interface prevents SQL injection exploits if you use its prepared statements instead of error-prone string concatenation and manual escaping. Other changes include more detailed phpDoc-style comments in the main script, and file_put_contents() support for the file locking flag. The emulated json_decode() function now supports Unicode escapes and still remains five times faster than JSON.php or the Zend_Framework decoder.