<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.var.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.is-null.php',
    1 => 'is_null',
    2 => 'Verifica se la variabile &egrave; di tipo null',
  ),
  'up' => 
  array (
    0 => 'ref.var.php',
    1 => 'Variable handling Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.is-long.php',
    1 => 'is_long',
  ),
  'next' => 
  array (
    0 => 'function.is-numeric.php',
    1 => 'is_numeric',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'it',
    'path' => 'reference/var/functions/is-null.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.is-null" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">is_null</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.0.4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">is_null</span> &mdash; <span class="dc-title">
   Verifica se la variabile è di tipo <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.is-null-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>is_null</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.mixed.php" class="type mixed">mixed</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Verifica che la variabile data sia di tipo <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong>
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.is-null-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">value</code></dt>
     <dd>
      <p class="para">
       La variabile da valutare.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.is-null-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> se <code class="parameter">value</code> è di tipo <span class="type"><a href="language.types.null.php" class="type null">null</a></span>,
   <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso contrario.
  </p>
 </div>

 <div class="refsect1 examples" id="refsect1-function.is-null-examples">
  <h3 class="title">Esempi</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Example #1 Esempio di <span class="function"><strong>is_null()</strong></span></strong></p>
    <div class="example-contents">
<div class="annotation-interactive phpcode"><code><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br /><br />error_reporting</span><span style="color: #007700">(</span><span style="color: #0000BB">E_ALL</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">$foo </span><span style="color: #007700">= </span><span style="color: #0000BB">NULL</span><span style="color: #007700">;<br /></span><span style="color: #0000BB">var_dump</span><span style="color: #007700">(</span><span style="color: #0000BB">is_null</span><span style="color: #007700">(</span><span style="color: #0000BB">$inexistent</span><span style="color: #007700">), </span><span style="color: #0000BB">is_null</span><span style="color: #007700">(</span><span style="color: #0000BB">$foo</span><span style="color: #007700">));<br /><br /></span><span style="color: #0000BB">?&gt;</span></span></code></div>
    </div>

    <div class="example-contents screen">
<div class="annotation-interactive examplescode"><pre class="examplescode">Notice: Undefined variable: inexistent in ...
bool(true)
bool(true)</pre>
</div>
    </div>
   </div>
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.is-null-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li>Il tipo <a href="language.types.null.php#language.types.null.syntax" class="link"><strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></a></li>
    <li><span class="function"><a href="function.isset.php" class="function" rel="rdfs-seeAlso">isset()</a> - Verifica se una variabile &egrave; definita e non &egrave; null</span></li>
    <li><span class="function"><a href="function.is-bool.php" class="function" rel="rdfs-seeAlso">is_bool()</a> - Verifica se una variabile &egrave; di tipo boolean</span></li>
    <li><span class="function"><a href="function.is-numeric.php" class="function" rel="rdfs-seeAlso">is_numeric()</a> - Verifica se una variabile &egrave; un numero o una stringa numerica</span></li>
    <li><span class="function"><a href="function.is-float.php" class="function" rel="rdfs-seeAlso">is_float()</a> - Verifica se una variabile &egrave; di tipo float (decimale a virgola mobile)</span></li>
    <li><span class="function"><a href="function.is-int.php" class="function" rel="rdfs-seeAlso">is_int()</a> - Verifica se una variabile &egrave; di tipo integer</span></li>
    <li><span class="function"><a href="function.is-string.php" class="function" rel="rdfs-seeAlso">is_string()</a> - Verifica se il tipo di una variabile sia stringa</span></li>
    <li><span class="function"><a href="function.is-object.php" class="function" rel="rdfs-seeAlso">is_object()</a> - Verifica se una variabile &egrave; un object</span></li>
    <li><span class="function"><a href="function.is-array.php" class="function" rel="rdfs-seeAlso">is_array()</a> - Verifica se una variabile &egrave; un array</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>