3v4l.org

run code in 500+ PHP versions simultaneously
<?php $string = 'no_such_function'; var_dump($string); $lambda = fn(...$args) => no_such_function(...$args); var_dump($lambda); $fcc = no_such_function(...); var_dump($fcc);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vr9oq
function name:  (null)
number of ops:  16
compiled vars:  !0 = $string, !1 = $lambda, !2 = $fcc
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 'no_such_function'
    4     1        INIT_FCALL                                                   'var_dump'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                                     
    6     4        DECLARE_LAMBDA_FUNCTION                              ~5      [0]
          5        ASSIGN                                                       !1, ~5
    7     6        INIT_FCALL                                                   'var_dump'
          7        SEND_VAR                                                     !1
          8        DO_ICALL                                                     
    9     9        INIT_FCALL_BY_NAME                                           'no_such_function'
         10        CALLABLE_CONVERT                                     ~8      
         11        ASSIGN                                                       !2, ~8
   10    12        INIT_FCALL                                                   'var_dump'
         13        SEND_VAR                                                     !2
         14        DO_ICALL                                                     
         15      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Vr9oq
function name:  {closure:/in/Vr9oq:6}
number of ops:  7
compiled vars:  !0 = $args
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    6     0  E >   RECV_VARIADIC                                        !0      
          1        INIT_FCALL_BY_NAME                                           'no_such_function'
          2        SEND_UNPACK                                                  !0
          3        CHECK_UNDEF_ARGS                                             
          4        DO_FCALL                                          1  $1      
          5      > RETURN                                                       $1
          6*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
137.38 ms | 1356 KiB | 14 Q