3v4l.org

run code in 300+ PHP versions simultaneously
(<?php function hu ($a, $b=NULL) { if(!isset($b)) var_dump($b); } hu ( 1 );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L7qMm
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%28'
   12     1        INIT_FCALL                                               'hu'
          2        SEND_VAL                                                 1
          3        DO_FCALL                                      0          
          4      > RETURN                                                   1

Function hu:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 8
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/L7qMm
function name:  hu
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      null
    7     2        ISSET_ISEMPTY_CV                                 ~2      !1
          3        BOOL_NOT                                         ~3      ~2
          4      > JMPZ                                                     ~3, ->8
    8     5    >   INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
   10     8    > > RETURN                                                   null

End of function hu

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.62 ms | 1388 KiB | 16 Q