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 7Hr34-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\\d\\d)'; # Any Single Digit 3 if ($c=preg_match_all ("/".$re1.$re41.$re43.$re45.$re46.$re47."/is", $txt, $matches)) { $w1=$matches[1][0]; $d1=$matches[2][0]; $c1=$matches[3][0]; $d2=$matches[4][0]; print "($w1) ($d1) ($c1) ($d2)\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 43
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 43
filename:       /in/hWp8t
function name:  (null)
number of ops:  44
compiled vars:  !0 = $txt, !1 = $re1, !2 = $re41, !3 = $re43, !4 = $re45, !5 = $re46, !6 = $re47, !7 = $c, !8 = $matches, !9 = $w1, !10 = $d1, !11 = $c1, !12 = $d2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    5     0  E >   ASSIGN                                                   !0, 'directv+-+some+stuff+here+7Hr34-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%5Cd%5Cd%29'
   14     7        INIT_FCALL                                               'preg_match_all'
          8        CONCAT                                           ~20     '%2F', !1
          9        CONCAT                                           ~21     ~20, !2
         10        CONCAT                                           ~22     ~21, !3
         11        CONCAT                                           ~23     ~22, !4
         12        CONCAT                                           ~24     ~23, !5
         13        CONCAT                                           ~25     ~24, !6
         14        CONCAT                                           ~26     ~25, '%2Fis'
         15        SEND_VAL                                                 ~26
         16        SEND_VAR                                                 !0
         17        SEND_REF                                                 !8
         18        DO_ICALL                                         $27     
         19        ASSIGN                                           ~28     !7, $27
         20      > JMPZ                                                     ~28, ->43
   16    21    >   FETCH_DIM_R                                      ~29     !8, 1
         22        FETCH_DIM_R                                      ~30     ~29, 0
         23        ASSIGN                                                   !9, ~30
   17    24        FETCH_DIM_R                                      ~32     !8, 2
         25        FETCH_DIM_R                                      ~33     ~32, 0
         26        ASSIGN                                                   !10, ~33
   18    27        FETCH_DIM_R                                      ~35     !8, 3
         28        FETCH_DIM_R                                      ~36     ~35, 0
         29        ASSIGN                                                   !11, ~36
   19    30        FETCH_DIM_R                                      ~38     !8, 4
         31        FETCH_DIM_R                                      ~39     ~38, 0
         32        ASSIGN                                                   !12, ~39
   20    33        ROPE_INIT                                     9  ~42     '%28'
         34        ROPE_ADD                                      1  ~42     ~42, !9
         35        ROPE_ADD                                      2  ~42     ~42, '%29+%28'
         36        ROPE_ADD                                      3  ~42     ~42, !10
         37        ROPE_ADD                                      4  ~42     ~42, '%29+%28'
         38        ROPE_ADD                                      5  ~42     ~42, !11
         39        ROPE_ADD                                      6  ~42     ~42, '%29+%28'
         40        ROPE_ADD                                      7  ~42     ~42, !12
         41        ROPE_END                                      8  ~41     ~42, '%29%0A'
         42        ECHO                                                     ~41
   21    43    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.08 ms | 1400 KiB | 15 Q