xref: /PHP-7.2/ext/readline/tests/bug69054.phpt (revision 202e6936)
1--TEST--
2Bug #69054 (Null dereference in readline_(read|write)_history() without parameters)
3--SKIPIF--
4<?php if (!extension_loaded("readline") || !function_exists('readline_add_history')) die("skip"); ?>
5--INI--
6open_basedir={TMP}
7--FILE--
8<?php readline_read_history(); ?>
9==DONE==
10--EXPECT--
11==DONE==
12