Welcome Guest, Not a member yet? Register   Sign In
Can I write models/libraries/plug-ins/helpers in PHP 5 OOP fashion?
#1

[eluser]SomeFunkyDude[/eluser]
Hello,

I'm just curious, I see all the source code is in PHP 4, but can I use PHP 5's OOP's features?
#2

[eluser]TheFuzzy0ne[/eluser]
Of course, so long as you're running PHP5 on your server. The source code is written to be compatible with PHP 4 for obvious reasons. You are not obliged to code your application the same way.
#3

[eluser]rvent[/eluser]
I dont think you can use all of the PHP5 OOP features like interfaces... I might be wrong..
#4

[eluser]TheFuzzy0ne[/eluser]
I think I might have got the wrong end of the stick. Can you give an example of what you mean?




Theme © iAndrew 2016 - Forum software by © MyBB