Reserving primitive types
| From: | Timm Friebe | Date: | Sun, 08 Feb 2015 12:04:06 +0000 |
| Subject: | Reserving primitive types | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-82137@lists.php.net to get a copy of this message | ||
Hello everyone,
I've been following the "Static type hints" discussion for a while now. Aside
from its content, which there are some strong sentiments about, there's also
another recurring pattern - the wish for voting options instead of just
"yes/no".
Along these lines I've created an RFC on one aspect of primitive type hinting
(whether parameters or return type), namely reserving the primitive type names:
https://wiki.php.net/rfc/reserve_primitives
I personally see the benefits this could have but also the BC break this would
introduce. Let me know whether it's worthwhile putting this up for discussion.
I'm happy to add, elaborate or remove options as a result of feedback before
doing so.
Timm