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 = json_decode($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.40.0080.00618.46
8.3.30.0080.00818.92
8.3.20.0040.00420.36
8.3.10.0070.00022.09
8.3.00.0040.00422.30
8.2.170.0090.00622.96
8.2.160.0030.01020.52
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0100.00726.16
8.2.120.0000.01117.63
8.2.110.0060.00320.33
8.2.100.0000.01117.91
8.2.90.0090.00019.05
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0040.00418.04
8.2.50.0090.00018.07
8.2.40.0030.00518.22
8.2.30.0040.00418.05
8.2.20.0050.00217.73
8.2.10.0020.00517.84
8.2.00.0030.00817.87
8.1.270.0080.00021.98
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0090.00323.79
8.1.230.0080.00419.21
8.1.220.0060.00317.77
8.1.210.0030.00618.77
8.1.200.0070.00417.35
8.1.190.0000.00817.54
8.1.180.0040.00418.71
8.1.170.0060.00318.45
8.1.160.0070.00022.03
8.1.150.0070.00318.65
8.1.140.0040.00417.46
8.1.130.0030.00317.84
8.1.120.0040.00417.45
8.1.110.0040.00417.48
8.1.100.0050.00217.43
8.1.90.0050.00317.39
8.1.80.0030.00317.38
8.1.70.0000.00717.43
8.1.60.0040.00417.65
8.1.50.0050.00317.42
8.1.40.0050.00317.55
8.1.30.0000.00717.66
8.1.20.0040.00417.63
8.1.10.0040.00417.47
8.1.00.0000.00717.37
8.0.300.0040.00418.77
8.0.290.0050.00317.16
8.0.280.0040.00418.38
8.0.270.0030.00317.25
8.0.260.0000.00716.88
8.0.250.0000.00717.02
8.0.240.0080.00017.01
8.0.230.0000.00716.94
8.0.220.0030.00316.88
8.0.210.0030.00317.00
8.0.200.0000.00717.00
8.0.190.0040.00417.00
8.0.180.0050.00216.94
8.0.170.0050.00216.89
8.0.160.0000.00817.05
8.0.150.0030.00316.95
8.0.140.0040.00416.80
8.0.130.0030.00613.43
8.0.120.0040.00416.98
8.0.110.0000.00716.93
8.0.100.0040.00416.95
8.0.90.0080.00016.96
8.0.80.0040.01216.93
8.0.70.0080.00016.95
8.0.60.0040.00416.95
8.0.50.0070.00016.89
8.0.30.0120.00817.01
8.0.20.0130.00817.41
8.0.10.0040.00417.20
8.0.00.0090.00916.84
7.4.330.0060.00015.09
7.4.320.0040.00416.52
7.4.300.0030.00316.41
7.4.290.0030.00316.42
7.4.280.0040.00416.63
7.4.270.0030.00316.61
7.4.260.0050.00516.42
7.4.250.0070.00016.52
7.4.240.0000.00716.56
7.4.230.0000.00716.61
7.4.220.0000.00016.46
7.4.210.0050.01116.60
7.4.200.0030.00316.52
7.4.190.0030.00316.79
7.4.160.0140.00616.33
7.4.150.0100.00717.40
7.4.140.0070.01317.86
7.4.130.0050.01316.51
7.4.120.0040.01216.50
7.4.110.0130.00316.32
7.4.100.0070.01016.61
7.4.90.0130.01016.66
7.4.80.0100.01019.39
7.4.70.0090.01316.39
7.4.60.0110.00816.59
7.4.50.0030.00616.45
7.4.40.0000.01522.77
7.4.30.0120.00316.68
7.4.00.0030.01015.13
7.3.330.0020.00213.01
7.3.320.0000.00512.99
7.3.310.0030.00316.41
7.3.300.0000.00716.23
7.3.290.0080.00616.30
7.3.280.0090.00916.27
7.3.270.0070.01117.40
7.3.260.0100.01316.20
7.3.250.0110.00716.31
7.3.240.0030.01416.21
7.3.230.0080.00816.45
7.3.210.0090.01016.41
7.3.200.0060.01219.39
7.3.190.0000.01616.38
7.3.180.0150.00016.52
7.3.170.0150.00716.27
7.3.160.0100.00616.32
7.3.120.0060.01214.75
7.3.00.0100.00316.61
7.2.330.0080.00816.63
7.2.320.0080.00816.64
7.2.310.0060.01316.72
7.2.300.0080.00816.56
7.2.290.0100.00716.64
7.2.130.0090.00616.57
7.2.120.0110.00716.86
7.2.110.0000.01016.75
7.2.100.0030.00716.91
7.2.90.0040.01116.88
7.2.80.0060.00816.57
7.2.70.0100.00316.87
7.2.60.0090.00816.72
7.2.50.0030.01316.74
7.2.40.0080.00816.90
7.2.30.0000.01416.92
7.2.20.0070.01016.80
7.2.10.0090.00316.71
7.2.00.0060.00818.06
7.1.250.0040.00715.75
7.1.240.0060.00915.74
7.1.230.0060.00915.46
7.1.220.0070.01115.67
7.1.210.0070.01015.70
7.1.200.0080.00315.57
7.1.190.0030.01015.84
7.1.180.0000.01015.75
7.1.170.0030.01315.61
7.1.160.0080.00815.74
7.1.150.0040.00715.50
7.1.140.0040.01115.53
7.1.130.0070.00715.66
7.1.120.0030.00715.64
7.1.110.0100.00315.70
7.1.100.0050.01416.05
7.1.90.0030.00715.64
7.1.80.0030.00615.84
7.1.70.0100.00616.50
7.1.60.0100.01017.72
7.1.50.0070.00616.28
7.1.40.0100.00715.62
7.1.30.0130.00615.72
7.1.20.0140.00315.68
7.1.10.0070.01015.54
7.1.00.0040.05019.06
7.0.330.0090.00615.29
7.0.320.0090.00015.16
7.0.310.0100.00015.03
7.0.300.0070.00315.04
7.0.290.0070.00715.20
7.0.280.0070.00715.32
7.0.270.0180.00314.85
7.0.260.0030.00614.94
7.0.250.0040.00815.10
7.0.240.0100.00715.32
7.0.230.0140.00015.32
7.0.220.0070.00715.27
7.0.210.0080.00815.50
7.0.200.0030.00715.95
7.0.190.0090.00615.11
7.0.180.0040.00715.25
7.0.170.0070.00715.37
7.0.160.0100.00315.50
7.0.150.0100.00715.39
7.0.140.0050.04518.65
7.0.130.0150.00314.93
7.0.120.0120.00615.59
7.0.110.0070.01015.07
7.0.100.0040.01115.13
7.0.90.0110.00714.95
7.0.80.0100.00714.98
7.0.70.0080.00415.28
7.0.60.0090.02217.70
7.0.50.0080.03316.62
7.0.40.0030.03816.62
7.0.30.0150.02416.74
7.0.20.0160.02616.75
7.0.10.0210.01916.70
7.0.00.0090.02116.78
5.6.380.0070.00714.46
5.6.370.0070.00713.89
5.6.360.0040.00813.65
5.6.350.0070.00314.27
5.6.340.0000.01413.99
5.6.330.0070.00414.29
5.6.320.0040.00814.19
5.6.310.0000.01114.30
5.6.300.0040.00713.88
5.6.290.0060.00614.07
5.6.280.0090.03517.49
5.6.270.0040.00814.24
5.6.260.0060.00313.97
5.6.250.0040.00713.82
5.6.240.0090.00013.86
5.6.230.0000.01014.38
5.6.220.0060.00314.15
5.6.210.0080.04517.28
5.6.200.0050.04516.12
5.6.190.0050.04717.23
5.6.180.1930.02517.34
5.6.170.0200.02517.33
5.6.160.0050.04517.36
5.6.150.0050.03616.17
5.6.140.0020.04516.19
5.6.130.0100.03816.06
5.6.120.0080.04217.52
5.6.110.0050.02317.50
5.6.100.0080.04417.48
5.6.90.0050.02217.45
5.6.80.0070.04017.14
5.6.70.0090.02217.12
5.6.60.0070.00714.15
5.6.50.0030.01014.28
5.6.40.0060.00614.28
5.6.30.0000.01714.23
5.6.20.0060.00914.05
5.6.10.0030.01014.15
5.6.00.0000.01714.03
5.5.380.0000.00810.92
5.5.370.0050.00310.87
5.5.360.0030.00510.98
5.5.350.0030.04315.67
5.5.340.0070.03814.45
5.5.330.0060.04115.53
5.5.320.0160.02315.50
5.5.310.0080.02715.44
5.5.300.0040.02414.38
5.5.290.0110.04314.47
5.5.280.0050.03315.72
5.5.270.0070.02015.81
5.5.260.0050.03315.81
5.5.250.0060.04115.77
5.5.240.0060.02115.39
5.5.230.0030.00710.93
5.5.220.0040.00410.69
5.5.210.0000.01210.90
5.5.200.0060.00310.86
5.5.190.0000.01210.77
5.5.180.0000.00810.48
5.5.170.0030.00710.87
5.5.160.0000.00710.84
5.5.150.0060.00310.77
5.5.140.0000.01110.59
5.5.130.0030.00710.60
5.5.120.0080.00010.79
5.5.110.0090.00310.98
5.5.100.0100.00310.88
5.5.90.0080.00410.45
5.5.80.0040.00710.66
5.5.70.0030.00710.47
5.5.60.0080.00410.56
5.5.50.0060.00310.68
5.5.40.0030.00310.68
5.5.30.0050.00210.86
5.5.20.0040.00710.65
5.5.10.0000.00810.79
5.5.00.0140.00010.86
5.4.450.0160.02014.98
5.4.440.0150.02014.93
5.4.430.0090.03214.94
5.4.420.0140.02715.09
5.4.410.0070.02514.89
5.4.400.0130.02014.85
5.4.390.0080.02514.99
5.4.380.0100.02314.70
5.4.370.0100.02814.82
5.4.360.0140.02214.80
5.4.350.0120.02114.88
5.4.340.0130.02814.83
5.4.330.0040.00410.79
5.4.320.0100.02314.96
5.4.310.0070.02214.90
5.4.300.0120.02314.88
5.4.290.0130.01814.88
5.4.280.0170.01814.88
5.4.270.0080.03014.99
5.4.260.0100.02314.80
5.4.250.0080.02514.75
5.4.240.0090.02414.95
5.4.230.0010.02314.77
5.4.220.0120.02214.97
5.4.210.0180.01314.96
5.4.200.0070.02315.06
5.4.190.0110.02214.69
5.4.180.0070.02614.78
5.4.170.0120.01914.80
5.4.160.0080.02514.86
5.4.150.0110.02614.92
5.4.140.0070.02313.71
5.4.130.0140.01513.58
5.4.120.0100.02013.69
5.4.110.0130.01513.55
5.4.100.0120.02013.47
5.4.90.0100.02213.50
5.4.80.0110.02013.56
5.4.70.0090.02013.63
5.4.60.0080.02213.56
5.4.50.0100.02013.62
5.4.40.0080.02013.54
5.4.30.0110.02013.56
5.4.20.0130.01813.45
5.4.10.0080.02313.57
5.4.00.0100.02013.36
5.3.290.0110.02112.52
5.3.280.0090.02212.42
5.3.270.0070.02412.53
5.3.260.0100.02312.42
5.3.250.0120.02012.50
5.3.240.0080.02212.39
5.3.230.0120.01812.41
5.3.220.0080.02212.23
5.3.210.0110.02012.40
5.3.200.0150.02412.46
5.3.190.0160.01512.49
5.3.180.0100.02212.46
5.3.170.0130.01612.53
5.3.160.0100.02112.53
5.3.150.0140.01812.55
5.3.140.0070.02612.46
5.3.130.0070.02312.46
5.3.120.0090.02412.43
5.3.110.0160.01612.38
5.3.100.0170.01312.08
5.3.90.0130.02512.27
5.3.80.0130.01712.05
5.3.70.0130.02512.14
5.3.60.0070.02712.07
5.3.50.0150.01712.22
5.3.40.0170.02012.03
5.3.30.0080.02012.11
5.3.20.0080.02211.97
5.3.10.0100.02011.85
5.3.00.0120.01811.96
5.2.170.0180.02210.21
5.2.160.0100.01610.35
5.2.150.0090.02610.12
5.2.140.0040.01710.20
5.2.130.0060.02310.27
5.2.120.0090.01710.10
5.2.110.0090.01710.16
5.2.100.0070.01810.13
5.2.90.0080.02010.31
5.2.80.0070.01910.05
5.2.70.0080.01910.23
5.2.60.0110.03210.16
5.2.50.0070.02210.17
5.2.40.0110.02810.21
5.2.30.0070.01710.06
5.2.20.0100.01310.03
5.2.10.0080.02510.01
5.2.00.0080.0219.88
5.1.60.0050.0199.14
5.1.50.0090.0279.15
5.1.40.0030.0179.24
5.1.30.0080.0319.44
5.1.20.0020.0289.45
5.1.10.0060.0309.22
5.1.00.0020.0249.22
5.0.50.0030.0278.44
5.0.40.0050.0178.37
5.0.30.0020.0378.33
5.0.20.0090.0228.28
5.0.10.0030.0238.31
5.0.00.0070.0198.25
4.4.90.0090.0097.97
4.4.80.0050.0127.97
4.4.70.0070.0157.97
4.4.60.0030.0107.97
4.4.50.0040.0167.97
4.4.40.0050.0177.97
4.4.30.0030.0207.97
4.4.20.0060.0137.97
4.4.10.0050.0157.97
4.4.00.0060.0147.97
4.3.110.0030.0187.97
4.3.100.0050.0137.97
4.3.90.0050.0107.97
4.3.80.0070.0277.97
4.3.70.0050.0087.97
4.3.60.0030.0107.97
4.3.50.0070.0107.97
4.3.40.0070.0247.97
4.3.30.0020.0207.97
4.3.20.0050.0167.97
4.3.10.0040.0127.97
4.3.00.0030.0147.97

preferences:
48.38 ms | 400 KiB | 5 Q