Re: [PHP] PHP4 vs. PHP5 test case for objects question.....

2004-02-17 Thread Adam Bregenzer
Richard, On Tue, 2004-02-17 at 19:25, Richard Gintz wrote: > Using the exact same code, I created 50 objects. It took twice as > long in php5 as it did in the older php4. >From what I remember the speed improvement with objects in PHP 5 was that they would be passed by reference, which I under

[PHP] PHP4 vs. PHP5 test case for objects question.....

2004-02-17 Thread Richard Gintz
I ran a test on the same machine for php4(port 80) vs. php5(port 8080).   Using the exact same code, I created 50 objects.  It took twice as long in php5 as it did in the older php4.    I then ran a test to access a property of the class using a method of the class.  Again, php5 was almost