3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { static function foo() {} } $f = array('C::foo'); $f();

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.70.0110.01116.63
8.3.60.0090.00616.48
8.3.50.0150.00320.99
8.3.40.0080.00618.82
8.3.30.0110.00418.58
8.3.20.0040.00420.21
8.3.10.0030.00621.65
8.3.00.0070.00323.70
8.2.180.0110.00418.67
8.2.170.0070.00722.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00419.82
8.2.120.0070.00726.35
8.2.110.0030.00622.24
8.2.100.0040.00717.92
8.2.90.0000.00819.22
8.2.80.0030.00517.97
8.2.70.0040.00417.63
8.2.60.0030.00617.80
8.2.50.0000.00818.07
8.2.40.0090.00320.62
8.2.30.0080.00019.43
8.2.20.0000.00717.73
8.2.10.0080.00018.04
8.2.00.0040.00417.91
8.1.280.0060.00925.92
8.1.270.0060.00324.01
8.1.260.0070.00028.09
8.1.250.0050.00328.09
8.1.240.0090.00023.73
8.1.230.0080.00319.01
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.25
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0050.00318.59
8.1.160.0000.00720.64
8.1.150.0040.00418.71
8.1.140.0040.00419.50
8.1.130.0000.00717.56
8.1.120.0000.00717.28
8.1.110.0030.00417.31
8.1.100.0020.00517.29
8.1.90.0000.00717.27
8.1.80.0070.00017.28
8.1.70.0000.00717.43
8.1.60.0040.00417.40
8.1.50.0040.00417.50
8.1.40.0030.00517.46
8.1.30.0000.00917.59
8.1.20.0020.00517.70
8.1.10.0040.00417.59
8.1.00.0000.00717.36
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.27
8.0.270.0040.00417.20
8.0.260.0030.00317.22
8.0.250.0030.00316.89
8.0.240.0030.00316.94
8.0.230.0000.00716.86
8.0.220.0070.00016.92
8.0.210.0040.00416.88
8.0.200.0000.00616.93
8.0.190.0000.00716.83
8.0.180.0060.00316.91
8.0.170.0000.00816.95
8.0.160.0030.00416.96
8.0.150.0000.00716.82
8.0.140.0050.00516.91
8.0.130.0030.00313.29
8.0.120.0000.00916.73
8.0.110.0040.00416.77
8.0.100.0040.00416.73
8.0.90.0070.00016.93
8.0.80.0090.00916.85
8.0.70.0080.00016.87
8.0.60.0000.00716.80
8.0.50.0080.00016.73
8.0.30.0100.00817.15
8.0.20.0070.01317.40
8.0.10.0000.00816.85
8.0.00.0060.01316.68
7.4.330.0050.00016.71
7.4.320.0050.00216.54
7.4.300.0030.00316.47
7.4.290.0000.00716.54
7.4.280.0030.00616.50
7.4.270.0030.00316.51
7.4.260.0040.00416.45
7.4.250.0040.00416.59
7.4.240.0000.00816.50
7.4.230.0000.00816.57
7.4.220.0070.01016.43
7.4.210.0050.01216.53
7.4.200.0030.00316.43
7.4.160.0130.00616.52
7.4.150.0000.01817.40
7.4.140.0100.00817.86
7.4.130.0100.00816.63
7.4.120.0070.01016.53
7.4.110.0100.00716.45
7.4.100.0100.00716.39
7.4.90.0070.01116.62
7.4.80.0070.01119.39
7.4.70.0090.00616.48
7.4.60.0110.00616.60
7.4.50.0070.01016.60
7.4.40.0080.00816.68
7.4.30.0060.01316.61
7.4.00.0080.00914.90
7.3.330.0030.00313.25
7.3.320.0030.00313.31
7.3.310.0000.00716.13
7.3.300.0030.00316.26
7.3.290.0000.00716.15
7.3.280.0080.00916.30
7.3.270.0170.00317.40
7.3.260.0120.00616.54
7.3.250.0110.01016.37
7.3.240.0030.01416.32
7.3.230.0100.01016.39
7.3.210.0100.00716.20
7.3.200.0100.00719.39
7.3.190.0150.00016.21
7.3.180.0060.00916.28
7.3.170.0120.00316.27
7.3.160.0030.01716.45
7.3.120.0070.01014.66
7.3.110.0030.01314.83
7.3.100.0120.00015.01
7.3.90.0100.00714.74
7.3.80.0070.01014.93
7.3.70.0030.00714.83
7.3.60.0040.00714.74
7.3.50.0060.00614.78
7.3.40.0070.01014.83
7.3.30.0030.01014.58
7.3.20.0030.01316.67
7.3.10.0050.00816.40
7.3.00.0070.00716.47
7.2.330.0070.01016.59
7.2.320.0170.00016.29
7.2.310.0060.01316.60
7.2.300.0070.01016.40
7.2.290.0110.00616.66
7.2.250.0100.00714.57
7.2.240.0070.01114.54
7.2.230.0030.01014.95
7.2.220.0030.01414.74
7.2.210.0000.01814.75
7.2.200.0130.00314.84
7.2.190.0070.00714.50
7.2.180.0060.00614.86
7.2.170.0030.00914.98
7.2.60.0000.01416.67
7.2.00.0030.01219.18
7.1.330.0030.01015.71
7.1.320.0100.00315.78
7.1.310.0030.01315.86
7.1.300.0070.00715.61
7.1.290.0000.01415.47
7.1.280.0070.01015.47
7.1.270.0070.00715.72
7.1.260.0070.00715.55
7.1.200.0090.00615.69
7.1.100.0070.00717.79
7.1.70.0050.00317.07
7.1.60.0030.02019.12
7.1.50.0230.00416.69
7.1.00.0070.07322.36
7.0.200.0040.00716.76
7.0.60.0100.04321.74
7.0.50.0070.08717.93
7.0.40.0000.09320.32
7.0.30.0200.07020.07
7.0.20.0270.03720.37
7.0.10.0170.03320.28
7.0.00.0100.07720.14
5.6.280.0030.03020.89
5.6.210.0030.06320.45
5.6.200.0100.03718.22
5.6.190.0070.04020.61
5.6.180.0300.05020.33
5.6.170.0330.03720.48
5.6.160.0100.08720.50
5.6.150.0070.07318.21
5.6.140.0130.03318.15
5.6.130.0100.07718.18
5.6.120.0030.09021.02
5.6.110.0030.09321.07
5.6.100.0000.06721.01
5.6.90.0070.04320.96
5.6.80.0100.05320.38
5.5.350.0230.06020.45
5.5.340.0030.08317.95
5.5.330.0030.04720.43
5.5.320.0170.04320.42
5.5.310.0130.04320.19
5.5.300.0030.08717.98
5.5.290.0130.08017.92
5.5.280.0030.04720.73
5.5.270.0070.04320.76
5.5.260.0130.08020.78
5.5.250.0100.06720.64
5.5.240.0100.07320.14

preferences:
70.14 ms | 401 KiB | 5 Q