Home
last modified time | relevance | path

Searched refs:stripslashes (Results 1 – 12 of 12) sorted by relevance

/PHP-5.6/ext/standard/tests/strings/
H A Dstripslashes_basic.phpt2 Test stripslashes() function : basic functionality
5 /* Prototype : string stripslashes ( string $str )
11 * Testing stripslashes() with quoted strings
40 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 …]
H A Dstripslashes_error.phpt2 Test stripslashes() function : error conditions
5 /* Prototype : string stripslashes ( string $str )
11 * Testing stripslashes() for error conditions
14 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 …]
H A Dstripslashes_variation2.phpt5 /* 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 …]
H A Dstripslashes_variation1.phpt2 Test stripslashes() function : usage variations - non-string type argument
5 /* Prototype : string stripslashes ( string $str )
11 * Test stripslashes() with non-string type argument such as int, float, etc
14 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 %d
132 Warning: stripslashes() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dstripslashes_variation4.phpt2 Test stripslashes() function : usage variations - double dimensional arrays
5 /* Prototype : string stripslashes ( string $str )
11 * Test stripslashes() with double dimensional arrays
14 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 ***
H A Dstripslashes_variation3.phpt2 Test stripslashes() function : usage variations - strings with newline and tab characters
5 /* 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 ***
H A Dadd-and-stripslashes.phpt2 addslashes() and stripslashes() functions
12 if($input === stripslashes(addslashes($input))) {
/PHP-5.6/Zend/tests/
H A Dbug45744.phpt12 return stripslashes($value);
/PHP-5.6/tests/strings/
H A D001.phpt170 echo "Testing stripslashes: ";
172 $ss = stripslashes($str);
223 Testing stripslashes: passed
/PHP-5.6/ext/standard/
H A Dphp_string.h69 PHP_FUNCTION(stripslashes);
H A Dstring.c3413 PHP_FUNCTION(stripslashes) argument
H A Dbasic_functions.c2736 PHP_FE(stripslashes, arginfo_stripslashes)

Completed in 38 milliseconds