Re: [PHP-DEV] property registration convenience methods

2003-07-06 Thread Andi Gutmans
Go ahead and commit it! Andi At 03:06 PM 6/7/2003 -0400, George Schlossnagle wrote: I added a convenience method and macros (based largely off of zend_do_declare_property) to ease extensions registering their own default properties. The patch is available at http://www.schlossnagle.org/~georg

[PHP-DEV] CVS Account Request: pjotrik

2003-07-06 Thread Petr Novak
Translating the documentation into Czech Language -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DEV] property registration convenience methods

2003-07-06 Thread George Schlossnagle
I added a convenience method and macros (based largely off of zend_do_declare_property) to ease extensions registering their own default properties. The patch is available at http://www.schlossnagle.org/~george/php/zend_api.patch. If someone (Zeev, Andi?) could look this over and give me the

RE: [PHP-DEV] array_has_more

2003-07-06 Thread James Cox
> > The problem isn't the ending. The problem is that according > to our naming conventions it should be array_foobar() whereas the other > array functions were invented before our conventions and are short names such > as next(). Now on one hand we wouldn't want to pollute the PHP function >

Re: [PHP-DEV] destructor access to constants

2003-07-06 Thread Ulf Wendel
Marcus Börger wrote: Global variables are a bit complicated but constants are either bound to the class so they are obviously available in instance destruction or as in your case they were registered in the global space and hence destructed after all script action is finished which includes automa

[PHP-DEV] CVS Account Request: nathan

2003-07-06 Thread Nathan Sullivan
Have been programming PHP full-time for business purposes and have a very extensive knowledge of the language. Find there are many functions without documentation and would like to contribute to the manual. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://ww

Re: [PHP-DEV] destructor access to constants

2003-07-06 Thread Marcus Börger
Hello Ulf, Sunday, July 6, 2003, 12:27:00 PM, you wrote: UW> Hi, UW> I'm wondering if it's a bug to give automatically called destructors UW> access to constants (PHP Version 5.0.0b1). I'd expect to be neither able UW> to access global variables nor constants after script termination (die()).

[PHP-DEV] destructor access to constants

2003-07-06 Thread Ulf Wendel
Hi, I'm wondering if it's a bug to give automatically called destructors access to constants (PHP Version 5.0.0b1). I'd expect to be neither able to access global variables nor constants after script termination (die()). Ulf $dtor = 'global $dtor variable is visible'; define('DTOR', 'DTOR cons

Re: [PHP-DEV] unsetting class properties

2003-07-06 Thread Zeev Suraski
At 18:36 05/07/2003, Marcus Börger wrote: During a nice chat with Andi both of us came to the conclusion that the user may shoot himself in the knee if he wants to. So we allow unsetting default properties what makes PHP objects a thing between real objects and pure instances. Just for the record,