3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(INTL_ICU_VERSION); $a = IntlBreakIterator::createLineInstance('ja-u-lw-phrase'); $a->setText('BudouX: 読みやすい改行のための軽量な分かち書き器'); var_dump(iterator_to_array($a->getPartsIterator()));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M4DOB
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'var_dump'
          1        FETCH_CONSTANT                                   ~1      'INTL_ICU_VERSION'
          2        SEND_VAL                                                 ~1
          3        DO_ICALL                                                 
    4     4        INIT_STATIC_METHOD_CALL                                  'IntlBreakIterator', 'createLineInstance'
          5        SEND_VAL_EX                                              'ja-u-lw-phrase'
          6        DO_FCALL                                      0  $3      
          7        ASSIGN                                                   !0, $3
    5     8        INIT_METHOD_CALL                                         !0, 'setText'
          9        SEND_VAL_EX                                              'BudouX%3A+%E8%AA%AD%E3%81%BF%E3%82%84%E3%81%99%E3%81%84%E6%94%B9%E8%A1%8C%E3%81%AE%E3%81%9F%E3%82%81%E3%81%AE%E8%BB%BD%E9%87%8F%E3%81%AA%E5%88%86%E3%81%8B%E3%81%A1%E6%9B%B8%E3%81%8D%E5%99%A8'
         10        DO_FCALL                                      0          
    6    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL                                               'iterator_to_array'
         13        INIT_METHOD_CALL                                         !0, 'getPartsIterator'
         14        DO_FCALL                                      0  $6      
         15        SEND_VAR                                                 $6
         16        DO_ICALL                                         $7      
         17        SEND_VAR                                                 $7
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.17 ms | 998 KiB | 15 Q