The official PHP binaries for Windows are built using a very old version of Microsoft Visiual Studio C++. We are still using version 6.0 that was released back in 1998. That's pretty ancient for a piece of computer software.
The reason for this was very simple. That was the only version I had license too, and bying Microsft tools can be very expensive affair. But now it seems the time for the good old version of VC++ has run out.
Andi Gutmans said that the effort Zend is making in cooperation with Microsoft to improve PHP on Windows depends partly on the optimizations that are only available in the newest version of Microsoft's C++ compiler. Thanks to
Wez' contats at Microsoft, I will be getting development tools so I'm expecting to get a copy of VC++ 2005 in the next few weeks.
I will be upgrading our build to the free
Microsoft Visual C++ 2005 Express Edition in the meanwhile which should contain the same compiler as its commercial big brother.
This systems upgrade will have some effects on our build/release infrastructure as it contains new Microsoft C runtime library (msvcrt71.dll). This means that we have to shop the runtime with PHP distribution from now on. It can also cause some incompatibilities with the libraries we use at the moment so the transition could be less than smooth.
It could also mean that we will not longer be able to provide pecl4win builds for versions of PHP eariler than 5.2, but I'm not entirely certain about this.
I will probably try to rebuild 5.2.1RC1 with the new compiler and see how it goes. Of course extra testing at this moment would be extra appreciated!