1--TEST-- 2SELECTing NULL values 3--EXTENSIONS-- 4oci8 5--FILE-- 6<?php 7 8require __DIR__."/connect.inc"; 9 10$pc = oci_pconnect($user, $password, $dbase); 11 12$stmt = oci_parse($pc, "select NULL from dual"); 13oci_execute($stmt); 14var_dump(oci_fetch_array($stmt, OCI_RETURN_NULLS)); 15 16echo "Done\n"; 17?> 18--EXPECTF-- 19array(2) { 20 [0]=> 21 NULL 22 ["%r(NULL|EXP)%r"]=> 23 NULL 24} 25Done 26