3v4l.org

run code in 500+ PHP versions simultaneously
<?php $email='something@gmail.com'; var_dump(preg_match('/([\w\s\'\"\+]+[\s]+)?(<)?(([\w-\.\+]+)@((?:[\w\-]+\.)+)([a-zA-Z]{2,4}))?(>)?/', $email, $aMatch)); var_dump($aMatch);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Ls3sI
function name:  (null)
number of ops:  13
compiled vars:  !0 = $email, !1 = $aMatch
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 'something%40gmail.com'
    3     1        INIT_FCALL                                                   'var_dump'
          2        INIT_FCALL                                                   'preg_match'
          3        SEND_VAL                                                     '%2F%28%5B%5Cw%5Cs%27%5C%22%5C%2B%5D%2B%5B%5Cs%5D%2B%29%3F%28%3C%29%3F%28%28%5B%5Cw-%5C.%5C%2B%5D%2B%29%40%28%28%3F%3A%5B%5Cw%5C-%5D%2B%5C.%29%2B%29%28%5Ba-zA-Z%5D%7B2%2C4%7D%29%29%3F%28%3E%29%3F%2F'
          4        SEND_VAR                                                     !0
          5        SEND_REF                                                     !1
          6        DO_ICALL                                             $3      
          7        SEND_VAR                                                     $3
          8        DO_ICALL                                                     
    4     9        INIT_FCALL                                                   'var_dump'
         10        SEND_VAR                                                     !1
         11        DO_ICALL                                                     
         12      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
167.05 ms | 2304 KiB | 15 Q