Re: How to compile new PHP runtime function
| From: | Jouni Ahto | Date: | Thu, 14 Dec 2000 14:00:53 +0000 |
| Subject: | Re: How to compile new PHP runtime function | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41364@lists.php.net to get a copy of this message | ||
On Wed, 13 Dec 2000, Rasmus Lerdorf wrote:
> > Thank you Rasmus. That document seems to raise more questions than it
> > answers (like what are all those ZEND_ macros for?) but it's certainly a
> > start. Also, I came across this:
> >
> > "You shouldn't have to ask what happens if you leave --string-lens out.
> > If you have to, it's questionable whether you should be reading this
> > document."
> >
> > Since I have to ask what happens if I leave --string-lens out, should I quit?
>
> Yes, you probably should. If you would spend about 30 seconds to think
> about it you should be able to figure it out. And if you can't, then sad
> as it may be, you probably should go do something else.
Although, in general, I tend to agree (having myself written those 2
sentences in README.EXT_SKEL), it's maybe a bit unnecessary harsh said...
Now that there *is* good documentation about Zend API and all the macros,
perhaps I should add a link to the relevant section, and change the text
to "If, after reading <link>, you still have to, ...". But anyway, it's
good to have some kind of a very small riddle to be solved before one
should even consider writing an extension. There are a lot of harder ones
waiting.
-- Jouni