--TEST-- readline_add_history(): Basic test --SKIPIF-- --FILE-- --EXPECTF-- bool(true) array(1) { [0]=> string(3) "foo" } bool(true) array(2) { [0]=> string(3) "foo" [1]=> string(0) "" } bool(true) Warning: readline_add_history() expects exactly 1 parameter, 0 given in %s on line %d NULL