3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ids=array("a","s"),array("b","s"), array("c","s"), array("e","s"); $groups=array(array("b","s"),array("c","s")); array_walk($groups,function($v,$i)use(&$ids){ $ids=array_intersect ($ids,$v); }); print_r($ids);
Output for 5.3.0 - 5.4.22
Parse error: syntax error, unexpected ',' in /in/SsgkP on line 2
Process exited with code 255.