Home
last modified time | relevance | path

Searched refs:addcslashes (Results 1 – 12 of 12) sorted by relevance

/PHP-8.0/ext/standard/tests/strings/
H A Daddcslashes_003.phpt2 Test addcslashes() function (variation 3)
10 var_dump( addcslashes("", "") );
11 var_dump( addcslashes("", "burp") );
14 var_dump( addcslashes('foo[ ]', 'A..z') );
17 var_dump( addcslashes( 123, 123 ) );
18 var_dump( addcslashes( 123, NULL) );
19 var_dump( addcslashes( NULL, 123) );
20 var_dump( addcslashes( 0, 0 ) );
21 var_dump( addcslashes( "\0" , 0 ) );
22 var_dump( addcslashes( NULL, NULL) );
[all …]
H A Dadd-and-stripcslashes.phpt2 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 Daddcslashes_002.phpt2 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 Dbug40915.phpt2 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 Daddcslashes_001.phpt2 Test addcslashes() function (variation 1)
8 echo "*** Testing addcslashes() for basic operations ***\n";
9 /* checking normal operation of addcslashes */
26 mentioned in $char using addcslashes() */
31 var_dump( addcslashes($string, $char) );
42 *** Testing addcslashes() for basic operations ***
52 addcslashes(): Argument #2 ($characters) must be of type string, array given
H A Daddcslashes_005.phpt2 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-8.0/Zend/tests/
H A Dbug79934.phpt10 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 Druntime_compile_time_binary_operands.phpt113 $error = "echo '" . addcslashes("$op1_p $operator $op2_p", "\\'") . '\', "\n"; $f++;';
129 $error = "echo '" . addcslashes("$operator $op_p", "\\'") . '\', "\n"; $f++;';
/PHP-8.0/ext/filter/tests/
H A Dbug42718.phpt17 echo addcslashes($_GET['a'],"\0") . "\n";
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php629 function addcslashes(string $string, string $characters): string {} function
H A Dbasic_functions_arginfo.h2488 ZEND_FUNCTION(addcslashes);
3125 ZEND_FE(addcslashes, arginfo_addcslashes)
H A Dstring.c3387 PHP_FUNCTION(addcslashes) argument

Completed in 149 milliseconds