[php-src] Issue #8323: Declaring __toString() stops class hoisting in CLI apps

From: Date: Fri, 08 Apr 2022 04:37:50 +0000
Subject: [php-src] Issue #8323: Declaring __toString() stops class hoisting in CLI apps
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240787@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8323 Comment Author: damianwadley That's correct: as of PHP 8.0 the __toString method implies the Stringable interface and therefore, as with any class that extends or implements another, it's no longer "hoisted".

« previous php.bugs (#240787) next »