[php-src] Issue #9826: Make class_alias() work with internal classes

From: Date: Tue, 25 Oct 2022 09:34:51 +0000
Subject: [php-src] Issue #9826: Make class_alias() work with internal classes
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242680@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9826 Author: nicolas-grekas ### Description I was reminded today that class_alias() doesn't work with internal classes. I have a use case where a class can be defined either by userland or by an optional extension, and I'd ideally need to alias it. Right now, I have to create a proxy class instead of an alias, and proxy classes are tedious to write+maintain. Could this limitation be removed?

« previous php.bugs (#242680) next »