Contributions are ready for review

From: Date: Mon, 12 Jan 2015 13:00:03 +0000
Subject: Contributions are ready for review
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969385330@lists.php.net to get a copy of this message
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/faq/installation.xml By: mattficken on 2014-09-04 14:39:45 =================================================================== --- en/faq/installation.xml +++ en/faq/installation.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 334758 $ --> +<!-- $Revision: 311461 $ --> <chapter xml:id="faq.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Installation</title> <titleabbrev>Installation</titleabbrev> @@ -394,9 +394,9 @@ <function>phpinfo</function>. Near the top, there will be a listing called <literal>Configuration File (php.ini)</literal>. This will tell you where PHP is looking for &php.ini; and - whether or not it's being read. If just a directory <envar>PATH</envar> exists, + whether or not it's being read. If just a directory PATH exists, then it's not being read, and you should put your &php.ini; - in that directory. If &php.ini; is included within the <envar>PATH</envar>, + in that directory. If &php.ini; is included within the PATH, it is being read. </para> <para> @@ -413,18 +413,16 @@ <qandaentry xml:id="faq.installation.addtopath"> <question> <para> - How do I add my PHP directory to the <envar>PATH</envar> + How do I add my PHP directory to the <varname>PATH</varname> on Windows? </para> </question> <answer> <para> - On Windows NT+ and Windows Server 2000+: + On Windows 7, XP, Vista, 2008, 2012 and up <itemizedlist> <listitem><para> - Go to Control Panel and open the System icon (Start -&gt; Settings - -&gt; Control Panel -&gt; System, or just Start -&gt; Control Panel - -&gt; System for Windows XP/2003+) + Go to Control Panel and open the System icon (Start -&gt; Control Panel) </para></listitem> <listitem><para> Go to the Advanced tab @@ -450,107 +448,18 @@ </para></listitem> </itemizedlist> </para> - <para> - On Windows 98/Me you need to edit the <filename>autoexec.bat</filename> - file: - <itemizedlist> - <listitem><para> - Open the Notepad (Start -&gt; Run and enter notepad) - </para></listitem> - <listitem><para> - Open the <filename>C:autoexec.bat</filename> file - </para></listitem> - <listitem><para> - Locate the line with PATH=C:WINDOWS;C:WINDOWSCOMMAND;..... and add: - <literal>;C:php</literal> to the end of the line - </para></listitem> - <listitem><para> - Save the file and restart your computer - </para></listitem> - </itemizedlist> - </para> - <note> - <simpara> - Be sure to reboot after following the steps above to ensure that the - <envar>PATH</envar> changes are applied. - </simpara> - </note> - <para> - The PHP manual used to promote the copying of files into the Windows - system directory, this is because this directory + + <para> + The PHP manual used to promote the copying of files into the Windows + system directory, this is because this directory (<filename>C:Windows</filename>, <filename>C:WINNT</filename>, etc.) - is by default in the system's <envar>PATH</envar>. Copying files into the Windows + is by default in the systems PATH. Copying files into the Windows system directory has long since been deprecated and may cause problems. </para> </answer> </qandaentry> - <qandaentry xml:id="faq.installation.phprc"> - <question> - <para> - How do I make the &php.ini; file available to PHP on windows? - </para> - </question> - <answer> - <para> - There are several ways of doing this. If you are using Apache, read - their installation specific instructions (<link - linkend="install.windows.apache1">Apache 1</link>, <link - linkend="install.windows.apache2">Apache 2</link>), otherwise you must - set the <varname>PHPRC</varname> environment variable: - </para> - <para> - On Windows NT, 2000, XP and 2003: - <itemizedlist> - <listitem><para> - Go to Control Panel and open the System icon (Start -&gt; Settings - -&gt; Control Panel -&gt; System, or just Start -&gt; Control Panel - -&gt; System for Windows XP/2003) - </para></listitem> - <listitem><para> - Go to the Advanced tab - </para></listitem> - <listitem><para> - Click on the 'Environment Variables' button - </para></listitem> - <listitem><para> - Look into the 'System variables' pane - </para></listitem> - <listitem><para> - Click on 'New' and enter 'PHPRC' as the variable name and the - directory where &php.ini; is located as the variable value (e.g. - <literal>C:php</literal>) - </para></listitem> - <listitem><para> - Press OK and restart your computer - </para></listitem> - </itemizedlist> - </para> - <para> - On Windows 98/Me you need to edit the <filename>autoexec.bat</filename> - file: - <itemizedlist> - <listitem><para> - Open the Notepad (Start -&gt; Run and enter notepad) - </para></listitem> - <listitem><para> - Open the <filename>C:autoexec.bat</filename> file - </para></listitem> - <listitem><para> - Add a new line to the end of the file: <literal>set - PHPRC=C:php</literal> (replace <literal>C:php</literal> with the - directory where &php.ini; is located). Please note that the path - cannot contain spaces. For instance, if you have installed PHP in - <filename>C:Program FilesPHP</filename>, you would enter - <filename>C:PROGRA~1PHP</filename> instead. - </para></listitem> - <listitem><para> - Save the file and restart your computer - </para></listitem> - </itemizedlist> - </para> - </answer> - </qandaentry> + <qandaentry xml:id="faq.installation.apache.multiviews"> <question> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=57941 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=57941 ------------------------------------------------------------------ Modified: en/reference/imap/functions/imap-search.xml By: nathanb on 2014-09-15 17:19:37 =================================================================== --- en/reference/imap/functions/imap-search.xml +++ en/reference/imap/functions/imap-search.xml @@ -12,7 +12,7 @@ <methodparam><type>resource</type><parameter>imap_stream</parameter></methodparam> <methodparam><type>string</type><parameter>criteria</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>SE_FREE</initializer></methodparam> - <methodparam choice="opt"><type>string</type><parameter>charset</parameter><initializer>NIL</initializer></methodparam> + <methodparam choice="opt"><type>string</type><parameter>charset</parameter><initializer>NULL</initializer></methodparam> </methodsynopsis> <para> This function performs a search on the mailbox currently opened => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=58112 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=58112 ------------------------------------------------------------------ Modified: en/reference/exec/functions/escapeshellarg.xml By: Petr Hudeček on 2014-10-08 05:00:05 =================================================================== --- en/reference/exec/functions/escapeshellarg.xml +++ en/reference/exec/functions/escapeshellarg.xml @@ -22,6 +22,11 @@ include <function>exec</function>, <function>system</function> and the <link linkend="language.operators.execution">backtick operator</link>. </para> + <para> + On Windows, <function>escapeshellarg</function> instead removes percent + signs, replaces double quotes with spaces and adds double quotes around the + string. + </para> </refsect1> <refsect1 role="parameters"> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=58764 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=58764 ------------------------------------------------------------------ Modified: en/reference/filesystem/functions/fputcsv.xml By: Christoph M. Becker on 2014-11-21 12:28:07 =================================================================== --- en/reference/filesystem/functions/fputcsv.xml +++ en/reference/filesystem/functions/fputcsv.xml @@ -14,6 +14,7 @@ <methodparam><type>array</type><parameter>fields</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>delimiter</parameter><initializer>","</initializer></methodparam> <methodparam choice="opt"><type>string</type><parameter>enclosure</parameter><initializer>'"'</initializer></methodparam> + <methodparam choice="opt"><type>string</type><parameter>escape</parameter><initializer>"\"</initializer></methodparam> </methodsynopsis> <para> <function>fputcsv</function> formats a line (passed as a @@ -58,6 +59,14 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>escape</parameter></term> + <listitem> + <para> + Set the escape character (one character only). Defaults as a backslash. + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -69,6 +78,30 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.5.0</entry> + <entry> + The <parameter>escape</parameter> parameter was added + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59192 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59192 ------------------------------------------------------------------ Modified: en/reference/pthreads/threaded/merge.xml By: Krzysiek Łukasiak on 2014-11-25 03:44:27 =================================================================== --- en/reference/pthreads/threaded/merge.xml +++ en/reference/pthreads/threaded/merge.xml @@ -1,134 +1,135 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 334955 $ --> - -<refentry xml:id="threaded.merge" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>Threaded::merge</refname> - <refpurpose>Manipulation</refpurpose> - </refnamediv> - - <refsect1 role="description"> - &reftitle.description; - <methodsynopsis> - <modifier>public</modifier> <type>boolean</type><methodname>Threaded::merge</methodname> - <methodparam><type>mixed</type><parameter>from</parameter></methodparam> - <methodparam choice="opt"><type>mixed</type><parameter>overwrite</parameter></methodparam> - </methodsynopsis> - <para> - Merges data into the current object - </para> - </refsect1> - - <refsect1 role="parameters"> - &reftitle.parameters; - <variablelist> - <varlistentry> - <term><parameter>from</parameter></term> - <listitem> - <para> - The data to merge - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>overwrite</parameter></term> - <listitem> - <para> - Overwrite existing keys, by default true - </para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - - <refsect1 role="returnvalues"> - &reftitle.returnvalues; - <para> - A boolean indication of success - </para> - </refsect1> - - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>Merging into the property table of a threaded object</title> - <programlisting role="php"> -<![CDATA[ -<?php -$array = []; - -while (count($array) < 10) - $array[] = count($array); - -$stdClass = new stdClass(); -$stdClass->foo = "foo"; -$stdClass->bar = "bar"; -$stdClass->baz = "baz"; - -$safe = new Threaded(); -$safe->merge($array); -$safe->merge($stdClass); - -var_dump($safe); -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -object(Threaded)#2 (13) { - ["0"]=> - int(0) - ["1"]=> - int(1) - ["2"]=> - int(2) - ["3"]=> - int(3) - ["4"]=> - int(4) - ["5"]=> - int(5) - ["6"]=> - int(6) - ["7"]=> - int(7) - ["8"]=> - int(8) - ["9"]=> - int(9) - ["foo"]=> - string(3) "foo" - ["bar"]=> - string(3) "bar" - ["baz"]=> - string(3) "baz" -} -]]> - </screen> - </example> - </para> - </refsect1> -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:1 -sgml-indent-data:t -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"~/.phpdoc/manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 334955 $ --> + +<refentry xml:id="threaded.merge" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>Threaded::merge</refname> + <refpurpose>Manipulation</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <modifier>public</modifier> <type>boolean</type><methodname>Threaded::merge</methodname> + <methodparam><type>mixed</type><parameter>from</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>overwrite</parameter></methodparam> + </methodsynopsis> + <para> + Merges data into the current object + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <variablelist> + <varlistentry> + <term><parameter>from</parameter></term> + <listitem> + <para> + The data to merge + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>overwrite</parameter></term> + <listitem> + <para> + Overwrite existing keys, by default true + </para> + </listitem> + </varlistentry> + </variablelist> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + A boolean indication of success + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Merging into the property table of a threaded object</title> + <programlisting role="php"> +<![CDATA[ +<?php +$array = []; + +while (count($array) < 10) + $array[] = count($array); + +$stdClass = new stdClass(); +$stdClass->foo = "foo"; +$stdClass->bar = "bar"; +$stdClass->baz = "baz"; + +$safe = new Threaded(); +$safe->merge($array); +$safe->foo = "bar"; +$safe->merge($stdClass, false); + +var_dump($safe); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +object(Threaded)#2 (13) { + ["0"]=> + int(0) + ["1"]=> + int(1) + ["2"]=> + int(2) + ["3"]=> + int(3) + ["4"]=> + int(4) + ["5"]=> + int(5) + ["6"]=> + int(6) + ["7"]=> + int(7) + ["8"]=> + int(8) + ["9"]=> + int(9) + ["foo"]=> + string(3) "bar" + ["bar"]=> + string(3) "bar" + ["baz"]=> + string(3) "baz" +} +]]> + </screen> + </example> + </para> + </refsect1> +</refentry> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59207 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59207 ------------------------------------------------------------------ Modified: en/reference/imagick/imagickdraw/pathcurvetoquadraticbeziersmoothabsolute.xml By: anonymous on 2014-12-07 11:04:33 =================================================================== --- en/reference/imagick/imagickdraw/pathcurvetoquadraticbeziersmoothabsolute.xml +++ en/reference/imagick/imagickdraw/pathcurvetoquadraticbeziersmoothabsolute.xml @@ -5,7 +5,7 @@ <refname>ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute</refname> <refpurpose>Draws a quadratic Bezier curve</refpurpose> </refnamediv> - + <refsect1 role="description"> &reftitle.description; <methodsynopsis> @@ -13,7 +13,7 @@ <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> Draws a quadratic Bezier curve (using absolute coordinates) from the current point to (x,y). The control point is assumed to be the reflection @@ -26,8 +26,12 @@ coincident with the current point.). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier. </para> + + <para> + This function cannot be used to continue a cubic Bezier curve smoothly. It can only continue from a quadratic curve smoothly. + </para> </refsect1> - + <refsect1 role="parameters"> &reftitle.parameters; <para> @@ -50,7 +54,7 @@ </varlistentry> </variablelist> </para> - + </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; @@ -58,7 +62,65 @@ &return.void; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>ImagickDraw::pathCurveToQuadraticBezierSmoothAbsolute</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$draw = new ImagickDraw(); + +$draw->setStrokeOpacity(1); +$draw->setStrokeColor("black"); +$draw->setFillColor("blue"); + +$draw->setStrokeWidth(2); +$draw->setFontSize(72); + +$draw->pathStart(); +$draw->pathMoveToAbsolute(50,250); +// This specifies a quadratic bezier curve with the current position as the start +// point, the control point is the first two params, and the end point is the last two params. +$draw->pathCurveToQuadraticBezierAbsolute( + 150,50, + 250,250 +); + +// This specifies a quadratic bezier curve with the current position as the start +// point, the control point is mirrored from the previous curves control point +// and the end point is defined by the x, y values. +$draw->pathCurveToQuadraticBezierSmoothAbsolute( + 450,250 +); + +// This specifies a quadratic bezier curve with the current position as the start +// point, the control point is mirrored from the previous curves control point +// and the end point is defined relative from the current position by the x, y values. +$draw->pathCurveToQuadraticBezierSmoothRelative( + 200,-100 +); + +$draw->pathFinish(); + +$imagick = new Imagick(); +$imagick->newImage(700, 500, $backgroundColor); +$imagick->setImageFormat("png"); + +$imagick->drawImage($draw); + +header("Content-Type: image/png"); +echo $imagick->getImageBlob(); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59276 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59276 ------------------------------------------------------------------ Modified: en/reference/imagick/imagickdraw/pathcurvetoquadraticbeziersmoothrelative.xml By: anonymous on 2014-12-07 11:06:43 =================================================================== --- en/reference/imagick/imagickdraw/pathcurvetoquadraticbeziersmoothrelative.xml +++ en/reference/imagick/imagickdraw/pathcurvetoquadraticbeziersmoothrelative.xml @@ -27,6 +27,10 @@ current point becomes the final (x, y) coordinate pair used in the polybezier. </para> + + <para> + This function cannot be used to continue a cubic Bezier curve smoothly. It can only continue from a quadratic curve smoothly. + </para> </refsect1> <refsect1 role="parameters"> @@ -59,6 +63,64 @@ &return.void; </para> </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>ImagickDraw::pathCurveToQuadraticBezierSmoothRelative</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$draw = new ImagickDraw(); + +$draw->setStrokeOpacity(1); +$draw->setStrokeColor("black"); +$draw->setFillColor("blue"); + +$draw->setStrokeWidth(2); +$draw->setFontSize(72); + +$draw->pathStart(); +$draw->pathMoveToAbsolute(50,250); + +// This specifies a quadratic bezier curve with the current position as the start +// point, the control point is the first two params, and the end point is the last two params. +$draw->pathCurveToQuadraticBezierAbsolute( + 150,50, + 250,250 +); + +// This specifies a quadratic bezier curve with the current position as the start +// point, the control point is mirrored from the previous curves control point +// and the end point is defined by the x, y values. +$draw->pathCurveToQuadraticBezierSmoothAbsolute( + 450,250 +); + +// This specifies a quadratic bezier curve with the current position as the start +// point, the control point is mirrored from the previous curves control point +// and the end point is defined relative from the current position by the x, y values. +$draw->pathCurveToQuadraticBezierSmoothRelative( + 200,-100 +); + +$draw->pathFinish(); + +$imagick = new Imagick(); +$imagick->newImage(700, 500, $backgroundColor); +$imagick->setImageFormat("png"); + +$imagick->drawImage($draw); + +header("Content-Type: image/png"); +echo $imagick->getImageBlob(); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> </refentry> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59278 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59278 ------------------------------------------------------------------ Modified: en/language/predefined/variables/post.xml By: anonymous on 2014-12-10 04:19:32 =================================================================== --- en/language/predefined/variables/post.xml +++ en/language/predefined/variables/post.xml @@ -12,7 +12,8 @@ &reftitle.description; <para> An associative array of variables passed to the current script - via the HTTP POST method. + via the HTTP POST method when using <varname>application/x-www-form-urlencoded</varname> + or <varname>multipart/form-data</varname> as the HTTP Content-Type in the request. </para> <simpara> @@ -79,7 +80,7 @@ &reftitle.notes; &note.is-superglobal; </refsect1> - + <refsect1 role="seealso"> &reftitle.seealso; <para> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59314 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59314 ------------------------------------------------------------------ Modified: en/reference/mbstring/supported-encodings.xml By: hayk on 2014-12-24 09:42:39 =================================================================== --- en/reference/mbstring/supported-encodings.xml +++ en/reference/mbstring/supported-encodings.xml @@ -88,6 +88,7 @@ <listitem><simpara>Windows-1252 (CP1252)</simpara></listitem> <listitem><simpara>CP866 (IBM866)</simpara></listitem> <listitem><simpara>KOI8-R*</simpara></listitem> + <listitem><simpara>ArmSCII-8 (ArmSCII8)</simpara></listitem> </itemizedlist> <para> * denotes encodings usable also in regular expressions. => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59553 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59553 ------------------------------------------------------------------ Modified: en/appendices/debugger.xml By: Aakarsh Agg on 2015-01-01 10:29:52 =================================================================== --- en/appendices/debugger.xml +++ en/appendices/debugger.xml @@ -6,7 +6,8 @@ <sect1 xml:id="debugger-about"> <title>About debugging in PHP</title> <simpara> - PHP does not have an internal debugging facility. + PHP 5.6 is shipped with the <link xlink:href="http://docs.php.net/manual/en/migration56.new-features.php#migration56.new-features.phpdbg">phpdbg interactive debugger</link>. + PHP versions below 5.6 do not have an internal debugging facility though. You can use one of the external debuggers though. The <link xlink:href="&url.zend.ide;">Zend IDE</link> includes a debugger, and there are also some free debugger extensions => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59917 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59917 ------------------------------------------------------------------ Modified: en/reference/xsl/xsltprocessor/importstylesheet.xml By: Tom Klingenberg on 2015-01-04 06:40:43 =================================================================== --- en/reference/xsl/xsltprocessor/importstylesheet.xml +++ en/reference/xsl/xsltprocessor/importstylesheet.xml @@ -8,7 +8,8 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>void</type><methodname>XSLTProcessor::importStylesheet</methodname> + <modifier>public</modifier> + <type>bool</type><methodname>XSLTProcessor::importStylesheet</methodname> <methodparam><type>object</type><parameter>stylesheet</parameter></methodparam> </methodsynopsis> <para> @@ -35,7 +36,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.void; + &return.success; </para> </refsect1> <refsect1 role="changelog"> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59943 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59943 ------------------------------------------------------------------ Modified: en/reference/curl/functions/curl-setopt.xml By: Christoph M. Becker on 2015-01-08 15:16:29 =================================================================== --- en/reference/curl/functions/curl-setopt.xml +++ en/reference/curl/functions/curl-setopt.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 335709 $ --> +<!-- $Revision: 335082 $ --> <refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>curl_setopt</refname> @@ -620,18 +620,6 @@ </entry> </row> <row> - <entry valign="top"><constant>CURLOPT_POSTREDIR</constant></entry> - <entry valign="top"> - A bitmask of 1 (301 Moved Permanently), 2 (302 Found) - and 4 (303 See Other) if the HTTP POST method should be maintained - when <constant>CURLOPT_FOLLOWLOCATION</constant> is set and a - specific type of redirect occurs. - </entry> - <entry valign="top"> - Added in cURL 7.19.1. Available since PHP 5.3.2. - </entry> - </row> - <row> <entry valign="top"><constant>CURLOPT_PROTOCOLS</constant></entry> <entry valign="top"> <para> @@ -1481,7 +1469,7 @@ <row> <entry>5.6.0</entry> <entry> - <constant>CURL_SAFE_UPLOAD</constant> is now &true; by default. + <constant>CURLOPT_SAFE_UPLOAD</constant> is now &true; by default. </entry> </row> <row> @@ -1498,6 +1486,12 @@ </entry> </row> <row> + <entry>5.5.0</entry> + <entry> + Introduced <constant>CURLOPT_SAFE_UPLOAD</constant>. + </entry> + </row> + <row> <entry>5.5.0</entry> <entry> Introduced <constant>CURLOPT_SHARE</constant>. => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=59979 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=59979 ------------------------------------------------------------------ -- https://edit.php.net/ This email is send automatically by the Php Docbook Online Editor.

« previous php.doc (#969385330) next »