Home > PHP > Function > OCI8 > oci_field_is_null()

oci_field_is_null()

oci_field_is_null - Checks if the field is

NULL

Syntax

bool oci_field_is_null (resource $statement, mixed $field)

Arguments

  • statement - A valid OCI statement identifier.
  • field - Can be a field\'s index or a field\'s name (uppercased).

Description

Checks if the given field from the statement is NULL.

Version

PHP 5, PECL OCI8 >= 1.1.0

Return value

Returns TRUE if field is NULL, FALSE otherwise.