sizeof foo vs sizeof (foo) (Was Re: [PHP-DEV] PHP audit)
| From: | Wez Furlong | Date: | Thu, 14 Mar 2002 13:19:32 +0000 |
| Subject: | sizeof foo vs sizeof (foo) (Was Re: [PHP-DEV] PHP audit) | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-81207@lists.php.net to get a copy of this message | ||
On 14/03/02, "Zeev Suraski" <zeev@zend.com> wrote:
> The only comment I have (after this short glance) is that I'd rather see
> sizeof(foo) instead of 'sizeof foo' (we don't need yet another style in our
> code base :),
I know of a compiler for the Amiga that doesn't grok 'sizeof struct foo';
the solution is to always use 'sizeof(struct foo)'.
As for the audit project itself; it does sound like a good idea.
--Wez.