3v4l.org

run code in 500+ PHP versions simultaneously
<?php $update["contexts"] = array(); if($update["contexts"] == array()) { echo "empty"; }
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/Q0Fk6
function name:  (null)
number of ops:  7
compiled vars:  !0 = $update
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN_DIM                                                   !0, 'contexts'
          1        OP_DATA                                                      <array>
    5     2        FETCH_DIM_R                                          ~2      !0, 'contexts'
          3        IS_EQUAL                                                     ~2, <array>
          4      > JMPZ                                                         ~3, ->6
    6     5    >   ECHO                                                         'empty'
    7     6    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
217.95 ms | 2172 KiB | 12 Q