News for hackers. Stuff that matters.
Re:Modern PHP Cheat Sheet by dekerta on Thursday November 25, 2021 @09:35AM (#29341645)
I've never understood why some programmers like to use ligatures, especially on a cheat sheet like this, which will be used primarily by people who aren't familiar with the syntax.

It's not 'a' ⇒ 1, it's 'a' => 1, just write it out the correct way. Why are you trying to be fancy?

Re:Modern PHP Cheat Sheet by martin_a on Thursday November 25, 2021 @09:56AM (#29341846)
This is done by the used font, in the markup it's correct.
Re:Modern PHP Cheat Sheet by CornCobs on Thursday November 25, 2021 @10:19AM (#29342061)
Looks like iosevka to me. Lovely font

EDIT: I wrongly assumed at a glance because of the shape of the $. On closer look the characters are much wider than iosevka. It's jetbrains mono

Re:Modern PHP Cheat Sheet by mdp2021 on Thursday November 25, 2021 @04:10PM (#29345022)
Because the characters '=>' have been used to simulate exactly the character '⇒' : to mean an arrow, not e.g. "equality then greater than".
Re:Modern PHP Cheat Sheet by enobrev on Thursday November 25, 2021 @10:46AM (#29342272)
Overall I think this is reasonable, but the font I'm using on my ide has ligatures and I think they provide a vastly better reading experience.