Re: 4.0.2 Release date

From: Date: Tue, 08 Aug 2000 05:16:42 +0000
Subject: Re: 4.0.2 Release date
References: 1  Groups: php.dev php.qa 
Request: Send a blank email to php-dev+get-28065@lists.php.net to get a copy of this message
Hello Stig, On 07-Aug-00 08:08:24, you wrote: >> I know how regression tests work, but if you run from shell, it will be >> hard to run them on non-unix platforms. OTOH hand, if you run from a >> single PHP script it terminates when a bug leads PHP to crash. You have to >> rely on a PHP only solution to a master PHP script call individual test >> scripts using only the standalone CGI executable. Besides that there may >> exist bugs that only show when PHP is run as a server module, so the >> scripts may have to runnable that way. >All points valid. Getting rid of unix command dependencies is easy >(it's using "find" now). The PHP script that invokes tests runs a new >PHP program to deal with each test, so it should catch most crashes. It would be great if PHP could fork() it self. It could be useful also for writing multi-process backend servers using also the PHP standalone CGI executable. This has nothing to do with testing, but I think it is awkward to resort to C or Java to write a basic multi-process backend server when it could be developed in PHP with the advantage of using the whole spectrum of abilities of PHP to interface with so many types of resources: databases, network services, etc.. >Making the same set of tests for real server APIs is definitely more of >a challenge. Yes, either you try to emulate the CGI environment setting the necessary enviroment variables or you still have to run PHP as Web server module. The first option may be enough and easier to integrate with what you have now. Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org -- E-mail: mlemos@acm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --

« previous php.dev (#28065) next »