3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a1 = [1,2]; $a2 = [3,4]; echo $a1;
Output for 5.4.13 - 7.3.0rc4
Notice: Array to string conversion in /in/efl3V on line 5 Array
Output for 5.3.23 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/efl3V on line 3
Process exited with code 255.