3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
154.41 ms | 1087 KiB | 13 Q