3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1; $arr2 = array(); $arr3 = array(1,2,3); var_dump((bool) $arr1); var_dump((bool) $arr2); var_dump((bool) $arr3);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/T34ND
function name:  (null)
number of ops:  15
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $arr3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !1, <array>
    5     1        ASSIGN                                                   !2, <array>
    7     2        INIT_FCALL                                               'var_dump'
          3        BOOL                                             ~5      !0
          4        SEND_VAL                                                 ~5
          5        DO_ICALL                                                 
    8     6        INIT_FCALL                                               'var_dump'
          7        BOOL                                             ~7      !1
          8        SEND_VAL                                                 ~7
          9        DO_ICALL                                                 
    9    10        INIT_FCALL                                               'var_dump'
         11        BOOL                                             ~9      !2
         12        SEND_VAL                                                 ~9
         13        DO_ICALL                                                 
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.94 ms | 1385 KiB | 15 Q