Re: [PHP-DEV] Namespaces patch backport

2007-07-31 Thread David Duong
"internals-newb" answer. AFAIK namespaces was a feature originally planned for PHP 5. I believe the most important long term advantage is simply that projects using PHP 5 do not have to wait approx. 10 years (pure guestimation) until PHP 6 is widely supported to be able to begin to use namespac

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-30 Thread David Duong
Stanislav Malyshev wrote: I think the only serious advantage I could see would be to allow context-assistance IDEs more data, so they could provide method-completion. PHPDoc does that with @return tag. True but there will be times when the documentation is wrong[1] or when the function retur

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-30 Thread David Duong
Stanislav Malyshev wrote: It would give you similar benefits to input type hinting, but instead of "Functions are now able to force parameters to be objects...", it would also read "Calling functions are now able to expect return types to be objects...". If a function was defined to return obje

Re: [PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-27 Thread David Duong
It would give you similar benefits to input type hinting, but instead of "Functions are now able to force parameters to be objects...", it would also read "Calling functions are now able to expect return types to be objects...". If a function was defined to return object Z, but instead returned

[PHP-DEV] Re: Type-hinted return values in PHP5?

2007-07-18 Thread David Duong
Since there isn't any comments on this, should I have posted this elsewhere? or is it just that no one is interested? David Duong wrote: Hello everyone, I'm emailing to this list to suggest that "support for type-hinted return values"[1] be in added in PHP 5.

[PHP-DEV] Type-hinted return values in PHP5?

2007-07-17 Thread David Duong
Hello everyone, I'm emailing to this list to suggest that "support for type-hinted return values"[1] be in added in PHP 5.y.x instead of PHP 6. Conceptually, this is the second half of "type-hints" already introduced in PHP 5. This is why: When a programmer is designing an interface (the lan

Re: [PHP-DEV] GSoC idea proposal for a new PHP project

2007-03-28 Thread David Duong
Please ignore all the redundant statements in my first paragraph >.<, I'm not sure why it came out to be like that.. David Duong wrote: Hello everyone and thanks for the reminder Marcus, This is just a follow up of what I posted earlier in this thread. Instead of submitting m

Re: [PHP-DEV] GSoC idea proposal for a new PHP project

2007-03-28 Thread David Duong
, SQLite, PgSQL and MSSql. Even though the application has already been submitted, I would appreciate any comments or suggestions about this project. Regards, David Duong Marcus Boerger wrote: Hello David, remember that the deadline for submitting projects is monday. best regards marcus

[PHP-DEV] Re: Fatal Error on pecl.php.net and bugs.php.net not responding

2007-03-25 Thread David Duong
It seems to be working now. - David Jakob Buchgraber wrote: Hey! When using the search on pecl.php.net I get a PHP fatal error. I actually wanted to file a bug, but http://bugs.php.net is not responding. I queried for APC using the package search: http://pecl.php.net/package-search.php?pkg

[PHP-DEV] GSoC idea proposal for a new PHP project

2007-03-24 Thread David Duong
he right mentoring organization to apply to. Although it doesn't add to the PHP project itself, except to be a test case itself for PHP5 and possibly PHP6. I should end the email here, but I'll provide a schedule, progress indicators, bio, etc in the Google SoC application. Regards,