3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function add_something($var, $something) { $var += $something; return (int)$var; } $number = 1; echo add_something($number,3); echo $number;
Output for 4.3.0 - 7.2.0
41