|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2011-02-14 05:47 UTC] pan_yong_feng at hotmail dot com
Description: ------------ I have json data to decode using php api: json_decode(), But I found if there is a number of 0000 instead of 0. Such API will case thread of apache2 take 100% of cpu resource for about 1 mins. I know 0000 is the legal number, but I think there should be a way to indicate that apache cannot handle, instead of just running exhausted. Hoping this is useful for other developer. Thanks a lot. Expected result: ---------------- Send some warning information. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 08:00:02 2025 UTC |
e.g. {"S":0000,"Y":5,"G":82.36431503,"T":33.99824477,"A":4,"Ai":0},