the current eclass seems to do nothing: php-2.eclass: EXPORT_FUNCTIONS pkg_postinst pkg_preinst src_compile src_install src_unpack php_src_unpack() { php_src_compile() { php_src_install() { php_pkg_preinst() { php_pkg_postinst() { either rename the php funcs to php-2_src_... or remove the EXPORT_FUNCTIONS ...
php-2.eclass is not used anymore, it only exists because we can't delete it without emerge blowing up.
if you dont need it, no-op the whole thing like we do with gcc.eclass
done, thanks for pointing out that gcc.eclass - a long time I asked ferringb about something similar, and it was rejected.