3v4l.org

run code in 300+ PHP versions simultaneously
<?php $base = "13.0 JJansen 2/6 09:17 0+00:01:28 I 0 1953.1 Test.bat"; $pattern = "/(\s{1,})/"; $replacement = ""; $new = preg_split($pattern,$base); print_r($new); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sElT6
function name:  (null)
number of ops:  12
compiled vars:  !0 = $base, !1 = $pattern, !2 = $replacement, !3 = $new
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '13.0+JJansen+2%2F6+09%3A17+0%2B00%3A01%3A28+I+0++++++1953.1+Test.bat'
    5     1        ASSIGN                                                   !1, '%2F%28%5Cs%7B1%2C%7D%29%2F'
    6     2        ASSIGN                                                   !2, ''
    8     3        INIT_FCALL                                               'preg_split'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $7      
          7        ASSIGN                                                   !3, $7
   10     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !3
         10        DO_ICALL                                                 
   11    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.48 ms | 1394 KiB | 17 Q