3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $what = "hey@hey.com"; $test = $array(); $test[$what]; ?>
based on StYCS
Output for 7.0.0 - 7.3.0rc3
Notice: Undefined variable: array in /in/Woc0I on line 4 Fatal error: Uncaught Error: Function name must be a string in /in/Woc0I:4 Stack trace: #0 {main} thrown in /in/Woc0I on line 4
Process exited with code 255.
Output for hhvm-3.18.4 - 3.21.0
Notice: Undefined variable: array in /in/Woc0I on line 4 Fatal error: Uncaught Error: Function name must be a string in /in/Woc0I:4 Stack trace: #0 {main}
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Notice: Undefined variable: array in /in/Woc0I on line 4 Fatal error: Function name must be a string in /in/Woc0I on line 4
Process exited with code 255.