3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string="Style Name: Something with colorfull"; preg_match('/(?<=Style Name: )\S+/i', $string, $match); echo $match[0]; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/OICqF
function name:  (null)
number of ops:  9
compiled vars:  !0 = $string, !1 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'Style+Name%3A+Something+with+colorfull'
    3     1        INIT_FCALL                                               'preg_match'
          2        SEND_VAL                                                 '%2F%28%3F%3C%3DStyle+Name%3A+%29%5CS%2B%2Fi'
          3        SEND_VAR                                                 !0
          4        SEND_REF                                                 !1
          5        DO_ICALL                                                 
    4     6        FETCH_DIM_R                                      ~4      !1, 0
          7        ECHO                                                     ~4
    5     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.41 ms | 1008 KiB | 14 Q