Slashdot Mirror


PHP 5.6.0 Released

An anonymous reader writes The PHP team has announced the release of PHP 5.6.0. New features include constant scalar expressions, exponentiation using the ** operator, function and constant importing with the use keyword, support for file uploads larger than 2 GB, and phpdbg as an interactive integrated debugger SAPI. The team also notes important changes affecting compatibility. For example: "Array keys won't be overwritten when defining an array as a property of a class via an array literal," json_decode() is now more strict at parsing JSON syntax, and GMP resources are now objects. Here is the migration guide, the full change log, and the downloads page.

1 of 118 comments (clear)

  1. Re:Now almost as useful as python was 5 years ago! by Anonymous Coward · · Score: 3, Informative

    For what it's worth getArray()[3] was working two years ago (it's been working since PHP 5.4)