Contributions are ready for review
| From: | phpdoc at lists dot php dot net | Date: | Mon, 26 May 2014 12:00:03 +0000 |
| Subject: | Contributions are ready for review | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969384971@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/reference/intl/resourcebundle/create.xml
By: salathe on 2014-04-12 04:04:35
===================================================================
--- en/reference/intl/resourcebundle/create.xml
+++ en/reference/intl/resourcebundle/create.xml
@@ -83,7 +83,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns <classname>ResourceBundle</classname> object or &false; on error.
+ Returns <classname>ResourceBundle</classname> object or &null; on error.
</para>
</refsect1>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=53362
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=53362
------------------------------------------------------------------
Modified: en/reference/spl/filesystemiterator/current.xml
By: salathe on 2014-04-14 10:19:17
===================================================================
--- en/reference/spl/filesystemiterator/current.xml
+++ en/reference/spl/filesystemiterator/current.xml
@@ -43,7 +43,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$iterator = new FilesystemIterator(dirname(__FILE__), FilesystemIterator::CURRENT_AS_PATHNAME);
+$iterator = new FilesystemIterator(__DIR__, FilesystemIterator::CURRENT_AS_PATHNAME);
foreach ($iterator as $fileinfo) {
echo $iterator->current() . "n";
}
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=53377
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=53377
------------------------------------------------------------------
Modified: en/reference/spl/directoryiterator/current.xml
By: salathe on 2014-04-14 10:23:48
===================================================================
--- en/reference/spl/directoryiterator/current.xml
+++ en/reference/spl/directoryiterator/current.xml
@@ -41,7 +41,7 @@
<programlisting role="php">
<![CDATA[
<?php
-$iterator = new DirectoryIterator(dirname(__FILE__));
+$iterator = new DirectoryIterator(__DIR__);
while($iterator->valid()) {
$file = $iterator->current();
echo $iterator->key() . " => " . $file->getFilename() . "n";
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=53378
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=53378
------------------------------------------------------------------
Modified: en/reference/image/functions/image2wbmp.xml
By: salathe on 2014-04-17 11:26:32
===================================================================
--- en/reference/image/functions/image2wbmp.xml
+++ en/reference/image/functions/image2wbmp.xml
@@ -28,7 +28,7 @@
<listitem>
<para>
Path to the saved file. If not given, the raw image stream will be
- outputted directly.
+ output directly.
</para>
</listitem>
</varlistentry>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=53426
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=53426
------------------------------------------------------------------
Modified: en/reference/pcre/pattern.modifiers.xml
By: salathe on 2014-04-27 11:40:51
===================================================================
--- en/reference/pcre/pattern.modifiers.xml
+++ en/reference/pcre/pattern.modifiers.xml
@@ -251,10 +251,16 @@
<listitem>
<simpara>
This modifier turns on additional functionality of PCRE that
- is incompatible with Perl. Pattern strings are treated as
- UTF-8. This modifier is available from PHP 4.1.0 or greater
- on Unix and from PHP 4.2.3 on win32.
- UTF-8 validity of the pattern is checked since PHP 4.3.5.
+ is incompatible with Perl. Pattern and subject strings are
+ treated as UTF-8. This modifier is available from PHP 4.1.0
+ or greater on Unix and from PHP 4.2.3 on win32. UTF-8
+ validity of the pattern and the subject is checked since PHP
+ 4.3.5. An invalid subject will cause the preg_* function to
+ match nothing; an invalid pattern will trigger an error of
+ level E_WARNING. Five and six octet UTF-8 sequences are
+ regarded as invalid since PHP 5.3.4 (resp. PCRE 7.3
+ 2007-08-28); formerly those have been regarded as valid
+ UTF-8.
</simpara>
</listitem>
</varlistentry>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=53548
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=53548
------------------------------------------------------------------
Modified: en/reference/errorfunc/ini.xml
By: salathe on 2014-05-02 16:46:37
===================================================================
--- en/reference/errorfunc/ini.xml
+++ en/reference/errorfunc/ini.xml
@@ -226,7 +226,7 @@
<note>
<para>
Although display_errors may be set at runtime (with
<function>ini_set</function>),
- it won't have any affect if the script has fatal errors.
+ it won't have any effect if the script has fatal errors.
This is because the desired runtime action does not get executed.
</para>
</note>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=53584
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=53584
------------------------------------------------------------------
Modified: en/internals2/opcodes/sl.xml
By: salathe on 2014-05-21 10:23:50
===================================================================
--- en/internals2/opcodes/sl.xml
+++ en/internals2/opcodes/sl.xml
@@ -8,7 +8,7 @@
<![CDATA[
<?php
/*
- * Shift value1 by balue2 bits to left
+ * Shift bits of value1 to the left value2 steps (each step means "multiply by two")
* opcode number: 6
*/
echo 8 << 2;
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=54091
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=54091
------------------------------------------------------------------
Modified: en/internals2/opcodes/sr.xml
By: salathe on 2014-05-21 10:23:58
===================================================================
--- en/internals2/opcodes/sr.xml
+++ en/internals2/opcodes/sr.xml
@@ -8,7 +8,7 @@
<![CDATA[
<?php
/*
- * Shift bits to right
+ * Shift bits of value1 to the right value2 steps (each step means "divide by two")
* opcode number: 7
*/
echo 8 >> 2;
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=54092
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=54092
------------------------------------------------------------------
--
https://edit.php.net/
This email is send automatically by the Php Docbook Online Editor.