--TEST-- oci_fetch_all() - all combinations of flags --EXTENSIONS-- oci8 --SKIPIF-- --FILE-- --EXPECT-- None int(4) array(2) { ["ID"]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } ["VALUE"]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } OCI_ASSOC int(4) array(2) { ["ID"]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } ["VALUE"]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_COLUMN int(4) array(2) { ["ID"]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } ["VALUE"]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_COLUMN|OCI_ASSOC int(4) array(2) { ["ID"]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } ["VALUE"]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM int(4) array(2) { [0]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } [1]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM|OCI_ASSOC int(4) array(2) { [0]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } [1]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW int(4) array(4) { [0]=> array(2) { ["ID"]=> string(1) "1" ["VALUE"]=> string(2) "-1" } [1]=> array(2) { ["ID"]=> string(1) "2" ["VALUE"]=> string(2) "-2" } [2]=> array(2) { ["ID"]=> string(1) "3" ["VALUE"]=> string(2) "-3" } [3]=> array(2) { ["ID"]=> string(1) "4" ["VALUE"]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW|OCI_ASSOC int(4) array(4) { [0]=> array(2) { ["ID"]=> string(1) "1" ["VALUE"]=> string(2) "-1" } [1]=> array(2) { ["ID"]=> string(1) "2" ["VALUE"]=> string(2) "-2" } [2]=> array(2) { ["ID"]=> string(1) "3" ["VALUE"]=> string(2) "-3" } [3]=> array(2) { ["ID"]=> string(1) "4" ["VALUE"]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN int(4) array(4) { [0]=> array(2) { ["ID"]=> string(1) "1" ["VALUE"]=> string(2) "-1" } [1]=> array(2) { ["ID"]=> string(1) "2" ["VALUE"]=> string(2) "-2" } [2]=> array(2) { ["ID"]=> string(1) "3" ["VALUE"]=> string(2) "-3" } [3]=> array(2) { ["ID"]=> string(1) "4" ["VALUE"]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN|OCI_ASSOC int(4) array(4) { [0]=> array(2) { ["ID"]=> string(1) "1" ["VALUE"]=> string(2) "-1" } [1]=> array(2) { ["ID"]=> string(1) "2" ["VALUE"]=> string(2) "-2" } [2]=> array(2) { ["ID"]=> string(1) "3" ["VALUE"]=> string(2) "-3" } [3]=> array(2) { ["ID"]=> string(1) "4" ["VALUE"]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM int(4) array(4) { [0]=> array(2) { [0]=> string(1) "1" [1]=> string(2) "-1" } [1]=> array(2) { [0]=> string(1) "2" [1]=> string(2) "-2" } [2]=> array(2) { [0]=> string(1) "3" [1]=> string(2) "-3" } [3]=> array(2) { [0]=> string(1) "4" [1]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM|OCI_ASSOC int(4) array(4) { [0]=> array(2) { [0]=> string(1) "1" [1]=> string(2) "-1" } [1]=> array(2) { [0]=> string(1) "2" [1]=> string(2) "-2" } [2]=> array(2) { [0]=> string(1) "3" [1]=> string(2) "-3" } [3]=> array(2) { [0]=> string(1) "4" [1]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW|OCI_NUM int(4) array(4) { [0]=> array(2) { [0]=> string(1) "1" [1]=> string(2) "-1" } [1]=> array(2) { [0]=> string(1) "2" [1]=> string(2) "-2" } [2]=> array(2) { [0]=> string(1) "3" [1]=> string(2) "-3" } [3]=> array(2) { [0]=> string(1) "4" [1]=> string(2) "-4" } } OCI_FETCHSTATEMENT_BY_ROW|OCI_NUM|OCI_ASSOC int(4) array(4) { [0]=> array(2) { [0]=> string(1) "1" [1]=> string(2) "-1" } [1]=> array(2) { [0]=> string(1) "2" [1]=> string(2) "-2" } [2]=> array(2) { [0]=> string(1) "3" [1]=> string(2) "-3" } [3]=> array(2) { [0]=> string(1) "4" [1]=> string(2) "-4" } } OCI_NUM int(4) array(2) { [0]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } [1]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } OCI_NUM|OCI_ASSOC int(4) array(2) { [0]=> array(4) { [0]=> string(1) "1" [1]=> string(1) "2" [2]=> string(1) "3" [3]=> string(1) "4" } [1]=> array(4) { [0]=> string(2) "-1" [1]=> string(2) "-2" [2]=> string(2) "-3" [3]=> string(2) "-4" } } Done