3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.5 ms | 1398 KiB | 15 Q