1--TEST--
2readline_read_history() function - Error cases
3--CREDITS--
4Pedro Manoel Evangelista <pedro.evangelista at gmail dot com>
5--SKIPIF--
6<?php if (!extension_loaded("readline")) die('skip readline extension not loaded'); ?>
7<?php if (!function_exists('readline_read_history')) die('skip readline_read_history function does not exist'); ?>
8<?php if (!READLINE_LIB != "libedit") die('skip READLINE_LIB != "libedit"'); ?>
9--FILE--
10<?php
11var_dump(readline_read_history('nofile'));
12?>
13--EXPECT--
14bool(false)
15