Searched refs:addslashes (Results 1 – 25 of 25) sorted by relevance
/PHP-7.0/ext/standard/tests/strings/ |
H A D | addslashes_error.phpt | 2 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 D | stripslashes_variation2.phpt | 96 $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 D | addslashes_basic.phpt | 2 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 D | addslashes_variation1.phpt | 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() 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 D | stripslashes_basic.phpt | 26 $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 D | addslashes_variation2.phpt | 2 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 D | add-and-stripslashes.phpt | 2 addslashes() and stripslashes() functions 12 if($input === stripslashes(addslashes($input))) {
|
H A D | bug40915.phpt | 8 var_dump(addslashes($str));
|
/PHP-7.0/ext/phar/tests/ |
H A D | phar_mount.phpt | 15 Phar::mount("testit", "' . addslashes(__FILE__) . '"); 17 Phar::mount("testit", "' . addslashes(__FILE__) . '"); 22 Phar::mount("' . addslashes($pname) . '/testit1", "' . addslashes(__FILE__) . '");
|
H A D | phar_gobyebye.phpt | 16 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");'); 18 include "' . addslashes($fname2) . '";
|
H A D | phar_gobyebye-win32.phpt | 15 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");'); 17 include "' . addslashes($fname2) . '";
|
H A D | readfile_edgecasesU.phpt | 24 set_include_path("' . addslashes(dirname(__FILE__)) . '");
|
H A D | readfile_edgecases.phpt | 25 set_include_path("' . addslashes(dirname(__FILE__)) . '");
|
H A D | fgc_edgecases.phpt | 31 set_include_path("' . addslashes(dirname(__FILE__)) . '");
|
/PHP-7.0/win32/build/ |
H A D | registersyslog.php | 31 $dll = addslashes($dll);
|
/PHP-7.0/tests/strings/ |
H A D | 001.phpt | 161 echo "Testing addslashes: "; 163 $as = addslashes($str); 222 Testing addslashes: passed
|
/PHP-7.0/ext/opcache/tests/ |
H A D | php_cli_server.inc | 18 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
|
/PHP-7.0/ext/curl/tests/ |
H A D | server.inc | 25 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
|
/PHP-7.0/sapi/cli/tests/ |
H A D | php_cli_server.inc | 26 …$handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shel…
|
/PHP-7.0/ext/standard/ |
H A D | php_string.h | 67 PHP_FUNCTION(addslashes);
|
H A D | string.c | 3605 PHP_FUNCTION(addslashes) argument
|
H A D | basic_functions.c | 2771 PHP_FE(addslashes, arginfo_addslashes)
|
/PHP-7.0/ |
H A D | run-tests.php | 2401 $val = addslashes($val); 2413 $value = addslashes($value);
|
H A D | server-tests.php | 118 $value = addslashes($value);
|
H A D | NEWS | 1469 . Fixed bug #72400 (Integer Overflow in addcslashes/addslashes). (Stas)
|
Completed in 62 milliseconds