3v4l.org

run code in 300+ PHP versions simultaneously
<?php $config = array('e' => true); $ex = !empty($config['e']); if ($ex) { echo 'ex'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 6
Branch analysis from position: 5
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
filename:       /in/356R1
function name:  (null)
number of ops:  7
compiled vars:  !0 = $config, !1 = $ex
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ISSET_ISEMPTY_DIM_OBJ                         1  ~3      !0, 'e'
          2        BOOL_NOT                                         ~4      ~3
          3        ASSIGN                                                   !1, ~4
    7     4      > JMPZ                                                     !1, ->6
    8     5    >   ECHO                                                     'ex'
    9     6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.81 ms | 1392 KiB | 13 Q