Merge branch 'pull-request/856' into PHP-5.5

* pull-request/856:
  Add my information to this test
  Add a test for the exception cases of readline_read_history
This commit is contained in:
Stanislav Malyshev 2014-11-23 17:22:02 -08:00
commit 24cd25824e

View File

@ -0,0 +1,14 @@
--TEST--
readline_read_history() function - Error cases
--CREDITS--
Pedro Manoel Evangelista <pedro.evangelista at gmail dot com>
--SKIPIF--
<?php if (!extension_loaded("readline") || !function_exists('readline_read_history')) die("skip"); ?>
--FILE--
<?php
var_dump(readline_read_history());
var_dump(readline_read_history('nofile'));
?>
--EXPECT--
bool(false)
bool(false)