3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'this is é a test of а system'; $it = IntlBreakIterator::createCharacterInstance(); $it->setText($str); foreach($it->getPartsIterator() as $char) { var_dump(bin2hex($char)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 18
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 18
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/Ftq1v
function name:  (null)
number of ops:  20
compiled vars:  !0 = $str, !1 = $it, !2 = $char
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'this+is+%C3%A9+a+test+of+%D0%B0+system'
    4     1        INIT_STATIC_METHOD_CALL                                  'IntlBreakIterator', 'createCharacterInstance'
          2        DO_FCALL                                      0  $4      
          3        ASSIGN                                                   !1, $4
    5     4        INIT_METHOD_CALL                                         !1, 'setText'
          5        SEND_VAR_EX                                              !0
          6        DO_FCALL                                      0          
    7     7        INIT_METHOD_CALL                                         !1, 'getPartsIterator'
          8        DO_FCALL                                      0  $7      
          9      > FE_RESET_R                                       $8      $7, ->18
         10    > > FE_FETCH_R                                               $8, !2, ->18
    8    11    >   INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'bin2hex'
         13        SEND_VAR                                                 !2
         14        DO_ICALL                                         $9      
         15        SEND_VAR                                                 $9
         16        DO_ICALL                                                 
    7    17      > JMP                                                      ->10
         18    >   FE_FREE                                                  $8
    9    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.85 ms | 1399 KiB | 17 Q