3v4l.org

run code in 300+ PHP versions simultaneously
<?php $value = [ 'values' => []]; var_dump(isset($value['values']) && count($value['values']) > 0);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 8
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
filename:       /in/s6MCq
function name:  (null)
number of ops:  11
compiled vars:  !0 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        ISSET_ISEMPTY_DIM_OBJ                         0  ~2      !0, 'values'
          3      > JMPZ_EX                                          ~2      ~2, ->8
          4    >   FETCH_DIM_R                                      ~3      !0, 'values'
          5        COUNT                                            ~4      ~3
          6        IS_SMALLER                                       ~5      0, ~4
          7        BOOL                                             ~2      ~5
          8    >   SEND_VAL                                                 ~2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
210.64 ms | 1398 KiB | 15 Q