Re: How to publish docs for a PECL package

From: Date: Fri, 05 Dec 2008 08:40:32 +0000
Subject: Re: How to publish docs for a PECL package
References: 1 2 3 4 5 6 7 8 9  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-5966@lists.php.net to get a copy of this message
On Fri, Dec 5, 2008 at 03:09, Elizabeth M Smith <auroraeosrose@gmail.com> wrote: > Christian Hammers wrote: >> Am Thu, 04 Dec 2008 21:32:42 -0200 >> But there is still no way to get type hinting, or? > > If you mean scalar type hinting... no > > You can do "type hinting" the way PHP supports it - you can use > ZEND_ARG_ARRAY_INFO for arrays and ZEND_ARG_OBJ_INFO for a specific > object type > > If you're using zend_parse_parameters (or it's cousin > zend_parse_method_parameters) dealing with parameters should be fairly > easy and have standard error messages Right, but for the docgen script there is no way of getting scalar type hinting. -Hannes

« previous php.pecl.dev (#5966) next »