3v4l.org

run code in 500+ PHP versions simultaneously
<?php $order = isset( $_GET['o'] ) ? '?o='.$_GET['o'].'&p=' : '?p='; echo "<a href='$order.1'>1</a> ";
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 9
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/P7XfQ
function name:  (null)
number of ops:  16
compiled vars:  !0 = $order
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   FETCH_IS                                             ~1      '_GET'
          1        ISSET_ISEMPTY_DIM_OBJ                             0          ~1, 'o'
          2      > JMPZ                                                         ~2, ->9
          3    >   FETCH_R                          global              ~3      '_GET'
          4        FETCH_DIM_R                                          ~4      ~3, 'o'
          5        CONCAT                                               ~5      '%3Fo%3D', ~4
          6        CONCAT                                               ~6      ~5, '%26p%3D'
          7        QM_ASSIGN                                            ~7      ~6
          8      > JMP                                                          ->10
          9    >   QM_ASSIGN                                            ~7      '%3Fp%3D'
         10    >   ASSIGN                                                       !0, ~7
    4    11        ROPE_INIT                                         3  ~10     '%3Ca+href%3D%27'
         12        ROPE_ADD                                          1  ~10     ~10, !0
         13        ROPE_END                                          2  ~9      ~10, '.1%27%3E1%3C%2Fa%3E+'
         14        ECHO                                                         ~9
         15      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.4 ms | 2181 KiB | 13 Q