# Anonymous Function

- Thread: https://externals.io/message/42012
- Original archive: https://news-web.php.net/php.internals/42012
- Started by Kenan R Sulayman on 2008-11-21T19:27:11+00:00
- Messages: 5
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #42012 — Kenan R Sulayman — 2008-11-21T19:27:11+00:00

URL: https://externals.io/message/42012#42012

Hey out there!
I've got a maybe simple question:
Where the point of not implementing anonymous functions in php alike
javascript?

Par example:
As normally used:
<?
    $c = create_function(~, ~);
?>
Suggestion:
<?
    $c = function (~) { ~ }
?>

> More Simple, have a better point of view and a bit easier. <

Your,
--
(c) Kenan Sulayman
Freelance Designer and Programmer

Life's Live Poetry

---

## #42013 — James Logsdon — 2008-11-21T19:34:30+00:00

URL: https://externals.io/message/42012#42013 · In reply to: #42012

PHP 5.3 has anonymous functions.

James Logsdon


On Fri, Nov 21, 2008 at 2:27 PM, Kenan R Sulayman <kureal@kkooporation.de>wrote:

> Hey out there!
> I've got a maybe simple question:
> Where the point of not implementing anonymous functions in php alike
> javascript?
>
> Par example:
> As normally used:
> <?
>    $c = create_function(~, ~);
> ?>
> Suggestion:
> <?
>    $c = function (~) { ~ }
> ?>
>
> > […]
>
> Your,
> --
> (c) Kenan Sulayman
> Freelance Designer and Programmer
>
> Life's Live Poetry

---

## #42014 — Kenan R Sulayman — 2008-11-21T19:44:36+00:00

URL: https://externals.io/message/42012#42014 · In reply to: #42013

Well, then excuse moi!
I did not realize the power of php 5.3, yet.

Thanks,
--
(c) Kenan Sulayman
Freelance Designer and Programmer

Life's Live Poetry

---

## #42016 — Kalle Sommer Nielsen — 2008-11-22T04:28:43+00:00

URL: https://externals.io/message/42012#42016 · In reply to: #42014

Ho

2008/11/21 Kenan R Sulayman <kureal@kkooporation.de>:
> Well, then excuse moi!
> I did not realize the power of php 5.3, yet.

Its still not documented yet, but if you wanna read more about
Closoures in PHP then its RFC might be worth reading:
http://wiki.php.net/rfc/closures

>
> Thanks,
> --
> (c) Kenan Sulayman
> Freelance Designer and Programmer
>
> Life's Live Poetry
>



-- 
Kalle Sommer Nielsen

---

## #42018 — Kenan R Sulayman — 2008-11-22T16:00:14+00:00

URL: https://externals.io/message/42012#42018 · In reply to: #42016

Dear Kalle,
Thank you, too - for these nice references.

Your,
--
(c) Kenan Sulayman
Freelance Designer and Programmer

Life's Live Poetry
