3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt="Fatti&Storie 5 - Lorem ipsum dolor [12] sit amet [nid:112]"; $re1=".*?"; $re2="(\\[)"; $re3="((?:[a-z][a-z0-9_]*))"; $re4="(:)"; $re5='(\\d+)'; if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5."/is", $txt, $matches)) { $c1=$matches[1][0]; $var1=$matches[2][0]; $c2=$matches[3][0]; $int1=$matches[4][0]; print "($c1) ($var1) ($c2) ($int1)\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 41
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 41
filename:       /in/6KBZC
function name:  (null)
number of ops:  42
compiled vars:  !0 = $txt, !1 = $re1, !2 = $re2, !3 = $re3, !4 = $re4, !5 = $re5, !6 = $c, !7 = $matches, !8 = $c1, !9 = $var1, !10 = $c2, !11 = $int1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Fatti%26Storie+5+-+Lorem+ipsum+dolor+%5B12%5D+sit+amet+%5Bnid%3A112%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        ASSIGN                                                   !5, '%28%5Cd%2B%29'
    8     6        INIT_FCALL                                               'preg_match_all'
          7        CONCAT                                           ~18     '%2F', !1
          8        CONCAT                                           ~19     ~18, !2
          9        CONCAT                                           ~20     ~19, !3
         10        CONCAT                                           ~21     ~20, !4
         11        CONCAT                                           ~22     ~21, !5
         12        CONCAT                                           ~23     ~22, '%2Fis'
         13        SEND_VAL                                                 ~23
         14        SEND_VAR                                                 !0
         15        SEND_REF                                                 !7
         16        DO_ICALL                                         $24     
         17        ASSIGN                                           ~25     !6, $24
         18      > JMPZ                                                     ~25, ->41
    9    19    >   FETCH_DIM_R                                      ~26     !7, 1
         20        FETCH_DIM_R                                      ~27     ~26, 0
         21        ASSIGN                                                   !8, ~27
   10    22        FETCH_DIM_R                                      ~29     !7, 2
         23        FETCH_DIM_R                                      ~30     ~29, 0
         24        ASSIGN                                                   !9, ~30
   11    25        FETCH_DIM_R                                      ~32     !7, 3
         26        FETCH_DIM_R                                      ~33     ~32, 0
         27        ASSIGN                                                   !10, ~33
   12    28        FETCH_DIM_R                                      ~35     !7, 4
         29        FETCH_DIM_R                                      ~36     ~35, 0
         30        ASSIGN                                                   !11, ~36
   13    31        ROPE_INIT                                     9  ~39     '%28'
         32        ROPE_ADD                                      1  ~39     ~39, !8
         33        ROPE_ADD                                      2  ~39     ~39, '%29+%28'
         34        ROPE_ADD                                      3  ~39     ~39, !9
         35        ROPE_ADD                                      4  ~39     ~39, '%29+%28'
         36        ROPE_ADD                                      5  ~39     ~39, !10
         37        ROPE_ADD                                      6  ~39     ~39, '%29+%28'
         38        ROPE_ADD                                      7  ~39     ~39, !11
         39        ROPE_END                                      8  ~38     ~39, '%29%0A'
         40        ECHO                                                     ~38
   14    41    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
290.06 ms | 1400 KiB | 16 Q