3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo 'CURRENT: '.current( array_filter([3=>'three',7=>'seven'], function($e){ return stripos($e,'ee'); } ) ).PHP_EOL; echo 'RESET: '.reset( array_filter([3=>'three',7=>'seven'], function($e){ return stripos($e,'ee'); } ) );

preferences:
47.46 ms | 530 KiB | 15 Q