MW>>  function adder($a) {return function($b) {return $a+$b;}}

As opposed to:

function adder($a) { return create_function('$b', 'return 
'.(integer)$a.'+$b;'); }

Former form may be a bit prettier, but no substantial difference here. 

-- 
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to