a very easy to setup testbench for php as module for apache2.2 win32: install a kit like xampplite and just replace php\ext\php_mysqli.dll with this version: http://dev.mysql.com/get/Downloads/Connector-PHP-mysqlnd/php_5.2.1-mysqlnd-5... (works with php 5.2.4 as well)
have fun!