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); 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.0080.04312.36
5.4.250.0080.04312.36
5.4.240.0070.03812.36
5.4.230.0060.04512.35
5.4.220.0090.03712.35
5.4.210.0050.03612.36
5.4.200.0040.04012.35
5.4.190.0040.03812.35
5.4.180.0060.04412.35
5.4.170.0070.04412.36
5.4.160.0060.04412.35
5.4.150.0100.04012.35
5.4.140.0070.03812.04
5.4.130.0050.03612.02
5.4.120.0050.03611.98
5.4.110.0070.03611.98
5.4.100.0070.03511.98
5.4.90.0080.03511.98
5.4.80.0070.03811.98
5.4.70.0050.03511.97
5.4.60.0060.03411.97
5.4.50.0090.04311.98
5.4.40.0040.03811.97
5.4.30.0050.03611.96
5.4.20.0070.04111.96
5.4.10.0070.03911.96
5.4.00.0070.04911.45
5.3.280.0100.04312.71
5.3.270.0050.04812.72
5.3.260.0080.04512.72
5.3.250.0070.04512.72
5.3.240.0090.03912.72
5.3.230.0060.03912.71
5.3.220.0070.04312.68
5.3.210.0100.04712.68
5.3.200.0060.04012.68
5.3.190.0090.04612.67
5.3.180.0080.05012.67
5.3.170.0100.05412.67
5.3.160.0120.04512.67
5.3.150.0050.04912.68
5.3.140.0060.04912.66
5.3.130.0070.04912.66
5.3.120.0060.04112.65
5.3.110.0070.03812.66
5.3.100.0050.03912.12
5.3.90.0040.04212.08
5.3.80.0070.03812.08
5.3.70.0050.04812.07
5.3.60.0070.03812.06
5.3.50.0050.03812.00
5.3.40.0060.03812.00
5.3.30.0040.03611.94
5.3.20.0050.04111.70
5.3.10.0060.03811.65
5.3.00.0050.03811.64

preferences:
141.3 ms | 1394 KiB | 7 Q