3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.52 ms | 1393 KiB | 13 Q