NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP version checking script

Jon Baer jonbaer at jonbaer.net
Mon Jul 5 14:11:35 EDT 2004


came across this little snippet that was on freshmeat ...

http://www.eder.us/projects/php_version/

basically you run it across a php file and it gives you the minimum php 
version requirement and modules needed to run it ...

example:
$php php_version.php *.php
php_version.php ... 4.2.0 (array, dir, errorfunc, filesystem, funchand, 
info, math, regex, strings, tokenizer, var)
test.php .......... 3.0.0 (mysql)

- jon

-- 
pgp key: http://www.jonbaer.net/jonbaer.asc
fingerprint: F438 A47E C45E 8B27 F68C 1F9B 41DB DB8B 9A0C AF47
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20040705/4b6c01e3/attachment.sig>


More information about the talk mailing list