TypePHP 编译器
https://swoole.com/aot/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
346 B
25 lines
346 B
--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
|
|
|