3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str='亜 飛行機  費 ひひ ほほ ほほほほ '; $str=trim($str); $arr=preg_split('/[:space:]+/',trim($str),-1,PREG_SPLIT_NO_EMPTY); var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/oYP7v
function name:  (null)
number of ops:  19
compiled vars:  !0 = $str, !1 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E4%BA%9C%E3%80%80%E9%A3%9B%E8%A1%8C%E6%A9%9F%E3%80%80%E3%80%80%E8%B2%BB%09%E3%81%B2%E3%81%B2+%E3%81%BB%E3%81%BB++%E3%81%BB%E3%81%BB%E3%81%BB%E3%81%BB+'
    3     1        INIT_FCALL                                               'trim'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !0, $3
    4     5        INIT_FCALL                                               'preg_split'
          6        SEND_VAL                                                 '%2F%5B%3Aspace%3A%5D%2B%2F'
          7        INIT_FCALL                                               'trim'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                         $5      
         10        SEND_VAR                                                 $5
         11        SEND_VAL                                                 -1
         12        SEND_VAL                                                 1
         13        DO_ICALL                                         $6      
         14        ASSIGN                                                   !1, $6
    5    15        INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !1
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.94 ms | 1395 KiB | 19 Q