Source of: /manual/en/migration51.extensions.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/migration51.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'migration51.extensions.php',
1 => 'Extensions',
),
'up' =>
array (
0 => 'migration51.php',
1 => 'Migrating from PHP 5.0.x to PHP 5.1.x',
),
'prev' =>
array (
0 => 'migration51.oop.php',
1 => 'Class and object changes',
),
'next' =>
array (
0 => 'migration51.datetime.php',
1 => 'Date/time support',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="migration51.extensions" class="section">
<h2 class="title">Extensions</h2>
<ul class="itemizedlist">
<li class="listitem">
<p class="para">
<a href="migration51.extensions.php#migration51.extensions-gone" class="link">Extensions that are gone
from the PHP core</a>
</p>
</li>
<li class="listitem">
<p class="para">
<a href="migration51.extensions.php#migration51.extensions-constants" class="link">Class constants in new
PHP 5.1.x extensions</a>
</p>
</li>
</ul>
<div id="migration51.extensions-gone" class="section">
<h2 class="title">Extensions that are gone from the PHP core</h2>
<p class="para">
One of the first things you're likely to notice when you download PHP 5.1.x
is that several of the older extensions have disappeared. Those extensions
that are still actively maintained are available in the PHP Extension
Community Library (PECL), at
<a href="http://pecl.php.net/" class="link external">» http://pecl.php.net/</a>.
</p>
<table class="doctable table">
<caption><b>Removed extensions</b></caption>
<thead valign="middle">
<tr valign="middle">
<th>Extension</th>
<th>Alternative/Status</th>
</tr>
</thead>
<tbody valign="middle" class="tbody">
<tr valign="middle">
<td align="left">ext/cpdf</td>
<td align="left"><a href="ref.pdf.php" class="link">pecl/pdflib</a></td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.dbx.php" class="link">ext/dbx</a></td>
<td align="left">pecl/dbx</td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.dio.php" class="link">ext/dio</a></td>
<td align="left">pecl/dio</td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.fam.php" class="link">ext/fam</a></td>
<td align="left">Not actively maintained</td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.ingres.php" class="link">ext/ingres_ii</a></td>
<td align="left">pecl/ingres</td>
</tr>
<tr valign="middle">
<td align="left">ext/ircg</td>
<td align="left">Not actively maintained</td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.mcve.php" class="link">ext/mcve</a></td>
<td align="left">pecl/mcve</td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.mnogosearch.php" class="link">ext/mnogosearch</a></td>
<td align="left">Not actively maintained</td>
</tr>
<tr valign="middle">
<td align="left">ext/oracle</td>
<td align="left">
<a href="ref.oci8.php" class="link">ext/oci8</a> or
<a href="ref.pdo-oci.php" class="link">ext/pdo_oci</a>
</td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.ovrimos.php" class="link">ext/ovrimos</a></td>
<td align="left">Not actively maintained</td>
</tr>
<tr valign="middle">
<td align="left">ext/pfpro</td>
<td align="left">Not actively maintained</td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.w32api.php" class="link">ext/w32api</a></td>
<td align="left"><a href="http://pecl.php.net/package/ffi" class="link external">» pecl/ffi</a></td>
</tr>
<tr valign="middle">
<td align="left"><a href="ref.nis.php" class="link">ext/yp</a></td>
<td align="left">Not actively maintained</td>
</tr>
<tr valign="middle">
<td align="left">ext/activescript</td>
<td align="left">
<a href="http://pecl.php.net/package/activescript" class="link external">» pecl/activescript</a>
</td>
</tr>
</tbody>
</table>
<p class="para">
Modules in PECL that are not actively maintained (i.e. have not been
supported for some time, have no active maintainer working on them
currently, and do not have any PECL package releases), are still available
in SVN at <a href="http://svn.php.net/viewvc/pecl" class="link external">» http://svn.php.net/viewvc/pecl</a>.
However, unreleased PHP modules are by their nature unsupported, and your
mileage may vary when attempting to install or use them.
</p>
</div>
<div id="migration51.extensions-constants" class="section">
<h2 class="title">Class constants in new PHP 5.1.x extensions</h2>
<p class="para">
The Zend Engine 2.1 API allows extension developers to declare class
constants in object oriented extensions. New extensions written for PHP
5.1.x, including <a href="ref.spl.php" class="link">SPL</a>,
<a href="intro.pdo.php" class="link">PDO</a>,
<a href="book.xmlreader.php" class="link">XMLReader</a> and
<a href="ref.datetime.php" class="link">date</a>, have their constants in
the format <b><tt class="constant">PDO::CLASS_CONSTANT</tt></b> rather than in the C
format <b><tt class="constant">PDO_CLASS_CONSTANT</tt></b> in order to minimise
pollution of the global namespace in PHP.
</p>
</div>
</div><?php manual_footer(); ?>