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.60.0110.00416.38
8.3.50.0330.00621.21
8.3.40.0110.00618.54
8.3.30.0110.00418.59
8.3.20.0060.00320.19
8.3.10.0050.00323.60
8.3.00.0040.00423.48
8.2.180.0090.00616.63
8.2.170.0130.00722.96
8.2.160.0160.00020.43
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00419.70
8.2.120.0070.00026.35
8.2.110.0030.00620.95
8.2.100.0040.00817.80
8.2.90.0080.00019.25
8.2.80.0030.00617.97
8.2.70.0060.00317.46
8.2.60.0000.00917.91
8.2.50.0050.00318.07
8.2.40.0060.00520.41
8.2.30.0000.00719.24
8.2.20.0040.00417.49
8.2.10.0080.00017.92
8.2.00.0080.00017.98
8.1.280.0000.01725.92
8.1.270.0080.00023.88
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0070.00322.47
8.1.230.0070.00319.16
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0000.00817.10
8.1.180.0080.00018.10
8.1.170.0060.00318.56
8.1.160.0000.00720.68
8.1.150.0040.00418.81
8.1.140.0030.00619.49
8.1.130.0000.00717.63
8.1.120.0000.00717.32
8.1.110.0040.00417.36
8.1.100.0040.00417.27
8.1.90.0000.00717.27
8.1.80.0000.00717.42
8.1.70.0030.00317.37
8.1.60.0040.00417.50
8.1.50.0030.00517.52
8.1.40.0000.00917.38
8.1.30.0070.00417.64
8.1.20.0050.00317.47
8.1.10.0000.00717.46
8.1.00.0050.00217.35
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0030.00318.24
8.0.270.0070.00017.10
8.0.260.0000.00617.14
8.0.250.0030.00316.89
8.0.240.0000.00616.77
8.0.230.0000.00716.82
8.0.220.0060.00316.79
8.0.210.0030.00316.78
8.0.200.0070.00016.89
8.0.190.0040.00416.86
8.0.180.0080.00316.88
8.0.170.0040.00416.92
8.0.160.0030.00616.77
8.0.150.0050.00316.79
8.0.140.0080.00216.73
8.0.130.0100.00013.20
8.0.120.0000.00816.78
8.0.110.0070.00016.78
8.0.100.0070.00016.92
8.0.90.0040.00416.87
8.0.80.0110.00316.70
8.0.70.0050.00316.77
8.0.60.0030.00516.72
8.0.50.0000.00716.79
8.0.30.0150.00217.01
8.0.20.0130.00817.40
8.0.10.0000.00716.85
8.0.00.0130.00716.66
7.4.330.0020.00216.74
7.4.320.0030.00316.50
7.4.300.0000.00716.60
7.4.290.0000.00716.54
7.4.280.0060.00316.40
7.4.270.0000.00716.57
7.4.260.0000.00716.45
7.4.250.0040.00416.55
7.4.240.0050.00216.55
7.4.230.0070.00016.62
7.4.220.0060.01216.46
7.4.210.0070.00916.57
7.4.200.0050.00216.48
7.4.160.0100.00616.32
7.4.150.0330.02617.40
7.4.140.0090.00817.86
7.4.130.0180.00416.54
7.4.120.0150.00516.46
7.4.110.0070.01116.39
7.4.100.0140.00416.41
7.4.90.0140.00416.48
7.4.80.0120.00819.39
7.4.70.0110.00616.45
7.4.60.0100.00716.46
7.4.50.0070.00716.34
7.4.40.0090.00616.49
7.4.30.0130.00916.31
7.4.00.0050.00514.74
7.3.330.0030.00313.16
7.3.320.0030.00313.09
7.3.310.0030.00416.23
7.3.300.0070.00016.13
7.3.290.0030.00316.07
7.3.280.0110.00916.25
7.3.270.0110.00917.40
7.3.260.0100.00616.59
7.3.240.0170.00816.21
7.3.230.0100.00716.40
7.3.210.0070.01016.57
7.3.200.0140.00419.39
7.3.190.0060.01216.29
7.3.180.0100.01016.28
7.3.170.0090.00616.48
7.3.160.0090.00616.34
7.3.10.0080.00316.38
7.3.00.0080.00816.07
7.2.330.0180.00016.55
7.2.320.0100.00816.14
7.2.310.0110.00516.41
7.2.300.0140.00316.68
7.2.290.0120.01016.32
7.2.130.0030.01316.81
7.2.120.0150.00016.55
7.2.110.0030.01016.91
7.2.100.0060.01216.51
7.2.90.0090.00616.77
7.2.80.0230.00316.60
7.2.70.0130.00316.75
7.2.60.0090.00616.46
7.2.50.0000.01516.46
7.2.40.0110.00316.68
7.2.30.0040.00816.76
7.2.20.0080.00816.39
7.2.10.0090.00616.46
7.2.00.0060.00616.59
7.1.250.0000.01215.59
7.1.200.0060.00915.77
7.1.100.0030.00917.28
7.1.70.0090.00616.91
7.1.60.0100.01419.12
7.1.50.0060.00916.50
7.1.00.0030.07722.40
7.0.200.0030.00316.58
7.0.60.0130.07721.66
7.0.50.0030.05017.90
7.0.40.0070.08720.30
7.0.30.0300.07720.08
7.0.20.0370.07720.16
7.0.10.0130.07720.16
7.0.00.0030.06720.08
5.6.280.0000.06020.83
5.6.210.0030.09020.53
5.6.200.0000.04318.19
5.6.190.0100.05320.41
5.6.180.0400.05320.46
5.6.170.0230.04020.44
5.6.160.0170.07320.54
5.6.150.0130.07318.28
5.6.140.0070.05018.18
5.6.130.0030.08318.21
5.6.120.0030.05021.15
5.6.110.0070.07320.89
5.6.100.0030.04021.04
5.6.90.0030.04321.00
5.6.80.0070.07720.53
5.5.350.0200.08020.33
5.5.340.0030.04018.06
5.5.330.0030.04320.21
5.5.320.0230.04020.27
5.5.310.0370.06720.23
5.5.300.0100.08318.08
5.5.290.0070.04018.03
5.5.280.0030.04320.78
5.5.270.0130.08020.84
5.5.260.0070.05720.76
5.5.250.0100.08320.78
5.5.240.0070.08020.29

preferences:
51.54 ms | 401 KiB | 5 Q