3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo $str = "Coss&eacute; René"; echo "\n"; echo $str = htmlentities($str); 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/R7DVP
function name:  (null)
number of ops:  16
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        DO_ICALL                                         $2      
          6        ASSIGN                                           ~3      !0, $2
          7        ECHO                                                     ~3
    5     8        ECHO                                                     '%0A'
    6     9        INIT_FCALL                                               'html_entity_decode'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        ASSIGN                                           ~5      !0, $4
         13        ECHO                                                     ~5
    7    14        ECHO                                                     '%0A'
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
186.82 ms | 1394 KiB | 17 Q