Edited version of phpdoc