Quote:
Originally Posted by coreys
Shortened
PHP Code:
function onCreated(){temp.s="function onCreated(){temp.s=\"%s\";temp.s=format(temp.s,temp.s);echo(temp.s);}";temp.s=format(temp.s,temp.s);echo(temp.s);}
(It may not be -exactly- the same, but I think the lack of escaped quotes in the output is acceptable)
I propose the next exercise be a function generate prime numbers (with an arbitrary upper limit).
|
That was what I originally had, but it wasn't a true replication so I had go to the way I did with the quote variable. Ideally you should be able to paste your output, apply and have it still working.