3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding('UTF-8'); mb_regex_encoding('UTF-8'); $string = "Some long tokenisable string"; $splitTokens = mb_split('[^\p{N}\p{L}]|\p{Z}', $string); var_dump($splitTokens);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/HtI25
function name:  (null)
number of ops:  16
compiled vars:  !0 = $string, !1 = $splitTokens
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'UTF-8'
          2        DO_ICALL                                                 
    3     3        INIT_FCALL                                               'mb_regex_encoding'
          4        SEND_VAL                                                 'UTF-8'
          5        DO_ICALL                                                 
    4     6        ASSIGN                                                   !0, 'Some+long+tokenisable+string'
    5     7        INIT_FCALL                                               'mb_split'
          8        SEND_VAL                                                 '%5B%5E%5Cp%7BN%7D%5Cp%7BL%7D%5D%7C%5Cp%7BZ%7D'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                         $5      
         11        ASSIGN                                                   !1, $5
    6    12        INIT_FCALL                                               'var_dump'
         13        SEND_VAR                                                 !1
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.38 ms | 1394 KiB | 21 Q