3v4l.org

run code in 300+ PHP versions simultaneously
<?php $informationId = 6; $nodes = json_decode('{"4":{"information_id":"4","bottom":"1","sort_order":"1","status":"1","parent_id":null,"position_header":"0","language_id":"1","title":"\u041e \u043d\u0430\u0441","description":"<p>\r\n\t\u041e \u043d\u0430\u0441<\/p>\r\n","meta_description":"","meta_keyword":"","seo_title":"","seo_h1":"","store_id":"0"},"6":{"information_id":"6","bottom":"1","sort_order":"2","status":"1","parent_id":"4","position_header":"1","language_id":"1","title":"\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0435","description":"<p>\r\n\t\u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0434\u043e\u0441\u0442\u0430\u0432\u043a\u0435<\/p>\r\n","meta_description":"","meta_keyword":"","seo_title":"","seo_h1":"","store_id":"0"},"3":{"information_id":"3","bottom":"1","sort_order":"3","status":"1","parent_id":"5","position_header":"0","language_id":"1","title":"\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438","description":"<p>\r\n\t\u041f\u043e\u043b\u0438\u0442\u0438\u043a\u0430 \u0411\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438<\/p>\r\n","meta_description":"","meta_keyword":"","seo_title":"","seo_h1":"","store_id":"0"},"5":{"information_id":"5","bottom":"1","sort_order":"4","status":"1","parent_id":"6","position_header":"1","language_id":"1","title":"\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f","description":"<p>\r\n\t\u0423\u0441\u043b\u043e\u0432\u0438\u044f \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f<\/p>\r\n","meta_description":"","meta_keyword":"","seo_title":"","seo_h1":"","store_id":"0"}}'); var_dump($nodes);die; $path = array(); $curNode = $nodes[$informationId];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/HVK1r
function name:  (null)
number of ops:  13
compiled vars:  !0 = $informationId, !1 = $nodes, !2 = $path, !3 = $curNode
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 6
    5     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAL                                                 '%7B%224%22%3A%7B%22information_id%22%3A%224%22%2C%22bottom%22%3A%221%22%2C%22sort_order%22%3A%221%22%2C%22status%22%3A%221%22%2C%22parent_id%22%3Anull%2C%22position_header%22%3A%220%22%2C%22language_id%22%3A%221%22%2C%22title%22%3A%22%5Cu041e+%5Cu043d%5Cu0430%5Cu0441%22%2C%22description%22%3A%22%3Cp%3E%5Cr%5Cn%5Ct%5Cu041e+%5Cu043d%5Cu0430%5Cu0441%3C%5C%2Fp%3E%5Cr%5Cn%22%2C%22meta_description%22%3A%22%22%2C%22meta_keyword%22%3A%22%22%2C%22seo_title%22%3A%22%22%2C%22seo_h1%22%3A%22%22%2C%22store_id%22%3A%220%22%7D%2C%226%22%3A%7B%22information_id%22%3A%226%22%2C%22bottom%22%3A%221%22%2C%22sort_order%22%3A%222%22%2C%22status%22%3A%221%22%2C%22parent_id%22%3A%224%22%2C%22position_header%22%3A%221%22%2C%22language_id%22%3A%221%22%2C%22title%22%3A%22%5Cu0418%5Cu043d%5Cu0444%5Cu043e%5Cu0440%5Cu043c%5Cu0430%5Cu0446%5Cu0438%5Cu044f+%5Cu043e+%5Cu0434%5Cu043e%5Cu0441%5Cu0442%5Cu0430%5Cu0432%5Cu043a%5Cu0435%22%2C%22description%22%3A%22%3Cp%3E%5Cr%5Cn%5Ct%5Cu0418%5Cu043d%5Cu0444%5Cu043e%5Cu0440%5Cu043c%5Cu0430%5Cu0446%5Cu0438%5Cu044f+%5Cu043e+%5Cu0434%5Cu043e%5Cu0441%5Cu0442%5Cu0430%5Cu0432%5Cu043a%5Cu0435%3C%5C%2Fp%3E%5Cr%5Cn%22%2C%22meta_description%22%3A%22%22%2C%22meta_keyword%22%3A%22%22%2C%22seo_title%22%3A%22%22%2C%22seo_h1%22%3A%22%22%2C%22store_id%22%3A%220%22%7D%2C%223%22%3A%7B%22information_id%22%3A%223%22%2C%22bottom%22%3A%221%22%2C%22sort_order%22%3A%223%22%2C%22status%22%3A%221%22%2C%22parent_id%22%3A%225%22%2C%22position_header%22%3A%220%22%2C%22language_id%22%3A%221%22%2C%22title%22%3A%22%5Cu041f%5Cu043e%5Cu043b%5Cu0438%5Cu0442%5Cu0438%5Cu043a%5Cu0430+%5Cu0411%5Cu0435%5Cu0437%5Cu043e%5Cu043f%5Cu0430%5Cu0441%5Cu043d%5Cu043e%5Cu0441%5Cu0442%5Cu0438%22%2C%22description%22%3A%22%3Cp%3E%5Cr%5Cn%5Ct%5Cu041f%5Cu043e%5Cu043b%5Cu0438%5Cu0442%5Cu0438%5Cu043a%5Cu0430+%5Cu0411%5Cu0435%5Cu0437%5Cu043e%5Cu043f%5Cu0430%5Cu0441%5Cu043d%5Cu043e%5Cu0441%5Cu0442%5Cu0438%3C%5C%2Fp%3E%5Cr%5Cn%22%2C%22meta_description%22%3A%22%22%2C%22meta_keyword%22%3A%22%22%2C%22seo_title%22%3A%22%22%2C%22seo_h1%22%3A%22%22%2C%22store_id%22%3A%220%22%7D%2C%225%22%3A%7B%22information_id%22%3A%225%22%2C%22bottom%22%3A%221%22%2C%22sort_order%22%3A%224%22%2C%22status%22%3A%221%22%2C%22parent_id%22%3A%226%22%2C%22position_header%22%3A%221%22%2C%22language_id%22%3A%221%22%2C%22title%22%3A%22%5Cu0423%5Cu0441%5Cu043b%5Cu043e%5Cu0432%5Cu0438%5Cu044f+%5Cu0441%5Cu043e%5Cu0433%5Cu043b%5Cu0430%5Cu0448%5Cu0435%5Cu043d%5Cu0438%5Cu044f%22%2C%22description%22%3A%22%3Cp%3E%5Cr%5Cn%5Ct%5Cu0423%5Cu0441%5Cu043b%5Cu043e%5Cu0432%5Cu0438%5Cu044f+%5Cu0441%5Cu043e%5Cu0433%5Cu043b%5Cu0430%5Cu0448%5Cu0435%5Cu043d%5Cu0438%5Cu044f%3C%5C%2Fp%3E%5Cr%5Cn%22%2C%22meta_description%22%3A%22%22%2C%22meta_keyword%22%3A%22%22%2C%22seo_title%22%3A%22%22%2C%22seo_h1%22%3A%22%22%2C%22store_id%22%3A%220%22%7D%7D'
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
    6     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > EXIT                                                     
    7     9*       ASSIGN                                                   !2, <array>
    9    10*       FETCH_DIM_R                                      ~9      !1, !0
         11*       ASSIGN                                                   !3, ~9
         12*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
188.51 ms | 1400 KiB | 17 Q