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/dom/domnodelist.xml By: anonymous on 2013-02-01 09:17:21 =================================================================== --- en/reference/dom/domnodelist.xml +++ en/reference/dom/domnodelist.xml @@ -77,19 +77,16 @@ </section> <!-- }}} --> -<!-- {{{ See also --> -<!-- + <!-- {{{ See also --> <section role="seealso"> &reftitle.seealso; <para> <simplelist> - <member><link xlink:href="&url.spec.dom3.;">W3C specification for</link></member> + <member><link xlink:href="&url.spec.dom3.nodelist;">W3C specification of NodeList</link></member> </simplelist> </para> </section> ---> <!-- }}} --> - </partintro> &reference.dom.entities.domnodelist; => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=45396 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=45396 ------------------------------------------------------------------ Modified: en/reference/errorfunc/functions/error-log.xml By: rdohms on 2013-02-20 06:10:46 =================================================================== --- en/reference/errorfunc/functions/error-log.xml +++ en/reference/errorfunc/functions/error-log.xml @@ -3,7 +3,7 @@ <refentry xml:id="function.error-log" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>error_log</refname> - <refpurpose>Send an error message somewhere</refpurpose> + <refpurpose>Send an error message to the defined error handling routines</refpurpose> </refnamediv> <refsect1 role="description"> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=45567 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=45567 ------------------------------------------------------------------ Modified: en/reference/strings/functions/trim.xml By: hans henrik bergan on 2013-02-24 11:47:08 =================================================================== --- en/reference/strings/functions/trim.xml +++ en/reference/strings/functions/trim.xml @@ -12,7 +12,7 @@ <methodsynopsis> <type>string</type><methodname>trim</methodname> <methodparam><type>string</type><parameter>str</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>charlist</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>charlist</parameter><initializer>" tnr x0B"</initializer></methodparam> </methodsynopsis> <para> This function returns a string with whitespace stripped from the => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=45580 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=45580 ------------------------------------------------------------------ Modified: en/reference/var/functions/is-int.xml By: Hans Henrik Bergan on 2013-02-28 17:40:30 =================================================================== --- en/reference/var/functions/is-int.xml +++ en/reference/var/functions/is-int.xml @@ -53,26 +53,28 @@ <programlisting role="php"> <![CDATA[ <?php -if (is_int(23)) { - echo "is integern"; -} else { - echo "is not an integern"; +$values=array(23,"23",23.5,"23.5",null,true,false); + +foreach ($values as $value) { + echo "is_integer("; + var_export($value); + echo ") = "; + echo var_dump(is_integer($value)); } -var_dump(is_int(23)); -var_dump(is_int("23")); -var_dump(is_int(23.5)); -var_dump(is_int(true)); ?> ]]> </programlisting> &example.outputs; <screen> <![CDATA[ -is integer -bool(true) -bool(false) -bool(false) -bool(false) +is_integer(23) = bool(true) +is_integer('23') = bool(false) +is_integer(23.5) = bool(false) +is_integer('23.5') = bool(false) +is_integer(NULL) = bool(false) +is_integer(true) = bool(false) +is_integer(false) = bool(false) + ]]> </screen> </example> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=45608 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=45608 ------------------------------------------------------------------ -- https://edit.php.net/ This email is send automatically by the Php Docbook Online Editor.