1--TEST-- 2quoted_printable_encode() tests - 1 3--FILE-- 4<?php 5 6var_dump(quoted_printable_encode()); 7var_dump(quoted_printable_encode("")); 8var_dump(quoted_printable_encode("test")); 9var_dump(quoted_printable_encode("test", "more")); 10 11$a = array("str"); 12var_dump(quoted_printable_encode($a)); 13var_dump(quoted_printable_encode(1)); 14var_dump(quoted_printable_encode(NULL)); 15var_dump(quoted_printable_encode(false)); 16 17echo "Done\n"; 18?> 19--EXPECTF-- 20Warning: quoted_printable_encode() expects exactly 1 parameter, 0 given in %s on line %d 21NULL 22string(0) "" 23string(4) "test" 24 25Warning: quoted_printable_encode() expects exactly 1 parameter, 2 given in %s on line %d 26NULL 27 28Warning: quoted_printable_encode() expects parameter 1 to be string, array given in %s on line %d 29NULL 30string(1) "1" 31string(0) "" 32string(0) "" 33Done 34