summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sapi/cli/tests/004.phpt7
-rw-r--r--sapi/cli/tests/005.phpt7
-rw-r--r--sapi/cli/tests/006.phpt7
3 files changed, 18 insertions, 3 deletions
diff --git a/sapi/cli/tests/004.phpt b/sapi/cli/tests/004.phpt
index 3b2cf0147f..53239059d7 100644
--- a/sapi/cli/tests/004.phpt
+++ b/sapi/cli/tests/004.phpt
@@ -1,7 +1,12 @@
--TEST--
show information about function
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php
+include "skipif.inc";
+if (!extension_loaded("reflection")) {
+ die("skip");
+}
+?>
--FILE--
<?php
diff --git a/sapi/cli/tests/005.phpt b/sapi/cli/tests/005.phpt
index 12f46d1b40..fc07870193 100644
--- a/sapi/cli/tests/005.phpt
+++ b/sapi/cli/tests/005.phpt
@@ -1,7 +1,12 @@
--TEST--
show information about class
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php
+include "skipif.inc";
+if (!extension_loaded("reflection")) {
+ die("skip");
+}
+?>
--FILE--
<?php
diff --git a/sapi/cli/tests/006.phpt b/sapi/cli/tests/006.phpt
index 0ea14692d9..c84731f9ef 100644
--- a/sapi/cli/tests/006.phpt
+++ b/sapi/cli/tests/006.phpt
@@ -1,7 +1,12 @@
--TEST--
show information about extension
--SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php
+include "skipif.inc";
+if (!extension_loaded("reflection")) {
+ die("skip");
+}
+?>
--FILE--
<?php