Attached patch is taken from PHP CVS and fixes PHP bug #31106, crashing
with overloaded objects.
Port maintainer (ale@FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
Over to maintainer.