3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = []; print_r(array_is_list($a) && array_all($a, fn ($row) => is_array($row)));
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/qKWot
function name:  (null)
number of ops:  15
compiled vars:  !0 = $a
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, <array>
    5     1        INIT_FCALL                                                   'print_r'
          2        INIT_FCALL                                                   'array_is_list'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $2      
          5      > JMPZ_EX                                              ~3      $2, ->12
          6    >   INIT_FCALL                                                   'array_all'
          7        SEND_VAR                                                     !0
          8        DECLARE_LAMBDA_FUNCTION                              ~4      [0]
          9        SEND_VAL                                                     ~4
         10        DO_ICALL                                             $5      
         11        BOOL                                                 ~3      $5
         12    >   SEND_VAL                                                     ~3
         13        DO_ICALL                                                     
         14      > RETURN                                                       1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/qKWot
function name:  {closure:/in/qKWot:5}
number of ops:  4
compiled vars:  !0 = $row
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
          0  E >   RECV                                                 !0      
          1        TYPE_CHECK                                      128  ~1      !0
          2      > RETURN                                                       ~1
          3*     > RETURN                                                       null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
149.52 ms | 3360 KiB | 17 Q