3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = null; $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/bniq3
function name:  (null)
number of ops:  16
compiled vars:  !0 = $arr1, !1 = $arr2, !2 = $arr3
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        ASSIGN                                                   !1, <array>
    5     2        ASSIGN                                                   !2, <array>
    7     3        INIT_FCALL                                               'var_dump'
          4        BOOL                                             ~6      !0
          5        SEND_VAL                                                 ~6
          6        DO_ICALL                                                 
    8     7        INIT_FCALL                                               'var_dump'
          8        BOOL                                             ~8      !1
          9        SEND_VAL                                                 ~8
         10        DO_ICALL                                                 
    9    11        INIT_FCALL                                               'var_dump'
         12        BOOL                                             ~10     !2
         13        SEND_VAL                                                 ~10
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.36 ms | 1394 KiB | 15 Q