Update php-api-signature.py

Add check for __PHP_Incomplete_Class_Name appearing in documentation.
Extract just the function name, not its type or variables.