downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Migrating from PHP 5.2.x to PHP 5.3.x> <Changes to INI file handling
[edit] Last updated: Fri, 24 Feb 2012

view this page in

Other changes

  • Added support for storing upload progress feedback in session data. Changed session.entropy_file to default to /dev/urandom or /dev/arandom if either is present at compile time.
  • E_ALL now includes E_STRICT.
  • SNMP now has an OOP API. Functions now return FALSE on every error condition including SNMP-related (no such instance, end of MIB, etc). Thus, in patricular, breaks previous behaviour of get/walk functions returning an empty string on SNMP-related errors. Multi OID get/getnext/set queries are now supported. Dropped UCD-SNMP compatibility code, consider upgrading to net-snmp v5.3+, Net-SNMP v5.4+ is required for Windows version. In sake of adding support for IPv6 DNS name resolution of remote SNMP agent (peer) is done by extension now, not by Net-SNMP library anymore.
  • OpenSSL now supports AES.
  • CLI SAPI doesn't terminate any more on fatal errors when using interactive mode with readline support.
  • Improved parse error messages from parser and warning message of incompatible arguments in function calls.
  • $_SERVER['REQUEST_TIME_FLOAT'] has been added to include microsecond precision.
  • <?= is now always available regardless of the short_open_tag setting
  • Added class member access on instantiation (e.g. (new foo)->bar()) support
  • Added new hash algorithms: fnv132, fnv164, joaat
  • Chained string offsets - e.g. $a[0][0] where $a is a string - now work.
  • Binary number format has been added - e.g. 0b001001101.
  • Short array syntax has been added - e.g. $a = [1, 2, 3, 4]; $a = ['one' => 1, 'two' => 2, 'three' => 3, 'four' => 4];
  • Class::{expr}() syntax is now supported.
  • Function call result array access: foo()[0]
  • Closures now support scopes and $this.
  • Arrays cast from SimpleXMLElement now always contain all nodes instead of just the first matching node. All SimpleXMLElement children are now always printed when using var_dump(), var_export() and print_r().
  • It's now possible to enforce the class' __construct arguments in an abstract constructor in the base class.


add a note add a note User Contributed Notes Other changes
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites