Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Rot-13/PHP/rot-13-1.php
Normal file
1
Task/Rot-13/PHP/rot-13-1.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
echo str_rot13('foo'), "\n";
|
||||
8
Task/Rot-13/PHP/rot-13-2.php
Normal file
8
Task/Rot-13/PHP/rot-13-2.php
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
<?php
|
||||
function rot13($s) {
|
||||
return strtr($s, 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',
|
||||
'NOPQRSTUVWXYZABCDEFGHIJKLMnopqrstuvwxyzabcdefghijklm');
|
||||
}
|
||||
|
||||
echo rot13('foo'), "\n";
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue