3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static function factory() { return new static; } } $o = Foo::factory(); //(class extends Foo)::bar();

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.0150.00618.31
8.3.50.0120.00821.94
8.3.40.0080.00818.50
8.3.30.0090.00618.59
8.3.20.0000.00721.78
8.3.10.0070.00023.46
8.3.00.0050.00519.08
8.2.180.0220.00018.54
8.2.170.0110.00722.96
8.2.160.0030.01020.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00417.91
8.2.120.0070.00026.35
8.2.110.0030.00719.26
8.2.100.0030.01017.78
8.2.90.0060.00317.63
8.2.80.0000.00817.97
8.2.70.0080.00017.92
8.2.60.0090.00018.03
8.2.50.0000.00818.10
8.2.40.0000.00722.18
8.2.30.0040.00419.18
8.2.20.0030.00517.89
8.2.10.0080.00017.92
8.2.00.0030.00317.53
8.1.280.0170.00025.92
8.1.270.0070.00020.33
8.1.260.0090.00026.35
8.1.250.0090.00028.09
8.1.240.0090.00317.23
8.1.230.0060.00617.70
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0000.01017.10
8.1.190.0080.00017.22
8.1.180.0080.00018.10
8.1.170.0060.00321.94
8.1.160.0040.00418.74
8.1.150.0070.00020.16
8.1.140.0000.00719.48
8.1.130.0030.00319.01
8.1.120.0030.00517.28
8.1.110.0000.00717.35
8.1.100.0040.00417.36
8.1.90.0000.00717.45
8.1.80.0000.00717.40
8.1.70.0030.00317.39
8.1.60.0000.00717.46
8.1.50.0000.00817.38
8.1.40.0000.00717.40
8.1.30.0040.00417.71
8.1.20.0040.00417.53
8.1.10.0040.00417.36
8.1.00.0050.00217.40
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0000.00818.44
8.0.270.0000.00717.10
8.0.260.0000.00717.05
8.0.250.0030.00316.87
8.0.240.0040.00416.71
8.0.230.0060.00316.89
8.0.220.0000.00716.84
8.0.210.0000.00716.71
8.0.200.0030.00316.81
8.0.190.0040.00416.81
8.0.180.0050.00216.86
8.0.170.0040.00416.89
8.0.160.0000.00716.72
8.0.150.0000.00716.68
8.0.140.0000.00716.81
8.0.130.0030.00313.33
8.0.120.0000.00816.82
8.0.110.0070.00016.69
8.0.100.0050.00216.64
8.0.90.0000.00716.85
8.0.80.0120.00316.77
8.0.70.0040.00416.61
8.0.60.0050.00216.75
8.0.50.0000.00716.81
8.0.30.0100.01117.03
8.0.20.0150.00417.40
8.0.10.0070.00016.80
8.0.00.0090.01216.84
7.4.330.0000.00415.55
7.4.320.0030.00316.45
7.4.300.0030.00316.64
7.4.290.0030.00316.58
7.4.280.0050.00316.41
7.4.270.0030.00316.64
7.4.260.0000.00716.51
7.4.250.0070.00016.55
7.4.240.0060.00316.59
7.4.230.0000.00716.41
7.4.220.0130.00416.50
7.4.210.0040.01216.45
7.4.200.0000.00716.52
7.4.160.0080.00816.36
7.4.150.0100.01017.40
7.4.140.0080.01317.86
7.4.130.0080.00916.44
7.4.120.0130.00916.44
7.4.110.0030.01416.33
7.4.100.0110.00716.30
7.4.90.0130.00316.49
7.4.80.0030.01319.39
7.4.70.0070.01416.47
7.4.60.0070.01016.34
7.4.50.0070.00716.36
7.4.40.0130.00316.39
7.4.30.0070.01016.54
7.4.00.0080.00915.09
7.3.330.0030.00313.19
7.3.320.0060.00013.30
7.3.310.0070.00016.23
7.3.300.0000.00616.14
7.3.290.0100.00716.24
7.3.280.0090.00716.23
7.3.270.0100.00717.40
7.3.260.0130.00716.34
7.3.250.0090.00716.30
7.3.240.0150.00616.30
7.3.230.0160.00316.41
7.3.210.0150.00416.43
7.3.200.0060.01616.16
7.3.190.0030.01316.32
7.3.180.0060.00916.22
7.3.170.0150.00316.24
7.3.160.0100.00616.29
7.3.120.0100.00714.94
7.3.110.0030.01314.81
7.3.100.0090.00314.93
7.3.90.0070.00714.69
7.3.80.0030.00614.80
7.3.70.0030.00614.47
7.3.60.0030.00814.83
7.3.50.0060.00614.45
7.3.40.0030.00714.69
7.3.30.0100.00714.79
7.3.20.0030.01216.59
7.3.10.0060.00616.28
7.3.00.0090.00316.28
7.2.330.0120.00616.58
7.2.320.0120.00616.59
7.2.310.0060.01016.21
7.2.300.0150.00916.30
7.2.290.0060.01016.46
7.2.250.0150.00015.14
7.2.240.0030.01614.95
7.2.230.0090.00614.67
7.2.220.0130.00715.04
7.2.210.0040.00814.86
7.2.200.0100.00714.89
7.2.190.0030.01214.69
7.2.180.0090.00315.02
7.2.170.0060.01015.00
7.2.60.0000.01316.55
7.2.50.0100.00617.04
7.1.330.0030.01015.46
7.1.320.0070.01115.71
7.1.310.0000.01615.73
7.1.300.0000.01215.77
7.1.290.0080.00615.47
7.1.280.0090.00315.40
7.1.270.0000.01615.40
7.1.260.0090.00615.50
7.1.200.0110.00015.56
7.1.70.0110.00517.07
7.1.60.0070.00317.16
7.1.10.0170.05722.29
7.1.00.0200.04722.41
7.0.200.0160.00616.67
7.0.150.0070.06021.88
7.0.140.0100.06021.81
7.0.130.0130.05321.88
7.0.120.0100.05321.82
7.0.110.0100.06321.84
7.0.100.0070.05721.96
7.0.90.0070.06021.89
7.0.80.0130.05021.93
7.0.70.0170.07021.89
7.0.60.0200.06321.74
7.0.50.0200.07321.87
7.0.40.0070.06321.94
7.0.30.0100.06021.93
7.0.20.0100.05321.98
7.0.10.0100.05321.92
7.0.00.0130.06021.85

preferences:
64.78 ms | 401 KiB | 5 Q