5.1 has reached end-of-life and will no longer receive
bugfixes or security patches from the PHP Project. Some downstream distributions may still continue to provide
backported fixes for a time, depending on their support policy.
Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any string greater then 255 characters).
Fixed bug #30937 (date_sunrise() & date_sunset() don't handle endless day/night at high latitudes).
Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if display_startup_error is off).
Fixed bug #29955 (mb_strtoupper() / lower() broken with Turkish encoding).
Fixed bug #28899 (mb_substr() and substr() behave differently when "mbstring.func_overload" is enabled).
Fixed bug #27678 (number_format() crashes with large numbers).
PHP 5.1.1
Released 28 Nov, 2005
disabled native date class to prevent pear
Changed reflection constants be both PHP and class constants.
Added an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object.
Fixed bug #35423 (RecursiveDirectoryIterator doesnt appear to recurse with RecursiveFilterIterator).
Fixed bug #35413 (Removed -dev flag from Zend Engine version).
Fixed bug #35406 (eval hangs when evall'ed code ends with comment w/o newline).
fixed bug #35391 (pdo_mysql
Fixed bug #35382 (Comment in end of file produces fatal error).
Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash).
Fixed bug #35358 (Incorrect error messages for PDO class constants).
Fixed bug #35338 (pdo_pgsql does not handle binary bound params).
Fixed bug #35316 (Application exception trying to create COM object).
Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x).
PHP 5.1.0
Released 24 Nov, 2005
added optional first parameter to xsltprocessor
Added imageconvolution() function which can be used to apply a custom 3x3 matrix convolution to an image. (Pierre) only allow certain functions to be called from XSLT.
Added the ability to override the autotools executables used by the buildconf script via the PHP_AUTOCONF and PHP_AUTOHEADER environmental variables.
Added several new functions to support the PostgreSQL v3 protocol introduced in PostgreSQL 7.4.
pg_transaction_status() - in-transaction status of a database connection.
pg_query_params() - execution of parameterized queries.
pg_prepare() - prepare named queries.
pg_execute() - execution of named prepared queries.
pg_send_query_params() - async equivalent of pg_query_params().
pg_send_prepare() - async equivalent of pg_prepare().
pg_send_execute() - async equivalent of pg_execute().
pg_result_error_field() - highly detailed error information, most importantly the SQLSTATE error code.
pg_set_error_verbosity() - set verbosity of errors.
Added optional fifth parameter "count" to preg_replace_callback() and preg_replace() to count the number of replacements made. FR #32275.
Added optional third parameter "charlist" to str_word_count() which contains characters to be considered as word part. FR #31560.
Added interface Serializable.
Added pg_field_type_oid() PostgreSQL function.
Added zend_declare_property_...() and zend_update_property_...() API functions for bool, double and binary safe strings.
Added possibility to access INI variables from within .ini file.