cvs: phpdoc /en/appendices migration51.xml
| From: | Simion Onea | Date: | Thu, 27 Sep 2007 13:29:08 +0000 |
| Subject: | cvs: phpdoc /en/appendices migration51.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-65@lists.php.net to get a copy of this message | ||
simionea Thu Sep 27 13:29:08 2007 UTC
Modified files:
/phpdoc/en/appendices migration51.xml
Log:
Changed literal to constant for NULL.
http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/migration51.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/appendices/migration51.xml
diff -u phpdoc/en/appendices/migration51.xml:1.4 phpdoc/en/appendices/migration51.xml:1.5
--- phpdoc/en/appendices/migration51.xml:1.4 Thu Sep 27 13:16:10 2007
+++ phpdoc/en/appendices/migration51.xml Thu Sep 27 13:29:07 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<appendix xml:id="migration51" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Migrating from PHP 5.0.x to PHP 5.1.x</title>
@@ -244,7 +244,7 @@
</programlisting>
</informalexample>
<para>
- In PHP 5.0.3, <varname>$bar</varname> evaluated to
<literal>NULL</literal>
+ In PHP 5.0.3, <varname>$bar</varname> evaluated to
<constant>NULL</constant>
instead of returning an object. That happened because
<literal>getThis()</literal> returns by value, but the value here is
assigned by reference. Although it now works in the expected way, this is