3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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 hereHR34NC-5001nc'; $re1='.*?'; # Non-greedy match on filler $re2='[a-z]'; # Uninteresting: w $re3='.*?'; # Non-greedy match on filler $re4='[a-z]'; # Uninteresting: w $re5='.*?'; # Non-greedy match on filler $re6='[a-z]'; # Uninteresting: w $re7='.*?'; # Non-greedy match on filler $re8='[a-z]'; # Uninteresting: w $re9='.*?'; # Non-greedy match on filler $re10='[a-z]'; # Uninteresting: w $re11='.*?'; # Non-greedy match on filler $re12='[a-z]'; # Uninteresting: w $re13='.*?'; # Non-greedy match on filler $re14='[a-z]'; # Uninteresting: w $re15='.*?'; # Non-greedy match on filler $re16='[a-z]'; # Uninteresting: w $re17='.*?'; # Non-greedy match on filler $re18='[a-z]'; # Uninteresting: w $re19='.*?'; # Non-greedy match on filler $re20='[a-z]'; # Uninteresting: w $re21='.*?'; # Non-greedy match on filler $re22='[a-z]'; # Uninteresting: w $re23='.*?'; # Non-greedy match on filler $re24='[a-z]'; # Uninteresting: w $re25='.*?'; # Non-greedy match on filler $re26='[a-z]'; # Uninteresting: w $re27='.*?'; # Non-greedy match on filler $re28='[a-z]'; # Uninteresting: w $re29='.*?'; # Non-greedy match on filler $re30='[a-z]'; # Uninteresting: w $re31='.*?'; # Non-greedy match on filler $re32='[a-z]'; # Uninteresting: w $re33='.*?'; # Non-greedy match on filler $re34='[a-z]'; # Uninteresting: w $re35='.*?'; # Non-greedy match on filler $re36='[a-z]'; # Uninteresting: w $re37='.*?'; # Non-greedy match on filler $re38='[a-z]'; # Uninteresting: w $re39='.*?'; # Non-greedy match on filler $re40='[a-z]'; # Uninteresting: w $re41='([a-z])'; # Any Single Word Character (Not Whitespace) 1 $re42='([a-z])'; # Any Single Word Character (Not Whitespace) 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.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10.$re11.$re12.$re13.$re14.$re15.$re16.$re17.$re18.$re19.$re20.$re21.$re22.$re23.$re24.$re25.$re26.$re27.$re28.$re29.$re30.$re31.$re32.$re33.$re34.$re35.$re36.$re37.$re38.$re39.$re40.$re41.$re42.$re43.$re44.$re45.$re46.$re47.$re48.$re49."/is", $txt, $matches)) { $w1=$matches[1][0]; $w2=$matches[2][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) ($d5) \n"; }
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = 107, Position 2 = 149
Branch analysis from position: 107
Jump found. Position 1 = -2
Branch analysis from position: 149
filename:       /in/toAgX
function name:  (null)
number of ops:  150
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 = $re13, !14 = $re14, !15 = $re15, !16 = $re16, !17 = $re17, !18 = $re18, !19 = $re19, !20 = $re20, !21 = $re21, !22 = $re22, !23 = $re23, !24 = $re24, !25 = $re25, !26 = $re26, !27 = $re27, !28 = $re28, !29 = $re29, !30 = $re30, !31 = $re31, !32 = $re32, !33 = $re33, !34 = $re34, !35 = $re35, !36 = $re36, !37 = $re37, !38 = $re38, !39 = $re39, !40 = $re40, !41 = $re41, !42 = $re42, !43 = $re43, !44 = $re44, !45 = $re45, !46 = $re46, !47 = $re47, !48 = $re48, !49 = $re49, !50 = $c, !51 = $matches, !52 = $w1, !53 = $w2, !54 = $d1, !55 = $d2, !56 = $c1, !57 = $d3, !58 = $d4, !59 = $d5
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   5     0  E >   ASSIGN                                                   !0, 'directv+-+some+stuff+hereHR34NC-5001nc'
   7     1        ASSIGN                                                   !1, '.%2A%3F'
   8     2        ASSIGN                                                   !2, '%5Ba-z%5D'
   9     3        ASSIGN                                                   !3, '.%2A%3F'
  10     4        ASSIGN                                                   !4, '%5Ba-z%5D'
  11     5        ASSIGN                                                   !5, '.%2A%3F'
  12     6        ASSIGN                                                   !6, '%5Ba-z%5D'
  13     7        ASSIGN                                                   !7, '.%2A%3F'
  14     8        ASSIGN                                                   !8, '%5Ba-z%5D'
  15     9        ASSIGN                                                   !9, '.%2A%3F'
  16    10        ASSIGN                                                   !10, '%5Ba-z%5D'
  17    11        ASSIGN                                                   !11, '.%2A%3F'
  18    12        ASSIGN                                                   !12, '%5Ba-z%5D'
  19    13        ASSIGN                                                   !13, '.%2A%3F'
  20    14        ASSIGN                                                   !14, '%5Ba-z%5D'
  21    15        ASSIGN                                                   !15, '.%2A%3F'
  22    16        ASSIGN                                                   !16, '%5Ba-z%5D'
  23    17        ASSIGN                                                   !17, '.%2A%3F'
  24    18        ASSIGN                                                   !18, '%5Ba-z%5D'
  25    19        ASSIGN                                                   !19, '.%2A%3F'
  26    20        ASSIGN                                                   !20, '%5Ba-z%5D'
  27    21        ASSIGN                                                   !21, '.%2A%3F'
  28    22        ASSIGN                                                   !22, '%5Ba-z%5D'
  29    23        ASSIGN                                                   !23, '.%2A%3F'
  30    24        ASSIGN                                                   !24, '%5Ba-z%5D'
  31    25        ASSIGN                                                   !25, '.%2A%3F'
  32    26        ASSIGN                                                   !26, '%5Ba-z%5D'
  33    27        ASSIGN                                                   !27, '.%2A%3F'
  34    28        ASSIGN                                                   !28, '%5Ba-z%5D'
  35    29        ASSIGN                                                   !29, '.%2A%3F'
  36    30        ASSIGN                                                   !30, '%5Ba-z%5D'
  37    31        ASSIGN                                                   !31, '.%2A%3F'
  38    32        ASSIGN                                                   !32, '%5Ba-z%5D'
  39    33        ASSIGN                                                   !33, '.%2A%3F'
  40    34        ASSIGN                                                   !34, '%5Ba-z%5D'
  41    35        ASSIGN                                                   !35, '.%2A%3F'
  42    36        ASSIGN                                                   !36, '%5Ba-z%5D'
  43    37        ASSIGN                                                   !37, '.%2A%3F'
  44    38        ASSIGN                                                   !38, '%5Ba-z%5D'
  45    39        ASSIGN                                                   !39, '.%2A%3F'
  46    40        ASSIGN                                                   !40, '%5Ba-z%5D'
  47    41        ASSIGN                                                   !41, '%28%5Ba-z%5D%29'
  48    42        ASSIGN                                                   !42, '%28%5Ba-z%5D%29'
  49    43        ASSIGN                                                   !43, '%28%5Cd%29'
  50    44        ASSIGN                                                   !44, '%28%5Cd%29'
  51    45        ASSIGN                                                   !45, '.%2A%3F'
  52    46        ASSIGN                                                   !46, '%28-%29'
  53    47        ASSIGN                                                   !47, '%28%5Cd%29'
  54    48        ASSIGN                                                   !48, '%28%5Cd%29'
  55    49        ASSIGN                                                   !49, '%28%5Cd%29'
  57    50        INIT_FCALL                                               'preg_match_all'
        51        CONCAT                                           ~110    '%2F', !1
        52        CONCAT                                           ~111    ~110, !2
        53        CONCAT                                           ~112    ~111, !3
        54        CONCAT                                           ~113    ~112, !4
        55        CONCAT                                           ~114    ~113, !5
        56        CONCAT                                           ~115    ~114, !6
        57        CONCAT                                           ~116    ~115, !7
        58        CONCAT                                           ~117    ~116, !8
        59        CONCAT                                           ~118    ~117, !9
        60        CONCAT                                           ~119    ~118, !10
        61        CONCAT                                           ~120    ~119, !11
        62        CONCAT                                           ~121    ~120, !12
        63        CONCAT                                           ~122    ~121, !13
        64        CONCAT                                           ~123    ~122, !14
        65        CONCAT                                           ~124    ~123, !15
        66        CONCAT                                           ~125    ~124, !16
        67        CONCAT                                           ~126    ~125, !17
        68        CONCAT                                           ~127    ~126, !18
        69        CONCAT                                           ~128    ~127, !19
        70        CONCAT                                           ~129    ~128, !20
        71        CONCAT                                           ~130    ~129, !21
        72        CONCAT                                           ~131    ~130, !22
        73        CONCAT                                           ~132    ~131, !23
        74        CONCAT                                           ~133    ~132, !24
        75        CONCAT                                           ~134    ~133, !25
        76        CONCAT                                           ~135    ~134, !26
        77        CONCAT                                           ~136    ~135, !27
        78        CONCAT                                           ~137    ~136, !28
        79        CONCAT                                           ~138    ~137, !29
        80        CONCAT                                           ~139    ~138, !30
        81        CONCAT                                           ~140    ~139, !31
        82        CONCAT                                           ~141    ~140, !32
        83        CONCAT                                           ~142    ~141, !33
        84        CONCAT                                           ~143    ~142, !34
        85        CONCAT                                           ~144    ~143, !35
        86        CONCAT                                           ~145    ~144, !36
        87        CONCAT                                           ~146    ~145, !37
        88        CONCAT                                           ~147    ~146, !38
        89        CONCAT                                           ~148    ~147, !39
        90        CONCAT                                           ~149    ~148, !40
        91        CONCAT                                           ~150    ~149, !41
        92        CONCAT                                           ~151    ~150, !42
        93        CONCAT                                           ~152    ~151, !43
        94        CONCAT                                           ~153    ~152, !44
        95        CONCAT                                           ~154    ~153, !45
        96        CONCAT                                           ~155    ~154, !46
        97        CONCAT                                           ~156    ~155, !47
        98        CONCAT                                           ~157    ~156, !48
        99        CONCAT                                           ~158    ~157, !49
       100        CONCAT                                           ~159    ~158, '%2Fis'
       101        SEND_VAL                                                 ~159
       102        SEND_VAR                                                 !0
       103        SEND_REF                                                 !51
       104        DO_ICALL                                         $160    
       105        ASSIGN                                           $161    !50, $160
       106      > JMPZ                                                     $161, ->149
  59   107    >   FETCH_DIM_R                                      $162    !51, 1
       108        FETCH_DIM_R                                      $163    $162, 0
       109        ASSIGN                                                   !52, $163
  60   110        FETCH_DIM_R                                      $165    !51, 2
       111        FETCH_DIM_R                                      $166    $165, 0
       112        ASSIGN                                                   !53, $166
  61   113        FETCH_DIM_R                                      $168    !51, 3
       114        FETCH_DIM_R                                      $169    $168, 0
       115        ASSIGN                                                   !54, $169
  62   116        FETCH_DIM_R                                      $171    !51, 4
       117        FETCH_DIM_R                                      $172    $171, 0
       118        ASSIGN                                                   !55, $172
  63   119        FETCH_DIM_R                                      $174    !51, 5
       120        FETCH_DIM_R                                      $175    $174, 0
       121        ASSIGN                                                   !56, $175
  64   122        FETCH_DIM_R                                      $177    !51, 6
       123        FETCH_DIM_R                                      $178    $177, 0
       124        ASSIGN                                                   !57, $178
  65   125        FETCH_DIM_R                                      $180    !51, 7
       126        FETCH_DIM_R                                      $181    $180, 0
       127        ASSIGN                                                   !58, $181
  66   128        FETCH_DIM_R                                      $183    !51, 8
       129        FETCH_DIM_R                                      $184    $183, 0
       130        ASSIGN                                                   !59, $184
  67   131        ROPE_INIT                                    17  ~187    '%28'
       132        ROPE_ADD                                      1  ~187    ~187, !52
       133        ROPE_ADD                                      2  ~187    ~187, '%29+%28'
       134        ROPE_ADD                                      3  ~187    ~187, !53
       135        ROPE_ADD                                      4  ~187    ~187, '%29+%28'
       136        ROPE_ADD                                      5  ~187    ~187, !54
       137        ROPE_ADD                                      6  ~187    ~187, '%29+%28'
       138        ROPE_ADD                                      7  ~187    ~187, !55
       139        ROPE_ADD                                      8  ~187    ~187, '%29+%28'
       140        ROPE_ADD                                      9  ~187    ~187, !56
       141        ROPE_ADD                                     10  ~187    ~187, '%29+%28'
       142        ROPE_ADD                                     11  ~187    ~187, !57
       143        ROPE_ADD                                     12  ~187    ~187, '%29+%28'
       144        ROPE_ADD                                     13  ~187    ~187, !58
       145        ROPE_ADD                                     14  ~187    ~187, '%29+%28'
       146        ROPE_ADD                                     15  ~187    ~187, !59
       147        ROPE_END                                     16  ~186    ~187, '%29+%0A'
       148        ECHO                                                     ~186
       149    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.3.0