3v4l.org

run code in 300+ PHP versions simultaneously
<?php $user = $_GET[‘user’] ?? "nobody"; print $user;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Kn4f7
function name:  (null)
number of ops:  8
compiled vars:  !0 = $user
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CONSTANT                                   ~2      '%E2%80%98user%E2%80%99'
          1        FETCH_IS                                         ~1      '_GET'
          2        FETCH_DIM_IS                                     ~3      ~1, ~2
          3        COALESCE                                         ~4      ~3
          4        QM_ASSIGN                                        ~4      'nobody'
          5        ASSIGN                                                   !0, ~4
    4     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.65 ms | 1392 KiB | 13 Q