Re: Introducing "Array Of" RFC
| From: | Stas Malyshev | Date: | Thu, 16 Jan 2014 23:07:52 +0000 |
| Subject: | Re: Introducing "Array Of" RFC | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71200@lists.php.net to get a copy of this message | ||
Hi!
> If PHP were to follow HHVM's syntax, we'd get the type-checker as a
> freebie. (If and when we took on return and scalar type hints as
> well)
I'm pretty sure if such tool were open source, it would not be hard to
patch it to follow any syntax, provided underlying sematics is the same.
It probably parses the code into some kind of internal representation
anyway, so by slightly changing that parser you will be able to
accommodate any syntax.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227