3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.22 ms | 1394 KiB | 15 Q