3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (defined('HHVM_VERSION')) { exit('*HHVM skipped*'); } // The following line will emit some error, because reset()'s argument cannot be passed by value var_dump(reset(array_flip(array('foo' => 'bar'))));

preferences:
64.01 ms | 402 KiB | 5 Q