3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "<p>like it &lt;/p>"; $str = htmlspecialchars($str); echo $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/bTQZ9
function name:  (null)
number of ops:  12
compiled vars:  !0 = $str
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%3Cp%3Elike+it+%26lt%3B%2Fp%3E'
    4     1        INIT_FCALL                                               'htmlspecialchars'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $2      
          4        ASSIGN                                                   !0, $2
    6     5        ECHO                                                     !0
    8     6        INIT_FCALL                                               'htmlspecialchars_decode'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                         $4      
          9        ASSIGN                                                   !0, $4
   10    10        ECHO                                                     !0
   12    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.74 ms | 1394 KiB | 17 Q