Re: Fwd: Re: [PHP-DEV] ext_skel
| From: | David Gillies | Date: | Mon, 23 Dec 2002 20:43:05 +0000 |
| Subject: | Re: Fwd: Re: [PHP-DEV] ext_skel | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-92794@lists.php.net to get a copy of this message | ||
OK, how about a much-expanded version for 4.3.1, say?
I'm a big fan of self-documenting code (use the
source, Luke). Perhaps a default function with all the
bells and whistles (checking for references, grabbing
a resource, etc, all documented up the wazoo).
Best Wishes
David Gillies
San Jose
Costa Rica
--- Andi Gutmans <andi@zend.com> wrote:
>
> >To: David Gillies <daggillies@yahoo.com>
> >From: Andi Gutmans <andi@zend.com>
> >Subject: Re: [PHP-DEV] ext_skel
> >
> >Yeah but then it might make sense to print
> something like "Argument passed
> >= ....", no?
> >
> >Andi
> >
> >At 08:56 AM 12/23/2002 -0800, David Gillies wrote:
> >>Well, if nothing else, for the novice extension
> >>developer it gives an example of how to retrieve
> an
> >>argument, without having to go to the Zend API
> docs.
> >>
> >>Best Wishes
> >>
> >>David Gillies
> >>San Jose
> >>Costa RIca
> >>
> >>--- Andi Gutmans <andi@zend.com> wrote:
> >> > Hey,
> >> >
> >> > What's the reason that
> >> > confirm_myextension_compiled(..) takes a string
> as
> >> > an argument? Why doesn't it just use the string
> >> > "myextension" in it's message?
> >> > For those who don't remember it prints out
> >> > "Congratulations! You have
> >> > successfully modified
> ext/myextension/config.m4.
> >> > Module myextension is now
> >> > compiled into PHP.".
> >> > The second appearance of myextension is the
> >> > parameter passed to the function.
> >> >
> >> > Andi
> >> >
> >> >
> >> > --
> >> > PHP Development Mailing List
> <http://www.php.net/>
> >> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> >> >
> >>
> >>
> >>__________________________________________________
> >>Do you Yahoo!?
> >>Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> >>http://mailplus.yahoo.com
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com