svn: /phpdoc/en/trunk/language/types/ null.xml

From: Date: Fri, 27 Jan 2012 16:09:45 +0000
Subject: svn: /phpdoc/en/trunk/language/types/ null.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-9502@lists.php.net to get a copy of this message
nikic Fri, 27 Jan 2012 16:09:45 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=322850 Log: Add "Casting to NULL" section back, this time with correct content. Changed paths: U phpdoc/en/trunk/language/types/null.xml Modified: phpdoc/en/trunk/language/types/null.xml =================================================================== --- phpdoc/en/trunk/language/types/null.xml 2012-01-27 15:46:29 UTC (rev 322849) +++ phpdoc/en/trunk/language/types/null.xml 2012-01-27 16:09:45 UTC (rev 322850) @@ -54,7 +54,18 @@ </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> <!-- Keep this comment at the end of the file

« previous php.doc.cvs (#9502) next »