Date: 04/18/00
- Next message: Andrei Zmievski: "Re: [PHP-DEV] PHP 4.0 Bug #4173: add function property_exists() please"
- Previous message: Rich Bryant: "[PHP-DEV] Clearing the PHP Output Buffer"
- In reply to: Brad Atkins: "[PHP-DEV] Differences in add_index_string()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Mon, 17 Apr 2000, Brad Atkins wrote:
> I was creating an array for one of my functions and looked in apidoc.txt
> (included with RC1) and the file specifies:
>
> add_index_string(return_value,index,str)
>
> I attempt to use that function and get an error about too few actual
> parameters.
>
> ZEND_API.c defines the function as:
>
> add_index_string(zval *arg, uint index, char *str, int duplicate)
>
> Is the duplicate variable something that was just added?
apidoc.txt is pretty old.
'duplicate' parameter tells the function to add a copy of the string
instead of the string itself.
> I understand what's going on, and assume it's just that the docs haven't
> been updated. The same is in effect for the add_index_stringl()
>
Yes.
-Andrei
Give a man a fish; you have fed him for today. Teach a man to fish;
and you can sell him fishing equipment.
-Author unknown
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Andrei Zmievski: "Re: [PHP-DEV] PHP 4.0 Bug #4173: add function property_exists() please"
- Previous message: Rich Bryant: "[PHP-DEV] Clearing the PHP Output Buffer"
- In reply to: Brad Atkins: "[PHP-DEV] Differences in add_index_string()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

