Date: 08/08/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5879 Updated: switch() malfunction under very specific conditions"
- Previous message: Manuel Lemos: "Re: [PHP-DEV] Regression Tests"
- In reply to: Manuel Lemos: "Re: [PHP-DEV] 4.0.2 Release date"
- Next in thread: Manuel Lemos: "[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] 4.0.2 Release date"
- Reply: Manuel Lemos: "[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] 4.0.2 Release date"
- Reply: Shane Caraveo: "Re: [PHP-DEV] 4.0.2 Release date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #5879 Updated: switch() malfunction under very specific conditions"
- Previous message: Manuel Lemos: "Re: [PHP-DEV] Regression Tests"
- In reply to: Manuel Lemos: "Re: [PHP-DEV] 4.0.2 Release date"
- Next in thread: Manuel Lemos: "[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] 4.0.2 Release date"
- Reply: Manuel Lemos: "[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] 4.0.2 Release date"
- Reply: Shane Caraveo: "Re: [PHP-DEV] 4.0.2 Release date"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

