O time de desenvolvimento do PHP anunciou o segundo lançamento da versão beta do PHP 5.4. Este inclui novos recursos de linguagem e a remoção de muitos comportamentos legados. Este lançamento ainda possui muitas novidades e correções de erros.
Lista de mudanças
Melhorias Gerais:
- Improve the warning message of incompatible arguments. (Laruence)
- Improve ternary operator performance when returning arrays. (Arnaud, Dmitry)
Núcleo:
- Fixed bug #55749 (TOCTOU issue in getenv() on Windows builds). (Pierre)
- Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux parisc). (Felipe)
- Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault). (Felipe, Laruence)
- Fixed bug #55758 (Digest Authenticate missed in 5.4) . (Laruence)
- Fixed bug #55622 (memory corruption in parse_ini_string). (Pierre)
- Fixed bug #55825 (Missing initial value of static locals in trait methods). (Laruence)
- Fixed bug #60038 (SIGALRM cause segfault in php_error_cb). (Laruence)
Openssl:
- Revert r313616 (When we have a blocking SSL socket, respect the timeout option, scottmac), breaks ssl support.
Driver PDO DBlib:
- Fixed bug #60033 (Incorrectly merged PDO dblib patches break uniqueidentifier column type).
Sysvshm
- Fixed bug #55750 (memory copy issue in sysvshm extension).
Zlib:
- Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression). (Mike)
SPL:
- FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use the default stream context. (Hannes)
- Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY). (jgotti at modedemploi dot fr, Hannes)
CLI SAPI:
- Fixed bug #55726 (Changing the working directory makes router script inaccessible). (Laruence)
- Fixed bug #55747 (request headers missed in $_SERVER). (Laruence)
- Fixed bug #55755 (SegFault when outputting header WWW-Authenticate). (Laruence)
Litespeed SAPI:
- Fixed bug #55769 (Make Fails with "Missing Separator" error). (Adam)
Fileinfo:
- Fixed bug #60094 (C++ comment fails in c89). (Laruence)
0sem comentários ainda