What does :: symbol mean in php code?

  • Thread starter Thread starter Lekha
  • Start date Start date
L

Lekha

Guest
Hi

I want to know the meaning of the symbol :: in php.Here is the code snippet
$var = file1 :: getinfo();

Thanks
 
it means the parent is calling the child function.

usually use in calling classes...

classname::function()
 
Back
Top