3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php $a = array( array(0, 'foo'), array(1, 'bar') ); $b = array( array(0, 'foo'), array(2, 'baz') ); $intersect = array_intersect($a, $b); var_dump($intersect);
Output for 5.3.0 - 5.4.8
Parse error: syntax error, unexpected '<' in /in/j7Aq2 on line 2
Process exited with code 255.