by puffoflogic · 3y ago · 0 comments
define('ISEMAIL_STRING_AT' , '@');
define('ISEMAIL_STRING_BACKSLASH' , '\\');
define('ISEMAIL_STRING_DOT' , '.');
define('ISEMAIL_STRING_DQUOTE' , '"');
define('ISEMAIL_STRING_OPENPARENTHESIS' , '(');
define('ISEMAIL_STRING_CLOSEPARENTHESIS', ')');
I find it hard to believe people seriously still do this. This is satire, right? define('ISEMAIL_STRING_DOUBLECOLON' , '::');
define('ISEMAIL_STRING_IPV6TAG' , 'IPv6:');You could do it with namespaces and `const` though to be less verbose.