3v4l.org

run code in 300+ PHP versions simultaneously
<?php (function($param1){ return function(...$param2) use ($param1){ echo "$param1 " . implode($param2, " "); }; })("php7")("e", "cam", "fain", ":-?");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sfnGE
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FsfnGE%3A3%240'
   11     1        INIT_DYNAMIC_CALL                                        ~0
          2        SEND_VAL_EX                                              'php7'
          3        DO_FCALL                                      0  $1      
          4        INIT_DYNAMIC_CALL                                        $1
          5        SEND_VAL_EX                                              'e'
          6        SEND_VAL_EX                                              'cam'
          7        SEND_VAL_EX                                              'fain'
          8        SEND_VAL_EX                                              '%3A-%3F'
          9        DO_FCALL                                      0          
         10      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FsfnGE%3A3%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sfnGE
function name:  {closure}
number of ops:  5
compiled vars:  !0 = $param1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FsfnGE%3A5%241'
          2        BIND_LEXICAL                                             ~1, !0
    9     3      > RETURN                                                   ~1
   11     4*     > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FsfnGE%3A3%240

Function %00%7Bclosure%7D%2Fin%2FsfnGE%3A5%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sfnGE
function name:  {closure}
number of ops:  11
compiled vars:  !0 = $param2, !1 = $param1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   RECV_VARIADIC                                    !0      
          1        BIND_STATIC                                              !1
    7     2        NOP                                                      
          3        FAST_CONCAT                                      ~2      !1, '+'
          4        INIT_FCALL                                               'implode'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 '+'
          7        DO_ICALL                                         $3      
          8        CONCAT                                           ~4      ~2, $3
          9        ECHO                                                     ~4
    9    10      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FsfnGE%3A5%241

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.72 ms | 1396 KiB | 15 Q