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."/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 = 21, Position 2 = 28
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 28
filename:       /in/jNjO3
function name:  (null)
number of ops:  29
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, '%2Fis'
         15        SEND_VAL                                                 ~27
         16        SEND_VAR                                                 !0
         17        SEND_REF                                                 !12
         18        DO_ICALL                                         $28     
         19        ASSIGN                                           ~29     !11, $28
         20      > JMPZ                                                     ~29, ->28
   17    21    >   FETCH_DIM_R                                      ~30     !12, 1
         22        FETCH_DIM_R                                      ~31     ~30, 0
         23        ASSIGN                                                   !13, ~31
   18    24        ROPE_INIT                                     3  ~34     '%28'
         25        ROPE_ADD                                      1  ~34     ~34, !13
         26        ROPE_END                                      2  ~33     ~34, '%29+%0A'
         27        ECHO                                                     ~33
   19    28    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.83 ms | 1396 KiB | 15 Q