Hello PHP EN Documentation team,
There are contributions within the online editor queue for this language.
Please review, then commit or delete these patches.
Patches for review :
-----------------------
Modified: en/reference/pcntl/functions/pcntl-signal.xml
By: da vinci on 2012-12-28 02:32:53
===================================================================
--- en/reference/pcntl/functions/pcntl-signal.xml
+++ en/reference/pcntl/functions/pcntl-signal.xml
@@ -16,7 +16,7 @@
</methodsynopsis>
<para>
The <function>pcntl_signal</function> function installs a new
- signal handler for the signal indicated by <parameter>signo</parameter>.
+ signal handler or replaces the current signal handler for the signal
indicated by <parameter>signo</parameter>.
</para>
</refsect1>
@@ -168,6 +168,15 @@
</example>
</para>
</refsect1>
+
+
+
+
+<refsect1 role="notes"><!-- {{{ -->
+&reftitle.notes;
+<function>pcntl_signal</function> doesn't stack the signal handlers, but
replaces them.
+</refsect1><!-- }}} -->
+
<refsect1 role="seealso">
&reftitle.seealso;
@@ -178,6 +187,8 @@
</simplelist>
</para>
</refsect1>
+
+
</refentry>
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=44062
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=44062
------------------------------------------------------------------
Modified: en/reference/pcntl/functions/pcntl-exec.xml
By: da vinci on 2012-12-28 02:46:08
===================================================================
--- en/reference/pcntl/functions/pcntl-exec.xml
+++ en/reference/pcntl/functions/pcntl-exec.xml
@@ -11,8 +11,8 @@
<methodsynopsis>
<type>void</type><methodname>pcntl_exec</methodname>
<methodparam><type>string</type><parameter>path</parameter></methodparam>
- <methodparam
choice="opt"><type>array</type><parameter>args</parameter></methodparam>
- <methodparam
choice="opt"><type>array</type><parameter>envs</parameter></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>args</parameter><initializer>array()</initializer></methodparam>
+ <methodparam
choice="opt"><type>array</type><parameter>envs</parameter><initializer>array()</initializer></methodparam>
</methodsynopsis>
<para>
Executes the program with the given arguments.
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=44063
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=44063
------------------------------------------------------------------
Modified: en/reference/pcre/functions/preg-split.xml
By: anonymous on 2012-12-31 11:39:41
===================================================================
--- en/reference/pcre/functions/preg-split.xml
+++ en/reference/pcre/functions/preg-split.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 329086 $ -->
+<!-- $Revision: 313291 $ -->
<refentry xml:id="function.preg-split" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>preg_split</refname>
@@ -147,6 +147,7 @@
// which include " ", r, t, n and f
$keywords = preg_split("/[s,]+/", "hypertext language, programming");
print_r($keywords);
+?>
]]>
</programlisting>
&example.outputs;
@@ -171,6 +172,7 @@
$str = 'string';
$chars = preg_split('//', $str, -1, PREG_SPLIT_NO_EMPTY);
print_r($chars);
+?>
]]>
</programlisting>
&example.outputs;
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=44094
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=44094
------------------------------------------------------------------
Modified: en/reference/curl/functions/curl-setopt.xml
By: Genadi Saltikov on 2013-01-02 06:03:37
===================================================================
--- en/reference/curl/functions/curl-setopt.xml
+++ en/reference/curl/functions/curl-setopt.xml
@@ -1237,26 +1237,26 @@
<entry valign="top"><constant>CURLOPT_FILE</constant></entry>
<entry valign="top">
The file that the transfer should be written to. The default
- is <literal>STDOUT</literal> (the browser window).
+ is <literal>STDOUT</literal> (the browser window). Should be a
stream resource.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_INFILE</constant></entry>
<entry valign="top">
- The file that the transfer should be read from when uploading.
+ The file that the transfer should be read from when uploading.
Should be a stream resource.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_STDERR</constant></entry>
<entry valign="top">
An alternative location to output errors to instead of
- <literal>STDERR</literal>.
+ <literal>STDERR</literal>. Should be a stream resource.
</entry>
</row>
<row>
<entry valign="top"><constant>CURLOPT_WRITEHEADER</constant></entry>
<entry valign="top">
- The file that the header part of the transfer is written to.
+ The file that the header part of the transfer is written to.
Should be a stream resource.
</entry>
</row>
</tbody>
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=44105
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=44105
------------------------------------------------------------------
Modified: en/reference/network/functions/setcookie.xml
By: anonymous on 2013-01-04 03:11:56
===================================================================
--- en/reference/network/functions/setcookie.xml
+++ en/reference/network/functions/setcookie.xml
@@ -373,6 +373,7 @@
<member><function>setrawcookie</function></member>
<member><link linkend="features.cookies">cookies section</link></member>
<member><link xlink:href="&url.rfc;6265">RFC 6265</link></member>
+ <member><link xlink:href="&url.rfc;2965">RFC 2965</link></member>
<member><link xlink:href="&url.rfc;2109">RFC 2109</link></member>
</simplelist>
</para>
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=44111
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=44111
------------------------------------------------------------------
Modified: en/reference/network/functions/header.xml
By: anonymous on 2013-01-04 03:28:53
===================================================================
--- en/reference/network/functions/header.xml
+++ en/reference/network/functions/header.xml
@@ -129,6 +129,17 @@
</programlisting>
</informalexample>
</para>
+ <para>
+ <note>
+ <para>
+ When <parameter>replace</parameter> is set to <literal>TRUE</literal>,
+ all matching headers will be removed before the new one is sent. For
+ example, if multiple cookies are already sent, then sending a
<literal>
+ Set-Cookie</literal> header through <function>header</function> will
+ replace all of them.
+ </para>
+ </note>
+ </para>
</listitem>
</varlistentry>
<varlistentry>
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=44112
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=44112
------------------------------------------------------------------
Modified: en/reference/filesystem/functions/file-get-contents.xml
By: anonymous on 2013-01-16 02:43:19
===================================================================
--- en/reference/filesystem/functions/file-get-contents.xml
+++ en/reference/filesystem/functions/file-get-contents.xml
@@ -280,6 +280,7 @@
&reftitle.notes;
¬e.bin-safe;
&tip.fopen-wrapper;
+ &return.falseproblem;
&warn.ssl-non-standard;
</refsect1>
=> Put this change into your patches :
https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=44760
=> Delete this change:
https://edit.php.net/?project=php&action=deleteThisChange&idDB=44760
------------------------------------------------------------------
--
https://edit.php.net/
This email is send automatically by the Php Docbook Online Editor.