3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ilk = 5; $iki = 3; $ust = fact($ilk); $alt = fact($iki) * fact($ilk - $iki); echo $ust / $alt; function fact(int $sayi){ for(; $sayi>0; $sayi--){ echo $sayi; } }

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)
8.3.60.0090.01218.43
8.3.50.0110.00318.03
8.3.40.0090.00618.84
8.3.30.0090.00618.71
8.3.20.0030.00520.92
8.3.10.0080.00019.46
8.3.00.0050.00323.66
8.2.180.0160.00618.43
8.2.170.0060.00922.96
8.2.160.0080.00819.32
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0000.00719.64
8.2.120.0050.00326.35
8.2.110.0110.00021.04
8.2.100.0060.00617.84
8.2.90.0030.00617.84
8.2.80.0050.00317.97
8.2.70.0000.00817.79
8.2.60.0040.00418.03
8.2.50.0030.00518.10
8.2.40.0040.00419.27
8.2.30.0050.00219.45
8.2.20.0040.00418.05
8.2.10.0000.00818.17
8.2.00.0000.00719.40
8.1.280.0120.00625.92
8.1.270.0050.00322.15
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00622.38
8.1.230.0080.00321.04
8.1.220.0040.00417.78
8.1.210.0000.00818.89
8.1.200.0060.00317.35
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00818.57
8.1.160.0000.00718.88
8.1.150.0040.00418.84
8.1.140.0000.00717.63
8.1.130.0030.00319.00
8.1.120.0000.00817.33
8.1.110.0000.00717.38
8.1.100.0030.00517.29
8.1.90.0000.01017.38
8.1.80.0000.00817.37
8.1.70.0040.00417.42
8.1.60.0040.00417.61
8.1.50.0040.00417.51
8.1.40.0040.00417.55
8.1.30.0090.00017.58
8.1.20.0040.00417.58
8.1.10.0030.00617.48
8.1.00.0050.00317.52
8.0.300.0000.00820.05
8.0.290.0040.00416.84
8.0.280.0030.00318.35
8.0.270.0000.00717.19
8.0.260.0030.00317.13
8.0.250.0070.00016.99
8.0.240.0040.00317.04
8.0.230.0030.00317.01
8.0.220.0040.00416.96
8.0.210.0000.00716.90
8.0.200.0050.00516.95
8.0.190.0080.00016.95
8.0.180.0040.00416.84
8.0.170.0040.00416.92
8.0.160.0080.00016.90
8.0.150.0000.00716.71
8.0.140.0050.00316.75
8.0.130.0030.00313.30
8.0.120.0070.00016.84
8.0.110.0000.00716.71
8.0.100.0040.00416.86
8.0.90.0070.00016.85
8.0.80.0100.00916.82
8.0.70.0000.00716.86
8.0.60.0000.00716.71
8.0.50.0040.00416.89
8.0.30.0100.00917.04
8.0.20.0160.00617.40
8.0.10.0090.00017.03
8.0.00.0060.01216.67
7.4.330.0000.00515.55
7.4.320.0060.00016.53
7.4.300.0030.00316.42
7.4.290.0030.00316.46
7.4.280.0040.00416.49
7.4.270.0000.00816.47
7.4.260.0000.00716.60
7.4.250.0040.00416.46
7.4.240.0050.00216.63
7.4.230.0070.00016.70
7.4.220.0060.00316.40
7.4.210.0050.00916.58
7.4.200.0050.00216.34
7.4.160.0130.00316.61
7.4.140.0090.00917.86
7.4.130.0060.01216.45
7.4.120.0090.01116.41
7.4.110.0130.00316.52
7.4.100.0150.00716.62
7.4.90.0080.00916.49
7.4.80.0170.00619.39
7.4.70.0080.01216.63
7.4.60.0090.00916.30
7.4.50.0070.00316.48
7.4.40.0150.00616.50
7.3.330.0050.00013.38
7.3.320.0030.00313.21
7.3.310.0080.00016.32
7.3.300.0000.00716.30
7.3.290.0030.00316.39
7.3.280.0060.01116.40
7.3.260.0100.00916.43
7.3.240.0070.01116.48
7.3.230.0190.00016.33
7.3.210.0110.00616.36
7.3.200.0090.00916.36
7.3.190.0080.01316.73
7.3.180.0030.01216.44
7.3.170.0070.01316.46
7.3.160.0040.01216.46
7.2.330.0100.00716.41
7.2.320.0090.00916.67
7.2.310.0140.00616.76
7.2.300.0070.01116.77
7.2.290.0130.01016.63

preferences:
52.74 ms | 401 KiB | 5 Q