Updates to Tomato RAF including NGINX && PHP
[tomato.git] / release / src / router / php / ext / oci8 / tests / exec_fetch.phpt
blob52d515ffc4c6c799766cc84a67e27bba7ddd7a23
1 --TEST--
2 fetch after failed oci_execute()
3 --SKIPIF--
4 <?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
5 --FILE--
6 <?php
8 require dirname(__FILE__).'/connect.inc';
10 $sql = "select 2 from nonex_dual";
11 $stmt = oci_parse($c, $sql);
13 var_dump(oci_execute($stmt));
14 var_dump(oci_fetch_array($stmt));
16 echo "Done\n";
18 --EXPECTF--     
19 Warning: oci_execute(): ORA-00942: %s in %s on line %d
20 bool(false)
22 Warning: oci_fetch_array(): ORA-24374: %s in %s on line %d
23 bool(false)
24 Done