3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function encode($to_encode){ $i=0; $len=strlen($to_encode); $ret=''; for($i=0;$i<$len;++$i){ $ret.=ord($to_encode[$i]); } return $ret; } function decode($numberstr){ $numberstr=(string)$numberstr; $ret=''; $i=0; } var_dump(encode("thequickbrownfox"));
Output for 4.3.0 - 7.1.0
string(46) "1161041011131171059910798114111119110102111120"