| Revision 20119,
325 bytes
checked in by nanasess, 15 years ago
(diff) |
|
module 以下は svn:keywords を除外
|
-
Property svn:eol-style set to
LF
|
| Line | |
|---|
| 1 | --TEST-- |
|---|
| 2 | Function -- str_rot13 |
|---|
| 3 | --SKIPIF-- |
|---|
| 4 | <?php if (function_exists('str_rot13')) { echo 'skip'; } ?> |
|---|
| 5 | --FILE-- |
|---|
| 6 | <?php |
|---|
| 7 | require_once 'PHP/Compat.php'; |
|---|
| 8 | PHP_Compat::loadFunction('str_rot13'); |
|---|
| 9 | |
|---|
| 10 | $str = "The quick brown fox jumped over the lazy dog."; |
|---|
| 11 | echo str_rot13($str); |
|---|
| 12 | ?> |
|---|
| 13 | --EXPECT-- |
|---|
| 14 | Gur dhvpx oebja sbk whzcrq bire gur ynml qbt. |
|---|
Note: See
TracBrowser
for help on using the repository browser.