FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » @sessionstart()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: @sessionstart() [message #169532 is a reply to message #169527] Fri, 17 September 2010 09:31 Go to previous messageGo to previous message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma:
Senior Member
On 9/17/2010 3:56 AM, Twayne wrote:
> In news:nCzko.6637$Yv(dot)1219(at)viwinnwfe01(dot)internal(dot)bigpond(dot)com,
> rf<rf(at)z(dot)invalid> typed:
>> "Twayne"<nobody(at)devnull(dot)spamcop(dot)net> wrote in message
>> news:i6ufka$lk1$1(at)news(dot)eternal-september(dot)org...
>>> In
>>> news:rbeko.6660$FH2(dot)3212(at)viwinnwfe02(dot)internal(dot)bigpond(dot)com, rf
>>> <rf(at)z(dot)invalid> typed:
>>>> "rf"<rf(at)z(dot)invalid> wrote in message
>>>> news:i4eko(dot)6537$Yv(dot)5822(at)viwinnwfe01(dot)internal(dot)bigpond(dot)com...
>>>> >
>>>> > "Twayne"<nobody(at)devnull(dot)spamcop(dot)net> wrote in message
>>>> > news:i6rq4b$agh$1(at)news(dot)eternal-september(dot)org...
>>>>
>>>> >> Can anyone lead me to any informaton on the what, why,
>>>> >> when, of using the "at" sign that way as a prefix?
>>>> >
>>>> > @ simply supresses errors.
>>>>
>>>> To be more clear, @ supresses error *messages*.
>>>
>>> Actually, after playing with it a bit, it seems to do a
>>> bit more than that.
>>
>> Why not read the relevant section of the manual?
>> http://php.net/manual/en/language.operators.errorcontrol.php
>
> I did ... when I came to it. But I still stand by my experiments. I
> wouldn't consider what "@echo" suppresses to be an error message, BTW. @ is
> explained differently with the Echo command.
>
>

Twayne,

When in doubt, feel free to post a few examples of statements you
created in combination with @ that give results you don't understand.
I am sure we can explain why what happens.


Regards,
Erwin Moller

PS: Like most in here I also think you should avoid @ in almost any
situation. Surely for session_start() you don't need it.


--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: When do I use {}?
Next Topic: Php Include bug in firefox
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Oct 20 19:06:01 GMT 2024

Total time taken to generate the page: 0.03733 seconds