3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re1=".*?"; # Non-greedy match on filler $re2="(\\[)"; # Any Single Character 1 $re3="(n)"; # Any Single Character 2 $re4="(i)"; # Any Single Character 3 $re5="(d)"; # Any Single Character 4 $re6="(:)"; # Any Single Character 5 $txt="iasduad iiabefibasdib [nid:112] oabsdo baosd [10] [n10]"; if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6."/is", $txt, $matches)){ $c1=$matches[1][0]; $c2=$matches[2][0]; $c3=$matches[3][0]; $c4=$matches[4][0]; $c5=$matches[5][0]; print "($c1) ($c2) ($c3) ($c4) ($c5) \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 48
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 48
filename:       /in/3WJiC
function name:  (null)
number of ops:  49
compiled vars:  !0 = $re1, !1 = $re2, !2 = $re3, !3 = $re4, !4 = $re5, !5 = $re6, !6 = $txt, !7 = $c, !8 = $matches, !9 = $c1, !10 = $c2, !11 = $c3, !12 = $c4, !13 = $c5
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, '.%2A%3F'
    2     1        ASSIGN                                                   !1, '%28%5C%5B%29'
    3     2        ASSIGN                                                   !2, '%28n%29'
    4     3        ASSIGN                                                   !3, '%28i%29'
    5     4        ASSIGN                                                   !4, '%28d%29'
    6     5        ASSIGN                                                   !5, '%28%3A%29'
    7     6        ASSIGN                                                   !6, 'iasduad+iiabefibasdib+%5Bnid%3A112%5D+oabsdo+baosd+%5B10%5D+%5Bn10%5D'
    8     7        INIT_FCALL                                               'preg_match_all'
          8        CONCAT                                           ~21     '%2F', !0
          9        CONCAT                                           ~22     ~21, !1
         10        CONCAT                                           ~23     ~22, !2
         11        CONCAT                                           ~24     ~23, !3
         12        CONCAT                                           ~25     ~24, !4
         13        CONCAT                                           ~26     ~25, !5
         14        CONCAT                                           ~27     ~26, '%2Fis'
         15        SEND_VAL                                                 ~27
         16        SEND_VAR                                                 !6
         17        SEND_REF                                                 !8
         18        DO_ICALL                                         $28     
         19        ASSIGN                                           ~29     !7, $28
         20      > JMPZ                                                     ~29, ->48
         21    >   FETCH_DIM_R                                      ~30     !8, 1
         22        FETCH_DIM_R                                      ~31     ~30, 0
         23        ASSIGN                                                   !9, ~31
         24        FETCH_DIM_R                                      ~33     !8, 2
         25        FETCH_DIM_R                                      ~34     ~33, 0
         26        ASSIGN                                                   !10, ~34
         27        FETCH_DIM_R                                      ~36     !8, 3
         28        FETCH_DIM_R                                      ~37     ~36, 0
         29        ASSIGN                                                   !11, ~37
         30        FETCH_DIM_R                                      ~39     !8, 4
         31        FETCH_DIM_R                                      ~40     ~39, 0
         32        ASSIGN                                                   !12, ~40
         33        FETCH_DIM_R                                      ~42     !8, 5
         34        FETCH_DIM_R                                      ~43     ~42, 0
         35        ASSIGN                                                   !13, ~43
         36        ROPE_INIT                                    11  ~46     '%28'
         37        ROPE_ADD                                      1  ~46     ~46, !9
         38        ROPE_ADD                                      2  ~46     ~46, '%29+%28'
         39        ROPE_ADD                                      3  ~46     ~46, !10
         40        ROPE_ADD                                      4  ~46     ~46, '%29+%28'
         41        ROPE_ADD                                      5  ~46     ~46, !11
         42        ROPE_ADD                                      6  ~46     ~46, '%29+%28'
         43        ROPE_ADD                                      7  ~46     ~46, !12
         44        ROPE_ADD                                      8  ~46     ~46, '%29+%28'
         45        ROPE_ADD                                      9  ~46     ~46, !13
         46        ROPE_END                                     10  ~45     ~46, '%29+%0A'
         47        ECHO                                                     ~45
         48    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.95 ms | 1400 KiB | 15 Q