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\\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.$re45.$re46.$re47.$re48.$re49."/is", $txt, $matches)) { $w1=$matches[1][0]; $d1=$matches[2][0]; $c1=$matches[4][0]; $d3=$matches[5][0]; $d4=$matches[6][0]; $d5=$matches[7][0]; print "($w1) ($d1) ($c1) ($d3) ($d4) ($d5)\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 57
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 57
filename:       /in/AUTP3
function name:  (null)
number of ops:  58
compiled vars:  !0 = $txt, !1 = $re1, !2 = $re41, !3 = $re43, !4 = $re45, !5 = $re46, !6 = $re47, !7 = $re48, !8 = $re49, !9 = $c, !10 = $matches, !11 = $w1, !12 = $d1, !13 = $c1, !14 = $d3, !15 = $d4, !16 = $d5
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%5Cd%29'
   10     4        ASSIGN                                                   !4, '.%2A%3F'
   11     5        ASSIGN                                                   !5, '%28-%29'
   12     6        ASSIGN                                                   !6, '%28%5Cd%29'
   13     7        ASSIGN                                                   !7, '%28%5Cd%29'
   14     8        ASSIGN                                                   !8, '%28%5Cd%29'
   16     9        INIT_FCALL                                               'preg_match_all'
         10        CONCAT                                           ~26     '%2F', !1
         11        CONCAT                                           ~27     ~26, !2
         12        CONCAT                                           ~28     ~27, !3
         13        CONCAT                                           ~29     ~28, !4
         14        CONCAT                                           ~30     ~29, !5
         15        CONCAT                                           ~31     ~30, !6
         16        CONCAT                                           ~32     ~31, !7
         17        CONCAT                                           ~33     ~32, !8
         18        CONCAT                                           ~34     ~33, '%2Fis'
         19        SEND_VAL                                                 ~34
         20        SEND_VAR                                                 !0
         21        SEND_REF                                                 !10
         22        DO_ICALL                                         $35     
         23        ASSIGN                                           ~36     !9, $35
         24      > JMPZ                                                     ~36, ->57
   18    25    >   FETCH_DIM_R                                      ~37     !10, 1
         26        FETCH_DIM_R                                      ~38     ~37, 0
         27        ASSIGN                                                   !11, ~38
   19    28        FETCH_DIM_R                                      ~40     !10, 2
         29        FETCH_DIM_R                                      ~41     ~40, 0
         30        ASSIGN                                                   !12, ~41
   20    31        FETCH_DIM_R                                      ~43     !10, 4
         32        FETCH_DIM_R                                      ~44     ~43, 0
         33        ASSIGN                                                   !13, ~44
   21    34        FETCH_DIM_R                                      ~46     !10, 5
         35        FETCH_DIM_R                                      ~47     ~46, 0
         36        ASSIGN                                                   !14, ~47
   22    37        FETCH_DIM_R                                      ~49     !10, 6
         38        FETCH_DIM_R                                      ~50     ~49, 0
         39        ASSIGN                                                   !15, ~50
   23    40        FETCH_DIM_R                                      ~52     !10, 7
         41        FETCH_DIM_R                                      ~53     ~52, 0
         42        ASSIGN                                                   !16, ~53
   24    43        ROPE_INIT                                    13  ~56     '%28'
         44        ROPE_ADD                                      1  ~56     ~56, !11
         45        ROPE_ADD                                      2  ~56     ~56, '%29+%28'
         46        ROPE_ADD                                      3  ~56     ~56, !12
         47        ROPE_ADD                                      4  ~56     ~56, '%29+%28'
         48        ROPE_ADD                                      5  ~56     ~56, !13
         49        ROPE_ADD                                      6  ~56     ~56, '%29+%28'
         50        ROPE_ADD                                      7  ~56     ~56, !14
         51        ROPE_ADD                                      8  ~56     ~56, '%29+%28'
         52        ROPE_ADD                                      9  ~56     ~56, !15
         53        ROPE_ADD                                     10  ~56     ~56, '%29+%28'
         54        ROPE_ADD                                     11  ~56     ~56, !16
         55        ROPE_END                                     12  ~55     ~56, '%29%0A'
         56        ECHO                                                     ~55
   25    57    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
160.34 ms | 1400 KiB | 15 Q