Changing arg type for 't' and 'T' specifiers

php.internals

Andrei Zmievski

20 years ago
I am considering changing the required arg storage type for 't' and 'T' specifiers from void* to zstr*, since they can return either char* or UChar* and the zstr union encapsulates both. Thoughts on this? -Andrei

Marcus Börger

20 years ago
Hello Andrei, yep, i think that would be much better :-) only does it work under windows too? best regards marcus Tuesday, July 18, 2006, 7:35:27 PM, you wrote:

Andrei Zmievski

20 years ago
I haven't heard complaints about zstr from Win32 users, so I guess it does. -Andrei On Jul 18, 2006, at 2:24 PM, Marcus Boerger wrote:

Dmitry Stogov

20 years ago
Sure. It works fine with MSVC 6.0SP5. Dmitry.

Dmitry Stogov

20 years ago
I agree. I already use "zstr*" instead of (void**) in ext/soap code. Dmitry.