3v4l.org

run code in 300+ PHP versions simultaneously
<?php class myclass { public $channel_data; function __construct() { $this->channel_data = "herp"; } function overrideChannelData($channel_data) { $this->channel_data = $channel_data; } } $class = new myclass; $class->overrideChannelData("derp"); var_dump($class->channel_data); // returns "herp"

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.0040.01118.68
8.3.50.0140.00422.11
8.3.40.0180.00318.59
8.3.30.0000.01518.75
8.3.20.0040.00418.58
8.3.10.0080.00020.54
8.3.00.0040.00421.91
8.2.180.0070.01418.29
8.2.170.0190.00322.96
8.2.160.0030.01022.96
8.2.150.0050.00324.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0150.00019.18
8.2.110.0000.00922.21
8.2.100.0090.00317.66
8.2.90.0030.00619.05
8.2.80.0000.00917.97
8.2.70.0040.00417.50
8.2.60.0000.00817.92
8.2.50.0040.00718.07
8.2.40.0040.00418.21
8.2.30.0080.00019.66
8.2.20.0080.00017.46
8.2.10.0070.00017.53
8.2.00.0040.00417.70
8.1.280.0070.01125.92
8.1.270.0040.00423.99
8.1.260.0140.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.47
8.1.230.0090.00321.02
8.1.220.0080.00018.77
8.1.210.0040.00418.85
8.1.200.0060.00317.35
8.1.190.0040.00417.53
8.1.180.0080.00418.10
8.1.170.0040.00418.61
8.1.160.0080.00018.75
8.1.150.0040.00418.49
8.1.140.0040.00417.31
8.1.130.0030.00517.36
8.1.120.0040.00317.41
8.1.110.0030.00517.30
8.1.100.0060.00317.45
8.1.90.0030.00517.39
8.1.80.0030.00317.29
8.1.70.0000.00717.29
8.1.60.0040.00417.58
8.1.50.0000.00817.49
8.1.40.0040.00417.58
8.1.30.0030.00517.55
8.1.20.0030.00517.51
8.1.10.0000.00817.38
8.1.00.0000.00817.31
8.0.300.0080.00019.89
8.0.290.0000.00717.05
8.0.280.0070.00018.44
8.0.270.0000.00717.15
8.0.260.0000.00816.81
8.0.250.0060.00316.98
8.0.240.0070.00316.88
8.0.230.0000.00716.94
8.0.220.0000.00716.74
8.0.210.0000.00716.76
8.0.200.0000.00716.91
8.0.190.0070.00016.91
8.0.180.0040.00416.92
8.0.170.0000.00716.89
8.0.160.0040.00416.82
8.0.150.0030.00616.79
8.0.140.0030.00516.79
8.0.130.0080.00013.30
8.0.120.0040.00416.81
8.0.110.0060.00316.71
8.0.100.0000.00716.65
8.0.90.0000.00716.78
8.0.80.0040.01116.82
8.0.70.0070.00016.67
8.0.60.0070.00016.88
8.0.50.0040.00416.86
8.0.30.0130.01017.06
8.0.20.0080.01117.40
8.0.10.0040.00417.00
8.0.00.0070.01316.70
7.4.330.0030.00314.70
7.4.320.0030.00316.47
7.4.300.0030.00316.51
7.4.290.0040.00416.61
7.4.280.0090.00016.52
7.4.270.0080.00016.43
7.4.260.0030.00313.31
7.4.250.0040.00416.56
7.4.240.0030.00316.62
7.4.230.0030.00316.61
7.4.220.0080.00016.54
7.4.210.0100.00716.51
7.4.200.0030.00316.63
7.4.190.0000.00716.56
7.4.160.0030.01316.28
7.4.150.0110.00617.40
7.4.140.0110.00617.86
7.4.130.0090.00916.49
7.4.120.0090.00816.58
7.4.110.0130.00716.62
7.4.100.0100.00716.52
7.4.90.0120.00616.37
7.4.80.0070.01019.37
7.4.70.0170.00016.60
7.4.60.0110.00516.41
7.4.50.0060.00316.40
7.4.40.0110.00722.27
7.4.30.0040.01216.41
7.4.00.0100.00315.01
7.3.330.0050.00013.24
7.3.320.0070.00013.21
7.3.310.0000.00716.25
7.3.300.0030.00316.24
7.3.290.0080.00816.28
7.3.280.0080.01016.27
7.3.270.0070.01417.40
7.3.260.0080.01118.24
7.3.250.0100.01116.46
7.3.240.0070.01516.33
7.3.230.0130.00316.56
7.3.210.0070.01016.49
7.3.200.0130.00319.39
7.3.190.0160.00016.33
7.3.180.0110.01216.32
7.3.170.0030.01316.42
7.3.160.0110.00516.36
7.3.120.0040.01115.01
7.2.330.0100.00716.74
7.2.320.0110.01116.63
7.2.310.0090.00916.40
7.2.300.0130.00316.59
7.2.290.0100.00616.65
7.2.60.0090.00916.63
7.1.200.0160.00615.87
7.1.70.0000.00717.16
7.1.60.0100.01419.40
7.1.50.0100.01317.01
7.1.00.0000.07322.32
7.0.200.0030.00316.61
7.0.140.0100.06722.09
7.0.70.0030.08321.70
7.0.60.0000.08721.71
7.0.50.0070.08022.04
7.0.40.0030.05320.18
7.0.30.0030.07320.10
7.0.20.0030.08320.05
7.0.10.0100.06320.13
7.0.00.0030.08320.16
5.6.280.0000.07721.07
5.6.220.0000.07720.63
5.6.210.0000.08020.57
5.6.200.0030.07720.96
5.6.190.0100.05721.13
5.6.180.0030.08721.01
5.6.170.0070.06020.94
5.6.160.0070.08020.93
5.6.150.0100.07321.06
5.6.140.0130.06020.93
5.6.130.0070.08021.02
5.6.120.0100.08021.14
5.6.110.0100.07721.04
5.6.100.0070.05721.00
5.6.90.0030.08721.11
5.6.80.0000.06320.47
5.6.70.0070.07720.39
5.6.60.0070.05320.40
5.6.50.0070.06720.46
5.6.40.0070.07720.36
5.6.30.0070.06020.47
5.6.20.0030.08020.46
5.6.10.0130.06720.43
5.6.00.0070.07020.40
5.5.360.0030.08320.29
5.5.350.0130.07320.35
5.5.340.0030.07320.93
5.5.330.0070.08020.87
5.5.320.0030.08720.80
5.5.310.0070.07720.72
5.5.300.0030.08320.79
5.5.290.0030.06320.89
5.5.280.0030.06720.89
5.5.270.0070.08720.86
5.5.260.0030.08720.82
5.5.250.0000.09020.70
5.5.240.0000.08020.14
5.5.230.0000.08320.27
5.5.220.0070.08020.13
5.5.210.0070.07720.29
5.5.200.0200.05320.13
5.5.190.0030.08020.07
5.5.180.0030.08320.15
5.5.160.0030.05320.25
5.5.150.0030.07720.15
5.5.140.0030.05320.18
5.5.130.0000.04320.15
5.5.120.0100.07020.18
5.5.110.0070.08020.11
5.5.100.0070.07320.07
5.5.90.0070.08020.11
5.5.80.0030.05320.17
5.5.70.0070.06320.04
5.5.60.0030.05320.11
5.5.50.0030.06320.01
5.5.40.0100.03720.03
5.5.30.0000.04020.07
5.5.20.0000.04720.02
5.5.10.0000.04020.11
5.5.00.0000.04020.03
5.4.450.0100.07319.39
5.4.440.0000.07019.45
5.4.430.0000.08719.47
5.4.420.0070.07719.45
5.4.410.0100.06719.23
5.4.400.0070.06719.13
5.4.390.0030.07719.18
5.4.380.0100.07018.90
5.4.370.0070.07019.23
5.4.360.0070.04718.96
5.4.350.0170.05018.94
5.4.340.0030.06719.12
5.4.320.0030.07019.16
5.4.310.0070.07018.90
5.4.300.0030.07319.15
5.4.290.0100.06319.04
5.4.280.0030.07319.04
5.4.270.0000.06719.00
5.4.260.0000.07718.94
5.4.250.0030.07719.11
5.4.240.0000.08318.94
5.4.230.0030.05019.12
5.4.220.0030.06719.04
5.4.210.0000.08319.02
5.4.200.0100.04718.87
5.4.190.0100.03319.17
5.4.180.0030.03319.16
5.4.170.0000.03719.19
5.4.160.0070.03319.00
5.4.150.0000.04019.18
5.4.140.0000.03716.28
5.4.130.0000.03016.27
5.4.120.0000.03716.27
5.4.110.0000.03716.43
5.4.100.0000.03016.50
5.4.90.0030.03016.50
5.4.80.0030.03316.37
5.4.70.0030.03716.37
5.4.60.0000.04716.39
5.4.50.0000.03016.43
5.4.40.0000.03316.41
5.4.30.0070.02316.35
5.4.20.0030.03716.45
5.4.10.0000.04016.47
5.4.00.0030.02315.84
5.3.290.0030.04014.77
5.3.280.0030.07314.77
5.3.270.0000.04014.77
5.3.260.0000.04014.77
5.3.250.0070.03014.77
5.3.240.0000.03714.77
5.3.230.0000.04014.77
5.3.220.0000.03014.77
5.3.210.0000.03314.77
5.3.200.0000.03314.77
5.3.190.0030.03714.77
5.3.180.0000.03014.77
5.3.170.0070.04314.77
5.3.160.0030.04314.77
5.3.150.0030.02714.77
5.3.140.0000.03314.77
5.3.130.0000.03014.77
5.3.120.0000.04314.77
5.3.110.0000.03714.77
5.3.100.0030.02714.77
5.3.90.0000.03014.77
5.3.80.0000.03314.77
5.3.70.0000.03714.77
5.3.60.0000.03014.77
5.3.50.0030.02714.77
5.3.40.0000.03714.77
5.3.30.0000.03014.77
5.3.20.0030.02314.77
5.3.10.0000.03014.77
5.3.00.0000.03014.77
5.2.170.0070.02714.77
5.2.160.0000.03014.77
5.2.150.0000.02314.77
5.2.140.0000.02714.77
5.2.130.0000.02714.77
5.2.120.0000.02314.77
5.2.110.0000.02314.77
5.2.100.0030.02014.77
5.2.90.0030.02014.77
5.2.80.0000.02714.77
5.2.70.0000.02314.77
5.2.60.0000.02314.77
5.2.50.0030.02314.77
5.2.40.0000.02314.77
5.2.30.0070.02014.77
5.2.20.0030.02014.77
5.2.10.0000.02314.77
5.2.00.0000.02314.77
5.1.60.0000.02014.77
5.1.50.0000.02014.77
5.1.40.0000.02314.77
5.1.30.0000.02714.77
5.1.20.0000.02314.77
5.1.10.0000.02314.77
5.1.00.0030.01714.77
5.0.50.0000.02014.77
5.0.40.0000.02014.77
5.0.30.0030.02314.77
5.0.20.0030.03314.77
5.0.10.0000.04314.77
5.0.00.0030.05014.77
4.4.90.0030.01014.77
4.4.80.0000.01014.77
4.4.70.0000.01314.77
4.4.60.0000.01314.77
4.4.50.0070.00714.77
4.4.40.0000.02014.77
4.4.30.0000.01014.77
4.4.20.0000.01314.77
4.4.10.0000.01314.77
4.4.00.0000.02014.77
4.3.110.0030.01014.77
4.3.100.0030.01714.77
4.3.90.0030.02314.77
4.3.80.0030.05014.77
4.3.70.0030.02014.77
4.3.60.0000.03714.77
4.3.50.0000.03714.77
4.3.40.0070.05014.77
4.3.30.0070.03014.77
4.3.20.0000.03014.77
4.3.10.0000.03714.77
4.3.00.0100.02014.77

preferences:
43 ms | 401 KiB | 5 Q