PHP Release 5.1.1


PHP 5.1.1. Release Announcement

The PHP Development Team would like to announce the immediate release of PHP 5.1.1.

This is a regression correction release aimed at addressing several issues that may cause issues for certain applications. The main fixes found in this release include the following:

  • Native date class is withdrawn to prevent namespace conflict with PEAR's date package.
  • Fixed fatal parse error when the last line of the script is a PHP comment.
  • eval() hangs when the code being evaluated ends with a comment.
  • Usage of \{$var} in PHP 5.1.0 resulted in the output of {$var} instead of the $var variable's value enclosed in {}.
  • Fixed inconsistency in the format of PHP_AUTH_DIGEST between Apache 1 and 2 sapis.
  • Improved safe_mode/open_basedir checks inside the cURL extension.

For a full list of changes in PHP 5.1.1, see the ChangeLog.

Source Code
Change Logs
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 #35411 (Regression with \{$ handling).
  • 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).
To Top