Home
last modified time | relevance | path

Searched refs:convert_cyr_string (Results 1 – 7 of 7) sorted by relevance

/PHP-7.0/ext/standard/tests/strings/
H A Dconvert_cyr_string.phpt2 basic convert_cyr_string() tests
6 var_dump(convert_cyr_string());
7 var_dump(convert_cyr_string(""));
8 var_dump(convert_cyr_string("", ""));
9 var_dump(convert_cyr_string("", "", ""));
10 var_dump(convert_cyr_string(array(), array(), array()));
12 var_dump(convert_cyr_string((binary)"[[[[[[", "q", "m"));
13 var_dump(convert_cyr_string((binary)"[[[[[[", "k", "w"));
14 var_dump(convert_cyr_string((binary)"[[[[[[", "m", "a"));
15 var_dump(convert_cyr_string((binary)"[[[[[[", "d", "i"));
[all …]
H A Dconvert_cyr_string_error.phpt2 Test convert_cyr_string() function : error conditions
16 echo "*** Testing convert_cyr_string() : error conditions ***\n";
18 echo "\n-- Testing convert_cyr_string() function with no arguments --\n";
19 var_dump( convert_cyr_string() );
22 var_dump( convert_cyr_string($str, $from) );
25 var_dump( convert_cyr_string($str, $from, $to, $extra_arg) );
28 var_dump(bin2hex( convert_cyr_string($str, "?", $to) ));
31 var_dump(bin2hex( convert_cyr_string($str, $from, "?")) );
34 var_dump(bin2hex( convert_cyr_string($str, ">", "?")) );
39 *** Testing convert_cyr_string() : error conditions ***
[all …]
H A Dconvert_cyr_string_variation1.phpt2 Test convert_cyr_string() function : usage variations - test values for $str argument
6 /* Prototype : string convert_cyr_string ( string $str , string $from , string $to )
11 echo "*** Testing convert_cyr_string() function: with unexpected inputs for 'str' argument ***\n";
71 // loop through with each element of the $inputs array to test convert_cyr_string() function
77 var_dump( convert_cyr_string($input, $from, $to) );
86 *** Testing convert_cyr_string() function: with unexpected inputs for 'str' argument ***
107 Warning: convert_cyr_string() expects parameter 1 to be string, array given in %s on line %d
111 Warning: convert_cyr_string() expects parameter 1 to be string, array given in %s on line %d
115 Warning: convert_cyr_string() expects parameter 1 to be string, array given in %s on line %d
133 Warning: convert_cyr_string() expects parameter 1 to be string, resource given in %s on line %d
H A Dconvert_cyr_string_basic.phpt2 Test convert_cyr_string() function : basic functionality
6 /* Prototype : string convert_cyr_string ( string $str , string $from , string $to )
11 echo "*** Testing convert_cyr_string() : basic functionality ***\n";
16 var_dump(bin2hex(convert_cyr_string($str, 'w', 'k')));
17 var_dump(bin2hex(convert_cyr_string($str, 'w', 'i')));
24 echo "$i: " . bin2hex(convert_cyr_string($str, 'w', 'k')) . "\n";
30 *** Testing convert_cyr_string() : basic functionality ***
/PHP-7.0/ext/standard/
H A Dcyr_convert.h24 PHP_FUNCTION(convert_cyr_string);
H A Dcyr_convert.c271 PHP_FUNCTION(convert_cyr_string) in PHP_FUNCTION() argument
H A Dbasic_functions.c2959 PHP_FE(convert_cyr_string, arginfo_convert_cyr_string)

Completed in 29 milliseconds