3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $username = $user_data[0]; var_dump($username);
Output for 5.0.4 - 7.1.7
Notice: Undefined variable: user_data in /in/1PvhB on line 2 NULL
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: user_data in /in/1PvhB on line 2 NULL