Annotation of embedaddon/php/ext/readline/tests/readline_list_history_001.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: readline_list_history(): Basic test
        !             3: --SKIPIF--
        !             4: <?php if (!extension_loaded("readline") || !function_exists('readline_list_history')) die("skip"); ?>
        !             5: --FILE--
        !             6: <?php
        !             7: 
        !             8: var_dump(readline_list_history());
        !             9: var_dump(readline_list_history(1));
        !            10: 
        !            11: ?>
        !            12: --EXPECTF--
        !            13: array(0) {
        !            14: }
        !            15: 
        !            16: Warning: readline_list_history() expects exactly 0 parameters, 1 given in %s on line %d
        !            17: NULL

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>