On 17.11.2016 at 15:06, Josh Di Fabio wrote: > Apologies, I thought you were simply proposing the following: > > interface Countable > { > function count(): int; > }
We already have this as of PHP 5.1.0, see <http://php.net/manual/en/class.countable.php>. :-) -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php