summaryrefslogtreecommitdiff
path: root/ext/readline/tests/readline_without_input.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/readline/tests/readline_without_input.phpt')
-rw-r--r--ext/readline/tests/readline_without_input.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/readline/tests/readline_without_input.phpt b/ext/readline/tests/readline_without_input.phpt
index e269c5eaa9..11c956fa58 100644
--- a/ext/readline/tests/readline_without_input.phpt
+++ b/ext/readline/tests/readline_without_input.phpt
@@ -4,7 +4,10 @@ readline() function - without input
Jonathan Stevens <info at jonathanstevens dot be>
User Group: PHP-WVL & PHPGent #PHPTestFest
--SKIPIF--
-<?php if (!extension_loaded("readline") || !function_exists('readline') || die("skip"); ?>
+<?php
+if (!extension_loaded("readline")) die("skip readline extension is not available");
+if (!function_exists('readline')) die("skip readline() not available");
+?>
--FILE--
<?php
var_dump(readline());