3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $name="'"; ?> var a = '<?php echo htmlspecialchars($name); ?>';
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/nZjHH
function name:  (null)
number of ops:  8
compiled vars:  !0 = $name
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, '%27'
   6     1        ECHO                                                     'var+a+%3D+%27'
         2        INIT_FCALL                                               'htmlspecialchars'
         3        SEND_VAR                                                 !0
         4        DO_ICALL                                         $2      
         5        ECHO                                                     $2
         6        ECHO                                                     '%27%3B'
         7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0