Searched refs:addcslashes (Results 1 – 18 of 18) sorted by relevance
/php-src/ext/standard/tests/strings/ |
H A D | addcslashes_003.phpt | 2 Test addcslashes() function (variation 3) 10 var_dump( addcslashes("", "") ); 11 var_dump( addcslashes("", "burp") ); 12 var_dump( addcslashes("kaboemkara!", "") ); 13 var_dump( addcslashes("foobarbaz", 'bar') ); 14 var_dump( addcslashes('foo[ ]', 'A..z') ); 17 var_dump( addcslashes( 123, 123 ) ); 18 var_dump( addcslashes( 0, 0 ) ); 19 var_dump( addcslashes( "\0" , 0 ) ); 20 var_dump( addcslashes( -1.234578, 3 ) ); [all …]
|
H A D | add-and-stripcslashes.phpt | 2 addcslashes() and stripcslashes() function 5 echo addcslashes("", "")."\n"; 6 echo addcslashes("", "burp")."\n"; 7 echo addcslashes("kaboemkara!", "")."\n"; 8 echo addcslashes("foobarbaz", 'bar')."\n"; 9 echo addcslashes('foo[ ]', 'A..z')."\n"; 10 echo @addcslashes("zoo['.']", 'z..A')."\n"; 11 echo addcslashes('abcdefghijklmnopqrstuvwxyz', "a\145..\160z")."\n";
|
H A D | addcslashes_002.phpt | 2 Test addcslashes() function (variation 2) 10 echo "\n*** Testing addcslashes() with ASCII code between 0 and 31 ***\n"; 11 var_dump( addcslashes($string, "\0..\37") ); 14 echo "\n*** Testing addcslashes() with objects ***\n"; 22 var_dump( addcslashes($obj, "b") ); 28 *** Testing addcslashes() with ASCII code between 0 and 31 *** 31 *** Testing addcslashes() with objects ***
|
H A D | bug40915.phpt | 2 Bug #40915 (addcslashes unexpected behavior with binary input) 9 var_dump(addcslashes($str, "")); 10 var_dump(addcslashes($str, "\000z")); 11 var_dump(addcslashes($str, "z"));
|
H A D | addcslashes_001.phpt | 2 Test addcslashes() function (variation 1) 8 echo "*** Testing addcslashes() for basic operations ***\n"; 9 /* checking normal operation of addcslashes */ 25 mentioned in $char using addcslashes() */ 30 var_dump( addcslashes($string, $char) ); 41 *** Testing addcslashes() for basic operations *** 47 addcslashes(): Argument #2 ($characters) must be of type string, array given
|
H A D | addcslashes_005.phpt | 2 addcslashes(); function test with warning 8 echo addcslashes("zoo['.']","z..A"); 11 Warning: addcslashes(): Invalid '..'-range, '..'-range needs to be incrementing in %s on line %d
|
/php-src/Zend/tests/ |
H A D | bug79934.phpt | 10 var_dump(addcslashes($s1, "\r\n")); 14 var_dump(addcslashes($s2, "\n")); 18 var_dump(addcslashes($s3, "\r")); 22 var_dump(addcslashes($s4, "\n\r"));
|
H A D | runtime_compile_time_binary_operands.phpt | 119 $error = "echo '" . addcslashes("$op1_p $operator $op2_p", "\\'") . '\', "\n"; $f++;'; 135 $error = "echo '" . addcslashes("$operator $op_p", "\\'") . '\', "\n"; $f++;';
|
/php-src/scripts/gdb/ |
H A D | debug_gdb_scripts_gen.php | 16 addcslashes($gdbscript, '\'\\'),
|
/php-src/ext/filter/tests/ |
H A D | bug42718.phpt | 17 echo addcslashes($_GET['a'],"\0") . "\n";
|
/php-src/Zend/tests/zend_ini/ |
H A D | zend_ini_parse_quantity_zero.phpt | 26 printf("# \"%s\"\n", addcslashes($setting, "\0..\37!@\177..\377"));
|
H A D | zend_ini_parse_quantity_error.phpt | 35 printf("# \"%s\"\n", addcslashes($setting, "\0..\37!@\177..\377"));
|
/php-src/ext/mbstring/tests/ |
H A D | gh10192_utf7imap.phpt | 58 var_dump(addcslashes(mb_convert_encoding($case, 'UTF-8', 'UTF7-IMAP'), "\0..\37\177"));
|
H A D | gh10192_utf7.phpt | 70 var_dump(addcslashes(mb_convert_encoding($case, 'UTF-8', 'UTF-7'), "\0..\37\177"));
|
/php-src/ext/standard/ |
H A D | basic_functions.stub.php | 2507 function addcslashes(string $string, string $characters): string {}
|
H A D | basic_functions_arginfo.h | 2556 ZEND_FUNCTION(addcslashes);
|
H A D | string.c | 3664 PHP_FUNCTION(addcslashes) argument
|
/php-src/build/ |
H A D | gen_stub.php | 3293 …nameSuffix = zend_string_init_interned(\"" . addcslashes($this->class, "\\") . "\", sizeof(\"" . a…
|
Completed in 82 milliseconds