3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo 'post_max_size in bytes = '.return_byte(); function return_bytes(8M) { $val = trim($val); $last =str_split($val); $last[1]=$valu; echo $valu; switch($valu) { case 'M': echo 'm'; break; default: return $val; } } ?>
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected '8' (T_LNUMBER), expecting '&' or variable (T_VARIABLE) in /in/qCtbR on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected T_LNUMBER, expecting '&' or T_VARIABLE in /in/qCtbR on line 3
Process exited with code 255.