PHP Version Detection (Windows)

Summary
Detection of installed version of PHP. The script logs in via smb, searches for PHP in the registry and gets the version from registry
Detection
registry version check