3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt='28:Apr:2015 "This is an Example!"'; $re1='.*?'; # Non-greedy match on filler $re2='(?:[a-z][a-z]+)'; # Uninteresting: word $re3='.*?'; # Non-greedy match on filler $re4='(?:[a-z][a-z]+)'; # Uninteresting: word $re5='.*?'; # Non-greedy match on filler $re6='(?:[a-z][a-z]+)'; # Uninteresting: word $re7='.*?'; # Non-greedy match on filler $re8='(?:[a-z][a-z]+)'; # Uninteresting: word $re9='.*?'; # Non-greedy match on filler $re10='((?:[a-z][a-z]+))'; # Word 1 if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10."/is", $txt, $matches)) { $word1=$matches[1][0]; print "($word1) \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 36
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 36
filename:       /in/f8MHE
function name:  (null)
number of ops:  37
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 = $c, !12 = $matches, !13 = $word1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '28%3AApr%3A2015+%22This+is+an+Example%21%22'
    4     1        ASSIGN                                                   !1, '.%2A%3F'
    5     2        ASSIGN                                                   !2, '%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29'
    6     3        ASSIGN                                                   !3, '.%2A%3F'
    7     4        ASSIGN                                                   !4, '%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29'
    8     5        ASSIGN                                                   !5, '.%2A%3F'
    9     6        ASSIGN                                                   !6, '%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29'
   10     7        ASSIGN                                                   !7, '.%2A%3F'
   11     8        ASSIGN                                                   !8, '%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29'
   12     9        ASSIGN                                                   !9, '.%2A%3F'
   13    10        ASSIGN                                                   !10, '%28%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29%29'
   15    11        INIT_FCALL                                               'preg_match_all'
         12        CONCAT                                           ~25     '%2F', !1
         13        CONCAT                                           ~26     ~25, !2
         14        CONCAT                                           ~27     ~26, !3
         15        CONCAT                                           ~28     ~27, !4
         16        CONCAT                                           ~29     ~28, !5
         17        CONCAT                                           ~30     ~29, !6
         18        CONCAT                                           ~31     ~30, !7
         19        CONCAT                                           ~32     ~31, !8
         20        CONCAT                                           ~33     ~32, !9
         21        CONCAT                                           ~34     ~33, !10
         22        CONCAT                                           ~35     ~34, '%2Fis'
         23        SEND_VAL                                                 ~35
         24        SEND_VAR                                                 !0
         25        SEND_REF                                                 !12
         26        DO_ICALL                                         $36     
         27        ASSIGN                                           ~37     !11, $36
         28      > JMPZ                                                     ~37, ->36
   17    29    >   FETCH_DIM_R                                      ~38     !12, 1
         30        FETCH_DIM_R                                      ~39     ~38, 0
         31        ASSIGN                                                   !13, ~39
   18    32        ROPE_INIT                                     3  ~42     '%28'
         33        ROPE_ADD                                      1  ~42     ~42, !13
         34        ROPE_END                                      2  ~41     ~42, '%29+%0A'
         35        ECHO                                                     ~41
   19    36    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
210.18 ms | 1396 KiB | 15 Q