3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sayi = 89; for($i=2;$i<=$sayi;$++) { if($sayi%$i==0) break; if($i==$sayi-1) { echo 'asal bu'; } }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.20.0200.03720.19
7.0.10.0030.04320.23
7.0.00.0000.05020.25
5.6.170.0300.07020.45
5.6.160.0130.06720.63
5.6.150.0070.08318.12
5.6.140.0130.05718.28
5.6.130.0000.05318.28
5.6.120.0100.07721.00
5.6.110.0030.04321.08
5.6.100.0070.05321.16
5.6.90.0100.04721.10
5.6.80.0030.06720.38
5.5.310.0330.07720.39
5.5.300.0030.04317.94
5.5.290.0100.07017.93
5.5.280.0070.08320.84
5.5.270.0000.06020.63
5.5.260.0000.08720.86
5.5.250.0170.07320.70
5.5.240.0270.07320.15

preferences:
138.55 ms | 1394 KiB | 7 Q