PHP 5.5.0 released.

Source: Internet
Author: User
Tags curl options scalar systemtap unpack
The PHP development team is proud to announce the immediate availability of PHP 5.5.0. This release includes a large number of new features and bug fixes.

The key features of PHP 5.5.0 include:

20-jun-2013
Drop support for Bison < 2.4 If building PHP from GIT source
Improved Zend Engine:
Added ARMV7/V8 versions of various Zend arithmetic functions that is implemented using inline assembler
Added Systemtap support by enabling SYSTEMTAP compatible DTrace probes on Linux
Optimized access to temporary and compiled VM variables. 8% less memory reads
The VM stacks for passing function arguments and syntaticaly nested calls were merged to a single stack. The stack size needed for op_array execution are calculated at compile time and preallocated at once. As result all the stack push operations don ' t require checks for stack overflow any more
General Improvement:
Added generators and coroutines.
Added "finally" keyword.
Added simplified password hashing API.
Added support for constant array/string dereferencing.
Added class Name Resolution as Scalar Via "Class" Keyword
Added support for using empty () on the result of the function calls and other expressions
Added support for Non-scalar Iterator keys in foreach
Added support for list in foreach
Core:
Added Zend opcache Extension and enable building it by default.
Added Array_column function which returns a column in a multidimensional array
Added Boolval ()
Added "Z" option to Pack/unpack
Added Optional second argument for asserts () to specify custom message
Added support for changing the process's title in Cli/cli-server Sapis. The implementation is more robust that the Proctitle PECL module
Improve Set_exception_handler while doing reset
Return previous handler when passing NULL to Set_error_handler and Set_exception_handler
Implemented #64175 (Added HTTP codes as of RFC 6585)
Implemented #60738 (Allow ' set_error_handler ' to handle NULL)
Implemented #60524 (Specify temp dir by php.ini)
Implemented #46487 (dereferencing process-handles no longer waits on those processes)
Fixed bug #65051 (count () off by one inside Unset ())
Fixed bug #64988 (Class loading order affects e_strict warning)
Fixed bug #64966 (Segfault in Zend_do_fcall_common_helper_spec)
Fixed bug #64960 (Segfault in Gc_zval_possible_root)
Fixed bug #64936 (Doc comments picked up from previous scanner run)
Fixed bug #64934 (Apache2 TS crash with Get_browser ())
Fixed bug #64879 (Heap based buffer overflow in Quoted_printable_encode, CVE 2013-2110)
Fixed bug #64853 (use of no longer available INI directives causes crash on TS build)
Fixed bug #64821 (Custom Exceptions crash when internal properties overridden)
Fixed bug #64720 (Segfault on zend_deactivate).
Fixed bug #64677 (execution operator "stealing surrounding arguments)
Fixed bug #64660 (segfault on memory exhaustion within function definition)
Fixed bug #64578 (debug_backtrace in Set_error_handler corrupts Zend Heap:segfault)
Fixed bug #64565 (copy doesn ' t failure on partial copy)
Fixed bug #64555 (foreach no longer copies keys if they is interned)
Fixed bug #47675 and fixed bug #64577 (fd leak on Solaris)
Fixed bug #64544 (Valgrind warnings after using putenv)
Fixed bug #64515 (memoryleak when using the same VariableName 2times in function Declaration)
Fixed bug #64503 (compilation fails with error:conflicting types for ' zendparse ')
Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11)
Fixed bug #64523 allow XOR in php.ini
Fixed bug #64354 (unserialize array of objects whose class can ' t be autoloaded fail)
Fixed bug #64370 (Microtime (true) less than $_server[' request_time_float '])
Fixed bug #64166 (Quoted-printable-encode stream filter incorrectly discarding whitespace)
Fixed bug #64142 (dval to lval different behavior on PPC64)
Fixed bug #64135 (Exceptions from Set_error_handler is not always propagated)
Fixed bug #63980 (object members get trimmed by zero bytes)
Fixed bug #63874 (segfault if Php_strip_whitespace has Heredoc)
Fixed bug #63830 (segfault on undefined function call in nested generator)
Fixed bug #63822 (Crash when using closures with arrayaccess)
Fixed bug #61681 (malformed grammar)
Fixed bug #61038 (unpack ("A5", "str\0\0") does not work as expected)
Fixed bug #61025 (__invoke () visibility not honored)
Fixed bug #60833 (self, parent, static behave inconsistently case-sensitive)
Fixed bug #52126 timestamp for Mail.log
Fixed bug #49348 (uninitialized + + $foo->bar; does not cause a notice)
Fixed bug #23955 allow specifying Max-age attribute in Setcookie ()
Fixed bug #18556 (Engine uses locale rules to handle class names)
Fix undefined behavior when converting double variables to integers. The double is now all rounded towards zero, the remainder of its division by 2^32 or 2^64 (depending on sizeof (long)) I s calculated and it's made signed assuming a and it's complement representation
Removed legacy features:
Remove Php_logo_guid (), Php_egg_logo_guid (), Php_real_logo_guid (), Zend_logo_guid ()
Drop Windows XP and 2003 support
Apache2 Handler SAPI:
Enabled Apache 2.4 Configure option for Windows.
Calendar:
Fixed bug #64895 (Integer overflow in sndtojewish).
Fixed bug #54254 (cal_from_jd returns month = 6 when there was only one Adar).
CLI Server:
Fixed bug #64128 (buit-in Web server is broken on PPC64).
CURL:
Remove Curl Stream wrappers.
Implemented #46439-added curlfile for safer file uploads
Added support for Curlopt_ftp_response_timeout, Curlopt_append, Curlopt_dirlistonly, Curlopt_new_directory_perms, Curlopt_new_file_perms, Curlopt_netrc_file, Curlopt_prequote, Curlopt_krblevel, Curlopt_maxfilesize, CURLOPT_FTP_ Account, Curlopt_cookielist, Curlopt_ignore_content_length, Curlopt_connect_only, Curlopt_localport, CURLOPT_ Localportrange, Curlopt_ftp_alternative_to_user, Curlopt_ssl_sessionid_cache, CURLOPT_FTP_SSL_CCC, CURLOPT_HTTP_ Content_decoding, Curlopt_http_transfer_decoding, Curlopt_proxy_transfer_mode, Curlopt_address_scope, CURLOPT_ CRLFile, Curlopt_issuercert, Curlopt_username, Curlopt_password, Curlopt_proxyusername, CURLOPT_PROXYPASSWORD, Curlopt_noproxy, Curlopt_socks5_gssapi_nec, Curlopt_socks5_gssapi_service, Curlopt_tftp_blksize, CURLOPT_SSH_ Knownhosts, Curlopt_ftp_use_pret, Curlopt_mail_from, CURLOPT_MAIL_RCPT, Curlopt_rtsp_client_cseq, CURLOPT_RTSP_ Server_cseq, curlopt_rtsp_session_id, Curlopt_rtsp_stream_uri, Curlopt_rtsp_transport, CURLOPT_RTSP_REQUEST, CUrlopt_resolve, Curlopt_accept_encoding, curlopt_transfer_encoding, Curlopt_dns_servers and CURLOPT_USE_SSL
Fixed bug #55635 (Curlopt_binarytransfer no longer used. The constant still exists for backward compatibility It's doing nothing)
Fixed bug #54995 (Missing curlinfo_response_code support)
Added new Functions Curl_escape, curl_multi_setopt, Curl_multi_strerror curl_pause, Curl_reset, Curl_share_close, Curl_ Share_init, curl_share_setopt Curl_strerror and Curl_unescape
Addes New Curl Options curlopt_telnetoptions, Curlopt_gssapi_delegation, Curlopt_accepttimeout_ms, CURLOPT_SSL_ OPTIONS, Curlopt_tcp_keepalive, Curlopt_tcp_keepidle and CURLOPT_TCP_KEEPINTVL
Datetime:
Added Datetimeimmutable-a variant of DateTime that is returns the modified state instead of changing itself.
Fixed bug #64825 (Invalid free when unserializing datetimezone).
Fixed bug #64359 (strftime crash with VS2012)
Fixed bug #62852 (unserialize Invalid Date causes crash)
Fixed bug #61642 (Modify ("+5 weekdays") returns Sunday)
Fixed bug #60774 (Dateinterval::format ("%a") is always zero when a interval is created using the createfromdatestring met Hod
Fixed bug #54567 (Datetimezone serialize/unserialize)
Fixed bug #53437 (Crash when using unserialized dateperiod instance)
Dba:
Fixed bug #62489 (Dba_insert not working as expected)
Filter:
Implemented #49180 added MAC address validation.
Fileinfo:
Upgraded Libmagic to 5.14.
Fixed bug #64830 (mimetype detection segfaults on MP3 file)
Fixed bug #63590 (Different results in TS and NTS under Windows)
Fixed bug #63248 (Load multiple Magic files from a directory under Windows)
Fpm:
ADD--with-fpm-systemd option to the report health to SYSTEMD, and systemd_interval option to configure this. The service can now use type=notify in the SYSTEMD unit file.
Ignore query_string when sent in Script_filename
Log a warning when a syscall fails
Implemented #64764 (add support for FPM INIT.D script)
Fixed bug #64915 (Error_log ignored when daemonize=0)
Fixed bug #63999 (PHP with FPM fails to build on Solaris ten or 11)
Fixed some possible memory or resource leaks and possible null dereference detected by code coverity scan
Gd:
Fixed bug #64962 (imagerotate produces corrupted image).
Fixed bug #64961 (Segfault in Imagesetinterpolation)
Fix build with System LIBGD >= 2.1 which are now the minimal version required (as build with previous version is broken) . No change when bundled LIBGD is used
Upgraded LIBGD to 2.1
Hash
Added support for PBKDF2 via HASH_PBKDF2 ().
Fixed bug #64745 (HASH_PBKDF2 () truncates data when using default length and hex output)

....

http://php.net/ChangeLog-5.php#5.5.0


Reply to discussion (solution)

In fact, the landlord is to scattered points

is XP and window2003 still not supported?
That's not going to mean anything.

Obviously "lowbrow" but to pretend to be "spring Snow"

I think it is worth noting that php5.5 has more than 100 contributions from the Chinese people! @Laruence Http://www.weibo.com/laruence?page=2&pre_page=1&end_id=3592776740088779&end_msign=-1

I hope China has more and more people in the open source field to participate in and contribute to the power, we should not just follow the technical script, but to create a road to computer technology ~ ~ ~

Personal feeling after dinner, laughed at!

It says it's already in the 5.5 official version.

I think it is worth noting that php5.5 has more than 100 contributions from the Chinese people! @Laruence Http://www.weibo.com/laruence?page=2&pre_page=1&end_id=3592776740088779&end_msign=-1

I hope China has more and more people in the open source field to participate in and contribute to the power, we should not just follow the technical script, but to create a road to computer technology ~ ~ ~

Personal feeling after dinner, laughed at!

Well, our population is much more educated than any other country.

is XP and window2003 still not supported?
That's not going to mean anything.

Obviously is "lowbrow" but to pretend to be "Spring Snow" master still have how long to drill,, wait for you to congratulate Yo ~ ~

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.