Navigation überspringen
just found something wild in php... hit play. trust me:
0:00 / 2:51

just found something wild in php... hit play. trust me:

nunomaduro

@enunomaduro68.751 Follower

Auf X besuchen

13.557 Aufrufe

just found something wild in php... hit play. trust me:

11 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von λ Phil™

    @ijeffrouk

    php started life as a template engine, so it handles this kind of thing really nicely. You can use emojis in constants also - basically anywhere.

    4 Likes

  • Profilbild von RedDeer.Games

    @RedDeer_Games

    Wanna to know about some old but gold games? ❤️ This is your sign to try DROS! ✨ Explore 40 unique levels 🧩 Solve puzzles 🔍 Find hidden secrets Are you ready for the journey? Play now:

    1.906 Likes

  • Profilbild von Jason Judge - ❎💙🇺🇦🇮🇪🇪🇺 ❤

    @JasonDJudge

    Unicode tokens, we have known about this for years, but chose to blot it out of our minds in case people started using them. Of course, not every language uses ascii letters, so it’s great for them.

    2 Likes

  • Profilbild von Dikar

    @Dikar_f5

    $🪦 = "🐘";

    1 Like

  • Profilbild von Julian Schramm

    @julian_center

    Hear me out: what if you alias all the Laravel global helpers to emojis config() = 🔧() route() = 🔀() dd = 💀🚮() abort = 🚫()

    1 Like

  • Profilbild von Laranamed

    @unnamed1tw

    Yeah you could also code with any characters (Japanese, Emoji,…) as long as they are valid chars and not reserved words

  • Profilbild von Billions.A.Joel

    @BillionsJoel

    I am glad i hit that play button...😂 Just imagining how i start implementing it in prod apps.

  • Profilbild von Gregory Plüss

    @__gregory

    I don't know much, but I actually knew that lol

  • Profilbild von AbbeymaniaC(Ø,G)KGeN

    @abbeymanic

    😂

  • Profilbild von Charlie Etienne

    @charlie_etienne

    And it also works in filenames 😉

  • Profilbild von LuigiMrBrightSide🌵

    @luigitec

    Wait, this has been there for a while, isn't it? Or is it a Mandela's effect because I remember using it on routes just for fun years ago