mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Changed literal to constant for NULL.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242987 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
afdb316652
commit
5232c5a551
1 changed files with 2 additions and 2 deletions
|
@ -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 @@ var_dump($bar);
|
|||
</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
|
||||
|
|
Loading…
Reference in a new issue