3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (strpos(ini_get('disable_functions'), 'phpinfo') === false) { phpinfo(); } else { echo 'phpinfo() is disabled'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 12
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/RqrHt
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'strpos'
          1        INIT_FCALL                                               'ini_get'
          2        SEND_VAL                                                 'disable_functions'
          3        DO_ICALL                                         $0      
          4        SEND_VAR                                                 $0
          5        SEND_VAL                                                 'phpinfo'
          6        DO_ICALL                                         $1      
          7        TYPE_CHECK                                    4          $1
          8      > JMPZ                                                     ~2, ->12
    3     9    >   INIT_FCALL                                               'phpinfo'
         10        DO_ICALL                                                 
    2    11      > JMP                                                      ->13
    5    12    >   ECHO                                                     'phpinfo%28%29+is+disabled'
    6    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.62 ms | 1461 KiB | 16 Q