3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = "/(\sA\d{6})/"; $str = "A243503 ;H ;ZU, HS-JIM ;7;F122;VO ;A12 ;A2E;U;be;24.11.15 ;05.12.15 ;11^/ ; ; 1 ; 1 ;A26 ;24.11.15 ;11:05;14:45;TL;F ;^/ 18.10.15 ;18.10.15 ;BU; BLABLABLABLA BLABLABLABLA BLABLABLABLA A243504;F ;BAS, R 56 ;FC12VOp ;A12;App 2E; ;ern;24.11.15 ;05.12.15;11 ^/ ; ; 1 ;2 ;A26;24.11.15 ;11:05 ;14:45 ;TiXL ;FC ; ^/ 18.10.15 ;18.10.15 ;BU ; A243483 ;H ;BR, WG ;64 ;F113 ;GR ;DIS;DZ;H ;Hp ;19.04.16;28.04.16; 9 ^/ ; ; 1 ; 1 ;A306 ;19.04.16 ;09:50 ;13:30 ;TX ;NC; ^/ 18.10.15 ;18.10.15 ;BU ; Fr1% il. Rg ud Tr a/b"; $subst = ""; //$result = preg_replace($re, $subst, $str); $result= preg_split($re , $str,-1,PREG_SET_ORDER); print_r($result); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/3veRv
function name:  (null)
number of ops:  14
compiled vars:  !0 = $re, !1 = $str, !2 = $subst, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%2F%28%5CsA%5Cd%7B6%7D%29%2F'
    3     1        ASSIGN                                                   !1, 'A243503++%3BH+%3BZU%2C+HS-JIM+%3B7%3BF122%3BVO+%3BA12+%3BA2E%3BU%3Bbe%3B24.11.15+%3B05.12.15+%3B11%01%5E%2F%0A++++%3B+%3B+1+%3B+++1+%3BA26+%3B24.11.15+%3B11%3A05%3B14%3A45%3BTL%3BF+%3B%01%5E%2F%0A++++18.10.15+%3B18.10.15+%3BBU%3B%0A++++++++BLABLABLABLA+BLABLABLABLA+BLABLABLABLA%0A++++A243504%3BF++%3BBAS%2C+R+++56++%3BFC12VOp+%3BA12%3BApp+2E%3B+%3Bern%3B24.11.15+%3B05.12.15%3B11+%01%5E%2F%0A+++++%3B++%3B+1+%3B2++%3BA26%3B24.11.15++%3B11%3A05+%3B14%3A45+%3BTiXL++%3BFC++%3B+++%01%5E%2F%0A++++18.10.15+%3B18.10.15+%3BBU+++++++%3B%0A++++A243483+%3BH+%3BBR%2C+WG++%3B64++%3BF113+%3BGR++%3BDIS%3BDZ%3BH+%3BHp+%3B19.04.16%3B28.04.16%3B+9+++++++%01%5E%2F%0A+++++%3B++%3B+1++%3B+++1++%3BA306+++%3B19.04.16++++%3B09%3A50++++%3B13%3A30++++%3BTX+%3BNC%3B++++++++++++%01%5E%2F%0A++++18.10.15+%3B18.10.15+%3BBU++%3B%0A++++++++Fr1%25%0A++++++++il.+Rg+ud+Tr+a%2Fb'
   15     2        ASSIGN                                                   !2, ''
   19     3        INIT_FCALL                                               'preg_split'
          4        SEND_VAR                                                 !0
          5        SEND_VAR                                                 !1
          6        SEND_VAL                                                 -1
          7        SEND_VAL                                                 2
          8        DO_ICALL                                         $7      
          9        ASSIGN                                                   !3, $7
   20    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !3
         12        DO_ICALL                                                 
   21    13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.08 ms | 1005 KiB | 15 Q