3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Permission2 { public $key = null; public function __constructor($new_key) { $this->key = $new_key; } }; $test = new Permsission2('test'); echo $test->key;

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.0150.00418.43
8.3.60.0040.01916.50
8.3.50.0120.00622.05
8.3.40.0090.00618.84
8.3.30.0000.01418.81
8.3.20.0000.00819.98
8.3.10.0070.00721.80
8.3.00.0080.00019.38
8.2.190.0110.00418.43
8.2.180.0210.00316.38
8.2.170.0070.00722.96
8.2.160.0100.01020.35
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0080.00020.48
8.2.120.0000.00826.35
8.2.110.0060.00319.39
8.2.100.0030.00717.84
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0030.00519.37
8.2.30.0070.00020.62
8.2.20.0030.00617.64
8.2.10.0070.00018.09
8.2.00.0060.00317.91
8.1.280.0120.00325.92
8.1.270.0060.00323.92
8.1.260.0070.00028.09
8.1.250.0080.00028.09
8.1.240.0040.00423.86
8.1.230.0070.00420.89
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.23
8.1.190.0000.00817.51
8.1.180.0000.00718.10
8.1.170.0080.00018.45
8.1.160.0050.00321.86
8.1.150.0050.00318.62
8.1.140.0000.00819.39
8.1.130.0030.00317.49
8.1.120.0030.00717.23
8.1.110.0040.00417.24
8.1.100.0020.00617.31
8.1.90.0040.00417.29
8.1.80.0040.00417.32
8.1.70.0030.00317.29
8.1.60.0090.00017.44
8.1.50.0060.00317.41
8.1.40.0000.00717.33
8.1.30.0080.00017.65
8.1.20.0000.00717.53
8.1.10.0040.00417.52
8.1.00.0080.00017.48
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0070.00018.38
8.0.270.0070.00017.18
8.0.260.0060.00017.18
8.0.250.0070.00016.97
8.0.240.0070.00016.84
8.0.230.0030.00316.85
8.0.220.0040.00416.82
8.0.210.0020.00516.95
8.0.200.0060.00016.86
8.0.190.0060.00316.92
8.0.180.0000.00816.80
8.0.170.0030.00516.88
8.0.160.0070.00016.80
8.0.150.0040.00416.90
8.0.140.0050.00316.90
8.0.130.0000.00513.31
8.0.120.0000.00916.91
8.0.110.0000.00716.79
8.0.100.0000.00716.79
8.0.90.0030.00316.70
8.0.80.0110.00616.85
8.0.70.0050.00316.82
8.0.60.0000.00716.69
8.0.50.0070.00016.77
8.0.30.0090.00916.99
8.0.20.0120.00717.40
8.0.10.0040.00416.82
8.0.00.0080.01116.65
7.4.330.0050.00016.79
7.4.320.0030.00316.33
7.4.300.0000.00716.43
7.4.290.0030.00516.55
7.4.280.0000.00916.52
7.4.270.0030.00316.53
7.4.260.0060.00316.39
7.4.250.0000.00816.38
7.4.240.0020.00516.54
7.4.230.0030.00316.55
7.4.220.0100.00916.43
7.4.210.0120.00616.44
7.4.200.0050.00316.55
7.4.160.0060.00916.73
7.4.150.0060.01117.40
7.4.140.0140.00517.86
7.4.130.0100.01216.40
7.4.120.0080.01016.38
7.4.110.0070.01016.50
7.4.100.0100.00716.32
7.4.90.0110.00616.37
7.4.80.0030.01519.39
7.4.70.0090.00916.34
7.4.60.0030.01316.45
7.4.50.0040.01116.38
7.4.40.0150.00616.38
7.4.30.0060.01616.65
7.4.00.0080.00815.18
7.3.330.0000.00513.17
7.3.320.0050.00013.22
7.3.310.0040.00416.18
7.3.300.0000.00716.27
7.3.290.0070.00816.27
7.3.280.0060.00916.28
7.3.270.0090.01517.40
7.3.260.0090.00916.51
7.3.250.0110.00616.33
7.3.240.0060.01416.40
7.3.230.0070.01016.39
7.3.210.0060.01216.46
7.3.200.0140.00416.28
7.3.190.0130.00716.38
7.3.180.0100.00616.39
7.3.170.0030.01716.42
7.3.160.0110.01616.23
7.2.330.0060.01216.26
7.2.320.0110.00616.35
7.2.310.0100.00616.56
7.2.300.0130.00316.61
7.2.290.0040.01416.46
7.2.60.0070.00716.62
7.2.00.0030.01219.06
7.1.200.0070.00315.79
7.1.100.0030.00718.09
7.1.70.0000.00916.93
7.1.60.0100.01419.36
7.1.50.0070.01416.78
7.1.00.0030.07722.43
7.0.200.0000.00916.66
7.0.60.0030.08320.02
7.0.50.0130.06317.86
7.0.40.0300.06020.10
7.0.30.0230.03720.23
7.0.20.0300.07720.23
7.0.10.0100.08320.18
7.0.00.0000.08720.07
5.6.280.0000.03721.18
5.6.210.0170.07020.61
5.6.200.0130.07018.23
5.6.190.0030.04020.46
5.6.180.0400.06320.39
5.6.170.0300.04320.55
5.6.160.0000.05320.71
5.6.150.0000.04718.18
5.6.140.0030.04018.17
5.6.130.0070.03718.28
5.6.120.0000.04320.99
5.6.110.0030.04320.98
5.6.100.0100.06721.01
5.6.90.0070.04321.01
5.6.80.0070.03720.31
5.5.350.0230.08020.41
5.5.340.0030.04017.99
5.5.330.0030.04020.38
5.5.320.0030.04720.30
5.5.310.0170.05020.19
5.5.300.0000.04718.02
5.5.290.0030.04718.01
5.5.280.0170.05020.89
5.5.270.0030.08020.79
5.5.260.0130.06320.97
5.5.250.0100.08020.71
5.5.240.0170.06720.26

preferences:
62.98 ms | 401 KiB | 5 Q