Re: [PHP-DEV] [RFC] APC/PHP Lazy Loading

2009-02-21 Thread shire
Hi Ronald, Ronald Chmara wrote: Wait... so if I understand this right, let's envision a code base where, per some random page load, 70 functions are actually called, but, oh, 7,000, or even 700,000, are being included for whatever reason? The speed optimization is in *not* copying a massive am

[PHP-DEV] New INIs, Round Three

2009-02-21 Thread Eric Stewart
I made the following changes to the new INIs based on feedback mostly from this list. Here are the changes. 1. Changed production value of error_reporting to E_ALL & ~E_DEPRECATED. 2. extension_dir is now commented in both INIs. 3. enable_dl is now set to Off in both INIs. This was not added to t

Re: [PHP-DEV] [RFC] APC/PHP Lazy Loading

2009-02-21 Thread Ronald Chmara
On Feb 21, 2009, at 4:10 PM, shire wrote: I've just checked into APC CVS preliminary support for Lazy Loading classes and functions. This means that rather than copying function entries into EG(function_table) and EG(class_table) when an include happen it will mark the functions/classes as

[PHP-DEV] [RFC] APC/PHP Lazy Loading

2009-02-21 Thread shire
I've just checked into APC CVS preliminary support for Lazy Loading classes and functions. This means that rather than copying function entries into EG(function_table) and EG(class_table) when an include happen it will mark the functions/classes as available and only actually insert them into

Re: [PHP-DEV] phar update

2009-02-21 Thread Steph Fox
Hi Kalle, and in 124 tests fails for in HEAD, instead of writing an insanely long list here, I have zipped both the test log and diffs for 5.3 and HEAD which can be downloaded here: Yeah, that's normal - most of Phar doesn't work yet in HEAD. Thanks! - Steph -- PHP Internals - PHP Runtime D

Re: [PHP-DEV] phar update

2009-02-21 Thread Kalle Sommer Nielsen
Seems like gmail did not include my link for whatever reason, so here it is again: http://www.tuxxedo.net/php/phar-tests.zip -- Kalle Sommer Nielsen ka...@php.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] phar update

2009-02-21 Thread Kalle Sommer Nielsen
Hi Greg 2009/2/21 Greg Beaver : > Hi, > > [snip] Good work! > > I do need some help verifying phar as working with the following > configurations: > > any endian any unix with intel CC > any Windows Vista > 64-bit Windows XP > any other supported OS/compiler/processor combo I didn't list. I tes

Re: [PHP-DEV] Adding/Updating ZVal Arrays to Object

2009-02-21 Thread Matthew C. Rice
Marcus, Thanks a bunch! I had a similar style pdf I found on the pecl site titled 200510_zend_conf_php_extension_development.pdf , but it was lacking a little on OOP. This looks like exactly what I needed. Between this and the Sara Golemon book I hope to fill a major gap.. Thanks again !!

Re: [PHP-DEV] zend_call_method() - support for up to 4 parameters

2009-02-21 Thread Pierre Joye
On Sat, Feb 21, 2009 at 1:05 PM, Marcus Boerger wrote: > Hello Pierre, > > Thursday, February 19, 2009, 12:22:41 PM, you wrote: > >> hi, > >> On Thu, Feb 19, 2009 at 11:57 AM, Johannes Schlüter wrote: > >>> ps. I'm aware of the fact that we added some specific APIs in special >>> cases in bug fix

Re: [PHP-DEV] phar update

2009-02-21 Thread David Coallier
> > When I say working, I mean 100% of non-skipped tests passing, no compile > warnings. The tests exert 80% code coverage, mostly leaving untestable > stuff like errors that are only likely to occur when the disk crashes. > Seriously well done! Kudos -- Slan, David -- PHP Internals - PHP Run

Re: [PHP-DEV] phar update

2009-02-21 Thread Marcus Boerger
Hello Greg, in one word: Awesome! Saturday, February 21, 2009, 4:36:38 AM, you wrote: > Hi, > As PHP has the good fortune of being blessed with Scott MacVicar who > connected me with the ppc64 test machine provided by IBM and the sparc > machine provided by Sun through David Soria-Parra (than

Re: [PHP-DEV] Adding/Updating ZVal Arrays to Object

2009-02-21 Thread Marcus Boerger
Hello Matthew, I gave a bunch of tutorials on this with various other folks, Johannes, Sara, Wez. The slides from November 2007 are still up and contain probably more information than you ever wanted to know. There is also the demo extension that you can access through cvs. http://talks.somab

Re: [PHP-DEV] zend_call_method() - support for up to 4 parameters

2009-02-21 Thread Marcus Boerger
Hello Pierre, Thursday, February 19, 2009, 12:22:41 PM, you wrote: > hi, > On Thu, Feb 19, 2009 at 11:57 AM, Johannes Schlüter wrote: >> ps. I'm aware of the fact that we added some specific APIs in special >> cases in bug fix releases before, but there's a difference between >> adding APIs an

Re: [PHP-DEV] phar update

2009-02-21 Thread Felipe Pena
Em Sex, 2009-02-20 às 21:36 -0600, Greg Beaver escreveu: > Hi, > > As PHP has the good fortune of being blessed with Scott MacVicar who > connected me with the ppc64 test machine provided by IBM and the sparc > machine provided by Sun through David Soria-Parra (thank you thank you > thank you), ph