Any server behaviors that have MySQLi in front are compatible. The old MySQL (without the i) are not and require php6 and below.
You can test if you have mysql code on your page by doing a search for: mysql_
Any code that begins with that is outdated and would have to be migrated.