The calls to the parent class' magic __get, __set and __isset methods weren't getting the prefix.
16 lines
294 B
PHP
16 lines
294 B
PHP
<?php
|
|
|
|
require "tests.php";
|
|
|
|
// No new functions
|
|
check::functions(array());
|
|
// New classes
|
|
check::classes(array('ProjectBar','ProjectFoo'));
|
|
// No new vars
|
|
check::globals(array());
|
|
|
|
$f = new ProjectFoo();
|
|
// This resulted in "Fatal error: Class 'Foo' not found"
|
|
$f->get_self();
|
|
|
|
check::done();
|