Hi,
I'd like to add a new optional parameter to sybase_connect() for PHP 5.3. If set to TRUE it will force creation of a new link (and works just like mysql_connect()'s new_link parameter).
http://sitten-polizei.de/php/sybase-connect-newlink.diff
Any objections?
- Timm
Quoted text · 5 lines
Hi,
I'd like to add a new optional parameter to sybase_connect() for PHP
5.3. If set toTRUEit will force creation of a new link (and works
just like mysql_connect()'s new_link parameter).
seems like a good idea to have this and i guess there is no other
choice but to stick it at the end of the function parameter list.
regards,
Lukas Kahwe Smith
mls@pooteeweet.org
Hi,
I'd like to add a new optional parameter to sybase_connect() for PHP 5.3. If set to
TRUEit will force creation of a new link (and works just like mysql_connect()'s new_link parameter).seems like a good idea to have this and i guess there is no other choice but to stick it at the end of the function parameter list.
Comitted to PHP_5_3 and added a NEWS entry. Passing NULL to any of the string parameters to sybase_connect() will make it behave as if the parameter was omitted. The following, for example, are equivalent:
sybase_connect()
sybase_connect(NULL, NULL, NULL)
- Timm