dis-bench / src /php /php-src /ext /readline /tests /readline_basic.phpt
meddyrat's picture
Replace repository contents with the original corrected artifact
1e94262
Raw History Blame Contribute Delete
229 Bytes
--TEST--
readline(): Basic test
--CREDITS--
Milwaukee PHP User Group
#PHPTestFest2017
--EXTENSIONS--
readline
--FILE--
<?php
var_dump(readline('Enter some text:'));
?>
--STDIN--
I love PHP
--EXPECTF--
%Astring(10) "I love PHP"