Hey folks, I am in the process of creating a bunch of scripts I plan to distribute.  Personally I always stick to the newest stable release of PHP but I know a lot don't/can't, and thus may still be using older versions of PHP.  Point being, I want to let my customers know what versions of PHP the script will run on, but I don't really want to have to trawl through my coding of fairly large scripts, listing every single function I use, and then manually cross-referencing to php.net for answers.. I was just going to install multiple versions of PHP and check the scripts individually on each version but that would be a nightmare too. So I am looking for a scanner (a windows/linux program or a php script, I don't mind) which will trawl through the PHP files in a chosen directory (or just individual files at least..), checking all functions used, and let me know which PHP versions it will be compatible with. Does anyone know of such a scanner? Thanks for any help, Chuckun
Thanks for your reply Eric.. I have searched endlessly and decided someone might know of one here. Â I guess I'll make it if noone can tell me of an existing one, since I need it anyway and I'm sure others would find it useful. ChuckunÂ
Just for anyone looking for the same thing in the future, I actually finally found one. http://phpduck.com/minimum-php-version-script/ - Free to download and use.  To see an example result page see http://phpduck.com/resources/minVersion_vBulletin401.html Clicking "Show Results" lists off all the functions used and their version requirements. It seems to work. ChuckunÂ