blob: 38be200bb5bd3e83a5cf85c95bbad9cc1ed63f79 [file] [log] [blame]
use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestRequest;
plan tests => 1, have_module 'php4';
## 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';