PDA

View Full Version : An Odd Question


SmEdD
02-21-2006, 01:23 PM
I can't seem to find any good awnsers but what does the @ symbol do in PHP

Example:@fsockopenAnd another one if anyone has a link to a guide to use stuff like this is.

Example: $pattern = "(:\s*url\s*\([\s\"'`]*([\w:?=@&\/#._;-]+)";

Marco van Herwaarden
02-21-2006, 01:57 PM
1. It will supress any error messages in that function.
Error Control Operators (http://www.php.net/manual/en/language.operators.errorcontrol.php)

2. Search documentation for RegEx or "Regular Expressions"
(Regular Expression Functions (Perl-Compatible) (http://www.php.net/manual/en/ref.pcre.php) / Pattern Syntax (http://www.php.net/manual/en/reference.pcre.pattern.syntax.php) / Pattern Modifiers (http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php) / POSIX-extended regex functions (http://www.php.net/manual/en/ref.regex.php))