Hi! On 8/4/11 12:31 AM, dukeofgaming wrote:
I've always thought that just supressing the "function" keyword could work as a shorthand, i.e. having ([param1 [, param2 [, ...]]]){...}. Somewhat similar to Ruby's lambda shorthand: http://slideshow.rubyforge.org/ruby19.html#40
My opinion is that when almost any mix of alphanumeric and non-alphanumeric characters becomes a valid syntax in the language, it's taking it a bit too far :)
-- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php