It should not affect the pages unless they contain php code that has been deprecated or removed in a newer version. PHP 5 has been around since July of 04, so unless you have pages written before then it is likely that they will work just fine in a newer version.
This is rarely an issue though, all of the WebAssist generated code should work in the latest versions of php without an issue.