benhowdle89 benhowdle89 - 22 days ago 5
PHP Question

PHP :: (What does this mean/do?)

Kind of hard to Google "::" as it ignores the symbols!

So in a roustabout way, i'm trying to figure where :: fits into PHP.

Thanks

Answer

The double-colon is a static method call.

Here's the PHP manual page for static methods: http://php.net/manual/en/language.oop5.static.php

And this tutorial page also has useful information.