3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = null; $b = 'test'; $c = "tset"; $d = 123; $e = '123'; $f = "123"; $g = ''; $h = ""; $i = false; echo $a ?? $d;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/QHiKh
function name:  (null)
number of ops:  13
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d, !4 = $e, !5 = $f, !6 = $g, !7 = $h, !8 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, null
    4     1        ASSIGN                                                   !1, 'test'
    5     2        ASSIGN                                                   !2, 'tset'
    6     3        ASSIGN                                                   !3, 123
    7     4        ASSIGN                                                   !4, '123'
    8     5        ASSIGN                                                   !5, '123'
    9     6        ASSIGN                                                   !6, ''
   10     7        ASSIGN                                                   !7, ''
   11     8        ASSIGN                                                   !8, <false>
   13     9        COALESCE                                         ~18     !0
         10        QM_ASSIGN                                        ~18     !3
         11        ECHO                                                     ~18
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.29 ms | 1384 KiB | 13 Q