View Single Post
08-19-2009, 01:32 PM
Join Date: Mar 2009
(Salathe: added title so we can keep track)
Here is one that may be a brain teaser ...
Without using the following Control Structures, Operators, print or echo. Create a snippet that while display a list of numbers 0 - 100 and backdown to 100 - 0 using only 3 lines of code in a unordered listed format
Only PHP Counts toward the line count.
Multiple un-nested functions existing on one line are considered a separate line for each function.
All function logic (anonymous and custom) are considered a seperate line from the declaration.
Would be 2 lines
Final Result should be
7 ... etc etc
Need freelance Work?
I've been developing 5 years now, and I learn something new everyday
Last edited by ioan1k : 08-19-2009 at
. Reason: Clarify line count confusion :)
View Public Profile
Send a private message to ioan1k
Visit ioan1k's homepage!
Find More Posts by ioan1k