--TEST-- Basic PL/SQL "BOOLEAN" (SQLT_BOL) bind test --SKIPIF-- = 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 bool(true) bool(false) Test 2 bool(true) Test 3 bool(true) bool(true) bool(true) bool(true) bool(true) bool(false) bool(false) bool(false) bool(false) bool(false) Test 4 bool(false) bool(true) bool(false) bool(true) bool(false) bool(true) bool(false) bool(true) bool(false) bool(true) Test 5 bool(true) bool(false) bool(false) bool(true) ===DONE===