Sign in
fuchsia
/
third_party
/
swig
/
decfe5dd8181d962e8b05ea531650d8589dc2b30
/
.
/
trunk
/
Examples
/
test-suite
/
php4
/
extend_template_runme.php4
blob: c12f330a533f13d141d398a7e88ae48b972530f7 [
file
] [
log
] [
blame
]
<?
php
// Sample test file
require
"tests.php4"
;
require
"extend_template.php"
;
check
::
classes
(
array
(
"Foo_0"
));
$foo
=
new
Foo_0
();
check
::
equal
(
2
,
$foo
->
test1
(
2
),
"test1"
);
check
::
equal
(
3
,
$foo
->
test2
(
3
),
"test2"
);
check
::
done
();
?>