Re: Countable Type Hint

From: Date: Sat, 19 Nov 2016 18:36:04 +0000
Subject: Re: Countable Type Hint
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-97070@lists.php.net to get a copy of this message
Hi! > Does anybody have any thoughts on this? > Should I bring *countable* to RFC? > Should I bring *arraylike* to RFC? Nothing prevents one from having such interfaces or classes or traits if they need it. I don't see any need of adding more special cases into the language. Special cases are always bad design and we shouldn't make it worse. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#97070) next »