3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo {static function bar() {var_dump(1);}} $a = 'foo::bar'; $a();

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.0030.01016.34
8.3.50.0070.00718.05
8.3.40.0120.00318.45
8.3.30.0040.01218.59
8.3.20.0080.00020.21
8.3.10.0040.00423.65
8.3.00.0080.00019.38
8.2.180.0110.01118.16
8.2.170.0070.00722.96
8.2.160.0100.00320.34
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0120.00017.50
8.2.120.0000.00726.35
8.2.110.0040.00719.13
8.2.100.0090.00617.78
8.2.90.0040.00419.05
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0000.00820.46
8.2.30.0030.00320.63
8.2.20.0000.00917.58
8.2.10.0050.00218.04
8.2.00.0040.00417.90
8.1.280.0130.00725.92
8.1.270.0040.00422.19
8.1.260.0030.00528.09
8.1.250.0000.00828.09
8.1.240.0040.00420.92
8.1.230.0070.00422.63
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0050.00517.13
8.1.190.0050.00317.23
8.1.180.0000.00818.10
8.1.170.0040.00418.46
8.1.160.0050.00321.93
8.1.150.0080.00018.73
8.1.140.0030.00519.49
8.1.130.0000.00717.67
8.1.120.0000.00817.44
8.1.110.0040.00417.39
8.1.100.0000.00917.31
8.1.90.0000.00717.42
8.1.80.0030.00617.31
8.1.70.0070.00017.36
8.1.60.0030.00517.61
8.1.50.0060.00617.41
8.1.40.0020.01017.41
8.1.30.0040.00417.69
8.1.20.0000.00717.60
8.1.10.0060.00317.50
8.1.00.0000.01017.32
8.0.300.0040.00418.77
8.0.290.0000.00716.63
8.0.280.0070.00018.30
8.0.270.0050.00217.12
8.0.260.0060.00017.25
8.0.250.0030.00316.85
8.0.240.0060.00316.86
8.0.230.0050.00216.77
8.0.220.0030.00316.84
8.0.210.0040.00416.70
8.0.200.0030.00316.94
8.0.190.0040.00416.88
8.0.180.0000.00816.87
8.0.170.0000.00716.87
8.0.160.0040.00416.86
8.0.150.0040.00416.81
8.0.140.0070.00316.67
8.0.130.0000.00613.26
8.0.120.0000.00816.68
8.0.110.0000.00716.83
8.0.100.0070.00016.77
8.0.90.0000.00716.89
8.0.80.0130.00616.70
8.0.70.0050.00216.70
8.0.60.0040.00416.80
8.0.50.0040.00416.79
8.0.30.0090.01016.89
8.0.20.0120.00617.40
8.0.10.0070.00016.84
8.0.00.0110.00616.59
7.4.330.0030.00315.08
7.4.320.0000.00716.45
7.4.300.0030.00316.45
7.4.290.0050.00216.51
7.4.280.0070.00016.54
7.4.270.0030.00316.49
7.4.260.0030.00316.48
7.4.250.0020.00516.38
7.4.240.0020.00616.51
7.4.230.0000.00716.49
7.4.220.0130.00516.39
7.4.210.0050.01316.54
7.4.200.0000.00716.33
7.4.160.0030.01216.29
7.4.150.0140.01017.40
7.4.140.0160.00317.86
7.4.130.0130.00416.33
7.4.120.0070.01116.41
7.4.110.0120.00616.48
7.4.100.0140.01016.33
7.4.90.0090.00916.58
7.4.80.0130.00419.39
7.4.70.0110.00616.55
7.4.60.0110.01116.38
7.4.50.0050.00016.31
7.4.40.0130.00416.56
7.4.30.0060.01216.32
7.4.00.0100.00714.93
7.3.330.0050.00013.23
7.3.320.0050.00013.07
7.3.310.0070.00016.04
7.3.300.0070.00016.24
7.3.290.0000.00716.27
7.3.280.0090.00716.17
7.3.270.0130.00317.40
7.3.260.0060.01816.23
7.3.250.0100.00716.33
7.3.240.0080.01416.23
7.3.230.0060.01116.39
7.3.210.0080.00816.31
7.3.200.0080.00816.30
7.3.190.0030.01316.24
7.3.180.0060.01016.21
7.3.170.0110.01116.27
7.3.160.0090.00616.17
7.3.120.0100.00614.67
7.3.110.0090.00714.79
7.3.100.0050.01014.73
7.3.90.0070.00714.65
7.3.80.0060.00614.90
7.3.70.0070.00514.63
7.3.60.0060.00714.63
7.3.50.0050.00414.72
7.3.40.0090.00614.71
7.3.30.0050.00814.49
7.3.20.0050.00816.41
7.3.10.0060.00716.63
7.3.00.0070.00816.61
7.2.330.0110.00716.60
7.2.320.0140.00316.24
7.2.310.0030.01216.28
7.2.300.0080.00816.32
7.2.290.0210.02116.18
7.2.250.0080.01014.81
7.2.240.0020.01614.78
7.2.230.0080.00614.79
7.2.220.0030.00914.88
7.2.210.0060.00914.87
7.2.200.0060.00414.79
7.2.190.0050.00914.90
7.2.180.0030.01014.68
7.2.170.0050.00814.94
7.2.60.0040.00716.60
7.2.00.0000.01719.39
7.1.330.0050.01015.84
7.1.320.0070.00715.68
7.1.310.0040.00815.87
7.1.300.0050.00715.74
7.1.290.0030.01015.41
7.1.280.0040.01315.71
7.1.270.0010.00815.61
7.1.260.0080.00315.63
7.1.200.0030.00715.66
7.1.100.0040.01218.13
7.1.70.0050.00316.78
7.1.60.0070.01719.48
7.1.50.0000.02016.52
7.1.00.0030.07722.42
7.0.200.0330.00714.49
7.0.60.0100.07019.93
7.0.50.0200.06717.80
7.0.40.0100.03720.11
7.0.30.0230.07320.26
7.0.20.0300.07720.25
7.0.10.0070.07720.30
7.0.00.0200.08020.30
5.6.280.0000.07021.13
5.6.210.0070.06020.57
5.6.200.0030.04018.15
5.6.190.0030.04320.47
5.6.180.0200.03720.55
5.6.170.0230.06020.53
5.6.160.0030.04720.52
5.6.150.0000.07718.19
5.6.140.0030.04718.14
5.6.130.0170.07018.19
5.6.120.0070.03721.11
5.6.110.0130.08021.05
5.6.100.0100.05320.97
5.6.90.0100.05321.02
5.6.80.0070.06020.38
5.5.350.4270.03720.41
5.5.340.0000.04318.07
5.5.330.0100.03720.28
5.5.320.0230.08020.31
5.5.310.0170.04020.34
5.5.300.0070.08018.01
5.5.290.0030.07317.94
5.5.280.0100.05020.88
5.5.270.0100.03720.97
5.5.260.0070.03720.86
5.5.250.0100.08020.55
5.5.240.0030.06720.16

preferences:
61.43 ms | 401 KiB | 5 Q