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&-36&6&7&12 $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='.*?'; # Non-greedy match on filler $re7='(-)'; # Any Single Character 1 $re8='(\\d+)'; # Integer Number 2 if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8."/is", $txt, $matches)) { $word1=$matches[1][0]; $int1=$matches[2][0]; $c1=$matches[3][0]; $int2=$matches[4][0]; print "($word1) ($int1) ($c1) ($int2) \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 47
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 47
filename:       /in/CBFFn
function name:  (null)
number of ops:  48
compiled vars:  !0 = $txt, !1 = $re1, !2 = $re2, !3 = $re3, !4 = $re4, !5 = $re5, !6 = $re6, !7 = $re7, !8 = $re8, !9 = $c, !10 = $matches, !11 = $word1, !12 = $int1, !13 = $c1, !14 = $int2
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, '.%2A%3F'
   13     7        ASSIGN                                                   !7, '%28-%29'
   14     8        ASSIGN                                                   !8, '%28%5Cd%2B%29'
   16     9        INIT_FCALL                                               'preg_match_all'
         10        CONCAT                                           ~24     '%2F', !1
         11        CONCAT                                           ~25     ~24, !2
         12        CONCAT                                           ~26     ~25, !3
         13        CONCAT                                           ~27     ~26, !4
         14        CONCAT                                           ~28     ~27, !5
         15        CONCAT                                           ~29     ~28, !6
         16        CONCAT                                           ~30     ~29, !7
         17        CONCAT                                           ~31     ~30, !8
         18        CONCAT                                           ~32     ~31, '%2Fis'
         19        SEND_VAL                                                 ~32
         20        SEND_VAR                                                 !0
         21        SEND_REF                                                 !10
         22        DO_ICALL                                         $33     
         23        ASSIGN                                           ~34     !9, $33
         24      > JMPZ                                                     ~34, ->47
   18    25    >   FETCH_DIM_R                                      ~35     !10, 1
         26        FETCH_DIM_R                                      ~36     ~35, 0
         27        ASSIGN                                                   !11, ~36
   19    28        FETCH_DIM_R                                      ~38     !10, 2
         29        FETCH_DIM_R                                      ~39     ~38, 0
         30        ASSIGN                                                   !12, ~39
   20    31        FETCH_DIM_R                                      ~41     !10, 3
         32        FETCH_DIM_R                                      ~42     ~41, 0
         33        ASSIGN                                                   !13, ~42
   21    34        FETCH_DIM_R                                      ~44     !10, 4
         35        FETCH_DIM_R                                      ~45     ~44, 0
         36        ASSIGN                                                   !14, ~45
   22    37        ROPE_INIT                                     9  ~48     '%28'
         38        ROPE_ADD                                      1  ~48     ~48, !11
         39        ROPE_ADD                                      2  ~48     ~48, '%29+%28'
         40        ROPE_ADD                                      3  ~48     ~48, !12
         41        ROPE_ADD                                      4  ~48     ~48, '%29+%28'
         42        ROPE_ADD                                      5  ~48     ~48, !13
         43        ROPE_ADD                                      6  ~48     ~48, '%29+%28'
         44        ROPE_ADD                                      7  ~48     ~48, !14
         45        ROPE_END                                      8  ~47     ~48, '%29+%0A'
         46        ECHO                                                     ~47
   23    47    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.15 ms | 1400 KiB | 15 Q