3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $cpuser=array( 'login'=>$user['login'].'_ff', 'password'=>'fd' ); var_dump($cpuser+array('server'=>$server_data['host'], 'tarif'=>$tarif['name']));
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: user in /in/UcK8A on line 3 Notice: Undefined variable: server_data in /in/UcK8A on line 7 Notice: Undefined variable: tarif in /in/UcK8A on line 7 array(4) { ["login"]=> string(3) "_ff" ["password"]=> string(2) "fd" ["server"]=> NULL ["tarif"]=> NULL }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: user in /in/UcK8A on line 3 Notice: Undefined variable: server_data in /in/UcK8A on line 7 Notice: Undefined variable: tarif in /in/UcK8A on line 7 array(4) { ["login"]=> string(3) "_ff" ["password"]=> string(2) "fd" ["server"]=> NULL ["tarif"]=> NULL }