3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class TestClass { public static function test() { echo __FILE__ .'::'. __LINE__ . "\n"; } } echo TestClass::test();

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.0170.00316.61
8.3.50.0090.00618.39
8.3.40.0070.00718.66
8.3.30.0090.00618.54
8.3.20.0050.00321.85
8.3.10.0040.00421.60
8.3.00.0050.00321.90
8.2.180.0120.00325.92
8.2.170.0070.00718.87
8.2.160.0040.01122.96
8.2.150.0070.00024.18
8.2.140.0070.00024.66
8.2.130.0070.00021.11
8.2.120.0080.00026.35
8.2.110.0070.00320.36
8.2.100.0100.00317.66
8.2.90.0040.00417.72
8.2.80.0040.00420.49
8.2.70.0040.00417.80
8.2.60.0040.00417.80
8.2.50.0000.00818.10
8.2.40.0000.00820.55
8.2.30.0070.00019.29
8.2.20.0100.00017.87
8.2.10.0040.00417.93
8.2.00.0030.00517.86
8.1.270.0050.00223.76
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00022.14
8.1.230.0070.00322.13
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0030.00517.10
8.1.180.0070.00018.10
8.1.170.0000.00818.83
8.1.160.0040.00418.79
8.1.150.0040.00418.95
8.1.140.0000.00717.62
8.1.130.0070.00017.36
8.1.120.0030.00517.25
8.1.110.0000.00717.36
8.1.100.0030.00617.25
8.1.90.0050.00217.35
8.1.80.0000.00917.21
8.1.70.0000.00717.21
8.1.60.0060.00317.39
8.1.50.0030.00517.30
8.1.40.0030.00717.43
8.1.30.0000.00817.51
8.1.20.0090.00317.51
8.1.10.0000.00817.37
8.1.00.0060.00317.39
8.0.300.0040.00420.13
8.0.290.0070.00016.75
8.0.280.0070.00018.45
8.0.270.0070.00016.82
8.0.260.0030.00316.80
8.0.250.0070.00016.91
8.0.240.0070.00016.92
8.0.230.0070.00316.89
8.0.220.0080.00016.83
8.0.210.0040.00416.80
8.0.200.0040.00416.80
8.0.190.0050.00216.87
8.0.180.0070.00016.84
8.0.170.0060.00316.72
8.0.160.0040.00416.80
8.0.150.0040.00416.71
8.0.140.0070.00016.77
8.0.130.0000.00613.16
8.0.120.0040.00416.74
8.0.110.0040.00416.65
8.0.100.0030.00516.70
8.0.90.0000.00716.76
8.0.80.0000.02016.75
8.0.70.0030.00516.78
8.0.60.0040.00416.82
8.0.50.0070.00016.70
8.0.30.0070.01317.09
8.0.20.0110.01217.40
8.0.10.0050.00316.78
8.0.00.0080.01016.73
7.4.330.0000.00615.55
7.4.320.0000.00716.44
7.4.300.0030.00316.44
7.4.290.0000.00816.34
7.4.280.0040.00416.43
7.4.270.0000.00616.54
7.4.260.0000.00716.48
7.4.250.0100.00016.42
7.4.240.0040.00416.32
7.4.230.0030.00316.23
7.4.220.0000.00816.60
7.4.210.0070.01116.54
7.4.200.0040.00416.55
7.4.160.0090.00616.42
7.4.140.0090.01317.86
7.4.130.0070.01416.39
7.4.120.0100.00716.38
7.4.110.0190.00616.65
7.4.100.0090.01216.36
7.4.90.0070.01016.26
7.4.80.0120.00619.39
7.4.70.0120.00416.25
7.4.60.0090.00616.30
7.4.50.0090.00416.36
7.4.40.0070.01516.38
7.4.00.0090.00314.98
7.3.330.0000.00513.25
7.3.320.0030.00313.18
7.3.310.0000.00816.27
7.3.300.0030.00316.16
7.3.290.0000.00716.23
7.3.280.0090.00716.21
7.3.260.0100.01116.36
7.3.240.0110.00716.39
7.3.230.0100.00716.22
7.3.210.0130.00916.19
7.3.200.0100.00616.46
7.3.190.0070.01016.40
7.3.180.0070.01116.29
7.3.170.0130.00316.20
7.3.160.0070.01116.30
7.2.330.0100.01316.44
7.2.320.0100.00716.57
7.2.310.0130.02016.48
7.2.300.0060.01016.43
7.2.290.0060.01116.67
7.2.110.0170.00416.51
7.2.60.0100.00316.48
7.2.40.0520.01218.03
7.2.30.0440.01118.00
7.2.20.0430.01418.03
7.2.10.0450.01717.80
7.2.00.0660.01417.86
7.1.200.0060.00315.67
7.1.160.0300.01016.72
7.1.150.0470.00916.84
7.1.140.0270.01516.41
7.1.130.0460.01316.61
7.1.120.0300.00716.70
7.1.110.0300.01116.15
7.1.100.0270.00916.02
7.1.90.0250.01016.09
7.1.80.0270.00816.08
7.1.70.0270.00915.36
7.1.60.0470.01032.88
7.1.50.0980.00432.78
7.1.40.0360.01632.49
7.1.30.0370.01732.41
7.1.20.0450.01132.53
7.1.10.0270.00614.76
7.1.00.0360.01214.64

preferences:
54.25 ms | 400 KiB | 5 Q