Mombu the Php Forum

Go Back   Mombu the Php Forum > Php > PHP Brain Teasers
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 8th November 03:50
parasane
External User
 
Posts: 1
Default PHP Brain Teasers



They're baaaack!

This was something that came to mind when discussing loop
detection in language processing.

<?
function wheel($test) {
if($test == 1) {
return 1;
} else {
$insanity = "Same result.";
wheel(0);
} } wheel(0);
?>

--
Daniel P. Brown
[Phone Numbers Go Here!]
[They're Hidden From View!]

If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666