Searched refs:stripslashes (Results 1 – 13 of 13) sorted by relevance
2 Test stripslashes() function : basic functionality5 /* Prototype : string stripslashes ( string $str )11 * Testing stripslashes() with quoted strings40 string(33) "The string after stripslashes is:"44 string(33) "The string after stripslashes is:"47 string(21) "c:\\php\\stripslashes"48 string(33) "The string after stripslashes is:"49 string(19) "c:\php\stripslashes"51 string(21) "c:\\php\\stripslashes"52 string(33) "The string after stripslashes is:"[all …]
2 Test stripslashes() function : error conditions5 /* Prototype : string stripslashes ( string $str )11 * Testing stripslashes() for error conditions14 echo "*** Testing stripslashes() : error conditions ***\n";17 echo "\n-- Testing stripslashes() function with Zero arguments --\n";18 var_dump( stripslashes() );25 var_dump( stripslashes($str, $extra_arg) );31 *** Testing stripslashes() : error conditions ***33 -- Testing stripslashes() function with Zero arguments --35 Warning: stripslashes() expects exactly 1 parameter, 0 given in %s on line %d[all …]
5 /* Prototype : string stripslashes ( string $str )113 string(33) "The string after stripslashes is:"119 string(33) "The string after stripslashes is:"125 string(33) "The string after stripslashes is:"131 string(33) "The string after stripslashes is:"137 string(33) "The string after stripslashes is:"143 string(33) "The string after stripslashes is:"149 string(33) "The string after stripslashes is:"155 string(33) "The string after stripslashes is:"220 string(31) "c:\\php\\testcase\\stripslashes"[all …]
2 Test stripslashes() function : usage variations - non-string type argument5 /* Prototype : string stripslashes ( string $str )11 * Test stripslashes() with non-string type argument such as int, float, etc14 echo "*** Testing stripslashes() : with non-string type argument ***\n";82 // loop through each element of the array and check the working of stripslashes()90 var_dump( stripslashes($str) );101 *** Testing stripslashes() : with non-string type argument ***107 --- Testing stripslashes() by supplying different values for 'str' argument ---128 Warning: stripslashes() expects parameter 1 to be string, array given in %s on line %d132 Warning: stripslashes() expects parameter 1 to be string, array given in %s on line %d[all …]
2 Test stripslashes() function : usage variations - double dimensional arrays5 /* Prototype : string stripslashes ( string $str )11 * Test stripslashes() with double dimensional arrays14 echo "*** Testing stripslashes() : with double dimensional arrays ***\n";27 $value = is_array($value) ? array_map('stripslashes_deep', $value) : stripslashes($value);42 *** Testing stripslashes() : with double dimensional arrays ***
2 Test stripslashes() function : usage variations - strings with newline and tab characters5 /* Prototype : string stripslashes ( string $str )11 * Test stripslashes() with strings containing newline and tab characters.14 echo "*** Testing stripslashes() : with strings containing newline and tab characters ***\n";56 var_dump( stripslashes($str) );63 *** Testing stripslashes() : with strings containing newline and tab characters ***
2 addslashes() and stripslashes() functions12 if($input === stripslashes(addslashes($input))) {
30 $gpc = stripslashes($gpc);
12 return stripslashes($value);
170 echo "Testing stripslashes: ";172 $ss = stripslashes($str);223 Testing stripslashes: passed
69 PHP_FUNCTION(stripslashes);
2775 PHP_FE(stripslashes, arginfo_stripslashes)
3712 PHP_FUNCTION(stripslashes) argument
Completed in 118 milliseconds