You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And, If you a interesting, I'm make more investigation on this theme:
On default OS limit:
$ ulimit -s
10240
example script behaves as:
//ini_set('pcre.recursion_limit', 9939);//Segmentation fault
//ini_set('pcre.recursion_limit', 9938);//Work
So, If I increase stack size on my system:
$ ulimit -s 65536
all work fine, as expected!!!
The text was updated successfully, but these errors were encountered:
i get segmentation fault error when try decode large json string
i found problem on line
$json = preg_replace_callback('!"((?:[^\\\\"]|\\\\|\\")*)"!', 'json_dqs', $json);
and affter google i fount this
https://bugs.php.net/bug.php?id=47376
comment "[2009-02-13 09:01 UTC] "
The text was updated successfully, but these errors were encountered: