3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dd = "Balen\u00ed<\/span>Metry<\/span>"; echo htmlentities(dd, ENT_COMPAT, 'UTF-8'); echo html_entity_decode($dd, ENT_NOQUOTES, 'UTF-8');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3ibJN
function name:  (null)
number of ops:  15
compiled vars:  !0 = $dd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Balen%5Cu00ed%3C%5C%2Fspan%3EMetry%3C%5C%2Fspan%3E'
    3     1        INIT_FCALL                                               'htmlentities'
          2        FETCH_CONSTANT                                   ~2      'dd'
          3        SEND_VAL                                                 ~2
          4        SEND_VAL                                                 2
          5        SEND_VAL                                                 'UTF-8'
          6        DO_ICALL                                         $3      
          7        ECHO                                                     $3
    5     8        INIT_FCALL                                               'html_entity_decode'
          9        SEND_VAR                                                 !0
         10        SEND_VAL                                                 0
         11        SEND_VAL                                                 'UTF-8'
         12        DO_ICALL                                         $4      
         13        ECHO                                                     $4
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.98 ms | 1394 KiB | 17 Q