Re: sybase_connect()
| From: | Timm Friebe | Date: | Mon, 10 Nov 2008 11:04:50 +0000 |
| Subject: | Re: sybase_connect() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-41806@lists.php.net to get a copy of this message | ||
Hi,
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) - TimmI'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.diffseems 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.