Home
last modified time | relevance | path

Searched refs:strrev (Results 1 – 13 of 13) sorted by relevance

/PHP-5.3/ext/standard/tests/strings/
H A Dstrrev_basic.phpt2 Test strrev() function : basic functionality
5 /* Prototype : string strrev(string $str);
16 var_dump( strrev("Hello, World") );
17 var_dump( strrev('Hello, World') );
20 var_dump( strrev("H") );
21 var_dump( strrev('H') );
24 var_dump( strrev("HHHHHH") );
25 var_dump( strrev("HhhhhH") );
28 var_dump( strrev("Hello, World\n") );
29 var_dump( strrev('Hello, World\n') );
[all …]
H A Dstrrev_error.phpt2 Test strrev() function : error conditions
5 /* Prototype : string strrev(string $str);
10 echo "*** Testing strrev() : error conditions ***\n";
11 echo "-- Testing strrev() function with Zero arguments --";
12 var_dump( strrev() );
15 var_dump( strrev("string", 'extra_arg') );
19 *** Testing strrev() : error conditions ***
20 -- Testing strrev() function with Zero arguments --
21 Warning: strrev() expects exactly 1 parameter, 0 given in %s on line %d
24 -- Testing strrev() function with more than expected no. of arguments --
[all …]
H A Dstrrev_variation4.phpt2 Test strrev() function : usage variations - unexpected inputs
5 /* Prototype : string strrev(string $str);
10 /* Testing strrev() function with unexpected inputs for 'str' */
12 echo "*** Testing strrev() : unexpected inputs for 'str' ***\n";
82 var_dump( strrev($value) );
91 *** Testing strrev() : unexpected inputs for 'str' ***
122 Warning: strrev() expects parameter 1 to be string, array given in %s on line %d
127 Warning: strrev() expects parameter 1 to be string, array given in %s on line %d
132 Warning: strrev() expects parameter 1 to be string, array given in %s on line %d
137 Warning: strrev() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dstrrev.phpt2 strrev() function
12 var_dump(md5(strrev($str)));
13 var_dump(strrev(NULL));
14 var_dump(strrev(""));
H A Dstrrev_variation1.phpt2 Test strrev() function : usage variations - double quoted strings
5 /* Prototype : string strrev(string $str);
10 /* Testing strrev() function with various double quoted strings for 'str' */
12 echo "*** Testing strrev() : with various double quoted strings ***\n";
20 "testing\rstrrev testing strrev",
22 "\ntesting\nstrrev\n testing \n strrev",
54 "/test/r\test\strrev\t\u /uu/",
63 var_dump( strrev($strings[$index]) );
70 *** Testing strrev() : with various double quoted strings ***
H A Dstrrev_variation2.phpt2 Test strrev() function : usage variations - single quoted strings
5 /* Prototype : string strrev(string $str);
10 /* Testing strrev() function with various single quoted strings for 'str' */
12 echo "*** Testing strrev() : with various single quoted strings ***\n";
20 'testing\rstrrev testing strrev',
22 '\ntesting\nstrrev\n testing \n strrev',
54 '/test/r\test\strrev\t\u /uu/',
63 var_dump( strrev($strings[$index]) );
70 *** Testing strrev() : with various single quoted strings ***
H A Dstrrev_variation3.phpt2 Test strrev() function : usage variations - heredoc strings
5 /* Prototype : string strrev(string $str);
10 /* Testing strrev() function with heredoc strings for 'str' */
12 echo "*** Testing strrev() function: with heredoc strings ***\n";
56 var_dump( strrev($strings[$index]) );
63 *** Testing strrev() function: with heredoc strings ***
/PHP-5.3/ext/xsl/tests/
H A Dxsltprocessor_registerPHPFunctions-array-multiple.phpt24 var_dump($proc->registerPHPFunctions(array('strrev', 'array_key_exists')));
/PHP-5.3/ext/oci8/tests/
H A Ddefine3.phpt34 $data = strrev($data);
/PHP-5.3/ext/mysqli/tests/
H A D061.phpt25 $buffer = strrev(fread($fp, $buflen));
/PHP-5.3/ext/standard/
H A Dphp_string.h59 PHP_FUNCTION(strrev);
H A Dstring.c2843 PHP_FUNCTION(strrev) argument
H A Dbasic_functions.c2732 PHP_FE(strrev, arginfo_strrev)

Completed in 47 milliseconds