Re: [PHP] question the function begin with @

2002-01-28 Thread Jason Wong

On Tuesday 29 January 2002 15:14, Vincent Ma wrote:
> Hi everyone:
>
>   I saw some code, the function is called with @..
>
>   like "@copy(,)".  anyone can ask me what the purpose of the
> function begin with symbol @

To suppress error reporting. Full details:

Manual -> Operators -> Error Control Operators



-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
Half a mind is a terrible thing to waste!
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] question the function begin with @

2002-01-28 Thread Chris Randall

Ido believe the purpose of the '@' is to supress error messages from the particular 
function it is next to, it may also supress errors from the entire line it is on.
-chris
1/28/02 11:14:40 PM, "Vincent Ma" <[EMAIL PROTECTED]> wrote:

>Hi everyone:
>
>  I saw some code, the function is called with @..
>
>  like "@copy(,)".  anyone can ask me what the purpose of the
>function begin with symbol @
>
>Vincent Ma
>
>
>
>-- 
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]