3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $myarray = array(30.05, 20.34, 99.00); foreach ($myarray as &$value) {
 $value = $value * 1.085; //add tax
 }
Output for 5.4.0 - 5.4.24
Parse error: syntax error, unexpected '$value' (T_VARIABLE) in /in/AsQlq on line 6
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/AsQlq on line 6
Process exited with code 255.