3v4l.org

run code in 300+ PHP versions simultaneously
<?php function test() { static $appDir, $includePaths, $excludePaths; if (!isset($appDir, $includePaths, $excludePaths)) { extract($_SERVER, EXTR_IF_EXISTS); } } test();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PKZgJ
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   INIT_FCALL                                               'test'
          1        DO_FCALL                                      0          
          2      > RETURN                                                   1

Function test:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 17
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
Branch analysis from position: 10
Branch analysis from position: 7
filename:       /in/PKZgJ
function name:  test
number of ops:  18
compiled vars:  !0 = $appDir, !1 = $includePaths, !2 = $excludePaths
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   BIND_STATIC                                              !0
          1        BIND_STATIC                                              !1
          2        BIND_STATIC                                              !2
    5     3        ISSET_ISEMPTY_CV                                 ~3      !0
          4      > JMPZ_EX                                          ~3      ~3, ->7
          5    >   ISSET_ISEMPTY_CV                                 ~4      !1
          6        BOOL                                             ~3      ~4
          7    > > JMPZ_EX                                          ~3      ~3, ->10
          8    >   ISSET_ISEMPTY_CV                                 ~5      !2
          9        BOOL                                             ~3      ~5
         10    >   BOOL_NOT                                         ~6      ~3
         11      > JMPZ                                                     ~6, ->17
    6    12    >   INIT_FCALL                                               'extract'
         13        FETCH_W                      global              $7      '_SERVER'
         14        SEND_REF                                                 $7
         15        SEND_VAL                                                 6
         16        DO_ICALL                                                 
    8    17    > > RETURN                                                   null

End of function test

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.54 ms | 1398 KiB | 16 Q