3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); $a[] = array(); var_dump(empty($a)); var_dump(isset($a)); var_dump(count($a)); var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TG1rt
function name:  (null)
number of ops:  19
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        ASSIGN_DIM                                               !0
          2        OP_DATA                                                  <array>
    6     3        INIT_FCALL                                               'var_dump'
          4        ISSET_ISEMPTY_CV                                 ~3      !0
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'var_dump'
          8        ISSET_ISEMPTY_CV                                 ~5      !0
          9        SEND_VAL                                                 ~5
         10        DO_ICALL                                                 
    8    11        INIT_FCALL                                               'var_dump'
         12        COUNT                                            ~7      !0
         13        SEND_VAL                                                 ~7
         14        DO_ICALL                                                 
    9    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.84 ms | 1394 KiB | 15 Q