Re: [PECL-DEV] I want to provide a DI container as PHP ext

[email protected] (Saki Takamachi) Thu, 28 Mar 2024 22:35:27 +0900
Newsgroups php.pecl.dev
Message-ID <[email protected]>
Hi David,

> Quick little remark, do you plan to implement all in pdi.c or do you plan to spread it ? Was just wondering if you need to expose macros such as PDI_FROM_OBJ/ZVAL/…
> Otherwise, agreed with earlier comment, 'pdi' could mean anything :)


At first I was planning to split it into several files, but it looks like it will require less code than I expected. Unless the amount of code increases significantly, I plan to consolidate everything into pdi.c. In that case, some macros should be moved to pdi.c as you mentioned.

Thanks for your feedback!

Regards.

Saki