Req #41500 [Opn]: JSON encode limit should be variable

From: Date: Thu, 16 Sep 2010 13:48:43 +0000
Subject: Req #41500 [Opn]: JSON encode limit should be variable
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-154421@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=41500&edit=1 ID: 41500 Updated by: aharvey@php.net Reported by: tobi at struckmeier dot name Summary: JSON encode limit should be variable Status: Open Type: Feature/Change Request -Package: Feature/Change Request +Package: JSON related Operating System: irrelevant PHP Version: 5.2.3RC1 Block user comment: N New Comment: There's no longer a limit on encoding in 5.3 and trunk; the only limitation is caused by the OS stack size. Previous Comments: ------------------------------------------------------------------------ [2007-05-25 15:26:39] tobi at struckmeier dot name Description: ------------ Current nesting level is hardcoded to 128. Should be a parameter like string json_encode ( mixed $value [,int $limit] ) where $limit is an optional parameter that defaults to 128. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=41500&edit=1

« previous php.bugs (#154421) next »