mirror of
https://github.com/php/doc-fr.git
synced 2026-03-23 22:52:18 +01:00
En translation appendices#2571
This commit is contained in:
@@ -348,8 +348,8 @@ Retourne la taille de la chaîne $string.
|
||||
<para>
|
||||
En contribuant aux notes, il est possible de fournir de nouveaux exemples,
|
||||
mettre en lumière des effets de bords et apporter des clarifications pour
|
||||
les autres lecteurs. Mais ne prenez pas le système d'annotation pour
|
||||
un système de soumission de bogues. Il est possible d'en savoir plus sur les
|
||||
les autres lecteurs. Mais il ne faut pas utiliser le système d'annotation
|
||||
comme un système de soumission de bogues. Il est possible d'en savoir plus sur les
|
||||
annotations dans la section
|
||||
<link linkend="about.notes">'À propos des notes utilisateurs'</link>
|
||||
</para>
|
||||
|
||||
@@ -327,7 +327,7 @@ fclose($fp);
|
||||
|
||||
<example>
|
||||
<title>
|
||||
<literal>zlib.deflate</literal> and
|
||||
<literal>zlib.deflate</literal> et
|
||||
<literal>zlib.inflate</literal>
|
||||
</title>
|
||||
<programlisting role="php">
|
||||
@@ -550,7 +550,7 @@ $fp = fopen('encrypted-file.enc', 'rb');
|
||||
$iv = fread($fp, $iv_size = mcrypt_get_iv_size(MCRYPT_BLOWFISH, MCRYPT_MODE_CBC));
|
||||
$opts = array('mode'=>'cbc','iv'=>$iv, 'key'=>$key);
|
||||
stream_filter_append($fp, 'mdecrypt.blowfish', STREAM_FILTER_READ, $opts);
|
||||
$data = rtrim(stream_get_contents($fp));//trims off null padding
|
||||
$data = rtrim(stream_get_contents($fp));//supprime le remplissage nul
|
||||
fclose($fp);
|
||||
echo $data;
|
||||
?>
|
||||
|
||||
@@ -551,8 +551,8 @@ Fatal error: Maximum execution time of 30+2 seconds exceeded (terminated) in Unk
|
||||
<para>
|
||||
Temps (en seconde) pour lequel persiste l'information du cache de
|
||||
realpath pour un fichier ou un répertoire donné. Pour des systèmes
|
||||
avec des fichiers qui changent peu souvent, pensez à augmenter cette
|
||||
valeur.
|
||||
avec des fichiers qui changent peu souvent, il est recommandé d'augmenter
|
||||
cette valeur.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
@@ -151,7 +151,7 @@ echo add(1, ...$operators);
|
||||
<para>
|
||||
Un opérateur <literal>**</literal> associatif à droite a été ajouté
|
||||
pour supporter l'exponentiation, en conjonction de l'opérateur
|
||||
d'affectation <literal>**=</literal>.
|
||||
d'assignation <literal>**=</literal>.
|
||||
</para>
|
||||
|
||||
<informalexample>
|
||||
|
||||
@@ -60,7 +60,7 @@ abstract class A
|
||||
}
|
||||
abstract class B extends A
|
||||
{
|
||||
// overridden - still maintaining contravariance for parameters and covariance for return
|
||||
// surchargée - tout en maintenant la contravariance pour les paramètres et la covariance pour le retour
|
||||
abstract function test($s) : int;
|
||||
}
|
||||
]]>
|
||||
|
||||
@@ -104,8 +104,8 @@ Test2::$x = &$x;
|
||||
$x = 1;
|
||||
|
||||
var_dump(Test::$x, Test2::$x);
|
||||
// Previously: int(0), int(1)
|
||||
// Now: int(1), int(1)
|
||||
// Avant : int(0), int(1)
|
||||
// Maintenant : int(1), int(1)
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
@@ -131,7 +131,7 @@ var_dump(Test::$x, Test2::$x);
|
||||
$arr = [1];
|
||||
$ref =& $arr[0];
|
||||
var_dump($arr[0] + ($arr[0] = 2));
|
||||
// Previously: int(4), Now: int(3)
|
||||
// Avant : int(4), Maintenant : int(3)
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
@@ -217,7 +217,7 @@ foo(...gen());
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="migration73.incompatible.bc">
|
||||
<title>BCMath Arbitrary Precision Mathematics</title>
|
||||
<title>BCMath Mathématiques à précision arbitraire</title>
|
||||
|
||||
<para>
|
||||
Tous les avertissements lancés par les <link linkend="ref.bc">fonctions BCMath</link>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<title>Autres changements</title>
|
||||
|
||||
<sect2 xml:id="migration73.other-changes.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration73.other-changes.core.setcookie">
|
||||
<title>Set(raw)cookie accepte l'argument $option</title>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<title>Nouvelles constantes globales</title>
|
||||
|
||||
<sect2 xml:id="migration74.constants.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
<sect2 xml:id="migration74.incompatible.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration74.incompatible.core.non-array-access">
|
||||
<title>Accès de type tableau des non-tableaux</title>
|
||||
|
||||
@@ -111,7 +111,7 @@ class C extends B {}
|
||||
</sect3>
|
||||
|
||||
<sect3 xml:id="migration74.new-features.core.null-coalescing-assignment-operator">
|
||||
<title>Opérateur d'affectation de fusion Null</title>
|
||||
<title>Opérateur d'assignation de fusion Null</title>
|
||||
|
||||
<para>
|
||||
<informalexample>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Nouvelles fonctions</title>
|
||||
|
||||
<sect2 xml:id="migration74.new-functions.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<title>Fonctionnalités obsolètes</title>
|
||||
|
||||
<sect2 xml:id="migration80.deprecated.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
||||
@@ -331,7 +331,7 @@ function test(int $arg = null) {}
|
||||
<member>Tentative d'utilisation d'une ressource comme clé de tableau.</member>
|
||||
<member>Tentative d'utilisation de null, d'un booléen ou d'un nombre flottant comme index de chaîne.</member>
|
||||
<member>Tentative de lecture d'un index de chaîne hors limites.</member>
|
||||
<member>Tentative d'affectation d'une chaîne vide à un index de chaîne.</member>
|
||||
<member>Tentative d'assignation d'une chaîne vide à un index de chaîne.</member>
|
||||
</simplelist>
|
||||
<!-- RFC: https://wiki.php.net/rfc/engine_warnings -->
|
||||
</para>
|
||||
@@ -430,7 +430,7 @@ trait MyTrait {
|
||||
class MyClass {
|
||||
use MyTrait;
|
||||
|
||||
// Error, because of return type mismatch.
|
||||
// Erreur, en raison d'une incompatibilité de type de retour.
|
||||
private function neededByTrait(): int { return 42; }
|
||||
}
|
||||
?>
|
||||
@@ -474,8 +474,8 @@ class MyClass {
|
||||
setlocale(LC_ALL, "de_DE");
|
||||
$f = 3.14;
|
||||
echo $f, "\n";
|
||||
// Previously: 3,14
|
||||
// Now: 3.14
|
||||
// Avant : 3,14
|
||||
// Maintenant : 3.14
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Nouvelles fonctionnalités</title>
|
||||
|
||||
<sect2 xml:id="migration80.new-features.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration80.new-features.core.named-arguments">
|
||||
<title>Les arguments nommés</title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Fonctionnalités dépréciées</title>
|
||||
|
||||
<sect2 xml:id="migration81.deprecated.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration81.deprecated.core.serialize-interface">
|
||||
<title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Les changements de rétrocompatibilités</title>
|
||||
|
||||
<sect2 xml:id="migration81.incompatible.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration81.incompatible.core.globals-access">
|
||||
<title>Restrictions d'accès $GLOBALS</title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Nouvelles Fonctionnalités</title>
|
||||
|
||||
<sect2 xml:id="migration81.new-features.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration81.new-features.core.octal-literal-prefix">
|
||||
<title>Préfixe littéral octal entier</title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Nouvelles fonctions</title>
|
||||
|
||||
<sect2 xml:id="migration81.new-functions.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Fonctionnalités obsolètes</title>
|
||||
|
||||
<sect2 xml:id="migration82.deprecated.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration82.deprecated.core.dynamic-properties">
|
||||
<title>Utilisation des propriétés dynamiques</title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Fonctionnalités dépréciées</title>
|
||||
|
||||
<sect2 xml:id="migration83.deprecated.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration83.deprecated.core.saner-inc-dec-operators">
|
||||
<title>Opérateurs incrémentation/décrémentation plus sains</title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Changement de rétrocompatibilité</title>
|
||||
|
||||
<sect2 xml:id="migration83.incompatible.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration83.incompatible.core.overflowing-call-stack">
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Nouvelles fonctionnalités</title>
|
||||
|
||||
<sect2 xml:id="migration83.new-features.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration83.new-features.core.readonly-modifier-improvements">
|
||||
<title>Modification sur la lecture seule</title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Fonctionnalités dépréciées</title>
|
||||
|
||||
<sect2 xml:id="migration84.deprecated.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration84.deprecated.core.implicitly-nullable-parameter">
|
||||
<!-- RFC: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types -->
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
</simpara>
|
||||
|
||||
<sect2 xml:id="migration84.incompatible.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<!-- RFC: https://wiki.php.net/rfc/exit-as-function -->
|
||||
<sect3 xml:id="migration84.incompatible.core.exit">
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
<!-- TODO: Core features for 8.4 -->
|
||||
<sect2 xml:id="migration84.new-features.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<!-- RFC: https://wiki.php.net/rfc/property-hooks -->
|
||||
<sect3 xml:id="migration84.new-features.core.property-hooks">
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Fonctionnalités dépréciées</title>
|
||||
|
||||
<sect2 xml:id="migration85.deprecated.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration85.deprecated.core.changes-to-user-output-handler">
|
||||
<title>Changement aux gestionnaires de sortie utilisateur</title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Changements non rétrocompatibles</title>
|
||||
|
||||
<sect2 xml:id="migration85.incompatible.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration85.incompatible.core.array-callable-alias">
|
||||
<title>Les noms d'alias <literal>"array"</literal> et <literal>"callable"</literal></title>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<title>Nouvelles fonctionnalités</title>
|
||||
|
||||
<sect2 xml:id="migration85.new-features.core">
|
||||
<title>Cœur de PHP</title>
|
||||
<title>PHP Core</title>
|
||||
|
||||
<sect3 xml:id="migration85.new-features.core.pipe-operator">
|
||||
<title>Opérateur pipe</title>
|
||||
|
||||
@@ -162,7 +162,7 @@ defined('T_FN') || define('T_FN', 10001);
|
||||
</row>
|
||||
<row xml:id="constant.t-close-tag">
|
||||
<entry><constant>T_CLOSE_TAG</constant></entry>
|
||||
<entry>?> or %></entry>
|
||||
<entry>?> ou %></entry>
|
||||
<entry><link linkend="language.basic-syntax.phpmode">échapper
|
||||
depuis le HTML</link></entry>
|
||||
</row>
|
||||
@@ -653,7 +653,7 @@ defined('T_FN') || define('T_FN', 10001);
|
||||
</row>
|
||||
<row xml:id="constant.t-open-tag">
|
||||
<entry><constant>T_OPEN_TAG</constant></entry>
|
||||
<entry><?php, <? or <%</entry>
|
||||
<entry><?php, <? ou <%</entry>
|
||||
<entry><link linkend="language.basic-syntax.phpmode">sortie du mode HTML</link></entry>
|
||||
</row>
|
||||
<row xml:id="constant.t-open-tag-with-echo">
|
||||
@@ -688,7 +688,7 @@ defined('T_FN') || define('T_FN', 10001);
|
||||
<entry><constant>T_POW_EQUAL</constant></entry>
|
||||
<entry>**=</entry>
|
||||
<entry>
|
||||
<link linkend="language.operators.assignment">les opérateurs d'affectation</link>
|
||||
<link linkend="language.operators.assignment">opérateurs d'assignation</link>
|
||||
</entry>
|
||||
</row>
|
||||
<row xml:id="constant.t-print">
|
||||
|
||||
Reference in New Issue
Block a user