3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.9 ms | 1394 KiB | 15 Q