3v4l.org

run code in 300+ PHP versions simultaneously
<?php function htmlkarakter($string) { $string = str_replace(array("&lt;", "&gt;", '&amp;', '&#039;', '&quot;','&lt;', '&gt;'), array("<", ">",'&','\'','"','<','>'), htmlspecialchars_decode($string, ENT_NOQUOTES)); return $string; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HF3Pj
function name:  (null)
number of ops:  1
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E > > RETURN                                                   1

Function htmlkarakter:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HF3Pj
function name:  htmlkarakter
number of ops:  13
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'str_replace'
          2        SEND_VAL                                                 <array>
          3        SEND_VAL                                                 <array>
          4        INIT_FCALL                                               'htmlspecialchars_decode'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 0
          7        DO_ICALL                                         $1      
          8        SEND_VAR                                                 $1
          9        DO_ICALL                                         $2      
         10        ASSIGN                                                   !0, $2
    7    11      > RETURN                                                   !0
    9    12*     > RETURN                                                   null

End of function htmlkarakter

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.28 ms | 1394 KiB | 17 Q