--TEST-- Prefetch with Nested cursors with INI setting. --INI-- oci8.default_prefetch=5 --SKIPIF-- (11\.2|12\.)/', $phpinfo); if ($iv == 1) { $sv = oci_server_version($c); $sv = preg_match('/Release (11\.2|12\.)/', $sv, $matches); if ($sv != 1) { die ("skip expected output only valid when using Oracle 11.2 or greater server"); } } else { die ("skip expected output only valid when using Oracle 11.2 or greater client"); } ?> --FILE-- --EXPECTF-- ----------------------------------------------- Test with Nested Cursors ----------------------------------------------- Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test0" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test1" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test2" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test3" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test4" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test5" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test6" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test7" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test8" } Fetch Row using Nested cursor Query array(1) { [0]=> %unicode|string%(%d) "test9" } Number of roundtrips made with prefetch count 5 for 10 rows is 3 Done