:: vs ->

    Date: 03/15/06 (PHP Community)    Keywords: php, google

    I should probably know this but it's hard to google for

    what's the difference when using classes in php between saying object::method() and object->method()

    also, while i'm on the subject, what's the significance of beginning a method with "__" as in $object->__get() - i guess this is a naming convention, but i can never get why you would use __get() over just get(); i'm just not sure what that implies

    thanks

    Source: http://community.livejournal.com/php/426221.html

« Processing RTF Files with PHP || cURL »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home