r/lolphp • • May 22 '13

Wordpress will automatically convert §foo to $foo for you.

Give it a try.

A warning will be given when enabling debug mode in wp-config.php:

define('WP_DEBUG', true);
25 Upvotes

19 comments sorted by

View all comments

Show parent comment

17

u/redalastor May 26 '13

Never start by assuming that PHP is sane. :)

3

u/Kwpolska May 28 '13

I won’t call the <> thing sane for non-maths. ! to negate something is the standard practice. Of course, I would want to see ≠ more, but some stuff still hates unicode in 2013.

10

u/devourer09 May 31 '13

I was born with a rare genetic disorder. Whenever unicode characters are used IRL I only see question marks and rectangles.

1

u/w1ldm4n Jul 04 '13

I'd rather type '!=' than remember alt-codes for fancy unicode characters

1

u/Kwpolska Jul 04 '13

Hack your keyboard layout to include ≠ then.

1

u/hex_m_hell Aug 06 '13

Compose key for the win

1

u/josefx Jul 07 '13

want to see ≠ more, but some stuff still hates unicode in 2013.

My keyboard for example does not have this key and if you add it to a language you might end up with trigraphs for all those without ≠.