Check It Yeah, It's On

6Nov/110

Code Poetry: It’s not the size of the dog in the fight, it’s the size of the fight in the dog

"It's not the size of the dog in the fight, it's the size of the fight in the dog."
-Mark Twain

<?php
$fight = new stdClass();
$fight->dog = array(
	"large dog", 
	"big dog"
);

$dog = new stdClass();
$dog->fight = array(
	"determination", 
	"perseverance", 
	"refuse to quit", 
	"strive for your dreams"
);

if (sizeof($fight->dog) > sizeof($dog->fight)) {
    echo "It's not this";
}

if (sizeof($fight->dog) < sizeof($dog->fight)) {
    echo "It's this";
}

// Mark Twain
?>
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.