3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding("UTF-8"); mb_regex_encoding("UTF-8"); print_r(mb_split(utf8_encode("\W+", "whatèver, .*fóo: bâr")));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/4Vd2j
function name:  (null)
number of ops:  17
compiled vars:  none
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        INIT_FCALL                                               'print_r'
          7        INIT_FCALL                                               'mb_split'
          8        INIT_FCALL                                               'utf8_encode'
          9        SEND_VAL                                                 '%5CW%2B'
         10        SEND_VAL                                                 'what%C3%A8ver%2C+.%2Af%C3%B3o%3A+b%C3%A2r'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                                 
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.99 ms | 1399 KiB | 23 Q