3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
160.49 ms | 2355 KiB | 14 Q