Last mile for test failures

Add stubs.php to include stub classes for built-in PHP classes used throughout the code. This will allow the testing suite to verify that a method exists, albeit not in our codebase