json-viewer icon indicating copy to clipboard operation
json-viewer copied to clipboard

Simple script output is garbled

Open lwoods opened this issue 6 years ago • 2 comments

Using Chrome, I have a PHP script that has two simple 'echo' statements:

echo 'FIRST TEXT
'; echo 'SECOND TEXT
'; but this outputs:
SECOND TEXT

FIRST TEXT

Turning off 'json-viewer' returns the text in correct order.

lwoods avatar Jan 01 '19 14:01 lwoods

Sorry. Forgot to bracket text:

echo 'FIRST TEXT
'; echo 'SECOND TEXT
';

Outputs:


SECOND TEXT

FIRST TEXT

I don't know how to show a PRE inside a PRE so the 'pppre' above is really 'pre'.

lwoods avatar Jan 01 '19 14:01 lwoods

Forget it! I give up trying to beat this thing!

lwoods avatar Jan 01 '19 14:01 lwoods