3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt='propensity to anger KID-4, P-8, LIV-2, LIV-13'; $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]+))'; # Word 1 $re9='(-)'; # Any Single Character 1 $re10='(\\d+)'; # Integer Number 1 if ($c=preg_match_all ("/".$re1.$re2.$re3.$re4.$re5.$re6.$re7.$re8.$re9.$re10."/is", $txt, $matches)) { $word1=$matches[1][0]; $c1=$matches[2][0]; $int1=$matches[3][0]; print "($word1) ($c1) ($int1) \n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 46
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 46
filename:       /in/IXAIf
function name:  (null)
number of ops:  47
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, !14 = $c1, !15 = $int1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'propensity+to+anger+KID-4%2C+P-8%2C+LIV-2%2C+LIV-13'
    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%28%3F%3A%5Ba-z%5D%5Ba-z%5D%2B%29%29'
   12     9        ASSIGN                                                   !9, '%28-%29'
   13    10        ASSIGN                                                   !10, '%28%5Cd%2B%29'
   15    11        INIT_FCALL                                               'preg_match_all'
         12        CONCAT                                           ~27     '%2F', !1
         13        CONCAT                                           ~28     ~27, !2
         14        CONCAT                                           ~29     ~28, !3
         15        CONCAT                                           ~30     ~29, !4
         16        CONCAT                                           ~31     ~30, !5
         17        CONCAT                                           ~32     ~31, !6
         18        CONCAT                                           ~33     ~32, !7
         19        CONCAT                                           ~34     ~33, !8
         20        CONCAT                                           ~35     ~34, !9
         21        CONCAT                                           ~36     ~35, !10
         22        CONCAT                                           ~37     ~36, '%2Fis'
         23        SEND_VAL                                                 ~37
         24        SEND_VAR                                                 !0
         25        SEND_REF                                                 !12
         26        DO_ICALL                                         $38     
         27        ASSIGN                                           ~39     !11, $38
         28      > JMPZ                                                     ~39, ->46
   17    29    >   FETCH_DIM_R                                      ~40     !12, 1
         30        FETCH_DIM_R                                      ~41     ~40, 0
         31        ASSIGN                                                   !13, ~41
   18    32        FETCH_DIM_R                                      ~43     !12, 2
         33        FETCH_DIM_R                                      ~44     ~43, 0
         34        ASSIGN                                                   !14, ~44
   19    35        FETCH_DIM_R                                      ~46     !12, 3
         36        FETCH_DIM_R                                      ~47     ~46, 0
         37        ASSIGN                                                   !15, ~47
   20    38        ROPE_INIT                                     7  ~50     '%28'
         39        ROPE_ADD                                      1  ~50     ~50, !13
         40        ROPE_ADD                                      2  ~50     ~50, '%29+%28'
         41        ROPE_ADD                                      3  ~50     ~50, !14
         42        ROPE_ADD                                      4  ~50     ~50, '%29+%28'
         43        ROPE_ADD                                      5  ~50     ~50, !15
         44        ROPE_END                                      6  ~49     ~50, '%29+%0A'
         45        ECHO                                                     ~49
   21    46    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.82 ms | 1400 KiB | 15 Q