Skip to content
Advertisement

Decode string with x in PHP that has char encoded over 255

My problem is about string decoding.

Let’s assume a string like:

JavaScript

I want to decode it and to look like that: λƛ¬∧⟑∨⟇÷ €½∆ø↔¢⌐æ
I tried to use

JavaScript

But it’s not what was expected.

In python something like that works:

JavaScript

Advertisement

Answer

You don’t need to decode that. This is legal notation for strings in PHP.

JavaScript

https://3v4l.org/0e0Po

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement