3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s_con = array_values(array_filter(file('count.txt'), create_function('$a', 'return rtrim($a) != "~";'))); $index = file_get_contents('count_index.txt'); file_put_contents('count_index.txt', ($index + 1) % count($s_con)); // PHP5 echo $s_con[$index]; var_dump(($index + 1) % count($s_con));

preferences:
36.86 ms | 402 KiB | 5 Q