3v4l.org

run code in 500+ PHP versions simultaneously
<?php $func = function() { echo "Hello World\n"; }; $func(); (function() { echo "Hello World\n"; })();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UYmtT
function name:  (null)
number of ops:  8
compiled vars:  !0 = $func
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                              ~1      [0]
          1        ASSIGN                                                       !0, ~1
    7     2        INIT_DYNAMIC_CALL                                            !0
          3        DO_FCALL                                          0          
    9     4        DECLARE_LAMBDA_FUNCTION                              ~4      [1]
   11     5        INIT_DYNAMIC_CALL                                            ~4
          6        DO_FCALL                                          0          
          7      > 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/UYmtT
function name:  {closure:/in/UYmtT:3}
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    4     0  E >   ECHO                                                         'Hello+World%0A'
    5     1      > RETURN                                                       null

End of Dynamic Function 0

Dynamic Function 1
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UYmtT
function name:  {closure:/in/UYmtT:9}
number of ops:  2
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
   10     0  E >   ECHO                                                         'Hello+World%0A'
   11     1      > RETURN                                                       null

End of Dynamic Function 1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
230.5 ms | 3251 KiB | 13 Q