<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/migration72.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'migration72.other-changes.php',
    1 => 'Autres changements',
    2 => 'Autres changements',
  ),
  'up' => 
  array (
    0 => 'migration72.php',
    1 => 'Migration de PHP 7.1.x vers PHP 7.2.x',
  ),
  'prev' => 
  array (
    0 => 'migration72.deprecated.php',
    1 => 'Fonctionnalit&eacute;s devenues obsol&egrave;tes en PHP 7.2.x',
  ),
  'next' => 
  array (
    0 => 'migration71.php',
    1 => 'Migration de PHP 7.0.x vers PHP 7.1.x',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'appendices/migration72/other-changes.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="migration72.other-changes" class="sect1">
 <h2 class="title">Autres changements</h2>

 <div class="sect2" id="migration72.other-changes.utf8_-functions-to-ext-standard">
  <h3 class="title">Déplacement de <span class="function"><a href="function.utf8-encode.php" class="function">utf8_encode()</a></span> et <span class="function"><a href="function.utf8-decode.php" class="function">utf8_decode()</a></span></h3>

  <p class="para">
   Les fonctions <span class="function"><a href="function.utf8-encode.php" class="function">utf8_encode()</a></span> et 
   <span class="function"><a href="function.utf8-decode.php" class="function">utf8_decode()</a></span> ont maintenant été déplacées vers 
   l&#039;extension standard en tant que fonctions de chaîne, alors qu&#039;avant 
   l&#039;extension <a href="book.xml.php" class="link">XML</a>  était requise pour 
   qu&#039;elles soient disponibles.
  </p>
 </div>
 <div class="sect2" id="migration72.other-changes.mail">
  <h3 class="title">Changement pour <span class="function"><a href="function.mail.php" class="function">mail()</a></span> et <span class="function"><a href="function.mb-send-mail.php" class="function">mb_send_mail()</a></span></h3>

  <p class="para">
   Le paramètre $additional_headers de <span class="function"><a href="function.mail.php" class="function">mail()</a></span> et
   <span class="function"><a href="function.mb-send-mail.php" class="function">mb_send_mail()</a></span>
   accepte aussi maintenant un <span class="type"><a href="language.types.array.php" class="type array">array</a></span> à la place d&#039;un <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
  </p>
 </div>
 
 <div class="sect2" id="migration72.other-changes.lmdb-support">
  <h3 class="title">Prise en charge de LMDB</h3>

  <p class="para">
   L&#039;extension <a href="book.dba.php" class="link">DBA</a> prend maintenant en charge LMDB.
  </p>
 </div>

 <div class="sect2" id="migration72.other-changes.build-system">
  <h3 class="title">Modifications apportées au système build de PHP</h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     Unix: Autoconf 2.64 ou plus est maintenant nécessaire pour construire PHP.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Unix: L&#039;argument de configuration <code class="literal">--with-pdo-oci</code> n&#039;a plus 
     besoin de la version de Oracle Instant Client.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Unix: L&#039;argument de configuration <code class="literal">--enable-gd-native-ttf</code> a été supprimé. Il n&#039;a pas été utilisé à partir de PHP 5.5.0.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     Windows: L&#039;argument de configuration <code class="literal">--with-config-profile</code> 
     a été ajouté. Cela peut être utilisé pour enregistrer des configurations 
     spécifiques, un peu comme le fichier magique <var class="filename">config.nice.bat</var>.
    </span>
   </li>
  </ul>
 </div>

 <div class="sect2" id="migration72.other-changes.image">
  <h3 class="title">Changement dans <a href="book.image.php" class="link">GD</a></h3>

  <ul class="itemizedlist">
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.imageantialias.php" class="function">imageantialias()</a></span> est également disponible si construit 
     avec libgd du système.
    </span>
   </li>
   <li class="listitem">
    <span class="simpara">
     <span class="function"><a href="function.imagegd.php" class="function">imagegd()</a></span> stocke des images TrueColor comme de vraies 
     images TrueColor. Auparavant, elles étaient converties en palette.
    </span>
   </li>
  </ul>
 </div>

 <div class="sect2" id="migration72.other-changes.mcrypt">
  <h3 class="title">Déplacement de <a href="book.mcrypt.php" class="link">MCrypt</a> vers PECL</h3>

  <p class="para">
   L&#039;extension <a href="book.mcrypt.php" class="link">MCrypt</a> a maintenant été 
   déplacée du noyau vers PECL. Étant donné que la bibliothèque mcrypt n&#039;a pas 
   vu de mises à jour depuis 2007, son utilisation est fortement découragée. 
   Au lieu de cela, soit <a href="book.openssl.php" class="link">OpenSSL</a> soit 
   l&#039;extension <a href="book.sodium.php" class="link">Sodium</a> doivent être utilisées.
  </p>
 </div>

 <div class="sect2" id="migration72.other-changes.session-module-name">
  <h3 class="title"><span class="function"><a href="function.session-module-name.php" class="function">session_module_name()</a></span></h3>

  <p class="para">
   Le passage de <code class="literal">&quot;user&quot;</code> à 
   <span class="function"><a href="function.session-module-name.php" class="function">session_module_name()</a></span> déclenche maintenant une erreur de 
   niveau <strong><code><a href="errorfunc.constants.php#constant.e-recoverable-error">E_RECOVERABLE_ERROR</a></code></strong>. Auparavant, cela a été 
   ignoré silencieusement.
  </p>
 </div>

</div><?php manual_footer($setup); ?>