3v4l.org

run code in 300+ PHP versions simultaneously
mak<?php $data = array( 0, 1, 2 ); print_r( array_flip($data) );

preferences:
32.4 ms | 402 KiB | 5 Q