Re: ReflectionType::__toString() prepending \ to class names

From: Date: Sun, 21 Aug 2016 19:48:58 +0000
Subject: Re: ReflectionType::__toString() prepending \ to class names
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-95353@lists.php.net to get a copy of this message
> > The issue here is around changes that affect old features (__toString), > where the behavior changes depending on whether a parameter is defaulted or > not (also a previously existing feature) > Which has existed for only one release. This is a small BC break and is intended. We previously had nullable types just no way to really encode it as a type. We now do. Breaking code for one single minor version is perfectly acceptable, especially given that there are other codebases that will break if we do not include the question mark.

« previous php.internals (#95353) next »