3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'obj:{"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); 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)
5.4.260.0130.04718.77
5.4.250.0000.06019.00
5.4.240.0070.05718.98
5.4.230.0170.07018.99
5.4.220.0000.06019.00
5.4.210.0070.05718.96
5.4.200.0070.07318.98
5.4.190.0070.06319.09
5.4.180.0070.05718.74
5.4.170.0130.04719.00
5.4.160.0170.06718.64
5.4.150.0000.06318.99
5.4.140.0170.05016.39
5.4.130.0000.07716.56
5.4.120.0030.05316.36
5.4.110.0070.05016.41
5.4.100.0200.05316.52
5.4.90.0100.06316.55
5.4.80.0200.04716.61
5.4.70.0100.05016.46
5.4.60.0070.04716.63
5.4.50.0130.04716.53
5.4.40.0130.06316.68
5.4.30.0100.05016.36
5.4.20.0100.07016.48
5.4.10.0070.07316.45
5.4.00.0170.05316.03
5.3.280.0030.06014.59
5.3.270.0130.07314.45
5.3.260.0030.05714.60
5.3.250.0130.04714.38
5.3.240.0000.05714.38
5.3.230.0100.05314.51
5.3.220.0100.05014.46
5.3.210.0030.06014.36
5.3.200.0130.04314.41
5.3.190.0100.05314.27
5.3.180.0130.04314.66
5.3.170.0200.03714.66
5.3.160.0030.05714.57
5.3.150.0070.05014.57
5.3.140.0000.06014.48
5.3.130.0170.05014.56
5.3.120.0070.05314.32
5.3.110.0100.07314.55
5.3.100.0100.04714.19
5.3.90.0100.07314.02
5.3.80.0070.05314.11
5.3.70.0100.05313.91
5.3.60.0230.05014.05
5.3.50.0030.05313.79
5.3.40.0100.04713.95
5.3.30.0100.04313.91
5.3.20.0170.03713.68
5.3.10.0070.04713.70
5.3.00.0100.04713.65
5.2.170.0030.05310.97
5.2.160.0070.04011.14
5.2.150.0100.03711.15
5.2.140.0070.04011.05
5.2.130.0130.04711.25
5.2.120.0070.03710.93
5.2.110.0030.04011.11
5.2.100.0100.03311.10
5.2.90.0130.03711.09
5.2.80.0000.04711.09
5.2.70.0070.06010.93
5.2.60.0030.06311.06
5.2.50.0030.05710.96
5.2.40.0130.04011.00
5.2.30.0070.04310.73
5.2.20.0070.05311.11
5.2.10.0000.04310.79
5.2.00.0070.03710.60
5.1.60.0070.04710.06
5.1.50.0070.03310.05
5.1.40.0130.0439.75
5.1.30.0030.05710.17
5.1.20.0000.05710.36
5.1.10.0070.03010.30
5.1.00.0000.04310.09
5.0.50.0030.0338.61
5.0.40.0070.0238.47
5.0.30.0070.0608.39
5.0.20.0100.0338.39
5.0.10.0070.0378.39
5.0.00.0000.0538.39
4.4.90.0070.0178.39
4.4.80.0070.0278.39
4.4.70.0030.0238.39
4.4.60.0030.0208.39
4.4.50.0030.0308.39
4.4.40.0070.0308.39
4.4.30.0000.0238.39
4.4.20.0000.0238.39
4.4.10.0000.0308.39
4.4.00.0070.0308.39
4.3.110.0000.0378.39
4.3.100.0030.0278.39
4.3.90.0100.0238.39
4.3.80.0070.0278.39
4.3.70.0100.0138.39
4.3.60.0030.0208.39
4.3.50.0030.0238.39
4.3.40.0000.0408.39
4.3.30.0100.0238.39
4.3.20.0000.0238.39
4.3.10.0000.0278.39
4.3.00.0000.0237.17

preferences:
142.97 ms | 1394 KiB | 7 Q