![]() | 会員なら、この商品は10%Amazonポイント還元 (ポイントが表示されている場合は、表示ポイント+10%還元)。 |
登録情報
|
Having said that, it could have had a more discussion
of the overal environment of PHP extension programming, including:
- how/when zvals are garbage collected (how can you verify
you're not creating memory leaks?)
- when zvals are created and consumed and who "owns" them
as they are passed around between functions
- threading issues: what are you allowed to do/not do wrt.
threading?
- Many PHP macros are written dangerously, e.g. they hardly
ever use constructs like "do {..} while (0)" or extra parens.
Obviously if you get these issues wrong you're likely to
have some trouble - and hard to debug trouble at that.
In other words, the first chapter is "First PHP extension"
but an overall introductory chapter about the funny little
world that PHP extensions live in before that would have
been nice. But overall a great book and glad to have found it.
|