Conversion of PHP versions

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dheeraja
Forum Commoner
Posts: 36
Joined: Tue Nov 09, 2010 11:03 pm

Conversion of PHP versions

Post by dheeraja »

Hi,
Suppose I am using PHP 5.0 and I am uploading my code to the server which is having PHP 4.0, so how could I made to run my coding which is supported by PHP 5.0 to PHP 4.0.

Thank You
Dheeraj
User avatar
saltwine
Forum Newbie
Posts: 16
Joined: Tue Nov 09, 2010 7:05 am
Location: London

Re: Conversion of PHP versions

Post by saltwine »

Hi dheeraja


If you're looking for the magical application that reads your code and converts it to the correct PHP version... I don't think you're in luck (at least I haven't seen one).

You're going to have to get a testing box that is set up with PHP4 and debug your code... nasty!
Post Reply