Sign in
fuchsia
/
third_party
/
swig
/
decfe5dd8181d962e8b05ea531650d8589dc2b30
/
.
/
trunk
/
Examples
/
test-suite
/
php4
/
conversion_runme.php4
blob: 7941a7bbe932c43219388ba10c75fec12fd1c5d5 [
file
] [
log
] [
blame
]
<?
php
// Sample test file
require
"tests.php4"
;
require
"conversion.php"
;
check
::
classes
(
array
(
"Foo"
,
"Bar"
));
$bar
=
new
Bar
;
check
::
classname
(
"bar"
,
$bar
);
$foo
=
$bar
->
toFoo
();
check
::
classname
(
"foo"
,
$foo
);
check
::
done
();
?>