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