--TEST-- oci_define_by_name tests with REF CURSORs --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require(dirname(__FILE__).'/skipif.inc'); ?> --FILE-- ===DONE=== --EXPECTF-- Test 1 - define last NULL Test 2 - define last with preset var string(0) "" Test 3 - define before cursor execute string(1) "1" Test 4 - define before top level execute string(1) "1" Test 5 - define before bind string(1) "1" Test 6 - fetch on wrong handle Warning: oci_fetch_row(): ORA-24374: %s in %sdefine6.php on line %d ===DONE===