3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $babe = array(‘bust’ => 32, ‘waist’ => 24, ‘hips’ => 37); foreach ($babe as $value) { print $value; }
Output for 7.2.0 - 7.3.0alpha1
Warning: Use of undefined constant ‘bust’ - assumed '‘bust’' (this will throw an Error in a future version of PHP) in /in/JEdQj on line 2 Warning: Use of undefined constant ‘waist’ - assumed '‘waist’' (this will throw an Error in a future version of PHP) in /in/JEdQj on line 2 Warning: Use of undefined constant ‘hips’ - assumed '‘hips’' (this will throw an Error in a future version of PHP) in /in/JEdQj on line 2 322437
Output for 4.3.0 - 7.1.10
Notice: Use of undefined constant ‘bust’ - assumed '‘bust’' in /in/JEdQj on line 2 Notice: Use of undefined constant ‘waist’ - assumed '‘waist’' in /in/JEdQj on line 2 Notice: Use of undefined constant ‘hips’ - assumed '‘hips’' in /in/JEdQj on line 2 322437