CodeIgniter Forums
what is @ in CI? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: what is @ in CI? (/thread-53403.html)



what is @ in CI? - El Forum - 07-23-2012

[eluser]global_erp_solution[/eluser]
in CI's file, there's a line like this:
Code:
@set_magic_quotes_runtime(0);

what is @ doing here?


what is @ in CI? - El Forum - 07-23-2012

[eluser]LuckyFella73[/eluser]
Its called "error controll operator". Details here:
http://php.net/manual/en/language.operators.errorcontrol.php

Basically it is used to suppress error messages generated by an expression in PHP.