1--TEST--
2readline_callback_handler_remove(): Basic test
3--SKIPIF--
4<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_remove')) die("skip"); ?>
5--FILE--
6<?php
7
8var_dump(readline_callback_handler_remove());
9var_dump(readline_callback_handler_install('testing: ', 'foo'));
10
11function foo() { }
12var_dump(readline_callback_handler_install('testing: ', 'foo'));
13var_dump(readline_callback_handler_remove());
14
15?>
16--EXPECT--
17bool(false)
18testing: bool(true)
19testing: bool(true)
20bool(true)
21