3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['page'] = "xs"; $page = $_GET['page'] ?? 1; echo $page;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9HrQ8
function name:  (null)
number of ops:  10
compiled vars:  !0 = $page
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $1      '_GET'
          1        ASSIGN_DIM                                               $1, 'page'
          2        OP_DATA                                                  'xs'
    5     3        FETCH_IS                                         ~3      '_GET'
          4        FETCH_DIM_IS                                     ~4      ~3, 'page'
          5        COALESCE                                         ~5      ~4
          6        QM_ASSIGN                                        ~5      1
          7        ASSIGN                                                   !0, ~5
    6     8        ECHO                                                     !0
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.12 ms | 1392 KiB | 13 Q