3v4l.org

run code in 300+ PHP versions simultaneously
<?php $username = $_GET['user'] ?: 'nobody'; var_dump($username); $username = $_GET['user'] ?? 'nobody'; var_dump($username);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D6fcV
function name:  (null)
number of ops:  17
compiled vars:  !0 = $username
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_R                      global              ~1      '_GET'
          1        FETCH_DIM_R                                      ~2      ~1, 'user'
          2        JMP_SET                                          ~3      ~2, ->4
          3        QM_ASSIGN                                        ~3      'nobody'
          4        ASSIGN                                                   !0, ~3
    4     5        INIT_FCALL                                               'var_dump'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
    5     8        FETCH_IS                                         ~6      '_GET'
          9        FETCH_DIM_IS                                     ~7      ~6, 'user'
         10        COALESCE                                         ~8      ~7
         11        QM_ASSIGN                                        ~8      'nobody'
         12        ASSIGN                                                   !0, ~8
    6    13        INIT_FCALL                                               'var_dump'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.77 ms | 1394 KiB | 15 Q