3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_intersect_key(array(0=>'0',1=>'1',2=>'2',3=>'3',4=>'4'), array_flip(array(0,2,3))));

preferences:
43.95 ms | 402 KiB | 5 Q