3v4l.org

run code in 300+ PHP versions simultaneously
<?php function __lambda_func() {} $whoops = create_function('$a1', 'echo $a1;'); $whoops('hej');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jd7v2
function name:  (null)
number of ops:  9
compiled vars:  !0 = $whoops
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   INIT_FCALL_BY_NAME                                       'create_function'
          1        SEND_VAL_EX                                              '%24a1'
          2        SEND_VAL_EX                                              'echo+%24a1%3B'
          3        DO_FCALL                                      0  $1      
          4        ASSIGN                                                   !0, $1
    6     5        INIT_DYNAMIC_CALL                                        !0
          6        SEND_VAL_EX                                              'hej'
          7        DO_FCALL                                      0          
          8      > RETURN                                                   1

Function __lambda_func:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Jd7v2
function name:  __lambda_func
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > RETURN                                                   null

End of function __lambda_func

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
302.76 ms | 1006 KiB | 13 Q