Hi, kind of new in PHP since I'm reading a 'novice to pro' one :)
I was wondering how php experienced users deal with these two (at least for me) hot topics? What's your way of implementing it? Is there any 'convention' about this and not a merely a personal 'hack'?
I understand that due the nature of php being a loosely typed language neither method nor operator overloading will ever be implemented (even in version 6 from what i've read) since as in other languages mehod overloading works with number and type of parameter as well as its order, and as for operator overloading if we talk about 'real' oop and pretend to be 'picky'...the + operator may be considered no a oop feature, it perhaps should be a method add() or something... but that's another history or pehaps the same?