3v4l.org

run code in 300+ PHP versions simultaneously
<?php function save($args) { $args = $args + array( 'fID' => 0, 'fOnstateID' => 0, 'maxWidth' => 0, 'maxHeight' => 0, 'constrainImage' => 0, 'linkType' => 0, 'externalLink' => '', 'internalLinkCID' => 0, ); var_dump($args); } save(array()); save(null);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DM324
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   18     0  E >   INIT_FCALL                                               'save'
          1        SEND_VAL                                                 <array>
          2        DO_FCALL                                      0          
   19     3        INIT_FCALL                                               'save'
          4        SEND_VAL                                                 null
          5        DO_FCALL                                      0          
          6      > RETURN                                                   1

Function save:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DM324
function name:  save
number of ops:  7
compiled vars:  !0 = $args
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    5     1        ADD                                              ~1      !0, <array>
    4     2        ASSIGN                                                   !0, ~1
   14     3        INIT_FCALL                                               'var_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
   15     6      > RETURN                                                   null

End of function save

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.52 ms | 1397 KiB | 17 Q