Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/strings/
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 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 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-7.4/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-7.4/ext/opcache/tests/
H A Dbug75357.phpt18 $value[$k] = addslashes( $v );
22 $value = addslashes( $value );
/PHP-7.4/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.phpt24 set_include_path("' . addslashes(__DIR__) . '");
H A Dfgc_edgecases.phpt30 set_include_path("' . addslashes(__DIR__) . '");
/PHP-7.4/win32/build/
H A Dregistersyslog.php8 $dll = addslashes($dll);
/PHP-7.4/tests/strings/
H A D001.phpt161 echo "Testing addslashes: ";
163 $as = addslashes($str);
222 Testing addslashes: passed
/PHP-7.4/ext/standard/
H A Dphp_string.h63 PHP_FUNCTION(addslashes);
H A Dbasic_functions.c2817 PHP_FE(addslashes, arginfo_addslashes)
H A Dstring.c3708 PHP_FUNCTION(addslashes) argument
/PHP-7.4/
H A Drun-tests.php2946 $val = addslashes($val);
2958 $value = addslashes($value);

Completed in 55 milliseconds