Jump to content

If PHP Were British


Adam

Recommended Posts

LMAOOOOOOOOOOOOOOOOOOO

 

    perchance (£condition) {
    // Code here
    } otherwise {
    // Code here
    }

 

Splendid, HAHHAHHHHHHAHAHA

 

    what_about (£variable) {
    perhaps £possibility:
    //Code here
    splendid;
    perhaps £other_possibility:
    //Code here
    splendid;
    on_the_off_chance:
    //Code here
    splendid;
    }

 

this was the funniest. php seems to have no manners!

 

    would_you_mind {
    // Code here
    } actually_i_do_mind (Exception £e) {
    // Politely move on
    cheerio('Message');
    }

Link to comment
https://forums.phpfreaks.com/topic/245666-if-php-were-british/#findComment-1261773
Share on other sites

That's my code.

 

I would also like to add:

 

<?php
for($x = 1; $x <= 10; $x++) {
print $x;
}
exit();
?>

 

<?php
/* poor person has no money */
£x = 0;
go_around_until(£x is_equal_to 10) {
display £x;
add_to(£x,1);
}
goodday();
?>

Link to comment
https://forums.phpfreaks.com/topic/245666-if-php-were-british/#findComment-1263666
Share on other sites

Imagine if it were written by a New Yorker? The if/elseif/else conditional may have been this:

 

hows_about_dis( condition ) {
     //code here
} not_dat_huh_maybe_dis( condition ) {
     // code here
} none_of_dem {
    // go fuck ya'self
}

 

Or a Texan?

 

echo

y'all_listen_up_now "Howdy folks!";

 

if/elseif/else

you_reckon( condition ) {
     // Much obliged
} alright_well_maybe_you_might_could_do_this_instead( condition ) {
     // That dog'll hunt
} you_must_be_a_yankee {
     // Don't fret none about it, ya hear?
}

Link to comment
https://forums.phpfreaks.com/topic/245666-if-php-were-british/#findComment-1267887
Share on other sites

  Quote
Or a Texan?

 

echo

y'all_listen_up_now "Howdy folks!";

 

if/elseif/else

you_reckon( condition ) {
     // Much obliged
} alright_well_maybe_you_might_could_do_this_instea d( condition ) {
     // That dog'll hunt
} you_must_be_a_yankee {
     // Don't fret none about it, ya hear?
}

And the function names are bigger, because everything is bigger in TX, is it not? ;)

Link to comment
https://forums.phpfreaks.com/topic/245666-if-php-were-british/#findComment-1267898
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.