3v4l.org

run code in 300+ PHP versions simultaneously
<?php $config['debug'] = array( 'type' => array( 'remote_specific' => true, 'remote_addr' => '1.2.3.4', ) , 'mode' => array( 'PHP' => ($config['debug']['type']['remote_specific'] && $config['debug']['type']['remote_addr'] == $_SERVER['REMOTE_ADDR']) ? true : true, 'PDO' => ($config['debug']['type']['remote_specific'] && $config['debug']['type']['remote_addr'] == $_SERVER['REMOTE_ADDR']) ? true : false ) );
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 5, Position 2 = 12
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 13, Position 2 = 15
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 46) Position 1 = 21, Position 2 = 28
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 31
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 31
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
Branch analysis from position: 15
2 jumps found. (Code = 46) Position 1 = 21, Position 2 = 28
Branch analysis from position: 21
Branch analysis from position: 28
Branch analysis from position: 12
filename:       /in/cNpkB
function name:  (null)
number of ops:  37
compiled vars:  !0 = $config
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   INIT_ARRAY                                       ~2      <array>, 'type'
    8     1        FETCH_DIM_R                                      ~3      !0, 'debug'
          2        FETCH_DIM_R                                      ~4      ~3, 'type'
          3        FETCH_DIM_R                                      ~5      ~4, 'remote_specific'
          4      > JMPZ_EX                                          ~5      ~5, ->12
          5    >   FETCH_DIM_R                                      ~6      !0, 'debug'
          6        FETCH_DIM_R                                      ~7      ~6, 'type'
          7        FETCH_DIM_R                                      ~8      ~7, 'remote_addr'
          8        FETCH_R                      global              ~9      '_SERVER'
          9        FETCH_DIM_R                                      ~10     ~9, 'REMOTE_ADDR'
         10        IS_EQUAL                                         ~11     ~8, ~10
         11        BOOL                                             ~5      ~11
         12    > > JMPZ                                                     ~5, ->15
    4    13    >   QM_ASSIGN                                        ~12     <true>
         14      > JMP                                                      ->16
         15    >   QM_ASSIGN                                        ~12     <true>
         16    >   INIT_ARRAY                                       ~13     ~12, 'PHP'
    9    17        FETCH_DIM_R                                      ~14     !0, 'debug'
         18        FETCH_DIM_R                                      ~15     ~14, 'type'
         19        FETCH_DIM_R                                      ~16     ~15, 'remote_specific'
         20      > JMPZ_EX                                          ~16     ~16, ->28
         21    >   FETCH_DIM_R                                      ~17     !0, 'debug'
         22        FETCH_DIM_R                                      ~18     ~17, 'type'
         23        FETCH_DIM_R                                      ~19     ~18, 'remote_addr'
         24        FETCH_R                      global              ~20     '_SERVER'
         25        FETCH_DIM_R                                      ~21     ~20, 'REMOTE_ADDR'
         26        IS_EQUAL                                         ~22     ~19, ~21
         27        BOOL                                             ~16     ~22
         28    > > JMPZ                                                     ~16, ->31
    4    29    >   QM_ASSIGN                                        ~23     <true>
         30      > JMP                                                      ->32
         31    >   QM_ASSIGN                                        ~23     <false>
         32    >   ADD_ARRAY_ELEMENT                                ~13     ~23, 'PDO'
         33        ADD_ARRAY_ELEMENT                                ~2      ~13, 'mode'
    2    34        ASSIGN_DIM                                               !0, 'debug'
    4    35        OP_DATA                                                  ~2
   11    36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.93 ms | 1399 KiB | 13 Q