Contributions are ready for review

From: Date: Mon, 17 Jul 2017 12:00:03 +0000
Subject: Contributions are ready for review
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969386669@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 : ----------------------- New file: en/reference/swoole/configure.xml By: BAOKUN DOU on 2017-06-23 04:36:00 =================================================================== --- en/reference/swoole/configure.xml +++ en/reference/swoole/configure.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 295472 $ --> + +<section xml:id="swoole.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.install; + + <para> + &pecl.info; + <link xlink:href="&url.pecl.package;swoole">&url.pecl.package;swoole</link> + </para> +</section> + +<!-- 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=74293 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74293 ------------------------------------------------------------------ New file: en/reference/swoole/setup.xml By: BAOKUN DOU on 2017-06-23 04:36:41 =================================================================== --- en/reference/swoole/setup.xml +++ en/reference/swoole/setup.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 295472 $ --> + +<chapter xml:id="swoole.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="swoole.requirements"> + &reftitle.required; + &no.requirement; + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + &reference.swoole.configure; + <!-- }}} --> + + <!-- {{{ Configuration --> + <!-- &reference.swoole.ini; --> + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="swoole.resources"> + &reftitle.resources; + &no.resource; + </section> + <!-- }}} --> + +</chapter> + +<!-- 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=74294 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74294 ------------------------------------------------------------------ New file: en/reference/swoole/book.xml By: BAOKUN DOU on 2017-06-23 04:47:34 =================================================================== --- en/reference/swoole/book.xml +++ en/reference/swoole/book.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 295472 $ --> + +<book xml:id="book.swoole" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>Swoole</title> + + <!-- {{{ preface --> + <preface xml:id="intro.swoole"> + &reftitle.intro; + <para> + Swoole is an high-performance network communication framework uses an event-driven, asynchronous, non-blocking I/O odel makes it scalable and efficient. It is written in C language without 3rd party libraries. + </para> + &note.no-windows.extension; + </preface> + <!-- }}} --> + + &reference.swoole.setup; + <!-- &reference.swoole.constants; --> + <!-- &reference.swoole.reference; --> + +</book> + +<!-- 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=74292 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74292 ------------------------------------------------------------------ New file: en/reference/phpdbg/reference.xml By: Grummfy on 2017-07-06 14:40:49 =================================================================== --- en/reference/phpdbg/reference.xml +++ en/reference/phpdbg/reference.xml @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 295472 $ --> + +<reference xml:id="ref.extname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>PHPDbg &Functions;</title> + +<!-- Generally should not be used, only in rare cases where you find no other place for it. + <partintro> + <section xml:id="extname.foobar"> + &reftitle.foobar; + <para> + Some text here. + </para> + </section> + </partintro> +--> + + &reference.phpdbg.entities.functions; + +</reference> + +<!-- 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=74455 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74455 ------------------------------------------------------------------ New file: en/reference/phpdbg/book.xml By: Grummfy on 2017-07-06 14:46:58 =================================================================== --- en/reference/phpdbg/book.xml +++ en/reference/phpdbg/book.xml @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 295472 $ --> + +<book xml:id="book.extname" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>PHPDbg</title> + <titleabbrev>PHPDbg</titleabbrev> + + <!-- {{{ preface --> + <preface xml:id="intro.extname"> + &reftitle.intro; + <para> + Implemented as a SAPI module, phpdbg can exert complete control over the environment without impacting the functionality or performance of your code. + </para> + </preface> + <!-- }}} --> + + &reference.phpdbg.setup; + &reference.phpdbg.cli; + &reference.phpdbg.reference; + +</book> + +<!-- 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=74454 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74454 ------------------------------------------------------------------ New file: en/reference/phpdbg/setup.xml By: Grummfy on 2017-07-06 14:47:12 =================================================================== --- en/reference/phpdbg/setup.xml +++ en/reference/phpdbg/setup.xml @@ -0,0 +1,59 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 295472 $ --> + +<chapter xml:id="phpdbg.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="phpdbg.requirements"> + &reftitle.required; + &no.requirement; + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + <section xml:id="phpdbg.installation"> + &reftitle.install; + &no.install; + </section> + <!-- or &reference.phpdbg.entities.configure; --> + <!-- }}} --> + + <!-- {{{ Configuration --> + <section xml:id="phpdbg.configuration"> + &reftitle.runtime; + &no.config; + </section> + <!-- or &reference.phpdbg.entities.ini; --> + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="phpdbg.resources"> + &reftitle.resources; + &no.resource; + </section> + <!-- }}} --> + +</chapter> + +<!-- 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=74456 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74456 ------------------------------------------------------------------ New file: en/reference/phpdbg/functions/phpdbg-start-oplog.xml By: Grummfy on 2017-07-06 15:13:23 =================================================================== --- en/reference/phpdbg/functions/phpdbg-start-oplog.xml +++ en/reference/phpdbg/functions/phpdbg-start-oplog.xml @@ -0,0 +1,46 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 299488 $ --> + +<refentry xml:id="function.phpdbg-start-oplog" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>phpdbg_start_oplog</refname> + <refpurpose>Start registring code coverage</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>phpdbg_start_oplog</methodname> + <void/> + </methodsynopsis> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + No return value. + </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=74458 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74458 ------------------------------------------------------------------ Modified: en/reference/mcrypt/constants.xml By: leigh on 2017-01-11 07:16:44 =================================================================== --- en/reference/mcrypt/constants.xml +++ en/reference/mcrypt/constants.xml @@ -16,40 +16,40 @@ <listitem> <simpara> <constant>MCRYPT_MODE_ECB</constant> (<literal>electronic - codebook</literal>) is suitable for random data, - such as encrypting other keys. Since data there is short and random, - the disadvantages of ECB have a favorable negative effect. + codebook</literal>) is a block cipher mode that is generally + unsuitable for most purposes. The use of this mode is not recommended. </simpara> </listitem> <listitem> <simpara> <constant>MCRYPT_MODE_CBC</constant> (<literal>cipher block - chaining</literal>) is especially suitable for - encrypting files where the security is increased over <literal>ECB</literal> - significantly. + chaining</literal>) is a block cipher mode that is significantly + more secure than <literal>ECB</literal> mode. </simpara> </listitem> <listitem> <simpara> <constant>MCRYPT_MODE_CFB</constant> (<literal>cipher - feedback</literal>) is the best mode for encrypting byte - streams where single bytes must be encrypted. + feedback, in 8-bit mode</literal>) is a stream cipher mode. + It is recommended to use <literal>NCFB</literal> mode rather + than <literal>CFB</literal> mode. </simpara> </listitem> <listitem> <simpara> <constant>MCRYPT_MODE_OFB</constant> (<literal>output feedback, in - 8bit</literal>) is comparable to <literal>CFB</literal>, but + 8-bit mode</literal>) is a stream cipher mode comparable to <literal>CFB</literal>, but can be used in applications where error propagation cannot - be tolerated. It's insecure (because it operates in 8bit - mode) so it is not recommended to use it. + be tolerated. + It is recommended to use <literal>NOFB</literal> mode rather + than <literal>OFB</literal> mode. </simpara> </listitem> <listitem> <simpara> <constant>MCRYPT_MODE_NOFB</constant> (<literal>output feedback, - in nbit</literal>) is comparable to OFB, but - more secure because it operates on the block size of the algorithm. + in n-bit mode</literal>) is comparable to <literal>OFB</literal> mode, + but operates on the full block size of the algorithm. </simpara> </listitem> <listitem> @@ -60,6 +60,25 @@ </listitem> </itemizedlist> </para> + + <para> + Mcrypt supports some other modes of operation for which there are no predefined constants. + They can be utilised by passing a string in place of the missing constants. + <itemizedlist> + <listitem> + <simpara> + <constant>"ctr"</constant> (<literal>counter mode</literal>) is a stream cipher mode. + </simpara> + </listitem> + <listitem> + <simpara> + <constant>"ncfb"</constant> (<literal>cipher feedback, + in n-bit mode</literal>) is comparable to <literal>CFB</literal> mode, + but operates on the full block size of the algorithm. + </simpara> + </listitem> + </itemizedlist> + </para> <para> Some other mode and random device constants: => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=71828 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=71828 ------------------------------------------------------------------ Modified: en/reference/win32service/functions/win32-get-last-control-message.xml By: Jean-Baptiste Nahan on 2017-03-25 06:23:33 =================================================================== --- en/reference/win32service/functions/win32-get-last-control-message.xml +++ en/reference/win32service/functions/win32-get-last-control-message.xml @@ -33,6 +33,15 @@ </para> </refsect1> +<refsect1 role="notes"> +&reftitle.notes; +<caution> +<para> +Since version 0.2.0, this function work only in "cli" SAPI. On other SAPI the function is disabled. +</para> +</caution> +</refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=73075 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=73075 ------------------------------------------------------------------ Modified: en/reference/win32service/functions/win32-set-service-status.xml By: Jean-Baptiste Nahan on 2017-03-25 06:23:46 =================================================================== --- en/reference/win32service/functions/win32-set-service-status.xml +++ en/reference/win32service/functions/win32-set-service-status.xml @@ -67,6 +67,15 @@ </para> </refsect1> +<refsect1 role="notes"> +&reftitle.notes; +<caution> +<para> +Since version 0.2.0, this function work only in "cli" SAPI. On other SAPI the function is disabled. +</para> +</caution> +</refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=73074 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=73074 ------------------------------------------------------------------ Modified: en/reference/win32service/functions/win32-start-service-ctrl-dispatcher.xml By: Jean-Baptiste Nahan on 2017-03-25 06:23:59 =================================================================== --- en/reference/win32service/functions/win32-start-service-ctrl-dispatcher.xml +++ en/reference/win32service/functions/win32-start-service-ctrl-dispatcher.xml @@ -90,6 +90,15 @@ </para> </refsect1> +<refsect1 role="notes"> +&reftitle.notes; +<caution> +<para> +Since version 0.2.0, this function work only in "cli" SAPI. On other SAPI the function is disabled. +</para> +</caution> +</refsect1> + <refsect1 role="seealso"> &reftitle.seealso; <para> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=73073 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=73073 ------------------------------------------------------------------ Modified: en/reference/openssl/functions/openssl-pkcs12-export.xml By: jelle van der Waa on 2017-05-10 02:12:23 =================================================================== --- en/reference/openssl/functions/openssl-pkcs12-export.xml +++ en/reference/openssl/functions/openssl-pkcs12-export.xml @@ -56,6 +56,8 @@ <term><parameter>args</parameter></term> <listitem> <para> + Optional Array, provide an key "extracerts" with as value an array of extra certificates or a single certificate to be included in the PKCS#12 file. + Provide an key "friendlyname" with as value an string to be used for the supplied certificate and key. </para> </listitem> </varlistentry> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=73938 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=73938 ------------------------------------------------------------------ Modified: en/reference/spl/splfixedarray/setsize.xml By: Jordi Domènech on 2017-06-21 15:13:16 =================================================================== --- en/reference/spl/splfixedarray/setsize.xml +++ en/reference/spl/splfixedarray/setsize.xml @@ -9,7 +9,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>public</modifier> <type>int</type><methodname>SplFixedArray::setSize</methodname> + <modifier>public</modifier> <type>bool</type><methodname>SplFixedArray::setSize</methodname> <methodparam><type>int</type><parameter>size</parameter></methodparam> </methodsynopsis> <para> @@ -39,7 +39,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.void; + &return.success; </para> </refsect1> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74279 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74279 ------------------------------------------------------------------ Modified: en/reference/session/sessionhandler.xml By: Jordi Domènech on 2017-06-24 08:09:16 =================================================================== --- en/reference/session/sessionhandler.xml +++ en/reference/session/sessionhandler.xml @@ -32,7 +32,7 @@ <function>session_set_save_handler</function> it will wrap the current save handlers. A class extending from <classname>SessionHandler</classname> allows you to override the methods or intercept or filter them by calls the parent class methods which ultimately wrap - the interal PHP session handlers. + the internal PHP session handlers. </para> <para> This allows you, for example, to intercept the <parameter>read</parameter> and <parameter>write</parameter> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74296 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74296 ------------------------------------------------------------------ Modified: en/reference/reflection/versions.xml By: anonymous on 2017-07-02 12:18:47 =================================================================== --- en/reference/reflection/versions.xml +++ en/reference/reflection/versions.xml @@ -24,32 +24,32 @@ <function name="reflector::__tostring" from="PHP 5, PHP 7"/> <function name="reflector::export" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::__clone" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::__tostring" from="PHP 5, PHP 7"/> + <function name="reflectionfunctionabstract" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::__clone" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::__tostring" from="PHP 5 &gt;= 5.2.0, PHP 7"/> <function name="reflectionfunctionabstract::innamespace" from="PHP 5 &gt;= 5.3.0, PHP 7"/> <function name="reflectionfunctionabstract::isclosure" from="PHP 5 &gt;= 5.3.0, PHP 7"/> - <function name="reflectionfunctionabstract::isdeprecated" from="PHP 5, PHP 7"/> + <function name="reflectionfunctionabstract::isdeprecated" from="PHP 5 &gt;= 5.2.0, PHP 7"/> <function name="reflectionfunctionabstract::isgenerator" from="PHP 5 &gt;= 5.5.0, PHP 7"/> - <function name="reflectionfunctionabstract::isinternal" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::isuserdefined" from="PHP 5, PHP 7"/> + <function name="reflectionfunctionabstract::isinternal" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::isuserdefined" from="PHP 5 &gt;= 5.2.0, PHP 7"/> <function name="reflectionfunctionabstract::isvariadic" from="PHP 5 &gt;= 5.6.0, PHP 7"/> <function name="reflectionfunctionabstract::getclosurescopeclass" from="PHP &gt;= 5.4.0"/> <function name="reflectionfunctionabstract::getclosurethis" from="PHP &gt;= 5.4.0"/> <function name="reflectionfunctionabstract::getdoccomment" from="PHP 5 &gt;= 5.1.0, PHP 7"/> - <function name="reflectionfunctionabstract::getendline" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::getextension" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::getextensionname" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::getfilename" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::getname" from="PHP 5, PHP 7"/> + <function name="reflectionfunctionabstract::getendline" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::getextension" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::getextensionname" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::getfilename" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::getname" from="PHP 5 &gt;= 5.2.0, PHP 7"/> <function name="reflectionfunctionabstract::getnamespacename" from="PHP 5 &gt;= 5.3.0, PHP 7"/> <function name="reflectionfunctionabstract::getnumberofparameters" from="PHP 5 &gt;= 5.0.3, PHP 7"/> <function name="reflectionfunctionabstract::getnumberofrequiredparameters" from="PHP 5 &gt;= 5.0.3, PHP 7"/> - <function name="reflectionfunctionabstract::getparameters" from="PHP 5, PHP 7"/> + <function name="reflectionfunctionabstract::getparameters" from="PHP 5 &gt;= 5.2.0, PHP 7"/> <function name="reflectionfunctionabstract::getshortname" from="PHP 5 &gt;= 5.3.0, PHP 7"/> - <function name="reflectionfunctionabstract::getstartline" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::getstaticvariables" from="PHP 5, PHP 7"/> - <function name="reflectionfunctionabstract::returnsreference" from="PHP 5, PHP 7"/> + <function name="reflectionfunctionabstract::getstartline" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::getstaticvariables" from="PHP 5 &gt;= 5.2.0, PHP 7"/> + <function name="reflectionfunctionabstract::returnsreference" from="PHP 5 &gt;= 5.2.0, PHP 7"/> <function name="reflectionfunctionabstract::hasreturntype" from="PHP 7"/> <function name="reflectionfunctionabstract::getreturntype" from="PHP 7"/> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74376 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74376 ------------------------------------------------------------------ Modified: en/reference/ibase/functions/ibase-delete-user.xml By: on 2017-07-07 04:09:46 =================================================================== --- en/reference/ibase/functions/ibase-delete-user.xml +++ en/reference/ibase/functions/ibase-delete-user.xml @@ -14,10 +14,32 @@ <methodparam><type>string</type><parameter>user_name</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; - </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>service_handle</parameter></term> + <listitem> + <para> + The handle on the database server service. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>user_name</parameter></term> + <listitem> + <para> + The login name of the user you want to delete from database. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74462 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74462 ------------------------------------------------------------------ Modified: en/reference/ibase/functions/ibase-add-user.xml By: on 2017-07-07 04:10:50 =================================================================== --- en/reference/ibase/functions/ibase-add-user.xml +++ en/reference/ibase/functions/ibase-add-user.xml @@ -17,7 +17,62 @@ <methodparam choice="opt"><type>string</type><parameter>middle_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>last_name</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>service_handle</parameter></term> + <listitem> + <para> + The handle on the database server service. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>user_name</parameter></term> + <listitem> + <para> + The login name of the new database user. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>password</parameter></term> + <listitem> + <para> + The user's password to use with the specified account. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>first_name</parameter></term> + <listitem> + <para> + The first name of the new database user. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>middle_name</parameter></term> + <listitem> + <para> + The middle name of the new database user. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>last_name</parameter></term> + <listitem> + <para> + The last name of the new database user. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> </refsect1> <refsect1 role="returnvalues"> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74461 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74461 ------------------------------------------------------------------ Modified: en/reference/ibase/functions/ibase-modify-user.xml By: on 2017-07-07 04:11:50 =================================================================== --- en/reference/ibase/functions/ibase-modify-user.xml +++ en/reference/ibase/functions/ibase-modify-user.xml @@ -17,9 +17,64 @@ <methodparam choice="opt"><type>string</type><parameter>middle_name</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>last_name</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>service_handle</parameter></term> + <listitem> + <para> + The handle on the database server service. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>user_name</parameter></term> + <listitem> + <para> + The login name of the database user to modify. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>password</parameter></term> + <listitem> + <para> + The user's new password. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>first_name</parameter></term> + <listitem> + <para> + The user's new first name. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>middle_name</parameter></term> + <listitem> + <para> + The user's new middle name. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>last_name</parameter></term> + <listitem> + <para> + The user's new last name. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74463 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74463 ------------------------------------------------------------------ Modified: en/reference/array/functions/current.xml By: anonymous on 2017-07-12 07:25:28 =================================================================== --- en/reference/array/functions/current.xml +++ en/reference/array/functions/current.xml @@ -9,7 +9,7 @@ &reftitle.description; <methodsynopsis> <type>mixed</type><methodname>current</methodname> - <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam> + <methodparam><type>array</type><parameter>array</parameter></methodparam> </methodsynopsis> <para> Every array has an internal pointer to its "current" element, @@ -43,6 +43,31 @@ </para> &return.falseproblem; </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>7.0.0</entry> + <entry> + <parameter>array</parameter> is now always passed by value. + Prior to this version, it was passed by reference if possible, + and by value otherwise. + </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=74501 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74501 ------------------------------------------------------------------ Modified: en/reference/array/functions/key.xml By: anonymous on 2017-07-12 07:25:30 =================================================================== --- en/reference/array/functions/key.xml +++ en/reference/array/functions/key.xml @@ -10,7 +10,7 @@ &reftitle.description; <methodsynopsis> <type>mixed</type><methodname>key</methodname> - <methodparam><type>array</type><parameter role="reference">array</parameter></methodparam> + <methodparam><type>array</type><parameter>array</parameter></methodparam> </methodsynopsis> <para> <function>key</function> returns the index element of the current array @@ -42,6 +42,31 @@ empty, <function>key</function> returns &null;. </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>7.0.0</entry> + <entry> + <parameter>array</parameter> is now always passed by value. + Prior to this version, it was passed by reference if possible, + and by value otherwise. + </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=74502 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74502 ------------------------------------------------------------------ Modified: en/reference/array/functions/array-walk.xml By: Stefan on 2017-07-15 10:19:51 =================================================================== --- en/reference/array/functions/array-walk.xml +++ en/reference/array/functions/array-walk.xml @@ -92,10 +92,11 @@ <refsect1 role="errors"> &reftitle.errors; <para> - If function <parameter>callback</parameter> requires more parameters than - given to it, an error of level <link linkend="errorfunc.constants"> - E_WARNING</link> will be generated each time <function>array_walk</function> - calls <parameter>callback</parameter>. + As of PHP 7.1, an <link linkend="errorfunc.constants">E_ERROR</link> will be thrown if the <parameter>callback</parameter> function + requires more than 2 parameters (the value and key of the array member). + Prior to PHP 7.1, if the <parameter>callback</parameter> function required more than 2 parameters, + an error of level <link linkend="errorfunc.constants">E_WARNING</link> would be generated each time + <function>array_walk</function> calls <parameter>callback</parameter>. </para> </refsect1> <refsect1 role="examples"> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74524 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74524 ------------------------------------------------------------------ Modified: en/reference/pgsql/functions/pg-convert.xml By: anonymous on 2017-07-15 17:18:38 =================================================================== --- en/reference/pgsql/functions/pg-convert.xml +++ en/reference/pgsql/functions/pg-convert.xml @@ -5,7 +5,7 @@ <refnamediv> <refname>pg_convert</refname> <refpurpose> - Convert associative array values into suitable for SQL statement + Convert associative array values into forms suitable for SQL statements </refpurpose> </refnamediv> @@ -31,15 +31,15 @@ </para> <note> <para> - Since PHP 5.6.0, it accepts boolean values. It converted to PostgreSQL - boolean. String representations of boolean value is also supported. &null; is + Since PHP 5.6.0, it accepts boolean values, converting them to PostgreSQL + booleans. String representations of boolean values are also supported. &null; is converted to PostgreSQL NULL. </para> <para> Prior to PHP 5.6.0, if there are boolean fields in <parameter>table_name</parameter> don't use the constant &true; in <parameter>assoc_array</parameter>. It will be - converted to the string 'TRUE' which is no valid entry for boolean fields - in PostgreSQL. Use one of t, true, 1, y, yes instead. + converted to the string 'TRUE' which is not a valid entry for boolean fields + in PostgreSQL. Use one of "t", "true", 1, "y", "yes" instead. </para> </note> </refsect1> @@ -133,7 +133,7 @@ <entry>5.6.0</entry> <entry> No longer experimental. Boolean/NULL data types are supported. Unknown/unsupported - data types are escaped without validation. <function>pg_convert</function> could + data types are escaped without validation. <function>pg_convert</function> can be used with any data types. </entry> </row> => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74525 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74525 ------------------------------------------------------------------ Modified: en/reference/strings/functions/print.xml By: Stefan on 2017-07-17 00:22:43 =================================================================== --- en/reference/strings/functions/print.xml +++ en/reference/strings/functions/print.xml @@ -10,7 +10,7 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>print</methodname> - <methodparam><type>string</type><parameter>arg</parameter></methodparam> + <methodparam><type>mixed</type><parameter>arg</parameter></methodparam> </methodsynopsis> <para> Outputs <parameter>arg</parameter>. @@ -40,6 +40,10 @@ </varlistentry> </variablelist> </para> + <para> + The parameters passed to <literal>print</literal> will be converted to strings before output. + If passing an object, its class must implement the <link linkend="object.tostring">__toString()</link> magic method. + </para> </refsect1> <refsect1 role="returnvalues"> @@ -48,6 +52,19 @@ Returns <literal>1</literal>, always. </para> </refsect1> + + <refsect1 role="errors"> + &reftitle.errors; + <para> + If an array is passed as an argument to <literal>print</literal>, an <link linkend="errorfunc.constants">E_NOTICE</link> + level error will be generated and the string <literal>Array</literal> will be output. + If an object from a class that doesn't implement the <link linkend="object.tostring">__toString()</link> magic method is passed, + an <link linkend="errorfunc.constants">E_RECOVERABLE_ERROR</link> will be generated. + If the <link linkend="object.tostring">__toString()</link> method of an object doesn't have public visibility, an + <link linkend="errorfunc.constants">E_WARNING</link> level error will be generated, but the return value of + <link linkend="object.tostring">__toString()</link> will still be output. + </para> + </refsect1> <refsect1 role="examples"> &reftitle.examples; => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74535 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74535 ------------------------------------------------------------------ Modified: en/reference/strings/functions/echo.xml By: Stefan on 2017-07-17 00:23:39 =================================================================== --- en/reference/strings/functions/echo.xml +++ en/reference/strings/functions/echo.xml @@ -10,8 +10,8 @@ &reftitle.description; <methodsynopsis> <type>void</type><methodname>echo</methodname> - <methodparam><type>string</type><parameter>arg1</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam> + <methodparam><type>mixed</type><parameter>arg1</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam> </methodsynopsis> <simpara> Outputs all parameters. No additional newline is appended. @@ -66,6 +66,10 @@ </varlistentry> </variablelist> </para> + <para> + The parameters passed to <literal>echo</literal> will be converted to strings before output. + If passing an object, its class must implement the <link linkend="object.tostring">__toString()</link> magic method. + </para> </refsect1> <refsect1 role="returnvalues"> @@ -74,6 +78,19 @@ &return.void; </para> </refsect1> + + <refsect1 role="errors"> + &reftitle.errors; + <para> + If an array is passed as an argument to <literal>echo</literal>, an <link linkend="errorfunc.constants">E_NOTICE</link> + level error will be generated and the string <literal>Array</literal> will be output. + If an object from a class that doesn't implement the <link linkend="object.tostring">__toString()</link> magic method is passed, + an <link linkend="errorfunc.constants">E_RECOVERABLE_ERROR</link> will be generated. + If the <link linkend="object.tostring">__toString()</link> method of an object doesn't have public visibility, an + <link linkend="errorfunc.constants">E_WARNING</link> level error will be generated, but the return value of + <link linkend="object.tostring">__toString()</link> will still be output. + </para> + </refsect1> <refsect1 role="examples"> &reftitle.examples; => Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=74534 => Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=74534 ------------------------------------------------------------------ -- https://edit.php.net/ This email is send automatically by the Php Docbook Online Editor.

« previous php.doc (#969386669) next »