How do I use multiple flags for the php json_encode()-function?
json_encode($array, JSON_PRETTY_PRINT, JSON_UNESCAPED_UNICODE);
This doesn\
Those flags are bitmasks. I wrote about it once a long time ago here on SO.
So, basically, to use more than one option, you need to or them together
json_encode($array, JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);