3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $str = "Coss&eacute; René"; echo "\n"; echo $str = htmlentities($str,'ENT_IGNORE'); echo "\n"; echo $str = html_entity_decode($str); echo "\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cFAvG
function name:  (null)
number of ops:  17
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                           ~1      !0, 'Coss%26eacute%3B+Ren%C3%A9'
          1        ECHO                                                     ~1
    3     2        ECHO                                                     '%0A'
    4     3        INIT_FCALL                                               'htmlentities'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 'ENT_IGNORE'
          6        DO_ICALL                                         $2      
          7        ASSIGN                                           ~3      !0, $2
          8        ECHO                                                     ~3
    5     9        ECHO                                                     '%0A'
    6    10        INIT_FCALL                                               'html_entity_decode'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                         $4      
         13        ASSIGN                                           ~5      !0, $4
         14        ECHO                                                     ~5
    7    15        ECHO                                                     '%0A'
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.42 ms | 1394 KiB | 17 Q