Exceptions: Newer VPS/Plesk installations have PHP 5.3 as the default, and do not support PHP 5.2. Windows Shared & Chilisoft ASP servers only support PHP 5.2.
Before switching, be aware of backwards compatibility issues with scripts: Older PHP coding may not be compatible with newer versions of PHP.