xref: /web-php/releases/5_6_0.php (revision f1cb7e74)
1<?php
2$_SERVER['BASE_PAGE'] = 'releases/5_6_0.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("PHP 5.6.0 Release Announcement");
5?>
6
7<h1>PHP 5.6.0 Release Announcement</h1>
8
9<p>The PHP Development Team announces the immediate availability of PHP 5.6.0.
10This new version comes with new features, some backward incompatible changes and many improvements.
11</p>
12
13<p><b>The main features of PHP 5.6.0 include:</b></p>
14<ul>
15 <li><a href="http://php.net/migration56.new-features#migration56.new-features.const-scalar-exprs">Constant scalar expressions</a>.</li>
16 <li><a href="http://php.net/functions.arguments#functions.variable-arg-list">Variadic functions</a> and argument unpacking using the <code>...</code> operator.</li>
17<li><a href="http://php.net/language.operators.arithmetic">Exponentiation using the <code>**</code> operator</a>.</li>
18 <li><a href="http://php.net/migration56.new-features#migration56.new-features.use">Function and constant importing</a> with the <a href="http://php.net/language.namespaces.importing">use keyword</a>.</li>
19 <li><a href="http://phpdbg.com/docs">phpdbg</a> as an interactive integrated debugger SAPI.</li>
20 <li><a href="http://php.net/wrappers#wrappers.php.input">php://input</a> is now reusable, and <code>$HTTP_RAW_POST_DATA</code> is deprecated.</li>
21 <li><a href="http://php.net/book.gmp">GMP</a> objects now support operator overloading.</li>
22 <li>File uploads larger than 2 gigabytes in size are now accepted.</li>
23</ul>
24
25<p>For a full list of new features, you may read <a href="http://php.net/migration56.new-features">the new features chapter of the migration guide</a>.</p>
26
27<p>
28<b>PHP 5.6.0 also introduces changes that affect compatibility:</b>
29</p>
30
31<ul>
32 <li>Array keys won't be overwritten when defining an array as a property of a class via an array literal.</li>
33 <li><a href="http://php.net/function.json-decode">json_decode()</a> is more strict in JSON syntax parsing.</li>
34 <li>Stream wrappers now verify peer certificates and host names by default when using SSL/TLS.</li>
35 <li><a href="http://php.net/book.gmp">GMP</a> resources are now objects.</li>
36 <li><a href="http://php.net/book.mcrypt">Mcrypt</a> functions now require valid keys and IVs.</li>
37</ul>
38
39<p>
40 For users upgrading from PHP 5.5, <a href="http://php.net/migration56">a full migration guide</a> is available, detailing the changes between 5.5 and 5.6.0.
41</p>
42
43<p>For source downloads of PHP 5.6.0, please visit our <a href="http://www.php.net/downloads.php">downloads page</a>.
44Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>.
45The full list of changes is available in the <a href="http://www.php.net/ChangeLog-5.php#5.6.0">ChangeLog</a>.
46</p>
47
48<?php site_footer(); ?>
49