what is the meaning of the following construct
| From: | Kamesh Jayachandran | Date: | Fri, 16 Apr 2004 08:41:35 +0000 |
| Subject: | what is the meaning of the following construct | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-27758@lists.php.net to get a copy of this message | ||
in scripts/pearcmd.php
I could see the following piece of code at the begining(at the second
line)
if ('@include_path@' != '@'.'include_path'.'@') {
ini_set('include_path', '@include_path@');
}
I wrote a small php page test.php and invoked the same as pearcmd.php is
invoked from pear shell script.
It never gets in to the if block.
what is the use of putting @ before and after some constant(may or
maynot be set)?
Putting @ at the beginning suppresses error messages. What is the use of
putting at the end.
With regards
Kamesh Jayachandran