4c7a8ee2创建于 2023年12月8日历史提交
<?php

require "tests.php";

check::functions(array('getBar','idFromGetBar'));
check::classes(array('Foo','Bar','Baz','director_alternating'));
// No new vars
check::globals(array());

$id = director_alternating::getBar()->id();
check::equal($id, director_alternating::idFromGetBar(), "idFromGetBar() failed");