Home
last modified time | relevance | path

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

/PHP-8.0/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-8.0/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)));
/PHP-8.0/ext/opcache/tests/
H A Dbug75357.phpt18 $value[$k] = addslashes( $v );
22 $value = addslashes( $value );
/PHP-8.0/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_edgecases.phpt23 set_include_path("' . addslashes(__DIR__) . '");
H A Dfgc_edgecases.phpt38 set_include_path("' . addslashes(__DIR__) . '");
/PHP-8.0/win32/build/
H A Dregistersyslog.php8 $dll = addslashes($dll);
/PHP-8.0/tests/strings/
H A D001.phpt159 echo "Testing addslashes: ";
161 $as = addslashes($str);
220 Testing addslashes: passed
/PHP-8.0/ext/date/tests/
H A Dbug72963.phpt14 echo "\nCovering string: ", addslashes($string), "\n\n";
/PHP-8.0/build/
H A Dgen_stub.php441 return '"' . addslashes($this->defaultValue) . '"';
804 addslashes($namespace), $declarationName, $this->getArgInfoName());
/PHP-8.0/
H A Drun-tests.php3080 $val = addslashes($val);
3092 $value = addslashes($value);
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php631 function addslashes(string $string): string {} function
H A Dbasic_functions_arginfo.h2489 ZEND_FUNCTION(addslashes);
3126 ZEND_FE(addslashes, arginfo_addslashes)
H A Dstring.c3409 PHP_FUNCTION(addslashes) argument

Completed in 74 milliseconds