--TEST-- Oracle Database 12c Implicit Result Sets: basic test --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require(dirname(__FILE__).'/skipif.inc'); preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); if (!(isset($matches[0]) && $matches[1] >= 12)) { die("skip expected output only valid when using Oracle Database 12c or greater"); } preg_match('/^[[:digit:]]+/', oci_client_version(), $matches); if (!(isset($matches[0]) && $matches[0] >= 12)) { die("skip works only with Oracle 12c or greater version of Oracle client libraries"); } ?> --FILE-- ===DONE=== --EXPECT-- Test 1 - prefetch 0 bool(true) array(2) { [0]=> string(1) "1" [1]=> string(5) "abcde" } array(2) { [0]=> string(1) "2" [1]=> string(5) "fghij" } array(2) { [0]=> string(1) "3" [1]=> string(5) "klmno" } array(1) { [0]=> string(1) "t" } array(1) { [0]=> string(1) "u" } array(1) { [0]=> string(1) "v" } Test 1 - prefetch 1 bool(true) array(2) { [0]=> string(1) "1" [1]=> string(5) "abcde" } array(2) { [0]=> string(1) "2" [1]=> string(5) "fghij" } array(2) { [0]=> string(1) "3" [1]=> string(5) "klmno" } array(1) { [0]=> string(1) "t" } array(1) { [0]=> string(1) "u" } array(1) { [0]=> string(1) "v" } Test 1 - prefetch 2 bool(true) array(2) { [0]=> string(1) "1" [1]=> string(5) "abcde" } array(2) { [0]=> string(1) "2" [1]=> string(5) "fghij" } array(2) { [0]=> string(1) "3" [1]=> string(5) "klmno" } array(1) { [0]=> string(1) "t" } array(1) { [0]=> string(1) "u" } array(1) { [0]=> string(1) "v" } ===DONE===