3v4l.org

run code in 300+ PHP versions simultaneously
<?php function priint ($id = 0) { if ($id == 0) { echo $this->Id; return; } echo $id; return; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qjcS4
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   1

Function priint:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qjcS4
function name:  priint
number of ops:  10
compiled vars:  !0 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV_INIT                                        !0      0
    3     1        IS_EQUAL                                                 !0, 0
          2      > JMPZ                                                     ~1, ->7
    4     3    >   FETCH_THIS                                       $2      
          4        FETCH_OBJ_R                                      ~3      $2, 'Id'
          5        ECHO                                                     ~3
    5     6      > RETURN                                                   null
    7     7    >   ECHO                                                     !0
    8     8      > RETURN                                                   null
    9     9*     > RETURN                                                   null

End of function priint

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.96 ms | 1393 KiB | 13 Q