You are here: Re: [PHP] PHP version check « PHP « IT news, forums, messages
Re: [PHP] PHP version check

Posted by Marcus Bointon on 10/19/57 11:30

On 28 Oct 2005, at 07:46, Richard Davey wrote:

> Friday, October 28, 2005, 7:41:21 AM, you wrote:
>
>> How can I query for PHP version?
>
> phpversion() !

While it's true that that will get you a version string, if you're
going to actually check it, you need:

http://www.php.net/manual/en/function.version-compare.php

to do so reliably. Version strings are messy things.

Marcus
--
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация