Re: [phpng] naming
| From: | Andrea Faulds | Date: | Wed, 07 May 2014 17:59:55 +0000 |
| Subject: | Re: [phpng] naming | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74025@lists.php.net to get a copy of this message | ||
On 7 May 2014, at 18:57, Marc Bennewitz <php@marc-bennewitz.de> wrote:
> I would also prefer to name it was it represents. I mean a ZVAL represents a PHP typed value
> and not a C typed one. So for example IS_LONG would be IS_INTEGER and IS_DOUBLE would become
> IS_FLOAT.
However, integers in PHP are usually abbreviated to just “int”s, so I think that one should be
IS_INT. :)
--
Andrea Faulds
http://ajf.me/