3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '{"ClientData":[{"firstName":"Master","lastName":"Tester","email":"me@me.com","dob":"1973-01-22","age":"51","pierceType":"Vici","street":"number of house","city":"here","county":"there","postcode":"everywhere"}],"HealthData":[["condtion : Prone to Fainting / Dizziness","condtion : Allergic Response to Plasters","condtion : Prone to Fainting / Dizziness"]],"PiercerData":[{"firstName":"Male","lastName":"checking","pierceDate":"2013-02-25","jewelleryType":"Vici","jewelleryDesign":"Vidi","jewellerySize":"Vici","idChecked":null,"medicalChecked":null,"notes":"This is for more info"}]}'; $json = $string->ClientData; foreach($json AS $array) { foreach($array AS $key => $value) { echo $key . " : " . $value . "\n"; } }

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.0100.00616.38
8.3.60.0090.00618.56
8.3.50.0080.01321.93
8.3.40.0070.00718.45
8.3.30.0070.00719.04
8.3.20.0050.00320.30
8.3.10.0090.00022.02
8.3.00.0060.00322.51
8.2.180.0150.00416.63
8.2.170.0070.00722.96
8.2.160.0070.00720.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0090.00926.16
8.2.120.0070.00417.38
8.2.110.0060.00322.25
8.2.100.0090.00317.91
8.2.90.0070.00019.22
8.2.80.0040.00417.97
8.2.70.0000.01217.63
8.2.60.0070.00018.05
8.2.50.0040.00418.07
8.2.40.0080.00018.16
8.2.30.0000.00718.05
8.2.20.0000.00817.73
8.2.10.0040.00417.69
8.2.00.0060.00317.86
8.1.280.0110.01125.92
8.1.270.0000.00821.91
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.79
8.1.230.0030.00719.15
8.1.220.0030.00617.79
8.1.210.0000.00818.77
8.1.200.0000.01017.35
8.1.190.0040.00417.51
8.1.180.0030.00618.71
8.1.170.0080.00018.51
8.1.160.0050.00222.01
8.1.150.0070.00318.63
8.1.140.0050.00317.36
8.1.130.0030.00317.77
8.1.120.0000.00717.53
8.1.110.0050.00317.36
8.1.100.0040.00417.43
8.1.90.0030.00417.44
8.1.80.0000.00717.34
8.1.70.0070.00017.45
8.1.60.0000.00817.59
8.1.50.0030.00617.52
8.1.40.0070.00017.38
8.1.30.0000.00817.53
8.1.20.0040.00417.54
8.1.10.0040.00417.47
8.1.00.0080.00017.31
8.0.300.0000.00818.77
8.0.290.0000.00717.16
8.0.280.0030.00318.45
8.0.270.0030.00317.13
8.0.260.0070.00016.88
8.0.250.0030.00317.00
8.0.240.0000.00717.04
8.0.230.0000.00716.92
8.0.220.0070.00016.91
8.0.210.0040.00417.01
8.0.200.0030.00516.90
8.0.190.0090.00016.92
8.0.180.0000.00716.93
8.0.170.0070.00016.86
8.0.160.0040.00416.88
8.0.150.0000.00716.88
8.0.140.0030.00316.82
8.0.130.0040.00413.37
8.0.120.0050.00316.82
8.0.110.0000.00816.86
8.0.100.0000.00716.75
8.0.90.0040.00416.93
8.0.80.0100.00616.94
8.0.70.0000.00716.81
8.0.60.0000.00716.96
8.0.50.0070.00016.94
8.0.30.0100.01017.02
8.0.20.0090.01317.40
8.0.10.0050.00317.04
8.0.00.0140.00316.74
7.4.330.0000.00515.00
7.4.320.0030.00316.37
7.4.300.0060.00016.55
7.4.290.0000.00716.55
7.4.280.0070.00016.39
7.4.270.0040.00416.65
7.4.260.0030.00616.48
7.4.250.0000.00816.63
7.4.240.0000.00816.60
7.4.230.0030.00316.30
7.4.220.0000.00016.56
7.4.210.0080.00816.55
7.4.200.0070.00016.48
7.4.190.0000.00716.75
7.4.160.0060.01616.55
7.4.150.0140.00417.40
7.4.140.0110.01117.86
7.4.130.0100.01016.53
7.4.120.0140.00316.54
7.4.110.0100.00616.27
7.4.100.0090.01216.48
7.4.90.0150.00316.41
7.4.80.0150.00919.39
7.4.70.0160.00616.23
7.4.60.0080.00816.46
7.4.50.0040.00416.43
7.4.40.0130.00322.77
7.4.30.0090.00616.50
7.4.00.0030.01014.93
7.3.330.0000.00713.10
7.3.320.0000.00513.12
7.3.310.0000.00716.33
7.3.300.0040.00416.25
7.3.290.0060.00916.22
7.3.280.0100.00916.25
7.3.270.0090.00917.40
7.3.260.0030.01716.39
7.3.250.0090.00816.29
7.3.240.0100.00716.11
7.3.230.0060.00916.39
7.3.210.0110.00616.38
7.3.200.0140.00819.39
7.3.190.0110.01116.29
7.3.180.0090.00616.29
7.3.170.0140.00616.27
7.3.160.0030.01316.33
7.3.120.0000.01614.51
7.3.00.0040.01116.54
7.2.330.0100.00716.63
7.2.320.0070.01116.55
7.2.310.0060.01616.65
7.2.300.0060.00916.51
7.2.290.0140.00316.48
7.2.130.0120.00016.68
7.2.120.0060.00316.95
7.2.110.0090.00316.80
7.2.100.0030.01017.03
7.2.90.0030.01016.96
7.2.80.0030.01016.53
7.2.70.0060.00616.74
7.2.60.0110.00316.68
7.2.50.0000.00817.07
7.2.40.0000.01616.71
7.2.30.0060.00616.62
7.2.20.0030.00816.64
7.2.10.0080.00416.79
7.2.00.0070.00718.20
7.1.250.0070.00715.72
7.1.240.0130.00015.44
7.1.230.0040.01115.46
7.1.220.0040.00815.80
7.1.210.0030.00615.50
7.1.200.0060.00815.61
7.1.190.0030.00515.46
7.1.180.0080.00315.54
7.1.170.0040.00415.82
7.1.160.0040.00415.63
7.1.150.0040.01115.68
7.1.140.0050.00315.85
7.1.130.0050.00515.63
7.1.120.0040.00815.80
7.1.110.0000.01015.56
7.1.100.0060.00815.95
7.1.90.0100.00315.57
7.1.80.0030.00915.79
7.1.70.0060.00516.50
7.1.60.0090.00917.74
7.1.50.0030.00716.26
7.1.40.0100.00015.63
7.1.30.0080.00315.41
7.1.20.0030.00915.70
7.1.10.0000.00915.73
7.1.00.0030.04319.00
7.0.330.0040.01215.46
7.0.320.0070.00715.38
7.0.310.0030.00615.00
7.0.300.0070.00715.41
7.0.290.0070.00715.19
7.0.280.0000.00915.53
7.0.270.0040.00715.14
7.0.260.0080.00415.09
7.0.250.0030.00915.59
7.0.240.0030.00715.35
7.0.230.0040.00815.24
7.0.220.0000.01215.20
7.0.210.0030.00715.57
7.0.200.0030.00816.17
7.0.190.0000.00915.20
7.0.180.0000.00815.42
7.0.170.0030.01015.35
7.0.160.0000.00915.26
7.0.150.0070.00415.16
7.0.140.0030.04018.67
7.0.130.0080.00015.15
7.0.120.0060.00615.30
7.0.110.0000.00815.47
7.0.100.0100.00015.50
7.0.90.0040.00415.43
7.0.80.0060.00615.13
7.0.70.0090.00015.29
7.0.60.0050.02717.59
7.0.50.0060.04516.50
7.0.40.0080.04716.81
7.0.30.0180.04116.65
7.0.20.0140.02816.73
7.0.10.0150.03416.81
7.0.00.0060.02316.70
5.6.380.0030.00614.56
5.6.370.0100.00314.09
5.6.360.0030.01014.03
5.6.350.0040.01114.35
5.6.340.0030.01014.08
5.6.330.0000.00914.45
5.6.320.0000.01414.47
5.6.310.0030.01014.37
5.6.300.0060.00314.31
5.6.290.0030.01014.04
5.6.280.0030.04017.69
5.6.270.0040.00414.48
5.6.260.0030.00913.98
5.6.250.0040.00414.51
5.6.240.0000.01114.16
5.6.230.0080.00414.19
5.6.220.0060.00314.27
5.6.210.0010.04817.29
5.6.200.0140.03516.00
5.6.190.0050.02817.39
5.6.180.1470.02817.25
5.6.170.0110.02417.25
5.6.160.0020.04817.23
5.6.150.0050.04416.14
5.6.140.0060.04016.31
5.6.130.0100.04416.15
5.6.120.0050.03617.70
5.6.110.0100.04017.65
5.6.100.0100.04317.49
5.6.90.0070.03817.54
5.6.80.0020.04217.32
5.6.70.0170.03817.34
5.6.60.0080.00414.31
5.6.50.0040.00813.92
5.6.40.0060.00314.07
5.6.30.0000.01213.83
5.6.20.0040.00814.08
5.6.10.0000.01114.18
5.6.00.0040.00814.36
5.5.380.0030.00911.18
5.5.370.0050.00011.18
5.5.360.0030.00311.18
5.5.350.0020.04315.79
5.5.340.0080.03714.62
5.5.330.0070.04415.87
5.5.320.0130.04015.73
5.5.310.0140.02915.72
5.5.300.0040.04314.57
5.5.290.0050.04314.59
5.5.280.0050.02416.02
5.5.270.0030.03315.97
5.5.260.0020.05016.03
5.5.250.0040.03515.93
5.5.240.0080.04015.72
5.5.230.0040.00411.18
5.5.220.0000.00911.18
5.5.210.0060.00311.18
5.5.200.0100.00011.18
5.5.190.0040.00411.18
5.5.180.0000.00711.18
5.5.170.0040.00411.18
5.5.160.0040.00711.18
5.5.150.0030.00311.18
5.5.140.0030.00511.18
5.5.130.0030.00311.18
5.5.120.0070.00011.18
5.5.110.0030.00611.18
5.5.100.0030.00711.18
5.5.90.0110.00011.18
5.5.80.0000.00611.18
5.5.70.0040.00411.18
5.5.60.0040.00411.18
5.5.50.0000.00811.18
5.5.40.0070.00011.18
5.5.30.0000.01011.18
5.5.20.0060.00311.18
5.5.10.0030.00311.18
5.5.00.0030.00311.18
5.4.450.0060.03015.29
5.4.440.0330.03015.13
5.4.430.0050.03015.31
5.4.420.0080.02815.17
5.4.410.0080.02815.19
5.4.400.0450.00315.00
5.4.390.0420.00214.86
5.4.380.0140.03414.96
5.4.370.0200.02714.92
5.4.360.0150.03314.84
5.4.350.0150.03214.97
5.4.340.0250.02314.92
5.4.330.0090.00011.18
5.4.320.0050.02011.82
5.4.310.0080.02011.81
5.4.300.0070.02411.82
5.4.290.0060.02111.82
5.4.280.0050.02111.76
5.4.270.0040.02411.76
5.4.260.0050.02715.04
5.4.250.0020.03015.06
5.4.240.0130.02615.10
5.4.230.0050.03815.06
5.4.220.0090.02915.03
5.4.210.0090.03414.97
5.4.200.0030.03015.04
5.4.190.0030.03215.10
5.4.180.0060.02715.10
5.4.170.0050.03015.03
5.4.160.0050.03515.10
5.4.150.0070.03715.00
5.4.140.0060.02513.84
5.4.130.0060.02413.69
5.4.120.0080.03513.73
5.4.110.0030.04313.81
5.4.100.0030.02813.73
5.4.90.0070.02513.69
5.4.80.0100.02713.78
5.4.70.0070.02513.78
5.4.60.0050.02713.82
5.4.50.0100.02313.73
5.4.40.0080.03313.82
5.4.30.0050.03013.84
5.4.20.0100.02813.81
5.4.10.0050.04013.82
5.4.00.0070.02713.45
5.3.290.0060.02411.99
5.3.280.0080.02512.89
5.3.270.0020.03212.81
5.3.260.0080.02712.81
5.3.250.0120.02212.90
5.3.240.0030.02812.90
5.3.230.0020.03812.84
5.3.220.0090.03012.88
5.3.210.0050.03812.81
5.3.200.0060.02612.72
5.3.190.0050.03012.88
5.3.180.0080.02612.82
5.3.170.0100.02512.79
5.3.160.0020.03012.94
5.3.150.0080.02512.81
5.3.140.0070.03712.80
5.3.130.0050.02912.80
5.3.120.0080.02512.71
5.3.110.0040.02812.82
5.3.100.0070.02812.61
5.3.90.0070.02412.60
5.3.80.0080.02512.48
5.3.70.0080.02512.57
5.3.60.0080.03012.51
5.3.50.0000.04212.53
5.3.40.0080.02512.57
5.3.30.0070.02712.56
5.3.20.0080.02312.51
5.3.10.0030.02912.49
5.3.00.0050.03812.26
5.2.170.0060.02811.17
5.2.160.0050.02211.05
5.2.150.0020.03511.17
5.2.140.0060.02311.21
5.2.130.0130.01311.02
5.2.120.0040.02211.05
5.2.110.0030.03211.09
5.2.100.0050.02111.14
5.2.90.0040.02211.09
5.2.80.0030.02411.11
5.2.70.0060.02111.14
5.2.60.0020.02910.99
5.2.50.0080.03011.04
5.2.40.0030.02411.16
5.2.30.0030.02511.02
5.2.20.0030.02111.06
5.2.10.0070.02010.98
5.2.00.0080.02511.03
5.1.60.0070.02310.53
5.1.50.0050.02410.47
5.1.40.0000.02310.59
5.1.30.0020.02210.84
5.1.20.0030.02110.84
5.1.10.0050.02010.59
5.1.00.0050.02010.55
5.0.50.0030.0229.88
5.0.40.0060.0189.75
5.0.30.0050.0209.71
5.0.20.0020.0169.80
5.0.10.0030.0159.72
5.0.00.0020.0229.66
4.4.90.0040.0139.11
4.4.80.0030.0179.11
4.4.70.0040.0149.11
4.4.60.0060.0169.11
4.4.50.0040.0169.11
4.4.40.0010.0189.11
4.4.30.0010.0159.11
4.4.20.0020.0139.11
4.4.10.0000.0149.11
4.4.00.0030.0179.11
4.3.110.0000.0149.11
4.3.100.0080.0079.11
4.3.90.0050.0159.11
4.3.80.0050.0179.11
4.3.70.0020.0139.11
4.3.60.0020.0139.11
4.3.50.0000.0199.11
4.3.40.0050.0159.11
4.3.30.0050.0109.11
4.3.20.0010.0139.11
4.3.10.0000.0159.11
4.3.00.0050.0139.17

preferences:
46.54 ms | 401 KiB | 5 Q