3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "<p>this -&gt; &quot;</p>\n"; echo htmlspecialchars_decode($str); // note that here the quotes aren't converted echo htmlspecialchars_decode($str, ENT_NOQUOTES); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sA1Ro
function name:  (null)
number of ops:  11
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cp%3Ethis+-%26gt%3B+%26quot%3B%3C%2Fp%3E%0A'
    4     1        INIT_FCALL                                               'htmlspecialchars_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ECHO                                                     $2
    7     5        INIT_FCALL                                               'htmlspecialchars_decode'
          6        SEND_VAR                                                 !0
          7        SEND_VAL                                                 0
          8        DO_ICALL                                         $3      
          9        ECHO                                                     $3
    8    10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.88 ms | 1394 KiB | 15 Q