"badz" <ba****@gmail.com> wrote in news:1110097485.547798.187980
@g14g2000cwa.googlegroups.com:
Hi friends
I'm still exploring in PHP programming with little knowledge on C ..
the mother of programming language..
Just wonder .. some times we will see some pepole use :: singn in
their code
and what it mean ?
for e.g Get::message ; <-- what the :: means.. is it some conditional
statement
because i saw a lot in Pear stlyle of coding..
:: is the scope resolution operator, part of PHP's object oriented
implementation. It allows you to access properties and methods of a
class, even if you haven't instantiated a member of the class. Have a
look at:
<http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php>
hth
--
Bulworth : PHP/MySQL/Unix | Email : str_rot13('f@fung.arg');
--------------------------|---------------------------------
<http://www.phplabs.com/> | PHP scripts, webmaster resources