--TEST-- Bug #36403 (oci_execute no longer supports OCI_DESCRIBE_ONLY) --SKIPIF-- --FILE-- 0; $i--) { echo oci_field_name($s, $i) . "\n"; } echo "Test 2\n"; // Should generate an error: ORA-24338: statement handle not executed // since the statement handle was only described and not executed $row = oci_fetch_array($s); // Clean up //require(dirname(__FILE__).'/drop_table.inc'); $stmtarray = array( "drop table bug36403_tab" ); foreach ($stmtarray as $stmt) { $s = oci_parse($c, $stmt); oci_execute($s); } oci_close($c); ?> ===DONE=== --EXPECTF-- Test 1 COL4 COLUMN3 COL2 C1 Test 2 Warning: oci_fetch_array(): ORA-24338: %sbug36403.php on line %d ===DONE===