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, html_entity_decode($x, ENT_COMPAT | ENT_HTML401, 'UTF-8'));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IskgG
function name:  (null)
number of ops:  11
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                                               'html_entity_decode'
          4        SEND_VAR                                                 !0
          5        SEND_VAL                                                 2
          6        SEND_VAL                                                 'UTF-8'
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.82 ms | 1394 KiB | 17 Q