3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $phpSelf = $_SERVER['PHP_SELF'] ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME']; $disFuns=get_cfg_var("disable_functions"); echo (false!==eregi("phpinfo",$disFuns))? '<font color="red">×</font>' :"<a href='$phpSelf?act=phpinfo' target='_blank'>PHPINFO</a>";
based on vhAW6
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 7
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 23
Branch analysis from position: 21
Branch analysis from position: 23
filename:       /in/2nHYd
function name:  (null)
number of ops:  29
compiled vars:  !0 = $phpSelf, !1 = $disFuns
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   FETCH_R                      global              $2      '_SERVER'
         1        FETCH_DIM_R                                      $3      $2, 'PHP_SELF'
         2      > JMPZ                                                     $3, ->7
         3    >   FETCH_R                      global              $4      '_SERVER'
         4        FETCH_DIM_R                                      $5      $4, 'PHP_SELF'
         5        QM_ASSIGN                                        ~6      $5
         6      > JMP                                                      ->10
         7    >   FETCH_R                      global              $7      '_SERVER'
         8        FETCH_DIM_R                                      $8      $7, 'SCRIPT_NAME'
         9        QM_ASSIGN                                        ~6      $8
        10    >   ASSIGN                                                   !0, ~6
   3    11        INIT_FCALL                                               'get_cfg_var'
        12        SEND_VAL                                                 'disable_functions'
        13        DO_ICALL                                         $10     
        14        ASSIGN                                                   !1, $10
   5    15        INIT_FCALL_BY_NAME                                       'eregi'
        16        SEND_VAL_EX                                              'phpinfo'
        17        SEND_VAR_EX                                              !1
        18        DO_FCALL                                      0  $12     
        19        IS_NOT_IDENTICAL                                 ~13     <false>, $12
        20      > JMPZ                                                     ~13, ->23
        21    >   QM_ASSIGN                                        ~14     '%3Cfont+color%3D%22red%22%3E%C3%97%3C%2Ffont%3E'
        22      > JMP                                                      ->27
        23    >   ROPE_INIT                                     3  ~16     '%3Ca+href%3D%27'
        24        ROPE_ADD                                      1  ~16     ~16, !0
        25        ROPE_END                                      2  ~15     ~16, '%3Fact%3Dphpinfo%27+target%3D%27_blank%27%3EPHPINFO%3C%2Fa%3E'
        26        QM_ASSIGN                                        ~14     ~15
        27    >   ECHO                                                     ~14
        28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0