3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.6 ms | 1395 KiB | 17 Q