[PHP-DEV] Re: [PHP-CVS] cvs: php4 /ext/sockets php_sockets.h sockets.c From: chrisv <email protected>
Date: 10/23/00

On Mon, 23 Oct 2000, Andi Gutmans wrote:

> Chris,
>
> Can you please answer the Email I sent you when you get to it? (I'm aware
I did receive it -- just didn't have the chance to reply to it when I got
up.
> you might not have read it yet). We really don't want read()'s behavior to
> change according to the php.ini. We try to keep these kind of INI
> directives as a minimum in the PHP project.
> Think of it this way. Say you are using two PHP packages, Phorum and
> Phplib. Each one was coded with a different INI setting for read(). If you
> wanna run both on the same web site you have a problem. So either make this
> two distinct functions or pass a flag to it. It's behavior should not
> depend on the INI file.

I understand the comment -- and made changes appropriately locally to use
a 4th parameter for choosing such behavior so it behaves consistently.

I'll commit the patch as soon as I make sure it works as I expect it to..

Chris

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>