3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface UserFinderByEmail { public function find(string $email): ?User; } interface UserKarmaFinder { public function find(User $user): int; }

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.4.120.0120.00820.43
8.4.110.0130.00918.55
8.4.100.0080.00517.67
8.4.90.0060.01217.33
8.4.80.0100.00819.35
8.4.70.0050.00417.70
8.4.60.0070.00222.53
8.4.50.0120.00818.55
8.4.40.0150.00318.55
8.4.30.0180.00320.55
8.4.20.0100.01017.71
8.4.10.0080.00019.18
8.3.250.0100.00818.65
8.3.240.0120.00716.50
8.3.230.0130.00516.51
8.3.220.0100.00916.65
8.3.210.0070.01216.41
8.3.200.0140.00616.63
8.3.190.0100.00816.95
8.3.180.0100.00816.79
8.3.170.0070.01019.04
8.3.160.0070.01118.16
8.3.150.0030.00716.46
8.3.140.0060.01216.39
8.3.130.0000.00818.28
8.3.120.0110.00418.79
8.3.110.0060.00320.94
8.3.100.0090.00016.38
8.3.90.0030.00526.77
8.3.80.0070.00417.97
8.3.70.0140.00018.13
8.3.60.0100.01016.50
8.3.50.0090.01216.39
8.3.40.0100.00322.13
8.3.30.0110.00421.78
8.3.20.0140.00324.18
8.3.10.0070.00024.66
8.3.00.0040.00426.16
8.2.290.0050.00320.40
8.2.280.0090.01018.31
8.2.270.0040.01417.02
8.2.260.0050.00318.15
8.2.250.0040.00418.27
8.2.240.0080.00018.66
8.2.230.0060.00322.58
8.2.220.0000.00824.06
8.2.210.0060.00326.77
8.2.200.0070.00716.63
8.2.190.0130.00916.58
8.2.180.0160.00316.38
8.2.170.0110.00418.83
8.2.160.0130.00322.96
8.2.150.0060.00325.66
8.2.140.0030.00524.66
8.2.130.0050.00326.16
8.2.120.0050.00220.97
8.2.110.0040.00720.45
8.2.100.0090.00021.00
8.2.90.0110.00018.73
8.2.80.0070.00318.40
8.2.70.0090.00020.00
8.2.60.0070.00318.33
8.2.50.0040.00420.36
8.2.40.0030.00718.53
8.2.30.0060.00318.70
8.2.20.0080.00320.11
8.2.10.0070.00418.92
8.2.00.0000.00820.63
8.1.330.0130.00616.30
8.1.320.0100.01015.95
8.1.310.0060.00918.53
8.1.300.0120.00615.84
8.1.290.0080.00030.84
8.1.280.0130.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00326.35
8.1.250.0000.00728.09
8.1.240.0030.00718.29
8.1.230.0050.00520.15
8.1.220.0060.00318.36
8.1.210.0100.00019.73
8.1.200.0030.00620.11
8.1.190.0000.01018.32
8.1.180.0100.00018.25
8.1.170.0070.00320.27
8.1.160.0000.00920.41
8.1.150.0110.00020.61
8.1.140.0040.00718.31
8.1.130.0030.00718.31
8.1.120.0090.00018.43
8.1.110.0090.00020.23
8.1.100.0070.00418.42
8.1.90.0030.00618.38
8.1.80.0080.00320.05
8.1.70.0060.00318.81
8.1.60.0100.00018.54
8.1.50.0100.00020.12
8.1.40.0030.00618.56
8.1.30.0070.00320.60
8.1.20.0030.00720.39
8.1.10.0050.00518.63
8.1.00.0060.00320.25
8.0.300.0100.00017.64
8.0.290.0100.00017.65
8.0.280.0060.00319.48
8.0.270.0100.00017.68
8.0.260.0030.00719.69
8.0.250.0000.00917.53
8.0.240.0100.00017.77
8.0.230.0090.00019.86
8.0.220.0090.00017.74
8.0.210.0030.00617.56
8.0.200.0070.00317.74
8.0.190.0100.00018.34
8.0.180.0110.00017.71
8.0.170.0060.00617.75
8.0.160.0130.00017.88
8.0.150.0040.00419.52
8.0.140.0100.00017.66
8.0.130.0060.00319.98
8.0.120.0060.00317.75
8.0.110.0060.00317.76
8.0.100.0090.00019.37
8.0.90.0090.00017.76
8.0.80.0060.00319.43
8.0.70.0070.00317.76
8.0.60.0060.00318.14
8.0.50.0070.00317.60
8.0.30.0080.00020.13
8.0.20.0090.00019.61
8.0.10.0100.00017.87

preferences:
26.58 ms | 403 KiB | 5 Q