3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.78 ms | 1392 KiB | 13 Q