4 require "director_stl.php";
7 check::functions(array(foo_bar,foo_ping,foo_pong,foo_tping,foo_tpong,foo_pident,foo_vident,foo_vsecond,foo_tpident,foo_tvident,foo_tvsecond,foo_vidents,foo_tvidents));
9 check::classes(array(Foo));
11 check::globals(array());
13 class MyFoo extends Foo {
15 return "MyFoo::ping():" . $s;
18 function pident($arg) {
26 function vidents($v) {
30 function vsecond($v1, $v2) {
40 # TODO: automatic conversion between PHP arrays and std::pair or
41 # std::vector is not yet implemented.
53 $a->tvsecond($v1, $v2);
55 $vs = array("hi", "hello");