3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 27
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/sE2bT
function name:  (null)
number of ops:  28
compiled vars:  !0 = $jsonContent, !1 = $jsonObj, !2 = $options, !3 = $html
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   ASSIGN                                                   !0, '%7B%22myKey%22%3A%5B%22loop%22%2C+%22getItems%28%29%22%2C+%22%3Cdiv%3E%3Ch3%3E%7B%24item-%3Etitle%7D%3C%2Fh3%3E%3C%2Fdiv%3E%22%5D%7D'
   12     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $5      
          4        ASSIGN                                                   !1, $5
   14     5        FETCH_OBJ_R                                      ~7      !1, 'myKey'
          6        ASSIGN                                                   !2, ~7
   16     7        FETCH_DIM_R                                      ~9      !2, 0
          8        IS_EQUAL                                                 ~9, 'loop'
          9      > JMPZ                                                     ~10, ->27
   18    10    >   ASSIGN                                                   !3, <array>
   21    11        INIT_FCALL                                               'substr'
         12        FETCH_DIM_R                                      ~13     !2, 1
         13        SEND_VAL                                                 ~13
         14        SEND_VAL                                                 0
         15        SEND_VAL                                                 -2
         16        DO_ICALL                                         $14     
         17        INIT_DYNAMIC_CALL                                        $14
         18        CHECK_FUNC_ARG                                           
         19        FETCH_DIM_FUNC_ARG                               $15     !2, 2
         20        SEND_FUNC_ARG                                            $15
         21        DO_FCALL                                      0  $16     
         22        ASSIGN_DIM                                               !3
         23        OP_DATA                                                  $16
   23    24        INIT_FCALL                                               'var_dump'
         25        SEND_VAR                                                 !3
         26        DO_ICALL                                                 
   24    27    > > RETURN                                                   1

Function getitems:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sE2bT
function name:  getItems
number of ops:  9
compiled vars:  !0 = $products
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        CAST                                          8  ~3      <array>
          2        ASSIGN_DIM                                               !0
          3        OP_DATA                                                  ~3
    6     4        CAST                                          8  ~5      <array>
          5        ASSIGN_DIM                                               !0
          6        OP_DATA                                                  ~5
    7     7      > RETURN                                                   !0
    8     8*     > RETURN                                                   null

End of function getitems

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.15 ms | 973 KiB | 16 Q