Issue #3350436: Deprecation messages with PHP 8: Creation of dynamic property. Patch #4 by jacob.embree