1--TEST--
2readline_callback_handler_remove(): Basic test
3--EXTENSIONS--
4readline
5--SKIPIF--
6<?php if (!function_exists('readline_callback_handler_remove')) die("skip");
7if (READLINE_LIB == "libedit") die("skip readline only");
8?>
9--FILE--
10<?php
11
12var_dump(readline_callback_handler_remove());
13var_dump(readline_callback_handler_install('testing: ', 'foo'));
14
15function foo() { }
16var_dump(readline_callback_handler_install('testing: ', 'foo'));
17var_dump(readline_callback_handler_remove());
18
19?>
20--EXPECTF--
21bool(false)
22%Atesting: bool(true)
23testing: bool(true)
24bool(true)
25