Re: @include ...

From: Date: Tue, 24 Sep 2002 21:22:32 +0000
Subject: Re: @include ...
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-15984@lists.php.net to get a copy of this message
At 23:01 2002-09-24 +0200, Wolfgang Schneider wrote:
Hello, I have a question about a syntax I had not noticed until now and I could not find an explanation for the inclusion of the character "@" in from of function statment ... What's the difference between these: (1) @include("../lang/english/trad4all.inc.php"); (2) include("../lang/english/trad4all.inc.php"); What does the "@" indicate in fron of the "include" ? Anyone have any clue? God bless you with His grace and peace Wolfgang
the at (@)-sign in front of a function surpresses error messages from it afaik. so if you tried to include a missing include file, an @-sign in front of your include would simply run silent even if it was unable to include the specified file.

« previous php.windows (#15984) next »