Building a PHP test environment on Windows is a three step process:
We recommend you run tests you've written against the three main branches of PHP: 5.2, 5.3 and Trunk. Unfortunately, Trunk is not currently being compiled and packaged, so we'll have to stick to 5.2 and 5.3 for now.
The PHP binaries you'll be using in this test environment require the “Microsoft Visual C++ 2008 Redistribution Package (x86)” in order to run. Please download and install this package. Please note, we recommend the (x86) package even if you are running on a 64-bit version of Windows.
You now have a PHP 5.2 testing environment ready for running PHPTs against PHP 5.2. Inside the “php52” folder, you'll see the php.exe binary which is suitable for running PHPTs.
You now have a PHP 5.3 testing environment ready for running PHPTs against PHP 5.3. Inside the “php53” folder, you'll see the php.exe binary which is suitable for running PHPTs.
Watch a Screencast demonstration of this entire process. Screencast demonstration.