blob: 646159f7bf813ffd8b72a2622f898d8922adf6d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestRequest;
plan tests => 1, need_php;
## add.php source:
## <?php $a=1; $b=2; $c=3; $d=$a+$b+$c; echo $d?>
##
## result should be '6' (1+2+3=6)
my $result = GET_BODY "/php/add.php";
ok $result eq '6';
|