3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=" "; echo "enter the number of rows"; $b=fgets(STDIN); $num=1; for($a=1;a>$b;$a++) { echo "$a"; exit(0); }

preferences:
31.86 ms | 402 KiB | 5 Q