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); var_dump(array_filter($a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XDmu1
function name:  (null)
number of ops:  25
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                                                 
   10    18        INIT_FCALL                                               'var_dump'
         19        INIT_FCALL                                               'array_filter'
         20        SEND_VAR                                                 !0
         21        DO_ICALL                                         $10     
         22        SEND_VAR                                                 $10
         23        DO_ICALL                                                 
         24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.16 ms | 1395 KiB | 17 Q