If PHP were British

When Rasmus Lerdorf first put PHP together, he opted for that bastard dialect of the Queen’s English commonly referred to as “US English”. PHP developers in Britain have been grumpy about this ever since. What was he thinking? And more importantly, how do we undo this travesty?

An attempt to adapting the PHP syntax to the words of Shakespeare. The resulting syntax is hilarious. Instead of:

[php]
if ($condition) {
// Code here
} else {
// Code here
}
[/php]

you’d get:

[php]
perchance (£condition) {
// Code here
} otherwise {
// Code here
}
[/php]

Ha! If PHP were British →

/via @azertyke

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.