1--TEST--
2readline_callback_handler_remove(): Basic test
3--SKIPIF--
4<?php if (!extension_loaded("readline") || !function_exists('readline_callback_handler_remove')) die("skip");
5if (READLINE_LIB != "libedit") die("skip libedit only");
6?>
7--INI--
8zend.signal_check=0
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--EXPECT--
21bool(false)
22bool(true)
23bool(true)
24bool(true)
25