Re: Re: [RFC][Vote] Covariant Returns and Contravariant Parameters

From: Date: Sat, 15 Jun 2019 07:01:46 +0000
Subject: Re: Re: [RFC][Vote] Covariant Returns and Contravariant Parameters
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-105933@lists.php.net to get a copy of this message
Am 13.06.2019 um 18:48 schrieb Nikita Popov:
An update on this: The last part of covariance support has landed [1] a few days ago and is part of 7.4 alpha 1. As already described, full variance is only supported in conjunction with autoloading. When working in a single file or with explicit includes, the requirement that classes need to be declared before being referenced (including reference in variant type declarations) remains.
Does "only supported in conjunction with autoloading" mean that covariance is not (completely) supported when preloading is used?

« previous php.internals (#105933) next »