3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="iasduad iiabefibasdib [nid:112] oabsdo baosd [10] [n10]"; $re1=".*?"; $re2="(\\[)"; $re3="((?:[a-z][a-z0-9_]*))"; $re4="(:)"; if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4."/is", $txt, $matches)) { $c1=$matches[1][0]; $var1=$matches[2][0]; $c2=$matches[3][0]; print "($c1) ($var1) ($c2) \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 34
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 34
filename:       /in/60Ula
function name:  (null)
number of ops:  35
compiled vars:  !0 = $txt, !1 = $re1, !2 = $re2, !3 = $re3, !4 = $re4, !5 = $c, !6 = $matches, !7 = $c1, !8 = $var1, !9 = $c2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'iasduad+iiabefibasdib+%5Bnid%3A112%5D+oabsdo+baosd+%5B10%5D+%5Bn10%5D'
    3     1        ASSIGN                                                   !1, '.%2A%3F'
    4     2        ASSIGN                                                   !2, '%28%5C%5B%29'
    5     3        ASSIGN                                                   !3, '%28%28%3F%3A%5Ba-z%5D%5Ba-z0-9_%5D%2A%29%29'
    6     4        ASSIGN                                                   !4, '%28%3A%29'
    7     5        INIT_FCALL                                               'preg_match_all'
          6        CONCAT                                           ~15     '%2F', !1
          7        CONCAT                                           ~16     ~15, !2
          8        CONCAT                                           ~17     ~16, !3
          9        CONCAT                                           ~18     ~17, !4
         10        CONCAT                                           ~19     ~18, '%2Fis'
         11        SEND_VAL                                                 ~19
         12        SEND_VAR                                                 !0
         13        SEND_REF                                                 !6
         14        DO_ICALL                                         $20     
         15        ASSIGN                                           ~21     !5, $20
         16      > JMPZ                                                     ~21, ->34
    8    17    >   FETCH_DIM_R                                      ~22     !6, 1
         18        FETCH_DIM_R                                      ~23     ~22, 0
         19        ASSIGN                                                   !7, ~23
    9    20        FETCH_DIM_R                                      ~25     !6, 2
         21        FETCH_DIM_R                                      ~26     ~25, 0
         22        ASSIGN                                                   !8, ~26
   10    23        FETCH_DIM_R                                      ~28     !6, 3
         24        FETCH_DIM_R                                      ~29     ~28, 0
         25        ASSIGN                                                   !9, ~29
   11    26        ROPE_INIT                                     7  ~32     '%28'
         27        ROPE_ADD                                      1  ~32     ~32, !7
         28        ROPE_ADD                                      2  ~32     ~32, '%29+%28'
         29        ROPE_ADD                                      3  ~32     ~32, !8
         30        ROPE_ADD                                      4  ~32     ~32, '%29+%28'
         31        ROPE_ADD                                      5  ~32     ~32, !9
         32        ROPE_END                                      6  ~31     ~32, '%29+%0A'
         33        ECHO                                                     ~31
   12    34    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.03 ms | 1388 KiB | 15 Q