3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyClass { public $Parse = array(); public function __construct() { function kekal ($name) { return $name; }; $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.60.0060.00916.63
8.3.50.0110.00921.14
8.3.40.0110.00718.89
8.3.30.0070.01019.21
8.3.20.0060.00320.36
8.3.10.0070.00023.66
8.3.00.0030.00717.93
8.2.180.0070.01418.29
8.2.170.0110.00322.96
8.2.160.0130.00720.27
8.2.150.0040.01124.18
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0080.00019.38
8.2.110.0040.00422.16
8.2.100.0060.00618.28
8.2.90.0080.00019.25
8.2.80.0030.00517.97
8.2.70.0060.00317.75
8.2.60.0050.00318.05
8.2.50.0050.00318.07
8.2.40.0040.00418.34
8.2.30.0040.00418.31
8.2.20.0030.00617.82
8.2.10.0000.00718.15
8.2.00.0040.00419.48
8.1.280.0100.00725.92
8.1.270.0060.00323.91
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.98
8.1.230.0070.00419.02
8.1.220.0000.00717.79
8.1.210.0060.00318.77
8.1.200.0030.00617.25
8.1.190.0030.00517.13
8.1.180.0040.00418.10
8.1.170.0000.00818.52
8.1.160.0040.00422.01
8.1.150.0000.00818.58
8.1.140.0030.00517.46
8.1.130.0040.00417.78
8.1.120.0070.00017.36
8.1.110.0040.00417.47
8.1.100.0030.00517.46
8.1.90.0000.00717.33
8.1.80.0050.00317.49
8.1.70.0030.00317.34
8.1.60.0030.00617.41
8.1.50.0000.00717.50
8.1.40.0070.00317.51
8.1.30.0040.00417.64
8.1.20.0080.00017.71
8.1.10.0040.00417.47
8.1.00.0050.00317.50
8.0.300.0000.00718.77
8.0.290.0070.00016.63
8.0.280.0000.00718.34
8.0.270.0040.00417.31
8.0.260.0030.00317.12
8.0.250.0030.00316.96
8.0.240.0000.00616.90
8.0.230.0000.00716.96
8.0.220.0070.00016.87
8.0.210.0030.00316.95
8.0.200.0060.00016.91
8.0.190.0000.00716.93
8.0.180.0000.00716.96
8.0.170.0050.00316.93
8.0.160.0050.00316.83
8.0.150.0030.00316.71
8.0.140.0040.00416.74
8.0.130.0050.00013.30
8.0.120.0030.00516.90
8.0.110.0000.00816.94
8.0.100.0030.00516.74
8.0.90.0030.00316.95
8.0.80.0120.00616.80
8.0.70.0080.00016.85
8.0.60.0000.00816.86
8.0.50.0040.00416.86
8.0.30.0100.00916.99
8.0.20.0130.00817.40
8.0.10.0050.00316.93
8.0.00.0100.00816.86
7.4.330.0000.00515.20
7.4.320.0040.00416.64
7.4.300.0080.00016.57
7.4.290.0000.00716.52
7.4.280.0040.00416.64
7.4.270.0040.00416.63
7.4.260.0030.00716.44
7.4.250.0040.00416.41
7.4.240.0040.00416.55
7.4.230.0070.00016.69
7.4.220.0140.00316.54
7.4.210.0060.01016.46
7.4.200.0030.00316.32
7.4.160.0130.00316.41
7.4.150.0070.01117.40
7.4.140.0100.00717.86
7.4.130.0050.01216.54
7.4.120.0120.00616.48
7.4.110.0120.00616.47
7.4.100.0150.00416.51
7.4.90.0030.01316.34
7.4.80.0030.01919.39
7.4.70.0030.01716.43
7.4.60.0120.00416.56
7.4.50.0030.00516.37
7.4.40.0130.00316.38
7.4.30.0100.00616.54
7.4.00.0040.00414.96
7.3.330.0000.00513.33
7.3.320.0050.00013.44
7.3.310.0040.00416.36
7.3.300.0070.00016.25
7.3.290.0100.01016.37
7.3.280.0080.00916.35
7.3.270.0090.01517.40
7.3.260.0090.00916.61
7.3.250.0090.00916.38
7.3.240.0100.00616.30
7.3.230.0030.01316.39
7.3.210.0070.01016.66
7.3.200.0090.01219.39
7.3.190.0030.01316.34
7.3.180.0090.01216.59
7.3.170.0080.00816.37
7.3.160.0080.00816.52
7.3.120.0120.00314.82
7.3.10.0060.00616.34
7.3.00.0070.00716.03
7.2.330.0040.01316.50
7.2.320.0160.00316.74
7.2.310.0090.01116.82
7.2.300.0060.01016.86
7.2.290.0110.00516.84
7.2.130.0040.01316.76
7.2.120.0100.01016.54
7.2.110.0100.00016.61
7.2.100.0000.01116.52
7.2.90.0090.00316.75
7.2.80.0040.01216.89
7.2.70.0120.00416.84
7.2.60.0060.00616.72
7.2.50.0060.01016.93
7.2.40.0100.00617.15
7.2.30.0000.00916.59
7.2.20.0170.00316.68
7.2.10.0070.01016.82
7.2.00.0040.00617.96
7.1.250.0040.00415.64
7.1.100.0060.00617.92
7.1.70.0040.00417.13
7.1.60.0070.01719.70
7.1.50.0120.00934.91
7.1.00.0070.08722.51
7.0.200.0030.00616.68
7.0.140.0100.06722.07
7.0.60.0100.08320.08
7.0.50.0070.08317.96
7.0.40.0130.06720.26
7.0.30.0570.05720.24
7.0.20.0300.08020.06
7.0.10.0030.06720.33
7.0.00.0130.07720.05
5.6.280.0070.06721.10
5.6.210.0100.08020.52
5.6.200.0100.05018.27
5.6.190.0130.07020.67
5.6.180.0430.04020.67
5.6.170.0230.05720.50
5.6.160.0100.05020.43
5.6.150.0100.08018.15
5.6.140.0070.04718.17
5.6.130.0030.04018.22
5.6.120.0100.07721.10
5.6.110.0100.07321.01
5.6.100.0030.09020.98
5.6.90.0200.04021.01
5.6.80.0130.06320.41
5.5.350.0300.07720.45
5.5.340.0100.03317.98
5.5.330.0000.05720.27
5.5.320.0100.03720.39
5.5.310.0200.03720.55
5.5.300.0070.06017.95
5.5.290.0100.03718.06
5.5.280.0100.08020.89
5.5.270.0130.07320.89
5.5.260.0070.06320.77
5.5.250.0100.04320.79
5.5.240.0100.06720.27
5.4.450.0230.05019.60
5.4.440.0700.06319.38
5.4.430.0830.07019.47
5.4.420.0770.06019.47
5.4.410.0730.06019.45
5.4.400.0700.05319.26
5.4.390.0200.05319.32
5.4.380.0230.06018.77
5.4.370.0200.05018.53
5.4.360.0330.03718.73
5.4.350.0270.04718.50
5.4.340.0130.06318.78
5.4.320.0040.03912.51
5.4.310.0080.04012.50
5.4.300.0120.03512.51
5.4.290.0060.03712.50
5.4.280.0060.03712.40
5.4.270.0080.03312.40
5.4.260.0070.03612.40
5.4.250.0020.04012.40
5.4.240.0080.03512.40
5.4.230.0040.03812.39
5.4.220.0060.03412.39
5.4.210.0060.03412.39
5.4.200.0040.03912.39
5.4.190.0050.03912.39
5.4.180.0060.03512.39
5.4.170.0040.03812.40
5.4.160.0080.04212.39
5.4.150.0080.03812.39
5.4.140.0090.03312.08
5.4.130.0080.03312.06
5.4.120.0070.03512.02
5.4.110.0070.03312.01
5.4.100.0050.04212.01
5.4.90.0050.03612.01
5.4.80.0110.03312.02
5.4.70.0040.03512.01
5.4.60.0060.04112.02
5.4.50.0040.03612.01
5.4.40.0040.03612.00
5.4.30.0030.03812.00
5.4.20.0090.03212.00
5.4.10.0060.03412.00
5.4.00.0060.04211.49
5.3.290.0080.04012.80
5.3.280.0080.04012.71
5.3.270.0050.04212.73
5.3.260.0040.04012.72
5.3.250.0080.03912.72
5.3.240.0080.03712.72
5.3.230.0070.03612.71
5.3.220.0090.04312.68
5.3.210.0090.04212.68
5.3.200.0080.03912.68
5.3.190.0060.03712.68
5.3.180.0100.03412.68
5.3.170.0060.04612.67
5.3.160.0090.03312.67
5.3.150.0090.03412.67
5.3.140.0050.03612.66
5.3.130.0060.03812.66
5.3.120.0100.04112.66
5.3.110.0090.04012.66
5.3.100.0050.04612.12
5.3.90.0090.03912.10
5.3.80.0030.03912.09
5.3.70.0070.03512.09
5.3.60.0070.03512.08
5.3.50.0070.03512.04
5.3.40.0060.04212.04
5.3.30.0080.03311.98
5.3.20.0070.03411.77
5.3.10.0050.03611.73
5.3.00.0070.03611.72
5.2.170.0080.0279.23
5.2.160.0060.0319.23
5.2.150.0050.0359.23
5.2.140.0070.0389.22
5.2.130.0050.0309.18
5.2.120.0050.0319.18
5.2.110.0050.0289.19
5.2.100.0030.0299.18
5.2.90.0080.0249.18
5.2.80.0050.0299.18
5.2.70.0040.0329.17
5.2.60.0020.0339.13
5.2.50.0060.0279.10
5.2.40.0050.0349.07
5.2.30.0050.0329.05
5.2.20.0050.0329.04
5.2.10.0040.0298.94
5.2.00.0020.0318.80
5.1.60.0030.0248.09
5.1.50.0050.0278.09
5.1.40.0030.0268.08
5.1.30.0050.0318.42
5.1.20.0080.0228.45
5.1.10.0050.0258.16
5.1.00.0050.0248.16
5.0.50.0020.0276.66
5.0.40.0040.0196.50
5.0.30.0050.0306.32
5.0.20.0060.0166.29
5.0.10.0060.0246.26
5.0.00.0070.0276.25
4.4.90.0030.0154.78
4.4.80.0030.0154.76
4.4.70.0010.0194.76
4.4.60.0010.0174.75
4.4.50.0030.0154.77
4.4.40.0040.0244.71
4.4.30.0000.0184.76
4.4.20.0050.0134.85
4.4.10.0020.0164.85
4.4.00.0040.0234.76
4.3.110.0020.0164.67
4.3.100.0020.0154.66
4.3.90.0030.0144.63
4.3.80.0040.0224.59
4.3.70.0030.0134.63
4.3.60.0040.0124.63
4.3.50.0010.0164.63
4.3.40.0020.0244.53
4.3.30.0020.0163.30
4.3.20.0020.0153.28
4.3.10.0010.0163.23
4.3.00.0070.01333.60

preferences:
36.32 ms | 401 KiB | 5 Q