3v4l.org

run code in 500+ PHP versions simultaneously
<?php class User {} interface UserFinder { function findUserByEmail(): ?User; } class AlwaysNullUserFinder implements UserFinder { function findUserByEmail(): never { throw new Exception('Not implemented'); } } $a = new AlwaysNullUserFinder; $a->findUserByEmail();

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.5.30.0040.00419.00
8.5.20.0090.00819.43
8.5.10.0110.00720.33
8.5.00.0130.01022.09
8.4.180.0130.00922.02
8.4.170.0140.00720.34
8.4.160.0110.01123.95
8.4.150.0090.00517.77
8.4.140.0120.01017.65
8.4.130.0130.00618.57
8.4.120.0110.00924.16
8.4.110.0060.00619.19
8.4.100.0050.00418.77
8.4.90.0020.00620.84
8.4.80.0130.00718.91
8.4.70.0110.00718.38
8.4.60.0110.01019.05
8.4.50.0130.00818.82
8.4.40.0090.00917.96
8.4.30.0130.00620.61
8.4.20.0030.01717.90
8.4.10.0040.00421.95
8.3.300.0080.01520.82
8.3.290.0080.01220.55
8.3.280.0130.00718.32
8.3.270.0140.00516.67
8.3.260.0060.00216.74
8.3.250.0090.01018.88
8.3.240.0140.00818.66
8.3.230.0090.00718.49
8.3.220.0130.00519.05
8.3.210.0070.00116.68
8.3.200.0060.00316.79
8.3.190.0070.00217.02
8.3.180.0110.00717.03
8.3.170.0100.00318.92
8.3.160.0110.01016.68
8.3.150.0040.00417.09
8.3.140.0070.01116.92
8.3.130.0040.01518.44
8.3.120.0090.00620.87
8.3.110.0060.00316.88
8.3.100.0070.00324.06
8.3.90.0110.00726.77
8.3.80.0000.01016.63
8.3.70.0070.00716.58
8.3.60.0060.01016.75
8.3.50.0060.01018.42
8.3.40.0090.00622.28
8.3.30.0060.01318.61
8.3.20.0000.00724.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.300.0150.00622.27
8.2.290.0100.00720.48
8.2.280.0130.00618.52
8.2.270.0080.00017.27
8.2.260.0120.00618.69
8.2.250.0080.00016.87
8.2.240.0060.00318.84
8.2.230.0000.00820.94
8.2.220.0120.00337.54
8.2.210.0090.00626.77
8.2.200.0120.00018.54
8.2.190.0140.00016.75
8.2.180.0100.00625.92
8.2.170.0120.00918.96
8.2.160.0100.00322.96
8.2.150.0000.00825.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00426.16
8.2.110.0040.00722.11
8.2.100.0080.00418.03
8.2.90.0000.00817.75
8.2.80.0050.00518.79
8.2.70.0060.00317.73
8.2.60.0040.00417.63
8.2.50.0080.00018.05
8.2.40.0040.00419.88
8.2.30.0050.00317.96
8.2.20.0040.00419.13
8.2.10.0000.00718.08
8.2.00.0030.00319.25
8.1.340.0080.01223.38
8.1.330.0100.00922.07
8.1.320.0090.00820.12
8.1.310.0090.00916.18
8.1.300.0050.00318.26
8.1.290.0060.00330.84
8.1.280.0090.00925.92
8.1.270.0050.00324.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0070.00322.42
8.1.230.0070.00419.07
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0000.00817.25
8.1.190.0040.00417.00
8.1.180.0090.00018.10
8.1.170.0060.00317.62
8.1.160.0040.00418.97
8.1.150.0000.00818.64
8.1.140.0000.00717.39
8.1.130.0000.00718.91
8.1.120.0030.00317.48
8.1.110.0040.00417.45
8.1.100.0040.00417.49
8.1.90.0080.00417.37
8.1.80.0070.00317.47
8.1.70.0090.00317.42
8.1.60.0140.00417.53
8.1.50.0030.00717.48
8.1.40.0080.00417.53
8.1.30.0130.00617.64
8.1.20.0140.00517.61
8.1.10.0160.00217.58
8.1.00.0140.00417.44
8.0.300.0050.00219.73
8.0.290.0040.00416.62
8.0.280.0070.00018.45
8.0.270.0030.00516.82
8.0.260.0070.00018.39
8.0.250.0000.00716.89
8.0.240.0000.00716.96
8.0.230.0070.00316.91
8.0.220.0080.00616.85
8.0.210.0120.00316.76
8.0.200.0120.00316.79
8.0.190.0080.00716.88
8.0.180.0120.00316.84
8.0.170.0070.00816.80
8.0.160.0060.00816.76
8.0.150.0090.00616.79
8.0.140.0100.00516.78
8.0.130.0120.00516.77
8.0.120.0100.00516.79
8.0.110.0070.00716.78
8.0.100.0050.00716.75
8.0.90.0070.00816.86
8.0.80.0120.00216.83
8.0.70.0090.00516.73
8.0.60.0050.01016.79
8.0.50.0090.00616.79
8.0.30.0080.00716.79
8.0.20.0110.00416.90
8.0.10.0110.00416.92
7.4.330.0060.00015.55
7.4.320.0000.00616.30
7.4.300.0080.00816.51
7.4.290.0060.00816.52
7.4.280.0060.00516.26
7.4.270.0090.00216.20
7.4.260.0060.00416.05
7.4.250.0110.00316.43
7.4.240.0080.00516.39
7.4.230.0040.00816.47
7.4.220.0060.00516.45
7.4.210.0070.00516.15
7.4.200.0080.00316.35
7.4.190.0100.00316.43
7.4.180.0100.00416.47
7.4.160.0100.00516.45
7.4.150.0060.00716.44
7.4.140.0060.00716.35
7.4.130.0090.00516.22
7.4.120.0130.00316.31
7.4.110.0080.00716.32
7.4.100.0090.00516.47
7.4.90.0090.00516.38
7.4.80.0090.00616.34
7.4.70.0120.00316.31
7.4.60.0070.00616.30
7.4.50.0030.00516.29
7.4.40.0040.00516.25
7.4.30.0030.00416.24
7.4.20.0030.00416.30
7.4.10.0030.00416.40
7.4.00.0030.00316.38

preferences:
50.8 ms | 1272 KiB | 5 Q