3v4l.org

run code in 300+ PHP versions simultaneously
<?php # URL that generated this code: # http://txt2re.com/index-php.php3?s=directv%20-%20some%20stuff%20hereHR34NC-5001nc&26&28&54&55&-62&56&51&52 $txt='directv - some stuff here 7H34NC-5001nc'; $re1='.*?'; # Non-greedy match on filler $re41='([a-z]?[a-z])'; # Any Single Word Character (Not Whitespace) 1 or 2 $re43='(\\d)'; # Any Single Digit 1 $re44='(\\d)'; # Any Single Digit 2 $re45='.*?'; # Non-greedy match on filler $re46='(-)'; # Any Single Character 1 $re47='(\\d)'; # Any Single Digit 3 $re48='(\\d)'; # Any Single Digit 4 $re49='(\\d)'; # Any Single Digit 5 if ($c=preg_match_all ("/".$re1.$re41.$re43.$re44.$re45.$re46.$re47.$re48.$re49."/is", $txt, $matches)) { $w1=$matches[1][0]; $d1=$matches[3][0]; $d2=$matches[4][0]; $c1=$matches[5][0]; $d3=$matches[6][0]; $d4=$matches[7][0]; $d5=$matches[8][0]; print "($w1) ($w2) ($d1) ($d2) ($c1) ($d3) ($d4) \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 27, Position 2 = 64
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 64
filename:       /in/Rkdgn
function name:  (null)
number of ops:  65
compiled vars:  !0 = $txt, !1 = $re1, !2 = $re41, !3 = $re43, !4 = $re44, !5 = $re45, !6 = $re46, !7 = $re47, !8 = $re48, !9 = $re49, !10 = $c, !11 = $matches, !12 = $w1, !13 = $d1, !14 = $d2, !15 = $c1, !16 = $d3, !17 = $d4, !18 = $d5, !19 = $w2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'directv+-+some+stuff+here+7H34NC-5001nc'
    7     1        ASSIGN                                                   !1, '.%2A%3F'
    8     2        ASSIGN                                                   !2, '%28%5Ba-z%5D%3F%5Ba-z%5D%29'
    9     3        ASSIGN                                                   !3, '%28%5Cd%29'
   10     4        ASSIGN                                                   !4, '%28%5Cd%29'
   11     5        ASSIGN                                                   !5, '.%2A%3F'
   12     6        ASSIGN                                                   !6, '%28-%29'
   13     7        ASSIGN                                                   !7, '%28%5Cd%29'
   14     8        ASSIGN                                                   !8, '%28%5Cd%29'
   15     9        ASSIGN                                                   !9, '%28%5Cd%29'
   17    10        INIT_FCALL                                               'preg_match_all'
         11        CONCAT                                           ~30     '%2F', !1
         12        CONCAT                                           ~31     ~30, !2
         13        CONCAT                                           ~32     ~31, !3
         14        CONCAT                                           ~33     ~32, !4
         15        CONCAT                                           ~34     ~33, !5
         16        CONCAT                                           ~35     ~34, !6
         17        CONCAT                                           ~36     ~35, !7
         18        CONCAT                                           ~37     ~36, !8
         19        CONCAT                                           ~38     ~37, !9
         20        CONCAT                                           ~39     ~38, '%2Fis'
         21        SEND_VAL                                                 ~39
         22        SEND_VAR                                                 !0
         23        SEND_REF                                                 !11
         24        DO_ICALL                                         $40     
         25        ASSIGN                                           ~41     !10, $40
         26      > JMPZ                                                     ~41, ->64
   19    27    >   FETCH_DIM_R                                      ~42     !11, 1
         28        FETCH_DIM_R                                      ~43     ~42, 0
         29        ASSIGN                                                   !12, ~43
   20    30        FETCH_DIM_R                                      ~45     !11, 3
         31        FETCH_DIM_R                                      ~46     ~45, 0
         32        ASSIGN                                                   !13, ~46
   21    33        FETCH_DIM_R                                      ~48     !11, 4
         34        FETCH_DIM_R                                      ~49     ~48, 0
         35        ASSIGN                                                   !14, ~49
   22    36        FETCH_DIM_R                                      ~51     !11, 5
         37        FETCH_DIM_R                                      ~52     ~51, 0
         38        ASSIGN                                                   !15, ~52
   23    39        FETCH_DIM_R                                      ~54     !11, 6
         40        FETCH_DIM_R                                      ~55     ~54, 0
         41        ASSIGN                                                   !16, ~55
   24    42        FETCH_DIM_R                                      ~57     !11, 7
         43        FETCH_DIM_R                                      ~58     ~57, 0
         44        ASSIGN                                                   !17, ~58
   25    45        FETCH_DIM_R                                      ~60     !11, 8
         46        FETCH_DIM_R                                      ~61     ~60, 0
         47        ASSIGN                                                   !18, ~61
   26    48        ROPE_INIT                                    15  ~64     '%28'
         49        ROPE_ADD                                      1  ~64     ~64, !12
         50        ROPE_ADD                                      2  ~64     ~64, '%29+%28'
         51        ROPE_ADD                                      3  ~64     ~64, !19
         52        ROPE_ADD                                      4  ~64     ~64, '%29+%28'
         53        ROPE_ADD                                      5  ~64     ~64, !13
         54        ROPE_ADD                                      6  ~64     ~64, '%29+%28'
         55        ROPE_ADD                                      7  ~64     ~64, !14
         56        ROPE_ADD                                      8  ~64     ~64, '%29+%28'
         57        ROPE_ADD                                      9  ~64     ~64, !15
         58        ROPE_ADD                                     10  ~64     ~64, '%29+%28'
         59        ROPE_ADD                                     11  ~64     ~64, !16
         60        ROPE_ADD                                     12  ~64     ~64, '%29+%28'
         61        ROPE_ADD                                     13  ~64     ~64, !17
         62        ROPE_END                                     14  ~63     ~64, '%29+%0A'
         63        ECHO                                                     ~63
   27    64    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.23 ms | 1400 KiB | 15 Q