3v4l.org

run code in 300+ PHP versions simultaneously
<?php function doArrayStuff(array $stuff) { // do stuff // If this worked without fatal erroring, echo worked! echo 'worked!'; } function doFileStuff(SplFileInfo $finfo) { // do stuff // If this worked without fatal erroring, echo worked! echo 'worked!'; } doArrayStuff(null); doFileStuff(null);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qotda
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   15     0  E >   INIT_FCALL                                               'doarraystuff'
          1        SEND_VAL                                                 null
          2        DO_FCALL                                      0          
   16     3        INIT_FCALL                                               'dofilestuff'
          4        SEND_VAL                                                 null
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function doarraystuff:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qotda
function name:  doArrayStuff
number of ops:  3
compiled vars:  !0 = $stuff
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    6     1        ECHO                                                     'worked%21'
    7     2      > RETURN                                                   null

End of function doarraystuff

Function dofilestuff:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Qotda
function name:  doFileStuff
number of ops:  3
compiled vars:  !0 = $finfo
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   RECV                                             !0      
   12     1        ECHO                                                     'worked%21'
   13     2      > RETURN                                                   null

End of function dofilestuff

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.13 ms | 1397 KiB | 15 Q