xref: /web-php/releases/5_4_0.php (revision f1cb7e74)
1<?php
2$_SERVER['BASE_PAGE'] = 'releases/5_4_0.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("PHP 5.4.0 Release Announcement");
5?>
6
7<h1>PHP 5.4.0 Release Announcement</h1>
8<p>
9The PHP development team is proud to announce the immediate availability
10of PHP <a href="http://php.net/downloads.php#v5.4.0">5.4.0</a>.
11This release is a major leap forward in the 5.x series,
12and includes a large number of new features and bug fixes.
13</p>
14
15<p>
16<b>The key features of PHP 5.4.0 include:</b>
17</p>
18<ul>
19 <li>New language syntax including <a href="http://php.net/traits">Traits</a>,
20    <a href="http://docs.php.net/manual/language.types.array.php">shortened array syntax</a>
21    and <a href="http://docs.php.net/manual/migration54.new-features.php">more</a></li>
22 <li>Improved performance and reduced memory consumption</li>
23 <li>Support for multibyte languages now available in all builds of PHP at the flip of a runtime switch</li>
24 <li><a href="http://php.net/manual/features.commandline.webserver.php">
25    Built-in webserver</a> in CLI mode to simplify development workflows and testing</li>
26 <li>Cleaner code base thanks to the removal of multiple deprecated language features</li>
27 <li>Many more improvements and fixes</li>
28</ul>
29
30<p>
31<b>Changes that affect compatibility:</b>
32</p>
33<ul>
34  <li><a href="http://www.php.net/manual/security.globals.php">Register globals</a>, <a href="http://www.php.net/manual/security.magicquotes.php">magic quotes</a> and <a href="http://www.php.net/manual/features.safe-mode.php">safe mode</a> were removed</li>
35  <li>The <a href="http://php.net/manual/control-structures.break.php">break</a>/<a href="http://php.net/manual/control-structures.continue.php">continue</a> $var syntax was removed</li>
36  <li>The ini option <a href="http://www.php.net/manual/ini.core.php#ini.allow-call-time-pass-reference">allow_call_time_pass_reference</a> was removed</li>
37  <li>The PHP <a href="http://www.php.net/manual/ini.core.php#ini.default-charset">default_charset</a> is now "UTF-8" within the distributed php.ini files, but still defaults to ""</li>
38</ul>
39
40<p>
41<b>Extensions moved to <a href="http://pecl.php.net">PECL</a>:</b>
42</p>
43<ul>
44  <li><a href="http://www.php.net/manual/ref.sqlite.php">ext/sqlite</a> (<a href="http://www.php.net/manual/book.sqlite3.php">ext/sqlite3</a> and <a href="http://www.php.net/manual/ref.pdo-sqlite.php">ext/pdo_sqlite</a> are not affected)</li>
45</ul>
46
47<p>
48PHP 5.4 will be the last series to support Windows XP and Windows
492003. We will not provide binary packages for these Windows versions
50after PHP 5.4.
51</p>
52
53<p>
54For users upgrading from PHP 5.3 there is a migration guide available
55<a href="http://php.net/migration54">here</a>, detailing the changes between
56PHP 5.3 and PHP 5.4.0.
57</p>
58
59<p>
60 For a full list of changes in PHP 5.4.0, see the
61 <a href="/ChangeLog-5.php#5.4.0">ChangeLog</a>.
62</p>
63
64<?php site_footer(); ?>
65