3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.51 ms | 1385 KiB | 15 Q