3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function fn_simple_decode_str($str) { $decoded_str = ''; for ($i = 0; $i < fn_strlen($str); $i++) { $chr = ord($str[$i]); $decoded_str .= chr(--$chr); } return $decoded_str; } echo strrev(str_rot13('cuc.xfrqcyrU/utlG/ccn')), PHP_EOL; echo strrev(str_rot13('cuc.8sgh/ergeriabp_ynergvy/fnzrupf/ccn')), PHP_EOL; echo fn_simple_decode_str('npef`sfdifdl'), PHP_EOL;
based on DD5Kb
Output for 7.0.0 - 7.2.0
app/Tygh/Helpdesk.php app/schemas/literal_converter/utf8.php Fatal error: Uncaught Error: Call to undefined function fn_strlen() in /in/DZnuJ:6 Stack trace: #0 /in/DZnuJ(16): fn_simple_decode_str('npef`sfdifdl') #1 {main} thrown in /in/DZnuJ on line 6
Process exited with code 255.
Output for 5.3.19 - 5.6.28
app/Tygh/Helpdesk.php app/schemas/literal_converter/utf8.php Fatal error: Call to undefined function fn_strlen() in /in/DZnuJ on line 6
Process exited with code 255.