3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ValidationInterface { public function run(?array $data = null, ?string $group = null, ?string $dbGroup = null): bool; } class Validation implements ValidationInterface { public function run(?array $data = null, ?string $group = null, $dbGroup = null): bool { return true; } } class MyValidation extends Validation { public function run(?array $data = null, ?string $group = null, ?string $dbGroup = null): bool { return true; } }

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.140.0120.01017.64
8.4.130.0150.00617.88
8.4.120.0100.01022.41
8.4.110.0090.00818.64
8.4.100.0120.00818.73
8.4.90.0040.00420.32
8.4.80.0050.00318.92
8.4.70.0160.00620.54
8.4.60.0150.00722.36
8.4.50.0110.00819.41
8.4.40.0040.00718.77
8.4.30.0110.00019.02
8.4.20.0170.00319.99
8.4.10.0040.00419.63
8.3.270.0110.00816.65
8.3.260.0110.00816.67
8.3.250.0120.00718.74
8.3.240.0100.00618.56
8.3.230.0100.01316.61
8.3.220.0100.00719.08
8.3.210.0110.00716.92
8.3.200.0060.00316.73
8.3.190.0150.00316.79
8.3.180.0110.00816.47
8.3.170.0150.00418.85
8.3.160.0000.01416.57
8.3.150.0090.00016.53
8.3.140.0030.00618.99
8.3.130.0080.00018.48
8.3.120.0100.00019.11
8.3.110.0000.00820.94
8.3.100.0080.00024.06
8.3.90.0110.00326.77
8.3.80.0040.00417.97
8.3.70.0150.00018.28
8.3.60.0190.00316.88
8.3.50.0120.01218.50
8.3.40.0170.00322.18
8.3.30.0110.00421.82
8.3.20.0030.00524.18
8.3.10.0090.00524.66
8.3.00.0060.00825.41
8.2.290.0090.00720.42
8.2.280.0130.00720.20
8.2.270.0100.00716.94
8.2.260.0040.00416.59
8.2.250.0090.00916.46
8.2.240.0100.00018.95
8.2.230.0070.00022.58
8.2.220.0100.00037.54
8.2.210.0040.00426.77
8.2.200.0030.00618.29
8.2.190.0110.00318.19
8.2.180.0070.00716.32
8.2.170.0120.00418.96
8.2.160.0070.01022.96
8.2.150.0040.00425.66
8.2.140.0060.00724.66
8.2.130.0150.00325.41
8.2.120.0120.00422.70
8.2.110.0120.00522.54
8.2.100.0120.00621.59
8.2.90.0120.01221.34
8.2.80.0180.00421.25
8.2.70.0160.00120.63
8.2.60.0120.00720.67
8.2.50.0140.00520.71
8.2.40.0110.00820.71
8.2.30.0090.00620.62
8.2.20.0140.00420.58
8.2.10.0100.00520.75
8.2.00.0120.00521.25
8.1.330.0100.00921.74
8.1.320.0100.00917.79
8.1.310.0070.01016.66
8.1.300.0000.00818.04
8.1.290.0040.00730.84
8.1.280.0150.00325.92
8.1.270.0050.00324.33
8.1.260.0070.00125.51
8.1.250.0050.00526.38
8.1.240.0060.00421.10
8.1.230.0060.00620.32
8.1.220.0060.00720.39
8.1.210.0070.00621.30
8.1.200.0080.00320.39
8.1.190.0120.00420.32
8.1.180.0130.00420.37
8.1.170.0100.00620.50
8.1.160.0060.00420.60
8.1.150.0050.00621.63
8.1.140.0060.00820.41
8.1.130.0060.00620.47
8.1.120.0080.00420.54
8.1.110.0120.00120.51
8.1.100.0070.00720.43
8.1.90.0090.00420.41
8.1.80.0090.00220.50
8.1.70.0070.00420.60
8.1.60.0080.00520.57
8.1.50.0090.00420.53
8.1.40.0090.00320.61
8.1.30.0080.00420.64
8.1.20.0120.00220.66
8.1.10.0040.00820.47
8.1.00.0060.00620.42
8.0.300.0080.00520.12
8.0.290.0080.00619.89
8.0.280.0090.00220.12
8.0.270.0070.00419.95
8.0.260.0100.00320.28
8.0.250.0090.00319.97
8.0.240.0060.00620.10
8.0.230.0090.00320.21
8.0.220.0090.00419.93
8.0.210.0100.00320.09
8.0.200.0090.00320.04
8.0.190.0060.00420.87
8.0.180.0060.00620.08
8.0.170.0120.00219.84
8.0.160.0100.00220.06
8.0.150.0110.00219.99
8.0.140.0100.00319.86
8.0.130.0110.00120.18
8.0.120.0110.00320.01
8.0.110.0080.00320.17
8.0.100.0090.00420.04
8.0.90.0120.00219.92
8.0.80.0080.00319.98
8.0.70.0090.00219.98
8.0.60.0080.00420.08
8.0.50.0120.00120.02
8.0.30.0090.00220.19
8.0.20.0090.00320.07
8.0.10.0080.00620.09

preferences:
83.66 ms | 403 KiB | 5 Q