3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.31 ms | 1384 KiB | 13 Q