On 31 December 2010 14:15, mark skilbeck wrote:
> I did it like
> so: https://bitbucket.org/winapiforphp/system/src/93583820bbc1/winsystem_registry.c#cl-298
> It's a little messy.
I got that. 4 times no less.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O
I did it like so:
bitbucket.org/winapiforphp/system/src/93583820bbc1/winsystem_registry.c#cl-298
It's a little messy.
On Fri, Dec 31, 2010 at 1:48 PM, Richard Quadling wrote:
>
> Hi.
>
> What macros exist regarding processing arrays in PHP (core not userland)?
>
> I want to pass ...
>
> array('v
On 31 December 2010 14:08, Kalle Sommer Nielsen wrote:
> Hi Richard
>
> 2010/12/31 Richard Quadling :
>> Hi.
>>
>> What macros exist regarding processing arrays in PHP (core not userland)?
>
> Zend hash, see Zend/zend_hash.c for its API.
>
>> I want to pass ...
>>
>> array('value1', 'value2', 'val
Hi Richard
2010/12/31 Richard Quadling :
> Hi.
>
> What macros exist regarding processing arrays in PHP (core not userland)?
Zend hash, see Zend/zend_hash.c for its API.
> I want to pass ...
>
> array('value1', 'value2', 'value3')
You would do something like:
PHP_FUNCTION(test)
{
zval *
Hi.
What macros exist regarding processing arrays in PHP (core not userland)?
I want to pass ...
array('value1', 'value2', 'value3')
to a function and in the function have it converted to
'value1\0value2\0value3\0\0'.
Conventionally, I'd need to iterate the array to get the lengths of
all the