3v4l.org

run code in 300+ PHP versions simultaneously
<?php $page['body'] = new stdClass(); if (empty($page['body']->tabOneTabTitle)) { $page['body']->tabOneTabTitle = (object) ["type"=>"link","text"=>"Tab 1","url"=>"#t1","target"=>"_self"]; } var_dump($page);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 11
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
filename:       /in/suhpZ
function name:  (null)
number of ops:  15
compiled vars:  !0 = $page
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN_DIM                                               !0, 'body'
          3        OP_DATA                                                  $2
    5     4        FETCH_DIM_IS                                     ~4      !0, 'body'
          5        ISSET_ISEMPTY_PROP_OBJ                                   ~4, 'tabOneTabTitle'
          6      > JMPZ                                                     ~5, ->11
    7     7    >   CAST                                          8  ~8      <array>
          8        FETCH_DIM_W                                      $6      !0, 'body'
          9        ASSIGN_OBJ                                               $6, 'tabOneTabTitle'
         10        OP_DATA                                                  ~8
   10    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !0
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.47 ms | 1394 KiB | 15 Q