Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 9841

php-manual-en-7.2.11-1.mga7.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>Other changes</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration72.deprecated.html">Deprecated features in PHP 7.2.x</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration71.html">Migrating from PHP 7.0.x to PHP 7.1.x</a></div>
 <div class="up"><a href="migration72.html">Migrating from PHP 7.1.x to PHP 7.2.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="migration72.other-changes" class="sect1">
 <h2 class="title">Other changes</h2>

 <div class="sect2" id="migration72.other-changes.utf8_-functions-to-ext-standard">
  <h3 class="title">Moving of <span class="function"><a href="function.utf8-encode.html" class="function">utf8_encode()</a></span> and <span class="function"><a href="function.utf8-decode.html" class="function">utf8_decode()</a></span></h3>

  <p class="para">
   The <span class="function"><a href="function.utf8-encode.html" class="function">utf8_encode()</a></span> and <span class="function"><a href="function.utf8-decode.html" class="function">utf8_decode()</a></span>
   functions have now been moved to the standard extension as string functions, whereas before 
   the <a href="book.xml.html" class="link">XML</a> extension was required for them to be available.
  </p>
 </div>

 <div class="sect2" id="migration72.other-changes.mail">
  <h3 class="title">Changes to <span class="function"><a href="function.mail.html" class="function">mail()</a></span> and <span class="function"><strong>mb_sendmail()</strong></span></h3>

  <p class="para">
   The $additional_headers parameter of <span class="function"><a href="function.mail.html" class="function">mail()</a></span> and
   <span class="function"><strong>mb_sendmail()</strong></span> now also accepts an <span class="type"><a href="language.types.array.html" class="type array">array</a></span>
   instead of a <span class="type"><a href="language.types.string.html" class="type string">string</a></span>.
  </p>
 </div>

 <div class="sect2" id="migration72.other-changes.lmdb-support">
  <h3 class="title">LMDB support</h3>

  <p class="para">
   The <a href="book.dba.html" class="link">DBA</a> extension now has support for LMDB.
  </p>
 </div>

 <div class="sect2" id="migration72.other-changes.build-system">
  <h3 class="title">Changes to the PHP build system</h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     Unix: Autoconf 2.64 or greater is now required to build PHP.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Unix: <em>--with-pdo-oci</em> configure argument no longer needs 
     the version number of the Oracle Instant Client.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Unix: <em>--enable-gd-native-ttf</em> configure argument has been 
     removed. This was not used since PHP 5.5.0.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Windows: <em>--with-config-profile</em> configure argument has been 
     added. This can be used to save specific configures, much like the magical 
     <var class="filename">config.nice.bat</var> file.
    </span>
   </li>
  </ul>
 </div>

 <div class="sect2" id="migration72.other-changes.image">
  <h3 class="title">Changes to <a href="book.image.html" class="link">GD</a></h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.imageantialias.html" class="function">imageantialias()</a></span> is now also available if compiled with
     a system libgd.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.imagegd.html" class="function">imagegd()</a></span> stores truecolor images as real truecolor
     images. Formerly, they have been converted to palette.
    </span>
   </li>
  </ul>
 </div>

 <div class="sect2" id="migration72.other-changes.mcrypt">
  <h3 class="title">Moving <a href="book.mcrypt.html" class="link">MCrypt</a> to PECL</h3>

  <p class="para">
   The <a href="book.mcrypt.html" class="link">MCrypt</a> extension has now been moved
   out of the core to PECL. Given the mcrypt library has not seen any updates
   since 2007, its usage is highly discouraged. Instead, either the
   <a href="book.openssl.html" class="link">OpenSSL</a> or <a href="book.sodium.html" class="link">Sodium</a>
   extension should be used.
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="migration72.deprecated.html">Deprecated features in PHP 7.2.x</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="migration71.html">Migrating from PHP 7.0.x to PHP 7.1.x</a></div>
 <div class="up"><a href="migration72.html">Migrating from PHP 7.1.x to PHP 7.2.x</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>