abstractions/php: support PHP 8

Christian Boltz requested to merge cboltz/apparmor:cboltz-php8 into master

References: https://bugzilla.opensuse.org/show_bug.cgi?id=1186267

I propose this patch for all branches.

Merge request reports