com doc/fr: Apply commit 627fb8f8675566dfd9c3977e3ad2d9fc7b3b3876: reference/array/functions/array-push.xml
| From: | George Peter Banyard | Date: | Tue, 26 Jan 2021 18:14:16 +0000 |
| Subject: | com doc/fr: Apply commit 627fb8f8675566dfd9c3977e3ad2d9fc7b3b3876: reference/array/functions/array-push.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-13532@lists.php.net to get a copy of this message | ||
Commit: 5c6e51405b53ac1fe7e7280768483b6e1b1b83fa
Author: George Peter Banyard <girgias@php.net> Tue, 26 Jan 2021 18:14:16 +0000
Parents: 546abe14ca644204849e0cfc9933af98c7644c59
Branches: master
Link: http://git.php.net/?p=doc/fr.git;a=commitdiff;h=5c6e51405b53ac1fe7e7280768483b6e1b1b83fa
Log:
Apply commit 627fb8f8675566dfd9c3977e3ad2d9fc7b3b3876
Fix #77323: Since 7.1 [] = 'entry'; throws Fatal. This is unclear in the docs
Bugs:
https://bugs.php.net/77323
Changed paths:
M reference/array/functions/array-push.xml
Diff:
diff --git a/reference/array/functions/array-push.xml b/reference/array/functions/array-push.xml
index 44d574e130..a7c2ec171e 100644
--- a/reference/array/functions/array-push.xml
+++ b/reference/array/functions/array-push.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 9e0f03ac354d797d1d16c0fcc1663e5e170f2727 Maintainer: yannick Status: ready
-->
+<!-- EN-Revision: 627fb8f8675566dfd9c3977e3ad2d9fc7b3b3876 Maintainer: yannick Status: ready
-->
<!-- Reviewed: no -->
<refentry xml:id="function.array-push" xmlns="http://docbook.org/ns/docbook">
@@ -41,7 +41,7 @@ $array[] = $var;
<simpara>
<function>array_push</function> émettra une alerte si le premier argument
n'est pas un tableau. Ceci diffère du comportement de
- <literal>$var[]</literal> où un nouveau tableau est créé.
+ <literal>$var[]</literal> où un nouveau tableau était créé, antérieur à PHP
7.1.0.
</simpara>
</note>
</refsect1>