0
<?php 
   $cons = \CONSTANTE_NAME; 
   //or 
   $st = \get_magic_quotes_gpc();
?>

I would like to know the effects of doing this or not.

  • This seems to be a namespace related thing. You can read more about namespaces here: http://php.net/manual/en/language.namespaces.php – TiMESPLiNTER Feb 19 '15 at 13:30

1 Answers1

0

PHP 5 has introduced namespaces. Read about them on PHP website.

The backslash indicates this function or constant name is in your root namespace.

Slavic
  • 1,891
  • 2
  • 16
  • 27