PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
The double colon gives static access to methods and properties of a class. The "parent" keyword is how you access methods and properties in an inherited class from within a class.
The single colon is used in several places, such as switch/case statements, alternate control structure syntax and in the ternary conditional operator.
Last edited by Christopher on Tue Aug 22, 2006 6:45 pm, edited 1 time in total.