The PHP version of your WordPress siteimpacts the speed because there is a direct correlation betwene the PHP version of your site and the website's performance. Each new version of PHP optimizes your website's memory and server resources for faster page loads. New versions of PHP all have layers built in to protect your website from viruses and other potential threats and remove any old inefficent code. That's why it is always recommended to upgrade to the latest versions of PHP.