3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php [] - [];
Output for 5.6.0 - 5.6.38, 7.0.0 - 7.2.11
Fatal error: Unsupported operand types in /in/402jN on line 3
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Invalid operand type was used: cannot perform this operation with arrays in /in/402jN on line -1
Process exited with code 255.
Output for hhvm-3.18.4 - 3.21.3
Fatal error: Invalid operand type was used: cannot perform this operation with arrays in /in/402jN on line 3
Process exited with code 255.