On 07/28/2012 07:09 AM, Johannes Schlüter wrote: > On Fri, 2012-07-27 at 22:07 +0200, Anatoliy Belsky wrote: >> >> after working for some time with the PHP test suite I've realized - it >> needs an improvement of a special kind. What I'm talking about is the >> server based testing. Very urgent cases have shown them up working >> with APC. Most of the current bugs reported only reproduceable with >> tests where multiple requests are involved. > > For that I once created a special SAPI, which can also do > multi-threading: > https://github.com/johannes/pconn-sapi > > http://schlueters.de/blog/archives/166-Testing-persistent-connection-and-thread-safety-features-in-PHP.html
While that is cool, one of the reasons we added the built-in web server was to use it in exactly this sort of scenario. So Anatoliy, go for it. Make whatever changes you see fit to make it easy to do a --SERVER-- type mechanism in a phpt file. Or perhaps there are some volunteers here who have ideas and you can team up and either flash it out in a wiki doc or on irc. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php