3v4l.org

run code in 300+ PHP versions simultaneously
<?php //foreach ($files as $file) { (function () use ($file){ $_GET['filename'] = $file; include('script.php'); })(); //}
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pnB7F
function name:  (null)
number of ops:  5
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   DECLARE_LAMBDA_FUNCTION                          ~1      [0]
          1        BIND_LEXICAL                                             ~1, !0
    8     2        INIT_DYNAMIC_CALL                                        ~1
          3        DO_FCALL                                      0          
   10     4      > 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/pnB7F
function name:  {closure}
number of ops:  6
compiled vars:  !0 = $file
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   BIND_STATIC                                              !0
    6     1        FETCH_W                      global              $1      '_GET'
          2        ASSIGN_DIM                                               $1, 'filename'
          3        OP_DATA                                                  !0
    7     4        INCLUDE_OR_EVAL                                          'script.php', INCLUDE
    8     5      > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.82 ms | 1006 KiB | 13 Q