--TEST-- Test addslashes() function : error conditions --FILE-- --EXPECTF-- *** Testing addslashes() : error conditions *** -- Testing addslashes() function with Zero arguments -- Warning: addslashes() expects exactly 1 parameter, 0 given in %s on line %d NULL -- Testing addslashes() function with more than expected no. of arguments -- Warning: addslashes() expects exactly 1 parameter, 2 given in %s on line %d NULL string(15) ""hello"\"world"" Done