Edit report at http://bugs.php.net/bug.php?id=41500&edit=1

 ID:                 41500
 Updated by:         ahar...@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

Reply via email to