3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = '[{"EXTAPP_ID":"9901","CATEGORY_ID":"10","LANGUAGE_CODE":"tr","CATEGORY_LANG_DESC":"Sat\u0131\u015f Departman\u0131"},{"EXTAPP_ID":"9901","CATEGORY_ID":"10","LANGUAGE_CODE":"de","CATEGORY_LANG_DESC":"Sales Abteilung"},{"EXTAPP_ID":"9901","CATEGORY_ID":"20","LANGUAGE_CODE":"de","CATEGORY_LANG_DESC":"Procurement Abteilung"},{"EXTAPP_ID":"9901","CATEGORY_ID":"20","LANGUAGE_CODE":"tr","CATEGORY_LANG_DESC":"Sat\u0131nalma Departman\u0131"},{"EXTAPP_ID":"9901","CATEGORY_ID":"10","LANGUAGE_CODE":"en","CATEGORY_LANG_DESC":"Sales Department"},{"EXTAPP_ID":"9901","CATEGORY_ID":"20","LANGUAGE_CODE":"en","CATEGORY_LANG_DESC":"Procurement Department"}]'; $json = json_decode($string, true); foreach($json AS $array) { foreach($array AS $key => $value) { echo $key . " : " . $value . "\n"; } }
Output for git.master, git.master_jit, rfc.property-hooks
EXTAPP_ID : 9901 CATEGORY_ID : 10 LANGUAGE_CODE : tr CATEGORY_LANG_DESC : Satış Departmanı EXTAPP_ID : 9901 CATEGORY_ID : 10 LANGUAGE_CODE : de CATEGORY_LANG_DESC : Sales Abteilung EXTAPP_ID : 9901 CATEGORY_ID : 20 LANGUAGE_CODE : de CATEGORY_LANG_DESC : Procurement Abteilung EXTAPP_ID : 9901 CATEGORY_ID : 20 LANGUAGE_CODE : tr CATEGORY_LANG_DESC : Satınalma Departmanı EXTAPP_ID : 9901 CATEGORY_ID : 10 LANGUAGE_CODE : en CATEGORY_LANG_DESC : Sales Department EXTAPP_ID : 9901 CATEGORY_ID : 20 LANGUAGE_CODE : en CATEGORY_LANG_DESC : Procurement Department

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
25.28 ms | 406 KiB | 5 Q