3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array(); vardump($arr[0] ?? 'Test');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WHVsF
function name:  (null)
number of ops:  8
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        INIT_FCALL_BY_NAME                                       'vardump'
          2        FETCH_DIM_IS                                     ~2      !0, 0
          3        COALESCE                                         ~3      ~2
          4        QM_ASSIGN                                        ~3      'Test'
          5        SEND_VAL_EX                                              ~3
          6        DO_FCALL                                      0          
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.77 ms | 1392 KiB | 13 Q