On Fri, 25 Jul 2014, Andrea Faulds wrote: > > 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,
I think that makes code a lot less readable, so I would not be in favour allowing this in our coding guidelines. cheers, Derick
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php