PHP 5 RC1

php.internals

Andi Gutmans

22 years ago
Hey guys, I think the PHP 5 tree has matured a lot and it's time to release an RC. I think end of November or mid-December makes sense. I'd like to aim at the former date. Are there any major (as in "major") issues which in your opinion still need to be dealt with? Thanks, Andi

Georg Richter

22 years ago
Hi!
> > I think the PHP 5 tree has matured a lot and it's time to release an RC. I > think end of November or mid-December makes sense. I'd like to aim at the > former date.
thats too fast, or do you mean Nov/Dec. 2004? Why such a hurry? Shouldn't we have a feature freeze first and try to release a stable and powerful relea?se instead
> Are there any major (as in "major") issues which in your > opinion still need to be dealt with?
- MySql License fix (should be done within the next days) - Documentation most of new features aren't documented yet Zend2-API Documentation - QA Only a few developers tested PHP5. We need a better qa - DB Features pdo isn't ready yet lot of open points how to implement iterators, methods and properties. More haste, less speed!! Georg

Stig S. Bakken

22 years ago
On Tue, 2003-11-11 at 19:05, Andi Gutmans wrote:
> Hey guys, > > I think the PHP 5 tree has matured a lot and it's time to release an RC. I > think end of November or mid-December makes sense. I'd like to aim at the > former date. > Are there any major (as in "major") issues which in your > opinion still need to be dealt with?
RCs are meant for when you think the source tree is ready for release, but want to make sure. Do you think it's ready? - Stig

Thies C. Arntzen

22 years ago
On Tue, Nov 11, 2003 at 10:01:32PM +0100, Stig S. Bakken wrote:
> On Tue, 2003-11-11 at 19:05, Andi Gutmans wrote: > > Hey guys, > > > > I think the PHP 5 tree has matured a lot and it's time to release an RC. I > > think end of November or mid-December makes sense. I'd like to aim at the > > former date. > > Are there any major (as in "major") issues which in your > > opinion still need to be dealt with? > > RCs are meant for when you think the source tree is ready for release, > but want to make sure. Do you think it's ready?
i think andi hopes that only RCs will give us the needed momentum to get it finished (as in we labelit RC but it's a beta). i have real opinion on that, but if it helps PHP 5 i'm all for it. tc PS: same as andi, one of the few mails in the last weeks;-)

Andi Gutmans

22 years ago
At 10:08 PM 11/11/2003 +0100, Thies C. Arntzen wrote:
>On Tue, Nov 11, 2003 at 10:01:32PM +0100, Stig S. Bakken wrote: > > On Tue, 2003-11-11 at 19:05, Andi Gutmans wrote: > > > Hey guys, > > > > > > I think the PHP 5 tree has matured a lot and it's time to release an > RC. I > > > think end of November or mid-December makes sense. I'd like to aim at > the > > > former date. > > > Are there any major (as in "major") issues which in your > > > opinion still need to be dealt with? > > > > RCs are meant for when you think the source tree is ready for release, > > but want to make sure. Do you think it's ready? > > i think andi hopes that only RCs will give us the needed > momentum to get it finished (as in we labelit RC but it's a > beta). > > i have real opinion on that, but if it helps PHP 5 i'm all > for it.
To be honest, I think the answer is somewhere in the middle. Basically, the engine is done. I think the XML extensions and SQLite are pretty mature, and the old stuff pretty much works. Some people are already using PHP 5 in semi-production and I think it's quite stable. I'd really like to see PHP 5 get out soon because it's really a waste that we don't give PHP users the chance to use the new functionality. I think the emails I have been getting about tiny features people still want in all sorts of extensions is not a reason to delay PHP 5, for three reasons: a) There are always people who want another few things. b) Many of those people aren't doing anything useful to getting those things done. c) We all know that PHP always had a TODO, whether it was before PHP 4.0.0, before 4.0.2, or 4.3.4. I also don't think we should be waiting for new extensions like PDO. It is impossible to synchronize with every extension out there. PDO sounds like it'll be something really useful, and when it's ready and useful enough it'll probably be part of PHP whether that is 5.0.0. or 5.6.4. If it's ready in time, then great. If not, it might be in 5.0.1 which is likely to follow 1-2 months after 5.0.0. What I suggest is the following. An immediate feature freeze and try and get the RC out of the door. If it takes 2 months and not 2 weeks that's fine with me, but I'd like it to converge. I'd like people who have outstanding issues/bugs they need to fix, to go ahead and fix them. Same goes for critical engine problems (aka me). But it's obvious, that all bugs will never be solved, because that has never been the case. Going back to Stig's answer, yes, I think the tree is in pretty good shape. Andi

John Coggeshall

22 years ago
> To be honest, I think the answer is somewhere in the middle. Basically, the > engine is done. I think the XML extensions and SQLite are pretty mature,
I know Shane was working on some major improvements to simplexml that I don't know if he's finished yet. Sterling didn't seem to have any interest in really finishing the code he did write from our conversations.
> I'd really like to see PHP 5 get out soon because it's really a waste that > we don't give PHP users the chance to use the new functionality. I think
It'd also be a waste to release PHP 5.0, only to have 5.1 be the version with all the non-OO new features just for the sake of it. It's widely understood throughout the community that PHP 5 will be a *major* release for PHP, and everyone expects to see things like MySQLi, PDO, SimpleXML/XML, etc.
> I also don't think we should be waiting for new extensions like PDO. It is > impossible to synchronize with every extension out there. PDO sounds like > it'll be something really useful, and when it's ready and useful enough > it'll probably be part of PHP whether that is 5.0.0. or 5.6.4. If it's > ready in time, then great. If not, it might be in 5.0.1 which is likely to > follow 1-2 months after 5.0.0.
Is this really a discussion about every extension? We are talking about PHP5 specific extensions that are designed to be major steps forward in XML and database manipulation..
> What I suggest is the following. An immediate feature freeze and try and > get the RC out of the door. If it takes 2 months and not 2 weeks that's > fine with me, but I'd like it to converge. I'd like people who have > outstanding issues/bugs they need to fix, to go ahead and fix them. Same > goes for critical engine problems (aka me).
Reasons not to RC yet: 1) The changes between B1 -> B2 were very substaincial 2) B2 has only been out for around 10 days 3) There are a lot of valuable PHP 5-focused extensions that a lot of people expect to see in PHP 5 (anyone who has been attending this year's conferences knows this), that people *are* working on -- they just aren't finalized yet. Considering there was absolutely no warning about an RC or feature freeze, I suggest an alternative -- Set a firm date for a B3 release (end of year), allow people who are actually working on PHP 5 related ext stuff to get their code committed and finalized, and then release B3 in the wild for a month. If it all floats then roll the RC. John

John Coggeshall

22 years ago
Oh, and let's not forget Pierre's PIMP extension -- anyone who has seen his code/slides knows that it blows GD out of the water and he's still cleaning things up there too. John On Tue, 2003-11-11 at 17:03, John Coggeshall wrote:
> > To be honest, I think the answer is somewhere in the middle. Basically, the > > engine is done. I think the XML extensions and SQLite are pretty mature, > > I know Shane was working on some major improvements to simplexml that I > don't know if he's finished yet. Sterling didn't seem to have any > interest in really finishing the code he did write from our > conversations. > > > I'd really like to see PHP 5 get out soon because it's really a waste that > > we don't give PHP users the chance to use the new functionality. I think > > It'd also be a waste to release PHP 5.0, only to have 5.1 be the version > with all the non-OO new features just for the sake of it. It's widely > understood throughout the community that PHP 5 will be a *major* release > for PHP, and everyone expects to see things like MySQLi, PDO, > SimpleXML/XML, etc. > > > I also don't think we should be waiting for new extensions like PDO. It is > > impossible to synchronize with every extension out there. PDO sounds like > > it'll be something really useful, and when it's ready and useful enough > > it'll probably be part of PHP whether that is 5.0.0. or 5.6.4. If it's > > ready in time, then great. If not, it might be in 5.0.1 which is likely to > > follow 1-2 months after 5.0.0. > > Is this really a discussion about every extension? We are talking about > PHP5 specific extensions that are designed to be major steps forward in > XML and database manipulation.. > > > What I suggest is the following. An immediate feature freeze and try and > > get the RC out of the door. If it takes 2 months and not 2 weeks that's > > fine with me, but I'd like it to converge. I'd like people who have > > outstanding issues/bugs they need to fix, to go ahead and fix them. Same > > goes for critical engine problems (aka me). > > Reasons not to RC yet: > > 1) The changes between B1 -> B2 were very substaincial > 2) B2 has only been out for around 10 days > 3) There are a lot of valuable PHP 5-focused extensions that a lot of > people expect to see in PHP 5 (anyone who has been attending this year's > conferences knows this), that people *are* working on -- they just > aren't finalized yet. > > Considering there was absolutely no warning about an RC or feature > freeze, I suggest an alternative -- Set a firm date for a B3 release > (end of year), allow people who are actually working on PHP 5 related > ext stuff to get their code committed and finalized, and then release B3 > in the wild for a month. If it all floats then roll the RC. > > John > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >
-- -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~- John Coggeshall http://www.coggeshall.org/ john at coggeshall dot org The PHP Developer's Handbook The definitive PHP5 developer's guide http://www.php-handbook.com/ -~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~--~=~-

Adam Maccabee Trachtenberg

22 years ago
On Tue, 11 Nov 2003, John Coggeshall wrote:
> I know Shane was working on some major improvements to simplexml that I > don't know if he's finished yet. Sterling didn't seem to have any > interest in really finishing the code he did write from our > conversations.
I know that Shane is also porting SOAP to the new DOM extension. I think it's important to have this be stable before PHP 5 goes final.
> It'd also be a waste to release PHP 5.0, only to have 5.1 be the version > with all the non-OO new features just for the sake of it. It's widely > understood throughout the community that PHP 5 will be a *major* release > for PHP, and everyone expects to see things like MySQLi, PDO, > SimpleXML/XML, etc.
Part of PHP 5 is the new language. The other part is the bundled extensions. I think we need to give developers time to complete the major extensions now that PHP 5 is more stable and we've decided upon the core APIs. For example, you need mysqlii to use MySQL 4.1+ with PHP. While PHP shouldn't be gated by MySQL's development, it'd be crappy to release PHP 5 without full MySQL 4.1 support. Since right now this requires a bitkeeper MySQL install, I can't believe many people even tested mysqli. So I'd prefer to wait until this solidifies. (Assuming the MySQL folks can hammer down MySQL 4.1 in a reasonable time frame.)
> Considering there was absolutely no warning about an RC or feature > freeze, I suggest an alternative -- Set a firm date for a B3 release > (end of year), allow people who are actually working on PHP 5 related > ext stuff to get their code committed and finalized, and then release B3 > in the wild for a month. If it all floats then roll the RC.
I'm with John here. -adam
-- adam@trachtenberg.com

Shane Caraveo

22 years ago
Adam Maccabee Trachtenberg wrote:
> On Tue, 11 Nov 2003, John Coggeshall wrote: > > >>I know Shane was working on some major improvements to simplexml that I >>don't know if he's finished yet. Sterling didn't seem to have any >>interest in really finishing the code he did write from our >>conversations. > > > I know that Shane is also porting SOAP to the new DOM extension. I > think it's important to have this be stable before PHP 5 goes final.
I wouldn't hold anything up for that. Last I tried, the existing soap worked well enough, and the new stuff still has a bunch of work to be done...if only I had two brains and four hands. :( Shane

Derick Rethans

22 years ago
On Tue, 11 Nov 2003, Shane Caraveo wrote:
> Adam Maccabee Trachtenberg wrote: > > > On Tue, 11 Nov 2003, John Coggeshall wrote: > > > > > >>I know Shane was working on some major improvements to simplexml that I > >>don't know if he's finished yet. Sterling didn't seem to have any > >>interest in really finishing the code he did write from our > >>conversations. > > > > > > I know that Shane is also porting SOAP to the new DOM extension. I > > think it's important to have this be stable before PHP 5 goes final. > > I wouldn't hold anything up for that. Last I tried, the existing soap > worked well enough, and the new stuff still has a bunch of work to be > done...if only I had two brains and four hands. :(
If I only had a need for it... :) Derick
-- "Interpreting what the GPL actually means is a job best left to those that read the future by examining animal entrails." ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ International PHP Magazine http://php-mag.net/ -------------------------------------------------------------------------

Shane Caraveo

22 years ago
Derick Rethans wrote:
> On Tue, 11 Nov 2003, Shane Caraveo wrote: > > >>Adam Maccabee Trachtenberg wrote: >> >> >>>On Tue, 11 Nov 2003, John Coggeshall wrote: >>> >>> >>> >>>>I know Shane was working on some major improvements to simplexml that I >>>>don't know if he's finished yet. Sterling didn't seem to have any >>>>interest in really finishing the code he did write from our >>>>conversations. >>> >>> >>>I know that Shane is also porting SOAP to the new DOM extension. I >>>think it's important to have this be stable before PHP 5 goes final. >> >>I wouldn't hold anything up for that. Last I tried, the existing soap >>worked well enough, and the new stuff still has a bunch of work to be >>done...if only I had two brains and four hands. :( > > > If I only had a need for it... :) > > Derick
That's it, no margarita for you! (hmm, maybe that's why I need the extra set) :P Shane

Shane Caraveo

22 years ago
John Coggeshall wrote:
>>To be honest, I think the answer is somewhere in the middle. Basically, the >>engine is done. I think the XML extensions and SQLite are pretty mature, > > > I know Shane was working on some major improvements to simplexml that I > don't know if he's finished yet. Sterling didn't seem to have any > interest in really finishing the code he did write from our > conversations.
Err, I thought Sterling did those fixes at or around php{con, or at least he said he would, I may be confused.
>>What I suggest is the following. An immediate feature freeze and try and >>get the RC out of the door. If it takes 2 months and not 2 weeks that's >>fine with me, but I'd like it to converge. I'd like people who have >>outstanding issues/bugs they need to fix, to go ahead and fix them. Same >>goes for critical engine problems (aka me). > > > Reasons not to RC yet: > > 1) The changes between B1 -> B2 were very substaincial > 2) B2 has only been out for around 10 days
Well, I feel these 2 items are a good reason to wait a little longer for an rc. But I also agree with Andi that the tree seems pretty stable, especially over the past couple months.
> 3) There are a lot of valuable PHP 5-focused extensions that a lot of > people expect to see in PHP 5 (anyone who has been attending this year's > conferences knows this), that people *are* working on -- they just > aren't finalized yet. > > Considering there was absolutely no warning about an RC or feature > freeze, I suggest an alternative -- Set a firm date for a B3 release > (end of year), allow people who are actually working on PHP 5 related > ext stuff to get their code committed and finalized, and then release B3 > in the wild for a month. If it all floats then roll the RC. > > John
As far as when, I don't know, but I think that planning a specific date for a B3 is a good idea. It lets the developer community know 'if you dont get it in by this time, then that's it for the actual release'. B3 gets released, feature freeze happens, give some time to get feedback, then push out an RC. To me, B2 is really B1, B1 was really an alpha as far as it's quality went. Shane

Marcus Börger

22 years ago
Hello Andi, Tuesday, November 11, 2003, 10:23:59 PM, you wrote: [...]
> I also don't think we should be waiting for new extensions like PDO. It is > impossible to synchronize with every extension out there. PDO sounds like > it'll be something really useful, and when it's ready and useful enough > it'll probably be part of PHP whether that is 5.0.0. or 5.6.4. If it's > ready in time, then great. If not, it might be in 5.0.1 which is likely to > follow 1-2 months after 5.0.0.
Right now i did 95% of PDO coding and don't thing thins percentage will change drastically. Since i also have limited time PDO will stay for a few more weeks or even month's on my private cvs server. As soon as it makes sense to me and the ones helping on development (feature wise) i'll put it in to ext. However i don't really expect this before 5.0 and i don't mind. Best regards, Marcus mailto:helly@php.net

Andi Gutmans

22 years ago
At 09:56 PM 11/11/2003 +0100, Georg Richter wrote:
> > I think the PHP 5 tree has matured a lot and it's time to release an RC. I > > think end of November or mid-December makes sense. I'd like to aim at the > > former date. > >thats too fast, or do you mean Nov/Dec. 2004? Why such a hurry? Shouldn't we >have a feature freeze first and try to release a stable and powerful relea?se >instead
Do you want to see PHP 5 in Nov/Dec 2004? I don't see a reason why to delay it for much longer. There are and always have been backlogs of features/bugs in the past and that didn't stop us from releasing. Except for a few minor issues the engine has been pretty much in a feature freeze. As far as I know, most of ext/ too. If we put an official feature freeze on the current tree, I think a few weeks is enough to go for an RC. If we find it's not enough and there are lots of very important bugs we can hold on the RC.
> > Are there any major (as in "major") issues which in your > > opinion still need to be dealt with? > >- MySql License fix (should be done within the next days)
This is a political problem and I don't think any PHP version, whether minor nor major, should wait for this. It's not my fault MySQL have been very slow to respond. And in any case, it's not as if we're stopping support for MySQL. On the contrary, it's extremely important and people will still be able to build it just like any other extension.
>- Documentation > most of new features aren't documented yet > Zend2-API Documentation
Documentation has always lagged behind release. Stas wrote a short OBJECTS2_HOWTO but it needs lots of updating. Maybe you can con Marcus into adding his changes :)
>- QA > Only a few developers tested PHP5. We need a better qa
I don't think it's clear how many people have tested it. The fact is that I know people who have been using PHP 5 in semi-production environments already. Last time I wanted to check how many ppl downloaded beta 2 I couldn't find the stats because either I'm looking in the wrong place or someone broke the logger.
>- DB Features > pdo isn't ready yet > lot of open points how to implement iterators, methods and properties.
Who said PDO is a PHP 5 feature? I think it's a nice initiative by Marcus but the release shouldn't be tied to one ext/ or another (except what's in ext/ historically). PHP development doesn't end with PHP 5 and definitely not with the RC. If/when PDO will be ready, it'll be ready, and possibly integrated into the standard distribution. Andi

Ilia A.

22 years ago
Andi, According to: http://bugs.php.net/search.php?cmd=display&bug_ntype[]=Feature%2FChange+Request&bug_ntype[]=Documentation+problem&bug_ntype[]=PECL+related&bug_ntype[]=PHP-GTK+related&bug_ntype[]=Website+problem&status=Open&search_for=&php_os=&boolean=0&author_email=&bug_age=0&by=&order_by=id&direction=ASC&phpver=5&limit=50&assign=&begin=50 There are currently over 60 bugs (most Zend Engine 2 related) that are specific to PHP 5.X. Before moving to RC1 it may be a good idea to review the situation. Quite a few of these bugs mention crashes and may expose even more issues in production environment. Ilia

Andi Gutmans

22 years ago
I went over this list today. Some need to be addressed but the majority are not engine problems. I suggest everyone here takes a look at them and tries to solve what they can. I have already planned time to go over the engine ones. Andi At 04:29 PM 11/11/2003 -0500, Ilia Alshanetsky wrote:

Stig S. Bakken

22 years ago
Yes, but it's not only the engine that would be going into RC, it's the entire distribution. John has a very good point in that some of the changes that people are looking to PHP 5 for will be extension specific, releasing an RC before the extensions are more or less stable doesn't make sense to me. I perfectly understand the momentum issue, but IMHO the full product that's being shipped is not up to RC yet. Overly long RC cycles are just painful. What about rolling b3, await some feedback, and based on that make a decision on rolling the first RC? - Stig On Tue, 2003-11-11 at 22:26, Andi Gutmans wrote:

Sebastian Bergmann

22 years ago
Stig S. Bakken wrote:
> John has a very good point in that some of the changes that people > are looking to PHP 5 for will be extension specific, releasing an > RC before the extensions are more or less stable doesn't make sense > to me.
Also do not forget that PHP 5 currently lacks extensions that were available in PHP 4 (Java and Satellite (CORBA) come to mind).
-- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

Zeev Suraski

22 years ago
At 07:37 12/11/2003, Stig S. Bakken wrote:
>Yes, but it's not only the engine that would be going into RC, it's the >entire distribution. > >John has a very good point in that some of the changes that people are >looking to PHP 5 for will be extension specific, releasing an RC before >the extensions are more or less stable doesn't make sense to me.
I think that this is one of the cases where the saying 'The biggest enemy of good is perfect' applies. I pretty much disagree with the main point of John. The key features of PHP 5.0, the ones people are talking about, are the new object model, XML (SimpleXML), and maybe mysqli and SQLite. These are all in very good conditions, all RC-quality AFAIK. Waiting for additional features is wasting time, as simple as that. It doesn't come to say that these additional features are not important. They may very well be very important. But the fact we've been sitting on so many features, ZE2, SimpleXML, mysqli and more and not giving the general public access to them makes no sense. I just can't agree with the notion of 'It makes no sense to release 5.0, just to release 5.1 shortly afterwards'. To that I say - it sure does! That's typically the opensource approach, release early, release often. Given our release cycles as of late, there's no chance we'll meet that theme even if we release tomorrow morning :) But we shouldn't go to the opposite extreme. My suggestion - we'll work on fixing ZE2 bugs (*). Fix as many as we can as soon as possible, and aim to release on Dec 15. Worst case - we'll delay to Xmas. If enough changes accumulate - we can have B3 too, but I'm not sure it will be necessary, because the betas don't appear to gain too much interest, at least not the kind of interest we need from the wide public. At this timeframe - if somebody feels he has some very pressing matter that, for some reason, must be ready for PHP 5.0.0 - by all means, finalize it. You have more than a month. But even more importantly, be advised that it's almost certain that this feature does NOT have to be in PHP 5.0.0. It can be in 5.0.1, or 5.1, or 5.2. Guys, major PHP 4 features (like output buffering, output compression, XML support) came post PHP 4.0.0. Now, while popping mail over a 24,000bps modem in some hotel in Tokyo, I just saw that Andi suggested that we go for Beta 3 around Nov 30. To be honest - again, given the relative lack of wide feedback for the betas - I don't think it will be very beneficial, but I don't think it'll do any harm either. I think we should still try and aim for RC1 for Dec 15, unless we get major negative feedback for B2 or B3 by that time. BTW - I agree with Edin about some issues that need to be solved, with the most important one IMHO being libxml bundling. In all efforts to avoid a thread on this subject of any shape or form - I'd really like to push the approach of having two source dists - one w/ libxml, and one w/o it, both created by makedist, and available for download. I think that even the biggest advocates of bundling as well as the biggest advocates of PHP-purity can live with that solution. Now the only question is whether there are any volunteers to make the necessary patches to PHP's build as well as makedist that will make this magic ;) Zeev (*) I think many of those are actually old ZE1 bugs that were tested to also break ZE2, and given the fact I told Jani that ZE1 bugs are second priority, he retagged them as ZE2 bugs. You may have to keep them for downwards compatibility ;)

Uwe Schindler

22 years ago
One important thing before RC1 is to fix the libraray filenames on Windows to be php5xxxx.dll. How is the status about that? ----- Uwe Schindler thetaphi@php.net - http://www.php.net NSAPI SAPI developer Erlangen, Germany

Olivier Hill

22 years ago
Uwe Schindler wrote:
> One important thing before RC1 is to fix the libraray filenames on > Windows to be php5xxxx.dll. How is the status about that?
I'll do the diff file next Saturday. But we will need to rename some files in case a "php4..." name doesn't sound right. Oliver
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

Uwe Schindler

22 years ago
How about function names (in my SAPI module I changed everything from for example php4_execute to php5_execute for NSAPI). How about Apache and the others? Should be there some in-code fixes, too? At 16:49 12.11.2003, Olivier Hill wrote:
>Uwe Schindler wrote: >>One important thing before RC1 is to fix the libraray filenames on >>Windows to be php5xxxx.dll. How is the status about that? > >I'll do the diff file next Saturday. But we will need to rename some >files in case a "php4..." name doesn't sound right. > >Oliver >-- >GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O >M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) >r y+(?) > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php >
----- Uwe Schindler thetaphi@php.net - http://www.php.net NSAPI SAPI developer Erlangen, Germany

Olivier Hill

22 years ago
Uwe Schindler wrote:
> How about function names (in my SAPI module I changed everything from > for example php4_execute to php5_execute for NSAPI). How about Apache > and the others? Should be there some in-code fixes, too?
You mean like php5_apache.dll should be loaded with a: LoadModule mod_php5 php5_apache.dll And not with: LoadModule mod_php4 php5_apache.dll Oliver
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

Marcus Börger

22 years ago
Hello Olivier, Wednesday, November 12, 2003, 5:12:37 PM, you wrote:
> Uwe Schindler wrote: >> How about function names (in my SAPI module I changed everything from >> for example php4_execute to php5_execute for NSAPI). How about Apache >> and the others? Should be there some in-code fixes, too?
> You mean like php5_apache.dll should be loaded with a:
> LoadModule mod_php5 php5_apache.dll
I installed php5 from ./makerpm today and yes i needed to LoadModule mod_php5 php5_apache.dll (if i were on windows)
-- Best regards, Marcus mailto:helly@php.net

Thies C. Arntzen

22 years ago
On Wed, Nov 12, 2003 at 09:44:23PM +0100, Marcus Boerger wrote:
> Hello Olivier, > > Wednesday, November 12, 2003, 5:12:37 PM, you wrote: > > > Uwe Schindler wrote: > >> How about function names (in my SAPI module I changed everything from > >> for example php4_execute to php5_execute for NSAPI). How about Apache > >> and the others? Should be there some in-code fixes, too? > > > You mean like php5_apache.dll should be loaded with a: > > > LoadModule mod_php5 php5_apache.dll > > I installed php5 from ./makerpm today and yes i needed to > LoadModule mod_php5 php5_apache.dll (if i were on windows)
and - as we all know - marcus runs windows, so we're ready for a release;-) thies

Marcus Börger

22 years ago
Hello Thies, Wednesday, November 12, 2003, 9:47:01 PM, you wrote:
> On Wed, Nov 12, 2003 at 09:44:23PM +0100, Marcus Boerger wrote: >> Hello Olivier, >> >> Wednesday, November 12, 2003, 5:12:37 PM, you wrote: >> >> > Uwe Schindler wrote: >> >> How about function names (in my SAPI module I changed everything from >> >> for example php4_execute to php5_execute for NSAPI). How about Apache >> >> and the others? Should be there some in-code fixes, too? >> >> > You mean like php5_apache.dll should be loaded with a: >> >> > LoadModule mod_php5 php5_apache.dll >> >> I installed php5 from ./makerpm today and yes i needed to >> LoadModule mod_php5 php5_apache.dll (if i were on windows)
> and - as we all know - marcus runs windows, so we're ready > for a release;-)
...actually that was a damn stupid semi production 'suse' (shudder). <helly> uses windows as the client :-)
-- Best regards, Marcus mailto:helly@php.net

Olivier Hill

22 years ago
Marcus Boerger wrote:
> > I installed php5 from ./makerpm today and yes i needed to > LoadModule mod_php5 php5_apache.dll (if i were on windows)
Hello Marcus, Well, that's what I though. IIRC, the last time I tried PHP5 under Windows, the Apache SAPI code was changed. I was uncertain what Uwe meant about the php5_execute. Was he refering to the LoadModule directive under Apache? Oliver
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

Olivier Hill

22 years ago
Zeev Suraski wrote:
> > Now, while popping mail over a 24,000bps modem in some hotel in Tokyo, I > just saw that Andi suggested that we go for Beta 3 around Nov 30. To be > honest - again, given the relative lack of wide feedback for the betas - > I don't think it will be very beneficial, but I don't think it'll do any > harm either. I think we should still try and aim for RC1 for Dec 15, > unless we get major negative feedback for B2 or B3 by that time.
Maybe I am mistaken, but I just though of that this morning... I was reading some slides from Rasmus yesterday, and I was looking at a graph about Op-Codes compilation/cache. I then asked myself how it would be done in PHP5. Will it be possible with ZE2 to use IonCube PHP4/Zend Cache and APC? If is it pertinent, how could developpers of those extensions port their code to the new ZE2? Would it require some sort of API freeze in ZE2? If ZE2 needs to be freezed for those extensions to be ported, maybe it would be a good idea to release RC1 ASAP. Oliver
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

George Schlossnagle

22 years ago
On Nov 12, 2003, at 10:57 AM, Olivier Hill wrote:
> Maybe I am mistaken, but I just though of that this morning... > > I was reading some slides from Rasmus yesterday, and I was looking at > a graph about Op-Codes compilation/cache. I then asked myself how it > would be done in PHP5.
Pretty much the same way. None of the architectural changes in ZE2 break tthe fundamental methodologies used by those technologies. In fact, some of the bc breaks in ZE2 (no usage of classes before declaration) make life a bit easier.
> > Will it be possible with ZE2 to use IonCube PHP4/Zend Cache and APC? > If is it pertinent, how could developpers of those extensions port > their code to the new ZE2? Would it require some sort of API freeze in > ZE2?
They will all need to be ported. Doing it without the internals at least being pseudo-stable is hard (which is why work on porting APC has not begun at all).
> If ZE2 needs to be freezed for those extensions to be ported, maybe it > would be a good idea to release RC1 ASAP.
The feature freeze has never really applied to internal mechanics of ZE1, I don't assume that it will apply to that of ZE2. Compiler caches hook deeply into the engine - deeper than the api which should be frozen for extension authors. Basically those compiler cache guys are on their own and the ZE2/php5 rc cycle shouldn't particularly concern itself with them. George

Jani Taskinen

22 years ago
On Wed, 12 Nov 2003, Zeev Suraski wrote:
>(*) I think many of those are actually old ZE1 bugs that were tested to >also break ZE2, and given the fact I told Jani that ZE1 bugs are second >priority, he retagged them as ZE2 bugs. You may have to keep them for >downwards compatibility ;)
Actually most of the bugs that are found in both ZE1 and ZE2 are in the 'Scripting engine problem' category. ZE2 only bugs are in the "Zend Engine 2 problem" category. (at least I've _tried_ to keep them separated like this) Of course some of the ZE2 bugs might be found in ZE1 too, I haven't tested them all.. --Jani

Shane Caraveo

22 years ago
Zeev Suraski wrote:
> > My suggestion - we'll work on fixing ZE2 bugs (*). Fix as many as we > can as soon as possible, and aim to release on Dec 15. Worst case - > we'll delay to Xmas. If enough changes accumulate - we can have B3 too, > but I'm not sure it will be necessary, because the betas don't appear to > gain too much interest, at least not the kind of interest we need from > the wide public.
The primary reason I see for a beta 3 is to provide the php developer community a hard date for finishing features prior to a feature freeze. Then we can give ourselves some time for QA and bug fixing (2-4 weeks), and release the RC. I think doing a sudden RC and continuing with normal development at the same time is not good. Do a beta 3, branch on when we release it and feature freeze the branch. That branch will be 5.0. I understand not wanting to have 5.0 release dwindle into an unseen future (it's been an awfully long time already), and I'm excited for it's release, but I don't understand the necessity to release all of a sudden, or the need to have it out in december. It feels like short circuting the release cycle to me. I think if we go beta 3 at the end of Nov., then an RC sometime in the second half of Dec., we'd be doing pretty good. Release could then happen in January sometime, depending on the stability of the RC. I also think that yet again, this discussion is showing the need for PECL to manage releases of extensions seperately. I know things are moving in that direction, but I'd like to keep it on peoples minds :) Shane

Marcus Börger

22 years ago
Hello Zeev, Wednesday, November 12, 2003, 3:14:27 PM, you wrote: [...]
> BTW - I agree with Edin about some issues that need to be solved, with the > most important one IMHO being libxml bundling. In all efforts to avoid a > thread on this subject of any shape or form - I'd really like to push the > approach of having two source dists - one w/ libxml, and one w/o it, both > created by makedist, and available for download. I think that even the > biggest advocates of bundling as well as the biggest advocates of > PHP-purity can live with that solution. Now the only question is whether > there are any volunteers to make the necessary patches to PHP's build as > well as makedist that will make this magic ;)
Well said. I did some work on makerpm and already got it working again. Then with the help of ilia the next step is to split up the process to generate multiple rpms for the different extensions. Once this is ready we'd either need some magic selection thingie or have some machines that build for the important distributions. Best regards, Marcus mailto:helly@php.net

Sebastian Bergmann

22 years ago
Marcus Boerger wrote:
> have some machines that build for the important distributions.
I'm planning to install Fedora in a VMware somewhen soon so I could run makerpm for this distribution.
-- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

Zeev Suraski

22 years ago
At 03:20 13/11/2003, Shane Caraveo wrote:
>Zeev Suraski wrote: > >>My suggestion - we'll work on fixing ZE2 bugs (*). Fix as many as we can >>as soon as possible, and aim to release on Dec 15. Worst case - we'll >>delay to Xmas. If enough changes accumulate - we can have B3 too, but >>I'm not sure it will be necessary, because the betas don't appear to gain >>too much interest, at least not the kind of interest we need from the >>wide public. > >The primary reason I see for a beta 3 is to provide the php developer >community a hard date for finishing features prior to a feature >freeze. Then we can give ourselves some time for QA and bug fixing (2-4 >weeks), and release the RC. I think doing a sudden RC and continuing with >normal development at the same time is not good. Do a beta 3, branch on >when we release it and feature freeze the branch. That branch will be 5.0. > >I understand not wanting to have 5.0 release dwindle into an unseen future >(it's been an awfully long time already), and I'm excited for it's >release, but I don't understand the necessity to release all of a sudden, >or the need to have it out in december. It feels like short circuting the >release cycle to me. I think if we go beta 3 at the end of Nov., then an >RC sometime in the second half of Dec., we'd be doing pretty >good. Release could then happen in January sometime, depending on the >stability of the RC.
I think that all in all, we're all in agreement :) I see Beta 3 as less important, but apparently you and others think that it's important - and I don't think it can do any bad... Zeev

Wolfgang Drews

22 years ago
*This message was transferred with a trial version of CommuniGate(tm) Pro* Hi,
> I think the PHP 5 tree has matured a lot and it's time to release > an RC. I > think end of November or mid-December makes sense. I'd like to aim at the > former date. > Are there any major (as in "major") issues which in your > opinion still need to be dealt with?
i would suggest to wait with RCs and go on with beta-releases. The big problem with php5 is, that most of the php-"user" do not know exactly what will change, what php5 will do better/different and what they will have to change within their applications. In my opinion there are two reasons for it: 1.) far to less communication 2.) far to less documentation these points make it really difficult for the normal developer to migrate to php5. Well, you can say now there are lots of articles around, explaining this and that, but this is only one point. The most important thing is imho putting these infos into the official docs. And - maybe Zend can help here - to enforce the communication of php5 and it's features (i.e. pay some good people to write an extra-column on zend-website, php-website and wellknow php-portals around the world, introducing STEP BY STEP and CONTINUOUSLY the new php5-features, ...). I would call this a campaign. I understand you at zend wish to enforce speed in release of php5, but think about "preparing the users for it" and "make it stable" well, just my two cents -Wolfgang
-- PHP-Knotenpunkt Dynamic Web Pages: http://www.dynamicwebpages.de/ PHP 4.3. Professionelle Losungen fur dynamisches Webpublishing: http://www.php-buch.de/

Andi Gutmans

22 years ago
At 10:39 PM 11/11/2003 +0100, Wolfgang Drews wrote:
>*This message was transferred with a trial version of CommuniGate(tm) Pro* >Hi, > > > I think the PHP 5 tree has matured a lot and it's time to release > > an RC. I > > think end of November or mid-December makes sense. I'd like to aim at the > > former date. > > Are there any major (as in "major") issues which in your > > opinion still need to be dealt with? > >i would suggest to wait with RCs and go on with beta-releases. The big >problem with >php5 is, that most of the php-"user" do not know exactly what will change, >what php5 >will do better/different and what they will have to change within their >applications. >In my opinion there are two reasons for it: > >1.) far to less communication >2.) far to less documentation > >these points make it really difficult for the normal developer to migrate to >php5. >Well, you can say now there are lots of articles around, explaining this and >that, >but this is only one point. The most important thing is imho putting these >infos >into the official docs. And - maybe Zend can help here - to enforce the >communication >of php5 and it's features (i.e. pay some good people to write an >extra-column on >zend-website, php-website and wellknow php-portals around the world, >introducing >STEP BY STEP and CONTINUOUSLY the new php5-features, ...). I would call this >a >campaign.
I agree. I think we need to take care of this. I wouldn't count on any one company for this (although this is also important). How about the people from internals@ who made changes volunteer to write about their changes?
>I understand you at zend wish to enforce speed in release of php5, but think >about >"preparing the users for it" and "make it stable"
Actually it's more of a personal ambition. Andi

Wolfgang Drews

22 years ago
*This message was transferred with a trial version of CommuniGate(tm) Pro*
> I agree. I think we need to take care of this. I wouldn't count > on any one > company for this (although this is also important). > How about the people from internals@ who made changes volunteer to write > about their changes?
nice idea, but you and i both know how lazy people get, when they have to write docs or articles instead of producing awesome code ;). I really would like to see Zend doing such a campaign, not because i think you are responsible to do so, but because it should be/is worth the money for your company (roi).
> >I understand you at zend wish to enforce speed in release of > php5, but think > >about > >"preparing the users for it" and "make it stable" > > Actually it's more of a personal ambition.
sorry. i believe you have personal ambition in this - ofcourse. But nevertheless i think that the release is important for Zend as a commercial company (looking at those deals with sun i.e.) ;) cheers -Wolfgang
-- PHP-Knotenpunkt Dynamic Web Pages: http://www.dynamicwebpages.de/ PHP 4.3. Professionelle Losungen fur dynamisches Webpublishing: http://www.php-buch.de/

Kevin Waterson

22 years ago
This one time, at band camp, "Wolfgang Drews" <drews@dynamicwebpages.de> wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro* > > I agree. I think we need to take care of this. I wouldn't count > > on any one > > company for this (although this is also important). > > How about the people from internals@ who made changes volunteer to write > > about their changes? > > nice idea, but you and i both know how lazy people get, when they have > to write docs or articles instead of producing awesome code ;). I really > would like to see Zend doing such a campaign, not because i think you are > responsible to do so, but because it should be/is worth the money for your > company (roi).
Writing docs and articles is time consuming and difficult for developers to fit in php development along with a job to get some money to eat. Is there a list of the major changes? eg libxml2 domxml new OO goodness sqlite bundled more?? I will get something started if you like, the weight of having each of the developers do something on top of the standard docs would be a little excessive. But I agree it would be nice to have a 'What to expect from PHP5' article out there. Or perhaps a series of of articles on the most important features? Just my $0.02 Kevin
-- ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia

Kevin Waterson

22 years ago
This one time, at band camp, "Wolfgang Drews" <drews@dynamicwebpages.de> wrote:
> *This message was transferred with a trial version of CommuniGate(tm) Pro* > > I agree. I think we need to take care of this. I wouldn't count > > on any one > > company for this (although this is also important). > > How about the people from internals@ who made changes volunteer to write > > about their changes? > > nice idea, but you and i both know how lazy people get, when they have > to write docs or articles instead of producing awesome code ;). I really > would like to see Zend doing such a campaign, not because i think you are > responsible to do so, but because it should be/is worth the money for your > company (roi).
Writing docs and articles is time consuming and difficult for developers to fit in php development along with a job to get some money to eat. Is there a list of the major changes? eg libxml2 domxml new OO goodness sqlite bundled more?? I will get something started if you like, the weight of having each of the developers do something on top of the standard docs would be a little excessive. But I agree it would be nice to have a 'What to expect from PHP5' article out there. Or perhaps a series of of articles on the most important features? Just my $0.02 Kevin
-- ______ (_____ \ _____) ) ____ ____ ____ ____ | ____/ / _ ) / _ | / ___) / _ ) | | ( (/ / ( ( | |( (___ ( (/ / |_| \____) \_||_| \____) \____) Kevin Waterson Port Macquarie, Australia

Jeremy S. Johnstone

22 years ago
Forgive me for the shameless plug, but since I work for the company who owns the site I couldn't help but throw in you can always post the new articles about PHP5 here: www.devpapers.com Jeremy On Wed, 2003-11-12 at 06:15, Kevin Waterson wrote:

Marco Tabini

22 years ago
Sorry to interject, but shouldn't the feature set be frozen before moving to a release candidate? This stage should mean to people that they can start building software on the new system because all the features are fixed and are not going to change, even though the system may still have bugs and is not yet production ready (in fact, that's what beta should mean, but there was no alpha, so...). Cheers, Marco Andi Gutmans wrote:

Edin Kadribasic

22 years ago
On Tuesday, Nov 11, 2003, at 19:05 Europe/Copenhagen, Andi Gutmans wrote:
> Hey guys, > > I think the PHP 5 tree has matured a lot and it's time to release an > RC. I think end of November or mid-December makes sense. I'd like to > aim at the former date. > Are there any major (as in "major") issues which in your opinion still > need to be dealt with?
Some major win32 build issues that need to be dealt with before RC1: 1. php4 -> php5 rename 2. bundling of libxml2 and dealing with linking issues (static vs. dynamic) 3. getting rid of external dll dependancies (iconv.dll atm) which is related to issue (2) Edin

Olivier Hill

22 years ago
Edin Kadribasic wrote:
> > Some major win32 build issues that need to be dealt with before RC1: > > 1. php4 -> php5 rename
I've submitted different .dsp/.dsw files to fix this problem, and I even posted a diff file to do the same job. No one responded and no one commited it. Oliver
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

Edin Kadribasic

22 years ago
On Wednesday, Nov 12, 2003, at 02:21 Europe/Copenhagen, Olivier Hill wrote:
> Edin Kadribasic wrote: >> Some major win32 build issues that need to be dealt with before RC1: >> 1. php4 -> php5 rename > > I've submitted different .dsp/.dsw files to fix this problem, and I > even posted a diff file to do the same job. No one responded and no > one commited it.
This was entirely my fault. Any chance of getting an updated diff? And I promise it will it will not be overlooked this time :) Edin

Olivier Hill

22 years ago
Edin Kadribasic wrote:
> > This was entirely my fault. Any chance of getting an updated diff? And I > promise it will it will not be overlooked this time :)
I don't blame anyone, I just though the patch wasn't welcome. If you can wait until next Saturday, I'll do my magic again (not really... maybe more of a find and replace thing hehe). For now I have too many Qt stuff to do. Oliver
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

Rob Richards

22 years ago
From: Edin Kadribasic
> Some major win32 build issues that need to be dealt with before RC1: > > 1. php4 -> php5 rename > 2. bundling of libxml2 and dealing with linking issues (static vs. > dynamic) > 3. getting rid of external dll dependancies (iconv.dll atm) which is > related to issue (2)
Took a stab at the libxml2 stuff and ran into a few issues. The biggest issue was iconv. Was hung up on trying to get libxml to link statically to iconv and then re-export its symbols, which could then be re-exported in php4dllts. I got so far to build a custom libxml, as it normally links dynamically to iconv as well as a custom libxslt as we would need a static lib for this which would dynamically link to the libxml symbols exported by php4dllts. All but the iconv linking worked, though to export the libxml2 symbols we would need a def file or include all its headers, otherwise only a subset get exported which a few functions were missing needed by the xsl extension. Edin, could you also update the libxslt you are currently building against? The one you are using is linked against libxml 2.5.4, while the libxml you are using is 2.5.10, which is causing a few minor issues. You can grab the libxslt release built against 2.5.10 at http://www.zlatkovic.com/pub/libxml/oldreleases/libxslt-1.0.32.win32.zip Thanks, Rob

Edin Kadribasic

22 years ago
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 19 November 2003 13:38, Rob Richards wrote:
> All but the iconv linking worked, though to export the libxml2 symbols we > would need a def file or include all its headers, otherwise only a subset > get exported which a few functions were missing needed by the xsl > extension.
Do you think you can maintain PHP's binary of libxml that suits our needs including the .def file. Does any xml we use require libxml2 to be compiled with iconv?
> Edin, > > could you also update the libxslt you are currently building against? The > one you are using is linked against libxml 2.5.4, while the libxml you are > using is 2.5.10, which is causing a few minor issues. You can grab the > libxslt release built against 2.5.10 at > http://www.zlatkovic.com/pub/libxml/oldreleases/libxslt-1.0.32.win32.zip
I'll be upgrading xslt shortly. Edin P.S. Please note change of my email address -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/u2kCoL7jghV9D6gRAvNzAJ41yRD4usrxZzJH5LXqCpfxDo3FBQCgxRDD ZCcGMloiZOANBudX9dQKANM= =3LKf -----END PGP SIGNATURE-----

Rob Richards

22 years ago
From: Edin Kadribasic
> Do you think you can maintain PHP's binary of libxml that suits our needs > including the .def file.
Yes, this shouldnt too difficult once I can get the environment setup for the libxml/libxslt release builds.
> Does any xml we use require libxml2 to be compiled with iconv?
I don't believe so, though I would have to check the extensions. However, removing iconv support will drastically limit the document encodings able to be used with libxml. This may cause issues for internationalization support. Libxml without iconv only supports UTF-8, UTF-16 (LE and BE), ISO-8859-1, ASCII, US-ASCII and HTML.
> I'll be upgrading xslt shortly.
Thanks, Rob

Zeev Suraski

22 years ago
I've been using static builds of iconv and libxml2 for quite some time. Do you need the .dsp's? Zeev At 14:38 19/11/2003, Rob Richards wrote:

Rob Richards

22 years ago
From: Zeev Suraski
> I've been using static builds of iconv and libxml2 for quite some time.
Do
> you need the .dsp's?
Thanks, but other than the iconv question, libxml is the easy part in all of this, unless of course you already have iconv being exported from libxml in the dsp. I believe Edin wants to allow the iconv to be re-exported from libxml and ultimately from php4dllts so that extensions such as iconv could link against that and not be required to include the iconv dll in the package. It was this snag that caused most of the problems. Libxslt was only a minor pain compared to the iconv stuff. Rob