3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = <<<STR 2234323,23,23,44,433;3,23,44,433;23,23,44,433;23,23,44,433;4534453,23,23,44,433; 3,23,44,433;23,23,44,433;23,23,44,433 7545455,23,23,44,433;3,23,44,433;23,23,44,433;23,23,44,433 STR; $string = preg_replace('/;?\R/', ';', $string); // I don't know if this is actually necessary for your real project var_export( preg_split('/;(?=\d{7}\b)/', $string) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JRUie
function name:  (null)
number of ops:  15
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '2234323%2C23%2C23%2C44%2C433%3B3%2C23%2C44%2C433%3B23%2C23%2C44%2C433%3B23%2C23%2C44%2C433%3B4534453%2C23%2C23%2C44%2C433%3B%0A3%2C23%2C44%2C433%3B23%2C23%2C44%2C433%3B23%2C23%2C44%2C433%0A7545455%2C23%2C23%2C44%2C433%3B3%2C23%2C44%2C433%3B23%2C23%2C44%2C433%3B23%2C23%2C44%2C433'
    9     1        INIT_FCALL                                               'preg_replace'
          2        SEND_VAL                                                 '%2F%3B%3F%5CR%2F'
          3        SEND_VAL                                                 '%3B'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !0, $2
   11     7        INIT_FCALL                                               'var_export'
   12     8        INIT_FCALL                                               'preg_split'
          9        SEND_VAL                                                 '%2F%3B%28%3F%3D%5Cd%7B7%7D%5Cb%29%2F'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
   13    14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.9 ms | 1405 KiB | 19 Q