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 libedit only");
8?>
9--INI--
10zend.signal_check=0
11--FILE--
12<?php
13
14var_dump(readline_callback_handler_remove());
15var_dump(readline_callback_handler_install('testing: ', 'foo'));
16
17function foo() { }
18var_dump(readline_callback_handler_install('testing: ', 'foo'));
19var_dump(readline_callback_handler_remove());
20
21?>
22--EXPECT--
23bool(false)
24bool(true)
25bool(true)
26bool(true)
27