3v4l.org

run code in 500+ PHP versions simultaneously
<?php function some_lib(array $a = [], string $b) { echo $b . PHP_EOL; } some_lib( b: 'hello' );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nHkd1
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   INIT_FCALL                                                   'some_lib'
          1        SEND_VAL                                                     'hello'
          2        CHECK_UNDEF_ARGS                                             
          3        DO_FCALL                                          0          
          4      > RETURN                                                       1

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

End of function some_lib

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
173.56 ms | 3382 KiB | 14 Q