svn: /phpdoc/fr/trunk/reference/ filesystem/functions/flock.xml spl/arrayiterator/append.xml stream/functions/stream-notification-callback.xml
| From: | Yannick Torres | Date: | Fri, 14 May 2010 11:22:04 +0000 |
| Subject: | svn: /phpdoc/fr/trunk/reference/ filesystem/functions/flock.xml spl/arrayiterator/append.xml stream/functions/stream-notification-callback.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-7973@lists.php.net to get a copy of this message | ||
yannick Fri, 14 May 2010 11:22:04 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=299373
Log:
Sync with EN
Changed paths:
U phpdoc/fr/trunk/reference/filesystem/functions/flock.xml
UU phpdoc/fr/trunk/reference/spl/arrayiterator/append.xml
U phpdoc/fr/trunk/reference/stream/functions/stream-notification-callback.xml
Modified: phpdoc/fr/trunk/reference/filesystem/functions/flock.xml
===================================================================
--- phpdoc/fr/trunk/reference/filesystem/functions/flock.xml 2010-05-14 11:14:13 UTC (rev 299372)
+++ phpdoc/fr/trunk/reference/filesystem/functions/flock.xml 2010-05-14 11:22:04 UTC (rev 299373)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: dams Status: ready -->
+<!-- EN-Revision: 299370 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.flock">
@@ -114,6 +114,14 @@
</thead>
<tbody>
<row>
+ <entry>5.3.2</entry>
+ <entry>
+ Le déverrouillage automatique lorsque la ressource de fichiers
+ est fermée a été supprimée. Le déverrouillage doit maintenant
+ être effectuée manuellement.
+ </entry>
+ </row>
+ <row>
<entry>4.0.1</entry>
<entry>
Les constantes <literal>LOCK_XXX</literal> ont été ajoutées. Avant,
@@ -194,14 +202,6 @@
comme argument de <function>fopen</function>).
</para>
</note>
- <note>
- <para>
- Les systèmes compatibles POSIX.1 déverrouilleront les scripts utilisant
- <function>flock</function> sur un fichier, si ces scripts utilisent la
- fonction <function>fclose</function> sur un des gestionnaires de ce
- fichier.
- </para>
- </note>
<warning>
<para>
Assigner une autre valeur à l'argument <parameter>handle</parameter>
Modified: phpdoc/fr/trunk/reference/spl/arrayiterator/append.xml
===================================================================
--- phpdoc/fr/trunk/reference/spl/arrayiterator/append.xml 2010-05-14 11:14:13 UTC (rev 299372)
+++ phpdoc/fr/trunk/reference/spl/arrayiterator/append.xml 2010-05-14 11:22:04 UTC (rev 299373)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 290998 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 299367 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="arrayiterator.append" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -13,7 +13,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier>
<type>void</type><methodname>ArrayIterator::append</methodname>
-
<methodparam><type>string</type><parameter>value</parameter></methodparam>
+
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
Ajoute une valeur comme dernier élément.
Property changes on: phpdoc/fr/trunk/reference/spl/arrayiterator/append.xml
___________________________________________________________________
Modified: svn:keywords
- Revision
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
+ native
Modified: phpdoc/fr/trunk/reference/stream/functions/stream-notification-callback.xml
===================================================================
--- phpdoc/fr/trunk/reference/stream/functions/stream-notification-callback.xml 2010-05-14 11:14:13
UTC (rev 299372)
+++ phpdoc/fr/trunk/reference/stream/functions/stream-notification-callback.xml 2010-05-14 11:22:04
UTC (rev 299373)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 288721 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 299363 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.stream-notification-callback" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -143,7 +143,8 @@
echo "\n";
}
-$ctx = stream_context_create(null, array("notification" =>
"stream_notification_callback"));
+$ctx = stream_context_create();
+stream_context_set_params($ctx, array("notification" =>
"stream_notification_callback"));
file_get_contents("http://php.net/contact",
false, $ctx);
?>
@@ -231,7 +232,8 @@
isset($argv[1], $argv[2]) or usage($argv);
-$ctx = stream_context_create(null, array("notification" =>
"stream_notification_callback"));
+$ctx = stream_context_create();
+stream_context_set_params($ctx, array("notification" =>
"stream_notification_callback"));
$fp = fopen($argv[1], "r", false, $ctx);
if (is_resource($fp) && file_put_contents($argv[2], $fp)) {