Re: unbuffered mysql_db_query for 4.0.6?

From: Date: Thu, 10 May 2001 18:00:32 +0000
Subject: Re: unbuffered mysql_db_query for 4.0.6?
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-54775@lists.php.net to get a copy of this message
Andi, I have the same opinion as you have, but it leads me to to conclusion Jani made: start deprecating the function now, and get rid of it in 4.1. This is my reasoning: if mysql_db_query() gives warning now, and is removed altogether in 4.1, the behavior you seem to pursue is achieved: a function is there for the whole minor version lifespan, and is removed right with the next major version. But, of course, you might have meant you wanted mysql_db_query to give warnings through the whole 4.1 period, and leave it out with 4.2. So, what did you mean exactly? At 16:59 10.5. 2001, Andi Gutmans wrote the following: -------------------------------------------------------------- >At 07:29 AM 5/10/2001 +0200, Jani Taskinen wrote: >>On Thu, 10 May 2001, Andi Gutmans wrote: >> >>>At 04:03 PM 5/9/2001 -0400, Jon Parise wrote: >>>>On Wed, May 09, 2001 at 08:28:55PM +0200, Jani Taskinen wrote: >>>> >>>> > Remove. Actually..should that mysql_db_query() be deprecated too? >>>> > Starting 4.0.6 with warning? >>>> >>>>That sounds like a good move to me (provided it's just a warning >>>>for now). It probably shouldn't be completely removed until 4.1. >>> >>>I'd save the warning for 4.1. >> >>Really? And can you please give any reasons? And some reasoning >>for all these other stupid things that are dragged along from version >>to version and not started to be depreciated (with a warning..) ? > >Because a 0.0.1 version is a minor version and I don't think it is appropriate to change >this kind of behavior in a minor version. >There are things I would like to have changed too but I don't feel an x.x.1 version is the >right time to do that. >It's just my personal opinion. I respect yours too. >Andi > > >>The crap about breaking someone's scripts is not any good >>reason. If people don't bother to read NEWS files, it's their own >>fault if their scripts break, IMNSHO. I'd like to see the 'break soon' >>movement to get stronger among the core developers. As there really >>are no alternatives for doing this. If you do it slowly, it will hurt >>more than if it's done very quickly. Like pulling a tooth.. >> >>Bloating a language with dozens of 'backwards compatibility >>aliases', with functions which are not supposed to be used anymore, etc. >>is worse thing than maybe breaking someone's scripts. There >>are a lot of people out there who are starting to use PHP at this very >>moment. If these depreciated things are not removed soon, the removing of >>them will bite more and more people when (if never?) it's done. >> >>And saying here that the new users don't know about these..well, go >>and read some of those PHP tutorials out there..many of them were written >>before PHP 4 was even released. As also many books. >>There are lot of code snippets to be downloaded out there which might >>also contain these depreciated aliases/functions/language constructs. >> >>--Jani >> >>p.s. Why it has to be always me who rants? Anyway, I will keep ranting >>until something is really DONE..and not just talked about..even >>if I start sounding like a broken record. > > >-- >PHP Development Mailing List <http://www.php.net/> >To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net >For additional commands, e-mail: php-dev-help@lists.php.net >To contact the list administrators, e-mail: php-list-admin@lists.php.net ------end of quote------ cynic@mail.cz ------------- And the eyes of them both were opened and they saw that their files were world readable and writable, so they chmoded 600 their files. - Book of Installation chapt 3 sec 7

« previous php.dev (#54775) next »