CONTRIB-4160 Verify that there aren't unexpected* results.

*unexpected = not defined by (error|warning) declared expectations.
CONTRIB-4150 Allow phpdocs before define()