3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $dataA = ['xx','xxx','xxx']; var_dump($data); $dataO = (object) ['xx','xxx','xxx']; var_dump($data);
based on krSjR
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.3.0beta1
Notice: Undefined variable: data in /in/dNCHR on line 3 NULL Notice: Undefined variable: data in /in/dNCHR on line 5 NULL
Output for hhvm-3.22.0
Notice: Undefined variable: data in /in/dNCHR on line -1 NULL Notice: Undefined variable: data in /in/dNCHR on line -1 NULL