summaryrefslogtreecommitdiff
path: root/ext/readline/tests/readline_without_input.phpt
blob: 11c956fa586cbb4f847df776d5c78078f7404448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
readline() function - without input
--CREDITS--
Jonathan Stevens <info at jonathanstevens dot be>
User Group: PHP-WVL & PHPGent #PHPTestFest
--SKIPIF--
<?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());
var_dump(readline('Prompt:'));
?>
--EXPECTF--
bool(false)
%Abool(false)