multiple php version support, add bcond for phpdoc