proto

php.internals

Oliver Block

19 years ago
Hello, what is the proto entry above the PHP_FUNCTION(myfunc) for? Regards, Oliver

Stanislav Malyshev

19 years ago
> what is the proto entry above the PHP_FUNCTION(myfunc) for?
Describes the arguments function receives and the return value and gives short description to it. Can be used by automatic tools to collect information about functions implemented in certain PHP code.
-- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com