--TEST-- Bug #42841 (REF CURSOR and oci_new_cursor PHP crash) --SKIPIF-- true, 'timesten' => false); // test runs on these DBs require(__DIR__.'/skipif.inc'); ?> --INI-- oci8.statement_cache_size=20 --FILE-- --EXPECT-- Test bug 42841: Procedure with OUT cursor parameter First attempt array(3) { [0]=> array(1) { [11]=> string(2) "11" } [1]=> array(1) { [11]=> string(2) "12" } [2]=> array(1) { [11]=> string(2) "13" } } Second attempt array(3) { [0]=> array(1) { [11]=> string(2) "11" } [1]=> array(1) { [11]=> string(2) "12" } [2]=> array(1) { [11]=> string(2) "13" } } Test bug 43449: Cursor as function result array(1) { [0]=> array(1) { ["DUMMY"]=> string(1) "X" } } array(1) { [0]=> array(1) { ["DUMMY"]=> string(1) "X" } } Done