diff options
| author | Matt Wilmas <mattwil@php.net> | 2009-04-01 17:05:36 +0000 |
|---|---|---|
| committer | Matt Wilmas <mattwil@php.net> | 2009-04-01 17:05:36 +0000 |
| commit | c27bf17f634a7cb1397b9ca5e1a8f63fb25dc4f4 (patch) | |
| tree | 2400fc78254afb1385187ca5cc27888dfaab0182 /ext/json/json.dsp | |
| parent | dc683c85f4f219f0d58b03bd1eaf0bfbe959176e (diff) | |
| download | php-git-c27bf17f634a7cb1397b9ca5e1a8f63fb25dc4f4.tar.gz | |
MFH: explode() stuff:
- Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546
- Changed int to long where needed (should fix memory errors from overflow seen in bug #47854)
- Simplified logic a bit with limit and its default value
- php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later)
- Moved declarations/allocation to optimize if the delimiter isn't found
- Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)
Diffstat (limited to 'ext/json/json.dsp')
0 files changed, 0 insertions, 0 deletions
