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.0150.00618.55
8.3.50.0070.00718.31
8.3.40.0120.00318.84
8.3.30.0130.00318.65
8.3.20.0080.00019.02
8.3.10.0050.00319.43
8.3.00.0040.00423.59
8.2.180.0190.00618.66
8.2.170.0120.00322.96
8.2.160.0110.00419.51
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00419.75
8.2.120.0070.00026.35
8.2.110.0090.00021.12
8.2.100.0070.00417.84
8.2.90.0000.00818.03
8.2.80.0080.00018.05
8.2.70.0040.00417.93
8.2.60.0040.00417.93
8.2.50.0000.00818.10
8.2.40.0000.00719.30
8.2.30.0040.00419.43
8.2.20.0040.00418.05
8.2.10.0000.00818.23
8.2.00.0000.00719.49
8.1.280.0000.01525.92
8.1.270.0080.00021.96
8.1.260.0000.00826.35
8.1.250.0090.00028.09
8.1.240.0030.00623.98
8.1.230.0040.00721.03
8.1.220.0040.00417.79
8.1.210.0040.00418.89
8.1.200.0080.00017.35
8.1.190.0040.00717.38
8.1.180.0000.00918.10
8.1.170.0080.00018.53
8.1.160.0020.00518.78
8.1.150.0040.00418.76
8.1.140.0040.00417.68
8.1.130.0030.00318.95
8.1.120.0000.00717.40
8.1.110.0040.00417.46
8.1.100.0000.01017.39
8.1.90.0040.00417.43
8.1.80.0000.00717.41
8.1.70.0070.00017.43
8.1.60.0080.00017.58
8.1.50.0040.00417.55
8.1.40.0000.00817.55
8.1.30.0080.00017.57
8.1.20.0050.00217.58
8.1.10.0050.00217.57
8.1.00.0000.00817.55
8.0.300.0000.00720.03
8.0.290.0040.00416.63
8.0.280.0040.00318.44
8.0.270.0070.00017.27
8.0.260.0030.00317.11
8.0.250.0070.00016.93
8.0.240.0030.00317.01
8.0.230.0030.00316.96
8.0.220.0040.00416.91
8.0.210.0000.00716.99
8.0.200.0090.00016.96
8.0.190.0060.00316.98
8.0.180.0000.00716.80
8.0.170.0030.00616.91
8.0.160.0000.00716.95
8.0.150.0000.00816.88
8.0.140.0040.00316.77
8.0.130.0000.00613.27
8.0.120.0050.00316.94
8.0.110.0040.00416.69
8.0.100.0000.00716.93
8.0.90.0040.00416.76
8.0.80.0100.01016.92
8.0.70.0070.00016.76
8.0.60.0000.00716.94
8.0.50.0070.00016.76
8.0.30.0090.00817.31
8.0.20.0090.00917.40
8.0.10.0000.00716.96
8.0.00.0040.01516.95
7.4.330.0000.00515.55
7.4.320.0060.00016.44
7.4.300.0000.00616.50
7.4.290.0000.00716.66
7.4.280.0080.00016.50
7.4.270.0040.00416.55
7.4.260.0000.00716.48
7.4.250.0040.00416.46
7.4.240.0030.00516.43
7.4.230.0030.00316.53
7.4.220.0000.00816.43
7.4.210.0060.01216.52
7.4.200.0040.00416.67
7.4.160.0100.00716.47
7.4.140.0090.01317.86
7.4.130.0100.00716.64
7.4.120.0120.01116.49
7.4.110.0060.01016.65
7.4.100.0070.01016.41
7.4.90.0060.01316.51
7.4.80.0150.00819.39
7.4.70.0030.01316.43
7.4.60.0060.01816.37
7.4.50.0080.00816.32
7.4.40.0060.01516.65
7.3.330.0020.00213.50
7.3.320.0000.00713.24
7.3.310.0000.00616.30
7.3.300.0030.00316.45
7.3.290.0050.00216.43
7.3.280.0060.01216.44
7.3.260.0110.00816.48
7.3.240.0060.01116.42
7.3.230.0160.00416.56
7.3.210.0130.00416.49
7.3.200.0080.00816.53
7.3.190.0170.00316.66
7.3.180.0040.01116.46
7.3.170.0100.00616.31
7.3.160.0120.00316.40
7.2.330.0090.00916.72
7.2.320.0130.01016.52
7.2.310.0060.01616.34
7.2.300.0100.00716.66
7.2.290.0060.01116.68

preferences:
56.17 ms | 400 KiB | 5 Q