3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all( '/\[([\w]*?)\:([\w\W\s]*?)\]/' , '[email:optin|<u>Optin</u>]' , $matches); echo stristr($matches[1][0], 'email');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/D56sl
function name:  (null)
number of ops:  13
compiled vars:  !0 = $matches
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'preg_match_all'
          1        SEND_VAL                                                 '%2F%5C%5B%28%5B%5Cw%5D%2A%3F%29%5C%3A%28%5B%5Cw%5CW%5Cs%5D%2A%3F%29%5C%5D%2F'
          2        SEND_VAL                                                 '%5Bemail%3Aoptin%7C%3Cu%3EOptin%3C%2Fu%3E%5D'
          3        SEND_REF                                                 !0
          4        DO_ICALL                                                 
    4     5        INIT_FCALL                                               'stristr'
          6        FETCH_DIM_R                                      ~2      !0, 1
          7        FETCH_DIM_R                                      ~3      ~2, 0
          8        SEND_VAL                                                 ~3
          9        SEND_VAL                                                 'email'
         10        DO_ICALL                                         $4      
         11        ECHO                                                     $4
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.75 ms | 1394 KiB | 17 Q