I was wondering what "::" is used for, I saw it in Jewish Bears signature. It was like $var = hi :: function().
Thanks![]()
I was wondering what "::" is used for, I saw it in Jewish Bears signature. It was like $var = hi :: function().
Thanks![]()
Lets set the stage on fire, and hollywood will be jealous.
It's the scope resolution operator, it's similar to -> only you don't need to do $blah = new blah(); you just do include('file.php'); then className::functionName();
It allows access to static, constant and over-ridden members / methods of a class.
http://php.mirrors.ilisys.com.au/man...ekudotayim.php
read more here.
visit my internet web site on the internet
http://dong.engineer/
it is just videos by bill wurtz videos you have been warned
Want to hide these adverts? Register an account for free!