Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-27 Thread Nathan Nobbe
Stut wrote: Just wanted to pick you up on this. PHP is the only language you've listed that only has a single implementation. There are implementations of C++ compilers that are writting in other languages. I can't speak for Java since I have little experience but I'd be surprised if all

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-26 Thread Stut
Nathan Nobbe wrote: look at C++, Java, and PHP. these languages are all written in C; Just wanted to pick you up on this. PHP is the only language you've listed that only has a single implementation. There are implementations of C++ compilers that are writting in other languages. I can't

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-26 Thread Richard Lynch
On Fri, August 24, 2007 10:11 am, Steve Brown wrote: html head titlePHP Web Server Test/title /head body ?php phpinfo(); ? /body /html phpinfo(), which should never be called in a production setting, is quite possibly the worst benchmark function you could choose. :-) :-) :-) I ran

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-26 Thread Richard Lynch
On Sat, August 25, 2007 9:45 am, Robert Cummings wrote: PHP4 AND PHP5 developers don't even use OOP. Tell me what is compelling in PHP5 that doesn't rely on you being an OOP developer? The XML stuff, if you need to parse XML a lot, which is not exactly a niche market, but not everybody needs

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-26 Thread Richard Lynch
On Sat, August 25, 2007 11:56 am, Nathan Nobbe wrote: so we would really have to dig deeper for a definition of 'basic oop' / 'true oop' etc. I'll consider PHP true OOP when PECL has a Lisp extension for me to write REAL oop code :-) Actually, that could be a kind of fun extension to write...

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
i dont know Robert; i think it depends upon the structure of ones business. for instance; i work for a company full time, and have a start up of my own. in both of those situations there is no impact on the client in the act of eliminating php4 from the product implementation. the clients never

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Robert Cummings
On Sat, 2007-08-25 at 09:38 -0400, Nathan Nobbe wrote: i dont know Robert; i think it depends upon the structure of ones business. for instance; i work for a company full time, and have a start up of my own. in both of those situations there is no impact on the client in the act of

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
yes, i agree, people wont be all-of-a-sudden ignoring php4, but the notice on php.net says to migrate apps to 5 through the rest of the yaer. id say thats ample time to move away from it. pretty much all of my applications rely on php5 features except those where the system was running on php4

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Robert Cummings
On Sat, 2007-08-25 at 10:33 -0400, Nathan Nobbe wrote: yes, i agree, people wont be all-of-a-sudden ignoring php4, but the notice on php.net says to migrate apps to 5 through the rest of the yaer. id say thats ample time to move away from it. Migrate doesn't necessarily mean ditching PHP4

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
Robert, C is a low-level language whereas php is a high level language. ill admit it openly, i am biased toward oop / design patterns. and i think what i boils down to is what you view as 'icing' i view as 'bread-and-butter' ;) personally i shudder when i see a big pile of usntructured code, or

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Robert Cummings
On Sat, 2007-08-25 at 10:57 -0400, Nathan Nobbe wrote: Robert, C is a low-level language whereas php is a high level language. ill admit it openly, i am biased toward oop / design patterns. and i think what i boils down to is what you view as 'icing' i view as 'bread-and-butter' ;) I've

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
agreed :) On 8/25/07, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2007-08-25 at 10:57 -0400, Nathan Nobbe wrote: Robert, C is a low-level language whereas php is a high level language. ill admit it openly, i am biased toward oop / design patterns. and i think what i boils down to

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Larry Garfield
On Saturday 25 August 2007, Robert Cummings wrote: Rewriting? You're assuming developers of PHP4 are using all of the features in PHP5 but written using PHP4 code. That's not a very valid assumption. You're also assuming they didn't already have code written in PHP4 that was then duplicated b

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Robert Cummings
On Sat, 2007-08-25 at 11:09 -0500, Larry Garfield wrote: On Saturday 25 August 2007, Robert Cummings wrote: Rewriting? You're assuming developers of PHP4 are using all of the features in PHP5 but written using PHP4 code. That's not a very valid assumption. You're also assuming they didn't

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
i know this thread started off about a performance comparison, but it is already grown into much more. suffice it to say that i consider the oop capacity of php4 nothing more than a stepping stone on the way to php5. i dont know of all the oop languages out there. mostly i have worked w/ c++ and

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Larry Garfield
Robert and everyone: PLEASE do not reply to list AND the sender, at least not when I'm the sender. I don't need double copies of every message in every thread I participate in. Thanks. On Saturday 25 August 2007, Robert Cummings wrote: There is no way to respond to the above request,

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Robert Cummings
On Sat, 2007-08-25 at 12:28 -0500, Larry Garfield wrote: Robert and everyone: PLEASE do not reply to list AND the sender, at least not when I'm the sender. I don't need double copies of every message in every thread I participate in. Thanks. Sorry I've been hitting reply-all since I first

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Nathan Nobbe
i dont know what all this goPHP5 stuff is about. all i know is there was an announcment on php.net a few weeks back saying php4 is deprecated and it soon will be made obsolete. -nathan On 8/25/07, Robert Cummings [EMAIL PROTECTED] wrote: On Sat, 2007-08-25 at 12:28 -0500, Larry Garfield wrote:

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Larry Garfield
On Saturday 25 August 2007, Nathan Nobbe wrote: i dont know what all this goPHP5 stuff is about. all i know is there was an announcment on php.net a few weeks back saying php4 is deprecated and it soon will be made obsolete. -nathan That announcement came a week after this site launched:

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-25 Thread Robert Cummings
On Sat, 2007-08-25 at 14:26 -0500, Larry Garfield wrote: On Saturday 25 August 2007, Nathan Nobbe wrote: i dont know what all this goPHP5 stuff is about. all i know is there was an announcment on php.net a few weeks back saying php4 is deprecated and it soon will be made obsolete.

[PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Steve Brown
Recently, I've been doing a lot of benchmarking with Apache to compare different OSes and platforms. I did a stock install of Ubuntu 7.04 Server w/ Apache2 and PHP5. To do the test, I used ab to fetch the following document: html head titlePHP Web Server Test/title /head body ?php phpinfo(); ?

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Nathan Nobbe
what are the changes that supposedly make php5 faster than php4? when java went from the 1.4 series to the 5 series it became much faster. this is because of enhancements to the jitter mechanism for sure. i dont know what else they changed, but i know that had a great impact on the performance.

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Robert Cummings
PHP5 being faster than PHP4 is greatly dependent on what features you use. I've consistently found PHP4 to be faster for my purposes also. Cheers, Rob. On Fri, 2007-08-24 at 11:38 -0400, Nathan Nobbe wrote: what are the changes that supposedly make php5 faster than php4? when java went from

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Greg Donald
On 8/24/07, Steve Brown [EMAIL PROTECTED] wrote: The only difference I can figure is that PHP5 was the packaged version that comes with Ubuntu and I had to compile PHP4 from source since there is no package for it in Feisty. But I wouldn't expect a 50% increase as a result of that. Any

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Robert Cummings
On Fri, 2007-08-24 at 12:24 -0500, Greg Donald wrote: On 8/24/07, Steve Brown [EMAIL PROTECTED] wrote: The only difference I can figure is that PHP5 was the packaged version that comes with Ubuntu and I had to compile PHP4 from source since there is no package for it in Feisty. But I

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Lester Caine
Greg Donald wrote: On 8/24/07, Steve Brown [EMAIL PROTECTED] wrote: The only difference I can figure is that PHP5 was the packaged version that comes with Ubuntu and I had to compile PHP4 from source since there is no package for it in Feisty. But I wouldn't expect a 50% increase as a result of

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Larry Garfield
On Friday 24 August 2007, Lester Caine wrote: What would be interesting is if a group picked up PHP4 and kept going with it in spite of the end of life announcement a few weeks back. I wonder if the PHP license would allow such a thing. How open is it exactly? The PROBLEM is that

Re: [PHP] PHP4 vs PHP5 Performance?

2007-08-24 Thread Robert Cummings
On Sat, 2007-08-25 at 00:28 -0500, Larry Garfield wrote: On Friday 24 August 2007, Lester Caine wrote: What would be interesting is if a group picked up PHP4 and kept going with it in spite of the end of life announcement a few weeks back. I wonder if the PHP license would allow such a

[PHP] PHP4 VS PHP5 Performance

2006-02-06 Thread Ray Hauge
Hello all, I've been poking around a little bit, and I haven't found a good link for showing the performance differences between the two versions of PHP. Mostly I was just curious what the numbers were. I've heard some conflicting opinions on the matter, and wanted to clear it up with some