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

From: Date: Sun, 26 Aug 2012 11:25:04 +0000
Subject: svn: /phpdoc/it/trunk/language/ types/null.xml
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-1388@lists.php.net to get a copy of this message
cucinato Sun, 26 Aug 2012 11:25:04 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=327286 Log: Sync with EN Changed paths: A phpdoc/it/trunk/language/types/ A phpdoc/it/trunk/language/types/null.xml Added: phpdoc/it/trunk/language/types/null.xml =================================================================== --- phpdoc/it/trunk/language/types/null.xml (rev 0) +++ phpdoc/it/trunk/language/types/null.xml 2012-08-26 11:25:04 UTC (rev 327286) @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- EN-Revision: 325207 Maintainer: cucinato Status: ready --> +<sect1 xml:id="language.types.null"> + <title>NULL</title> + + <para> + Il valore speciale &null; rappresenta una variable senza valore. &null; è il + solo valore possibile del tipo <type>NULL</type>. + </para> + + <para> + Una variabile è <type>null</type> se: + </para> + + <itemizedlist> + <listitem> + <para> + le è stato assegnata la costante &null;. + </para> + </listitem> + <listitem> + <para> + non le è stato ancora assegnato un valore. + </para> + </listitem> + <listitem> + <para> + è stata cancellata con la funzione <function>unset</function>. + </para> + </listitem> + </itemizedlist> + + <sect2 xml:id="language.types.null.syntax"> + <title>Syntax</title> + + <para> + Esiste solo un valore di tipo <type>null</type>, la costante + &null;, che è invariante, sia essa in maiuscolo o in minuscolo. + </para> + + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +$var = NULL; +?> +]]> + </programlisting> + </informalexample> + + <para> + Vedere anche le funzioni <function>is_null</function> e + <function>unset</function>. + </para> + + </sect2> + + <sect2 xml:id="language.types.null.casting"> + <title>Casting a <literal>NULL</literal></title> + + <para> + Effettuare il casting di una variabile a <type>null</type> usando <literal>(unset) $var</literal> + <emphasis>non</emphasis> rimuove la variabile, né cancella il valore. + Non fa altro che restituire un valore &null;. + </para> + + </sect2> + +</sect1> + +<!-- Keep this comment at the end of the file +Local variables: +mode: sgml +sgml-omittag:t +sgml-shorttag:t +sgml-minimize-attributes:nil +sgml-always-quote-attributes:t +sgml-indent-step:1 +sgml-indent-data:t +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"~/.phpdoc/manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Property changes on: phpdoc/it/trunk/language/types/null.xml ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + text/xml Added: svn-keywords + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL Added: svn:eol-style + native

« previous php.doc.it (#1388) next »