3v4l.org

run code in 300+ PHP versions simultaneously
<?php $constants = array( 'INI_USER' => INI_USER, 'INI_PERDIR' => INI_PERDIR, 'INI_SYSTEM' => INI_SYSTEM, 'INI_ALL' => INI_ALL, ); var_dump($constants); $ini_options = ini_get_all(); var_dump($ini_options['allow_url_fopen']['access'] & INI_SYSTEM); var_dump($ini_options['allow_url_fopen']['access'] & INI_PERDIR);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hoOJK
function name:  (null)
number of ops:  20
compiled vars:  !0 = $constants, !1 = $ini_options
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   13     4        INIT_FCALL                                               'ini_get_all'
          5        DO_ICALL                                         $4      
          6        ASSIGN                                                   !1, $4
   14     7        INIT_FCALL                                               'var_dump'
          8        FETCH_DIM_R                                      ~6      !1, 'allow_url_fopen'
          9        FETCH_DIM_R                                      ~7      ~6, 'access'
         10        BW_AND                                           ~8      ~7, 4
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                                 
   15    13        INIT_FCALL                                               'var_dump'
         14        FETCH_DIM_R                                      ~10     !1, 'allow_url_fopen'
         15        FETCH_DIM_R                                      ~11     ~10, 'access'
         16        BW_AND                                           ~12     ~11, 2
         17        SEND_VAL                                                 ~12
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.13 ms | 1395 KiB | 17 Q