3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo array_diff( range('A', 'Z'), ['I', 'L', 'O', 'U'] );
based on mpAOW
Output for 7.0.0 - 7.2.0
Notice: Array to string conversion in /in/kdcum on line 4 Array
Output for 5.4.1 - 5.6.28
Notice: Array to string conversion in /in/kdcum on line 5 Array
Output for 5.3.18 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/kdcum on line 4
Process exited with code 255.