3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = "someString"; echo ord('z'); function rot13($str) { for ($i = 0,$l = strlen($str);$i<$l;$i++) { $str[$i] = chr(((ord($str[$i])-84)%26)+97); } } echo rot13('z').str_rot13('z');
Output for 4.3.0 - 7.1.0
122m