The JAPH Testing Suite
Below are a series of JAPH PHP scripts I've written. These are useless scripts,
they just exist to make you confused (and, in my case, show off skill).
Note: These scripts were written ages ago, back when I was just learning PHP. In all honesty, they are
a poor testament to my skill (particularly the second code).
Example
Just ano@x&)xmnxi)3%.j
Code
<?php
$str='a0Jiuaetsanext5agec 94ka,sa3Aij3lznn03tyzk.orpawfkx
t@mvx$*%$lahxn3m0_!+4kze&n#.kxf )3#5r)938zj3k.npo
tx0azik3n.wrasp4mknz093fnapol#han$j
ikx.@r-~f/p%7xnz^ojl,)2z&3a
f0xi34.Thzkasd$f^&h&#$)(zkjnop.q f%115a0z-3((k; |@*r$^j/e`3ca$*%0kn(t
z*nt?4<n%@k*%@l.k43nj0]4v r/z",b4e0$8@j .4n(7s(f_"/a,4,<ir';
for($i=1;$i<strlen($str);$i+=2){print $str{(($i==1)?$i+$k=1:$i+=$k++)};}
?>
Example
1 number, nothing to do with it... yet. 2 numbers, nothing to do with them... yet.
3 numbers, nothing to do with them... yet. 4 numbers, nothing to do with them... yet.
5 numbers, nothing to do with them... yet. 6 numbers, nothing to do with them... yet.
7 numbers, nothing to do with them... yet. 8 numbers, nothing to do with them... yet.
9 numbers, nothing to do with them... yet. 10 numbers, nothing to do with them... yet.
11 numbers, nothing to do with them... yet. 12 numbers, nothing to do with them... yet.
13 numbers, nothing to do with them... yet. 14 numbers, nothing to do with them... yet.
15 numbers, nothing to do with them... yet. 16 numbers, nothing to do with them... yet.
17 numbers, nothing to do with them... yet. 18 numbers, nothing to do with them... yet.
19 numbers, nothing to do with them... yet. 20 numbers, nothing to do with them... yet.
21 numbers, nothing to do with them... yet. 22 numbers, nothing to do with them... yet.
23 numbers, nothing to do with them... yet. 24 numbers, nothing to do with them... yet.
25 numbers, nothing to do with them... yet. 26 numbers, nothing to do with them... yet.
Code
<?php
for($i=($n=125/5+16/2-32);$i<27;$i++){
echo "$i ".(($i<2)?"number":"numbers").", nothing to do with ".(($i<2)?"it":"them")."... yet. ";
echo ($i%2==0)?"<br>":"";
}
?>