3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = '111&amp;laquo;123!&amp;raquo;456&amp;amp;nbsp;789&#13;'; var_dump($x, htmlspecialchars_decode(htmlspecialchars_decode(html_entity_decode($x, ENT_QUOTES, 'UTF-8'), ENT_QUOTES), ENT_QUOTES));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1tgIM
function name:  (null)
number of ops:  19
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '111%26amp%3Blaquo%3B123%21%26amp%3Braquo%3B456%26amp%3Bamp%3Bnbsp%3B789%26%2313%3B'
    3     1        INIT_FCALL                                               'var_dump'
          2        SEND_VAR                                                 !0
          3        INIT_FCALL                                               'htmlspecialchars_decode'
          4        INIT_FCALL                                               'htmlspecialchars_decode'
          5        INIT_FCALL                                               'html_entity_decode'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 3
          8        SEND_VAL                                                 'UTF-8'
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        SEND_VAL                                                 3
         12        DO_ICALL                                         $3      
         13        SEND_VAR                                                 $3
         14        SEND_VAL                                                 3
         15        DO_ICALL                                         $4      
         16        SEND_VAR                                                 $4
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.34 ms | 1394 KiB | 19 Q