Re: [PHP-DEV] sybase_connect()

2008-11-10 Thread Timm Friebe

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



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 



--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-DEV] sybase_connect()

2008-11-09 Thread Lukas Kahwe Smith


On 09.11.2008, at 13:05, Timm Friebe wrote:


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



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
[EMAIL PROTECTED]




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php