> in short, functional programming support would have been great in php if it
> had been incorporated early on, at this point i can live without it. if we
> were going to see support for anything anonymous that i would welcome it
> would be anonymous objects and the ability to create an object on
On Tue, Mar 18, 2008 at 10:49 PM, Ray Hauge <[EMAIL PROTECTED]>
wrote:
> Nathan Nobbe wrote:
> > if we were going to see support for anything anonymous that i would
> > welcome it would be anonymous objects and the ability to create an
> > object on the fly from an interface as per java 5.
>
> I'm
Nathan Nobbe wrote:
if we were going to see support for anything anonymous that i would
welcome it would be anonymous objects and the ability to create an
object on the fly from an interface as per java 5.
I'm not sure if this would solve your problem (my lack of java knowledge
is showing),
On Tue, Mar 18, 2008 at 12:07 PM, Ray Hauge <[EMAIL PROTECTED]>
wrote:
> I've been reading up on some of the parts of PHP that has been suggested
> could be improved so that I could be more well informed. One of the
> more "interesting" (for lack of a better word) suggestions is closures.
> I've
I've been reading up on some of the parts of PHP that has been suggested
could be improved so that I could be more well informed. One of the
more "interesting" (for lack of a better word) suggestions is closures.
I've used closures primarily in JavaScript, and they are handy in that
context,
On Jan 16, 2008 1:58 AM, Larry Garfield <[EMAIL PROTECTED]> wrote:
> On Tuesday 15 January 2008, Nathan Nobbe wrote:
>
> > when i said a function would have to be loaded into the interpreter to
> > avoid a runtime error
> > upon invocation, i didnt mention that its best to programatically verify
>
On Tuesday 15 January 2008, Nathan Nobbe wrote:
> when i said a function would have to be loaded into the interpreter to
> avoid a runtime error
> upon invocation, i didnt mention that its best to programatically verify it
> can be called before
> letting the runtime error occur (of course you can
On Jan 15, 2008 7:31 AM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> when i said a function would have to be loaded into the interpreter to
> avoid a runtime error
> upon invocation, i didnt mention that its best to programatically verify
> it can be called before
> letting the runtime error occur (
On Jan 15, 2008 6:51 AM, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Nathan Nobbe schreef:
> > when it comes to create_function(), id say its just as painful as
> building
> > functions with html or writing queries by hand. namely, its prone to a
> lot
> > of string escaping which produces awful har
Nathan Nobbe schreef:
when it comes to create_function(), id say its just as painful as building
functions with html or writing queries by hand. namely, its prone to a lot
of string escaping which produces awful hard to read code. i mean, the
kind of code you write yourself and then look at a w
when it comes to create_function(), id say its just as painful as building
functions with html or writing queries by hand. namely, its prone to a lot
of string escaping which produces awful hard to read code. i mean, the
kind of code you write yourself and then look at a week later and say
'what
On Mon, January 14, 2008 8:13 pm, Larry Garfield wrote:
> On Monday 14 January 2008, Richard Lynch wrote:
>> If you want something that esoteric, go use Lisp. :-)
>
> You are aware that of the "modern" web languages (PHP, Javascript,
> Python,
> Ruby, etc.) PHP is the only one that doesn't have at
On Monday 14 January 2008, Richard Lynch wrote:
> And, actually, the implementation that seemed to get the most
> approbation was a simple way to create a function as a kind of a
> resource (like a MySQL connection resource) and then you could pass it
> around and use it.
>
> It still didn't have
On Thu, January 10, 2008 4:22 am, John Papas wrote:
> Is there any functionality in PHP similar to closures?
Sort of.
There is a create_function:
http://php.net/create_function
> Are there any plans to add it..?
There was discussion on the php-internals list last week about
replacing create_fun
John Papas schreef:
> Is there any functionality in PHP similar to closures?
>
> Are there any plans to add it..?
read the archives of the php internals or all posts pertaining to closures,
that will answer all your questions.
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Is there any functionality in PHP similar to closures?
Are there any plans to add it..?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
16 matches
Mail list logo