Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI.Optimized interpolated strings to use one less opcode.Optimized string searching for a single character.Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single ZEND_ADD_INTERFACE opcode.Optimized require_once() and include_once() by eliminating fopen(3) on second usage.Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end. Improved memory usage by moving constants to read only memory.Improved engine stack implementation for better performance and stability.Improved PHP binary size and startup speed with GCC4 visibility control.Replaced all flex based scanners with re2c based scanners.Optimized ZEND_RETURN opcode to not allocate and copy return value if it is not used.Lazy EG(active_symbol_table) initialization.Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR).Use IS_CV for direct access to $this variable.Use fastcall calling convention in executor on x86.Optimized ZEND_SIGNED_MULTIPLY_LONG().Substitute global-scope, persistent constants with their values at compile time.improved php runtime speed and memory usage.Added ability to handle exceptions in destructors.Added "request_order" INI variable to control specifically $_REQUEST behavior.E_DEPRECATED is used to inform about stuff being scheduled for removal in future PHP versions. Added new error modes E_USER_DEPRECATED and E_DEPRECATED.Added support for dynamic access of static members using $foo::myFunc().Added forward_static_call(_array) to complete LSB.Added support for _callStatic() magic method.Added support for Late Static Binding.
To download the source code for this release please view the sources.
Moved the following extensions to PECL: ext/ming, ext/fbsql, ext/ncurses, ext/fdfįor users upgrading from PHP 5.2 there is a migration guide available here, detailing the changes between those releases and PHP 5.3.0.įor a full list of changes in PHP 5.3.0, see the ChangeLog.Removed the following extensions: ext/mhash (see ext/hash), ext/msql, ext/pspell (see ext/enchant), ext/sybase (see ext/sybase_ct).Parameter parsing API unification will cause some functions to behave more or less strict when it comes to type juggling.Users should be aware of the following known backwards compatibility breaks: This release also drops several extensions and unifies the usage of internal APIs. Over 140 bug fixes and improvements to PHP, in particular to: ext/openssl, ext/spl and ext/date.New bundled extensions: ext/phar, ext/intl, ext/fileinfo, ext/sqlite3, ext/enchant.Several enhancements to enable more flexiblity in php.ini (and ini parsing in general).Deprecation notices are now handled via E_DEPRECATED (part of E_ALL) instead of the E_STRICT error level.
This release is a major improvement in the 5.X series, which includes a large number of new features and bug fixes. The PHP development team is proud to announce the immediate release of PHP 5.3.0.