1
0
Fork 0
apache2/debian/perl-framework/t/php/divide.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
286 B
Perl

use strict;
use warnings FATAL => 'all';
use Apache::Test;
use Apache::TestRequest;
plan tests => 1, need_php;
## divide.php source:
## <?php $a=27; $b=3; $c=3; $d=$a/$b/$c; echo $d?>
##
## result should be '3' (27/3/3=3)
my $result = GET_BODY "/php/divide.php";
ok $result eq '3';