--TEST-- fetching cursor from a statement --SKIPIF-- --ENV-- return " ORACLE_HOME=".(isset($_ENV['ORACLE_HOME']) ? $_ENV['ORACLE_HOME'] : '')." NLS_LANG=".(isset($_ENV['NLS_LANG']) ? $_ENV['NLS_LANG'] : '')." "; --FILE-- --EXPECTF-- array(2) { ["ID"]=> string(1) "1" ["VALUE"]=> string(1) "1" } bool(true) Warning: ocifetchinto():%sORA-01002: fetch out of sequence in %scursors_old.php on line %d array(2) { ["ID"]=> string(1) "1" ["VALUE"]=> string(1) "1" } bool(true) Done