3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bi = IntlBreakIterator::createCodePointInstance(); $bi->setText("\xED\xA0\xBDa"); foreach ($bi as $cp) { var_dump($bi->getErrorMessage(), bin2hex($cp)); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 7, Position 2 = 18
Branch analysis from position: 7
2 jumps found. (Code = 78) Position 1 = 8, Position 2 = 18
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/iLSL9
function name:  (null)
number of ops:  20
compiled vars:  !0 = $bi, !1 = $cp
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'IntlBreakIterator', 'createCodePointInstance'
          1        DO_FCALL                                      0  $2      
          2        ASSIGN                                                   !0, $2
    4     3        INIT_METHOD_CALL                                         !0, 'setText'
          4        SEND_VAL_EX                                              '%ED%A0%BDa'
          5        DO_FCALL                                      0          
    5     6      > FE_RESET_R                                       $5      !0, ->18
          7    > > FE_FETCH_R                                               $5, !1, ->18
    6     8    >   INIT_FCALL                                               'var_dump'
          9        INIT_METHOD_CALL                                         !0, 'getErrorMessage'
         10        DO_FCALL                                      0  $6      
         11        SEND_VAR                                                 $6
         12        INIT_FCALL                                               'bin2hex'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                         $7      
         15        SEND_VAR                                                 $7
         16        DO_ICALL                                                 
    5    17      > JMP                                                      ->7
         18    >   FE_FREE                                                  $5
    7    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.61 ms | 1000 KiB | 15 Q