Re: [PHP-DEV] 4.0.2 Release date From: Shane Caraveo (shane <email protected>)
Date: 08/12/00

Hmm, I think in the old 3.1 tree, I had an ISAPI wrapper that let me run
the isapi module from command line (or as CGI). This could be modified
slightly into a test program to run multiple threads. You could feed it
multiple test scripts and just let it run.

Shane

Rasmus Lerdorf wrote:
>
> > 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.
>
> That's exactly what the PHP 2 and 3 regression testing system did. See
> test/testphp.awk in the php3 tree. It actually worked pretty well and the
> test file format was simple:
>
> --TEST--
> Assign a[0], a[1], a[2] elements and print result ...
> --POST--
> --GET--
> --FILE--
> <?php
> $a[0]="a";
> $a[1]="b";
> $a[2]="c";
>
> echo "a[0]: $a[0]\n";
> echo "a[1]: $a[1]\n";
> echo "a[2]: $a[2]\n";
> ?>
> --EXPECT--
>
> a[0]: a
> a[1]: b
> a[2]: c
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
> For additional commands, e-mail: php-dev-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>