Re: [PHP-DEV] PHP array to char **

2005-03-14 Thread Rasmus Lerdorf
Christopher Kings-Lynne wrote: Hi, I'm working on some improvements to the pgsql extension and I would like to know how to convert a zval* that points to a PHP array to a char** that I can pass to the pgsql API functions. The API function takes const char** so it will not modify the string, but

[PHP-DEV] PHP array to char **

2005-03-14 Thread Christopher Kings-Lynne
Hi, I'm working on some improvements to the pgsql extension and I would like to know how to convert a zval* that points to a PHP array to a char** that I can pass to the pgsql API functions. The API function takes const char** so it will not modify the string, but the string must exist for the