3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $result = array(); foreach ($numbers as $number) { $result[] = $number * 10; } return $result;
based on Lt8Xu
Output for 5.6.0 - 7.3.0rc4
Notice: Undefined variable: numbers in /in/8adv7 on line 4 Warning: Invalid argument supplied for foreach() in /in/8adv7 on line 4