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--FILE-- 8<?php 9 10var_dump(readline_callback_handler_remove()); 11var_dump(readline_callback_handler_install('testing: ', 'foo')); 12 13function foo() { } 14var_dump(readline_callback_handler_install('testing: ', 'foo')); 15var_dump(readline_callback_handler_remove()); 16 17?> 18--EXPECT-- 19bool(false) 20bool(true) 21bool(true) 22bool(true) 23