Home
last modified time | relevance | path

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

/php-src/ext/standard/tests/strings/
H A Daddslashes_basic.phpt2 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 Dstripslashes_variation2.phpt91 $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 Dstripslashes_basic.phpt21 $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 Daddslashes_variation2.phpt2 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 Dadd-and-stripslashes.phpt2 addslashes() and stripslashes() functions
12 if($input === stripslashes(addslashes($input))) {
H A Dbug40915.phpt8 var_dump(addslashes($str));
/php-src/ext/standard/tests/file/
H A Dftruncate_bug76803.phpt13 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 Dbug22414.phpt27 …$cmd = $php_escaped . $args . ' -r ' . "\"passthru('".addslashes($cmd)."');\"" . ' > '.escapeshell…
/php-src/ext/opcache/tests/
H A Dbug75357.phpt18 $value[$k] = addslashes( $v );
22 $value = addslashes( $value );
/php-src/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.phpt17 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");');
19 include "' . addslashes($fname2) . '";
H A Dphar_gobyebye-win32.phpt16 file_put_contents($fname2, '<?php Phar::unlinkArchive("' . addslashes($fname) . '");');
18 include "' . addslashes($fname2) . '";
H A Dreadfile_edgecases.phpt23 set_include_path("' . addslashes(__DIR__) . '");
H A Dfgc_edgecases.phpt36 set_include_path("' . addslashes(__DIR__) . '");
/php-src/win32/build/
H A Dregistersyslog.php8 $dll = addslashes($dll);
/php-src/sapi/fuzzer/
H A Dgenerate_unserialize_dict.php6 $dict .= "\"$len:\\\"" . addslashes($class) . "\\\"\"\n";
/php-src/tests/strings/
H A D001.phpt159 echo "Testing addslashes: ";
161 $as = addslashes($str);
220 Testing addslashes: passed
/php-src/ext/date/tests/
H A Dbug72963.phpt14 echo "\nCovering string: ", addslashes($string), "\n\n";
/php-src/build/
H A Dgen_stub.php887 return '"' . addslashes($this->defaultValue) . '"';
1459 $namespace = addslashes($this->name->getNamespace());
2068 $role->value = addslashes($this->name->className->__toString());
2731 …return "\tREGISTER_STRING_CONSTANT(\"$constName\", " . ($cExpr ?: '"' . addslashes($constValue) . …
2839 $cValue = '"' . addslashes($constValue) . '"';
3061 $escapedName = addslashes($this->name);
3228 $name = addslashes((string) $this->name);
3236 $namespace = addslashes((string) $this->name->slice(0, -1));
3572 $escapedName = addslashes($this->name->__toString());
3613 $escapedParentName = addslashes($parentName->__toString());
[all …]
/php-src/ext/standard/
H A Dbasic_functions.stub.php2524 function addslashes(string $string): string {}
H A Dbasic_functions_arginfo.h2586 ZEND_FUNCTION(addslashes);
H A Dstring.c3718 PHP_FUNCTION(addslashes) argument

Completed in 116 milliseconds