|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-01-24 10:11 UTC] 3tantes at inbox dot lv
Description: ------------ PLEASE note in documentation that ibase functions now use services: * ibase_add_user * ibase_modify_user (maybe some other functions too, i haven't used others) it may cause some problems, when upgrading from php4 to php5! PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 11:00:01 2025 UTC |
I don't notice a code difference but AFAICT in PHP 5 the following happened: * interbase.c was split up into multiple files * Using ibase_add_user() as an example, the following code remains the same: PHP_FUNCTION(ibase_add_user) { _php_ibase_user(INTERNAL_FUNCTION_PARAM_PASSTHRU, isc_action_svc_add_user); } * but the paramaters apparently changed, here's the proto definition in the source: PHP 4: /* {{{ proto bool ibase_add_user(string server, string dba_user_name, string dba _password, string user_name, string password [, string first_name [, string middle_name [, string last_name]]]) Add an user to security database (only for IB6 or later) */ PHP 5: /* {{{ proto bool ibase_add_user(resource service_handle, string user_name, string password [, string first_name [, string middle_name [, string last_name]]]) Add a user to security database */ Someone who knows ibase, and/or can confidently understand php-src, should add appropriate CHANGELOG entries to the appropriate ibase docs rather than depend only the on prototype comments. I assume service_handle comes from ibase_connect(), right?