Welcome Guest, Not a member yet? Register   Sign In
@$variablename or @$array_name[0] what does @ means???
#2

[eluser]Colin Williams[/eluser]
I believe it means "ignore errors".

I typically see this when calling functions that a script "hopes" will work (like '$this = @realpath($dir);'). Not sure it's ever a good idea to use, and I imagine all it does is allow someone to be a lazy coder while adhering to internal error level standards. I could be off-base about that.


Messages In This Thread
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-19-2008, 03:52 AM
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-19-2008, 04:08 AM
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-19-2008, 04:21 AM
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-19-2008, 09:01 PM
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-19-2008, 09:47 PM
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-19-2008, 11:15 PM
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-20-2008, 09:14 AM
@$variablename or @$array_name[0] what does @ means??? - by El Forum - 07-20-2008, 09:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB