svn: /phpdoc/fr/trunk/ faq/general.xml reference/datetime/datetimeinterface/gettimestamp.xml reference/datetime/functions/gmmktime.xml
reference/datetime/functions/mktime.xml reference/datetime/functions/strftime.xml

From: Date: Mon, 21 Dec 2020 21:47:59 +0000
Subject: svn: /phpdoc/fr/trunk/ faq/general.xml reference/datetime/datetimeinterface/gettimestamp.xml reference/datetime/functions/gmmktime.xml
reference/datetime/functions/mktime.xml reference/datetime/functions/strftime.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-13413@lists.php.net to get a copy of this message
girgias Mon, 21 Dec 2020 21:47:59 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=352159 Log: Sync FR with EN Changed paths: U phpdoc/fr/trunk/faq/general.xml U phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml U phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml U phpdoc/fr/trunk/reference/datetime/functions/mktime.xml U phpdoc/fr/trunk/reference/datetime/functions/strftime.xml Modified: phpdoc/fr/trunk/faq/general.xml =================================================================== --- phpdoc/fr/trunk/faq/general.xml 2020-12-21 16:17:18 UTC (rev 352158) +++ phpdoc/fr/trunk/faq/general.xml 2020-12-21 21:47:59 UTC (rev 352159) @@ -1,8 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 342896 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 352156 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> - <chapter xml:id="faq.general" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Informations générales</title> <titleabbrev>Informations générales</titleabbrev> @@ -57,7 +56,7 @@ PHP/FI 2.0 est une des premières versions de PHP et elle n'est plus supportée. PHP 3 en est son successeur et est beaucoup plus convivial. - PHP 7 est la génération actuelle de PHP, qui utilise le + PHP 8 est la génération actuelle de PHP, qui utilise le moteur Zend 3 qui apporte, entre autres, beaucoup de nouveautés dans le <link linkend="language.oop5">modèle objet</link>. </para> Modified: phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml =================================================================== --- phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml 2020-12-21 16:17:18 UTC (rev 352158) +++ phpdoc/fr/trunk/reference/datetime/datetimeinterface/gettimestamp.xml 2020-12-21 21:47:59 UTC (rev 352159) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 352143 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 352146 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="datetime.gettimestamp" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> @@ -23,7 +23,7 @@ <void/> </methodsynopsis> <methodsynopsis role="DateTimeInterface"> - <modifier>public</modifier> <type class="union"><type>int</type><type>false</type></type><methodname>DateTimeInterface::getTimestamp</methodname> + <modifier>public</modifier> <type>int</type><methodname>DateTimeInterface::getTimestamp</methodname> <void/> </methodsynopsis> <para>&style.procedural;</para> @@ -48,6 +48,28 @@ </para> </refsect1> + <refsect1 role="changelog"><!-- {{{ --> + &reftitle.changelog; + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>8.0.0</entry> + <entry> + Ces fonctions ne retourne plus &false; en cas d'échec. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </refsect1><!-- }}} --> + <refsect1 role="examples"> &reftitle.examples; <example> Modified: phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml =================================================================== --- phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml 2020-12-21 16:17:18 UTC (rev 352158) +++ phpdoc/fr/trunk/reference/datetime/functions/gmmktime.xml 2020-12-21 21:47:59 UTC (rev 352159) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 352143 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 352144 Maintainer: yannick Status: ready --> <!-- Reviewed: yes Maintainer: yannick --> <refentry xml:id="function.gmmktime" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -29,6 +29,10 @@ Comme <function>mktime</function>, les arguments restants peuvent être ignorés. Ils prendront alors leurs valeurs GMT actuelles. </para> + <simpara> + Appeler <function>gmmktime</function> sans arguments est obsolète. + <function>time</function> peut être utilisé pour récupérer le timestamp courant. + </simpara> </refsect1> <refsect1 role="parameters"> Modified: phpdoc/fr/trunk/reference/datetime/functions/mktime.xml =================================================================== --- phpdoc/fr/trunk/reference/datetime/functions/mktime.xml 2020-12-21 16:17:18 UTC (rev 352158) +++ phpdoc/fr/trunk/reference/datetime/functions/mktime.xml 2020-12-21 21:47:59 UTC (rev 352159) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 352143 Maintainer: yannick Status: ready --> +<!-- EN-Revision: 352144 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.mktime" xmlns="http://docbook.org/ns/docbook"> <refnamediv> @@ -33,6 +33,10 @@ et tous les arguments manquants sont utilisés avec la valeur courante de l'heure et du jour. </para> + <simpara> + Appeler <function>mktime</function> sans arguments est obsolète. + <function>time</function> peut être utilisé pour récupérer le timestamp courant. + </simpara> </refsect1> <refsect1 role="notes"> Modified: phpdoc/fr/trunk/reference/datetime/functions/strftime.xml =================================================================== --- phpdoc/fr/trunk/reference/datetime/functions/strftime.xml 2020-12-21 16:17:18 UTC (rev 352158) +++ phpdoc/fr/trunk/reference/datetime/functions/strftime.xml 2020-12-21 21:47:59 UTC (rev 352159) @@ -319,9 +319,6 @@ </tgroup> </table> </para> - <para> - La longueur maximale de ce paramètre est de 1023 caractères. - </para> <warning> <simpara> Contrairement à la norme <literal>ISO-9899:1999</literal>, Sun Solaris

« previous php.doc.fr (#13413) next »