[PEPr] Comment on PHP::PHP_Callback
| From: | Joshua Eichorn | Date: | Thu, 03 May 2007 17:02:37 +0000 |
| Subject: | [PEPr] Comment on PHP::PHP_Callback | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-46587@lists.php.net to get a copy of this message | ||
Joshua Eichorn (http://pear.php.net/user/jeichorn) has commented on the proposal for
PHP::PHP_Callback.
Comment:
In the future lets try to keep our comments constructive. Our goal isn't
to chase away everyone who wants to join PEAR its to get fresh blood and
useful packages in.
I see another benefit being that the validity of the callback is tested at
creation time, where you could actually do something about it failing
instead of at call time, and only if the user remembers to use is_callable
Joe: as far as I know a callback in userland is just a string or an array
not a separate data type
Proposal information:
http://pear.php.net/pepr/pepr-proposal-show.php?id=482
--
Sent by PEPr, the automatic proposal system at http://pear.php.net