3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public $publicProperty = array(); } class Bar { public function __get($name) { return parent::$name; } } $bar = new Bar(); $bar->publicProperty['example'] = 'Hello World!'; var_dump($bar->publicProperty);

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.0070.01116.50
8.3.50.0110.00821.86
8.3.40.0040.01118.73
8.3.30.0000.01919.07
8.3.20.0090.00620.07
8.3.10.0040.00423.62
8.3.00.0070.00020.52
8.2.180.0130.00616.75
8.2.170.0120.00322.96
8.2.160.0100.00322.11
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0000.00722.25
8.2.110.0090.00022.15
8.2.100.0000.01117.78
8.2.90.0050.00219.11
8.2.80.0040.00417.97
8.2.70.0060.00317.50
8.2.60.0090.00017.80
8.2.50.0030.00618.07
8.2.40.0000.00718.16
8.2.30.0040.00417.98
8.2.20.0040.00417.49
8.2.10.0050.00317.55
8.2.00.0000.00717.60
8.1.280.0110.00425.92
8.1.270.0080.00022.19
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00623.80
8.1.230.0110.00019.16
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0060.00317.26
8.1.180.0030.00518.10
8.1.170.0060.00318.51
8.1.160.0000.00721.89
8.1.150.0000.00718.55
8.1.140.0040.00417.23
8.1.130.0030.00317.41
8.1.120.0000.00717.21
8.1.110.0040.00417.22
8.1.100.0050.00317.33
8.1.90.0070.00017.23
8.1.80.0040.00417.22
8.1.70.0000.00717.21
8.1.60.0050.00217.30
8.1.50.0040.00417.32
8.1.40.0040.00417.42
8.1.30.0080.00017.39
8.1.20.0000.00817.55
8.1.10.0000.00817.24
8.1.00.0030.00617.16
8.0.300.0040.00418.77
8.0.290.0000.00717.05
8.0.280.0040.00418.26
8.0.270.0030.00316.99
8.0.260.0030.00316.77
8.0.250.0000.00716.84
8.0.240.0060.00316.77
8.0.230.0070.00016.89
8.0.220.0030.00316.87
8.0.210.0030.00316.86
8.0.200.0030.00616.84
8.0.190.0040.00416.90
8.0.180.0000.00716.88
8.0.170.0040.00416.77
8.0.160.0070.00016.79
8.0.150.0050.00216.73
8.0.140.0030.00316.66
8.0.130.0060.00013.22
8.0.120.0030.00616.67
8.0.110.0040.00416.86
8.0.100.0040.00416.77
8.0.90.0040.00416.68
8.0.80.0110.00416.77
8.0.70.0030.00316.86
8.0.60.0040.00416.93
8.0.50.0040.00416.86
8.0.30.0100.00916.82
8.0.20.0040.01417.40
8.0.10.0040.00416.74
8.0.00.0080.01016.64
7.4.330.0000.00515.07
7.4.320.0060.00016.41
7.4.300.0030.00316.49
7.4.290.0060.00316.61
7.4.280.0000.00716.57
7.4.270.0070.00016.59
7.4.260.0070.00016.54
7.4.250.0000.00716.57
7.4.240.0030.00316.54
7.4.230.0000.00716.55
7.4.220.0030.01616.60
7.4.210.0070.01216.60
7.4.200.0000.00816.65
7.4.190.0070.00016.74
7.4.160.0080.00816.53
7.4.150.0040.01417.40
7.4.140.0090.00917.86
7.4.130.0100.01016.53
7.4.120.0050.01216.56
7.4.110.0070.01116.78
7.4.100.0090.01516.37
7.4.90.0070.01116.57
7.4.80.0090.00916.59
7.4.70.0100.00716.45
7.4.60.0110.00616.50
7.4.50.0050.00316.55
7.4.40.0100.00622.77
7.4.30.0040.01216.36
7.4.00.0070.00714.87
7.3.330.0060.00013.12
7.3.320.0030.00313.35
7.3.310.0030.00316.41
7.3.300.0000.00716.37
7.3.290.0100.00716.30
7.3.280.0080.00916.37
7.3.270.0030.01317.40
7.3.260.0070.01116.33
7.3.250.0090.01116.44
7.3.240.0090.00816.26
7.3.230.0040.01316.50
7.3.210.0150.00316.28
7.3.200.0060.01619.39
7.3.190.0140.01116.29
7.3.180.0030.01216.49
7.3.170.0090.01316.54
7.3.160.0160.00016.43
7.3.120.0070.01114.80
7.3.10.0070.00716.65
7.3.00.0060.00616.57
7.2.330.0070.01016.74
7.2.320.0030.01416.41
7.2.310.0130.00316.74
7.2.300.0090.00616.38
7.2.290.0100.01316.63
7.2.130.0030.01217.03
7.2.120.0060.00616.63
7.2.110.0040.00416.89
7.2.100.0090.00316.91
7.2.90.0040.00816.91
7.2.80.0060.01016.95
7.2.70.0000.01116.86
7.2.60.0060.00516.90
7.2.50.0030.01416.85
7.2.40.0030.01316.88
7.2.30.0090.00616.96
7.2.20.0000.01416.84
7.2.10.0030.01016.89
7.2.00.0030.00618.04
7.1.250.0030.00715.47
7.1.200.0000.00715.49
7.1.100.0140.00317.89
7.1.70.0000.00816.71
7.1.60.0100.01619.29
7.1.50.0090.01316.57
7.1.00.0000.08022.28
7.0.200.0050.00516.66
7.0.140.0030.07021.90
7.0.100.0570.05319.96
7.0.90.0500.07719.89
7.0.80.0400.04719.98
7.0.70.0530.07319.84
7.0.60.0430.08319.91
7.0.50.0470.07720.26
7.0.40.0100.08020.11
7.0.30.0030.09320.18
7.0.20.0070.08720.19
7.0.10.0130.04720.12
7.0.00.0100.08319.99
5.6.280.0070.07021.05
5.6.250.0030.08320.60
5.6.240.0130.07020.67
5.6.230.0200.07020.66
5.6.220.0100.07020.68
5.6.210.0030.08720.66
5.6.200.0130.07321.02
5.6.190.0100.07021.11
5.6.180.0030.08321.11
5.6.170.0100.04720.95
5.6.160.0070.07321.00
5.6.150.0030.08721.05
5.6.140.0070.08721.09
5.6.130.0030.08721.07
5.6.120.0100.07021.04
5.6.110.0130.08021.01
5.6.100.0130.07721.09
5.6.90.0030.08720.93
5.6.80.0200.06320.48
5.6.70.0100.07720.42
5.6.60.0070.08320.54
5.6.50.0070.07720.27
5.6.40.0130.07720.40
5.6.30.0070.04720.45
5.6.20.0070.08020.41
5.6.10.0200.06320.43
5.6.00.0030.07320.37
5.5.380.0200.04020.39
5.5.370.0130.07020.36
5.5.360.0070.08320.44
5.5.350.0030.09020.43
5.5.340.0070.06720.89
5.5.330.0100.07720.93
5.5.320.0030.08020.91
5.5.310.0130.07720.89
5.5.300.0070.07320.89
5.5.290.0070.07320.93
5.5.280.0030.09020.90
5.5.270.0100.07720.75
5.5.260.0170.07020.92
5.5.250.0130.07320.55
5.5.240.0100.07320.16
5.5.230.0030.08320.28
5.5.220.0000.09320.29
5.5.210.0070.07320.06
5.5.200.0030.05720.18
5.5.190.0030.08320.15
5.5.180.0130.06720.10
5.5.160.0030.07720.13
5.5.150.0200.06320.21
5.5.140.0100.07720.11
5.5.130.0070.08320.18
5.5.120.0130.06320.22
5.5.110.0070.08020.08
5.5.100.0170.05320.07
5.5.90.0030.06720.07
5.5.80.0030.08020.04
5.5.70.0070.08320.10
5.5.60.0030.08019.93
5.5.50.0100.07319.95
5.5.40.0200.06719.93
5.5.30.0070.07720.06
5.5.20.0100.06020.00
5.5.10.0100.04020.01
5.5.00.0070.06020.05
5.4.450.0130.07719.56
5.4.440.0030.09019.45
5.4.430.0070.06319.48
5.4.420.0070.07719.48
5.4.410.0070.05719.29
5.4.400.0100.06718.85
5.4.390.0070.07718.85
5.4.380.0130.07019.05
5.4.370.0070.07318.87
5.4.360.0100.07719.15
5.4.350.0070.07718.95
5.4.340.0170.07018.88
5.4.320.0100.07319.05
5.4.310.0070.04718.93
5.4.300.0100.07719.23
5.4.290.0070.04319.09
5.4.280.0030.07018.95
5.4.270.0100.06719.20
5.4.260.0200.06019.21
5.4.250.0130.04319.20
5.4.240.0070.08019.09
5.4.230.0130.07318.87
5.4.220.0070.04719.15
5.4.210.0130.07018.90
5.4.200.0100.07018.89
5.4.190.0030.08018.94
5.4.180.0000.07719.23
5.4.170.0130.06719.22
5.4.160.0070.07319.19
5.4.150.0100.07319.14
5.4.140.0100.07016.40
5.4.130.0130.06016.45
5.4.120.0170.06316.38
5.4.110.0070.07016.57
5.4.100.0130.06316.43
5.4.90.0030.07316.45
5.4.80.0170.06316.43
5.4.70.0030.07316.31
5.4.60.0070.07316.31
5.4.50.0000.07316.32
5.4.40.0070.06016.43
5.4.30.0000.05016.47
5.4.20.0030.07316.43
5.4.10.0070.07016.48
5.4.00.0070.06315.86
5.3.290.0070.07014.69
5.3.280.0100.07314.61
5.3.270.0070.07314.54
5.3.260.0100.07314.59
5.3.250.0130.06714.70
5.3.240.0130.06014.66
5.3.230.0070.08314.70
5.3.220.0130.06014.60
5.3.210.0030.04314.50
5.3.200.0030.08014.50
5.3.190.0100.07014.64
5.3.180.0030.07714.59
5.3.170.0030.07714.50
5.3.160.0100.07314.69
5.3.150.0130.06314.52
5.3.140.0130.06314.54
5.3.130.0070.07314.68
5.3.120.0070.07714.66
5.3.110.0000.05014.61
5.3.100.0000.04314.30
5.3.90.0070.07714.30
5.3.80.0100.07014.30
5.3.70.0070.07014.30
5.3.60.0070.07014.30
5.3.50.0170.06314.30
5.3.40.0070.04014.30
5.3.30.0030.03714.30
5.3.20.0000.04014.30
5.3.10.0070.07314.30
5.3.00.0070.03014.30
5.2.170.0030.06014.30
5.2.160.0070.03014.30
5.2.150.0070.02314.30
5.2.140.0070.04714.30
5.2.130.0000.03014.30
5.2.120.0000.04714.30
5.2.110.0030.03014.30
5.2.100.0000.03014.30
5.2.90.0000.03014.30
5.2.80.0070.02314.30
5.2.70.0000.03014.30
5.2.60.0070.02714.30
5.2.50.0000.06714.30
5.2.40.0030.05714.30
5.2.30.0070.02314.30
5.2.20.0000.03014.30
5.2.10.0000.05714.30
5.2.00.0000.06314.30
5.1.60.0030.05314.30
5.1.50.0000.05714.30
5.1.40.0000.04014.30
5.1.30.0070.05314.30
5.1.20.0030.05714.30
5.1.10.0000.04314.30
5.1.00.0070.04014.30
5.0.50.0070.04314.30
5.0.40.0000.02014.30
5.0.30.0000.04014.30
5.0.20.0030.03714.30
5.0.10.0000.02014.30
5.0.00.0000.03014.30
4.4.90.0000.01714.30
4.4.80.0000.02714.30
4.4.70.0030.03714.30
4.4.60.0030.03314.30
4.4.50.0000.01314.30
4.4.40.0000.05314.30
4.4.30.0000.03014.30
4.4.20.0070.01014.30
4.4.10.0000.01314.30
4.4.00.0030.03314.30
4.3.110.0000.01314.30
4.3.100.0030.01714.30
4.3.90.0100.00714.30
4.3.80.0030.02314.30
4.3.70.0000.01314.30
4.3.60.0000.02014.30
4.3.50.0000.03314.30
4.3.40.0030.02014.30
4.3.30.0000.01714.30
4.3.20.0000.02014.30
4.3.10.0000.01314.30
4.3.00.0000.01714.30

preferences:
46.73 ms | 401 KiB | 5 Q