3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json='{ "id": "number12345", "model": "324", "discount": [], "note": [], "quantity": "2", "addresses": [ { "first": [ { "type": "billing", "name": "Jo", "number": "01" }, { "type": "shipping", "name": "Susuan", "number": "03" } ] }, { "seconde": [ { "type": "billing", "name": "Jony", "number": "02" }, { "type": "shipping", "name": "Ladye", "number": "05" } ] } ] }'; $data = json_decode($json); var_dump($data->addresses->first);

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.00416.50
8.3.50.0150.00621.92
8.3.40.0080.00818.90
8.3.30.0140.00318.95
8.3.20.0070.00020.19
8.3.10.0050.00321.75
8.3.00.0040.00419.13
8.2.180.0070.00718.22
8.2.170.0070.01022.96
8.2.160.0080.00620.44
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0100.01019.46
8.2.110.0060.00319.30
8.2.100.0060.00617.63
8.2.90.0080.00019.17
8.2.80.0050.00317.97
8.2.70.0050.00317.50
8.2.60.0000.00917.91
8.2.50.0040.00418.07
8.2.40.0030.00619.76
8.2.30.0040.00417.95
8.2.20.0080.00017.82
8.2.10.0070.00018.19
8.2.00.0000.00817.70
8.1.280.0120.00325.92
8.1.270.0060.00318.82
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00623.77
8.1.230.0110.00017.42
8.1.220.0000.00917.79
8.1.210.0000.00918.77
8.1.200.0030.00617.36
8.1.190.0030.00517.25
8.1.180.0000.00918.10
8.1.170.0000.00820.28
8.1.160.0000.00721.87
8.1.150.0000.00718.75
8.1.140.0030.00517.46
8.1.130.0020.00517.90
8.1.120.0000.00717.41
8.1.110.0000.00717.30
8.1.100.0030.00317.39
8.1.90.0070.00017.47
8.1.80.0000.00817.39
8.1.70.0000.00717.30
8.1.60.0050.00317.42
8.1.50.0030.00517.44
8.1.40.0040.00417.50
8.1.30.0000.00917.64
8.1.20.0040.00417.63
8.1.10.0000.00817.45
8.1.00.0000.00817.42
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.33
8.0.270.0000.00717.20
8.0.260.0030.00317.20
8.0.250.0000.00616.83
8.0.240.0020.00517.00
8.0.230.0060.00316.85
8.0.220.0040.00416.80
8.0.210.0040.00416.91
8.0.200.0060.00016.90
8.0.190.0000.00716.99
8.0.180.0000.00716.80
8.0.170.0050.00316.80
8.0.160.0030.00316.80
8.0.150.0000.00816.84
8.0.140.0000.00716.89
8.0.130.0030.00313.38
8.0.120.0020.00516.79
8.0.110.0000.00716.95
8.0.100.0040.00416.77
8.0.90.0040.00416.72
8.0.80.0090.00616.89
8.0.70.0060.00316.70
8.0.60.0040.00416.70
8.0.50.0000.00817.02
8.0.30.0180.00717.02
8.0.20.0140.00817.40
8.0.10.0000.00716.92
8.0.00.0100.00716.67
7.4.330.0000.00515.09
7.4.320.0040.00316.54
7.4.300.0030.00316.58
7.4.290.0050.00316.60
7.4.280.0090.00016.52
7.4.270.0000.00716.61
7.4.260.0000.00816.51
7.4.250.0000.00716.62
7.4.240.0060.00216.61
7.4.230.0000.00816.50
7.4.220.0130.00616.68
7.4.210.0040.01216.54
7.4.200.0070.00016.63
7.4.160.0040.01216.22
7.4.150.0060.01217.40
7.4.140.0100.01017.86
7.4.130.0070.00916.46
7.4.120.0110.00616.40
7.4.110.0160.00316.55
7.4.100.0080.01116.36
7.4.90.0060.01016.45
7.4.80.0070.01019.39
7.4.70.0130.00316.54
7.4.60.0060.00916.53
7.4.50.0000.00916.52
7.4.40.0040.01216.18
7.4.30.0070.01716.47
7.4.00.0130.00014.93
7.3.330.0040.00413.05
7.3.320.0090.00413.07
7.3.310.0040.00416.10
7.3.300.0070.00016.18
7.3.290.0070.00716.22
7.3.280.0070.01016.20
7.3.270.0090.01217.40
7.3.260.0100.01016.40
7.3.250.0070.01016.34
7.3.240.0030.01316.36
7.3.230.0070.01016.39
7.3.210.0100.00716.41
7.3.200.0110.00719.39
7.3.190.0100.00616.22
7.3.180.0100.00616.38
7.3.170.0130.00416.49
7.3.160.0080.00816.29
7.2.330.0110.00716.47
7.2.320.0040.01516.36
7.2.310.0080.01316.76
7.2.300.0060.01116.52
7.2.290.0100.00716.41
7.2.110.0140.00716.40
7.2.100.0050.00916.46
7.2.90.0110.00416.27
7.2.80.0120.00616.75
7.2.70.0100.00816.58
7.2.60.0110.00616.67
7.2.50.0110.00716.79
7.2.40.0180.00316.72
7.2.30.0100.01016.80
7.2.20.0130.00816.79
7.2.10.0110.00616.82
7.2.00.0060.00616.49
7.1.230.0100.00315.61
7.1.220.0230.00715.64
7.1.210.0090.00915.81
7.1.200.0140.00315.64
7.1.190.0250.00615.65
7.1.180.0110.00715.73
7.1.170.0110.00715.79
7.1.160.0090.00615.55
7.1.150.0090.00915.84
7.1.140.0120.00615.46
7.1.130.0090.00515.84
7.1.120.0040.01115.83
7.1.110.0100.00615.72
7.1.100.0140.00615.77
7.1.90.0190.00015.82
7.1.80.0090.00915.88
7.1.70.0070.00616.52
7.1.60.0160.00517.64
7.1.50.0090.00716.49
7.1.40.0170.00716.02
7.1.30.0090.00915.89
7.1.20.0150.00415.82
7.1.10.0150.00015.70
7.1.00.0070.03818.94
7.0.310.0070.01015.41
7.0.300.0110.00415.54
7.0.290.0100.00315.28
7.0.280.0130.00415.43
7.0.270.0030.00915.43
7.0.260.0140.00315.34
7.0.250.0080.00515.29
7.0.240.0130.00015.16
7.0.230.0140.00315.33
7.0.220.0080.00815.41
7.0.210.0140.00015.40
7.0.200.0070.00415.94
7.0.190.0090.00615.50
7.0.180.0100.00515.19
7.0.170.0110.00715.44
7.0.160.0150.00315.39
7.0.150.0090.00615.45
7.0.140.0050.03218.73
7.0.130.0070.00715.43
7.0.120.0120.00415.45
7.0.110.0040.00815.39
7.0.100.0170.00015.48
7.0.90.0000.01415.34
7.0.80.0130.00315.41
7.0.70.0140.00515.57
7.0.60.0070.03917.79
7.0.50.0040.03216.67
7.0.40.0130.03216.66
7.0.30.0210.02216.69
7.0.20.0170.04316.72
7.0.10.0180.02516.71
7.0.00.0100.04116.63
5.6.380.0120.00414.46
5.6.370.0120.00814.31
5.6.360.0130.00314.57
5.6.350.0090.00914.06
5.6.340.0130.00014.40
5.6.330.0120.00314.44
5.6.320.0130.00414.43
5.6.310.0060.01014.13
5.6.300.0160.00314.15
5.6.290.0120.00314.30
5.6.280.0040.04117.70
5.6.270.0080.00514.25
5.6.260.0100.00714.48
5.6.250.0120.00414.24
5.6.240.0080.00514.28
5.6.230.0000.01314.25
5.6.220.0160.00014.27
5.6.210.0050.03517.29
5.6.200.0080.02016.07
5.6.190.0040.02917.30
5.6.180.0090.02817.29
5.6.170.0210.04417.26
5.6.160.0040.05117.24
5.6.150.0180.03216.04
5.6.140.0100.03716.14
5.6.130.0110.02416.22
5.6.120.0100.02317.53
5.6.110.0120.04017.67
5.6.100.0100.02917.48
5.6.90.0060.04617.39
5.6.80.0070.03717.20
5.6.70.0170.03717.22
5.6.60.0120.00214.16
5.6.50.0030.01014.27
5.6.40.0110.00414.22
5.6.30.0120.00314.20
5.6.20.0080.00814.07
5.6.10.0040.01114.05
5.6.00.0040.01314.30
5.5.380.0100.00312.79
5.5.370.0090.00612.79
5.5.360.0130.00012.79
5.5.350.0150.03816.63
5.5.340.0080.04515.39
5.5.330.0110.02816.61
5.5.320.0110.02116.48
5.5.310.0220.02516.60
5.5.300.0070.03715.34
5.5.290.0100.04215.38
5.5.280.0080.04516.72
5.5.270.0070.03216.77
5.5.260.0100.04016.88
5.5.250.0110.03016.74
5.5.240.0050.03316.43
5.5.230.0060.00312.79
5.5.220.0080.00812.79
5.5.210.0080.00412.79
5.5.200.0080.00512.79
5.5.190.0120.00412.79
5.5.180.0100.00312.79
5.5.170.0160.00014.15
5.5.160.0040.00812.79
5.5.150.0070.00712.79
5.5.140.0070.00512.79
5.5.130.0070.00312.79
5.5.120.0120.00412.79
5.5.110.0080.00812.79
5.5.100.0130.00012.79
5.5.90.0130.00312.79
5.5.80.0100.00312.79
5.5.70.0000.01112.79
5.5.60.0130.00012.79
5.5.50.0070.00712.79
5.5.40.0050.00812.79
5.5.30.0080.00812.79
5.5.20.0040.00912.79
5.5.10.0170.00012.79
5.5.00.0090.00012.79
5.4.450.0410.03516.05
5.4.440.0390.03416.05
5.4.430.0380.03716.03
5.4.420.0360.03216.21
5.4.410.0410.03115.96
5.4.400.0190.02515.81
5.4.390.0150.02715.73
5.4.380.0240.03415.73
5.4.370.0170.02715.71
5.4.360.0190.02315.68
5.4.350.0150.03015.63
5.4.340.0120.04015.73
5.4.330.0040.00812.79
5.4.320.0100.03415.73
5.4.310.0140.03015.78
5.4.300.0130.03015.70
5.4.290.0160.03315.74
5.4.280.0180.02915.71
5.4.270.0160.03315.67
5.4.260.0180.02515.61
5.4.250.0180.02815.63
5.4.240.0200.03715.67
5.4.230.0130.03715.73
5.4.220.0140.03315.62
5.4.210.0150.02715.68
5.4.200.0110.02914.58
5.4.190.0170.02515.62
5.4.180.0230.02415.68
5.4.170.0160.02715.65
5.4.160.0130.02815.63
5.4.150.0200.02215.74
5.4.140.0110.02914.45
5.4.130.0140.02614.57
5.4.120.0220.02814.50
5.4.110.0160.02414.42
5.4.100.0170.03014.47
5.4.90.0150.02714.55
5.4.80.0150.02614.54
5.4.70.0130.03014.41
5.4.60.0080.03614.48
5.4.50.0140.02714.45
5.4.40.0190.02514.40
5.4.30.0170.02514.47
5.4.20.0130.03114.48
5.4.10.0130.02914.40
5.4.00.0150.02814.15
5.3.290.0160.03113.78
5.3.280.0150.03013.68
5.3.270.0160.02713.67
5.3.260.0190.02313.70
5.3.250.0160.03213.70
5.3.240.0180.02513.70
5.3.230.0100.03013.71
5.3.220.0150.03013.68
5.3.210.0130.03013.69
5.3.200.0110.03513.73
5.3.190.0100.03313.63
5.3.180.0140.02713.73
5.3.170.0140.03413.70
5.3.160.0110.03013.63
5.3.150.0120.02813.73
5.3.140.0150.02313.64
5.3.130.0140.03413.63
5.3.120.0140.02913.69
5.3.110.0190.03613.70
5.3.100.0170.04213.41
5.3.90.0140.02713.35
5.3.80.0130.02513.39
5.3.70.0140.02813.39
5.3.60.0150.02513.35
5.3.50.0130.02613.33
5.3.40.0100.02913.36
5.3.30.0090.03213.34
5.3.20.0120.02813.21
5.3.10.0120.02513.19
5.3.00.0140.02913.22
5.2.170.0090.02511.92
5.2.160.0080.02511.93
5.2.150.0110.03411.99
5.2.140.0140.02011.96
5.2.130.0070.02611.93
5.2.120.0090.02411.94
5.2.110.0090.02311.93
5.2.100.0080.02511.98
5.2.90.0120.02011.94
5.2.80.0170.02012.02
5.2.70.0070.02411.96
5.2.60.0130.02111.99
5.2.50.0100.02611.92
5.2.40.0140.02111.87
5.2.30.0040.03011.96
5.2.20.0130.02011.86
5.2.10.0200.02511.80
5.2.00.0080.02511.81
5.1.60.0070.02211.45
5.1.50.0170.01411.38
5.1.40.0110.01811.38
5.1.30.0120.01811.56
5.1.20.0090.02411.56
5.1.10.0080.02011.46
5.1.00.0120.02511.46
5.0.50.0080.01710.73
5.0.40.0130.01210.60
5.0.30.0110.02210.49
5.0.20.0060.01610.53
5.0.10.0030.01910.48
5.0.00.0090.02110.55
4.4.90.0030.0149.33
4.4.80.0030.0199.32
4.4.70.0070.0129.32
4.4.60.0070.0159.32
4.4.50.0060.0159.34
4.4.40.0060.0209.32
4.4.30.0030.0169.32
4.4.20.0050.0149.37
4.4.10.0050.0179.36
4.4.00.0100.0169.37
4.3.110.0020.0159.30
4.3.100.0090.0089.30
4.3.90.0060.0139.34
4.3.80.0050.0189.31
4.3.70.0090.0089.31
4.3.60.0080.0109.28
4.3.50.0090.0109.28
4.3.40.0050.0199.27
4.3.30.0060.0118.68
4.3.20.0020.0138.65
4.3.10.0050.0118.65
4.3.00.0090.0109.95

preferences:
51.75 ms | 401 KiB | 5 Q