Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Zeev Suraski
At 11:21 18/5/2001, Jani Taskinen wrote: As long as these extensions are in there, I think changing any of their API's is a justification for 4.x release. This is simply not the way we decided to work in. Can it be changed? Sure. Should it be changed? In my humble opinion, no, it shouldn't.

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Jani Taskinen
On Fri, 18 May 2001, Zeev Suraski wrote: At 11:21 18/5/2001, Jani Taskinen wrote: As long as these extensions are in there, I think changing any of their API's is a justification for 4.x release. This is simply not the way we decided to work in. Can it be changed? Sure. Should it be changed?

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Zeev Suraski
At 12:05 18/5/2001, Jani Taskinen wrote: You must understand that I don't like changing the API either. But sometimes it just HAS to be changed. And one thing that should happen when such changes are made, is to change the version number. Why is it so sacred to you? Each and his own religion :)

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Rasmus Lerdorf
On Thu, 17 May 2001, Rasmus Lerdorf wrote: I don't agree. Have you noticed the thread about domxml currently running in php-dev@? Wouldn't that justify a 4.1? What would? No, I don't think a single extension should affect the PHP version number to that extent. But I do think we should

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Jani Taskinen
On Fri, 18 May 2001, Rasmus Lerdorf wrote: As long as these extensions are in there, I think changing any of their API's is a justification for 4.x release. I disagree. Since optional extensions are not a core part of the language and can be built and maintained separately, changes to them

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Rasmus Lerdorf
On Fri, 18 May 2001, Jani Taskinen wrote: On Fri, 18 May 2001, Rasmus Lerdorf wrote: As long as these extensions are in there, I think changing any of their API's is a justification for 4.x release. I disagree. Since optional extensions are not a core part of the language and can be

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Jani Taskinen
On Fri, 18 May 2001, Rasmus Lerdorf wrote: That still doesn't change the fact that it is imprecise to tie the PHP version number to extensions when there is no 1:1 relationship here and the possibility exists that an older version of the extension can be used with a newer version of PHP. And

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Andrei Zmievski
On Fri, 18 May 2001, Jani Taskinen wrote: Hmm..I'm not really sure how it's possible to use older API version extensions with newer PHP as the Zend boys pump up their API version number on every release..and afaik that prevents you from using the old extensions..? They hardly bump Zend API

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Rasmus Lerdorf
That still doesn't change the fact that it is imprecise to tie the PHP version number to extensions when there is no 1:1 relationship here and the possibility exists that an older version of the extension can be used with a newer version of PHP. And more and more, the average PHP user does

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Jani Taskinen
On Fri, 18 May 2001, Rasmus Lerdorf wrote: That still doesn't change the fact that it is imprecise to tie the PHP version number to extensions when there is no 1:1 relationship here and the possibility exists that an older version of the extension can be used with a newer version of PHP.

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Hartmut Holzgraefe
Rasmus Lerdorf wrote: [...] which increases the likelihood of old versions of extensions sticking around and not being in synch with the PHP installation. not to likely nowadays due to the API number changes that made binary extensions not being loaded by other php versions then the ones

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Hartmut Holzgraefe
Andrei Zmievski wrote: They hardly bump Zend API version with every point release. not with every release, somehow they missed 4.0.3 on this ;) -- Hartmut Holzgraefe [EMAIL PROTECTED] http://www.six.de +49-711-99091-77 -- PHP Development Mailing List http://www.php.net/ To unsubscribe,

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Rasmus Lerdorf
Ah. I must have been dreaming then.. :) I remember that someone submitted some bug report about this very issue. Anyway, now I see that there really is good reason having that version (PHP_#ext#_API_NO ?) after all. And having that..we should propable start moving those extensions one by

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread rasmus
Andrei Zmievski wrote: They hardly bump Zend API version with every point release. not with every release, somehow they missed 4.0.3 on this ;) No bump in 4.0.6 either, and it doesn't look like there will be one for 4.0.7 either. About 5 months since the last bump. -Rasmus -- PHP

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Hartmut Holzgraefe
Jani Taskinen wrote: Anyway, now I see that there really is good reason having that version (PHP_#ext#_API_NO ?) after all. And having that..we should propable start moving those extensions one by one into PEAR? do we have the infrastructure in PEAR for C code yet ? Maybe we could then roll

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Rasmus Lerdorf
Jani Taskinen wrote: Anyway, now I see that there really is good reason having that version (PHP_#ext#_API_NO ?) after all. And having that..we should propable start moving those extensions one by one into PEAR? do we have the infrastructure in PEAR for C code yet ? Not yet, so this

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Jani Taskinen
On Fri, 18 May 2001, Rasmus Lerdorf wrote: Ah. I must have been dreaming then.. :) I remember that someone submitted some bug report about this very issue. Anyway, now I see that there really is good reason having that version (PHP_#ext#_API_NO ?) after all. And having that..we should

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Rasmus Lerdorf
And btw. Why not have a function in PHP core that can be used to get the desired extensions remotely from pear.php.net? If we have a PHP_#ext#_API_NO, running a 'update_php_extensions()' would go and grab the updated (if the extension HAS been updated) one..etc.. (I'm just thinking out

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Kristian Köhntopp
Rasmus Lerdorf wrote: There will be more and more extensions that are not bundled with PHP, and having a standard way to check the version of an extension is going to be required. This should also apply to the bundled extensions. Currently there is a number of self-description functions in

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Stig Sæther Bakken
[Jani Taskinen [EMAIL PROTECTED]] On Thu, 17 May 2001, Rasmus Lerdorf wrote: I don't agree. Have you noticed the thread about domxml currently running in php-dev@? Wouldn't that justify a 4.1? What would? No, I don't think a single extension should affect the PHP version number to that

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-18 Thread Boian Bonev
One thing I'd like to see is a utility which could check a source directory and warn about obviously deprecated / insecure / inefficient things. It'd make life easier for that hypothetical ISP admin with a large pile of code which has been haphazardly maintained for years. hey, guys, how do

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread Jani Taskinen
On Wed, 16 May 2001, Rasmus Lerdorf wrote: Sure, but a version number if quite arbitrary and the way we have always ^^ Exactly.. done this is to consider the second digit for large changes. The fact that we haven't had a .1

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread PHP Whipping Boy
On 16 May 2001, Stig Sæther Bakken wrote: Hey Jani, you can attribute yourself as the PHP Whipping Boy now if you like. I think you just got enough points. :-) Ok. :) I completely agree that we should start using the minor version. It's like we're afraid to touch it because that would imply

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread Jani Taskinen
On Wed, 16 May 2001, Andrei Zmievski wrote: Being antagonistically sarcastic won't win you any friends, Jani. If I wanted friends, I'd get a dog.. :) As far as your question about the version numbers, the middle digit gets bumped up when we plan some changes that will break backwards

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread Peter Petermann
As far as your question about the version numbers, the middle digit gets bumped up when we plan some changes that will break backwards compatibility and implement features in the core language. So, yes, it is something special, it's not for bug fixes or extension changes. Exactly. As we now

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread rasmus
Being antagonistically sarcastic won't win you any friends, Jani. If I wanted friends, I'd get a dog.. :) As far as your question about the version numbers, the middle digit gets bumped up when we plan some changes that will break backwards compatibility and implement features in the core

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread Cynic
At 06:56 17.5. 2001 -0700, [EMAIL PROTECTED] wrote: Being antagonistically sarcastic won't win you any friends, Jani. If I wanted friends, I'd get a dog.. :) As far as your question about the version numbers, the middle digit gets bumped up when we plan some changes that will break

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-17 Thread Rasmus Lerdorf
I really don't think that this should be something to strive for. There should be a really really good reason for making changes that break backward compatibility. We have that second version number reserved for such BC breaking changes that don't involve a huge rewrite (which is what the

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Zeev Suraski
At 01:40 15/5/2001, Sterling Hughes wrote: Sure, yeah. But as a note, other big projects with huge user bases break compatibility as well, Perl, Apache, Python, to name three. It doesn't mean it's a good idea. And in its own way, C, is constantly breaking compat, the amount of times I've had

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Jani Taskinen
On Wed, 16 May 2001, Zeev Suraski wrote: Also bare in mind that a very large percentage of the developers don't *want* to be forced to change their code, and consider it to be a Who's forcing anybody to update anyway? misfeature in the language if it breaks downwards compatibility in between

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Andrei Zmievski
On Wed, 16 May 2001, Jani Taskinen wrote: Have you ever heard that you can also change that number in the middle? 4.0.6 This one^ It can be something else than an ellipse called zero..it can even be a number 1!!! Whoa! Never thougth about that?! And maybe, just MAYBE then

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Zeev Suraski
At 14:06 16/5/2001, Jani Taskinen wrote: On Wed, 16 May 2001, Zeev Suraski wrote: Also bare in mind that a very large percentage of the developers don't *want* to be forced to change their code, and consider it to be a Who's forcing anybody to update anyway? We are, by not supporting old

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Cynic
Hi Andrei. Yes, that's how it should be, but not how it is. At least I've been observing PHP 4.0.x evolve dramatically with compat breakage included. At 08:34 16.5. 2001 -0500, Andrei Zmievski wrote: As far as your question about the version numbers, the middle digit gets bumped up when we plan

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Harald Radi
new way: call_user_func(array($obj, method), method, args, go, here); ---^ isn't 'pass by reference' deprecated too ? harald. -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Sterling Hughes
Harald Radi wrote: new way: call_user_func(array($obj, method), method, args, go, here); ---^ isn't 'pass by reference' deprecated too ? yes, so? the above is not pass by reference, your passing an array to the function, not a reference to an array. -sterling --

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Andi Gutmans
At 01:06 PM 5/16/2001 +0200, Jani Taskinen wrote: On Wed, 16 May 2001, Zeev Suraski wrote: Also bare in mind that a very large percentage of the developers don't *want* to be forced to change their code, and consider it to be a Who's forcing anybody to update anyway? misfeature in the

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Stig Sæther Bakken
[Zeev Suraski [EMAIL PROTECTED]] One comment; Why? :) We've been in that discussion before. In my opinion, we should probably rethink our whole deprecation approach. Yes, I know that people don't like the burden of maintaining downwards compatibility. I sure as hell don't. But PHP's

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Stig Sæther Bakken
[Jani Taskinen [EMAIL PROTECTED]] On Wed, 16 May 2001, Zeev Suraski wrote: Also bare in mind that a very large percentage of the developers don't *want* to be forced to change their code, and consider it to be a Who's forcing anybody to update anyway? misfeature in the language if it

RE: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Sean R. Bright
-Original Message- From: Andi Gutmans [mailto:[EMAIL PROTECTED]] ... There has been lots of talk and I think there have also been some good ideas. The only problem I have had with these discussions up to now is that people here really forget that the average PHP coder is not a

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Andi Gutmans
At 08:31 PM 5/16/2001 -0400, Stig Sæther Bakken wrote: [Jani Taskinen [EMAIL PROTECTED]] On Wed, 16 May 2001, Zeev Suraski wrote: Also bare in mind that a very large percentage of the developers don't *want* to be forced to change their code, and consider it to be a Who's forcing

RE: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-16 Thread Andi Gutmans
At 10:27 PM 5/16/2001 -0400, Sean R. Bright wrote: -Original Message- From: Andi Gutmans [mailto:[EMAIL PROTECTED]] ... There has been lots of talk and I think there have also been some good ideas. The only problem I have had with these discussions up to now is that people

[PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-14 Thread Sterling Hughes
howdy, Just sending a note about the deprecation of the call_user_method() functions. It basically sends an E_NOTICE message now when call_user_method() or call_user_method_array() are called. This is because the call_user_method() and call_user_method_array() functions can easily be

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-14 Thread Zeev Suraski
One comment; Why? :) We've been in that discussion before. In my opinion, we should probably rethink our whole deprecation approach. Yes, I know that people don't like the burden of maintaining downwards compatibility. I sure as hell don't. But PHP's huge popularity boost put the

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-14 Thread Sterling Hughes
Zeev Suraski wrote: One comment; Why? :) Simple, there is no point in having two functions which can do the same things. call_user_method was the less flexible of the two, so I We've been in that discussion before. In my opinion, we should probably rethink our whole deprecation

Re: [PHP-DEV] Latest commit -- depreciation of call_user_method()

2001-05-14 Thread Chris Adams
On 14 May 2001 15:37:43 -0700, Sterling Hughes [EMAIL PROTECTED] wrote: We've been in that discussion before. In my opinion, we should probably rethink our whole deprecation approach. Yep, we need to decide on a standard for deprecating things. One thing I'd like to see is a utility which