xref: /web-php/releases/4_3_0.php (revision f1cb7e74)
1<?php
2$_SERVER['BASE_PAGE'] = 'releases/4_3_0.php';
3include_once __DIR__ . '/../include/prepend.inc';
4site_header("PHP 4.3.0 Release Announcement");
5?>
6
7<h1>PHP 4.3.0 Release Announcement</h1>
8
9<p>[ <a href="/releases/4_3_0_fr.php">Version Fran&ccedil;aise</a> ]</p>
10
11<p>
12 After a long and arduous 8 months of development and testing, PHP 4.3.0 is
13 <a href="/downloads.php">out</a>! With regard to scope, time, and effort, this
14 is the largest 4.x release of PHP, and it further elevates PHP's standing as a
15 serious contender in the general purpose scripting language arena.
16</p>
17
18<h2>Command line interface</h2>
19
20<p>
21 This version finalizes the separate command line interface (CLI) that can be
22 used for developing shell and desktop applications (with
23 <a href="http://gtk.php.net/">PHP-GTK</a>). The CLI is always built, but
24 installed automatically only if CGI version is disabled via --disable-cgi
25 switch during configuration. Alternatively, one can use <strong>make
26 install-cli</strong> target. On Windows CLI can be found in
27 <strong>cli</strong> folder.
28</p>
29
30<p>
31 CLI has a number of differences compared to other server APIs. More information
32 can be found in the PHP Manual:
33 <a href="/features.commandline">Using PHP from the command line</a>
34</p>
35
36<h2>Streams</h2>
37
38<p>
39 A very important "under the hood" feature is the streams API. It introduces a
40 unified approach to the handling of files, pipes, sockets, and other I/O
41 resources in the PHP core and extensions.
42</p>
43<p>
44 What this means for users is that any I/O function that works with streams
45 (and that is almost all of them) can access built-in protocols, such as
46 HTTP/HTTPS and FTP/FTPS, as well as custom protocols registered from PHP
47 scripts. For more information please see: <a href="/wrappers">List
48 of Supported Protocols/Wrappers</a>
49</p>
50
51<h2>New build system</h2>
52
53<p>
54 This iteration of the build system, among other things, replaces the slow
55 recursive make with one global Makefile and eases the integration of proper
56 dependencies. Automake is only needed for its aclocal tool. The build process is
57 now more portable and less resource-consuming.
58</p>
59
60<h2>Improvements</h2>
61
62<p>PHP 4.3.0 has many improvements and enhancements:</p>
63
64<ul>
65 <li>
66  <strong>
67   GD library is now bundled with the distribution and it is recommended
68   to always use the bundled version
69  </strong>
70 </li>
71 <li>vpopmail and cybermut extensions are moved to PECL</li>
72 <li>
73  several deprecated extensions (aspell, ccvs, cybercash, icap)
74  and SAPIs (fastcgi, fhttpd) are removed
75 </li>
76 <li>speed improvements in a variety of string functions</li>
77 <li>
78  Apache2 filter is improved, but is still considered experimental
79  (use with PHP in prefork and not worker (thread) model since many
80  extensions based on external libraries are not thread safe)
81 </li>
82 <li>various security fixes (imap, mysql, mcrypt, file upload, gd, etc)</li>
83 <li>new SAPI for embedding PHP in other applications (experimental)</li>
84 <li>much better test suite</li>
85 <li>significant improvements in dba, gd, pcntl, sybase, and xslt extensions</li>
86 <li>debug_backtrace() should help with debugging</li>
87 <li>
88  error messages now contain URLs linking to pages describing the error or
89  function in question
90 </li>
91 <li>Zend Engine has some fixes and minor performance enhancements</li>
92 <li>and <strong>TONS</strong> of other fixes, updates, new functions, etc</li>
93</ul>
94
95<p>
96 For the full list of changes in PHP 4.3.0, see the
97 <a href="/ChangeLog-4.php#4.3.0">ChangeLog</a> file.
98</p>
99
100<?php site_footer(); ?>
101