public function run() { $callback = array($this, 'test'); // it'll work by only doing that too: // $this; $a = (require 'req01.php'); /* $b = require 'req02.php'; $c = require 'req03.php'; $d = require 'req04.php'; */ //var_dump(array_keys($GLOBALS)); $application = new Application(); $application->join(); }