3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo (string)array();
Output for 4.3.0 - 4.4.9, 5.4.0 - 5.6.38, hhvm-3.10.1 - 3.21.3, 7.0.0 - 7.3.0
Notice: Array to string conversion in /in/4gN72 on line 3 Array
Output for hhvm-3.22.0
Notice: Array to string conversion in /in/4gN72 on line -1 Array
Output for 5.0.0 - 5.3.29
Array