summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php/func2.t
blob: 2dedb59dc9bcf071b9a89c0fe01c3187066c5619 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use strict;
use warnings FATAL => 'all';

use Apache::Test;
use Apache::TestRequest;

plan tests => 1, need_php4;

my $expected = <<EXPECT;
hey=0, 0
hey=1, -1
hey=2, -2
EXPECT

my $result = GET_BODY "/php/func2.php";
ok $result eq $expected;