Re: 4.0.2 Release date
| From: | Rasmus Lerdorf | Date: | Tue, 08 Aug 2000 05:49:01 +0000 |
| Subject: | Re: 4.0.2 Release date | ||
| References: | 1 | Groups: | php.dev php.qa |
| Request: | Send a blank email to php-dev+get-28068@lists.php.net to get a copy of this message | ||
> 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