3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = IntlBreakIterator::createWordInstance('en'); $i->setText('This is so awesome. Don\'t you think?'); var_dump($i->following(IntlBreakIterator::WORD_NUMBER)); foreach($i->getPartsIterator(IntlPartsIterator::KEY_RIGHT) as $word) { echo var_dump($word); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 19, Position 2 = 25
Branch analysis from position: 19
2 jumps found. (Code = 78) Position 1 = 20, Position 2 = 25
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
filename:       /in/fo0bu
function name:  (null)
number of ops:  27
compiled vars:  !0 = $i, !1 = $word
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_STATIC_METHOD_CALL                                  'IntlBreakIterator', 'createWordInstance'
          1        SEND_VAL_EX                                              'en'
          2        DO_FCALL                                      0  $2      
          3        ASSIGN                                                   !0, $2
    4     4        INIT_METHOD_CALL                                         !0, 'setText'
          5        SEND_VAL_EX                                              'This+is+so+awesome.+Don%27t+you+think%3F'
          6        DO_FCALL                                      0          
    5     7        INIT_FCALL                                               'var_dump'
          8        INIT_METHOD_CALL                                         !0, 'following'
          9        FETCH_CLASS_CONSTANT                             ~5      'IntlBreakIterator', 'WORD_NUMBER'
         10        SEND_VAL_EX                                              ~5
         11        DO_FCALL                                      0  $6      
         12        SEND_VAR                                                 $6
         13        DO_ICALL                                                 
    7    14        INIT_METHOD_CALL                                         !0, 'getPartsIterator'
         15        FETCH_CLASS_CONSTANT                             ~8      'IntlPartsIterator', 'KEY_RIGHT'
         16        SEND_VAL_EX                                              ~8
         17        DO_FCALL                                      0  $9      
         18      > FE_RESET_R                                       $10     $9, ->25
         19    > > FE_FETCH_R                                               $10, !1, ->25
    8    20    >   INIT_FCALL                                               'var_dump'
         21        SEND_VAR                                                 !1
         22        DO_ICALL                                         $11     
         23        ECHO                                                     $11
    7    24      > JMP                                                      ->19
         25    >   FE_FREE                                                  $10
    9    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.43 ms | 1396 KiB | 15 Q