3v4l.org

run code in 300+ PHP versions simultaneously
<?php $k = array(); var_dump(is_array($k) && !empty($k));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 4, Position 2 = 7
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
filename:       /in/A7HrV
function name:  (null)
number of ops:  10
compiled vars:  !0 = $k
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    4     1        INIT_FCALL                                               'var_dump'
          2        TYPE_CHECK                                  128  ~2      !0
          3      > JMPZ_EX                                          ~2      ~2, ->7
          4    >   ISSET_ISEMPTY_CV                                 ~3      !0
          5        BOOL_NOT                                         ~4      ~3
          6        BOOL                                             ~2      ~4
          7    >   SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.27 ms | 1385 KiB | 15 Q