Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP is awesome

Name: Anonymous 2007-08-28 17:56 ID:xY3vpdBA

This is how you create a anonymous function in PHP:

$newfunc = create_function('$a,$b', 'return "ln($a) + ln($b) = " . log($a * $b);');


Name: Anonymous 2007-08-30 11:15 ID:DLtHHP7w

>>28

function(n){
 return n==1?1:(f=function(f,n){return n*f.caller(n-1)})(f,n);
}

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List