3v4l.org

run code in 300+ PHP versions simultaneously
<?php $objTarget = null; $objPage = new \stdClass; $objPage->getFrontendUrl = 'test'; var_export(array( ($objTarget ? $objTarget : $objPage)->getFrontendUrl ));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hHShM
function name:  (null)
number of ops:  16
compiled vars:  !0 = $objTarget, !1 = $objPage
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        NEW                                              $3      'stdClass'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !1, $3
    5     4        ASSIGN_OBJ                                               !1, 'getFrontendUrl'
          5        OP_DATA                                                  'test'
    6     6        INIT_FCALL                                               'var_export'
    7     7      > JMPZ                                                     !0, ->10
          8    >   QM_ASSIGN                                        ~7      !0
          9      > JMP                                                      ->11
         10    >   QM_ASSIGN                                        ~7      !1
         11    >   FETCH_OBJ_R                                      ~8      ~7, 'getFrontendUrl'
         12        INIT_ARRAY                                       ~9      ~8
         13        SEND_VAL                                                 ~9
         14        DO_ICALL                                                 
    8    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.44 ms | 1394 KiB | 15 Q