3v4l.org

run code in 300+ PHP versions simultaneously
<?php # URL that generated this code: # http://txt2re.com/index-php.php3?s=directv%20HR24NC-500nc&18&20&32&33&-36&34&30&31&12&7&6 $txt='directv HR34NC-500nc'; $re1='.*?'; # Non-greedy match on filler $re2='(?:[a-z][a-z]+)'; # Uninteresting: word $re3='.*?'; # Non-greedy match on filler $re4='((?:[a-z][a-z]+))'; # Word 1 $re5='(\\d+)'; # Integer Number 1 $re6='(\\d)'; # Any Single Digit 1 $re7='(\\d)'; # Any Single Digit 2 $re8='.*?'; # Non-greedy match on filler $re9='(-)'; # Any Single Character 1 $re10='(\\d+)'; # Integer Number 2 $re11='(\\d)'; # Any Single Digit 3 $re12='(\\d)'; # Any Single Digit 4 if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10.$re11.$re12."/is", $txt, $matches)) { $word1=$matches[1][0]; $int1=$matches[2][0]; $d1=$matches[3][0]; $d2=$matches[4][0]; $c1=$matches[5][0]; $int2=$matches[6][0]; $d3=$matches[7][0]; $d4=$matches[8][0]; print "($word1) ($int1) ($d1) ($d2) ($c1) ($int2) ($d3) ($d4) \n"; }else{ echo "no match"; } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 33, Position 2 = 76
Branch analysis from position: 33
1 jumps found. (Code = 42) Position 1 = 77
Branch analysis from position: 77
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 76
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/eJqGJ
function name:  (null)
number of ops:  78
compiled vars:  !0 = $txt, !1 = $re1, !2 = $re2, !3 = $re3, !4 = $re4, !5 = $re5, !6 = $re6, !7 = $re7, !8 = $re8, !9 = $re9, !10 = $re10, !11 = $re11, !12 = $re12, !13 = $c, !14 = $matches, !15 = $word1, !16 = $int1, !17 = $d1, !18 = $d2, !19 = $c1, !20 = $int2, !21 = $d3, !22 = $d4
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'directv+HR34NC-500nc'
    7     1        ASSIGN                                                   !1, '.%2A%3F'
    8     2        ASSIGN                                                   !2, '%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29'
    9     3        ASSIGN                                                   !3, '.%2A%3F'
   10     4        ASSIGN                                                   !4, '%28%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29%29'
   11     5        ASSIGN                                                   !5, '%28%5Cd%2B%29'
   12     6        ASSIGN                                                   !6, '%28%5Cd%29'
   13     7        ASSIGN                                                   !7, '%28%5Cd%29'
   14     8        ASSIGN                                                   !8, '.%2A%3F'
   15     9        ASSIGN                                                   !9, '%28-%29'
   16    10        ASSIGN                                                   !10, '%28%5Cd%2B%29'
   17    11        ASSIGN                                                   !11, '%28%5Cd%29'
   18    12        ASSIGN                                                   !12, '%28%5Cd%29'
   20    13        INIT_FCALL                                               'preg_match_all'
         14        CONCAT                                           ~36     '%2F', !1
         15        CONCAT                                           ~37     ~36, !2
         16        CONCAT                                           ~38     ~37, !3
         17        CONCAT                                           ~39     ~38, !4
         18        CONCAT                                           ~40     ~39, !5
         19        CONCAT                                           ~41     ~40, !6
         20        CONCAT                                           ~42     ~41, !7
         21        CONCAT                                           ~43     ~42, !8
         22        CONCAT                                           ~44     ~43, !9
         23        CONCAT                                           ~45     ~44, !10
         24        CONCAT                                           ~46     ~45, !11
         25        CONCAT                                           ~47     ~46, !12
         26        CONCAT                                           ~48     ~47, '%2Fis'
         27        SEND_VAL                                                 ~48
         28        SEND_VAR                                                 !0
         29        SEND_REF                                                 !14
         30        DO_ICALL                                         $49     
         31        ASSIGN                                           ~50     !13, $49
         32      > JMPZ                                                     ~50, ->76
   22    33    >   FETCH_DIM_R                                      ~51     !14, 1
         34        FETCH_DIM_R                                      ~52     ~51, 0
         35        ASSIGN                                                   !15, ~52
   23    36        FETCH_DIM_R                                      ~54     !14, 2
         37        FETCH_DIM_R                                      ~55     ~54, 0
         38        ASSIGN                                                   !16, ~55
   24    39        FETCH_DIM_R                                      ~57     !14, 3
         40        FETCH_DIM_R                                      ~58     ~57, 0
         41        ASSIGN                                                   !17, ~58
   25    42        FETCH_DIM_R                                      ~60     !14, 4
         43        FETCH_DIM_R                                      ~61     ~60, 0
         44        ASSIGN                                                   !18, ~61
   26    45        FETCH_DIM_R                                      ~63     !14, 5
         46        FETCH_DIM_R                                      ~64     ~63, 0
         47        ASSIGN                                                   !19, ~64
   27    48        FETCH_DIM_R                                      ~66     !14, 6
         49        FETCH_DIM_R                                      ~67     ~66, 0
         50        ASSIGN                                                   !20, ~67
   28    51        FETCH_DIM_R                                      ~69     !14, 7
         52        FETCH_DIM_R                                      ~70     ~69, 0
         53        ASSIGN                                                   !21, ~70
   29    54        FETCH_DIM_R                                      ~72     !14, 8
         55        FETCH_DIM_R                                      ~73     ~72, 0
         56        ASSIGN                                                   !22, ~73
   30    57        ROPE_INIT                                    17  ~76     '%28'
         58        ROPE_ADD                                      1  ~76     ~76, !15
         59        ROPE_ADD                                      2  ~76     ~76, '%29+%28'
         60        ROPE_ADD                                      3  ~76     ~76, !16
         61        ROPE_ADD                                      4  ~76     ~76, '%29+%28'
         62        ROPE_ADD                                      5  ~76     ~76, !17
         63        ROPE_ADD                                      6  ~76     ~76, '%29+%28'
         64        ROPE_ADD                                      7  ~76     ~76, !18
         65        ROPE_ADD                                      8  ~76     ~76, '%29+%28'
         66        ROPE_ADD                                      9  ~76     ~76, !19
         67        ROPE_ADD                                     10  ~76     ~76, '%29+%28'
         68        ROPE_ADD                                     11  ~76     ~76, !20
         69        ROPE_ADD                                     12  ~76     ~76, '%29+%28'
         70        ROPE_ADD                                     13  ~76     ~76, !21
         71        ROPE_ADD                                     14  ~76     ~76, '%29+%28'
         72        ROPE_ADD                                     15  ~76     ~76, !22
         73        ROPE_END                                     16  ~75     ~76, '%29+%0A'
         74        ECHO                                                     ~75
         75      > JMP                                                      ->77
   32    76    >   ECHO                                                     'no+match'
   35    77    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.18 ms | 1400 KiB | 15 Q