3v4l.org

run code in 500+ PHP versions simultaneously
<?php $re = '/([a-z0-9$])\1+|(?:([a-z0-9$])(?!\2))+/m'; $str = '$$$ 12345 aaa bbb ccc ddd eee 678 $$$ aaabbbbccc aaa-bbb-ddd aab aaaaaabbbbbbbbbbbbbc a000000009999999888888 abc000000009999999888888abd f 123fff dddk3ff333fk333'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); foreach ($matches as $match) { echo "$match[0]\n"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 16
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/P1Zh1
function name:  (null)
number of ops:  18
compiled vars:  !0 = $re, !1 = $str, !2 = $matches, !3 = $match
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, '%2F%28%5Ba-z0-9%24%5D%29%5C1%2B%7C%28%3F%3A%28%5Ba-z0-9%24%5D%29%28%3F%21%5C2%29%29%2B%2Fm'
    4     1        ASSIGN                                                       !1, '%24%24%24+12345+aaa++bbb++ccc++ddd++eee++678+%24%24%24+aaabbbbccc+aaa-bbb-ddd+aab+aaaaaabbbbbbbbbbbbbc+a000000009999999888888+abc000000009999999888888abd+f+123fff+dddk3ff333fk333'
    5     2        INIT_FCALL                                                   'preg_match_all'
          3        SEND_VAR                                                     !0
          4        SEND_VAR                                                     !1
          5        SEND_REF                                                     !2
          6        SEND_VAL                                                     2
          7        SEND_VAL                                                     0
          8        DO_ICALL                                                     
    6     9      > FE_RESET_R                                           $7      !2, ->16
         10    > > FE_FETCH_R                                                   $7, !3, ->16
    7    11    >   FETCH_DIM_R                                          ~8      !3, 0
         12        NOP                                                          
         13        FAST_CONCAT                                          ~9      ~8, '%0A'
         14        ECHO                                                         ~9
    6    15      > JMP                                                          ->10
         16    >   FE_FREE                                                      $7
    8    17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
157.32 ms | 2097 KiB | 14 Q