3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hereGo(int $id = null){ if($id){ echo "we are here"; } } var_dump(hereGo('e'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WZn75
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'herego'
          2        SEND_VAL                                                 'e'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function herego:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
filename:       /in/WZn75
function name:  hereGo
number of ops:  4
compiled vars:  !0 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      null
    4     1      > JMPZ                                                     !0, ->3
    5     2    >   ECHO                                                     'we+are+here'
    7     3    > > RETURN                                                   null

End of function herego

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
167.54 ms | 1401 KiB | 16 Q