3v4l.org

run code in 300+ PHP versions simultaneously
(<?php function hu ($a, $b=null) { if(!isset($b)) echo "$b is NULL"; } hu ( "1" );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/5FbS2
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/5FbS2
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    >   NOP                                                      
          6        FAST_CONCAT                                      ~4      !1, '+is+NULL'
          7        ECHO                                                     ~4
   10     8    > > RETURN                                                   null

End of function hu

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.22 ms | 1397 KiB | 14 Q