3v4l.org

run code in 300+ PHP versions simultaneously
<?php preg_match_all( '/\[([\w]*?)\:([\w\W\s]*?)\]/' , '[email:optin|<u>Optin</u>]' , $matches); echo $class = "Frontburner_Tag_" . ucfirst( trim( strtolower( $matches[1][0] ) ) );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/FUaiG
function name:  (null)
number of ops:  20
compiled vars:  !0 = $matches, !1 = $class
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                                               'ucfirst'
          6        INIT_FCALL                                               'trim'
          7        INIT_FCALL                                               'strtolower'
          8        FETCH_DIM_R                                      ~3      !0, 1
          9        FETCH_DIM_R                                      ~4      ~3, 0
         10        SEND_VAL                                                 ~4
         11        DO_ICALL                                         $5      
         12        SEND_VAR                                                 $5
         13        DO_ICALL                                         $6      
         14        SEND_VAR                                                 $6
         15        DO_ICALL                                         $7      
         16        CONCAT                                           ~8      'Frontburner_Tag_', $7
         17        ASSIGN                                           ~9      !1, ~8
         18        ECHO                                                     ~9
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.75 ms | 1395 KiB | 21 Q