Contributions are ready for review
| From: | phpdoc at lists dot php dot net | Date: | Mon, 22 Jun 2015 12:00:03 +0000 |
| Subject: | Contributions are ready for review | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969385781@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/internals2/opcodes/add-interface.xml
By: Gennady Kovshenin on 2015-03-15 18:27:32
===================================================================
--- en/internals2/opcodes/add-interface.xml
+++ en/internals2/opcodes/add-interface.xml
@@ -8,11 +8,64 @@
<![CDATA[
<?php
/*
- *
+ * adds an implemented interface to a class declaration
* opcode number: 144
- * No sample PHP yet */
+ */
+interface iA {
+}
+
+class A implements iA {
+}
?>
]]>
</programlisting>
</section>
+ <section xml:id="internals2.opcodes.add-interface.listing">
+ <title>PHP opcodes</title>
+ <simpara>Function name: (null)</simpara>
+ <simpara>Compiled variables: none</simpara>
+ <informaltable>
+ <tgroup cols="7">
+ <thead>
+ <row>
+ <entry>line</entry><entry>#</entry><entry>op</entry>
+
<entry>fetch</entry><entry>ext</entry><entry>return</entry>
+ <entry>operands</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>6</entry><entry>0</entry>
+ <entry>NOP</entry><entry></entry>
+ <entry></entry><entry></entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry></entry><entry>1</entry>
+ <entry>DECLARE_CLASS</entry><entry></entry>
+ <entry></entry><entry></entry>
+ <entry>'a'</entry>
+ </row>
+ <row>
+ <entry></entry><entry>2</entry>
+ <entry>ADD_INTERFACE</entry><entry></entry>
+ <entry></entry><entry></entry>
+ <entry>'iA'</entry>
+ </row>
+ <row>
+ <entry></entry><entry>3</entry>
+ <entry>VERIFY_ABSTRACT_CLASS</entry><entry></entry>
+ <entry></entry><entry></entry>
+ <entry></entry>
+ </row>
+ <row>
+ <entry></entry><entry>3</entry>
+ <entry>RETURN</entry><entry></entry>
+ <entry></entry><entry></entry>
+ <entry>1</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </section>
</section>
No newline at end of file
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=60576
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=60576
------------------------------------------------------------------
Modified: en/internals2/opcodes/add-char.xml
By: Gennady Kovshenin on 2015-03-15 18:29:44
===================================================================
--- en/internals2/opcodes/add-char.xml
+++ en/internals2/opcodes/add-char.xml
@@ -8,10 +8,10 @@
<![CDATA[
<?php
/*
- * add character value2 to string value1 and store in result
+ * add regular characters in encapsed string
* opcode number: 54
*/
-echo "hello world";
+echo "$a ";
?>
]]>
</programlisting>
@@ -19,7 +19,7 @@
<section xml:id="internals2.opcodes.add-char.listing">
<title>PHP opcodes</title>
<simpara>Function name: (null)</simpara>
- <simpara>Compiled variables: none </simpara>
+ <simpara>Compiled variables: !0=$a</simpara>
<informaltable>
<tgroup cols="7">
<thead>
@@ -32,12 +32,24 @@
<tbody>
<row>
<entry>6</entry><entry>0</entry>
+ <entry>ADD_VAR</entry><entry></entry>
+ <entry></entry><entry></entry>
+ <entry>!0</entry>
+ </row>
+ <row>
+ <entry></entry><entry>1</entry>
+ <entry>ADD_CHAR</entry><entry></entry>
+ <entry></entry><entry></entry>
+ <entry>32</entry>
+ </row>
+ <row>
+ <entry></entry><entry>2</entry>
<entry>ECHO</entry><entry></entry>
<entry></entry><entry></entry>
- <entry>'hello%5C+world'</entry>
+ <entry> </entry>
</row>
<row>
- <entry>7</entry><entry>1</entry>
+ <entry></entry><entry>3</entry>
<entry>RETURN</entry><entry></entry>
<entry></entry><entry></entry>
<entry>1</entry>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=60575
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=60575
------------------------------------------------------------------
Modified: en/internals2/opcodes/cast.xml
By: Gennady Kovshenin on 2015-03-15 18:46:59
===================================================================
--- en/internals2/opcodes/cast.xml
+++ en/internals2/opcodes/cast.xml
@@ -8,7 +8,7 @@
<![CDATA[
<?php
/*
- * casts value1 as type value2 (?? Not certain about arguments ??)
+ * casts value1 as type value2 (type in extended_value)
* opcode number: 21
*/
echo (int)1;
@@ -39,7 +39,7 @@
<row>
<entry></entry><entry>1</entry>
<entry>ECHO</entry><entry></entry>
- <entry></entry><entry></entry>
+ <entry></entry><entry>1</entry>
<entry>~0</entry>
</row>
<row>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=60577
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=60577
------------------------------------------------------------------
Modified: en/install/windows/iis7.xml
By: Alan Farquharson on 2015-06-12 04:25:12
===================================================================
--- en/install/windows/iis7.xml
+++ en/install/windows/iis7.xml
@@ -196,7 +196,7 @@
<programlisting>
<![CDATA[
%windir%system32inetsrvappcmd set config /section:system.webServer/handlers ^
-/+[name='PHP_via_FastCGI',
path='*.php',verb='*',modules='FastCgiModule',^
+/+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',^
scriptProcessor='c:PHPphp-cgi.exe',resourceType='Either']
]]>
</programlisting>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=63079
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=63079
------------------------------------------------------------------
Modified: en/reference/misc/functions/eval.xml
By: Thomas Punt on 2015-06-15 07:02:58
===================================================================
--- en/reference/misc/functions/eval.xml
+++ en/reference/misc/functions/eval.xml
@@ -37,11 +37,11 @@
Valid PHP code to be evaluated.
</para>
<para>
- The code mustn't be wrapped in opening and closing
+ The code must not be wrapped in opening and closing
<link linkend="language.basic-syntax.phpmode">PHP tags</link>, i.e.
<literal>'echo "Hi!";'</literal> must be passed instead of
- <literal>'<? echo "Hi!"; >'</literal>. It is
still possible to leave and
- reenter PHP mode though using the appropriate PHP tags, e.g.
+ <literal>'<? echo "Hi!"; ?>'</literal>. It is
still possible to leave and
+ re-enter PHP mode though using the appropriate PHP tags, e.g.
<literal>'echo "In PHP mode!"; ?>In HTML mode!<? echo
"Back in PHP mode!";'</literal>.
</para>
<para>
@@ -114,7 +114,8 @@
&tip.ob-capture;
<note>
<para>
- In case of a fatal error in the evaluated code, the whole script exits.
+ In case of a fatal error in the evaluated code, the script being evaluated exits and
+ execution control returns back to the script calling <function>eval</function>.
</para>
</note>
</refsect1>
=> Put this change into your patches : https://edit.php.net/?project=php&action=putIntoMyPatches&idDB=26248
=> Delete this change: https://edit.php.net/?project=php&action=deleteThisChange&idDB=26248
------------------------------------------------------------------
--
https://edit.php.net/
This email is send automatically by the Php Docbook Online Editor.