3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $kola = array ("opel"=>"45", "ww"=>"35" , "Honda"=>"25", "Lada"=>"15"); $br = count($kola); foreach ($kola as $x=>$x_value) { echo "Ime je " . $x . ", a starost je " . $_value . "\n"; } ?>
based on IpXjR
Output for 5.6.0 - 7.3.0rc4
Notice: Undefined variable: _value in /in/X7RX9 on line 5 Ime je opel, a starost je Notice: Undefined variable: _value in /in/X7RX9 on line 5 Ime je ww, a starost je Notice: Undefined variable: _value in /in/X7RX9 on line 5 Ime je Honda, a starost je Notice: Undefined variable: _value in /in/X7RX9 on line 5 Ime je Lada, a starost je