3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump('&amp; <a href="hola \'que tal\'">\'holaaaaa\'</a> &gt;'); echo htmlspecialchars('&amp; <a href="hola \'que tal\'">\'holaaaaa\'</a> &gt;', ENT_QUOTES, 'UTF-8', true);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Mubof
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        SEND_VAL                                                 '%26amp%3B+%3Ca+href%3D%22hola+%27que+tal%27%22%3E%27holaaaaa%27%3C%2Fa%3E+%26gt%3B'
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'htmlspecialchars'
          4        SEND_VAL                                                 '%26amp%3B+%3Ca+href%3D%22hola+%27que+tal%27%22%3E%27holaaaaa%27%3C%2Fa%3E+%26gt%3B'
          5        SEND_VAL                                                 3
          6        SEND_VAL                                                 'UTF-8'
          7        SEND_VAL                                                 <true>
          8        DO_ICALL                                         $1      
          9        ECHO                                                     $1
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.26 ms | 1394 KiB | 17 Q