3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.71 ms | 1392 KiB | 13 Q