Home
last modified time | relevance | path

Searched refs:addslashes (Results 1 – 25 of 25) sorted by relevance

/PHP-5.5/ext/standard/tests/strings/
H A Daddslashes_error.phpt2 Test addslashes() function : error conditions
5 /* Prototype : string addslashes ( string $str )
11 * Testing addslashes() for error conditions
14 echo "*** Testing addslashes() : error conditions ***\n";
17 echo "\n-- Testing addslashes() function with Zero arguments --\n";
18 var_dump( addslashes() );
25 var_dump( addslashes($str, $extra_arg) );
31 *** Testing addslashes() : error conditions ***
33 -- Testing addslashes() function with Zero arguments --
35 Warning: addslashes() expects exactly 1 parameter, 0 given in %s on line %d
[all …]
H A Dstripslashes_variation2.phpt96 $str_addslashes = addslashes($str);
111 string(31) "The string after addslashes is:"
117 string(31) "The string after addslashes is:"
123 string(31) "The string after addslashes is:"
129 string(31) "The string after addslashes is:"
135 string(31) "The string after addslashes is:"
141 string(31) "The string after addslashes is:"
147 string(31) "The string after addslashes is:"
153 string(31) "The string after addslashes is:"
159 string(31) "The string after addslashes is:"
[all …]
H A Daddslashes_basic.phpt2 Test addslashes() function : basic functionality
5 /* Prototype : string addslashes ( string $str )
12 * Testing addslashes() with strings containing characters that can be prefixed with backslash
16 echo "*** Testing addslashes() : basic functionality ***\n";
21 'c:\php\addslashes', // string with backslashes
25 // Calling addslashes() with all arguments
27 var_dump( addslashes($str) );
33 *** Testing addslashes() : basic functionality ***
36 string(19) "c:\\php\\addslashes"
H A Daddslashes_variation1.phpt2 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()
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
[all …]
H A Dstripslashes_basic.phpt26 $str_addslashes = addslashes($str);
27 var_dump("The string after addslashes is:", $str_addslashes);
38 string(31) "The string after addslashes is:"
42 string(31) "The string after addslashes is:"
46 string(31) "The string after addslashes is:"
50 string(31) "The string after addslashes is:"
54 string(31) "The string after addslashes is:"
H A Daddslashes_variation2.phpt2 Test addslashes() function : usage variations - strings with characters to be backslashed
5 /* Prototype : string addslashes ( string $str )
11 * Test addslashes() with various strings containing characters thats can be backslashed
14 echo "*** Testing addslashes() : with various strings containing characters to be backslashed ***\n…
51 'c:\php\testcase\addslashes',
83 var_dump( addslashes($str) );
90 *** Testing addslashes() : with various strings containing characters to be backslashed ***
141 string(29) "c:\\php\\testcase\\addslashes"
H A Dadd-and-stripslashes.phpt2 addslashes() and stripslashes() functions
12 if($input === stripslashes(addslashes($input))) {
H A Dbug40915.phpt8 var_dump(addslashes($str));
/PHP-5.5/ext/phar/tests/
H A Dphar_mount.phpt15 Phar::mount("testit", "' . addslashes(__FILE__) . '");
17 Phar::mount("testit", "' . addslashes(__FILE__) . '");
22 Phar::mount("' . addslashes($pname) . '/testit1", "' . addslashes(__FILE__) . '");
H A Dphar_gobyebye.phpt16 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");');
18 include "' . addslashes($fname2) . '";
H A Dphar_gobyebye-win32.phpt15 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");');
17 include "' . addslashes($fname2) . '";
H A Dreadfile_edgecasesU.phpt24 set_include_path("' . addslashes(dirname(__FILE__)) . '");
H A Dreadfile_edgecases.phpt25 set_include_path("' . addslashes(dirname(__FILE__)) . '");
H A Dfgc_edgecases.phpt31 set_include_path("' . addslashes(dirname(__FILE__)) . '");
/PHP-5.5/win32/build/
H A Dregistersyslog.php31 $dll = addslashes($dll);
/PHP-5.5/tests/strings/
H A D001.phpt161 echo "Testing addslashes: ";
163 $as = addslashes($str);
222 Testing addslashes: passed
/PHP-5.5/ext/opcache/tests/
H A Dphp_cli_server.inc18 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
/PHP-5.5/ext/curl/tests/
H A Dserver.inc25 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
/PHP-5.5/sapi/cli/tests/
H A Dphp_cli_server.inc26 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
/PHP-5.5/ext/standard/
H A Dphp_string.h67 PHP_FUNCTION(addslashes);
H A Dstring.c3369 PHP_FUNCTION(addslashes) argument
H A Dbasic_functions.c2789 PHP_FE(addslashes, arginfo_addslashes)
/PHP-5.5/
H A Drun-tests.php2302 $val = addslashes($val);
2314 $value = addslashes($value);
H A Dserver-tests.php118 $value = addslashes($value);
H A DNEWS56 . Fixed bug #72400 (Integer Overflow in addcslashes/addslashes). (Stas)

Completed in 198 milliseconds