It's possible to run several php versions on the same server. Either
with .php5 or configuring via a .htaccess, so there's no need "to
upgrade PHP on the entire server"
I wonder about the code quality, if a version upgrade breaks "a few
hundred websites"...