diff --git a/ext/readline/tests/readline_nullparam.phpt b/ext/readline/tests/readline_nullparam.phpt new file mode 100644 index 0000000000..0ebe69f7e5 --- /dev/null +++ b/ext/readline/tests/readline_nullparam.phpt @@ -0,0 +1,14 @@ +--TEST-- +Test the function readline with null parameter (wrong because the function expects a string parameter). +--CREDITS-- +Rodrigo Prado de Jesus +User Group: PHPSP #phptestfestbrasil +http://phpsp.org.br/ +--SKIPIF-- + +--FILE-- + +--EXPECTF-- +Warning: readline() expects parameter 1 to be string, null given in %s on line %d