3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '05/21/2018 ghijkl 06/12/2018 mnopqrst'; $result = preg_split('@(\b\d{1,2}/\d{1,2}/\d{4}\b)@', $str, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY); var_dump($result);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iLFCl
function name:  (null)
number of ops:  12
compiled vars:  !0 = $str, !1 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '05%2F21%2F2018+ghijkl+06%2F12%2F2018+mnopqrst'
    4     1        INIT_FCALL                                               'preg_split'
          2        SEND_VAL                                                 '%40%28%5Cb%5Cd%7B1%2C2%7D%2F%5Cd%7B1%2C2%7D%2F%5Cd%7B4%7D%5Cb%29%40'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 -1
          5        SEND_VAL                                                 3
          6        DO_ICALL                                         $3      
          7        ASSIGN                                                   !1, $3
    5     8        INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !1
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.47 ms | 1001 KiB | 15 Q