Forum Moderators: coopster

Message Too Old, No Replies

Safe to develop in v5.2 (my host only supports 5.1.2)

         

neophyte

12:06 am on Dec 6, 2006 (gmt 0)

10+ Year Member



Hello All -

I'm finally making the jump from PHP 4.4.2 to v5.2 which I just downloaded but my hosting company still only supports v5.1.2. They'll eventually upgrade to 5.2 but no rollout date is set yet and I can't find a v5.1.2 version on php.net.

Is it unwise to start developing in 5.2 if my host only supports 5.1.2?

Neophyte

eelixduppy

12:11 am on Dec 6, 2006 (gmt 0)



I think it will be just fine, but if you want, you can check the Change Log [php.net] to see if there are any changes that will affect you.

You say your host will be upgrading soon anyway? Then what's there to worry about ;)

Also, check the Releases Page [us3.php.net] for 5.1.2.

coopster

7:45 pm on Dec 6, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Just be sure you aren't using new functions in your 5.2 development code that you intend to run on 5.1!

Examples:

array_fill_keys [php.net]
error_get_last [php.net]
preg_last_error [php.net]

More here ...


For users upgrading from PHP 5.0 and PHP 5.1 there is an upgrading guide available here [php.net], detailing the changes between those releases and PHP 5.2.0.

neophyte

2:31 am on Dec 7, 2006 (gmt 0)

10+ Year Member



Thanks Coopster.