svn: /phpdoc/en/trunk/language/ operators.xml
| From: | André Luis Ferreira da Silva Bacci | Date: | Fri, 27 Nov 2015 14:17:57 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/ operators.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13865@lists.php.net to get a copy of this message | ||
ae Fri, 27 Nov 2015 14:17:57 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338187
Log:
Typo.
Changed paths:
U phpdoc/en/trunk/language/operators.xml
Modified: phpdoc/en/trunk/language/operators.xml
===================================================================
--- phpdoc/en/trunk/language/operators.xml 2015-11-27 09:18:36 UTC (rev 338186)
+++ phpdoc/en/trunk/language/operators.xml 2015-11-27 14:17:57 UTC (rev 338187)
@@ -1788,7 +1788,7 @@
PHP follows Perl's convention when dealing with arithmetic operations
on character variables and not C's. For example, in PHP and Perl
<literal>$a = 'Z'; $a++;</literal> turns
<literal>$a</literal> into <literal>'AA'</literal>, while in C
- <literal>a = 'Z'; a++;</literal> turns <literal>a</literal>
into <literal>'['</literal>
+ <literal>a = 'Z'; a++;</literal> turns <literal>$a</literal>
into <literal>'['</literal>
(ASCII value of <literal>'Z'</literal> is 90, ASCII value of
<literal>'['</literal> is 91).
Note that character variables can be incremented but not decremented and
even so only plain ASCII alphabets and digits (a-z, A-Z and 0-9) are supported.
@@ -2331,7 +2331,7 @@
$d = 'NotMyClass';
var_dump($a instanceof $d); // no fatal error here
?>
- ]]>
+]]>
</programlisting>
&example.outputs;
<screen>