3v4l.org

run code in 300+ PHP versions simultaneously
<?php $yearArray =array_combine(range(1, 50),range(1, 50)); //print_r($yearArray); print_r(array_slice($yearArray, 0, 11, true));

preferences:
37.67 ms | 402 KiB | 5 Q