3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
153.31 ms | 2124 KiB | 14 Q