3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.32 ms | 1403 KiB | 13 Q