Restore checks for globals in php testcases

This commit is contained in:
Olly Betts 2021-04-14 11:15:43 +12:00
commit 8cb0c185ac
38 changed files with 99 additions and 58 deletions

View file

@ -7,10 +7,12 @@ require "director_thread.php";
# FIXME: Does this still fail in a threaded build of PHP7?
exit(0);
// No new functions
// New functions
check::functions(array('millisecondsleep','foo_stop','foo_run','foo_do_foo'));
// No new classes
// New classes
check::classes(array('director_thread','Foo'));
// No new vars
check::globals(array());
class Derived extends Foo {
function do_foo() {