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.0070.01418.33
8.3.50.0080.00818.20
8.3.40.0120.00318.84
8.3.30.0040.01118.67
8.3.20.0080.00018.94
8.3.10.0090.00019.35
8.3.00.0050.00223.57
8.2.180.0200.00718.29
8.2.170.0110.00322.96
8.2.160.0040.01119.33
8.2.150.0070.00024.18
8.2.140.0030.00524.66
8.2.130.0080.00019.76
8.2.120.0040.00426.35
8.2.110.0070.00422.25
8.2.100.0120.00017.84
8.2.90.0050.00318.03
8.2.80.0000.00819.34
8.2.70.0000.00817.79
8.2.60.0040.00418.04
8.2.50.0000.00818.10
8.2.40.0090.00019.34
8.2.30.0000.00719.50
8.2.20.0040.00418.05
8.2.10.0000.00718.12
8.2.00.0070.00019.61
8.1.280.0100.00725.92
8.1.270.0040.00422.16
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00420.72
8.1.230.0080.00422.63
8.1.220.0040.00417.74
8.1.210.0040.00418.88
8.1.200.0030.00617.35
8.1.190.0000.00817.35
8.1.180.0030.00518.10
8.1.170.0000.00818.46
8.1.160.0070.00018.82
8.1.150.0000.00718.74
8.1.140.0020.00517.64
8.1.130.0030.00318.88
8.1.120.0050.00217.29
8.1.110.0030.00417.40
8.1.100.0030.00617.28
8.1.90.0060.00317.38
8.1.80.0030.00517.45
8.1.70.0000.00717.32
8.1.60.0040.00417.47
8.1.50.0040.00417.58
8.1.40.0000.00817.41
8.1.30.0050.00517.63
8.1.20.0000.00717.61
8.1.10.0000.00717.58
8.1.00.0030.00617.51
8.0.300.0040.00419.93
8.0.290.0030.00516.63
8.0.280.0000.00718.45
8.0.270.0000.00717.25
8.0.260.0030.00317.13
8.0.250.0070.00016.91
8.0.240.0000.00717.00
8.0.230.0030.00317.00
8.0.220.0040.00416.95
8.0.210.0040.00416.93
8.0.200.0030.00717.01
8.0.190.0080.00017.06
8.0.180.0040.00416.95
8.0.170.0080.00016.92
8.0.160.0000.00716.90
8.0.150.0000.00716.79
8.0.140.0030.00516.86
8.0.130.0030.00313.25
8.0.120.0040.00416.81
8.0.110.0070.00016.76
8.0.100.0000.00816.78
8.0.90.0040.00417.02
8.0.80.0070.01116.89
8.0.70.0040.00416.94
8.0.60.0000.00716.71
8.0.50.0000.00916.89
8.0.30.0100.00717.21
8.0.20.0130.00617.47
8.0.10.0000.00816.82
8.0.00.0120.00816.78
7.4.330.0020.00215.55
7.4.320.0030.00316.55
7.4.300.0070.00016.58
7.4.290.0000.00716.52
7.4.280.0050.00316.46
7.4.270.0000.00716.64
7.4.260.0000.00716.57
7.4.250.0040.00416.46
7.4.240.0040.00416.58
7.4.230.0000.00716.50
7.4.220.0040.00416.51
7.4.210.0080.01016.59
7.4.200.0070.00016.49
7.4.160.0100.00616.47
7.4.140.0090.01117.86
7.4.130.0100.00716.43
7.4.120.0070.01316.46
7.4.110.0070.01016.30
7.4.100.0070.01016.51
7.4.90.0120.00416.48
7.4.80.0140.01019.39
7.4.70.0060.01216.67
7.4.60.0040.01416.65
7.4.50.0040.01116.40
7.4.40.0110.00916.67
7.3.330.0060.00013.39
7.3.320.0000.00613.43
7.3.310.0080.00016.32
7.3.300.0030.00316.47
7.3.290.0000.00716.24
7.3.280.0090.00716.41
7.3.260.0090.01016.50
7.3.240.0090.00816.42
7.3.230.0130.00416.36
7.3.210.0060.01216.67
7.3.200.0060.01116.34
7.3.190.0040.01416.57
7.3.180.0030.01216.33
7.3.170.0120.00616.38
7.3.160.0080.00816.46
7.2.330.0140.00416.72
7.2.320.0150.00916.66
7.2.310.0060.01216.43
7.2.300.0130.00416.29
7.2.290.0050.01416.46

preferences:
64.97 ms | 401 KiB | 5 Q