Re: Scalar type hinting
| From: | Daniel Macedo | Date: | Mon, 27 Feb 2012 18:48:16 +0000 |
| Subject: | Re: Scalar type hinting | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58169@lists.php.net to get a copy of this message | ||
Anthony,
Remember you're dealing with the internals list. :)
I kind of like the idea of having long proper discussions on a
particular topic. But let's face it, that's an utopic view (at best)!
Even if optional, and even if backwards compatible, there are a number
of things that will be quite hard to change, ranging from "it's very
difficult/impossible to implement properly", to "this isn't the PHP
way"...
Just check out the discussions regarding function naming and/or
parameter order and you'll understand, some things will remain; but
remember the golden rule:
<?php echo 'PHP ' . (PHP_MAJOR_VERSION + 1) . ' will fix it!'; ?>
Cheers,
~ Daniel