3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = '{"id":0}'; $arr2 = '[{"id": 626, "name": "Aaron Wolfson", "contactID": "48499", "eventID": "325", "status": "Registered", "emergency": "", "dietary": "", "special": ""},{"id": 627, "name": "Aaron Wolfson", "contactID": "48499", "eventID": "331", "status": "Attended", "emergency": "", "dietary": "", "special": ""}]'; print_r(json_decode($arr, true)); ?>

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.0080.00618.17
8.3.50.0100.01121.95
8.3.40.0110.00318.59
8.3.30.0110.00418.88
8.3.20.0040.00420.30
8.3.10.0050.00320.52
8.3.00.0050.00319.25
8.2.180.0150.00616.50
8.2.170.0090.00622.96
8.2.160.0070.00720.39
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0090.00022.29
8.2.110.0060.00322.11
8.2.100.0090.00317.91
8.2.90.0050.00319.05
8.2.80.0050.00317.97
8.2.70.0000.00817.50
8.2.60.0040.00417.80
8.2.50.0090.00018.07
8.2.40.0050.00318.09
8.2.30.0070.00019.14
8.2.20.0060.00317.67
8.2.10.0080.00017.86
8.2.00.0000.00817.48
8.1.280.0100.01025.92
8.1.270.0080.00023.84
8.1.260.0000.00726.35
8.1.250.0030.00528.09
8.1.240.0030.00623.97
8.1.230.0090.00319.15
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0060.00617.23
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0060.00318.48
8.1.160.0040.00421.98
8.1.150.0000.00718.86
8.1.140.0060.00317.38
8.1.130.0060.00017.77
8.1.120.0000.00717.30
8.1.110.0000.00717.37
8.1.100.0040.00417.29
8.1.90.0000.00717.37
8.1.80.0040.00417.42
8.1.70.0040.00417.24
8.1.60.0000.00817.49
8.1.50.0000.00917.48
8.1.40.0040.00917.36
8.1.30.0040.00417.55
8.1.20.0000.00817.55
8.1.10.0000.00817.45
8.1.00.0050.00317.30
8.0.300.0020.00518.77
8.0.290.0080.00016.58
8.0.280.0020.00518.39
8.0.270.0000.00717.22
8.0.260.0030.00317.24
8.0.250.0040.00416.88
8.0.240.0000.00716.89
8.0.230.0000.00716.80
8.0.220.0040.00416.79
8.0.210.0000.00816.84
8.0.200.0030.00316.88
8.0.190.0030.00616.93
8.0.180.0000.00816.82
8.0.170.0040.00416.86
8.0.160.0040.00416.76
8.0.150.0000.00716.73
8.0.140.0070.00016.73
8.0.130.0000.00613.23
8.0.120.0000.00816.69
8.0.110.0000.00716.79
8.0.100.0040.00416.77
8.0.90.0040.00416.92
8.0.80.0030.01716.86
8.0.70.0040.00416.63
8.0.60.0070.00016.92
8.0.50.0070.00016.93
8.0.30.0140.01017.10
8.0.20.0120.01017.40
8.0.10.0040.00416.88
8.0.00.0110.00616.76
7.4.330.0030.00315.02
7.4.320.0060.00016.39
7.4.300.0030.00316.53
7.4.290.0030.00316.57
7.4.280.0030.00516.53
7.4.270.0000.00716.56
7.4.260.0040.00416.52
7.4.250.0080.00016.51
7.4.240.0000.00716.53
7.4.230.0000.00716.59
7.4.220.0170.00816.45
7.4.210.0030.01016.59
7.4.200.0000.00716.34
7.4.160.0140.00316.46
7.4.150.0110.00817.40
7.4.140.0090.01117.86
7.4.130.0110.00816.44
7.4.120.0090.00716.30
7.4.110.0060.01216.41
7.4.100.0130.00316.48
7.4.90.0050.01816.29
7.4.80.0130.01016.52
7.4.70.0070.01016.46
7.4.60.0110.00516.36
7.4.50.0040.00416.55
7.4.40.0090.00616.56
7.4.30.0100.00616.43
7.4.00.0100.00714.92
7.3.330.0000.00512.97
7.3.320.0030.00312.91
7.3.310.0030.00316.09
7.3.300.0040.00316.16
7.3.290.0070.00716.17
7.3.280.0090.01016.13
7.3.270.0090.00917.40
7.3.260.0070.01016.43
7.3.250.0140.00716.34
7.3.240.0060.01016.32
7.3.230.0100.00716.39
7.3.210.0110.00616.45
7.3.200.0090.01219.39
7.3.190.0030.01816.30
7.3.180.0070.01016.45
7.3.170.0090.00916.38
7.3.160.0070.01316.24
7.2.330.0100.00716.23
7.2.320.0160.00316.26
7.2.310.0080.01616.33
7.2.300.0130.00316.18
7.2.290.0130.00316.48
7.2.60.0100.00316.80
7.2.00.0030.00918.89
7.1.200.0000.01215.90
7.1.100.0070.00318.20
7.1.70.0030.00517.05
7.1.60.0070.01619.32
7.1.50.0120.01216.85
7.1.00.0000.08022.27
7.0.200.0070.00016.62
7.0.140.0000.07721.92
7.0.60.0130.07720.09
7.0.50.0000.04317.84
7.0.40.0070.04320.12
7.0.30.0200.04720.00
7.0.20.0170.04720.09
7.0.10.0070.04020.00
7.0.00.0070.04720.17
5.6.280.0030.07321.10
5.6.210.0070.05720.51
5.6.200.0000.08018.16
5.6.190.0170.03720.57
5.6.180.0270.08020.77
5.6.170.0370.07320.38
5.6.160.0130.03320.48
5.6.150.0070.07718.22
5.6.140.0100.08018.10
5.6.130.0100.06018.11
5.6.120.0070.08720.92
5.6.110.0100.08321.07
5.6.100.0030.04021.13
5.6.90.0100.03321.11
5.6.80.0000.05020.53
5.5.350.0130.08320.46
5.5.340.0030.06017.95
5.5.330.0100.07720.23
5.5.320.0200.04320.34
5.5.310.0200.04020.29
5.5.300.0100.06717.95
5.5.290.0230.06317.99
5.5.280.0100.05720.86
5.5.270.0100.05320.62
5.5.260.0070.08020.71
5.5.250.0030.04320.61
5.5.240.0200.07020.15
5.4.450.0430.03319.54
5.4.440.0870.05719.27
5.4.430.1130.06019.40
5.4.420.0070.06319.15
5.4.410.0870.05719.50
5.4.400.0770.05319.00
5.4.390.1030.05019.26
5.4.380.0830.07018.72
5.4.370.0430.06018.63
5.4.360.0330.06018.57
5.4.350.0400.05718.52
5.4.340.0330.05718.71
5.4.320.0070.04012.45
5.4.310.0040.03912.45
5.4.300.0080.03512.45
5.4.290.0060.03812.45
5.4.280.0090.03212.35
5.4.270.0080.03312.35
5.4.260.0060.03812.34
5.4.250.0090.03612.34
5.4.240.0050.03812.34
5.4.230.0070.04812.34
5.4.220.0040.03812.34
5.4.210.0070.03912.34
5.4.200.0060.04312.34
5.4.190.0050.03712.33
5.4.180.0020.03912.33
5.4.170.0050.03712.35
5.4.160.0090.03212.34
5.4.150.0060.04012.34
5.4.140.0070.03512.02
5.4.130.0090.03412.01
5.4.120.0050.03611.96
5.4.110.0060.03511.96
5.4.100.0070.03311.96
5.4.90.0040.03711.96
5.4.80.0070.03511.96
5.4.70.0050.03411.96
5.4.60.0060.03411.96
5.4.50.0050.03511.96
5.4.40.0060.03411.95
5.4.30.0050.03611.95
5.4.20.0040.04011.95
5.4.10.0030.03711.95
5.4.00.0060.03611.44
5.3.290.0080.03812.80
5.3.280.0070.03612.71
5.3.270.0060.03812.72
5.3.260.0070.03712.72
5.3.250.0040.04012.72
5.3.240.0060.03612.72
5.3.230.0050.03812.71
5.3.220.0100.03512.68
5.3.210.0060.04212.68
5.3.200.0070.03712.68
5.3.190.0080.03512.67
5.3.180.0050.03812.67
5.3.170.0060.03512.67
5.3.160.0040.03812.68
5.3.150.0070.04012.68
5.3.140.0070.03612.66
5.3.130.0090.03512.66
5.3.120.0060.03812.65
5.3.110.0060.03812.66
5.3.100.0050.03612.11
5.3.90.0050.04512.09
5.3.80.0040.03812.07
5.3.70.0060.03612.07
5.3.60.0060.03612.06
5.3.50.0040.03712.00
5.3.40.0090.03312.00
5.3.30.0040.03611.95
5.3.20.0080.04611.73
5.3.10.0080.03311.69
5.3.00.0080.03611.68
5.2.170.0050.0319.18
5.2.160.0040.0309.17
5.2.150.0050.0329.18
5.2.140.0070.0349.18
5.2.130.0070.0279.13
5.2.120.0080.0269.13
5.2.110.0070.0269.14
5.2.100.0030.0309.14
5.2.90.0070.0299.14
5.2.80.0070.0359.13
5.2.70.0050.0319.13
5.2.60.0070.0379.09
5.2.50.0080.0379.05
5.2.40.0070.0379.04
5.2.30.0030.0329.00
5.2.20.0040.0308.99
5.2.10.0060.0278.93
5.2.00.0040.0308.80
5.1.60.0080.0218.06
5.1.50.0070.0258.06
5.1.40.0050.0238.04
5.1.30.0040.0298.39
5.1.20.0060.0248.42
5.1.10.0050.0248.14
5.1.00.0030.0278.14
5.0.50.0010.0226.62
5.0.40.0050.0226.48
5.0.30.0040.0386.29
5.0.20.0040.0196.26
5.0.10.0020.0216.24
5.0.00.0060.0406.23
4.4.90.0040.0164.78
4.4.80.0040.0164.75
4.4.70.0040.0184.75
4.4.60.0030.0154.75
4.4.50.0070.0114.77
4.4.40.0050.0234.71
4.4.30.0020.0164.76
4.4.20.0030.0174.84
4.4.10.0010.0174.85
4.4.00.0010.0264.76
4.3.110.0030.0154.67
4.3.100.0030.0144.67
4.3.90.0050.0124.63
4.3.80.0020.0254.58
4.3.70.0030.0164.63
4.3.60.0020.0184.63
4.3.50.0010.0174.63
4.3.40.0050.0214.54
4.3.30.0010.0163.28
4.3.20.0010.0163.25
4.3.10.0020.0243.22
4.3.00.0030.0236.85

preferences:
66.72 ms | 401 KiB | 5 Q