3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach([Normalizer::FORM_C, Normalizer::FORM_D] as $form) { echo "Dumping form $form\n"; $n = Normalizer::normalize('å', $form); foreach(str_split($n) as $c) { var_dump($c); } var_dump(bin2hex($n)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 32
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 32
Branch analysis from position: 6
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 24
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 24
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 24
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 24
Branch analysis from position: 32
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 32
filename:       /in/A3m0u
function name:  (null)
number of ops:  34
compiled vars:  !0 = $form, !1 = $n, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_CLASS_CONSTANT                             ~3      'Normalizer', 'FORM_C'
          1        INIT_ARRAY                                       ~4      ~3
          2        FETCH_CLASS_CONSTANT                             ~5      'Normalizer', 'FORM_D'
          3        ADD_ARRAY_ELEMENT                                ~4      ~5
          4      > FE_RESET_R                                       $6      ~4, ->32
          5    > > FE_FETCH_R                                               $6, !0, ->32
    3     6    >   ROPE_INIT                                     3  ~8      'Dumping+form+'
          7        ROPE_ADD                                      1  ~8      ~8, !0
          8        ROPE_END                                      2  ~7      ~8, '%0A'
          9        ECHO                                                     ~7
    4    10        INIT_STATIC_METHOD_CALL                                  'Normalizer', 'normalize'
         11        SEND_VAL_EX                                              '%C3%A5'
         12        SEND_VAR_EX                                              !0
         13        DO_FCALL                                      0  $10     
         14        ASSIGN                                                   !1, $10
    5    15        INIT_FCALL                                               'str_split'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                         $12     
         18      > FE_RESET_R                                       $13     $12, ->24
         19    > > FE_FETCH_R                                               $13, !2, ->24
    6    20    >   INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !2
         22        DO_ICALL                                                 
    5    23      > JMP                                                      ->19
         24    >   FE_FREE                                                  $13
    8    25        INIT_FCALL                                               'var_dump'
         26        INIT_FCALL                                               'bin2hex'
         27        SEND_VAR                                                 !1
         28        DO_ICALL                                         $15     
         29        SEND_VAR                                                 $15
         30        DO_ICALL                                                 
    2    31      > JMP                                                      ->5
         32    >   FE_FREE                                                  $6
    9    33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.59 ms | 1396 KiB | 19 Q