3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'aap\'ie'; echo 'value = " '.htmlentities($name, ENT_QUOTE, 'UTF-8').' " ';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/pSppa
function name:  (null)
number of ops:  11
compiled vars:  !0 = $name
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'aap%27ie'
    3     1        INIT_FCALL                                               'htmlentities'
          2        SEND_VAR                                                 !0
          3        FETCH_CONSTANT                                   ~2      'ENT_QUOTE'
          4        SEND_VAL                                                 ~2
          5        SEND_VAL                                                 'UTF-8'
          6        DO_ICALL                                         $3      
          7        CONCAT                                           ~4      'value+%3D+%22+', $3
          8        CONCAT                                           ~5      ~4, '+%22+'
          9        ECHO                                                     ~5
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.37 ms | 1394 KiB | 15 Q