3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach([Normalizer::FORM_C, Normalizer::FORM_D] as $form) { $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 = 28
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 28
Branch analysis from position: 6
2 jumps found. (Code = 77) Position 1 = 15, Position 2 = 20
Branch analysis from position: 15
2 jumps found. (Code = 78) Position 1 = 16, Position 2 = 20
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 20
Branch analysis from position: 28
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/0GHLq
function name:  (null)
number of ops:  30
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, ->28
          5    > > FE_FETCH_R                                               $6, !0, ->28
    3     6    >   INIT_STATIC_METHOD_CALL                                  'Normalizer', 'normalize'
          7        SEND_VAL_EX                                              '%C3%A5'
          8        SEND_VAR_EX                                              !0
          9        DO_FCALL                                      0  $7      
         10        ASSIGN                                                   !1, $7
    4    11        INIT_FCALL                                               'str_split'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                         $9      
         14      > FE_RESET_R                                       $10     $9, ->20
         15    > > FE_FETCH_R                                               $10, !2, ->20
    5    16    >   INIT_FCALL                                               'var_dump'
         17        SEND_VAR                                                 !2
         18        DO_ICALL                                                 
    4    19      > JMP                                                      ->15
         20    >   FE_FREE                                                  $10
    7    21        INIT_FCALL                                               'var_dump'
         22        INIT_FCALL                                               'bin2hex'
         23        SEND_VAR                                                 !1
         24        DO_ICALL                                         $12     
         25        SEND_VAR                                                 $12
         26        DO_ICALL                                                 
    2    27      > JMP                                                      ->5
         28    >   FE_FREE                                                  $6
    8    29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
191.61 ms | 1396 KiB | 19 Q