summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php/eval2.t
blob: 09a96f6bb77b0dd231e9934905c6691d64a92cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use warnings FATAL => 'all';

use Apache::Test;
use Apache::TestRequest;

## testing eval function inside user function

plan tests => 1, need_php4;

my $expected = "Hello";

my $result = GET_BODY "/php/eval2.php";
ok $result eq $expected;