3v4l.org

run code in 150+ 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 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.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 }