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

@ -3,11 +3,11 @@
require "tests.php";
require "casts.php";
// No new functions
// New functions
check::functions(array('new_a','a_hello','new_b'));
// No new classes
// New classes
check::classes(array('A','B'));
// now new vars
// No new vars
check::globals(array());
# Make sure $b inherits hello() from class A