Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   How Prevalent is PHP 5.0 At This Point? (http://www.greenguysboard.com/board/showthread.php?t=28056)

MadMax 2006-01-17 09:45 PM

How Prevalent is PHP 5.0 At This Point?
 
Just wondering if anyone's got an educated guess on this. I know it's been around for a while, but I know a lot of servers are still on on 4.X

5.0 has some goodies I'd like to make use of but I can't decide if it's a wise choice to require 5.0 in order for the script to run properly.

TIA

:)

odysseus 2006-01-17 10:32 PM

I'm not the most knowlegable person on this one, but I think if you intend to distribute the script you are running, then I'd shoot for 4.x for portability. I still have 4.3.10 on my server, so a script using the fancy object oriented stuff in php5 wouldn't be much use for me.

Like I said, I'm not too skilled with PHP, so take it with a grain of salt.

Halfdeck 2006-01-18 08:17 AM

Most of my codes require PHP 5 to run - I just can't stand PHP 4 at this point... it seems so damn ... whats the word? Primitive. I couldn't live without autoclass loaders and ability to run foreach on class variables.

Then again, I write scripts for my personal use only. My guess is like Odysseus said, you have to code for the common denominator. It sucks, but I think my Webair's virtual hosting account still runs on PHP 4.x.

nakki 2006-01-18 10:41 AM

Think I recently saw a graph that showed PHP5 as being used on about 5% of PHP sites. Not much.

Then again, a recent PHP4 update broke quite a lot of scripts (at least some that I'm using), so this might prompt people to update...


All times are GMT -4. The time now is 11:15 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc