i m scripting my code in some sort of style like
class CORE {
function CORE() {
$this->h_COREG = new COREG // create instence for COREG class
}
function mehtod1() {
... $this->h_COREG->coreg_method() ...
}
}
i heard that PHP5 is more OO programming and i m worried it cant be support in it. will it? since OO style means create a relationship in parent/child class but since from the code above we know that there are no such parent/child relationship exist.
so, is this mean that my programming style got problems?
moreover, PHP5 don support "$this->" anymore?