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($x)));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/keN7B
function name:  (null)
number of ops:  12
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        SEND_VAR                                                 !0
          6        DO_ICALL                                         $2      
          7        SEND_VAR                                                 $2
          8        DO_ICALL                                         $3      
          9        SEND_VAR                                                 $3
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
173.82 ms | 1398 KiB | 17 Q