3v4l.org

run code in 300+ PHP versions simultaneously
<?php $config = array('default' => ['test']); $result = null; if (null === $result && isset($config['default'])) { $result = $config['default']; } var_dump($result);die();
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 6
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 9
Branch analysis from position: 6
filename:       /in/MB3Wr
function name:  (null)
number of ops:  14
compiled vars:  !0 = $config, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, null
    4     2        TYPE_CHECK                                    2  ~4      !1
          3      > JMPZ_EX                                          ~4      ~4, ->6
          4    >   ISSET_ISEMPTY_DIM_OBJ                         0  ~5      !0, 'default'
          5        BOOL                                             ~4      ~5
          6    > > JMPZ                                                     ~4, ->9
    5     7    >   FETCH_DIM_R                                      ~6      !0, 'default'
          8        ASSIGN                                                   !1, ~6
    8     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                                 
         12      > EXIT                                                     
         13*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.23 ms | 1394 KiB | 15 Q