3v4l.org

run code in 300+ PHP versions simultaneously
<?php function func($arg = "Default") { echo $arg . PHP_EOL; } func("Boring"); func();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GV3l5
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'func'
          1        SEND_VAL                                                 'Boring'
          2        DO_FCALL                                      0          
    8     3        INIT_FCALL                                               'func'
          4        DO_FCALL                                      0          
          5      > RETURN                                                   1

Function func:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/GV3l5
function name:  func
number of ops:  4
compiled vars:  !0 = $arg
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV_INIT                                        !0      'Default'
    4     1        CONCAT                                           ~1      !0, '%0A'
          2        ECHO                                                     ~1
    5     3      > RETURN                                                   null

End of function func

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.52 ms | 1396 KiB | 15 Q