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

 

Related Posts


    Fatal error: Call to undefined function related_posts() in /home/gospelrh/public_html/wp-content/themes/mergerofjuneandjuly/single.php on line 28