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

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.