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"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 18
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 18
Branch analysis from position: 8
2 jumps found. (Code = 77) Position 1 = 9, Position 2 = 16
Branch analysis from position: 9
2 jumps found. (Code = 78) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 16
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/Ee1iF
function name:  (null)
number of ops:  20
compiled vars:  !0 = $string, !1 = $json, !2 = $array, !3 = $value, !4 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%5B%7B%22EXTAPP_ID%22%3A%229901%22%2C%22CATEGORY_ID%22%3A%2210%22%2C%22LANGUAGE_CODE%22%3A%22tr%22%2C%22CATEGORY_LANG_DESC%22%3A%22Sat%5Cu0131%5Cu015f+Departman%5Cu0131%22%7D%2C%7B%22EXTAPP_ID%22%3A%229901%22%2C%22CATEGORY_ID%22%3A%2210%22%2C%22LANGUAGE_CODE%22%3A%22de%22%2C%22CATEGORY_LANG_DESC%22%3A%22Sales+Abteilung%22%7D%2C%7B%22EXTAPP_ID%22%3A%229901%22%2C%22CATEGORY_ID%22%3A%2220%22%2C%22LANGUAGE_CODE%22%3A%22de%22%2C%22CATEGORY_LANG_DESC%22%3A%22Procurement+Abteilung%22%7D%2C%7B%22EXTAPP_ID%22%3A%229901%22%2C%22CATEGORY_ID%22%3A%2220%22%2C%22LANGUAGE_CODE%22%3A%22tr%22%2C%22CATEGORY_LANG_DESC%22%3A%22Sat%5Cu0131nalma+Departman%5Cu0131%22%7D%2C%7B%22EXTAPP_ID%22%3A%229901%22%2C%22CATEGORY_ID%22%3A%2210%22%2C%22LANGUAGE_CODE%22%3A%22en%22%2C%22CATEGORY_LANG_DESC%22%3A%22Sales+Department%22%7D%2C%7B%22EXTAPP_ID%22%3A%229901%22%2C%22CATEGORY_ID%22%3A%2220%22%2C%22LANGUAGE_CODE%22%3A%22en%22%2C%22CATEGORY_LANG_DESC%22%3A%22Procurement+Department%22%7D%5D'
    4     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 <true>
          4        DO_ICALL                                         $6      
          5        ASSIGN                                                   !1, $6
    6     6      > FE_RESET_R                                       $8      !1, ->18
          7    > > FE_FETCH_R                                               $8, !2, ->18
    7     8    > > FE_RESET_R                                       $9      !2, ->16
          9    > > FE_FETCH_R                                       ~10     $9, !3, ->16
         10    >   ASSIGN                                                   !4, ~10
    8    11        CONCAT                                           ~12     !4, '+%3A+'
         12        CONCAT                                           ~13     ~12, !3
         13        CONCAT                                           ~14     ~13, '%0A'
         14        ECHO                                                     ~14
    7    15      > JMP                                                      ->9
         16    >   FE_FREE                                                  $9
    6    17      > JMP                                                      ->7
         18    >   FE_FREE                                                  $8
   10    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.86 ms | 1437 KiB | 14 Q