3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php (!preg_match("/([\w\-]+\@[\w\-]+\[\w\-]+)/", "maragathamani.b@gmail.com", $matches)); echo $matches[0]; // 1234
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/YOT97
function name:  (null)
number of ops:  10
compiled vars:  !0 = $matches
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   2     0  E >   INIT_FCALL                                               'preg_match'
         1        SEND_VAL                                                 '%2F%28%5B%5Cw%5C-%5D%2B%5C%40%5B%5Cw%5C-%5D%2B%5C%5B%5Cw%5C-%5D%2B%29%2F'
         2        SEND_VAL                                                 'maragathamani.b%40gmail.com'
         3        SEND_REF                                                 !0
         4        DO_ICALL                                         $1      
         5        BOOL_NOT                                         ~2      $1
         6        FREE                                                     ~2
   3     7        FETCH_DIM_R                                      $3      !0, 0
         8        ECHO                                                     $3
         9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0