Searched refs:addslashes (Results 1 – 22 of 22) sorted by relevance
/PHP-8.4/ext/standard/tests/strings/ |
H A D | addslashes_basic.phpt | 2 Test addslashes() function : basic functionality 6 * Testing addslashes() with strings containing characters that can be prefixed with backslash 10 echo "*** Testing addslashes() : basic functionality ***\n"; 15 'c:\php\addslashes', // string with backslashes 19 // Calling addslashes() with all arguments 21 var_dump( addslashes($str) ); 27 *** Testing addslashes() : basic functionality *** 30 string(19) "c:\\php\\addslashes"
|
H A D | stripslashes_variation2.phpt | 91 $str_addslashes = addslashes($str); 106 string(31) "The string after addslashes is:" 112 string(31) "The string after addslashes is:" 118 string(31) "The string after addslashes is:" 124 string(31) "The string after addslashes is:" 130 string(31) "The string after addslashes is:" 136 string(31) "The string after addslashes is:" 142 string(31) "The string after addslashes is:" 148 string(31) "The string after addslashes is:" 154 string(31) "The string after addslashes is:" [all …]
|
H A D | stripslashes_basic.phpt | 21 $str_addslashes = addslashes($str); 22 var_dump("The string after addslashes is:", $str_addslashes); 33 string(31) "The string after addslashes is:" 37 string(31) "The string after addslashes is:" 41 string(31) "The string after addslashes is:" 45 string(31) "The string after addslashes is:" 49 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 6 * Test addslashes() with various strings containing characters that can be backslashed 9 echo "*** Testing addslashes() : with various strings containing characters to be backslashed ***\n… 46 'c:\php\testcase\addslashes', 78 var_dump( addslashes($str) ); 85 *** Testing addslashes() : with various strings containing characters to be backslashed *** 136 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-8.4/ext/standard/tests/file/ |
H A D | ftruncate_bug76803.phpt | 13 var_dump(addslashes(file_get_contents($fn))); 19 var_dump(addslashes(file_get_contents($fn))); 26 var_dump(addslashes(stream_get_contents($f)));
|
H A D | bug22414.phpt | 27 …$cmd = $php_escaped . $args . ' -r ' . "\"passthru('".addslashes($cmd)."');\"" . ' > '.escapeshell…
|
/PHP-8.4/ext/opcache/tests/ |
H A D | bug75357.phpt | 18 $value[$k] = addslashes( $v ); 22 $value = addslashes( $value );
|
/PHP-8.4/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 | 17 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");'); 19 include "' . addslashes($fname2) . '";
|
H A D | phar_gobyebye-win32.phpt | 16 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");'); 18 include "' . addslashes($fname2) . '";
|
H A D | readfile_edgecases.phpt | 23 set_include_path("' . addslashes(__DIR__) . '");
|
H A D | fgc_edgecases.phpt | 36 set_include_path("' . addslashes(__DIR__) . '");
|
/PHP-8.4/win32/build/ |
H A D | registersyslog.php | 8 $dll = addslashes($dll);
|
/PHP-8.4/sapi/fuzzer/ |
H A D | generate_unserialize_dict.php | 6 $dict .= "\"$len:\\\"" . addslashes($class) . "\\\"\"\n";
|
/PHP-8.4/tests/strings/ |
H A D | 001.phpt | 159 echo "Testing addslashes: "; 161 $as = addslashes($str); 220 Testing addslashes: passed
|
/PHP-8.4/ext/date/tests/ |
H A D | bug72963.phpt | 14 echo "\nCovering string: ", addslashes($string), "\n\n";
|
/PHP-8.4/build/ |
H A D | gen_stub.php | 900 return '"' . addslashes($this->defaultValue) . '"'; 1472 $namespace = addslashes($this->name->getNamespace()); 2088 $role->value = addslashes($this->name->className->__toString()); 2758 …return "\tREGISTER_STRING_CONSTANT(\"$constName\", " . ($cExpr ?: '"' . addslashes($constValue) . … 2866 $cValue = '"' . addslashes($constValue) . '"'; 3107 $escapedName = addslashes($this->name); 3290 $name = addslashes((string) $this->name); 3301 $namespace = addslashes((string) $this->name->slice(0, -1)); 3651 $escapedName = addslashes($this->name->__toString()); 3692 $escapedParentName = addslashes($parentName->__toString()); [all …]
|
/PHP-8.4/ext/standard/ |
H A D | basic_functions.stub.php | 2512 function addslashes(string $string): string {}
|
H A D | basic_functions_arginfo.h | 2554 ZEND_FUNCTION(addslashes);
|
H A D | string.c | 3686 PHP_FUNCTION(addslashes) argument
|
Completed in 79 milliseconds