3v4l.org

run code in 300+ PHP versions simultaneously
<?php if(function_exists('filter_var')) { $check = filter_var('info@lindsey-dominique.be', FILTER_VALIDATE_EMAIL); } else { $check = preg_match('/^(?:[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+\.)*[\w\!\#\$\%\&\'\*\+\-\/\=\?\^\`\{\|\}\~]+@(?:(?:(?:[a-zA-Z0-9_](?:[a-zA-Z0-9_\-](?!\.)){0,61}[a-zA-Z0-9_-]?\.)+[a-zA-Z0-9_](?:[a-zA-Z0-9_\-](?!$)){0,61}[a-zA-Z0-9_]?)|(?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\]))$/', 'info@lindsey-dominique.be'); } var_dump($check);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/sncrp
function name:  (null)
number of ops:  19
compiled vars:  !0 = $check
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'function_exists'
          1        SEND_VAL                                                 'filter_var'
          2        DO_ICALL                                         $1      
          3      > JMPZ                                                     $1, ->10
    3     4    >   INIT_FCALL                                               'filter_var'
          5        SEND_VAL                                                 'info%40lindsey-dominique.be'
          6        SEND_VAL                                                 274
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
          9      > JMP                                                      ->15
    5    10    >   INIT_FCALL                                               'preg_match'
         11        SEND_VAL                                                 '%2F%5E%28%3F%3A%5B%5Cw%5C%21%5C%23%5C%24%5C%25%5C%26%27%5C%2A%5C%2B%5C-%5C%2F%5C%3D%5C%3F%5C%5E%5C%60%5C%7B%5C%7C%5C%7D%5C%7E%5D%2B%5C.%29%2A%5B%5Cw%5C%21%5C%23%5C%24%5C%25%5C%26%27%5C%2A%5C%2B%5C-%5C%2F%5C%3D%5C%3F%5C%5E%5C%60%5C%7B%5C%7C%5C%7D%5C%7E%5D%2B%40%28%3F%3A%28%3F%3A%28%3F%3A%5Ba-zA-Z0-9_%5D%28%3F%3A%5Ba-zA-Z0-9_%5C-%5D%28%3F%21%5C.%29%29%7B0%2C61%7D%5Ba-zA-Z0-9_-%5D%3F%5C.%29%2B%5Ba-zA-Z0-9_%5D%28%3F%3A%5Ba-zA-Z0-9_%5C-%5D%28%3F%21%24%29%29%7B0%2C61%7D%5Ba-zA-Z0-9_%5D%3F%29%7C%28%3F%3A%5C%5B%28%3F%3A%28%3F%3A%5B01%5D%3F%5Cd%7B1%2C2%7D%7C2%5B0-4%5D%5Cd%7C25%5B0-5%5D%29%5C.%29%7B3%7D%28%3F%3A%5B01%5D%3F%5Cd%7B1%2C2%7D%7C2%5B0-4%5D%5Cd%7C25%5B0-5%5D%29%5C%5D%29%29%24%2F'
         12        SEND_VAL                                                 'info%40lindsey-dominique.be'
         13        DO_ICALL                                         $4      
         14        ASSIGN                                                   !0, $4
    7    15    >   INIT_FCALL                                               'var_dump'
         16        SEND_VAR                                                 !0
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.1 ms | 1395 KiB | 21 Q