Req #74419 [Com]: JSON_PRETTY_PRINT prints only Unix newlines

From: Date: Tue, 01 Jun 2021 14:26:21 +0000
Subject: Req #74419 [Com]: JSON_PRETTY_PRINT prints only Unix newlines
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-234143@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74419&edit=1

 ID:                 74419
 Comment by:         oliviaark765 at gmail dot com
 Reported by:        matthieux dot dekamen at gmail dot com
 Summary:            JSON_PRETTY_PRINT prints only Unix newlines
 Status:             Open
 Type:               Feature/Change Request
 Package:            JSON related
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

I was working on my project that Niche is cryptocurrency exchange software and had worked on it for
so long but all of a sudden I got an Issue in my web domain that is http://cryptoexchangesoftware.net/ the tool from which
I am checking my site it shows it has a glitch in this so can anyone check this out?


Previous Comments:
------------------------------------------------------------------------
[2021-04-21 12:03:25] buzzwordlink at gmail dot com

My site had the same problem, site https://fortegrp.com/

------------------------------------------------------------------------
[2017-07-31 12:57:37] spam2 at rhsoft dot net

should it really?

frankly i stopped using \r\n years before i switched to linux everywhere because the only software
which can't handle \n is "notepad"

------------------------------------------------------------------------
[2017-07-31 12:55:02] justin_maldanado at protonmail dot com

Got the same problem when working on my project
https://www.oxagile.co.uk/services/php-development-services/

------------------------------------------------------------------------
[2017-04-12 08:47:27] matthieux dot dekamen at gmail dot com

Description:
------------
JSON_PRETTY_PRINT should use the newline as in PHP_EOL, but instead inserts only Unix newlines.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=74419&edit=1


Thread (8 messages)

« previous php.bugs (#234143) next »