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.60.0110.01116.38
8.3.50.0110.00418.05
8.3.40.0040.01118.65
8.3.30.0070.00718.77
8.3.20.0000.00720.21
8.3.10.0070.00021.82
8.3.00.0080.00019.25
8.2.180.0140.00716.50
8.2.170.0130.00722.96
8.2.160.0100.00320.36
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00020.47
8.2.120.0040.00426.35
8.2.110.0060.00319.33
8.2.100.0080.00317.75
8.2.90.0030.00519.22
8.2.80.0080.00017.97
8.2.70.0040.00417.47
8.2.60.0090.00017.79
8.2.50.0080.00018.07
8.2.40.0050.00319.38
8.2.30.0040.00420.57
8.2.20.0040.00417.60
8.2.10.0040.00417.86
8.2.00.0060.00317.98
8.1.280.0070.01125.92
8.1.270.0000.00923.82
8.1.260.0040.00428.09
8.1.250.0050.00328.09
8.1.240.0090.00019.11
8.1.230.0040.00817.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0090.00017.12
8.1.190.0000.00717.29
8.1.180.0000.00818.10
8.1.170.0000.00818.62
8.1.160.0000.00721.88
8.1.150.0000.00718.75
8.1.140.0030.00619.44
8.1.130.0000.00717.60
8.1.120.0050.00517.34
8.1.110.0050.00317.32
8.1.100.0030.00517.35
8.1.90.0040.00417.24
8.1.80.0000.00817.29
8.1.70.0030.00317.22
8.1.60.0090.00317.49
8.1.50.0000.00917.34
8.1.40.0040.00417.35
8.1.30.0000.00817.59
8.1.20.0040.00417.44
8.1.10.0000.00717.44
8.1.00.0040.00417.45
8.0.300.0040.00418.77
8.0.290.0050.00216.88
8.0.280.0030.00518.30
8.0.270.0070.00017.19
8.0.260.0000.00617.23
8.0.250.0030.00316.83
8.0.240.0050.00216.94
8.0.230.0030.00316.93
8.0.220.0000.00816.82
8.0.210.0000.00816.90
8.0.200.0030.00316.98
8.0.190.0030.00616.91
8.0.180.0000.00716.80
8.0.170.0080.00016.90
8.0.160.0070.00016.78
8.0.150.0000.00816.81
8.0.140.0000.00716.83
8.0.130.0030.00313.30
8.0.120.0040.00416.87
8.0.110.0000.00716.90
8.0.100.0020.00516.99
8.0.90.0080.00016.74
8.0.80.0030.01316.94
8.0.70.0060.00316.78
8.0.60.0000.00716.95
8.0.50.0000.00716.75
8.0.30.0130.00616.90
8.0.20.0120.01117.40
8.0.10.0040.00416.97
8.0.00.0060.01316.65
7.4.330.0000.00516.84
7.4.320.0030.00316.32
7.4.300.0030.00316.52
7.4.290.0030.00316.34
7.4.280.0060.00316.57
7.4.270.0000.00816.50
7.4.260.0060.00316.55
7.4.250.0030.00416.32
7.4.240.0020.00516.48
7.4.230.0040.00416.61
7.4.220.0060.01316.53
7.4.210.0100.00616.54
7.4.200.0050.00216.64
7.4.160.0120.00316.38
7.4.150.0160.00417.40
7.4.140.0140.01217.86
7.4.130.0100.00816.46
7.4.120.0140.00916.62
7.4.110.0120.00616.65
7.4.100.0040.01516.47
7.4.90.0100.00716.41
7.4.80.0150.00619.39
7.4.70.0150.00616.24
7.4.60.0060.00916.49
7.4.50.0090.00616.49
7.4.40.0090.01216.17
7.4.30.0060.01616.58
7.4.00.0110.00414.84
7.3.330.0050.00013.09
7.3.320.0060.00013.23
7.3.310.0050.00216.33
7.3.300.0030.00316.32
7.3.290.0060.00816.28
7.3.280.0100.00516.29
7.3.270.0110.00617.40
7.3.260.0090.00916.31
7.3.250.0100.01216.40
7.3.240.0070.01116.39
7.3.230.0100.00716.58
7.3.210.0060.01116.52
7.3.200.0090.00916.48
7.3.190.0090.00616.35
7.3.180.0120.00416.29
7.3.170.0060.01516.58
7.3.160.0210.00516.22
7.2.330.0150.00316.30
7.2.320.0130.00316.63
7.2.310.0060.01516.47
7.2.300.0070.01016.55
7.2.290.0140.00316.43
7.2.60.0030.01016.62
7.2.00.0040.00819.20
7.1.200.0030.00715.42
7.1.100.0030.00917.98
7.1.70.0030.00516.69
7.1.60.0130.01019.36
7.1.50.0080.01116.81
7.1.00.0030.07322.48
7.0.200.0000.00916.84
7.0.60.0030.08019.86
7.0.50.0130.07317.87
7.0.40.0170.05320.23
7.0.30.0300.04320.30
7.0.20.0330.06320.10
7.0.10.0130.07720.20
7.0.00.0070.07720.33
5.6.280.0030.04321.08
5.6.210.0030.07720.52
5.6.200.0100.05018.15
5.6.190.0030.04320.48
5.6.180.0530.07020.33
5.6.170.0270.07720.52
5.6.160.0070.05720.54
5.6.150.0030.04318.31
5.6.140.0130.02718.28
5.6.130.0070.04318.14
5.6.120.0030.04021.14
5.6.110.0070.04020.96
5.6.100.0130.07320.97
5.6.90.0100.08021.13
5.6.80.0030.04020.30
5.5.350.0230.08020.53
5.5.340.0000.04318.07
5.5.330.0100.04720.27
5.5.320.0030.04320.36
5.5.310.0200.04720.35
5.5.300.0100.04718.09
5.5.290.0100.06017.95
5.5.280.0070.07720.85
5.5.270.0100.06720.94
5.5.260.0130.06020.83
5.5.250.0070.08320.68
5.5.240.0300.05320.23

preferences:
79.87 ms | 400 KiB | 5 Q