---
title: "If PHP Were British"
url: https://daily.dev/posts/if-php-were-british-lpfvb938t
source_url: https://aloneonahill.com/blog/if-php-were-british/
type: article
source: "Lobsters"
published: 2024-01-28T13:38:28.880Z
updated: 2024-05-09T08:43:33.910Z
tags: ["php"]
reading_time: 4
upvotes: 106
comments: 9
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# If PHP Were British

**[Lobsters](https://daily.dev/sources/lobsters)** · 4 min read · 106 upvotes · 9 comments

## Summary

This post explores the changes that British PHP developers would like to make to PHP, including replacing symbols with more refined alternatives, using a more formal language in code examples, eliminating unnecessary abbreviations, adjusting conditional code structures, correcting spelling errors, introducing more polite error handling, and adding a class hierarchy system.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://aloneonahill.com/blog/if-php-were-british/>

## Community discussion

Top comments from developers on daily.dev.

**@marvant** · 6 upvotes

> 🤣 The manners bit got me good
>
> ```php
> try {
>     // Code here
> } catch (Exception $e) {
>     // Handle exception
>     die('Message');
> }
> ```
>
> ```php
> would_you_mind {
>     // Code here
> } actually_i_do_mind (Exception £e) {
>     // Politely move on
>     cheerio('Message');
> }
> ```

**@legacy8** · 2 upvotes

> I suppose "we escaped a catastrophe" should be in order.

**@danielhe4rt** · 0 upvotes

> Ok I was totally not expecting for such a masterpiece.
>
> Maybe I should write a brazilian portuguese version of this same article lol.

**@rmag** · 0 upvotes

> $variable
>
> would become
>
> £variable

**@dailydevtips** · 0 upvotes

> Lol had a good giggle 🤭

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#php](https://daily.dev/tags/php)

[View this post on daily.dev](https://daily.dev/posts/if-php-were-british-lpfvb938t)
