This is complicated!
Because there are many plugins that are not compatible with most up-to-date versions of PHP.
And some developers do not care much about updating their plugins with new versions of PHP.
I’m having a problem with a plugin I use which now only works with PHP 7.1 while the others only work with 5 or 7.
I had to make the decision not to use it for now.
I was even thinking about using SquirrlySEO instead of YoastSEO, but after you gave me this news I will not do it.