3v4l.org

run code in 300+ PHP versions simultaneously
<?php $app = 'holder'; $authRequest = function( $meta = 'opval' ) use ($app) { return function() use ($meta, $app) { echo "Strings: {$meta} -> {$app}"; }; }; $authRequest('Closure');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gJBna
function name:  (null)
number of ops:  8
compiled vars:  !0 = $app, !1 = $authRequest
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'holder'
    4     1        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FgJBna%3A4%240'
          2        BIND_LEXICAL                                             ~3, !0
          3        ASSIGN                                                   !1, ~3
   12     4        INIT_DYNAMIC_CALL                                        !1
          5        SEND_VAL_EX                                              'Closure'
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

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

End of function %00%7Bclosure%7D%2Fin%2FgJBna%3A4%240

Function %00%7Bclosure%7D%2Fin%2FgJBna%3A5%241:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gJBna
function name:  {closure}
number of ops:  8
compiled vars:  !0 = $meta, !1 = $app
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   BIND_STATIC                                              !0
          1        BIND_STATIC                                              !1
    7     2        ROPE_INIT                                     4  ~3      'Strings%3A+'
          3        ROPE_ADD                                      1  ~3      ~3, !0
          4        ROPE_ADD                                      2  ~3      ~3, '+-%3E+'
          5        ROPE_END                                      3  ~2      ~3, !1
          6        ECHO                                                     ~2
    9     7      > RETURN                                                   null

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.8 ms | 1395 KiB | 13 Q