开发者

How to get compatible with php4 in a framework developed with php5

开发者 https://www.devze.com 2022-12-14 05:40 出处:网络
How to get compatible with php4 in a framework developed with php5开发者_如何转开发? ThanksIf it\'s not too late you could use a framework like CakePHP or CodeIgniter that support both.Otherwise, it

How to get compatible with php4 in a framework developed with php5开发者_如何转开发?

Thanks


If it's not too late you could use a framework like CakePHP or CodeIgniter that support both. Otherwise, it sounds like a losing battle that is not worth the effort.

If you are developing something from scratch, I agree with the other answers PHP5 is the only way to go.


That sounds like an unnecessary waste of time.

I'd suggest using PHP5 instead.

As you are asking about a framework i assume that it is object oriented, and as such is not what i consider a candidate for backporting to PHP4.

To make me even consider the process of doing so you would have to convince me that there is in fact a solid reason for doing so. I cannot see there is one at this point.

Backporting for the sake of running a single instance of the framework is nothing but stupid. If this is due to some webhosting company that does not yet offer PHP5, just switch to another better hosting provider.

0

精彩评论

暂无评论...
验证码 换一张
取 消