|
Posted by Michael Fesser on 05/07/07 17:34
..oO(cluthz)
>"Ok well thanks for that. I was going from the text in PHP and MYSQL Web
>Development. Chapter 6 talks about _get and __set and at the end of the talk
>it mentiosn features specicifcally avaialble in PHP 5 (so I assumed the
>previously mentioned was available on version 4).
>
>Anyway, maybe then I should forget about OO for php 4 then.
Yes, more or less. Objects in PHP4 are just arrays with some associated
functions, that's pretty much all about them. In PHP5 they are something
completely different, which comes much closer to what you can call OOP.
Still not perfect, but quite usable.
Try to upgrade if possible.
Micha
Navigation:
[Reply to this message]
|