summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php/ops.t
blob: dad75420e68c8edfbd3874cedd3af26f464817b3 (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;

## ops.php source:
## <?php $a=8; $b=4; $c=8; echo $a|$b&$c?>
##
## result should be '8'

my $result = GET_BODY "/php/ops.php";
ok $result eq '8';