3v4l.org

run code in 500+ PHP versions simultaneously
<?php print grapheme_strlen("é"); // LATIN SMALL LETTER E WITH ACUTE print "\n"; print grapheme_strlen("é"); // LATIN SMALL LETTER E; COMBINING ACUTE ACCENT
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HPOb3
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL_BY_NAME                                           'grapheme_strlen'
          1        SEND_VAL_EX                                                  '%C3%A9'
          2        DO_FCALL                                          0  $0      
          3        ECHO                                                         $0
    3     4        ECHO                                                         '%0A'
    4     5        INIT_FCALL_BY_NAME                                           'grapheme_strlen'
          6        SEND_VAL_EX                                                  'e%CC%81'
          7        DO_FCALL                                          0  $1      
          8        ECHO                                                         $1
          9      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
159.76 ms | 2095 KiB | 13 Q