mirror of
https://github.com/php/php-src.git
synced 2026-04-29 03:03:26 +02:00
Tests for readline() without input
This commit is contained in:
committed by
Peter Kokot
parent
f57acf08aa
commit
e94d98e288
@@ -0,0 +1,15 @@
|
||||
--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") || !function_exists('readline') || die("skip"); ?>
|
||||
--FILE--
|
||||
<?php
|
||||
var_dump(readline());
|
||||
var_dump(readline('Prompt:'));
|
||||
?>
|
||||
--EXPECT--
|
||||
bool(false)
|
||||
bool(false)
|
||||
Reference in New Issue
Block a user