3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = json_decode(<<<'JSON' [ { TagId: 2, ParentTagId: null, Name: 'women' }, { TagId: 5, ParentTagId: 2, Name: 'bottom' }, { TagId: 4, ParentTagId: 2, Name: 'top' }, { TagId: 7, ParentTagId: 4, Name: 'shirt' }, { TagId: 8, ParentTagId: 4, Name: 'tshirt' }, { TagId: 12, ParentTagId: 7, Name: 'longsleeve' }, { TagId: 16, ParentTagId: null, Name: 'men' } ] JSON ); var_dump($list);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fEJ5v
function name:  (null)
number of ops:  8
compiled vars:  !0 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'json_decode'
    4     1        SEND_VAL                                                 '%5B+%0A++%7B+TagId%3A+2%2C+ParentTagId%3A+null%2C+Name%3A+%27women%27+%7D%2C%0A++%7B+TagId%3A+5%2C+ParentTagId%3A+2%2C+Name%3A+%27bottom%27+%7D%2C%0A++%7B+TagId%3A+4%2C+ParentTagId%3A+2%2C+Name%3A+%27top%27+%7D%2C%0A++%7B+TagId%3A+7%2C+ParentTagId%3A+4%2C+Name%3A+%27shirt%27+%7D%2C%0A++%7B+TagId%3A+8%2C+ParentTagId%3A+4%2C+Name%3A+%27tshirt%27+%7D%2C%0A++%7B+TagId%3A+12%2C+ParentTagId%3A+7%2C+Name%3A+%27longsleeve%27+%7D%2C%0A++%7B+TagId%3A+16%2C+ParentTagId%3A+null%2C+Name%3A+%27men%27+%7D%0A%5D'
          2        DO_ICALL                                         $1      
    3     3        ASSIGN                                                   !0, $1
   16     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.31 ms | 1394 KiB | 17 Q