ID:          30651
 Updated by:  [EMAIL PROTECTED]
 Reported By: _ex at navigators dot lv
 Status:      Open
-Bug Type:    InterBase related
+Bug Type:    Documentation problem
 PHP Version: 5.0.1
 New Comment:

Actual proto is:
bool ibase_add_user(resource service_handle, string user_name, string
password [, string first_name [, string middle_name [, string
last_name]]])
So, the documentation is wrong.
Reclassifying.


Previous Comments:
------------------------------------------------------------------------

[2004-11-02 12:04:02] _ex at navigators dot lv

PHP 5.0.1 (cli) (built: Aug 24 2004 12:43:33)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.1, Copyright (c) 1998-2004 Zend Technologies

------------------------------------------------------------------------

[2004-11-01 14:56:42] _ex at navigators dot lv

Description:
------------
if first_name and last_name are specified in ibase_add_user, warning is
received: "ibase_add_user() expects at most 6 parameters, 8 given".
but in documentation: 
bool ibase_add_user ( string server, string dba_user_name, string
dba_user_password, string user_name, string password [, string
first_name [, string middle_name [, string last_name]]])


Reproduce code:
---------------
ibase_add_user($serveraddr, $admin_name, $admin_pasw, $ulogin,
               strtolower($ulogin), $dbname, "", $dblname)

Expected result:
----------------
all ok

Actual result:
--------------
Warning: ibase_add_user() expects at most 6 parameters, 8 given in ...


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=30651&edit=1

Reply via email to