3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $bar = 'barValue'; protected $baz = 'bazValue'; private $tab = 'tabValue'; } $t = (array) new Foo(); var_dump($t['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.0140.00718.30
8.3.50.0140.00320.96
8.3.40.0100.01018.49
8.3.30.0090.01218.95
8.3.20.0040.00420.35
8.3.10.0040.00422.15
8.3.00.0000.00822.38
8.2.180.0110.00818.29
8.2.170.0120.00922.96
8.2.160.0140.00420.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0080.00019.54
8.2.110.0060.00322.12
8.2.100.0070.00319.19
8.2.90.0000.00719.23
8.2.80.0000.00719.36
8.2.70.0060.00317.75
8.2.60.0000.00818.02
8.2.50.0040.00418.07
8.2.40.0040.00418.03
8.2.30.0040.00418.00
8.2.20.0050.00317.73
8.2.10.0030.00317.59
8.2.00.0100.00017.71
8.1.280.0090.01325.92
8.1.270.0030.00520.27
8.1.260.0000.00726.35
8.1.250.0080.00028.09
8.1.240.0000.00823.71
8.1.230.0000.01219.05
8.1.220.0070.00417.76
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0090.00017.50
8.1.180.0000.00720.29
8.1.170.0040.00418.46
8.1.160.0030.00322.14
8.1.150.0070.00318.56
8.1.140.0060.00317.40
8.1.130.0050.00317.75
8.1.120.0030.00317.39
8.1.110.0000.00717.40
8.1.100.0000.00717.26
8.1.90.0070.00017.49
8.1.80.0050.00217.41
8.1.70.0020.00517.36
8.1.60.0000.01317.47
8.1.50.0000.00717.48
8.1.40.0050.00317.51
8.1.30.0030.00517.57
8.1.20.0040.00417.50
8.1.10.0090.00017.47
8.1.00.0000.01017.33
8.0.300.0000.00718.77
8.0.290.0000.00717.05
8.0.280.0070.00018.38
8.0.270.0000.00817.13
8.0.260.0080.00016.76
8.0.250.0070.00016.91
8.0.240.0050.00316.95
8.0.230.0030.00316.89
8.0.220.0070.00016.87
8.0.210.0000.00716.79
8.0.200.0000.00716.88
8.0.190.0000.00816.75
8.0.180.0050.00316.90
8.0.170.0080.00016.84
8.0.160.0030.00316.70
8.0.150.0000.00716.90
8.0.140.0070.00016.70
8.0.130.0030.00313.24
8.0.120.0030.00716.70
8.0.110.0040.00416.81
8.0.100.0030.00516.88
8.0.90.0030.00316.83
8.0.80.0030.01316.71
8.0.70.0000.00716.70
8.0.60.0040.00416.73
8.0.50.0000.00716.71
8.0.30.0110.00917.04
8.0.20.0180.00717.40
8.0.10.0050.00317.00
8.0.00.0080.01016.59
7.4.330.0020.00215.14
7.4.320.0000.00716.42
7.4.300.0030.00316.64
7.4.290.0040.00416.61
7.4.280.0070.00016.59
7.4.270.0050.00216.55
7.4.260.0000.00816.48
7.4.250.0030.00316.47
7.4.240.0040.00416.51
7.4.230.0000.00616.51
7.4.220.0120.01216.63
7.4.210.0060.00916.61
7.4.200.0030.00316.62
7.4.190.0000.00716.66
7.4.160.0120.00416.39
7.4.150.0120.00617.40
7.4.140.0120.00617.86
7.4.130.0110.00616.56
7.4.120.0070.01016.44
7.4.110.0070.01016.52
7.4.100.0040.01516.53
7.4.90.0070.01016.53
7.4.80.0120.01019.39
7.4.70.0060.01016.50
7.4.60.0070.01016.52
7.4.50.0050.00316.25
7.4.40.0100.00322.77
7.4.30.0130.00316.54
7.4.00.0050.01314.93
7.3.330.0000.00513.29
7.3.320.0030.00313.17
7.3.310.0030.00316.23
7.3.300.0070.00016.30
7.3.290.0030.01016.17
7.3.280.0050.01116.23
7.3.270.0160.00017.40
7.3.260.0140.00316.37
7.3.250.0170.00516.31
7.3.240.0110.01116.38
7.3.230.0160.00316.39
7.3.210.0070.01016.46
7.3.200.0150.00319.39
7.3.190.0080.00816.20
7.3.180.0060.00916.41
7.3.170.0060.00916.31
7.3.160.0170.00016.27
7.3.120.0080.00814.79
7.3.110.0030.01414.66
7.3.100.0170.00014.50
7.3.90.0050.00514.56
7.3.80.0100.00614.82
7.3.70.0100.00314.87
7.3.60.0070.01014.91
7.3.50.0040.00814.64
7.3.40.0000.01314.35
7.3.30.0070.00714.38
7.3.20.0080.00416.49
7.3.10.0040.00716.48
7.3.00.0070.00716.46
7.2.330.0120.00616.64
7.2.320.0070.01216.71
7.2.310.0000.01616.61
7.2.300.0030.02016.53
7.2.290.0090.00616.48
7.2.250.0030.01514.80
7.2.240.0040.01115.16
7.2.230.0100.00715.04
7.2.220.0070.00415.09
7.2.210.0100.00315.13
7.2.200.0160.00015.05
7.2.190.0090.00615.01
7.2.180.0030.01014.87
7.2.170.0090.00614.73
7.1.330.0040.00715.73
7.1.320.0110.00015.77
7.1.310.0060.00315.87
7.1.300.0040.01115.66
7.1.290.0040.00715.60
7.1.280.0030.01015.79
7.1.270.0060.00615.68
7.1.260.0040.01115.81
7.1.70.0000.01016.95
7.1.60.0100.01319.50
7.1.50.0030.01916.90
7.1.00.0000.06322.35
7.0.200.0030.00516.88
7.0.140.0000.07321.97
7.0.100.0030.04319.93
7.0.90.0030.04719.91
7.0.80.0000.05019.89
7.0.70.0130.04719.87
7.0.60.0030.05019.73
7.0.50.0030.04320.39
7.0.40.0070.04020.04
7.0.30.0070.05320.15
7.0.20.0070.06320.14
7.0.10.0100.05720.10
7.0.00.0070.04320.12
5.6.280.0030.07321.07
5.6.250.0000.05720.69
5.6.240.0030.04320.56
5.6.230.0000.04720.61
5.6.220.0070.05320.55
5.6.210.0100.08020.61
5.6.200.0070.04721.13
5.6.190.0100.04721.08
5.6.180.0030.06321.16
5.6.170.0030.06721.11
5.6.160.0000.04721.01
5.6.150.0100.06720.93
5.6.140.0100.06721.02
5.6.130.0070.08721.04
5.6.120.0230.07020.95
5.6.110.0030.05321.11
5.6.100.0070.08021.07
5.6.90.0030.09721.04
5.6.80.0100.07020.51
5.6.70.0130.06720.38
5.6.60.0070.06720.40
5.6.50.0130.06720.32
5.6.40.0170.07020.46
5.6.30.0070.08020.39
5.6.20.0100.05020.47
5.6.10.0070.07720.36
5.6.00.0070.07720.42
5.5.380.0000.04320.27
5.5.370.0070.03720.32
5.5.360.0170.05720.39
5.5.350.0130.07320.43
5.5.340.0100.04320.83
5.5.330.0030.04720.75
5.5.320.0030.08020.77
5.5.310.0030.09020.87
5.5.300.0030.08320.75
5.5.290.0000.09320.93
5.5.280.0200.07020.72
5.5.270.0100.04720.78
5.5.260.0070.05020.62
5.5.250.0070.09320.58
5.5.240.0100.07020.20
5.5.230.0070.06720.29
5.5.220.0000.07720.26
5.5.210.0070.04720.19
5.5.200.0070.04320.22
5.5.190.0030.06320.20
5.5.180.0170.06320.24
5.5.160.0200.07020.24
5.5.150.0070.07019.99
5.5.140.0130.07020.27
5.5.130.0200.08320.09
5.5.120.0070.07720.22
5.5.110.0030.06020.23
5.5.100.0170.03720.05
5.5.90.0070.06720.14
5.5.80.0070.07320.05
5.5.70.0130.08320.10
5.5.60.0070.07720.13
5.5.50.0200.06320.03
5.5.40.0130.07720.08
5.5.30.0000.04720.02
5.5.20.0130.07020.14
5.5.10.0100.07320.11
5.5.00.0100.08019.96
5.4.450.0130.09019.27
5.4.440.0100.07719.54
5.4.430.0130.07719.27
5.4.420.0100.04719.20
5.4.410.0070.08319.43
5.4.400.0000.09018.97
5.4.390.0000.06319.03
5.4.380.0070.07318.90
5.4.370.0100.06019.05
5.4.360.0170.06718.95
5.4.350.0070.04318.94
5.4.340.0070.07718.88
5.4.320.0130.07318.88
5.4.310.0030.06719.08
5.4.300.0170.06018.90
5.4.290.0170.07719.23
5.4.280.0100.05319.21
5.4.270.0170.06019.16
5.4.260.0070.06719.18
5.4.250.0070.07019.04
5.4.240.0130.07019.13
5.4.230.0170.06718.89
5.4.220.0100.08318.93
5.4.210.0100.07719.23
5.4.200.0070.09019.24
5.4.190.0030.08018.86
5.4.180.0030.07719.08
5.4.170.0030.08318.86
5.4.160.0030.08019.13
5.4.150.0000.07719.19
5.4.140.0100.07316.42
5.4.130.0070.07716.32
5.4.120.0070.07016.23
5.4.110.0030.06016.30
5.4.100.0170.05716.27
5.4.90.0070.03716.49
5.4.80.0000.07716.45
5.4.70.0130.06316.46
5.4.60.0100.06316.45
5.4.50.0070.03716.47
5.4.40.0070.07316.45
5.4.30.0070.07316.47
5.4.20.0100.07016.33
5.4.10.0000.07716.43
5.4.00.0100.06315.77
5.3.290.0130.04314.75
5.3.280.0100.07314.53
5.3.270.0030.05014.70
5.3.260.0070.04314.65
5.3.250.0070.07714.73
5.3.240.0170.06714.53
5.3.230.0070.07014.61
5.3.220.0100.07314.62
5.3.210.0070.07014.70
5.3.200.0070.04014.49
5.3.190.0030.07714.58
5.3.180.0030.07314.48
5.3.170.0070.06714.57
5.3.160.0070.06014.62
5.3.150.0000.03314.57
5.3.140.0070.06014.57
5.3.130.0100.06014.53
5.3.120.0100.04014.54
5.3.110.0030.06314.55
5.3.100.0100.07013.99
5.3.90.0070.07314.06
5.3.80.0030.08014.00
5.3.70.0130.07014.01
5.3.60.0030.04714.00
5.3.50.0100.07314.07
5.3.40.0100.05014.06
5.3.30.0100.06713.78
5.3.20.0100.05013.62
5.3.10.0100.07013.58
5.3.00.0070.06713.66
5.2.170.0000.04712.32
5.2.160.0100.05312.32
5.2.150.0070.06312.32
5.2.140.0000.05712.32
5.2.130.0070.05712.32
5.2.120.0000.04012.32
5.2.110.0100.06012.32
5.2.100.0000.06712.32
5.2.90.0000.03712.32
5.2.80.0030.06012.32
5.2.70.0070.06012.32
5.2.60.0100.05312.32
5.2.50.0030.06312.32
5.2.40.0130.05012.32
5.2.30.0070.04712.32
5.2.20.0030.06312.32
5.2.10.0100.03712.32
5.2.00.0030.06312.32
5.1.60.0000.05012.32
5.1.50.0070.03312.32
5.1.40.0100.05012.32
5.1.30.0030.05712.32
5.1.20.0030.05312.32
5.1.10.0070.04712.32
5.1.00.0070.05012.32
5.0.50.0030.04712.32
5.0.40.0100.03012.32
5.0.30.0030.05712.32
5.0.20.0030.04312.32
5.0.10.0030.04012.32
5.0.00.0000.05712.32
4.4.90.0000.03012.32
4.4.80.0100.01312.32
4.4.70.0030.03312.32
4.4.60.0000.03712.32
4.4.50.0000.02312.32
4.4.40.0000.05312.32
4.4.30.0000.03712.32
4.4.20.0070.03012.32
4.4.10.0070.03312.32
4.4.00.0030.04712.32
4.3.110.0030.03012.32
4.3.100.0030.03312.32
4.3.90.0030.02012.32
4.3.80.0000.05712.32
4.3.70.0000.01712.32
4.3.60.0030.03012.32
4.3.50.0070.03012.32
4.3.40.0070.04712.32
4.3.30.0000.03712.32
4.3.20.0000.02712.32
4.3.10.0000.03712.32
4.3.00.0000.02712.32

preferences:
41.3 ms | 401 KiB | 5 Q