3v4l.org

run code in 300+ PHP versions simultaneously
<?php $neu = htmlspecialchars("<a href='test'>Täst</a>", ENT_QUOTES, 'UTF-8'); echo $neu;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mb7AW
function name:  (null)
number of ops:  8
compiled vars:  !0 = $neu
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'htmlspecialchars'
          1        SEND_VAL                                                 '%3Ca+href%3D%27test%27%3ET%C3%A4st%3C%2Fa%3E'
          2        SEND_VAL                                                 3
          3        SEND_VAL                                                 'UTF-8'
          4        DO_ICALL                                         $1      
          5        ASSIGN                                                   !0, $1
    4     6        ECHO                                                     !0
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.24 ms | 1385 KiB | 15 Q