Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 9299

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Deprecated features in PHP 5.5.x</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration55.new-features.html">New features</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration55.changed-functions.html">Changed Functions</a></div>
 <div class="up"><a href="migration55.html">Migrating from PHP 5.4.x to PHP 5.5.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration55.deprecated" class="sect1">
  <h2 class="title">Deprecated features in PHP 5.5.x</h2>

  <div class="sect2" id="migration55.deprecated.mysql">
   <h3 class="title"><a href="book.mysql.html" class="link">ext/mysql</a> deprecation</h3>

   <p class="para">
    The <a href="book.mysql.html" class="link">original MySQL extension</a> is now
    deprecated, and will generate <strong><code>E_DEPRECATED</code></strong> errors
    when connecting to a database. Instead, use the
    <a href="book.mysqli.html" class="link">MySQLi</a> or
    <a href="ref.pdo-mysql.html" class="link">PDO_MySQL</a> extensions.
   </p>
  </div>

  <div class="sect2" id="migration55.deprecated.preg-replace-e">
   <h3 class="title"> <span class="function"><a href="function.preg-replace.html" class="function">preg_replace()</a></span> <em>/e</em> modifier</h3>

   <p class="para">
    The  <span class="function"><a href="function.preg-replace.html" class="function">preg_replace()</a></span> <em>/e</em> modifier is
    now deprecated. Instead, use the
     <span class="function"><a href="function.preg-replace-callback.html" class="function">preg_replace_callback()</a></span> function.
   </p>
  </div>

  <div class="sect2" id="migration55.deprecated.intl">
   <h3 class="title"><a href="book.intl.html" class="link">intl</a> deprecations</h3>

   <p class="para">
     <span class="methodname"><a href="intldateformatter.settimezoneid.html" class="methodname">IntlDateFormatter::setTimeZoneID()</a></span> and
     <span class="function"><a href="intldateformatter.settimezoneid.html" class="function">datefmt_set_timezone_id()</a></span> are now deprecated. Instead,
    use the  <span class="methodname"><a href="intldateformatter.settimezone.html" class="methodname">IntlDateFormatter::setTimeZone()</a></span> method and
     <span class="function"><a href="intldateformatter.settimezone.html" class="function">datefmt_set_timezone()</a></span> function, respectively.
   </p>
  </div>

  <div class="sect2" id="migration55.deprecated.mcrypt">
   <h3 class="title"><a href="book.mcrypt.html" class="link">mcrypt</a> deprecations</h3>

   <p class="simpara">
    The following functions have been deprecated:
   </p>

   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
       <span class="function"><a href="function.mcrypt-cbc.html" class="function">mcrypt_cbc()</a></span>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
       <span class="function"><a href="function.mcrypt-cfb.html" class="function">mcrypt_cfb()</a></span>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
       <span class="function"><a href="function.mcrypt-ecb.html" class="function">mcrypt_ecb()</a></span>
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
       <span class="function"><a href="function.mcrypt-ofb.html" class="function">mcrypt_ofb()</a></span>
     </span>
    </li>
   </ul>
  </div>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration55.new-features.html">New features</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration55.changed-functions.html">Changed Functions</a></div>
 <div class="up"><a href="migration55.html">Migrating from PHP 5.4.x to PHP 5.5.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>