Re: [PHP-DEV] private, protected, readonly, public

2006-05-17 Thread Jared White
On May 17, 2006, at 2:25 PM, Stanislav Malyshev wrote: This would be, however, yet another level of complexity added to the language... OOP is already a level of complexity. If you're going to have OOP in the language, it needs to support at least the standard needs that developers have w

Re: [PHP-DEV] Seeking 'coalesce' php internal function

2006-05-04 Thread Jared White
On May 4, 2006, at 2:06 PM, Pierre wrote: On Thu, 04 May 2006 14:27:09 -0500 [EMAIL PROTECTED] ("D. Dante Lorenso") wrote: Detracting from my goal of having 'filled()' included in core, I'd have to say that as I see input filtering defined, that could be entirely written as part of Zend Framew

Re: [PHP-DEV] Give the Language a Rest motion

2006-03-09 Thread Jared White
Sure, after you folks implement named parameters. :) *ducks and tries to hide* Jared On Mar 9, 2006, at 2:57 AM, Zeev Suraski wrote: I'd like to raise a motion to 'Give the Language a Rest'. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/u

Re: [PHP-DEV] Re: Named arguments revisited

2006-01-13 Thread Jared White
While ideally it'd be nice to have named parameters used in the core of PHP, I realize that's probably an impossible task at the moment. So I agree that the main goal is to allow users to define APIs in PHP using this feature. If that's all we had, it'd be good enough I think. (At least, it

Re: [PHP-DEV] Re: Named arguments revisited

2006-01-12 Thread Jared White
On Jan 12, 2006, at 7:22 AM, Ilia Alshanetsky wrote: Aidan Lister wrote: As useful functions tend to increase in complexity over time, often so does the number of parameters. It soon gets to the point where function calls look like: foo(true, false, false, false, false, true) The rest of the

Re: [PHP-DEV] Named arguments revisited

2005-12-01 Thread Jared White
On Dec 1, 2005, at 11:16 AM, Sebastian Kugler wrote: On 12/1/05, Jared White <[EMAIL PROTECTED]> wrote: I still say its main selling point is that the calling code is its own API documentation. why don't you just write something like cycle(/* name: */ "myCycle", /

Re: [PHP-DEV] Named arguments revisited

2005-12-01 Thread Jared White
On Dec 1, 2005, at 6:59 AM, Christian Schneider wrote: Ron Korving wrote: Named parameter example: Your example misses the main advantage of named parameters IMHO: Sets of parameters you don't want to or can't explicitely list because they are not know yet. function adduser($params)

Re: [PHP-DEV] Named arguments revisited

2005-11-30 Thread Jared White
On Nov 30, 2005, at 1:50 PM, Andrei Zmievski wrote: Can you explain your reasoning behind "essential for using PHP as a solid templating language" and "nothing is a good substitute for the real deal"? - Andrei OK, to take an example from Smarty, you could do a value cycle (for multi-row-

[PHP-DEV] Named arguments revisited

2005-11-29 Thread Jared White
Hi folks, I just got on the list -- I've been a big fan of PHP for several years and am throughly enjoying PHP 5. Good work folks, and once I can get 5.1 set up on my OS X box I'm sure it's be even better. I've been very interested in hearing about PHP 6 feature discussions, and the meeti