<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Checks if the field is NULL</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-fetch.html">oci_fetch</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-field-name.html">oci_field_name</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.oci-field-is-null" class="refentry"> <div class="refnamediv"> <h1 class="refname">oci_field_is_null</h1> <p class="verinfo">(PHP 5, PECL OCI8 >= 1.1.0)</p><p class="refpurpose"><span class="refname">oci_field_is_null</span> — <span class="dc-title">Checks if the field is <strong><code>NULL</code></strong></span></p> </div> <div class="refsect1 description" id="refsect1-function.oci-field-is-null-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">bool</span> <span class="methodname"><strong>oci_field_is_null</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$statement</code></span> , <span class="methodparam"><span class="type"><a href="language.pseudo-types.html#language.types.mixed" class="type mixed">mixed</a></span> <code class="parameter">$field</code></span> )</div> <p class="para rdfs-comment"> Checks if the given <em><code class="parameter">field</code></em> from the <em><code class="parameter">statement</code></em> is <strong><code>NULL</code></strong>. </p> </div> <div class="refsect1 parameters" id="refsect1-function.oci-field-is-null-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">statement</code></em></span> <dd> <p class="para"> A valid OCI statement identifier. </p> </dd> </dt> <dt> <span class="term"><em><code class="parameter">field</code></em></span> <dd> <p class="para"> Can be a field's index or a field's name (uppercased). </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.oci-field-is-null-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> Returns <strong><code>TRUE</code></strong> if <em><code class="parameter">field</code></em> is <strong><code>NULL</code></strong>, <strong><code>FALSE</code></strong> otherwise. </p> </div> <div class="refsect1 notes" id="refsect1-function.oci-field-is-null-notes"> <h3 class="title">Notes</h3> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> In PHP versions before 5.0.0 you must use <span class="function"><a href="function.ocicolumnisnull.html" class="function">ocicolumnisnull()</a></span> instead. This name still can be used, it was left as alias of <span class="function"><strong>oci_field_is_null()</strong></span> for downwards compatability. This, however, is deprecated and not recommended. </p> </p></blockquote> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.oci-fetch.html">oci_fetch</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.oci-field-name.html">oci_field_name</a></div> <div class="up"><a href="ref.oci8.html">OCI8 Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>