3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(5 => 'test', 6 => 'test2', 7 => 'test3'); print_r(array_intersect_key($a, array_flip(array(7, 5)));
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ';' in /in/CKsRj on line 4
Process exited with code 255.