dis-bench / src /php /php-src /ext /readline /tests /readline_without_input.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
283 Bytes
--TEST--
readline() function - without input
--CREDITS--
Jonathan Stevens <info at jonathanstevens dot be>
User Group: PHP-WVL & PHPGent #PHPTestFest
--EXTENSIONS--
readline
--FILE--
<?php
var_dump(readline());
var_dump(readline('Prompt:'));
?>
--EXPECTF--
bool(false)
%Abool(false)