jnroche Posted November 7, 2006 Share Posted November 7, 2006 Is there a way to programatically know what version of PHP you are under?I need to check between PHP 4 and PHP 5 versions because of their difference in xml functions...thanks Link to comment Share on other sites More sharing options...
Lulzim Posted November 7, 2006 Share Posted November 7, 2006 phpversion() function returns a string containing current php version <?echo 'Current PHP version is: ' . phpversion();?> Link to comment Share on other sites More sharing options...
jnroche Posted November 10, 2006 Author Share Posted November 10, 2006 phpversion() function returns a string containing current php version<?echo 'Current PHP version is: ' . phpversion();?> vary nice thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now