Re: sapi_header_op
| From: | Andi Gutmans | Date: | Mon, 01 Jul 2002 15:15:24 +0000 |
| Subject: | Re: sapi_header_op | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-85701@lists.php.net to get a copy of this message | ||
At 07:03 AM 7/1/2002 +0200, Sascha Schumann wrote:
I understood the rational of using a struct from the beginning. I still in
general don't like using structs very much because as I mentioned it's not
as easy to use. I prefer having 2-3 methods then having one method which I
Well, feel free to post those 2-3 methods which cover all
possible variations.
What is missing from sapi_add_header_ex() right now?
Using structs as input parameter is not uncommon in APIs, so
I don't see the issue here.
The fact that it's not uncommon doesn't mean it's easy to use. Look at semop(). It's very common but not a very nice function to start using.
Andi