Results 1 to 6 of 6

Thread: PHP Poem

  1. #1
    Join Date
    Sep 2003
    Posts
    3,040

    Default PHP Poem

    A sad poem of an algorithm where solitude brought excessive use of cpu
    cycles and memory allocation for redundant data (it copied over and over
    again the same image till all memory was filled with it)

    ——————————

    $timeWaiting = 0;
    while (!$you->near($me)) {
    $me->thinkAbout($you);

    switch (true) {
    case $timeWaiting < 5:
    $me->wait($you);
    break;

    case $timeWaiting < 10:
    $me->worry();
    break;

    case $timeWaiting < 20:
    $me->lookFor($you);
    break;

    case $timeWaiting < 40:
    $me->worry();
    $me->lookFor($you);
    break;

    case $timeWaiting < 80:
    $me->worry();
    $me->cry();
    $me->lookFor($you);
    $me->lookFor($you);
    $me->lookFor($you);
    break;

    case $timeWaiting < 160:
    $me->worry();
    $me->cry();
    $me->drink();
    $me->lookFor($you);
    $me->lookFor($you);
    $me->lookFor($you);
    $me->thinkAbout($you);
    $me->thinkAbout($you);
    $me->cry();
    $me->lookFor($you);
    $me->lookFor($you);
    $me->drink();
    $me->drink();
    break;

    default:
    throw new CantLiveWithoutYou();
    die(”alone”);
    }

    $timeWaiting++;
    }

    $me->happy = true;
    Become PHP Expert in 30 days
    FreeMarriage.com - Free Online Matrimonial
    FlashWebHost.com - Professional Web Hosting, Designing.

  2. #2
    Join Date
    Jul 2006
    Posts
    5

    Default

    what computers does to people... sad and funny :lol:

  3. #3
    Join Date
    Aug 2006
    Location
    Salem, MO
    Posts
    6

    Default

    lol...

    that's great. :P

  4. #4
    Join Date
    Nov 2005
    Location
    AT DORRS NEAR HEAVEN
    Posts
    2,074

    Default

    THANKS NOKIA
    A RARE ONE

  5. #5
    Join Date
    Aug 2006
    Posts
    3

    Default lol

    LOLZ!!

    That's cool

  6. #6
    Join Date
    Apr 2006
    Posts
    13

    Default Thanks but help needed

    Friend Your Poem Is very Nice.
    But I want to tell you that I m new to Php & want to learn more.
    Will you gide me to learn this quickly by providing links and material to learn this.


    The current aim is t make a web site from where any body can send e-mail easily.


    Thanks....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •