3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(html_entity_decode($string, ENT_QUOTES, "UTF-8")); var_dump(mb_convert_encoding("â€", "HTML-ENTITIES", "UTF-8"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XlZAg
function name:  (null)
number of ops:  17
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'html_entity_decode'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 3
          4        SEND_VAL                                                 'UTF-8'
          5        DO_ICALL                                         $1      
          6        SEND_VAR                                                 $1
          7        DO_ICALL                                                 
    5     8        INIT_FCALL                                               'var_dump'
          9        INIT_FCALL                                               'mb_convert_encoding'
         10        SEND_VAL                                                 '%C3%A2%E2%82%AC'
         11        SEND_VAL                                                 'HTML-ENTITIES'
         12        SEND_VAL                                                 'UTF-8'
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.94 ms | 1394 KiB | 19 Q