1
0
Fork 0
apache2/debian/perl-framework/t/php/add.t
Daniel Baumann f56986e2d9
Adding debian version 2.4.63-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 11:01:27 +02:00

15 lines
278 B
Perl

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';