Re: [RFC] Scalar Type Hints

From: Date: Fri, 02 Jan 2015 00:52:37 +0000
Subject: Re: [RFC] Scalar Type Hints
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-80077@lists.php.net to get a copy of this message
Hi! > If they were case-sensitive, this would be inconsistent with other type names like array and > callable. Of course, I mean making all these hints case-sensitive. I have never seen code using uppercase Callable or Array, though I imagine it might happen. Github's search is case-insensitive so I don't really know how to check for it - though since I see absolutely no reason for doing that (no documentation, examples, guides, best practices, etc. ever suggest you should write Callable) I would guesstimate the impact would be small. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#80077) next »