summaryrefslogtreecommitdiff
path: root/Examples/test-suite/php/template_arg_typename_runme.php4
blob: 7062c674e3d4ee362402bf953a3396de7d9d299c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
// Sample test file

require "tests.php4";
require "template_arg_typename.php";

// No new functions
check::functions(array());
// No new classes
check::classes(array(UnaryFunction_bool_bool,BoolUnaryFunction_bool));
$ufbb=new unaryfunction_bool_bool();
check::is_a($ufbb,"unaryfunction_bool_bool");

unset($whatisthis);
$bufb=new boolunaryfunction_bool(&$whatisthis);
check::is_a($bufb,"boolunaryfunction_bool");

check::done();
?>