3v4l.org

run code in 300+ PHP versions simultaneously
<?php class stdClassArr extends stdClass implements ArrayAccess { function offsetExists($o){} function offsetSet($k, $v){} function offsetGet($o){} function offsetUnset($o){} } $a = (new stdClassArr())['sth'];

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.0170.00318.43
8.3.50.0140.00922.04
8.3.40.0150.00618.67
8.3.30.0040.01118.82
8.3.20.0080.00020.25
8.3.10.0040.01123.61
8.3.00.0040.00420.96
8.2.180.0130.01018.54
8.2.170.0120.00622.96
8.2.160.0090.00620.39
8.2.150.0110.00424.18
8.2.140.0040.00424.66
8.2.130.0110.00726.16
8.2.120.0040.00419.48
8.2.110.0090.00622.13
8.2.100.0060.00617.72
8.2.90.0000.00719.17
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0000.00918.05
8.2.50.0030.00518.07
8.2.40.0040.00419.88
8.2.30.0030.00618.23
8.2.20.0070.00017.62
8.2.10.0050.00318.04
8.2.00.0080.00019.43
8.1.280.0040.01125.92
8.1.270.0100.01023.97
8.1.260.0040.00426.35
8.1.250.0110.00728.09
8.1.240.0060.00323.79
8.1.230.0050.00519.08
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0030.00617.34
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0080.00018.58
8.1.160.0000.00722.02
8.1.150.0070.00018.64
8.1.140.0040.00417.35
8.1.130.0070.00017.70
8.1.120.0000.00717.36
8.1.110.0030.00517.38
8.1.100.0030.00417.52
8.1.90.0000.00717.49
8.1.80.0000.00717.34
8.1.70.0030.00517.42
8.1.60.0030.00617.58
8.1.50.0030.00617.39
8.1.40.0080.00017.41
8.1.30.0030.00617.52
8.1.20.0040.00417.69
8.1.10.0000.00717.56
8.1.00.0000.00817.50
8.0.300.0040.00418.77
8.0.290.0070.00017.05
8.0.280.0000.00718.35
8.0.270.0030.00317.16
8.0.260.0030.00317.13
8.0.250.0070.00016.80
8.0.240.0030.00317.02
8.0.230.0040.00416.96
8.0.220.0040.00416.93
8.0.210.0030.00316.86
8.0.200.0030.00316.92
8.0.190.0050.00516.86
8.0.180.0030.00616.96
8.0.170.0030.00616.97
8.0.160.0070.00017.01
8.0.150.0040.00416.87
8.0.140.0040.00316.81
8.0.130.0060.00013.22
8.0.120.0040.00416.88
8.0.110.0050.00316.93
8.0.100.0040.00416.85
8.0.90.0030.00516.79
8.0.80.0060.01516.80
8.0.70.0080.00016.73
8.0.60.0000.00716.95
8.0.50.0000.00716.92
8.0.30.0120.00617.01
8.0.20.0090.00917.40
8.0.10.0000.00716.95
8.0.00.0130.00316.86
7.4.330.0030.00315.15
7.4.320.0070.00016.45
7.4.300.0040.00416.54
7.4.290.0030.00316.46
7.4.280.0050.00216.58
7.4.270.0040.00416.50
7.4.260.0050.00316.59
7.4.250.0000.00816.56
7.4.240.0030.00416.42
7.4.230.0040.00416.57
7.4.220.0070.01016.46
7.4.210.0060.00816.71
7.4.200.0000.00816.30
7.4.160.0180.00016.55
7.4.150.0110.00617.40
7.4.140.0080.00817.86
7.4.130.0100.00816.60
7.4.120.0100.00816.46
7.4.110.0070.01116.50
7.4.100.0100.00716.55
7.4.90.0090.00916.46
7.4.80.0110.00619.39
7.4.70.0110.01116.37
7.4.60.0090.00616.70
7.4.50.0030.00516.49
7.4.40.0100.00716.27
7.4.30.0060.01516.55
7.4.00.0060.00614.88
7.3.330.0000.00613.39
7.3.320.0000.00513.35
7.3.310.0000.00716.53
7.3.300.0060.00016.34
7.3.290.0120.00516.38
7.3.280.0060.01216.38
7.3.270.0140.00317.40
7.3.260.0170.00016.36
7.3.250.0100.00716.40
7.3.240.0120.00416.32
7.3.230.0070.01116.39
7.3.210.0070.01016.54
7.3.200.0100.00619.39
7.3.190.0040.01516.39
7.3.180.0090.00616.32
7.3.170.0080.00816.38
7.3.160.0110.01116.45
7.3.120.0030.01215.13
7.2.330.0060.01216.77
7.2.320.0030.01416.53
7.2.310.0110.01116.82
7.2.300.0120.00616.46
7.2.290.0080.00916.70
7.2.00.0030.00819.39
7.1.100.0040.01118.09
7.1.70.0000.01017.22
7.1.60.0000.01117.16
7.1.50.0050.00516.93
7.1.00.0100.07022.35
7.0.200.0030.01016.79
7.0.140.0170.05722.12
7.0.60.0070.03719.85
7.0.50.0000.06017.84
7.0.40.0070.07720.36
7.0.30.0230.06020.17
7.0.20.0230.04020.27
7.0.10.0030.04720.23
7.0.00.0030.04720.23
5.6.280.0000.07720.78
5.6.210.0200.06320.50
5.6.200.0170.07318.19
5.6.190.0000.07720.77
5.6.180.0330.07020.61
5.6.170.0270.05320.71
5.6.160.0200.02720.46
5.6.150.0130.05718.15
5.6.140.0170.07018.28
5.6.130.0070.08318.23
5.6.120.0000.04721.13
5.6.110.0070.09021.04
5.6.100.0030.08720.97
5.6.90.0200.05721.08
5.6.80.0030.04320.38
5.5.350.0070.08320.53
5.5.340.0030.05017.98
5.5.330.0100.04320.47
5.5.320.0300.06720.37
5.5.310.0330.07020.50
5.5.300.0030.06017.98
5.5.290.0100.04317.95
5.5.280.0100.07320.77
5.5.270.0070.08720.84
5.5.260.0070.03720.77
5.5.250.0100.05720.69
5.5.240.4170.03720.25
5.4.450.0530.04319.55
5.4.440.0430.04719.30
5.4.430.0200.05019.54
5.4.420.0470.05019.27
5.4.410.0500.03719.11
5.4.400.0170.04719.05
5.4.390.0330.03319.08
5.4.380.0170.06718.59
5.4.370.0230.06018.61
5.4.360.0330.06718.67
5.4.350.0200.08018.72
5.4.340.0200.04718.77
5.4.320.0040.03712.50
5.4.310.0080.04112.50
5.4.300.0100.05112.50
5.4.290.0080.03812.50
5.4.280.0100.05112.39
5.4.270.0070.05312.39
5.4.260.0070.05612.39
5.4.250.0080.05612.39
5.4.240.0070.05712.39
5.4.230.0060.05812.38
5.4.220.0120.05012.38
5.4.210.0070.05012.39
5.4.200.0070.04812.39
5.4.190.0090.03912.38
5.4.180.0090.04012.38
5.4.170.0070.05512.39
5.4.160.0080.05312.39
5.4.150.0210.04412.38
5.4.140.0130.05512.07
5.4.130.0100.05112.06
5.4.120.0140.05612.02
5.4.110.0080.05312.01
5.4.100.0100.04612.01
5.4.90.0070.05412.01
5.4.80.0080.05112.02
5.4.70.0110.04412.01
5.4.60.0110.04612.01
5.4.50.0060.05012.01
5.4.40.0090.05912.00
5.4.30.0090.04111.99
5.4.20.0060.04111.99
5.4.10.0090.03411.99
5.4.00.0110.03411.48
5.3.290.0070.04012.80
5.3.280.0020.04312.71
5.3.270.0100.04112.73
5.3.260.0100.04912.72
5.3.250.0130.04712.72
5.3.240.0130.04612.72
5.3.230.0090.04912.71
5.3.220.0090.03612.68
5.3.210.0140.03812.68
5.3.200.0100.03512.68
5.3.190.0110.05212.68
5.3.180.0070.05112.67
5.3.170.0120.05312.66
5.3.160.0070.05012.68
5.3.150.0120.04612.67
5.3.140.0090.04712.66
5.3.130.0100.04912.66
5.3.120.0090.05112.66
5.3.110.0070.05212.66
5.3.100.0030.03912.13
5.3.90.0040.03812.11
5.3.80.0080.03512.10
5.3.70.0090.03512.10
5.3.60.0030.04112.08
5.3.50.0060.03812.04
5.3.40.0050.04212.04
5.3.30.0090.03311.99
5.3.20.0050.03711.77
5.3.10.0060.03511.74
5.3.00.0060.03811.72
5.2.170.0060.0309.23
5.2.160.0070.0299.23
5.2.150.0040.0319.23
5.2.140.0060.0299.23
5.2.130.0040.0319.19
5.2.120.0060.0309.19
5.2.110.0050.0319.19
5.2.100.0040.0339.18
5.2.90.0040.0339.18
5.2.80.0050.0329.18
5.2.70.0050.0329.18
5.2.60.0060.0319.14
5.2.50.0050.0329.10
5.2.40.0060.0309.08
5.2.30.0100.0279.06
5.2.20.0030.0329.04
5.2.10.0070.0298.95
5.2.00.0070.0308.81
5.1.60.0060.0328.10
5.1.50.0060.0268.09
5.1.40.0040.0268.08
5.1.30.0060.0258.43
5.1.20.0030.0308.45
5.1.10.0060.0298.17
5.1.00.0080.0238.18
5.0.50.0050.0216.65
5.0.40.0040.0226.51
5.0.30.0080.0426.32
5.0.20.0080.0256.29
5.0.10.0080.0266.27
5.0.00.0060.0436.26
4.4.90.0050.0234.78
4.4.80.0070.0204.75
4.4.70.0040.0254.76
4.4.60.0060.0204.76
4.4.50.0050.0204.77
4.4.40.0060.0364.71
4.4.30.0060.0214.76
4.4.20.0060.0224.84
4.4.10.0030.0244.85
4.4.00.0050.0374.75
4.3.110.0050.0254.67
4.3.100.0060.0234.66
4.3.90.0090.0214.64
4.3.80.0040.0354.58
4.3.70.0060.0224.63
4.3.60.0050.0224.63
4.3.50.0030.0254.63
4.3.40.0050.0344.54
4.3.30.0020.0253.30
4.3.20.0030.0233.28
4.3.10.0050.0243.23
4.3.00.0100.01311.13

preferences:
41.46 ms | 401 KiB | 5 Q