3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fieldvalue[0] = false; if (!empty($fieldvalue[0])) { echo 'false is true'; }
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/RPF1F
function name:  (null)
number of ops:  7
compiled vars:  !0 = $fieldvalue
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                               !0, 0
          1        OP_DATA                                                  <false>
    5     2        ISSET_ISEMPTY_DIM_OBJ                         1  ~2      !0, 0
          3        BOOL_NOT                                         ~3      ~2
          4      > JMPZ                                                     ~3, ->6
    7     5    >   ECHO                                                     'false+is+true'
    8     6    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.35 ms | 1392 KiB | 13 Q