3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Canonical form. $latin_A_with_ring_above = "\xc3\x85"; // Not Canonical. $Angstrom = "\xE2\x84\xAB"; var_dump( $latin_A_with_ring_above, $Angstrom, normalizer_is_normalized($latin_A_with_ring_above), normalizer_is_normalized($Angstrom), bin2hex($latin_A_with_ring_above), bin2hex($Angstrom), bin2hex(normalizer_normalize($latin_A_with_ring_above)), bin2hex(normalizer_normalize($Angstrom)) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3X3cH
function name:  (null)
number of ops:  37
compiled vars:  !0 = $latin_A_with_ring_above, !1 = $Angstrom
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, '%C3%85'
    7     1        ASSIGN                                                   !1, '%E2%84%AB'
    9     2        INIT_FCALL                                               'var_dump'
   10     3        SEND_VAR                                                 !0
   11     4        SEND_VAR                                                 !1
   12     5        INIT_FCALL_BY_NAME                                       'normalizer_is_normalized'
          6        SEND_VAR_EX                                              !0
          7        DO_FCALL                                      0  $4      
          8        SEND_VAR                                                 $4
   13     9        INIT_FCALL_BY_NAME                                       'normalizer_is_normalized'
         10        SEND_VAR_EX                                              !1
         11        DO_FCALL                                      0  $5      
         12        SEND_VAR                                                 $5
   14    13        INIT_FCALL                                               'bin2hex'
         14        SEND_VAR                                                 !0
         15        DO_ICALL                                         $6      
         16        SEND_VAR                                                 $6
   15    17        INIT_FCALL                                               'bin2hex'
         18        SEND_VAR                                                 !1
         19        DO_ICALL                                         $7      
         20        SEND_VAR                                                 $7
   16    21        INIT_FCALL                                               'bin2hex'
         22        INIT_FCALL_BY_NAME                                       'normalizer_normalize'
         23        SEND_VAR_EX                                              !0
         24        DO_FCALL                                      0  $8      
         25        SEND_VAR                                                 $8
         26        DO_ICALL                                         $9      
         27        SEND_VAR                                                 $9
   17    28        INIT_FCALL                                               'bin2hex'
         29        INIT_FCALL_BY_NAME                                       'normalizer_normalize'
         30        SEND_VAR_EX                                              !1
         31        DO_FCALL                                      0  $10     
         32        SEND_VAR                                                 $10
         33        DO_ICALL                                         $11     
         34        SEND_VAR                                                 $11
         35        DO_ICALL                                                 
   18    36      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
177.43 ms | 1400 KiB | 17 Q