An over-engineered experiment by JoliCode

Emoji :converter:

Turn 🐘 into :elephant: and back, with a whole PHP interpreter compiled to WebAssembly, running in your browser. Because we could.

View the source, if you dare
Translate to
βš™οΈ Booting PHP, downloading a whole interpreter…

Read only
No inspiration?

Very serious metrics

PHP version, with intl, in this very tab
…
PHP requests served by your browser
0
To boot PHP, convert, and shut it down
…
Of WebAssembly, to call strtr()
…

Questions nobody asked

Is this a joke?

Mostly. symfony/emoji does the job with a good old strtr(). We shipped a whole PHP interpreter to your browser to call it.

Does my text go anywhere?

Nowhere. There is no server: PHP runs in this tab, and boots from scratch for every single conversion.

What is it made of?

PHP and ICU, compiled to WebAssembly with Emscripten. The intl extension is there because symfony/emoji needs the \Transliterator class. Only the class: the 30 MB of ICU data stayed home.

Can names go back to emoji?

Yes, but symfony/emoji does not do it: names are ordinary words. We only replace whole words, and the longest name wins: β€œun chat noir” becomes β€œun πŸˆβ€β¬›β€, but β€œun achat” stays a purchase.