3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['q'] = "'<"; $q = htmlspecialchars( $_GET['q'] ); echo "<h4>Results for " . $q . ":</h4>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZqmE4
function name:  (null)
number of ops:  13
compiled vars:  !0 = $q
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $1      '_GET'
          1        ASSIGN_DIM                                               $1, 'q'
          2        OP_DATA                                                  '%27%3C'
    5     3        INIT_FCALL                                               'htmlspecialchars'
          4        FETCH_R                      global              ~3      '_GET'
          5        FETCH_DIM_R                                      ~4      ~3, 'q'
          6        SEND_VAL                                                 ~4
          7        DO_ICALL                                         $5      
          8        ASSIGN                                                   !0, $5
    6     9        CONCAT                                           ~7      '%3Ch4%3EResults+for+', !0
         10        CONCAT                                           ~8      ~7, '%3A%3C%2Fh4%3E'
         11        ECHO                                                     ~8
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.07 ms | 1385 KiB | 15 Q