php-src/ext/standard/tests/strings/bug20261.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

26 lines
346 B
PHP

--TEST--
Bug #20261 (str_rot13() changes too much)
--FILE--
<?php
$first = "boo";
$second = $first;
$rot = "";
echo "1: ".$first."\n";
echo "2: ".$second."\n";
echo "3: ".$rot."\n";
$rot = str_rot13($second);
echo "1: ".$first."\n";
echo "2: ".$second."\n";
echo "3: ".$rot."\n";
?>
--EXPECT--
1: boo
2: boo
3:
1: boo
2: boo
3: obb