3v4l.org

run code in 300+ PHP versions simultaneously
<?php function html_entities ($s) { return htmlentities ($s, ENT_COMPAT /* ENT_HTML401 */, "UTF-8"); } var_dump(html_entities("\x4a\x69\x67\x75\x65\x20\xe0\x20\x42\x61\x70\x74\x69\x73\x74\x65"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQFq7
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'html_entities'
          2        SEND_VAL                                                 'Jigue+%E0+Baptiste'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
          6      > RETURN                                                   1

Function html_entities:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WQFq7
function name:  html_entities
number of ops:  8
compiled vars:  !0 = $s
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
    4     1        INIT_FCALL                                               'htmlentities'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 2
          4        SEND_VAL                                                 'UTF-8'
          5        DO_ICALL                                         $1      
          6      > RETURN                                                   $1
    5     7*     > RETURN                                                   null

End of function html_entities

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.45 ms | 1397 KiB | 18 Q