Just like phpversion() gets the server's version of PHP, is there a magical kung-fu voodoo way of getting the latest version of PHP?
Printable View
Just like phpversion() gets the server's version of PHP, is there a magical kung-fu voodoo way of getting the latest version of PHP?
yeah its called go to http://php.net and look it up :D
Not kung-foo'ish enough ;)
highly unlikely.
Unless you want to start parsing the contents of the download page to extract the version ;)
Well that sux0rs
Just something else 4.3 needs now ;)
I don't think any language has a function to get the latest version. It'd have to connect with the server and all that hoopla. Just not probable. So take your Kung-Fu somewhere else.
I doubt it will ever happen, as by doing that php.net has to give you access to their server which opens a hole for hackers to use.
I suspect they will never create such a function because it would require hard coded into each php installation so detecting the new version would not be possible.
-Matt
Do you think they'll get around to adding support for cup holders in the installation?
looks like my suggestion is a winner then ;)
Use a satelite to relay...bah, nevermind.