Re: [PHP-DEV] DLL export request

2003-07-31 Thread Mark Spruiell
>>- I cannot pass null as the value of a parameter for which a type hint >> has been specified. Is there any way around this restriction, aside >> from removing the type hint? > > Not right now. Stay tuned though. Related to this... The zend_parse_parameters function invokes zend_check_class

Re: [PHP-DEV] DLL export request

2003-07-31 Thread Mark Spruiell
> Ok, the situation is somewhat clearer now. But I think you're going in > the wrong direction. The underlying data structures may (and most likely > will) change even between betas of ZE2, and these APIs may be altered > too... Other than the (obvious) lack of warm fuzzy feeling, wouldn't > inv

Re: [PHP-DEV] DLL export request

2003-07-31 Thread Zeev Suraski
Ok, the situation is somewhat clearer now. But I think you're going in the wrong direction. The underlying data structures may (and most likely will) change even between betas of ZE2, and these APIs may be altered too... Other than the (obvious) lack of warm fuzzy feeling, wouldn't invoking

Re: [PHP-DEV] DLL export request

2003-07-31 Thread Mark Spruiell
>>Can I assume from the lack of an enthusiastic response that my >>use case doesn't really justify the changes I requested? :) > > Not necessarily - I didn't quite understand why register_internal_class > doesn't work for you, and didn't have enough time to dive into it. If you > can elaborate a b

Re: [PHP-DEV] DLL export request

2003-07-31 Thread Zeev Suraski
At 06:23 31/07/2003, Mark Spruiell wrote: Hi, Can I assume from the lack of an enthusiastic response that my use case doesn't really justify the changes I requested? :) Not necessarily - I didn't quite understand why register_internal_class doesn't work for you, and didn't have enough time to div

Re: [PHP-DEV] DLL export request

2003-07-30 Thread Mark Spruiell
Hi, Can I assume from the lack of an enthusiastic response that my use case doesn't really justify the changes I requested? :) A couple other questions related strictly to user code, not extensions: - I cannot pass null as the value of a parameter for which a type hint has been specified. Is t

Re: [PHP-DEV] DLL export request

2003-07-28 Thread Mark Spruiell
> At 21:30 28/07/2003, Mark Spruiell wrote: >>Hi, >> >>I'm prototyping a PHP5 extension creates user classes dynamically. >>This (mostly) works, although it's apparent that PHP isn't really >>expecting this type of activity. >> >>I did encounter problems when trying to build this extension on Windo

Re: [PHP-DEV] DLL export request

2003-07-28 Thread Zeev Suraski
At 21:30 28/07/2003, Mark Spruiell wrote: Hi, I'm prototyping a PHP5 extension creates user classes dynamically. This (mostly) works, although it's apparent that PHP isn't really expecting this type of activity. I did encounter problems when trying to build this extension on Windows, however, beca

[PHP-DEV] DLL export request

2003-07-28 Thread Mark Spruiell
Hi, I'm prototyping a PHP5 extension creates user classes dynamically. This (mostly) works, although it's apparent that PHP isn't really expecting this type of activity. I did encounter problems when trying to build this extension on Windows, however, because the following functions are not expor