3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo htmlentities('ó', ENT_COMPAT, 'UTF-8'), htmlentities('ó', ENT_COMPAT, 'ISO-8859-1'), htmlentities('ó');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/ZD3q0
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'htmlentities'
          1        SEND_VAL                                                 '%C3%B3'
          2        SEND_VAL                                                 2
          3        SEND_VAL                                                 'UTF-8'
          4        DO_ICALL                                         $0      
          5        ECHO                                                     $0
          6        INIT_FCALL                                               'htmlentities'
          7        SEND_VAL                                                 '%C3%B3'
          8        SEND_VAL                                                 2
          9        SEND_VAL                                                 'ISO-8859-1'
         10        DO_ICALL                                         $1      
         11        ECHO                                                     $1
         12        INIT_FCALL                                               'htmlentities'
         13        SEND_VAL                                                 '%C3%B3'
         14        DO_ICALL                                         $2      
         15        ECHO                                                     $2
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.78 ms | 1394 KiB | 15 Q