3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '« J’accepte »'; $str = htmlentities($str); $str = htmlspecialchars_decode($str); $str = htmlspecialchars_decode($str); echo $str;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/LAC1W
function name:  (null)
number of ops:  15
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%C2%AB+J%E2%80%99accepte+%C2%BB'
    5     1        INIT_FCALL                                               'htmlentities'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    7     5        INIT_FCALL                                               'htmlspecialchars_decode'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        ASSIGN                                                   !0, $4
    8     9        INIT_FCALL                                               'htmlspecialchars_decode'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $6      
         12        ASSIGN                                                   !0, $6
   10    13        ECHO                                                     !0
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.05 ms | 1394 KiB | 17 Q