diff --git a/ext/readline/tests/readline_wrongparam_002.phpt b/ext/readline/tests/readline_wrongparam_002.phpt new file mode 100644 index 0000000000..6df6d2a41c --- /dev/null +++ b/ext/readline/tests/readline_wrongparam_002.phpt @@ -0,0 +1,15 @@ +--TEST-- +Check the function readline with 2 parameters (wrong because the function expects only one parameter). +- lines from 221 to 223 - readline.c +--CREDITS-- +Rodrigo Prado de Jesus +User Group: PHPSP #phptestfestbrasil +http://phpsp.org.br/ +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: readline() expects at most 1 parameter, 2 given in %s on line %d