• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

What does = @$variable do?

Marcus

Well-known member
#1
I am curious what "@" is doing in this declaration:
PHP:
$variable = (string)@$this->_params['posts'][@$postId]['setting']
 

rellek

Well-known member
#4
However, it's the easiest way to make old (or crappy) software like Joomla 1.x work without raising errors in PHP 5.3+.

Btw @Marcus, where did you get this line from?