Bug #73526 [Opn->Asn]: php_json_encode depth issue

From: Date: Tue, 15 Nov 2016 12:49:34 +0000
Subject: Bug #73526 [Opn->Asn]: php_json_encode depth issue
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205378@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73526&edit=1

 ID:                 73526
 Updated by:         bukka@php.net
 Reported by:        remi@php.net
 Summary:            php_json_encode depth issue
-Status:             Open
+Status:             Assigned
 Type:               Bug
 Package:            JSON related
 Operating System:   irrevelant
 PHP Version:        7.1.0RC6
-Assigned To:        
+Assigned To:        bukka
 Block user comment: N
 Private report:     N

 New Comment:

This will actually break the extensions that used that global to set max depth before. So the actual
fix to have it exactly the same as before is to just set the global in json_encode user func.


Previous Comments:
------------------------------------------------------------------------
[2016-11-15 10:44:02] remi@php.net

Notice that with this patch, the encode_max_depth global is no more used, so can be removed in 7.2.

------------------------------------------------------------------------
[2016-11-15 10:43:04] remi@php.net

Description:
------------
Discussion on https://github.com/m6w6/ext-pq/issues/23





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



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


Thread (8 messages)

« previous php.bugs (#205378) next »