There’s a bunch of memes on Twitter, many of them relating to songs & bands. Most are rubbish, but some can be a lot of fun. This is just one of them.

The #songsincode takes a song and puts it into some sort of (syntactically accurate) code. Kinda like those literal song lyrics a while back, only with code. Anyway, here’s my offering. “Three is the magic number” by Embrace & Blind Melon. Apologies for syntax errors now to people like Jem.


define(MAGIC_NUMBER, 3);

if (MAGIC_NUMBER == 3 && (preg_match (MAGIC_NUMBER, $ancient_mystic_trinity))
{

$past + $the_present + $the_future + $faith + $hope + $charity + $heart + $brain + $body = MAGIC_NUMBER;
$tripod = requires(MAGIC_NUMBER);
$table = requires(MAGIC_NUMBER);
$tricycle = requires(MAGIC_NUMBER);
$family = requires(MAGIC_NUMBER);

while ($i=1;$i<10;$i++)
{
echo 3 * $i;
}

while ($i=10;$i>10;$i--)
{

echo "3x" . $i . " is " . 3 * $i;

}

while ($i=1;$i<6;$i++)
{

echo 3 * $i;

}

while ($i=10;$i>10;$i--)
{

echo "3x" . $i . " is " . 3 * $i;

}

$family = requires(MAGIC_NUMBER);

define(MAGIC_NUMBER, 3);

}

Hell, Sitepoint are jumping on the act. Leave yours, or some of your favourites, in the comments!

Edit: One more. It’s a Cure song:-


if ($monday == "#0000FF" || $monday != "#0000FF")
{
 if ($tuesday == "#CCCCCC" && $wednesday == 2)
 {
 if ($thursday != "care about you")
 {
 $friday = "I'm in love";
 }
 }
}

$monday = "you fall apart";
$tuesday.myheart = break();
$wednesday.myheart = break();
if ($i == 1 && $i != 1)
{
 $thursday.start();
}
$friday = "I'm in love";

$saturday.wait();

if ($sunday == "comes too late")
{
 $sunday != "comes too late";
}

if ($i == 1 && $i != 1)
{
 $friday = "hesitate";
}

if ($monday == "#000000" || $monday != "#000000")
{
 if ($tuesday == "heart attack" && $wednesday == "heart attack")
 {
 if ($thursday != "looking back")
 {
 $friday = "I'm in love";
 }
 }
}

$monday = "hold your head";
$tuesday = "stay in bed";
$wednesday = "stay in bed";
$thursday = "watch the walls instead";
$friday = "I'm in love";

Tags: , , | Comments: 2 Comments

 
 

2 Comments

  1. Guy says:

    what….

    the….

    fuck!?

  2. Tom Hawkey says:

    Im sure this is hilarious…

    …i just cant join in





Subscribe to the comments on this post | Trackback URL

 
About Rhys

Rhys Wynne, the author of this blog, is a 20 something web designer from Colwyn Bay. Go to my favourite posts

Find out More

On Social Networks

Facebook Twitter Youtube Facebook Fan Page Linked In StumbleUpon Digg Delicious Myspace last.fm dopplr Problogger Blog Engage Problogger

Facebook
Twitter
Youtube
Facebook Fan Page
Digg
Delicious
Myspace
last.fm
Dopplr
StumbleUpon
Problogger.com Forums
Playfire
Blog Engage
Linked In

 

Sponsors