3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = array(); $test['eval_zero'] = 0; $test['eval_null'] = null; $test['eval_false'] = false; $test['eval_true'] = true; if (isset($test['eval_zero'])) { echo 'Zero is set.'; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/BhaOL
function name:  (null)
number of ops:  13
compiled vars:  !0 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0, 'eval_zero'
          2        OP_DATA                                                  0
    5     3        ASSIGN_DIM                                               !0, 'eval_null'
          4        OP_DATA                                                  null
    6     5        ASSIGN_DIM                                               !0, 'eval_false'
          6        OP_DATA                                                  <false>
    7     7        ASSIGN_DIM                                               !0, 'eval_true'
          8        OP_DATA                                                  <true>
    9     9        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 'eval_zero'
         10      > JMPZ                                                     ~6, ->12
   10    11    >   ECHO                                                     'Zero+is+set.'
   11    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.48 ms | 1393 KiB | 13 Q