force class definition checks to use absolute scope
Merge pull request #833 from GeoffWilliams/classroom_php_fix

force class definition checks to use absolute scope