renamed doc to phpdoc, and boolean values to lowercase