I'm upgrading some code to php 7+. This directive is removed in 5.4. So since 5.4, this if will ALWAYS evaluate false right?
if (ini_get("magic_quotes_gpc"))
{
some_code;
}
Is this for sure for php 5.5+ right?
I'm upgrading some code to php 7+. This directive is removed in 5.4. So since 5.4, this if will ALWAYS evaluate false right?
if (ini_get("magic_quotes_gpc"))
{
some_code;
}
Is this for sure for php 5.5+ right?
Yes, Magic Quotes has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0.
For more information see: PHP.net