3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = IntlBreakIterator::createWordInstance('en'); $i->setText('This is so awesome. Don\'t you think?'); foreach($i->getPartsIterator(IntlBreakIterator::DONE) as $word) { echo $word . PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 16
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 16
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/p7dlt
function name:  (null)
number of ops:  18
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          
    6     7        INIT_METHOD_CALL                                         !0, 'getPartsIterator'
          8        FETCH_CLASS_CONSTANT                             ~5      'IntlBreakIterator', 'DONE'
          9        SEND_VAL_EX                                              ~5
         10        DO_FCALL                                      0  $6      
         11      > FE_RESET_R                                       $7      $6, ->16
         12    > > FE_FETCH_R                                               $7, !1, ->16
    7    13    >   CONCAT                                           ~8      !1, '%0A'
         14        ECHO                                                     ~8
    6    15      > JMP                                                      ->12
         16    >   FE_FREE                                                  $7
    8    17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.5 ms | 1393 KiB | 13 Q