mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add "Casting to NULL" section back, this time with correct content.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322850 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
ee7bb2a07b
commit
68c00dcb1a
1 changed files with 11 additions and 0 deletions
|
@ -54,6 +54,17 @@ $var = NULL;
|
|||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 xml:id="language.types.null.casting">
|
||||
<title>Casting to <literal>NULL</literal></title>
|
||||
|
||||
<para>
|
||||
Casting a variable to <type>null</type> using <literal>(unset) $var</literal>
|
||||
will <emphasis>not</emphasis> remove the variable or unset its value.
|
||||
It will only return a &null; value.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue