View Single Post
Old 08-19-2009, 02:04 PM   #18 (permalink)
ioan1k
The Contributor
 
ioan1k's Avatar
 
Join Date: Mar 2009
Location: US
Posts: 76
Thanks: 0
ioan1k is on a distinguished road
Default

Taking a second look, while your code does produce the output, it would be considered 8 lines. Logic performed for anonymous functions would be coded in the same manner as a any other function ... also per the PHP Doc's this is the manner it is done.

http://us2.php.net/manual/en/functions.anonymous.php

Also what about
Code:
<ul> </ul>
?
__________________
My Portfolio - Work - Need freelance Work?
I've been developing 5 years now, and I learn something new everyday
ioan1k is offline  
Reply With Quote