On 25 Jul 2014, at 18:02, Nikita Popov <nikita....@gmail.com> wrote:

> I think the main question here is whether MSVC will have good C99 support
> by the time PHP-Next is released. The other major compilers (GCC, Clang,
> Intel) may not support all of C99 (esp stuff like FP pragmas), but have a
> reasonable degree of support.
> 
> If we can, I'd be very much in favor of using C99. In particular mixed
> code+declarations is a major code quality improvement to me.

Well, we don’t need to allow all of C99. We can simply allow using features 
that are widely supported and actually useful. For example, declarations 
between statements, and C++-style line comments with //.

Though for consistency with the rest of the codebase, perhaps we should stick 
to C-style /* */ comments.

--
Andrea Faulds
http://ajf.me/





--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to