mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
37 lines
2.1 KiB
HTML
37 lines
2.1 KiB
HTML
<!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>检查字段是否为 NULL</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><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, PHP 7, PECL OCI8 >= 1.1.0)</p><p class="refpurpose"><span class="refname">oci_field_is_null</span> — <span class="dc-title">检查字段是否为 <strong><code>NULL</code></strong></span></p>
|
||
|
||
</div>
|
||
<div class="refsect1 unknown-seealsp" id="refsect1-function.oci-field-is-null-unknown-seealsp">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<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>
|
||
) : <span class="type">bool</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
如果 <code class="parameter">statement</code> 语句结果中返回的
|
||
<code class="parameter">field</code> 字段的值是
|
||
<strong><code>NULL</code></strong>,<span class="function"><strong>oci_field_is_null()</strong></span> 返回
|
||
<strong><code>TRUE</code></strong>。<code class="parameter">field</code> 参数可以是字段的索引或字段名(大写字母)。
|
||
</p>
|
||
<blockquote class="note"><p><strong class="note">Note</strong>:
|
||
<p class="para">
|
||
在 PHP 5.0.0 之前的版本必须使用 <span class="function"><a href="ocicolumnisnull.html" class="function">ocicolumnisnull()</a></span>
|
||
替代本函数。该函数名仍然可用,为向下兼容作为
|
||
<span class="function"><strong>oci_field_is_null()</strong></span> 的别名。不过其已被废弃,不推荐使用。
|
||
</p>
|
||
</p></blockquote>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |