3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.72 ms | 1392 KiB | 13 Q