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

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

## Testing user-defined function falling out of an If into another

plan tests => 1, need_php4;

my $expected = "1\n";

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