Lines Matching refs:addslashes
2 Test addslashes() function : usage variations - non-string type argument
5 /* Prototype : string addslashes ( string $str )
11 * Test addslashes() with non-string type argument such as int, float, etc
14 echo "*** Testing addslashes() : with non-string type argument ***\n";
81 // loop through each element of the array and check the working of addslashes()
83 echo "\n--- Testing addslashes() by supplying different values for 'str' argument ---\n";
89 var_dump( addslashes($str) );
100 *** Testing addslashes() : with non-string type argument ***
106 --- Testing addslashes() by supplying different values for 'str' argument ---
127 Warning: addslashes() expects parameter 1 to be string, array given in %s on line %d
131 Warning: addslashes() expects parameter 1 to be string, array given in %s on line %d
135 Warning: addslashes() expects parameter 1 to be string, array given in %s on line %d
139 Warning: addslashes() expects parameter 1 to be string, array given in %s on line %d
143 Warning: addslashes() expects parameter 1 to be string, array given in %s on line %d
165 Warning: addslashes() expects parameter 1 to be string, resource given in %s on line %d