So I see __construct being used in the PHP sources. I've recently picked up on using OOP in PHP, and I've been doing
class Whatever {
function Whatever() { /* shit to do on call */ }
}
What is the difference? Is one processed faster? Or what?
Results 1 to 4 of 4
Thread: PHP classes, __construct
Threaded View
- 17 Nov. 2009 05:56am #1
PHP classes, __construct