Hi,
I am currently developing an application in PHP 5.0 with classes and OOP.But at the middle of it I realised that client's server supports only PHP 4.3.Does that mean, I have to redevelop my application or my application can run on PHP 4.3.
Please advice?
saumya
does PHP Version 4.3.10 support OOP?
Moderator: General Moderators
The object orientation functionality of PHP was changed considerably between version 4 and 5. PHP 4 has objects, but it handles lots of things differently. It's very unlikely your PHP 5 code will work. In future, it's probably best to make sure your development environment is set up approximately the same as your production server.
There is object support for PHP 4, but a substantial amount of OOP support was introducted in PHP5.
Good thread related to this:
viewtopic.php?t=53940&highlight=php5+php4
Good thread related to this:
viewtopic.php?t=53940&highlight=php5+php4