xref: /PHP-5.4/ext/standard/tests/strings/strrev.phpt (revision d94136fc)
1--TEST--
2strrev() function
3--FILE--
4<?php
5	$i = 0;
6	$str = '';
7
8	while ($i<256) {
9		$str .= chr($i++);
10	}
11
12	var_dump(md5(strrev($str)));
13	var_dump(strrev(NULL));
14	var_dump(strrev(""));
15?>
16--EXPECT--
17string(32) "ec6df70f2569891eae50321a9179eb82"
18string(0) ""
19string(0) ""
20