3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'V&#xe4;xj&#xf6;'; $b = html_entity_encode($a, ENT_COMPAT, 'UTF-8'); echo $b;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/K5OoI
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'V%26%23xe4%3Bxj%26%23xf6%3B'
    3     1        INIT_FCALL_BY_NAME                                       'html_entity_encode'
          2        SEND_VAR_EX                                              !0
          3        SEND_VAL_EX                                              2
          4        SEND_VAL_EX                                              'UTF-8'
          5        DO_FCALL                                      0  $3      
          6        ASSIGN                                                   !1, $3
    4     7        ECHO                                                     !1
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.85 ms | 1392 KiB | 13 Q