3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public $Parse = array(); protected function kekal($name) { return $name; } public function __construct() { $this->Parse["Start"] = 'kekal'; } } $my = new MyClass(); echo $my->{"Parse"}["Start"]("Hello");

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.0070.01416.58
8.3.60.0070.00717.00
8.3.50.0180.00322.09
8.3.40.0070.00718.82
8.3.30.0170.00019.09
8.3.20.0080.00020.31
8.3.10.0070.00023.52
8.3.00.0090.00318.00
8.2.180.0120.00618.50
8.2.170.0070.00722.96
8.2.160.0130.00720.47
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0030.00619.26
8.2.110.0060.00319.27
8.2.100.0110.00017.97
8.2.90.0030.00619.15
8.2.80.0050.00317.97
8.2.70.0030.00617.50
8.2.60.0060.00317.93
8.2.50.0000.00818.10
8.2.40.0030.00618.34
8.2.30.0040.00418.12
8.2.20.0000.00817.80
8.2.10.0070.00017.96
8.2.00.0050.00319.50
8.1.280.0140.00025.92
8.1.270.0080.00023.76
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.84
8.1.230.0060.00919.57
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0050.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00818.39
8.1.160.0000.00821.85
8.1.150.0070.00018.55
8.1.140.0070.00017.39
8.1.130.0000.00717.79
8.1.120.0000.00717.39
8.1.110.0040.00417.29
8.1.100.0020.00517.34
8.1.90.0040.00417.38
8.1.80.0030.00417.41
8.1.70.0040.00417.38
8.1.60.0090.00017.59
8.1.50.0000.00817.50
8.1.40.0090.00017.56
8.1.30.0030.00517.64
8.1.20.0000.00817.62
8.1.10.0000.00717.50
8.1.00.0050.00217.39
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0000.00718.37
8.0.270.0040.00416.73
8.0.260.0030.00317.24
8.0.250.0000.00716.94
8.0.240.0070.00016.97
8.0.230.0000.00816.99
8.0.220.0070.00016.82
8.0.210.0000.00716.84
8.0.200.0040.00416.98
8.0.190.0000.00716.83
8.0.180.0040.00416.91
8.0.170.0000.00816.82
8.0.160.0030.00316.79
8.0.150.0050.00516.80
8.0.140.0000.00716.75
8.0.130.0030.00513.32
8.0.120.0040.00416.75
8.0.110.0040.00416.82
8.0.100.0000.00816.91
8.0.90.0030.00616.70
8.0.80.0120.00616.93
8.0.70.0070.00016.77
8.0.60.0000.00716.78
8.0.50.0040.00416.80
8.0.30.0090.00917.07
8.0.20.0120.00717.40
8.0.10.0050.00216.92
8.0.00.0080.01016.84
7.4.330.0030.00315.00
7.4.320.0040.00416.52
7.4.300.0070.00016.59
7.4.290.0040.00416.60
7.4.280.0000.00716.52
7.4.270.0050.00316.47
7.4.260.0100.00016.50
7.4.250.0000.00816.57
7.4.240.0010.00616.39
7.4.230.0000.00716.62
7.4.220.0070.01016.66
7.4.210.0060.00916.61
7.4.200.0000.00716.63
7.4.160.0080.00816.63
7.4.150.0070.01117.40
7.4.140.0120.00517.86
7.4.130.0130.00616.44
7.4.120.0020.01616.52
7.4.110.0090.01216.53
7.4.100.0130.00916.46
7.4.90.0070.01016.55
7.4.80.0070.01319.39
7.4.70.0080.00816.47
7.4.60.0030.01316.52
7.4.50.0000.00816.65
7.4.40.0110.00716.59
7.4.30.0100.00616.27
7.4.00.0060.00915.03
7.3.330.0000.00513.42
7.3.320.0000.00513.24
7.3.310.0030.00316.30
7.3.300.0000.00716.39
7.3.290.0070.00716.43
7.3.280.0080.01016.42
7.3.270.0060.01917.40
7.3.260.0140.00316.40
7.3.250.0090.00916.51
7.3.240.0120.00916.23
7.3.230.0140.00716.39
7.3.210.0090.00916.37
7.3.200.0060.01219.39
7.3.190.0080.01116.42
7.3.180.0120.00316.32
7.3.170.0100.00616.49
7.3.160.0120.00916.32
7.3.120.0090.00614.68
7.2.330.0030.01616.58
7.2.320.0070.01016.40
7.2.310.0140.00716.72
7.2.300.0120.00316.71
7.2.290.0170.00016.56
7.2.80.0090.00316.77
7.2.60.0100.00816.61
7.1.200.0130.00015.19
7.1.70.0000.00816.87
7.1.60.0070.01419.70
7.1.50.0300.00934.87
7.1.00.0070.08722.44
7.0.200.0060.00316.91
7.0.140.0030.07321.92
7.0.60.0070.04720.00
7.0.50.0070.06017.88
7.0.40.0100.08720.09
7.0.30.0170.05020.20
7.0.20.0270.04320.23
7.0.10.0070.05720.18
7.0.00.0130.05020.41
5.6.280.0000.07720.93
5.6.210.0070.08720.63
5.6.200.0100.07318.20
5.6.190.0170.08020.57
5.6.180.0570.06320.61
5.6.170.0270.09020.60
5.6.160.0070.07720.39
5.6.150.0030.08318.14
5.6.140.0200.04718.24
5.6.130.0070.03718.29
5.6.120.0070.08321.10
5.6.110.0070.08321.14
5.6.100.0030.07321.11
5.6.90.0130.04321.11
5.6.80.0030.08320.54
5.5.350.0300.07320.32
5.5.340.0000.04017.99
5.5.330.0070.08020.29
5.5.320.0070.04320.24
5.5.310.0200.06020.41
5.5.300.0130.07318.00
5.5.290.0130.03317.94
5.5.280.0130.05720.90
5.5.270.0030.08320.86
5.5.260.0130.06020.86
5.5.250.0030.04320.58
5.5.240.0030.07320.36
5.4.450.0630.06019.46
5.4.440.0930.05019.35
5.4.430.0930.06019.20
5.4.420.0930.05019.46
5.4.410.0800.06319.48
5.4.400.1100.05719.25
5.4.390.1030.06019.08
5.4.380.0230.05318.70
5.4.370.0330.04718.53
5.4.360.0230.05318.73
5.4.350.0100.06718.72
5.4.340.0330.04718.77
5.4.320.0050.03812.50
5.4.310.0070.03612.50
5.4.300.0070.03912.51
5.4.290.0050.03712.50
5.4.280.0070.04012.39
5.4.270.0100.03612.40
5.4.260.0100.04312.39
5.4.250.0060.03612.39
5.4.240.0050.03512.40
5.4.230.0080.03412.39
5.4.220.0090.03912.39
5.4.210.0100.03612.39
5.4.200.0040.04312.39
5.4.190.0080.03712.39
5.4.180.0050.03712.39
5.4.170.0090.03712.40
5.4.160.0060.03412.39
5.4.150.0090.03712.39
5.4.140.0030.03812.07
5.4.130.0060.03512.06
5.4.120.0070.03612.02
5.4.110.0050.03912.02
5.4.100.0050.03512.02
5.4.90.0080.03312.02
5.4.80.0040.03812.02
5.4.70.0040.03512.01
5.4.60.0040.03612.02
5.4.50.0050.03512.01
5.4.40.0080.04212.00
5.4.30.0060.04012.00
5.4.20.0080.03712.00
5.4.10.0040.04012.00
5.4.00.0080.03911.49
5.3.290.0110.04712.80
5.3.280.0060.03712.71
5.3.270.0040.04012.73
5.3.260.0080.04512.72
5.3.250.0050.03712.72
5.3.240.0060.04812.72
5.3.230.0060.04312.71
5.3.220.0060.03712.68
5.3.210.0030.04212.68
5.3.200.0100.03712.68
5.3.190.0070.04012.68
5.3.180.0090.03312.67
5.3.170.0060.04112.67
5.3.160.0040.03812.68
5.3.150.0060.03712.68
5.3.140.0090.03512.66
5.3.130.0090.03512.65
5.3.120.0070.03812.66
5.3.110.0060.04112.65
5.3.100.0070.03812.12
5.3.90.0060.03612.11
5.3.80.0050.03912.09
5.3.70.0060.03512.09
5.3.60.0050.03612.08
5.3.50.0070.03412.03
5.3.40.0100.03712.03
5.3.30.0040.03611.99
5.3.20.0030.03911.77
5.3.10.0040.03811.73
5.3.00.0060.03511.72
5.2.170.0060.0289.23
5.2.160.0030.0379.23
5.2.150.0040.0419.23
5.2.140.0060.0299.23
5.2.130.0010.0319.18
5.2.120.0030.0289.19
5.2.110.0080.0309.19
5.2.100.0070.0289.18
5.2.90.0060.0289.18
5.2.80.0020.0329.18
5.2.70.0070.0359.18
5.2.60.0070.0279.13
5.2.50.0050.0329.10
5.2.40.0020.0309.07
5.2.30.0060.0279.05
5.2.20.0060.0359.04
5.2.10.0060.0308.95
5.2.00.0050.0288.81
5.1.60.0060.0258.09
5.1.50.0030.0308.09
5.1.40.0040.0258.07
5.1.30.0050.0258.42
5.1.20.0040.0268.44
5.1.10.0090.0218.17
5.1.00.0020.0278.16
5.0.50.0040.0206.65
5.0.40.0030.0196.50
5.0.30.0040.0306.32
5.0.20.0050.0176.28
5.0.10.0040.0226.26
5.0.00.0040.0296.25
4.4.90.0040.0144.78
4.4.80.0020.0164.75
4.4.70.0010.0174.76
4.4.60.0020.0164.76
4.4.50.0030.0144.77
4.4.40.0000.0314.70
4.4.30.0010.0164.75
4.4.20.0030.0184.84
4.4.10.0000.0184.84
4.4.00.0010.0264.76
4.3.110.0030.0164.67
4.3.100.0020.0154.67
4.3.90.0030.0144.63
4.3.80.0030.0234.58
4.3.70.0050.0184.63
4.3.60.0030.0144.62
4.3.50.0030.0164.63
4.3.40.0020.0264.54
4.3.30.0020.0203.30
4.3.20.0030.0153.28
4.3.10.0040.0133.24
4.3.00.0130.01333.61

preferences:
56.34 ms | 401 KiB | 5 Q