mirror of
https://github.com/php/php-src.git
synced 2024-10-16 14:02:37 +00:00
87fac43ac0
- html_translation_table and setlocale tests are no longer relevant - there are a number of ANSI-encoded files. Is this deliberate?
26 lines
346 B
PHP
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
|