1 PHP NEWS
2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 15 Feb 2012, PHP 5.4.0 RC 8
4 - Core:
5 . Added ability to reset user opcode handlers (Yoram).
6 . Improved max_input_vars directive to check nested variables (Dmitry).
7 . Made ZEND_SIGNALS configurable via --enable-zend-signals, off by
8 default (Stas).
9 . Fixed bug #60965 (Buffer overflow on htmlspecialchars/entities with
10 $double=false). (Gustavo)
12 - CGI/FastCGI SAPI
13 . Fixed reinitialization of SAPI callbacks after php_module_startup().
14 (Dmitry)
16 02 Feb 2012, PHP 5.4.0 RC 7
17 - Core:
18 . Fixed bug #60895 (Possible invalid handler usage in windows random
19 functions). (Pierre)
20 . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
21 . Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods.
22 (Dmitry)
24 - OpenSSL:
25 . Fix possible attack in SSL sockets with SSL 3.0 / TLS 1.0.
26 CVE-2011-3389. (Scott)
28 - Session:
29 . Fixed bug #60860 (session.save_handler=user without defined function core
30 dumps). (Felipe)
32 - SOAP:
33 . Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
35 19 Jan 2012, PHP 5.4.0 RC6
37 - Core:
38 . Restoring $_SERVER['REQUEST_TIME'] as a long and introducing
39 $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision. (Patrick)
40 . Fixed bug #60809 (TRAITS - PHPDoc Comment Style Bug). (Dmitry)
41 . Fixed bug #60768 (Output buffer not discarded) (Mike)
42 . Fixed bug #60825 (Segfault when running symfony 2 tests).
43 (Dmitry, Laruence)
45 - Hash
46 . Fixed bug #60221 (Tiger hash output byte order) (Mike)
47 . Removed Salsa10/Salsa20, which are actually stream ciphers (Mike)
49 - Pdo Firebird:
50 . Fixed bug #47415 (segfaults when passing lowercased column name to
51 bindColumn). (Mariuz)
52 . Fixed bug #53280 (segfaults if query column count less than param count).
53 (Mariuz)
55 - SNMP:
56 . Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support
57 is disabled). (Boris Lytochkin)
58 . Fixed bug #60749 (SNMP module should not strip non-standard SNMP port
59 from hostname). (Boris Lytochkin)
61 07 Jan 2012, PHP 5.4.0 RC5
62 - Core:
63 . Fixed bug #60613 (Segmentation fault with $cls->{expr}() syntax). (Dmitry)
64 . Fixed bug #60611 (Segmentation fault with Cls::{expr}() syntax). (Laruence)
65 . Fixed bug #55871 (Interruption in substr_replace()). (Stas)
66 . Fixed bug #60627 (httpd.worker segfault on startup with php_value).
67 (Laruence)
69 - SAPI:
70 . Fixed bug #55500 (Corrupted $_FILES indices lead to security concern).
71 (Stas)
72 . Fixed bug #54374 (Insufficient validating of upload name leading to
73 corrupted $_FILES indices). (Stas, lekensteyn at gmail dot com)
75 - CLI SAPI:
76 . Fixed bug #60591 (Memory leak when access a non-exists file). (Laruence)
78 - Intl:
79 . Fixed build on Fedora 15 / Ubuntu 11. (Hannes)
81 - PHP-FPM SAPI:
82 . Fixed bug #60629 (memory corruption when web server closed the fcgi fd).
83 (fat)
84 . Fixed bug #60659 (FPM does not clear auth_user on request accept).
85 (bonbons at linux-vserver dot org)
87 - Improved Session extension:
88 . Fixed bug #60640 (invalid return values). (Arpad)
89 . Implement FR #60551 (session_set_save_handler should support a core's
90 session handler interface). (Arpad)
92 22 Dec 2011, PHP 5.4.0 RC4
93 - Core:
94 . Added max_input_vars directive to prevent attacks based on hash collisions
95 (Dmitry).
96 . Fixed bug #60536 (Traits Segfault). (Laruence)
97 . Fixed bug #60362 (non-existent sub-sub keys should not have values).
98 (Laruence, alan_k, Stas)
99 . Fixed bug #60558 (Invalid read and writes). (Laruence)
101 - CLI SAPI:
102 . Fixed bug #60477 (Segfault after two multipart/form-data POST requests,
103 one 200 RQ and one 404). (Laruence)
104 . Fixed bug #60523 (PHP Errors are not reported in browsers using built-in
105 SAPI). (Laruence, Derick)
107 - OpenSSL:
108 . Fix segfault with older versions of OpenSSL. (Scott)
110 - Pdo Firebird:
111 . Fixed bug #48877 ("bindValue" and "bindParam" do not work for PDO Firebird).
112 (Mariuz)
114 08 Dec 2011, PHP 5.4.0 RC3
115 - Core:
116 . Fixed bug #60444 (Segmentation fault with include & class extending).
117 (Laruence, Dmitry).
118 . Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e).
119 (php at mickweiss dot com)
120 . Fixed bug #60240 (invalid read/writes when unserializing specially crafted
121 strings). (Mike)
122 . Implement FR #54514 (Get php binary path during script execution).
123 (Laruence)
125 - CLI SAPI:
126 . Implement FR #60390 (Missing $_SERVER['SERVER_PORT']). (Pierre)
128 - cURL:
129 . Fixed bug #60439 (curl_copy_handle segfault when used with
130 CURLOPT_PROGRESSFUNCTION). (Pierrick)
132 - Intl:
133 . Added support for UTS #46. (Gustavo)
135 - OpenSSL:
136 . On error in openssl_random_pseudo_bytes() make sure we set strong result
137 to false. (Scott)
139 - Reflection:
140 . Fixed bug #60367 (Reflection and Late Static Binding). (Laruence)
142 24 Nov 2011, PHP 5.4.0 RC2
144 - Core:
145 . Fixed bug #60227 (header() cannot detect the multi-line header with
146 CR(0x0D)). (rui)
147 . Fixed bug #60099 (__halt_compiler() works in braced namespaces). (Felipe)
148 . Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs).
149 (klightspeed at netspace dot net dot au)
150 . Fixed bug #52624 (tempnam() by-pass open_basedir with nonexistent
151 directory). (Felipe)
152 . Fixed bug #55748 (multiple NULL Pointer Dereference with zend_strndup())
153 (CVE-2011-4153). (Stas)
154 . Fixed invalid free in call_user_method() function. (Felipe)
156 - Zend Engine:
157 . Fixed bug #43200 (Interface implementation / inheritence not possible in
158 abstract classes). (Felipe)
160 - CLI SAPI:
161 . Fixed bug #60159 (Router returns false, but POST is not passed to requested
162 resource). (Laruence)
163 . Fixed bug #55759 (memory leak when using built-in server). (Laruence)
165 - Improved PHP-FPM SAPI:
166 . Enhance error log when the primary script can't be open. FR #60199. (fat)
167 . Remove EXPERIMENTAL flag. (fat)
168 . Added .phar to default authorized extensions. (fat)
170 - BCmath:
171 . Fixed bug #60377 (bcscale related crashes on 64bits platforms) (shm)
173 - Fileinfo:
174 . Fixed possible memory leak in finfo_open(). (Felipe)
175 . Fixed memory leak when calling the Finfo constructor twice. (Felipe)
177 - Intl:
178 . Fixed memory leak in several Intl locale functions. (Felipe)
180 - Mbstring
181 . Fixed bug #60306 (Characters lost while converting from cp936 to utf8).
182 (Laruence)
183 . Fixed possible crash in mb_ereg_search_init() using empty pattern. (Felipe)
185 - MS SQL:
186 . Fixed bug #60267 (Compile failure with freetds 0.91). (Felipe)
188 - OpenSSL:
189 . Fixed bug #60279 (Fixed NULL pointer dereference in
190 stream_socket_enable_crypto, case when ssl_handle of session_stream is not
191 initialized.) (shm)
193 - Oracle Database extension (OCI8):
194 . Fixed bug #59985 (show normal warning text for OCI_NO_DATA)
195 (Chris Jones)
197 - Output:
198 . Fixed bug #60321 (ob_get_status(true) no longer returns an array when
199 buffer is empty). (Pierrick)
200 . Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers).
201 (Laruence)
203 - Reflection:
204 . Fixed bug #60357 (__toString() method triggers E_NOTICE "Array to string
205 conversion"). (Laruence)
207 - SOAP extension:
208 . Added new SoapClient option "keep_alive". FR #60329. (Pierrick)
210 - Tidy:
211 . Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference).
212 (Maksymilian Arciemowicz, Felipe)
214 11 Nov 2011, PHP 5.4.0 RC1
215 - General improvements:
216 . Changed silent conversion of array to string to produce a notice. (Patrick)
217 . Added class member access on instantiation (e.g. (new foo)->bar()) support.
218 (Felipe)
220 - CLI SAPI:
221 . Fixed bug #60112 (If URI does not contain a file, index.php is not served).
222 (Laruence)
223 . Fixed bug #60115 (memory definitely lost in cli server). (Laruence)
224 . Fixed bug #60146 (Last 2 lines of page not being output). (Laruence)
225 . Fixed bug #60180 ($_SERVER["PHP_SELF"] incorrect). (Laruence)
226 . Fixed bug #60189 (php logo can not be displayed). (Laruence)
228 - Core:
229 . Fixed bug #60120 (proc_open's streams may hang with stdin/out/err when
230 the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)
231 . Fixed bug #60174 (Notice when array in method prototype error).
232 (Laruence)
233 . Fixed bug #60169 (Conjunction of ternary and list crashes PHP).
234 (Laruence)
235 . Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to
236 is_a and is_subclass_of). (alan_k)
238 - Oracle Database extension (OCI8):
239 . Increased maximum Oracle error message buffer length for new 11.2.0.3 size
240 (Chris Jones)
241 . Improve internal initalization failure error messages (Chris Jones)
243 - SPL extension
244 . Reverted changes that required constructor overrides to invoke the parent
245 constructor in several SPL classes and applied 5.3 fixes instead.
246 Related bugs: #54384, #55175 and #55300.
247 . Fixed bug #60201 (SplFileObject::setCsvControl does not expose third
248 argument via Reflection). (Peter)
250 - Tokenizer extension
251 . Fixed bug #54089 (token_get_all with regards to __halt_compiler is
252 not binary safe). (Nikita Popov)
254 - SAPI:
255 . Fixed bug #60205 (possible integer overflow in content_length). (Laruence)
257 20 Oct 2011, PHP 5.4.0 beta2
258 - General improvements:
259 . Improve the warning message of incompatible arguments. (Laruence)
260 . Improve ternary operator performance when returning arrays. (Arnaud, Dmitry)
262 - Core:
263 . Fixed bug #55801 (Behavior of unserialize has changed). (Mike)
264 . Fixed bug #55749 (TOCTOU issue in getenv() on Windows builds). (Pierre)
265 . Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux
266 parisc). (Felipe)
267 . Fixed bug #55705 (Omitting a callable typehinted argument causes a segfault).
268 (Felipe, Laruence)
269 . Fixed bug #55758 (Digest Authenticate missed in 5.4) . (Laruence)
270 . Fixed bug #55622 (memory corruption in parse_ini_string). (Pierre)
271 . Fixed bug #55825 (Missing initial value of static locals in trait methods).
272 (Laruence)
273 . Fixed bug #60038 (SIGALRM cause segfault in php_error_cb). (Laruence)
275 - Openssl
276 . Revert r313616 (When we have a blocking SSL socket, respect the timeout
277 option, scottmac), breaks ssl support as described in bugs #55283 and #55848
279 - PDO DBlib driver:
280 . Fixed bug #60033 (Incorrectly merged PDO dblib patches break
281 uniqueidentifier column type). (warezthebeef at gmail dot com)
283 - Sysvshm
284 . Fixed bug #55750 (memory copy issue in sysvshm extension).
285 (Ilia, jeffhuang9999 at gmail dot com)
287 - Zlib:
288 . Fixed bug #55544 (ob_gzhandler always conflicts with
289 zlib.output_compression). (Mike)
291 - SPL:
292 . FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use
293 the default stream context. (Hannes)
294 . Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY).
295 (jgotti at modedemploi dot fr, Hannes)
297 - CLI SAPI:
298 . Fixed bug #55726 (Changing the working directory makes router script
299 inaccessible). (Laruence)
300 . Fixed bug #55747 (request headers missed in $_SERVER). (Laruence)
301 . Fixed bug #55755 (SegFault when outputting header WWW-Authenticate). (Laruence)
303 - Litespeed SAPI:
304 . Fixed bug #55769 (Make Fails with "Missing Separator" error). (Adam)
306 - Fileinfo:
307 . Fixed bug #60094 (C++ comment fails in c89). (Laruence)
309 15 Sep 2011, PHP 5.4.0 Beta1
310 - General improvements:
311 . Added callable typehint. (Hannes)
312 . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes)
313 . Turn on html_errors by default again in php.ini-production like it was in
314 PHP 5.3, but only generate docref links when the docref_root INI setting is
315 not empty. (Derick)
316 . Fixed bug #55378: Binary number literal returns float number though its
317 value is small enough. (Derick)
318 . Added support for SORT_NATURAL and SORT_FLAG_CASE in array
319 sort functions (sort, rsort, ksort, krsort, asort, arsort and
320 array_multisort). FR#55158 (Arpad)
321 . Disable windows CRT warning by default, can be enabled again using the ini
322 directive windows_show_crt_warnings. (Pierre)
323 . Removed support for putenv("TZ=..") for setting the timezone. (Derick)
324 . Removed the timezone guessing algorithm in case the timezone isn't set with
325 date.timezone or date_default_timezone_set(). Instead of a guessed
326 timezone, "UTC" is now used instead. (Derick)
328 - Improved MySQL extensions:
329 . ext/mysql, mysqli and pdo_mysql now use mysqlnd by default. (Johannes)
331 - Improved mbstring extension:
332 . Added Shift_JIS/UTF-8 Emoji (pictograms) support. (Rui)
333 . Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
334 support. (Rui)
335 . Ill-formed UTF-8 check for security enhancements. (Rui)
336 . Added MacJapanese (Shift_JIS) and gb18030 encoding support. (Rui)
337 . Added encode/decode in hex format to mb_[en|de]code_numericentity(). (Rui)
338 . Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
339 support. (Rui)
340 . Added the user defined area for CP936 and CP950 (Rui).
342 - Improved Reflection extension:
343 . Added ReflectionClass::newInstanceWithoutConstructor() to create a new
344 instance of a class without invoking its constructor. FR #55490.
345 (Sebastian)
347 - Improved intl extension:
348 . Fixed bug #55562 (grapheme_substr() returns false on big length). (Stas)
350 - Improved JSON extension:
351 . Added new json_encode() option JSON_UNESCAPED_UNICODE. FR #53946.
352 (Alexander, Gwynne)
354 - Improved CLI SAPI:
355 . Added friendly log messages - FR #55109 (Arpad)
357 - Improved readline extension:
358 . Fixed bug #54450 (Enable callback support when built against libedit).
359 (fedora at famillecollet dot com, Hannes)
361 - Improved Session extension:
362 . Expose session status via new function, session_status (FR #52982) (Arpad)
363 . Added support for object-oriented session handlers. (Arpad)
365 - Improved SPL extension:
366 . Immediately reject wrong usages of directories under Spl(Temp)FileObject
367 and friends. (Etienne, Pierre)
369 - Improved XSL extension:
370 . XSL doesn't stop transformation anymore, if a PHP function can't be called
371 (Christian)
373 04 Aug 2011, PHP 5.4.0 Alpha 3
374 - Added features:
375 . Short array syntax, see UPGRADING guide for full details
376 (rsky0711 at gmail . com, sebastian.deutsch at 9elements . com, Pierre)
377 . Binary numbers format (0b001010). (Jonah dot Harris at gmail dot com)
378 . Support for Class::{expr}() syntax (Pierrick)
380 - Removed features:
381 . Removed magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase
382 ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept
383 but always return false, set_magic_quotes_runtime raises an
384 E_CORE_ERROR. (Pierrick, Pierre)
386 - Changed E_ALL to include E_STRICT. (Stas)
388 - Improved core functions
389 . Fixed bug #55124 (recursive mkdir fails with current (dot) directory in path).
390 (Pierre)
392 - Improved PHP-FPM SAPI:
393 . Added process.max to control the number of process FPM can fork. FR #55166.
394 (fat)
395 . Dropped restriction of not setting the same value multiple times, the last
396 one holds. (giovanni at giacobbi dot net, fat)
398 - SPL extension:
399 . Added missing class_uses(..) as pointed out by #55266 (Stefan)
400 . Fixed bug #55287 (spl_classes() not includes CallbackFilter classes)
401 (sasezaki at gmail dot com, salathe)
404 14 Jul 2011, PHP 5.4.0 Alpha 2
405 - General improvements:
406 . Zend Signal Handling. (Lucas Nealan,Arnaud Le Blanc,Brian Shire, Ilia)
408 - Improved Zend Engine
409 . Improved parse error messages. (Felipe)
411 - Improved CLI SAPI:
412 . Added built-in web server that is intended for testing purpose.
413 (Moriyoshi)
415 - Improved PHP-FPM SAPI:
416 . Added partial syslog support (on error_log only). FR #52052. (fat)
417 . Lowered default value for Process Manager. FR #54098. (fat)
418 . Enhance security by limiting access to user defined extensions.
419 FR #55181. (fat)
421 - Improved core functions:
422 . Changed http_response_code() to be able to set a response code. (Kalle)
423 . Fixed crypt_blowfish handling of 8-bit characters. (Stas) (CVE-2011-2483)
424 . Fixed bug#55084 (Function registered by header_register_callback is
425 called only once per process). (Hannes)
427 - Improved DOM extension:
428 . Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
430 - OpenSSL extension:
431 . Use php's implementation for Windows Crypto API in
432 openssl_random_pseudo_bytes. (Pierre)
434 20 Jun 2011, PHP 5.4.0 Alpha 1
435 - autoconf 2.59+ is now supported (and required) for generating the
436 configure script with ./buildconf. Autoconf 2.60+ is desirable
437 otherwise the configure help order may be incorrect. (Rasmus, Chris Jones)
439 - Removed legacy features:
440 . break/continue $var syntax. (Dmitry)
441 . Safe mode and all related ini options. (Kalle)
442 . register_globals and register_long_arrays ini options. (Kalle)
443 . import_request_variables(). (Kalle)
444 . allow_call_time_pass_reference. (Pierrick)
445 . define_syslog_variables ini option and its associated function. (Kalle)
446 . highlight.bg ini option. (Kalle)
447 . Session bug compatibility mode (session.bug_compat_42 and
448 session.bug_compat_warn ini options). (Kalle)
449 . session_is_registered(), session_register() and session_unregister()
450 functions. (Kalle)
451 . y2k_compliance ini option. (Kalle)
453 - Moved extensions to PECL: (Johannes)
454 . ext/sqlite. (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are
455 not affected)
457 - Changed $_SERVER['REQUEST_TIME'] to include microsecond precision. (Ilia)
458 - Changed default value of "default_charset" php.ini option from ISO-8859-1 to
459 UTF-8. (Rasmus)
460 - Changed array_combine() to return empty array instead of FALSE when both
461 parameter arrays are empty. FR #34857. (joel.perras@gmail.com)
462 - Changed third parameter of preg_match_all() to optional. FR #53238. (Adam)
463 - Changed silent casting of null/''/false into an Object when adding
464 a property into a warning. (Scott)
465 - <?= is now always available regardless of the short_open_tag setting (Rasmus)
467 - General improvements:
468 . Added multibyte support by default. Previously php had to be compiled
469 with --enable-zend-multibyte. Now it can be enabled or disabled through
470 zend.multibyte directive in php.ini. (Dmitry)
471 . Removed compile time dependency from ext/mbstring (Dmitry)
472 . Added support for Traits. (Stefan)
473 . Added closure $this support back. (Stas)
474 . Added array dereferencing support. (Felipe)
475 . Added indirect method call through array. FR #47160. (Felipe)
476 . Added support for object references in recursive serialize() calls.
477 FR #36424. (Mike)
478 . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle)
479 . Added header_register_callback() which is invoked immediately
480 prior to the sending of headers and after default headers have
481 been added. (Scott)
482 . Added DTrace support. (David Soria Parra)
483 . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike)
484 . Improved unserialize() performance.
485 (galaxy dot mipt at gmail dot com, Kalle)
486 . Improved unix build system to allow building multiple PHP binary SAPIs and
487 one SAPI module the same time. FR #53271, FR #52419. (Jani)
488 . Added optional argument to debug_backtrace() and debug_print_backtrace()
489 to limit the amount of stack frames returned. (Sebastian, Patrick)
490 . Added stream metadata API support and stream_metadata() stream class
491 handler. (Stas)
492 . User wrappers can now define a stream_truncate() method that responds
493 to truncation, e.g. through ftruncate(). FR #53888. (Gustavo)
495 - Improved Zend Engine memory usage: (Dmitry)
496 . Replaced zend_function.pass_rest_by_reference by
497 ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags.
498 . Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE
499 in zend_function.fn_flags.
500 . Removed zend_arg_info.required_num_args as it was only needed for internal
501 functions. Now the first arg_info for internal functions (which has special
502 meaning) is represented by zend_internal_function_info structure.
503 . Moved zend_op_array.size, size_var, size_literal, current_brk_cont,
504 backpatch_count into CG(context) as they are used only during compilation.
505 . Moved zend_op_array.start_op into EG(start_op) as it's used only for
506 'interactive' execution of single top-level op-array.
507 . Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in
508 zend_op_array.fn_flags.
509 . op_array.vars array is trimmed (reallocated) during pass_two.
510 . Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED
511 in zend_class_entry.ce_flags.
512 . Reduced the size of zend_class_entry by sharing the same memory space
513 by different information for internal and user classes.
514 See zend_class_entry.info union.
515 . Reduced size of temp_variable.
517 - Changed the structure of op_array.opcodes. The constant values are moved from
518 opcode operands into a separate literal table. (Dmitry)
520 - Improved Zend Engine, performance tweaks and optimizations: (Dmitry)
521 . Inlined most probable code-paths for arithmetic operations directly into
522 executor.
523 . Eliminated unnecessary iterations during request startup/shutdown.
524 . Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used.
525 (this may affect opcode caches!)
526 . Improved performance of @ (silence) operator.
527 . Simplified string offset reading. $str[1][0] is now a legal construct.
528 . Added caches to eliminate repeatable run-time bindings of functions,
529 classes, constants, methods and properties.
530 . Added concept of interned strings. All strings constants known at compile
531 time are allocated in a single copy and never changed.
532 . Added an optimization which saves memory and emalloc/efree calls for empty
533 HashTables. (Stas, Dmitry)
534 . ZEND_RECV now always has IS_CV as its result.
535 . ZEND_CATCH now has to be used only with constant class names.
536 . ZEND_FETCH_DIM_? may fetch array and dimension operands in different order.
537 . Simplified ZEND_FETCH_*_R operations. They can't be used with the
538 EXT_TYPE_UNUSED flag any more. This is a very rare and useless case.
539 ZEND_FREE might be required after them instead.
540 . Split ZEND_RETURN into two new instructions ZEND_RETURN and
541 ZEND_RETURN_BY_REF.
542 . Optimized access to global constants using values with pre-calculated
543 hash_values from the literals table.
544 . Optimized access to static properties using executor specialization.
545 A constant class name may be used as a direct operand of ZEND_FETCH_*
546 instruction without previous ZEND_FETCH_CLASS.
547 . zend_stack and zend_ptr_stack allocation is delayed until actual usage.
549 - Improved CLI SAPI: (Johannes, Moriyoshi)
550 . Added command line option --rz <name> which shows information of the
551 named Zend extension. (Johannes)
552 . Interactive readline shell improvements: (Johannes)
553 . Added "cli.pager" php.ini setting to set a pager for output.
554 . Added "cli.prompt" php.ini setting to configure the shell prompt.
555 . Added shortcut #inisetting=value to change ini settings at run-time.
556 . Changed shell not to terminate on fatal errors.
557 . Interactive shell works with shared readline extension. FR #53878.
559 - Improved FastCGI SAPI: (Dmitry)
560 . Added apache compatible functions: apache_child_terminate(),
561 getallheaders(), apache_request_headers() and apache_response_headers()
562 . Improved performance of FastCGI request parsing.
564 - Improved core functions:
565 . number_format() no longer truncates multibyte decimal points and thousand
566 separators to the first byte. FR #53457. (Adam)
567 . Added hex2bin() function. (Scott)
569 - Improved CURL extension:
570 . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and
571 CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick)
573 - Improved Date extension:
574 . Added the + modifier to parseFromFormat to allow trailing text in the
575 string to parse without throwing an error. (Stas, Derick)
577 - Improved DBA extension:
578 . Added Tokyo Cabinet abstract DB support. (Michael Maclean)
579 . Added Berkeley DB 5 support. (Johannes, Chris Jones)
581 - Improved filesystem functions:
582 . scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value.
583 FR #53407. (Adam)
585 - Improved HASH extension:
586 . Added Jenkins's one-at-a-time hash support. (Martin Jansen)
587 . Added FNV-1 hash support. (Michael Maclean)
588 . Made Adler32 algorithm faster. FR #53213. (zavasek at yandex dot ru)
590 - Improved intl extension:
591 . Added Spoofchecker, allows checking for visibly confusable characters and
592 other security issues. (Scott)
594 - Improved JSON extension:
595 . Added JsonSerializable interface. (Sara)
596 . Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options.
597 (Sara)
598 . Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
599 numeric strings to integers. (Ilia)
600 . Added new json_encode() option JSON_PRETTY_PRINT. FR #44331. (Adam)
601 . Added new json_encode() option JSON_UNESCAPED_SLASHES. FR #49366. (Adam)
603 - Improved LDAP extension:
604 . Added paged results support. FR #42060. (ando@OpenLDAP.org,
605 iarenuno@eteo.mondragon.edu, jeanseb@au-fil-du.net, remy.saissy@gmail.com)
607 - Improved MySQL extensions:
608 . MySQL: Deprecated mysql_list_dbs(). FR #50667. (Andrey)
609 . mysqlnd: Added named pipes support. FR #48082. (Andrey)
610 . MySQLi: Added iterator support in MySQLi. mysqli_result implements
611 Traversable. (Andrey, Johannes)
612 . PDO_mysql: Removed support for linking with MySQL client libraries older
613 than 4.1. (Johannes)
615 - Improved OpenSSL extension:
616 . Added AES support. FR #48632. (yonas dot y at gmail dot com, Pierre)
617 . Added a "no_ticket" SSL context option to disable the SessionTicket TLS
618 extension. FR #53447. (Adam)
619 . Added no padding option to openssl_encrypt()/openssl_decrypt(). (Scott)
621 - Improved PDO DB-LIB: (Stanley)
622 . Added nextRowset support.
623 . Fixed bug #50755 (PDO DBLIB Fails with OOM).
625 - Improved PostgreSQL extension:
626 . Added support for "extra" parameter for PGNotify().
627 (r dot i dot k at free dot fr, Ilia)
629 - Improved Reflection extension: (Johannes)
630 . Added ReflectionExtension::isTemporary() and
631 ReflectionExtension::isPersistent() methods.
632 . Added ReflectionZendExtension class.
633 . Added ReflectionClass::isCloneable(). (Felipe)
635 - Improved Session extension:
636 . Added support for storing upload progress feedback in session data. (Arnaud)
637 . Changed session.entropy_file to default to /dev/urandom or /dev/arandom if
638 either is present at compile time. (Rasmus)
640 - Improved SPL extension:
641 . Added RegexIterator::getRegex() method. (Joshua Thijssen)
642 . Added SplObjectStorage::getHash() hook. (Etienne)
643 . Added CallbackFilterIterator and RecursiveCallbackFilterIterator. (Arnaud)
645 - Improved XSL extension:
646 . Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to
647 define forbidden operations within XSLT stylesheets, default is not to
648 enable write operations from XSLT. Bug #54446 (Chregu, Nicolas Gregoire)
650 - Improved ZLIB extension:
651 . Re-implemented non-file related functionality. (Mike)
653 - Improved SNMP extension (Boris Lytochkin):
654 . Added OO API. FR #53594 (php-snmp rewrite).
655 . Sanitized return values of existing functions. Now it returns FALSE on
656 failure.
657 . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
658 upon request.
659 . Introducing unit tests for extension with ~full coverage.
660 IPv6 support. (FR #42918)
661 . Way of representing OID value can now be changed when SNMP_VALUE_OBJECT
662 is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if
663 not specified) or SNMP_VALUE_PLAIN. (FR #54502)
664 . Fixed bugs
665 . #44193 (snmp v3 noAuthNoPriv doesn't work)
666 . #45893 (Snmp buffer limited to 2048 char)
667 . #46065 (snmp_set_quick_print() persists between requests)
668 . #51336 (snmprealwalk (snmp v1) does not handle end of OID tree correctly)
669 . #53862 (snmp_set_oid_output_format does not allow returning to default)
671 ## UNSORTED ##
673 - Fixed PDO objects binary incompatibility. (Dmitry)
674 - Fixed bug #52211 (iconv() returns part of string on error). (Felipe)
675 - Fixed bug #55450 (Built in web server not accepting file uploads). (Laruence)
676 - Fixed bug #55471 (ZTS build broken with dtrace). (Laruence)
677 - Fixed bug #55463 (cli-server missing _SERVER[REMOTE_ADDR]). (Laruence)
678 - Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect). (Andrey, Laruence)
679 - Fixed bug #55423 (cli-server could not output correctly in some case). (Laruence, chobieee at gmail dot com)
680 - Fixed bug #55653 (PS crash with libmysql when binding same variable as param and out). (Laruence)
682 ?? ??? 2011, PHP 5.3.9
684 - Core:
685 . Fixed Bug #55649 (Undefined function Bug()). (Laruence)
686 . Fixed bug #55576: Cannot conditionally move uploaded file without race
687 condition. (Gustavo)
688 . Fixed bug #55366: keys lost when using substr_replace an array. (Arpad)
689 . Fixed bug #55273 (base64_decode() with strict rejects whitespace after
690 pad). (Ilia)
691 . Fixed bug #55510: $_FILES 'name' missing first character after upload.
692 (Arpad)
693 . Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence)
694 . Fixed bug #55504 (Content-Type header is not parsed correctly on
695 HTTP POST request). (Hannes)
696 . Fixed bug #52461 (Incomplete doctype and missing xmlns).
697 (virsacer at web dot de, Pierre)
699 - Curl:
700 . Fixed bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed
701 before calling curl_exec). (Hannes)
702 . Fixed issues were curl_copy_handle() would sometimes lose copied
703 preferences. (Hannes)
705 - DateTime:
706 . Fixed bug #48476 (cloning extended DateTime class without calling
707 parent::__constr crashed PHP). (Hannes)
709 - MySQL:
710 . Fixed bug #55550 (mysql.trace_mode miscounts result sets). (Johannes)
712 - MySQLi extension:
713 . Fixed bug #55582 (mysqli_num_rows() returns always 0 for unbuffered, when
714 mysqlnd is used). (Andrey)
716 - mysqlnd
717 . Fixed bug #55609 (mysqlnd cannot be built shared). (Johannes)
718 . Fixed bug #55067 (MySQL doesn't support compression - wrong config option).
719 (Andrey)
721 - PDO MySQL driver:
722 . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE)
723 (Andrey)
725 - Phar:
726 . Fixed bug#52013 (Unable to decompress files in a compressed phar). (Hannes)
727 . Fixed bug#53872 (internal corruption of phar). (Hannes)
729 - Session:
730 . Fixed bug #55267 (session_regenerate_id fails after header sent). (Hannes)
732 - NSAPI SAPI:
733 . Don't set $_SERVER['HTTPS'] on unsecure connection (bug #55403). (Uwe
734 Schindler)
736 - SimpleXML:
737 . Reverted the SimpleXML->query() behaviour to returning empty arrays
738 instead of false when no nodes are found as it was since 5.3.3
739 (bug #48601). (chregu, rrichards)
741 - String:
742 . Fixed bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated
743 records). (Laruence)
745 23 Aug 2011, PHP 5.3.8
747 - Core:
748 . Fixed bug #55439 (crypt() returns only the salt for MD5). (Stas)
750 - OpenSSL:
751 . Reverted a change in timeout handling restoring PHP 5.3.6 behavior,
752 as the new behavior caused mysqlnd SSL connections to hang (#55283).
753 (Pierre, Andrey, Johannes)
755 18 Aug 2011, PHP 5.3.7
756 - Upgraded bundled SQLite to version 3.7.7.1. (Scott)
757 - Upgraded bundled PCRE to version 8.12. (Scott)
759 - Zend Engine:
760 . Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even
761 though the class has none). (Felipe)
762 . Fixed bug #55007 (compiler fail after previous fail). (Felipe)
763 . Fixed bug #54910 (Crash when calling call_user_func with unknown function
764 name). (Dmitry)
765 . Fixed bug #54804 (__halt_compiler and imported namespaces).
766 (Pierrick, Felipe)
767 . Fixed bug #54624 (class_alias and type hint). (Felipe)
768 . Fixed bug #54585 (track_errors causes segfault). (Dmitry)
769 . Fixed bug #54423 (classes from dl()'ed extensions are not destroyed).
770 (Tony, Dmitry)
771 . Fixed bug #54372 (Crash accessing global object itself returned from its
772 __get() handle). (Dmitry)
773 . Fixed bug #54367 (Use of closure causes problem in ArrayAccess). (Dmitry)
774 . Fixed bug #54358 (Closure, use and reference). (Dmitry)
775 . Fixed bug #54262 (Crash when assigning value to a dimension in a non-array).
776 (Dmitry)
777 . Fixed bug #54039 (use() of static variables in lambda functions can break
778 staticness). (Dmitry)
780 - Core
781 . Updated crypt_blowfish to 1.2. ((CVE-2011-2483) (Solar Designer)
782 . Removed warning when argument of is_a() or is_subclass_of() is not
783 a known class. (Stas)
784 . Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.
785 . Added PHP_MANDIR constant telling where the manpages were installed into,
786 and an --man-dir argument to php-config. (Hannes)
787 . Fixed a crash inside dtor for error handling. (Ilia)
788 . Fixed buffer overflow on overlog salt in crypt(). (Clément LECIGNE, Stas)
789 . Implemented FR #54459 (Range function accuracy). (Adam)
791 . Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path).
792 (Ilia)
793 . Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off).
794 (Dmitry)
795 . Fixed bug #55295 [NEW]: popen_ex on windows, fixed possible heap overflow
796 (Pierre)
797 . Fixed bug #55258 (Windows Version Detecting Error).
798 ( xiaomao5 at live dot com, Pierre)
799 . Fixed bug #55187 (readlink returns weird characters when false result).
800 (Pierre)
801 . Fixed bug #55082 (var_export() doesn't escape properties properly).
802 (Gustavo)
803 . Fixed bug #55014 (Compile failure due to improper use of ctime_r()). (Ilia)
804 . Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload
805 filename). (Felipe) Reported by Krzysztof Kotowicz. (CVE-2011-2202)
806 . Fixed bug #54935 php_win_err can lead to crash. (Pierre)
807 . Fixed bug #54924 (assert.* is not being reset upon request shutdown). (Ilia)
808 . Fixed bug #54895 (Fix compiling with older gcc version without need for
809 membar_producer macro). (mhei at heimpold dot de)
810 . Fixed bug #54866 (incorrect accounting for realpath_cache_size).
811 (Dustin Ward)
812 . Fixed bug #54723 (getimagesize() doesn't check the full ico signature).
813 (Scott)
814 . Fixed bug #54721 (Different Hashes on Windows, BSD and Linux on wrong Salt
815 size). (Pierre, os at irj dot ru)
816 . Fixed bug #54580 (get_browser() segmentation fault when browscap ini
817 directive is set through php_admin_value). (Gustavo)
818 . Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption). (Dmitry)
819 . Fixed bug #54305 (Crash in gc_remove_zval_from_buffer). (Dmitry)
820 . Fixed bug #54238 (use-after-free in substr_replace()). (Stas)
821 (CVE-2011-1148)
822 . Fixed bug #54204 (Can't set a value with a PATH section in php.ini).
823 (Pierre)
824 . Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment).
825 (tomas dot brastavicius at quantum dot lt, Pierrick)
826 . Fixed bug #54137 (file_get_contents POST request sends additional line
827 break). (maurice-php at mertinkat dot net, Ilia)
828 . Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). (Ilia)
829 . Alternative fix for bug #52550, as applied to the round() function (signed
830 overflow), as the old fix impacted the algorithm for numbers with magnitude
831 smaller than 0. (Gustavo)
832 . Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
833 (Ralph Schindler, Dmitry)
834 . Fixed bug #52935 (call exit in user_error_handler cause stream relate
835 core). (Gustavo)
836 . Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning). (Ilia)
837 . Fixed bug #50816 (Using class constants in array definition fails).
838 (Pierrick, Dmitry)
839 . Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode
840 filter). (slusarz at curecanti dot org)
841 . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
842 TMPDIR on Windows). (Pierre)
844 - Apache2 Handler SAPI:
845 . Fixed bug #54529 (SAPI crashes on apache_config.c:197).
846 (hebergement at riastudio dot fr)
848 - CLI SAPI:
849 . Fixed bug #52496 (Zero exit code on option parsing failure). (Ilia)
851 - cURL extension:
852 . Added ini option curl.cainfo (support for custom cert db). (Pierre)
853 . Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)
854 . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and
855 CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick)
857 - DateTime extension:
858 . Fixed bug where the DateTime object got changed while using date_diff().
859 (Derick)
860 . Fixed bug #54340 (DateTime::add() method bug). (Adam)
861 . Fixed bug #54316 (DateTime::createFromFormat does not handle trailing '|'
862 correctly). (Adam)
863 . Fixed bug #54283 (new DatePeriod(NULL) causes crash). (Felipe)
864 . Fixed bug #51819 (Case discrepancy in timezone names cause Uncaught
865 exception and fatal error). (Hannes)
867 - DBA extension:
868 . Supress warning on non-existent file open with Berkeley DB 5.2 (Chris Jones)
869 . Fixed bug #54242 (dba_insert returns true if key already exists). (Felipe)
871 - Exif extesion:
872 . Fixed bug #54121 (error message format string typo). (Ilia)
874 - Fileinfo extension:
875 . Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11). (Felipe)
877 - Filter extension:
878 . Added 3rd parameter to filter_var_array() and filter_input_array()
879 functions that allows disabling addition of empty elements. (Ilia)
880 . Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)
882 - Interbase extension:
883 . Fixed bug #54269 (Short exception message buffer causes crash). (Felipe)
885 - intl extension:
886 . Implemented FR #54561 (Expose ICU version info). (David Zuelke, Ilia)
887 . Implemented FR #54540 (Allow loading of arbitrary resource bundles when
888 fallback is disabled). (David Zuelke, Stas)
890 - Imap extension:
891 . Fixed bug #55313 (Number of retries not set when params specified).
892 (kevin at kevinlocke dot name)
894 - json extension:
895 . Fixed bug #54484 (Empty string in json_decode doesn't reset
896 json_last_error()). (Ilia)
898 - LDAP extension:
899 . Fixed bug #53339 (Fails to build when compilng with gcc 4.5 and DSO
900 libraries). (Clint Byrum, Raphael)
902 - libxml extension:
903 . Fixed bug #54601 (Removing the doctype node segfaults). (Hannes)
904 . Fixed bug #54440 (libxml extension ignores default context). (Gustavo)
906 - mbstring extension:
907 . Fixed bug #54494 (mb_substr() mishandles UTF-32LE and UCS-2LE). (Gustavo)
909 - MCrypt extension:
910 . Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data
911 has been fetched (Windows). (Pierre)
912 . Fixed bug #55169 (mcrypt_create_iv always fails to gather sufficient random
913 data on Windows). (Pierre)
915 - mysqlnd
916 . Fixed crash when using more than 28,000 bound parameters. Workaround is to
917 set mysqlnd.net_cmd_buffer_size to at least 9000. (Andrey)
918 . Fixed bug #54674 mysqlnd valid_sjis_(head|tail) is using invalid operator
919 and range). (nihen at megabbs dot com, Andrey)
921 - MySQLi extension:
922 . Fixed bug #55283 (SSL options set by mysqli_ssl_set ignored for MySQLi
923 persistent connections). (Andrey)
924 . Fixed Bug #54221 (mysqli::get_warnings segfault when used in multi queries).
925 (Andrey)
927 - OpenSSL extension:
928 . openssl_encrypt()/openssl_decrypt() truncated keys of variable length
929 ciphers to the OpenSSL default for the algorithm. (Scott)
930 . On blocking SSL sockets respect the timeout option where possible.
931 (Scott)
932 . Fixed bug #54992 (Stream not closed and error not returned when SSL
933 CN_match fails). (Gustavo, laird_ngrps at dodo dot com dot au)
935 - Oracle Database extension (OCI8):
936 . Added oci_client_version() returning the runtime Oracle client library
937 version (Chris Jones)
939 . PCRE extension:
940 . Increased the backtrack limit from 100000 to 1000000 (Rasmus)
942 - PDO extension:
943 . Fixed bug #54929 (Parse error with single quote in sql comment). (Felipe)
944 . Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE
945 settings). (Ilia)
947 - PDO DBlib driver:
948 . Fixed bug #54329 (MSSql extension memory leak).
949 (dotslashpok at gmail dot com)
950 . Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field).
951 (mjh at hodginsmedia dot com, Felipe)
953 - PDO ODBC driver:
954 . Fixed data type usage in 64bit. (leocsilva at gmail dot com)
956 - PDO MySQL driver:
957 . Fixed bug #54644 (wrong pathes in php_pdo_mysql_int.h). (Tony, Johannes)
958 . Fixed bug #53782 (foreach throws irrelevant exception). (Johannes, Andrey)
959 . Implemented FR #48587 (MySQL PDO driver doesn't support SSL connections).
960 (Rob)
962 - PDO PostgreSQL driver:
963 . Fixed bug #54318 (Non-portable grep option used in PDO pgsql
964 configuration). (bwalton at artsci dot utoronto dot ca)
966 - PDO Oracle driver:
967 . Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci).
968 (jbnance at tresgeek dot net)
970 - Phar extension:
971 . Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters).
972 (Felipe)
974 - PHP-FPM SAPI:
975 . Implemented FR #54499 (FPM ping and status_path should handle HEAD request). (fat)
976 . Implemented FR #54172 (Overriding the pid file location of php-fpm). (fat)
977 . Fixed missing Expires and Cache-Control headers for ping and status pages.
978 (fat)
979 . Fixed memory leak. (fat) Reported and fixed by Giovanni Giacobbi.
980 . Fixed wrong value of log_level when invoking fpm with -tt. (fat)
981 . Added xml format to the status page. (fat)
982 . Removed timestamp in logs written by children processes. (fat)
983 . Fixed exit at FPM startup on fpm_resources_prepare() errors. (fat)
984 . Added master rlimit_files and rlimit_core in the global configuration
985 settings. (fat)
986 . Removed pid in debug logs written by chrildren processes. (fat)
987 . Added custom access log (also added per request %CPU and memory
988 mesurement). (fat)
989 . Added a real scoreboard and several improvements to the status page. (fat)
991 - Reflection extension:
992 . Fixed bug #54347 (reflection_extension does not lowercase module function
993 name). (Felipe, laruence at yahoo dot com dot cn)
995 - SOAP extension:
996 . Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION
997 contains itself). (Dmitry)
998 . Fixed bug #54312 (soap_version logic bug). (tom at samplonius dot org)
1000 - Sockets extension:
1001 . Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938)
1002 Found by Mateusz Kocielski, Marek Kroemeke and Filip Palian. (Felipe)
1003 . Changed socket_set_block() and socket_set_nonblock() so they emit warnings
1004 on error. (Gustavo)
1005 . Fixed bug #51958 (socket_accept() fails on IPv6 server sockets). (Gustavo)
1007 - SPL extension:
1008 . Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys
1009 on true). (Pierrick)
1010 . Fixed bug #54970 (SplFixedArray::setSize() isn't resizing). (Felipe)
1011 . Fixed bug #54609 (Certain implementation(s) of SplFixedArray cause hard
1012 crash). (Felipe)
1013 . Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and
1014 SplTempFileObject crash when user-space classes don't call the paren
1015 constructor). (Gustavo)
1016 . Fixed bug #54292 (Wrong parameter causes crash in
1017 SplFileObject::__construct()). (Felipe)
1018 . Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting
1019 with \0). (Gustavo)
1020 . Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator).
1021 (Felipe)
1023 - Streams:
1024 . Fixed bug #54946 (stream_get_contents infinite loop). (Hannes)
1025 . Fixed bug #54623 (Segfault when writing to a persistent socket after
1026 closing a copy of the socket). (Gustavo)
1027 . Fixed bug #54681 (addGlob() crashes on invalid flags). (Felipe)
1030 17 Mar 2011, PHP 5.3.6
1031 - Upgraded bundled Sqlite3 to version 3.7.4. (Ilia)
1032 - Upgraded bundled PCRE to version 8.11. (Ilia)
1034 - Zend Engine:
1035 . Indirect reference to $this fails to resolve if direct $this is never used
1036 in method. (Scott)
1037 . Added options to debug backtrace functions. (Stas)
1038 . Fixed bug numerous crashes due to setlocale (crash on error, pcre, mysql
1039 etc.) on Windows in thread safe mode. (Pierre)
1040 . Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime
1041 error). (Dmitry)
1042 . Fixed Bug #53958 (Closures can't 'use' shared variables by value and by
1043 reference). (Dmitry)
1044 . Fixed Bug #53629 (memory leak inside highlight_string()). (Hannes, Ilia)
1045 . Fixed Bug #51458 (Lack of error context with nested exceptions). (Stas)
1046 . Fixed Bug #47143 (Throwing an exception in a destructor causes a fatal
1047 error). (Stas)
1048 . Fixed bug #43512 (same parameter name can be used multiple times in
1049 method/function definition). (Felipe)
1051 - Core:
1052 . Added ability to connect to HTTPS sites through proxy with basic
1053 authentication using stream_context/http/header/Proxy-Authorization (Dmitry)
1054 . Changed default value of ini directive serialize_precision from 100 to 17.
1055 (Gustavo)
1056 . Fixed bug #54055 (buffer overrun with high values for precision ini
1057 setting). (Gustavo)
1058 . Fixed bug #53959 (reflection data for fgetcsv out-of-date). (Richard)
1059 . Fixed bug #53577 (Regression introduced in 5.3.4 in open_basedir with a
1060 trailing forward slash). (lekensteyn at gmail dot com, Pierre)
1061 . Fixed bug #53682 (Fix compile on the VAX). (Rasmus, jklos)
1062 . Fixed bug #48484 (array_product() always returns 0 for an empty array).
1063 (Ilia)
1064 . Fixed bug #48607 (fwrite() doesn't check reply from ftp server before
1065 exiting). (Ilia)
1068 - Calendar extension:
1069 . Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
1070 segfault). (Gustavo)
1072 - DOM extension:
1073 . Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode
1074 like DOMDocument::saveXML). (Gustavo)
1076 - DateTime extension:
1077 . Fixed a bug in DateTime->modify() where absolute date/time statements had
1078 no effect. (Derick)
1079 . Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
1080 big-endian systems). (Derick, rein@basefarm.no)
1081 . Fixed bug #52808 (Segfault when specifying interval as two dates). (Stas)
1082 . Fixed bug #52738 (Can't use new properties in class extended from
1083 DateInterval). (Stas)
1084 . Fixed bug #52290 (setDate, setISODate, setTime works wrong when DateTime
1085 created from timestamp). (Stas)
1086 . Fixed bug #52063 (DateTime constructor's second argument doesn't have a
1087 null default value). (Gustavo, Stas)
1089 - Exif extension:
1090 . Fixed bug #54002 (crash on crafted tag, reported by Luca Carettoni).
1091 (Pierre) (CVE-2011-0708)
1093 - Filter extension:
1094 . Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
1095 (Ilia, Gustavo)
1096 . Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges).
1097 (Ilia)
1098 . Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)). (Ilia)
1099 . Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).
1100 (Ilia, valli at icsurselva dot ch)
1102 - Fileinfo extension:
1103 . Fixed bug #54016 (finfo_file() Cannot determine filetype in archives).
1104 (Hannes)
1106 - Gettext
1107 . Fixed bug #53837 (_() crashes on Windows when no LANG or LANGUAGE
1108 environment variable are set). (Pierre)
1110 - IMAP extension:
1111 . Implemented FR #53812 (get MIME headers of the part of the email). (Stas)
1112 . Fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long
1113 MIME header unfolding). (Adam)
1115 - Intl extension:
1116 . Fixed bug #53612 (Segmentation fault when using cloned several intl
1117 objects). (Gustavo)
1118 . Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values).
1119 (Felipe)
1120 . Implemented clone functionality for number, date & message formatters.
1121 (Stas).
1123 - JSON extension:
1124 . Fixed bug #53963 (Ensure error_code is always set during some failed
1125 decodings). (Scott)
1127 - mysqlnd
1128 . Fixed problem with always returning 0 as num_rows for unbuffered sets.
1129 (Andrey, Ulf)
1131 - MySQL Improved extension:
1132 . Added 'db' and 'catalog' keys to the field fetching functions (FR #39847).
1133 (Kalle)
1134 . Fixed buggy counting of affected rows when using the text protocol. The
1135 collected statistics were wrong when multi_query was used with mysqlnd
1136 (Andrey)
1137 . Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL).
1138 (Kalle)
1139 . Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA
1140 query). (Kalle, Andrey)
1141 . Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to
1142 call libmysql). (Kalle, tre-php-net at crushedhat dot com)
1144 - OpenSSL extension:
1145 . Fixed stream_socket_enable_crypto() not honoring the socket timeout in
1146 server mode. (Gustavo)
1147 . Fixed bug #54060 (Memory leaks when openssl_encrypt). (Pierre)
1148 . Fixed bug #54061 (Memory leaks when openssl_decrypt). (Pierre)
1149 . Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
1150 (Gustavo)
1151 . Implemented FR #53447 (Cannot disable SessionTicket extension for servers
1152 that do not support it) by adding a no_ticket SSL context option. (Adam,
1153 Tony)
1155 - PDO MySQL driver:
1156 . Fixed bug #53551 (PDOStatement execute segfaults for pdo_mysql driver).
1157 (Johannes)
1158 . Implemented FR #47802 (Support for setting character sets in DSN strings).
1159 (Kalle)
1161 - PDO Oracle driver:
1162 . Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on
1163 ORACLE 10). (spatar at mail dot nnov dot ru)
1165 - PDO PostgreSQL driver:
1166 . Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down).
1167 (gyp at balabit dot hu)
1169 - Phar extension:
1170 . Fixed bug #54247 (format-string vulnerability on Phar). (Felipe)
1171 (CVE-2011-1153)
1172 . Fixed bug #53541 (format string bug in ext/phar).
1173 (crrodriguez at opensuse dot org, Ilia)
1174 . Fixed bug #53898 (PHAR reports invalid error message, when the directory
1175 does not exist). (Ilia)
1177 - PHP-FPM SAPI:
1178 . Enforce security in the fastcgi protocol parsing.
1179 (ef-lists at email dotde)
1180 . Fixed bug #53777 (php-fpm log format now match php_error log format). (fat)
1181 . Fixed bug #53527 (php-fpm --test doesn't set a valuable return value). (fat)
1182 . Fixed bug #53434 (php-fpm slowlog now also logs the original request). (fat)
1184 - Readline extension:
1185 . Fixed bug #53630 (Fixed parameter handling inside readline() function).
1186 (jo at feuersee dot de, Ilia)
1188 - Reflection extension:
1189 . Fixed bug #53915 (ReflectionClass::getConstant(s) emits fatal error on
1190 constants with self::). (Gustavo)
1192 - Shmop extension:
1193 . Fixed bug #54193 (Integer overflow in shmop_read()). (Felipe)
1194 Reported by Jose Carlos Norte <jose at eyeos dot org> (CVE-2011-1092)
1196 - SNMP extension:
1197 . Fixed bug #51336 (snmprealwalk (snmp v1) does not handle end of OID tree
1198 correctly). (Boris Lytochkin)
1200 - SOAP extension:
1201 . Fixed possible crash introduced by the NULL poisoning patch.
1202 (Mateusz Kocielski, Pierre)
1204 - SPL extension:
1205 . Fixed memory leak in DirectoryIterator::getExtension() and
1206 SplFileInfo::getExtension(). (Felipe)
1207 . Fixed bug #53914 (SPL assumes HAVE_GLOB is defined). (Chris Jones)
1208 . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0
1209 values). (Felipe)
1210 . Fixed bug #49608 (Using CachingIterator on DirectoryIterator instance
1211 segfaults). (Felipe)
1213 . Added SplFileInfo::getExtension(). FR #48767. (Peter Cowburn)
1215 - SQLite3 extension:
1216 . Fixed memory leaked introduced by the NULL poisoning patch.
1217 (Mateusz Kocielski, Pierre)
1218 . Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a
1219 reference. (Felipe)
1220 . Add SQlite3_Stmt::readonly() for checking if a statement is read only.
1221 (Scott)
1222 . Implemented FR #53466 (SQLite3Result::columnType() should return false after
1223 all of the rows have been fetched). (Scott)
1225 - Streams:
1226 . Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP
1227 wrapper). (Gustavo)
1228 . Fixed bug #53913 (Streams functions assume HAVE_GLOB is defined). (Chris
1229 Jones)
1230 . Fixed bug #53903 (userspace stream stat callback does not separate the
1231 elements of the returned array before converting them). (Gustavo)
1232 . Implemented FR #26158 (open arbitrary file descriptor with fopen). (Gustavo)
1234 - Tokenizer Extension
1235 . Fixed bug #54089 (token_get_all() does not stop after __halt_compiler).
1236 (Ilia)
1238 - XSL extension:
1239 . Fixed memory leaked introduced by the NULL poisoning patch.
1240 (Mateusz Kocielski, Pierre)
1242 - Zip extension:
1243 . Added the filename into the return value of stream_get_meta_data(). (Hannes)
1244 . Fixed bug #53923 (Zip functions assume HAVE_GLOB is defined). (Adam)
1245 . Fixed bug #53893 (Wrong return value for ZipArchive::extractTo()). (Pierre)
1246 . Fixed bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive).
1247 (Stas, Maksymilian Arciemowicz). (CVE-2011-0421)
1248 . Fixed bug #53854 (Missing constants for compression type). (Richard, Adam)
1249 . Fixed bug #53603 (ZipArchive should quiet stat errors). (brad dot froehle at
1250 gmail dot com, Gustavo)
1251 . Fixed bug #53579 (stream_get_contents() segfaults on ziparchive streams).
1252 (Hannes)
1253 . Fixed bug #53568 (swapped memset arguments in struct initialization).
1254 (crrodriguez at opensuse dot org)
1255 . Fixed bug #53166 (Missing parameters in docs and reflection definition).
1256 (Richard)
1257 . Fixed bug #49072 (feof never returns true for damaged file in zip).
1258 (Gustavo, Richard Quadling)
1260 06 Jan 2011, PHP 5.3.5
1261 - Fixed Bug #53632 (infinite loop with x87 fpu). (CVE-2010-4645) (Scott,
1262 Rasmus)
1264 09 Dec 2010, PHP 5.3.4
1265 - Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)
1266 - Upgraded bundled PCRE to version 8.10. (Ilia)
1268 - Security enhancements:
1269 . Fixed crash in zip extract method (possible CWE-170).
1270 (Maksymilian Arciemowicz, Pierre)
1271 . Paths with NULL in them (foo\0bar.txt) are now considered as invalid.
1272 (Rasmus)
1273 . Fixed a possible double free in imap extension (Identified by Mateusz
1274 Kocielski). (CVE-2010-4150). (Ilia)
1275 . Fixed NULL pointer dereference in ZipArchive::getArchiveComment.
1276 (CVE-2010-3709). (Maksymilian Arciemowicz)
1277 . Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre)
1278 . Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950). (Pierre)
1279 . Fixed symbolic resolution support when the target is a DFS share. (Pierre)
1280 . Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with
1281 large amount of data) (CVE-2010-3710). (Adam)
1283 - General improvements:
1284 . Added stat support for zip stream. (Pierre)
1285 . Added follow_location (enabled by default) option for the http stream
1286 support. (Pierre)
1287 . Improved support for is_link and related functions on Windows. (Pierre)
1288 . Added a 3rd parameter to get_html_translation_table. It now takes a charset
1289 hint, like htmlentities et al. (Gustavo)
1291 - Implemented feature requests:
1292 . Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect
1293 zend multibyte at runtime. (Kalle)
1294 . Implemented FR #52173, added functions pcntl_get_last_error() and
1295 pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud)
1296 . Implemented symbolic links support for open_basedir checks. (Pierre)
1297 . Implemented FR #51804, SplFileInfo::getLinkTarget on Windows. (Pierre)
1298 . Implemented FR #50692, not uploaded files don't count towards
1299 max_file_uploads limit. As a side improvement, temporary files are not
1300 opened for empty uploads and, in debug mode, 0-length uploads. (Gustavo)
1302 - Improved MySQLnd:
1303 . Added new character sets to mysqlnd, which are available in MySQL 5.5
1304 (Andrey)
1306 - Improved PHP-FPM SAPI:
1307 . Added '-p/--prefix' to php-fpm to use a custom prefix and run multiple
1308 instances. (fat)
1309 . Added custom process title for FPM. (fat)
1310 . Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat)
1311 . Added statistics about listening socket queue length for FPM.
1312 (andrei dot nigmatulin at gmail dot com, fat)
1314 - Core:
1315 . Fixed extract() to do not overwrite $GLOBALS and $this when using
1316 EXTR_OVERWRITE. (jorto at redhat dot com)
1317 . Fixed bug in the Windows implementation of dns_get_record, where the two
1318 last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).
1319 . Changed the $context parameter on copy() to actually have an effect. (Kalle)
1320 . Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8
1321 sequences. (Gustavo)
1322 . Fixed bug #53409 (sleep() returns NULL on Windows). (Pierre)
1323 . Fixed bug #53319 (strip_tags() may strip '<br />' incorrectly). (Felipe)
1324 . Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits).
1325 (Ilia, daniel dot mueller at inexio dot net)
1326 . Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
1327 (Justin Martin)
1328 . Fixed bug #53226 (file_exists fails on big filenames). (Adam)
1329 . Fixed bug #53198 (changing INI setting "from" with ini_set did not have any
1330 effect). (Gustavo)
1331 . Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
1332 type is application/x-www-form-urlencoded or is not registered with PHP).
1333 (gm at tlink dot de, Gustavo)
1334 . Fixed bug #53141 (autoload misbehaves if called from closing session).
1335 (ladislav at marek dot su)
1336 . Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities
1337 with ENT_NOQUOTES and ISO-8859-1). Fixed and extended the fix of
1338 ENT_NOQUOTES in html_entity_decode that had introduced the bug (rev
1339 #185591) to other encodings. Additionaly, html_entity_decode() now doesn't
1340 decode " if ENT_NOQUOTES is given. (Gustavo)
1341 . Fixed bug #52931 (strripos not overloaded with function overloading
1342 enabled). (Felipe)
1343 . Fixed bug #52772 (var_dump() doesn't check for the existence of
1344 get_class_name before calling it). (Kalle, Gustavo)
1345 . Fixed bug #52534 (var_export array with negative key). (Felipe)
1346 . Fixed bug #52327 (base64_decode() improper handling of leading padding in
1347 strict mode). (Ilia)
1348 . Fixed bug #52260 (dns_get_record fails with non-existing domain on Windows).
1349 (a_jelly_doughnut at phpbb dot com, Pierre)
1350 . Fixed bug #50953 (socket will not connect to IPv4 address when the host has
1351 both IPv4 and IPv6 addresses, on Windows). (Gustavo, Pierre)
1352 . Fixed bug #50524 (proc_open on Windows does not respect cwd as it does on
1353 other platforms). (Pierre)
1354 . Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number
1355 of reported malformed sequences). (CVE-2010-3870) (Gustavo)
1356 . Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).
1357 (Gustavo)
1358 . Fixed bug #48831 (php -i has different output to php --ini). (Richard,
1359 Pierre)
1360 . Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).
1361 (Felipe)
1362 . Fixed bug #47168 (printf of floating point variable prints maximum of 40
1363 decimal places). (Ilia)
1364 . Fixed bug #46587 (mt_rand() does not check that max is greater than min).
1365 (Ilia)
1366 . Fixed bug #29085 (bad default include_path on Windows). (Pierre)
1367 . Fixed bug #25927 (get_html_translation_table calls the ' ' instead of
1368 '). (Gustavo)
1370 - Zend engine:
1371 . Reverted fix for bug #51176 (Static calling in non-static method behaves
1372 like $this->). (Felipe)
1373 . Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.
1374 (Kalle)
1375 . Fixed NULL dereference in lex_scan on zend multibyte builds where the script
1376 had a flex incompatible encoding and there was no converter. (Gustavo)
1377 . Fixed covariance of return-by-ref constraints. (Etienne)
1378 . Fixed bug #53305 (E_NOTICE when defining a constant starts with
1379 __COMPILER_HALT_OFFSET__). (Felipe)
1380 . Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF).
1381 (Dmitry)
1382 . Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset
1383 can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)
1384 . Fixed bug #52786 (PHP should reset section to [PHP] after ini sections).
1385 (Fedora at famillecollet dot com)
1386 . Fixed bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW).
1387 (Felipe)
1388 . Fixed bug #52484 (__set() ignores setting properties with empty names).
1389 (Felipe)
1390 . Fixed bug #52361 (Throwing an exception in a destructor causes invalid
1391 catching). (Dmitry)
1392 . Fixed bug #51008 (Zend/tests/bug45877.phpt fails). (Dmitry)
1394 - Build issues:
1395 . Fixed bug #52436 (Compile error if systems do not have stdint.h)
1396 (Sriram Natarajan)
1397 . Fixed bug #50345 (nanosleep not detected properly on some solaris versions).
1398 (Ulf, Tony)
1399 . Fixed bug #49215 (make fails on glob_wrapper). (Felipe)
1401 - Calendar extension:
1402 . Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE).
1403 (gpap at internet dot gr, Adam)
1405 - cURL extension:
1406 . Fixed bug #52828 (curl_setopt does not accept persistent streams).
1407 (Gustavo, Ilia)
1408 . Fixed bug #52827 (cURL leaks handle and causes assertion error
1409 (CURLOPT_STDERR)). (Gustavo)
1410 . Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). (Ilia)
1411 . Fixed bug #50410 (curl extension slows down PHP on Windows). (Pierre)
1413 - DateTime extension:
1414 . Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return
1415 1 million microsecs). (ped at 7gods dot org)
1416 . Fixed bug #52668 (Iterating over a dateperiod twice is broken). (Derick)
1417 . Fixed bug #52454 (Relative dates and getTimestamp increments by one day).
1418 (Derick)
1419 . Fixed bug #52430 (date_parse parse 24:xx:xx as valid time). (Derick)
1420 . Added support for the ( and ) delimiters/separators to
1421 DateTime::createFromFormat(). (Derick)
1423 - DBA extension:
1424 . Added Berkeley DB 5.1 support to the DBA extension. (Oracle Corp.)
1426 - DOM extension:
1427 . Fixed bug #52656 (DOMCdataSection does not work with splitText). (Ilia)
1429 - Filter extension:
1430 . Fixed the filter extension accepting IPv4 octets with a leading 0 as that
1431 belongs to the unsupported "dotted octal" representation. (Gustavo)
1432 . Fixed bug #53236 (problems in the validation of IPv6 addresses with leading
1433 and trailing :: in the filter extension). (Gustavo)
1434 . Fixed bug #50117 (problems in the validation of IPv6 addresses with IPv4
1435 addresses and ::). (Gustavo)
1437 - GD extension:
1438 . Fixed bug #53492 (fix crash if anti-aliasing steps are invalid). (Pierre)
1440 - GMP extension:
1441 . Fixed bug #52906 (gmp_mod returns negative result when non-negative is
1442 expected). (Stas)
1443 . Fixed bug #52849 (GNU MP invalid version match). (Adam)
1445 - Hash extension:
1446 . Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c).
1447 (Mike, Ilia)
1449 - Iconv extension:
1450 . Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
1451 headers). (Adam)
1452 . Fixed bug #52599 (iconv output handler outputs incorrect content type
1453 when flags are used). (Ilia)
1454 . Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded
1455 words). (Ilia)
1457 - Intl extension:
1458 . Fixed crashes on invalid parameters in intl extension. (CVE-2010-4409).
1459 (Stas, Maksymilian Arciemowicz)
1460 . Added support for formatting the timestamp stored in a DateTime object.
1461 (Stas)
1462 . Fixed bug #50590 (IntlDateFormatter::parse result is limited to the integer
1463 range). (Stas)
1465 - Mbstring extension:
1466 . Fixed bug #53273 (mb_strcut() returns garbage with the excessive length
1467 parameter). (CVE-2010-4156) (Mateusz Kocielski, Pierre, Moriyoshi)
1468 . Fixed bug #52981 (Unicode casing table was out-of-date. Updated with
1469 UnicodeData-6.0.0d7.txt and included the source of the generator program
1470 with the distribution) (Gustavo).
1471 . Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header).
1472 (Adam)
1474 - MSSQL extension:
1475 . Fixed possible crash in mssql_fetch_batch(). (Kalle)
1476 . Fixed bug #52843 (Segfault when optional parameters are not passed in to
1477 mssql_connect). (Felipe)
1479 - MySQL extension:
1480 . Fixed bug #52636 (php_mysql_fetch_hash writes long value into int).
1481 (Kalle, rein at basefarm dot no)
1483 - MySQLi extension:
1484 . Fixed bug #52891 (Wrong data inserted with mysqli/mysqlnd when using
1485 mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey)
1486 . Fixed bug #52686 (mysql_stmt_attr_[gs]et argument points to incorrect type).
1487 (rein at basefarm dot no)
1488 . Fixed bug #52654 (mysqli doesn't install headers with structures it uses).
1489 (Andrey)
1490 . Fixed bug #52433 (Call to undefined method mysqli::poll() - must be static).
1491 (Andrey)
1492 . Fixed bug #52417 (MySQLi build failure with mysqlnd on MacOS X). (Andrey)
1493 . Fixed bug #52413 (MySQLi/libmysql build failure on OS X, FreeBSD). (Andrey)
1494 . Fixed bug #52390 (mysqli_report() should be per-request setting). (Kalle)
1495 . Fixed bug #52302 (mysqli_fetch_all does not work with MYSQLI_USE_RESULT).
1496 (Andrey)
1497 . Fixed bug #52221 (Misbehaviour of magic_quotes_runtime (get/set)). (Andrey)
1498 . Fixed bug #45921 (Can't initialize character set hebrew). (Andrey)
1500 - MySQLnd:
1501 . Fixed bug #52613 (crash in mysqlnd after hitting memory limit). (Andrey)
1503 - ODBC extension:
1504 - Fixed bug #52512 (Broken error handling in odbc_execute).
1505 (mkoegler at auto dot tuwien dot ac dot at)
1507 - Openssl extension:
1508 . Fixed possible blocking behavior in openssl_random_pseudo_bytes on Windows.
1509 (Pierre)
1510 . Fixed bug #53136 (Invalid read on openssl_csr_new()). (Felipe)
1511 . Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain
1512 used). (Felipe)
1514 - Oracle Database extension (OCI8):
1515 . Fixed bug #53284 (Valgrind warnings in oci_set_* functions) (Oracle Corp.)
1516 . Fixed bug #51610 (Using oci_connect causes PHP to take a long time to
1517 exit). Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix
1518 9891199) for this patch to have an effect. (Oracle Corp.)
1520 - PCNTL extension:
1521 . Fixed bug #52784 (Race condition when handling many concurrent signals).
1522 (nick dot telford at gmail dot com, Arnaud)
1524 - PCRE extension:
1525 . Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8). (Felipe)
1526 . Fixed bug #52732 (Docs say preg_match() returns FALSE on error, but it
1527 returns int(0)). (slugonamission at gmail dot com)
1529 - PHAR extension:
1530 . Fixed bug #50987 (unaligned memory access in phar.c).
1531 (geissert at debian dot org, Ilia)
1533 - PHP-FPM SAPI:
1534 . Fixed bug #53412 (segfault when using -y). (fat)
1535 . Fixed inconsistent backlog default value (-1) in FPM on many systems. (fat)
1536 . Fixed bug #52501 (libevent made FPM crashed when forking -- libevent has
1537 been removed). (fat)
1538 . Fixed bug #52725 (gcc builtin atomic functions were sometimes used when they
1539 were not available). (fat)
1540 . Fixed bug #52693 (configuration file errors are not logged to stderr). (fat)
1541 . Fixed bug #52674 (FPM Status page returns inconsistent Content-Type
1542 headers). (fat)
1543 . Fixed bug #52498 (libevent was not only linked to php-fpm). (fat)
1545 - PDO:
1546 . Fixed bug #52699 (PDO bindValue writes long int 32bit enum).
1547 (rein at basefarm dot no)
1548 . Fixed bug #52487 (PDO::FETCH_INTO leaks memory). (Felipe)
1550 - PDO DBLib driver:
1551 . Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values).
1552 (Felipe)
1554 - PDO Firebird driver:
1555 . Restored firebird support (VC9 builds only). (Pierre)
1556 . Fixed bug #53335 (pdo_firebird did not implement rowCount()).
1557 (preeves at ibphoenix dot com)
1558 . Fixed bug #53323 (pdo_firebird getAttribute() crash).
1559 (preeves at ibphoenix dot com)
1561 - PDO MySQL driver:
1562 . Fixed bug #52745 (Binding params doesn't work when selecting a date inside a
1563 CASE-WHEN). (Andrey)
1565 - PostgreSQL extension:
1566 . Fixed bug #47199 (pg_delete() fails on NULL). (ewgraf at gmail dot com)
1568 - Reflection extension:
1569 . Fixed ReflectionProperty::isDefault() giving a wrong result for properties
1570 obtained with ReflectionClass::getProperties(). (Gustavo)
1571 - Reflection extension:
1572 . Fixed bug #53366 (Reflection doesnt get dynamic property value from
1573 getProperty()). (Felipe)
1574 . Fixed bug #52854 (ReflectionClass::newInstanceArgs does not work for classes
1575 without constructors). (Johannes)
1577 - SOAP extension:
1578 . Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy
1579 with SoapClient object). (Dmitry)
1581 - SPL extension:
1582 . Fixed bug #53362 (Segmentation fault when extending SplFixedArray). (Felipe)
1583 . Fixed bug #53279 (SplFileObject doesn't initialise default CSV escape
1584 character). (Adam)
1585 . Fixed bug #53144 (Segfault in SplObjectStorage::removeAll()). (Felipe)
1586 . Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). (Gustavo)
1587 . Fixed bug #52573 (SplFileObject::fscanf Segmentation fault). (Felipe)
1588 . Fixed bug #51763 (SplFileInfo::getType() does not work symbolic link
1589 and directory). (Pierre)
1590 . Fixed bug #50481 (Storing many SPLFixedArray in an array crashes). (Felipe)
1591 . Fixed bug #50579 (RegexIterator::REPLACE doesn't work). (Felipe)
1593 - SQLite3 extension:
1594 . Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number).
1595 (Felipe)
1597 - Streams:
1598 . Fixed forward stream seeking emulation in streams that don't support seeking
1599 in situations where the read operation gives back less data than requested
1600 and when there was data in the buffer before the emulation started. Also
1601 made more consistent its behavior -- should return failure every time less
1602 data than was requested was skipped. (Gustavo)
1603 . Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails
1604 with streams opened with, inter alia, the 'xb' mode). (Gustavo)
1605 . Fixed bug #53006 (stream_get_contents has an unpredictable behavior when the
1606 underlying stream does not support seeking). (Gustavo)
1607 . Fixed bug #52944 (Invalid write on second and subsequent reads with an
1608 inflate filter fed invalid data). (Gustavo)
1609 . Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
1610 stream). (Gustavo)
1612 - WDDX extension:
1613 . Fixed bug #52468 (wddx_deserialize corrupts integer field value when left
1614 empty). (Felipe)
1616 - Zlib extension:
1617 . Fixed bug #52926 (zlib fopen wrapper does not use context). (Gustavo)
1619 22 Jul 2010, PHP 5.3.3
1620 - Upgraded bundled sqlite to version 3.6.23.1. (Ilia)
1621 - Upgraded bundled PCRE to version 8.02. (Ilia)
1623 - Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
1624 numeric strings to integers. (Ilia)
1625 - Added stream_set_read_buffer, allows to set the buffer for read operation.
1626 (Pierre)
1627 - Added stream filter support to mcrypt extension (ported from
1628 mcrypt_filter). (Stas)
1629 - Added full_special_chars filter to ext/filter. (Rasmus)
1630 - Added backlog socket context option for stream_socket_server(). (Mike)
1631 - Added fifth parameter to openssl_encrypt()/openssl_decrypt()
1632 (string $iv) to use non-NULL IV.
1633 Made implicit use of NULL IV a warning. (Sara)
1634 - Added openssl_cipher_iv_length(). (Sara)
1635 - Added FastCGI Process Manager (FPM) SAPI. (Tony)
1636 - Added recent Windows versions to php_uname and fix undefined windows
1637 version support. (Pierre)
1638 - Added Berkeley DB 5 support to the DBA extension. (Johannes, Chris Jones)
1639 - Added support for copy to/from array/file for pdo_pgsql extension.
1640 (Denis Gasparin, Ilia)
1641 - Added inTransaction() method to PDO, with specialized support for Postgres.
1642 (Ilia, Denis Gasparin)
1644 - Changed namespaced classes so that the ctor can only be named
1645 __construct now. (Stas)
1646 - Reset error state in PDO::beginTransaction() reset error state. (Ilia)
1648 - Implemented FR#51295 (SQLite3::busyTimeout not existing). (Mark)
1649 - Implemented FR#35638 (Adding udate to imap_fetch_overview results).
1650 (Charles_Duffy at dell dot com )
1651 - Rewrote var_export() to use smart_str rather than output buffering, prevents
1652 data disclosure if a fatal error occurs (CVE-2010-2531). (Scott)
1653 - Fixed possible buffer overflows in mysqlnd_list_fields, mysqlnd_change_user.
1654 (Andrey)
1655 - Fixed possible buffer overflows when handling error packets in mysqlnd.
1656 Reported by Stefan Esser. (Andrey)
1657 - Fixed very rare memory leak in mysqlnd, when binding thousands of columns.
1658 (Andrey)
1659 - Fixed a crash when calling an inexistent method of a class that inherits
1660 PDOStatement if instantiated directly instead of doing by the PDO methods.
1661 (Felipe)
1663 - Fixed memory leak on error in mcrypt_create_iv on Windows. (Pierre)
1664 - Fixed a possible crash because of recursive GC invocation. (Dmitry)
1665 - Fixed a possible resource destruction issues in shm_put_var().
1666 Reported by Stefan Esser. (Dmitry)
1667 - Fixed a possible information leak because of interruption of XOR operator.
1668 Reported by Stefan Esser. (Dmitry)
1669 - Fixed a possible memory corruption because of unexpected call-time pass by
1670 refernce and following memory clobbering through callbacks.
1671 Reported by Stefan Esser. (Dmitry)
1672 - Fixed a possible memory corruption in ArrayObject::uasort(). Reported by
1673 Stefan Esser. (Dmitry)
1674 - Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser.
1675 (Dmitry)
1676 - Fixed a possible memory corruption in pack(). Reported by Stefan Esser.
1677 (Dmitry)
1678 - Fixed a possible memory corruption in substr_replace(). Reported by Stefan
1679 Esser. (Dmitry)
1680 - Fixed a possible memory corruption in addcslashes(). Reported by Stefan
1681 Esser. (Dmitry)
1682 - Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan
1683 Esser. (Ilia)
1684 - Fixed a possible dechunking filter buffer overflow. Reported by Stefan Esser.
1685 (Pierre)
1686 - Fixed a possible arbitrary memory access inside sqlite extension. Reported
1687 by Mateusz Kocielski. (Ilia)
1688 - Fixed string format validation inside phar extension. Reported by Stefan
1689 Esser. (Ilia)
1690 - Fixed handling of session variable serialization on certain prefix
1691 characters. Reported by Stefan Esser. (Ilia)
1692 - Fixed a NULL pointer dereference when processing invalid XML-RPC
1693 requests (Fixes CVE-2010-0397, bug #51288). (Raphael Geissert)
1694 - Fixed 64-bit integer overflow in mhash_keygen_s2k(). (Clément LECIGNE, Stas)
1695 - Fixed SplObjectStorage unserialization problems (CVE-2010-2225). (Stas)
1696 - Fixed the mail.log ini setting when no filename was given. (Johannes)
1698 - Fixed bug #52317 (Segmentation fault when using mail() on a rhel 4.x (only 64
1699 bit)). (Adam)
1700 - Fixed bug #52262 (json_decode() shows no errors on invalid UTF-8).
1701 (Scott)
1702 - Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong
1703 results and PHP crashes). (Felipe)
1704 - Fixed bug #52238 (Crash when an Exception occured in iterator_to_array).
1705 (Johannes)
1706 - Fixed bug #52193 (converting closure to array yields empty array). (Felipe)
1707 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for
1708 function aliases). (Felipe)
1709 - Fixed bug #52162 (custom request header variables with numbers are removed).
1710 (Sriram Natarajan)
1711 - Fixed bug #52160 (Invalid E_STRICT redefined constructor error). (Felipe)
1712 - Fixed bug #52138 (Constants are parsed into the ini file for section names).
1713 (Felipe)
1714 - Fixed bug #52115 (mysqli_result::fetch_all returns null, not an empty array).
1715 (Andrey)
1716 - Fixed bug #52101 (dns_get_record() garbage in 'ipv6' field on Windows).
1717 (Pierre)
1718 - Fixed bug #52082 (character_set_client & character_set_connection reset after
1719 mysqli_change_user()). (Andrey)
1720 - Fixed bug #52043 (GD doesn't recognize latest libJPEG versions).
1721 (php at group dot apple dot com, Pierre)
1722 - Fixed bug #52041 (Memory leak when writing on uninitialized variable returned
1723 from function). (Dmitry)
1724 - Fixed bug #52060 (Memory leak when passing a closure to method_exists()).
1725 (Felipe)
1726 - Fixed bug #52057 (ReflectionClass fails on Closure class). (Felipe)
1727 - Fixed bug #52051 (handling of case sensitivity of old-style constructors
1728 changed in 5.3+). (Felipe)
1729 - Fixed bug #52037 (Concurrent builds fail in install-programs). (seanius at
1730 debian dot org, Kalle)
1731 - Fixed bug #52019 (make lcov doesn't support TESTS variable anymore). (Patrick)
1732 - Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).
1733 (Ilia)
1734 - Fixed bug #52001 (Memory allocation problems after using variable variables).
1735 (Dmitry)
1736 - Fixed bug #51991 (spl_autoload and *nix support with namespace). (Felipe)
1737 - Fixed bug #51943 (AIX: Several files are out of ANSI spec). (Kalle,
1738 coreystup at gmail dot com)
1739 - Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with
1740 constant array). (Felipe)
1741 - Fixed bug #51905 (ReflectionParameter fails if default value is an array
1742 with an access to self::). (Felipe)
1743 - Fixed bug #51899 (Parse error in parse_ini_file() function when empy value
1744 followed by no newline). (Felipe)
1745 - Fixed bug #51844 (checkdnsrr does not support types other than MX). (Pierre)
1746 - Fixed bug #51827 (Bad warning when register_shutdown_function called with
1747 wrong num of parameters). (Felipe)
1748 - Fixed bug #51822 (Segfault with strange __destruct() for static class
1749 variables). (Dmitry)
1750 - Fixed bug #51791 (constant() aborts execution when fail to check undefined
1751 constant). (Felipe)
1752 - Fixed bug #51732 (Fileinfo __construct or open does not work with NULL).
1753 (Pierre)
1754 - Fixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike)
1755 - Fixed bug #51723 (Content-length header is limited to 32bit integer with
1756 Apache2 on Windows). (Pierre)
1757 - Fixed bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable).
1758 (David Zuelke)
1759 - Fixed bug #51712 (Test mysql_mysqlnd_read_timeout_long must fail on MySQL4).
1760 (Andrey)
1761 - Fixed bug #51697 (Unsafe operations in free_storage of SPL iterators,
1762 causes crash during shutdown). (Etienne)
1763 - Fixed bug #51690 (Phar::setStub looks for case-sensitive
1764 __HALT_COMPILER()). (Ilia)
1765 - Fixed bug #51688 (ini per dir crashes when invalid document root are given).
1766 (Pierre)
1767 - Fixed bug #51671 (imagefill does not work correctly for small images).
1768 (Pierre)
1769 - Fixed bug #51670 (getColumnMeta causes segfault when re-executing query
1770 after calling nextRowset). (Pierrick)
1771 - Fixed bug #51647 Certificate file without private key (pk in another file)
1772 doesn't work. (Andrey)
1773 - Fixed bug #51629 (CURLOPT_FOLLOWLOCATION error message is misleading).
1774 (Pierre)
1775 - Fixed bug #51627 (script path not correctly evaluated).
1776 (russell dot tempero at rightnow dot com)
1777 - Fixed bug #51624 (Crash when calling mysqli_options()). (Felipe)
1778 - Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML). (Felipe)
1779 - Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter).
1780 (Felipe)
1781 - Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string
1782 literal). (cbandy at jbandy dot com)
1783 - Fixed bug #51607 (pg_copy_from does not allow schema in the tablename
1784 argument). (cbandy at jbandy dot com)
1785 - Fixed bug #51605 (Mysqli - zombie links). (Andrey)
1786 - Fixed bug #51604 (newline in end of header is shown in start of message).
1787 (Daniel Egeberg)
1788 - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined). (Felipe)
1789 - Fixed bug #51583 (Bus error due to wrong alignment in mysqlnd). (Rainer Jung)
1790 - Fixed bug #51582 (Don't assume UINT64_C it's ever available).
1791 (reidrac at usebox dot net, Pierre)
1792 - Fixed bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)
1793 (Oracle Corp.)
1794 - Fixed bug #51562 (query timeout in mssql can not be changed per query).
1795 (ejsmont dot artur at gmail dot com)
1796 - Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory
1797 issues). (Dmitry)
1798 - Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection). (Felipe)
1799 - Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile
1800 errors). (Felipe)
1801 - Fixed bug #51424 (crypt() function hangs after 3rd call). (Pierre, Sriram)
1802 - Fixed bug #51394 (Error line reported incorrectly if error handler throws an
1803 exception). (Stas)
1804 - Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains
1805 timezone). (Adam)
1806 - Fixed bug #51347 (mysqli_close / connection memory leak). (Andrey, Johannes)
1807 - Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is
1808 on). (Ilia, j dot jeising at gmail dot com)
1809 - Fixed bug #51291 (oci_error doesn't report last error when called two times)
1810 (Oracle Corp.)
1811 - Fixed bug #51276 (php_load_extension() is missing when HAVE_LIBDL is
1812 undefined). (Tony)
1813 - Fixed bug #51273 (Faultstring property does not exist when the faultstring is
1814 empty) (Ilia, dennis at transip dot nl)
1815 - Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). (Adam)
1816 - Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl
1817 version 7.10.1). (aron dot ujvari at microsec dot hu)
1818 - Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore,
1819 but 0). (Adam)
1820 - Fixed bug #51237 (milter SAPI crash on startup). (igmar at palsenberg dot com)
1821 - Fixed bug #51213 (pdo_mssql is trimming value of the money column). (Ilia,
1822 alexr at oplot dot com)
1823 - Fixed bug #51190 (ftp_put() returns false when transfer was successful).
1824 (Ilia)
1825 - Fixed bug #51183 (ext/date/php_date.c fails to compile with Sun Studio).
1826 (Sriram Natarajan)
1827 - Fixed bug #51176 (Static calling in non-static method behaves like $this->).
1828 (Felipe)
1829 - Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when
1830 an invalid option is provided). (Ilia)
1831 - Fixed bug #51128 (imagefill() doesn't work with large images). (Pierre)
1832 - Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
1833 parsing date strings). (Derick)
1834 - Fixed bug #51086 (DBA DB4 doesn't work with Berkeley DB 4.8). (Chris Jones)
1835 - Fixed bug #51062 (DBA DB4 uses mismatched headers and libraries). (Chris
1836 Jones)
1837 - Fixed bug #51026 (mysqli_ssl_set not working). (Andrey)
1838 - Fixed bug #51023 (filter doesn't detect int overflows with GCC 4.4).
1839 (Raphael Geissert)
1840 - Fixed bug #50999 (unaligned memory access in dba_fetch()). (Felipe)
1841 - Fixed bug #50976 (Soap headers Authorization not allowed).
1842 (Brain France, Dmitry)
1843 - Fixed bug #50828 (DOMNotation is not subclass of DOMNode). (Rob)
1844 - Fixed bug #50810 (property_exists does not work for private). (Felipe)
1845 - Fixed bug #50762 (in WSDL mode Soap Header handler function only being called
1846 if defined in WSDL). (mephius at gmail dot com)
1847 - Fixed bug #50731 (Inconsistent namespaces sent to functions registered with
1848 spl_autoload_register). (Felipe)
1849 - Fixed bug #50563 (removing E_WARNING from parse_url). (ralph at smashlabs dot
1850 com, Pierre)
1851 - Fixed bug #50578 (incorrect shebang in phar.phar). (Fedora at FamilleCollet
1852 dot com)
1853 - Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format
1854 character). (Derick)
1855 - Fixed bug #50383 (Exceptions thrown in __call / __callStatic do not include
1856 file and line in trace). (Felipe)
1857 - Fixed bug #50358 (Compile failure compiling ext/phar/util.lo). (Felipe)
1858 - Fixed bug #50101 (name clash between global and local variable).
1859 (patch by yoarvi at gmail dot com)
1860 - Fixed bug #50055 (DateTime::sub() allows 'relative' time modifications).
1861 (Derick)
1862 - Fixed bug #51002 (fix possible memory corruption with very long names).
1863 (Pierre)
1864 - Fixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3).
1865 (Dmitry)
1866 - Fixed bug #49819 (STDOUT losing data with posix_isatty()). (Mike)
1867 - Fixed bug #49778 (DateInterval::format("%a") is always zero when an interval
1868 is created from an ISO string). (Derick)
1869 - Fixed bug #49700 (memory leaks in php_date.c if garbage collector is
1870 enabled). (Dmitry)
1871 - Fixed bug #49576 (FILTER_VALIDATE_EMAIL filter needs updating) (Rasmus)
1872 - Fixed bug #49490 (XPath namespace prefix conflict). (Rob)
1873 - Fixed bug #49429 (odbc_autocommit doesn't work). (Felipe)
1874 - Fixed bug #49320 (PDO returns null when SQLite connection fails). (Felipe)
1875 - Fixed bug #49234 (mysqli_ssl_set not found). (Andrey)
1876 - Fixed bug #49216 (Reflection doesn't seem to work properly on MySqli).
1877 (Andrey)
1878 - Fixed bug #49192 (PHP crashes when GC invoked on COM object). (Stas)
1879 - Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
1880 28 days). (Derick)
1881 - Fixed bug #49059 (DateTime::diff() repeats previous sub() operation).
1882 (yoarvi@gmail.com, Derick)
1883 - Fixed bug #48983 (DomDocument : saveHTMLFile wrong charset). (Rob)
1884 - Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3). (Felipe)
1885 - Fixed bug #48902 (Timezone database fallback map is outdated). (Derick)
1886 - Fixed bug #48781 (Cyclical garbage collector memory leak). (Dmitry)
1887 - Fixed bug #48601 (xpath() returns FALSE for legitimate query). (Rob)
1888 - Fixed bug #48361 (SplFileInfo::getPathInfo should return the
1889 parent dir). (Etienne)
1890 - Fixed bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
1891 (Adam, patch from hiroaki dot kawai at gmail dot com).
1892 - Fixed bug #47842 (sscanf() does not support 64-bit values). (Mike)
1893 - Fixed bug #46111 (Some timezone identifiers can not be parsed). (Derick)
1894 - Fixed bug #45808 (stream_socket_enable_crypto() blocks and eats CPU).
1895 (vincent at optilian dot com)
1896 - Fixed bug #43233 (sasl support for ldap on Windows). (Pierre)
1897 - Fixed bug #35673 (formatOutput does not work with saveHTML). (Rob)
1898 - Fixed bug #33210 (getimagesize() fails to detect width/height on certain
1899 JPEGs). (Ilia)
1901 04 Mar 2010, PHP 5.3.2
1903 - Upgraded bundled sqlite to version 3.6.22. (Ilia)
1904 - Upgraded bundled libmagic to version 5.03. (Mikko)
1905 - Upgraded bundled PCRE to version 8.00. (Scott)
1906 - Updated timezone database to version 2010.3. (Derick)
1908 - Improved LCG entropy. (Rasmus, Samy Kamkar)
1909 - Improved crypt support for edge cases (UFC compatibility). (Solar Designer,
1910 Joey, Pierre)
1912 - Reverted fix for bug #49521 (PDO fetchObject sets values before calling
1913 constructor). (Pierrick, Johannes)
1915 - Changed gmp_strval() to use full range from 2 to 62, and -2 to -36. FR #50283
1916 (David Soria Parra)
1917 - Changed "post_max_size" php.ini directive to allow unlimited post size by
1918 setting it to 0. (Rasmus)
1919 - Changed tidyNode class to disallow manual node creation. (Pierrick)
1921 - Removed automatic file descriptor unlocking happening on shutdown and/or
1922 stream close (on all OSes). (Tony, Ilia)
1924 - Added libpng 1.4.0 support. (Pierre)
1925 - Added support for DISABLE_AUTHENTICATOR for imap_open. (Pierre)
1926 - Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL.
1927 (Ilia)
1928 - Added stream_resolve_include_path(). (Mikko)
1929 - Added INTERNALDATE support to imap_append. (nick at mailtrust dot com)
1930 - Added support for SHA-256 and SHA-512 to php's crypt. (Pierre)
1931 - Added realpath_cache_size() and realpath_cache_get() functions. (Stas)
1932 - Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia)
1933 - Added protection for $_SESSION from interrupt corruption and improved
1934 "session.save_path" check. (Stas)
1935 - Added LIBXML_PARSEHUGE constant to override the maximum text size of a
1936 single text node when using libxml2.7.3+. (Kalle)
1937 - Added ReflectionMethod::setAccessible() for invoking non-public methods
1938 through the Reflection API. (Sebastian)
1939 - Added Collator::getSortKey for intl extension. (Stas)
1940 - Added support for CURLOPT_POSTREDIR. FR #49571. (Sriram Natarajan)
1941 - Added support for CURLOPT_CERTINFO. FR #49253.
1942 (Linus Nielsen Feltzing <linus@haxx.se>)
1943 - Added client-side server name indication support in openssl. (Arnaud)
1945 - Improved fix for bug #50006 (Segfault caused by uksort()). (Stas)
1947 - Fixed mysqlnd hang when queries exactly 16777214 bytes long are sent. (Andrey)
1948 - Fixed incorrect decoding of 5-byte BIT sequences in mysqlnd. (Andrey)
1949 - Fixed error_log() to be binary safe when using message_type 3. (Jani)
1950 - Fixed unnecessary invocation of setitimer when timeouts have been disabled.
1951 (Arvind Srinivasan)
1952 - Fixed memory leak in extension loading when an error occurs on Windows.
1953 (Pierre)
1954 - Fixed safe_mode validation inside tempnam() when the directory path does
1955 not end with a /). (Martin Jansen)
1956 - Fixed a possible open_basedir/safe_mode bypass in session extension
1957 identified by Grzegorz Stachowiak. (Ilia)
1958 - Fixed possible crash when a error/warning is raised during php startup.
1959 (Pierre)
1960 - Fixed possible bad behavior of rename on windows when used with symbolic
1961 links or invalid paths. (Pierre)
1962 - Fixed error output to stderr on Windows. (Pierre)
1963 - Fixed memory leaks in is_writable/readable/etc on Windows. (Pierre)
1964 - Fixed memory leaks in the ACL function on Windows. (Pierre)
1965 - Fixed memory leak in the realpath cache on Windows. (Pierre)
1966 - Fixed memory leak in zip_close. (Pierre)
1967 - Fixed crypt's blowfish sanity check of the "setting" string, to reject
1968 iteration counts encoded as 36 through 39. (Solar Designer, Joey, Pierre)
1970 - Fixed bug #51059 (crypt crashes when invalid salt are given). (Pierre)
1971 - Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files).
1972 (Jani)
1973 - Fixed bug #50940 (Custom content-length set incorrectly in Apache SAPIs).
1974 (Brian France, Rasmus)
1975 - Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc
1976 versions). (Derick)
1977 - Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in *NIX).
1978 (Ilia)
1979 - Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation).
1980 (Ilia, hanno at hboeck dot de)
1981 - Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes
1982 long). (Ilia)
1983 - Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored).
1984 (Ilia)
1985 - Fixed bug #50832 (HTTP fopen wrapper does not support passwordless HTTP
1986 authentication). (Jani)
1987 - Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams).
1988 (vnegrier at optilian dot com, Ilia)
1989 - Fixed bug #50761 (system.multiCall crashes in xmlrpc extension).
1990 (hiroaki dot kawai at gmail dot com, Ilia)
1991 - Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist). (Sriram)
1992 - Fixed bug #50732 (exec() adds single byte twice to $output array). (Ilia)
1993 - Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0).
1994 (Joey, Ilia)
1995 - Fixed bug #50723 (Bug in garbage collector causes crash). (Dmitry)
1996 - Fixed bug #50690 (putenv does not set ENV when the value is only one char).
1997 (Pierre)
1998 - Fixed bug #50680 (strtotime() does not support eighth ordinal number). (Ilia)
1999 - Fixed bug #50661 (DOMDocument::loadXML does not allow UTF-16). (Rob)
2000 - Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but
2001 returns false). (Ilia)
2002 - Fixed bug #50636 (MySQLi_Result sets values before calling constructor).
2003 (Pierrick)
2004 - Fixed bug #50632 (filter_input() does not return default value if the
2005 variable does not exist). (Ilia)
2006 - Fixed bug #50576 (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick)
2007 - Fixed bug #50558 (Broken object model when extending tidy). (Pierrick)
2008 - Fixed bug #50540 (Crash while running ldap_next_reference test cases).
2009 (Sriram)
2010 - Fixed bug #50519 (segfault in garbage collection when using set_error_handler
2011 and DomDocument). (Dmitry)
2012 - Fixed bug #50508 (compile failure: Conflicting HEADER type declarations).
2013 (Jani)
2014 - Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation
2015 environment. (Sriram)
2016 - Fixed bug #50464 (declare encoding doesn't work within an included file).
2017 (Felipe)
2018 - Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures). (Felipe, Pierrick)
2019 - Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes
2020 seg fault). (davbrown4 at yahoo dot com, Felipe)
2021 - Fixed bug #50416 (PROCEDURE db.myproc can't return a result set in the given
2022 context). (Andrey)
2023 - Fixed bug #50394 (Reference argument converted to value in __call). (Stas)
2024 - Fixed bug #50351 (performance regression handling objects, ten times slower
2025 in 5.3 than in 5.2). (Dmitry)
2026 - Fixed bug #50392 (date_create_from_format() enforces 6 digits for 'u'
2027 format character). (Ilia)
2028 - Fixed bug #50345 (nanosleep not detected properly on some solaris versions).
2029 (Jani)
2030 - Fixed bug #50340 (php.ini parser does not allow spaces in ini keys). (Jani)
2031 - Fixed bug #50334 (crypt ignores sha512 prefix). (Pierre)
2032 - Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN).
2033 (Ilia, Pierrick)
2034 - Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays).
2035 (Felipe)
2036 - Fixed bug #50282 (xmlrpc_encode_request() changes object into array in
2037 calling function). (Felipe)
2038 - Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT). (Jani)
2039 - Fixed bug #50266 (conflicting types for llabs). (Jani)
2040 - Fixed bug #50261 (Crash When Calling Parent Constructor with
2041 call_user_func()). (Dmitry)
2042 - Fixed bug #50255 (isset() and empty() silently casts array to object).
2043 (Felipe)
2044 - Fixed bug #50240 (pdo_mysql.default_socket in php.ini shouldn't used
2045 if it is empty). (foutrelis at gmail dot com, Ilia)
2046 - Fixed bug #50231 (Socket path passed using --with-mysql-sock is ignored when
2047 mysqlnd is enabled). (Jani)
2048 - Fixed bug #50219 (soap call Segmentation fault on a redirected url).
2049 (Pierrick)
2050 - Fixed bug #50212 (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT).
2051 (Ilia, shigeru_kitazaki at cybozu dot co dot jp)
2052 - Fixed bug #50209 (Compiling with libedit cannot find readline.h).
2053 (tcallawa at redhat dot com)
2054 - Fixed bug #50207 (segmentation fault when concatenating very large strings on
2055 64bit linux). (Ilia)
2056 - Fixed bug #50196 (stream_copy_to_stream() produces warning when source is
2057 not file). (Stas)
2058 - Fixed bug #50195 (pg_copy_to() fails when table name contains schema. (Ilia)
2059 - Fixed bug #50185 (ldap_get_entries() return false instead of an empty array
2060 when there is no error). (Jani)
2061 - Fixed bug #50174 (Incorrectly matched docComment). (Felipe)
2062 - Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to
2063 non-existant file). (Dmitry)
2064 - Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle
2065 database). (Felipe)
2066 - Fixed bug #50159 (wrong working directory in symlinked files). (Dmitry)
2067 - Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses
2068 containing = or ?). (Pierrick)
2069 - Fixed bug #50152 (ReflectionClass::hasProperty behaves like isset() not
2070 property_exists). (Felipe)
2071 - Fixed bug #50146 (property_exists: Closure object cannot have properties).
2072 (Felipe)
2073 - Fixed bug #50145 (crash while running bug35634.phpt). (Felipe)
2074 - Fixed bug #50140 (With default compilation option, php symbols are unresolved
2075 for nsapi). (Uwe Schindler)
2076 - Fixed bug #50087 (NSAPI performance improvements). (Uwe Schindler)
2077 - Fixed bug #50073 (parse_url() incorrect when ? in fragment). (Ilia)
2078 - Fixed bug #50023 (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR). (Ilia)
2079 - Fixed bug #50005 (Throwing through Reflection modified Exception object
2080 makes segmentation fault). (Felipe)
2081 - Fixed bug #49990 (SNMP3 warning message about security level printed twice).
2082 (Jani)
2083 - Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted
2084 transaction). (ben dot pineau at gmail dot com, Ilia, Matteo)
2085 - Fixed bug #49938 (Phar::isBuffering() returns inverted value). (Greg)
2086 - Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option()).
2087 (Pierrick)
2088 - Fixed bug #49921 (Curl post upload functions changed). (Ilia)
2089 - Fixed bug #49866 (Making reference on string offsets crashes PHP). (Dmitry)
2090 - Fixed bug #49855 (import_request_variables() always returns NULL). (Ilia,
2091 sjoerd at php dot net)
2092 - Fixed bug #49851, #50451 (http wrapper breaks on 1024 char long headers).
2093 (Ilia)
2094 - Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
2095 (Ilia, wmeler at wp-sa dot pl)
2096 - Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private
2097 property in base class). (Felipe)
2098 - Fixed bug #49677 (ini parser crashes with apache2 and using ${something}
2099 ini variables). (Jani)
2100 - Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
2101 - Fixed bug #49647 (DOMUserData does not exist). (Rob)
2102 - Fixed bug #49600 (imageTTFText text shifted right). (Takeshi Abe)
2103 - Fixed bug #49585 (date_format buffer not long enough for >4 digit years).
2104 (Derick, Adam)
2105 - Fixed bug #49560 (oci8: using LOBs causes slow PHP shutdown). (Oracle Corp.)
2106 - Fixed bug #49521 (PDO fetchObject sets values before calling constructor).
2107 (Pierrick)
2108 - Fixed bug #49472 (Constants defined in Interfaces can be overridden).
2109 (Felipe)
2110 - Fixed bug #49463 (setAttributeNS fails setting default namespace). (Rob)
2111 - Fixed bug #49244 (Floating point NaN cause garbage characters). (Sjoerd)
2112 - Fixed bug #49224 (Compile error due to old DNS functions on AIX systems).
2113 (Scott)
2114 - Fixed bug #49174 (crash when extending PDOStatement and trying to set
2115 queryString property). (Felipe)
2116 - Fixed bug #48811 (Directives in PATH section do not get applied to
2117 subdirectories). (Patch by: ct at swin dot edu dot au)
2118 - Fixed bug #48590 (SoapClient does not honor max_redirects). (Sriram)
2119 - Fixed bug #48190 (Content-type parameter "boundary" is not case-insensitive
2120 in HTTP uploads). (Ilia)
2121 - Fixed bug #47848 (importNode doesn't preserve attribute namespaces). (Rob)
2122 - Fixed bug #47409 (extract() problem with array containing word "this").
2123 (Ilia, chrisstocktonaz at gmail dot com)
2124 - Fixed bug #47281 ($php_errormsg is limited in size of characters)
2125 (Oracle Corp.)
2126 - Fixed bug #46478 (htmlentities() uses obsolete mapping table for character
2127 entity references). (Moriyoshi)
2128 - Fixed bug #45599 (strip_tags() truncates rest of string with invalid
2129 attribute). (Ilia, hradtke)
2130 - Fixed bug #45120 (PDOStatement->execute() returns true then false for same
2131 statement). (Pierrick)
2132 - Fixed bug #44827 (define() allows :: in constant names). (Ilia)
2133 - Fixed bug #44098 (imap_utf8() returns only capital letters).
2134 (steffen at dislabs dot de, Pierre)
2135 - Fixed bug #34852 (Failure in odbc_exec() using oracle-supplied odbc
2136 driver). (tim dot tassonis at trivadis dot com)
2138 19 Nov 2009, PHP 5.3.1
2139 - Upgraded bundled sqlite to version 3.6.19. (Scott)
2140 - Updated timezone database to version 2009.17 (2009q). (Derick)
2142 - Changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case
2143 insensitive. (garretts)
2145 - Restored shebang line check to CGI sapi (not checked by scanner anymore).
2146 (Jani)
2148 - Added "max_file_uploads" INI directive, which can be set to limit the
2149 number of file uploads per-request to 20 by default, to prevent possible
2150 DOS via temporary file exhaustion. (Ilia)
2151 - Added missing sanity checks around exif processing. (Ilia)
2152 - Added error constant when json_encode() detects an invalid UTF-8 sequence.
2153 (Scott)
2154 - Added support for ACL on Windows for thread safe SAPI (Apache2 for example)
2155 and fix its support on NTS. (Pierre)
2157 - Improved symbolic, mounted volume and junctions support for realpath on
2158 Windows. (Pierre)
2159 - Improved readlink on Windows, suppress \??\ and use the drive syntax only.
2160 (Pierre)
2161 - Improved dns_get_record() AAAA support on windows. Always available when
2162 IPv6 is support is installed, format is now the same than on unix. (Pierre)
2163 - Improved the DNS functions on OSX to use newer APIs, also use Bind 9 API
2164 where available on other platforms. (Scott)
2165 - Improved shared extension loading on OSX to use the standard Unix dlopen()
2166 API. (Scott)
2168 - Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)
2169 - Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak.
2170 (Rasmus)
2171 - Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz
2172 Stachowiak. (Rasmus)
2173 - Fixed certificate validation inside php_openssl_apply_verification_policy
2174 (Ryan Sleevi, Ilia)
2175 - Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery()
2176 when calling using Reflection. (Felipe)
2177 - Fixed crash when instantiating PDORow and PDOStatement through Reflection.
2178 (Felipe)
2179 - Fixed sanity check for the color index in imagecolortransparent. (Pierre)
2180 - Fixed scandir/readdir when used mounted points on Windows. (Pierre)
2181 - Fixed zlib.deflate compress filter to actually accept level parameter. (Jani)
2182 - Fixed leak on error in popen/exec (and related functions) on Windows.
2183 (Pierre)
2184 - Fixed possible bad caching of symlinked directories in the realpath cache
2185 on Windows. (Pierre)
2186 - Fixed atime and mtime in stat related functions on Windows. (Pierre)
2187 - Fixed spl_autoload_unregister/spl_autoload_functions wrt. Closures and
2188 Functors. (Christian Seiler)
2189 - Fixed open_basedir circumvention for "mail.log" ini directive.
2190 (Maksymilian Arciemowicz, Stas)
2191 - Fixed signature generation/validation for zip archives in ext/phar. (Greg)
2192 - Fixed memory leak in stream_is_local(). (Felipe, Tony)
2193 - Fixed BC break in mime_content_type(), removes the content encoding. (Scott)
2195 - Fixed PECL bug #16842 (oci_error return false when NO_DATA_FOUND is raised).
2196 (Chris Jones)
2198 - Fixed bug #50063 (safe_mode_include_dir fails). (Johannes, christian at
2199 elmerot dot se)
2200 - Fixed bug #50052 (Different Hashes on Windows and Linux on wrong Salt size).
2201 (Pierre)
2202 - Fixed bug #49986 (Missing ICU DLLs on windows package). (Pierre)
2203 - Fixed bug #49910 (no support for ././@LongLink for long filenames in phar
2204 tar support). (Greg)
2205 - Fixed bug #49908 (throwing exception in __autoload crashes when interface
2206 is not defined). (Felipe)
2207 - Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given
2208 output lines >4095 bytes). (Ilia)
2209 - Fixed bug #49809 (time_sleep_until() is not available on OpenSolaris). (Jani)
2210 - Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded
2211 applications). (Ilia, Florian Anderiasch)
2212 - Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes).
2213 (Sriram Natarajan)
2214 - Fixed bug #49732 (crashes when using fileinfo when timestamp conversion
2215 fails). (Pierre)
2216 - Fixed bug #49698 (Unexpected change in strnatcasecmp()). (Rasmus)
2217 - Fixed bug #49630 (imap_listscan function missing). (Felipe)
2218 - Fixed bug #49572 (use of C++ style comments causes build failure).
2219 (Sriram Natarajan)
2220 - Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE
2221 cannot be set"). (Felipe)
2222 - Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after
2223 fclose). (Ilia)
2224 - Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).
2225 (Ilia)
2226 - Fixed bug #49447 (php engine need to correctly check for socket API
2227 return status on windows). (Sriram Natarajan)
2228 - Fixed bug #49391 (ldap.c utilizing deprecated ldap_modify_s). (Ilia)
2229 - Fixed bug #49372 (segfault in php_curl_option_curl). (Pierre)
2230 - Fixed bug #49361 (wordwrap() wraps incorrectly on end of line boundaries).
2231 (Ilia, code-it at mail dot ru)
2232 - Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).
2233 (Ilia)
2234 - Fixed bug #49289 (bcmath module doesn't compile with phpize configure).
2235 (Jani)
2236 - Fixed bug #49286 (php://input (php_stream_input_read) is broken). (Jani)
2237 - Fixed bug #49269 (Ternary operator fails on Iterator object when used inside
2238 foreach declaration). (Etienne, Dmitry)
2239 - Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)
2240 - Fixed bug #49223 (Inconsistency using get_defined_constants). (Garrett)
2241 - Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies
2242 wrong type in declaration). (Ilia)
2243 - Fixed bug #49183 (dns_get_record does not return NAPTR records). (Pierre)
2244 - Fixed bug #49144 (Import of schema from different host transmits original
2245 authentication details). (Dmitry)
2246 - Fixed bug #49142 (crash when exception thrown from __tostring()).
2247 (David Soria Parra)
2248 - Fixed bug #49132 (posix_times returns false without error).
2249 (phpbugs at gunnu dot us)
2250 - Fixed bug #49125 (Error in dba_exists C code). (jdornan at stanford dot edu)
2251 - Fixed bug #49122 (undefined reference to mysqlnd_stmt_next_result on compile
2252 with --with-mysqli and MySQL 6.0). (Jani)
2253 - Fixed bug #49108 (2nd scan_dir produces segfault). (Felipe)
2254 - Fixed bug #49098 (mysqli segfault on error). (Rasmus)
2255 - Fixed bug #49095 (proc_get_status['exitcode'] fails on win32). (Felipe)
2256 - Fixed bug #49092 (ReflectionFunction fails to work with functions in fully
2257 qualified namespaces). (Kalle, Jani)
2258 - Fixed bug #49074 (private class static fields can be modified by using
2259 reflection). (Jani)
2260 - Fixed bug #49072 (feof never returns true for damaged file in zip). (Pierre)
2261 - Fixed bug #49065 ("disable_functions" php.ini option does not work on
2262 Zend extensions). (Stas)
2263 - Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
2264 php_url_scanner_reset_vars). (Jani)
2265 - Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII
2266 strings as option keys). (Jani)
2267 - Fixed bug #49052 (context option headers freed too early when using
2268 --with-curlwrappers). (Jani)
2269 - Fixed bug #49047 (The function touch() fails on directories on Windows).
2270 (Pierre)
2271 - Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference).
2272 (Jani)
2273 - Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd). (Andrey)
2274 - Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
2275 restrictions). (Ilia)
2276 - Fixed bug #49020 (phar misinterprets ustar long filename standard).
2277 (Greg)
2278 - Fixed bug #49018 (phar tar stores long filenames wit prefix/name reversed).
2279 (Greg)
2280 - Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes
2281 in a chunk). (andreas dot streichardt at globalpark dot com, Ilia)
2282 - Fixed bug #49012 (phar tar signature algorithm reports as Unknown (0) in
2283 getSignature() call). (Greg)
2284 - Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes
2285 when including files from function). (Stas)
2286 - Fixed bug #48994 (zlib.output_compression does not output HTTP headers when
2287 set to a string value). (Jani)
2288 - Fixed bug #48980 (Crash when compiling with pdo_firebird). (Felipe)
2289 - Fixed bug #48962 (cURL does not upload files with specified filename).
2290 (Ilia)
2291 - Fixed bug #48929 (Double \r\n after HTTP headers when "header" context
2292 option is an array). (David Zülke)
2293 - Fixed bug #48913 (Too long error code strings in pdo_odbc driver).
2294 (naf at altlinux dot ru, Felipe)
2295 - Fixed bug #48912 (Namespace causes unexpected strict behaviour with
2296 extract()). (Dmitry)
2297 - Fixed bug #48909 (Segmentation fault in mysqli_stmt_execute()). (Andrey)
2298 - Fixed bug #48899 (is_callable returns true even if method does not exist in
2299 parent class). (Felipe)
2300 - Fixed bug #48893 (Problems compiling with Curl). (Felipe)
2301 - Fixed bug #48880 (Random Appearing open_basedir problem). (Rasmus, Gwynne)
2302 - Fixed bug #48872 (string.c: errors: duplicate case values). (Kalle)
2303 - Fixed bug #48854 (array_merge_recursive modifies arrays after first one).
2304 (Felipe)
2305 - Fixed bug #48805 (IPv6 socket transport is not working). (Ilia)
2306 - Fixed bug #48802 (printf() returns incorrect outputted length). (Jani)
2307 - Fixed bug #48791 (open office files always reported as corrupted). (Greg)
2308 - Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
2309 directories). (Ilia)
2310 - Fixed bug #48783 (make install will fail saying phar file exists). (Greg)
2311 - Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()).
2312 (Sriram Natarajan)
2313 - Fixed bug #48771 (rename() between volumes fails and reports no error on
2314 Windows). (Pierre)
2315 - Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW). (Jani)
2316 - Fixed bug #48763 (ZipArchive produces corrupt archive). (dani dot church at
2317 gmail dot com, Pierre)
2318 - Fixed bug #48762 (IPv6 address filter still rejects valid address). (Felipe)
2319 - Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)
2320 - Fixed bug #48754 (mysql_close() crash php when no handle specified).
2321 (Johannes, Andrey)
2322 - Fixed bug #48752 (Crash during date parsing with invalid date). (Pierre)
2323 - Fixed bug #48746 (Unable to browse directories within Junction Points).
2324 (Pierre, Kanwaljeet Singla)
2325 - Fixed bug #48745 (mysqlnd: mysql_num_fields returns wrong column count for
2326 mysql_list_fields). (Andrey)
2327 - Fixed bug #48740 (PHAR install fails when INSTALL_ROOT is not the final
2328 install location). (james dot cohen at digitalwindow dot com, Greg)
2329 - Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on
2330 files that have been opened with r+). (Ilia)
2331 - Fixed bug #48719 (parse_ini_*(): scanner_mode parameter is not checked for
2332 sanity). (Jani)
2333 - Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
2334 components). (Ilia)
2335 - Fixed bug #48681 (openssl signature verification for tar archives broken).
2336 (Greg)
2337 - Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value
2338 fails). (Jani)
2339 - Fixed bug #48645 (mb_convert_encoding() doesn't understand hexadecimal
2340 html-entities). (Moriyoshi)
2341 - Fixed bug #48637 ("file" fopen wrapper is overwritten when using
2342 --with-curlwrappers). (Jani)
2343 - Fixed bug #48608 (Invalid libreadline version not detected during configure).
2344 (Jani)
2345 - Fixed bug #48400 (imap crashes when closing stream opened with
2346 OP_PROTOTYPE flag). (Jani)
2347 - Fixed bug #48377 (error message unclear on converting phar with existing
2348 file). (Greg)
2349 - Fixed bug #48247 (Infinite loop and possible crash during startup with
2350 errors when errors are logged). (Jani)
2351 - Fixed bug #48198 error: 'MYSQLND_LLU_SPEC' undeclared. Cause for #48780 and
2352 #46952 - both fixed too. (Andrey)
2353 - Fixed bug #48189 (ibase_execute error in return param). (Kalle)
2354 - Fixed bug #48182 (ssl handshake fails during asynchronous socket connection).
2355 (Sriram Natarajan)
2356 - Fixed bug #48116 (Fixed build with Openssl 1.0). (Pierre,
2357 Al dot Smith at aeschi dot ch dot eu dot org)
2358 - Fixed bug #48057 (Only the date fields of the first row are fetched, others
2359 are empty). (info at programmiernutte dot net)
2360 - Fixed bug #47481 (natcasesort() does not sort extended ASCII characters
2361 correctly). (Herman Radtke)
2362 - Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
2363 - Fixed bug #47273 (Encoding bug in SoapServer->fault). (Dmitry)
2364 - Fixed bug #46682 (touch() afield returns different values on windows).
2365 (Pierre)
2366 - Fixed bug #46614 (Extended MySQLi class gives incorrect empty() result).
2367 (Andrey)
2368 - Fixed bug #46020 (with Sun Java System Web Server 7.0 on HPUX, #define HPUX).
2369 (Uwe Schindler)
2370 - Fixed bug #45905 (imagefilledrectangle() clipping error).
2371 (markril at hotmail dot com, Pierre)
2372 - Fixed bug #45554 (Inconsistent behavior of the u format char). (Derick)
2373 - Fixed bug #45141 (setcookie will output expires years of >4 digits). (Ilia)
2374 - Fixed bug #44683 (popen crashes when an invalid mode is passed). (Pierre)
2375 - Fixed bug #43510 (stream_get_meta_data() does not return same mode as used
2376 in fopen). (Jani)
2377 - Fixed bug #42434 (ImageLine w/ antialias = 1px shorter). (wojjie at gmail dot
2378 com, Kalle)
2379 - Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter
2380 Knauf)
2381 - Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo).
2382 (Kalle, Rick Yorgason)
2383 - Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) (Garrett)
2384 - Fixed bug #27051 (Impersonation with FastCGI does not exec process as
2385 impersonated user). (Pierre)
2388 30 Jun 2009, PHP 5.3.0
2389 - Upgraded bundled PCRE to version 7.9. (Nuno)
2390 - Upgraded bundled sqlite to version 3.6.15. (Scott)
2392 - Moved extensions to PECL (Derick, Lukas, Pierre, Scott):
2393 . ext/dbase
2394 . ext/fbsql
2395 . ext/fdf
2396 . ext/ncurses
2397 . ext/mhash (BC layer is now entirely within ext/hash)
2398 . ext/ming
2399 . ext/msql
2400 . ext/sybase (not maintained anymore, sybase_ct has to be used instead)
2402 - Removed the experimental RPL (master/slave) functions from mysqli. (Andrey)
2403 - Removed zend.ze1_compatibility_mode. (Dmitry)
2404 - Removed all zend_extension_* php.ini directives. Zend extensions are now
2405 always loaded using zend_extension directive. (Derick)
2406 - Removed special treatment of "/tmp" in sessions for open_basedir.
2407 Note: This undocumented behaviour was introduced in 5.2.2. (Alexey)
2408 - Removed shebang line check from CGI sapi (checked by scanner). (Dmitry)
2410 - Changed PCRE, Reflection and SPL extensions to be always enabled. (Marcus)
2411 - Changed md5() to use improved implementation. (Solar Designer, Dmitry)
2412 - Changed HTTP stream wrapper to accept any code between and including
2413 200 to 399 as successful. (Mike, Noah Fontes)
2414 - Changed __call() to be invoked on private/protected method access, similar to
2415 properties and __get(). (Andrei)
2416 - Changed dl() to be disabled by default. Enabled only when explicitly
2417 registered by the SAPI. Currently enabled with cli, cgi and embed SAPIs.
2418 (Dmitry)
2419 - Changed opendir(), dir() and scandir() to use default context when no context
2420 argument is passed. (Sara)
2421 - Changed open_basedir to allow tightening in runtime contexts. (Sara)
2422 - Changed PHP/Zend extensions to use flexible build IDs. (Stas)
2423 - Changed error level E_ERROR into E_WARNING in Soap extension methods
2424 parameter validation. (Felipe)
2425 - Changed openssl info to show the shared library version number. (Scott)
2426 - Changed floating point behaviour to consistently use double precision on all
2427 platforms and with all compilers. (Christian Seiler)
2428 - Changed round() to act more intuitively when rounding to a certain precision
2429 and round very large and very small exponents correctly. (Christian Seiler)
2430 - Changed session_start() to return false when session startup fails. (Jani)
2431 - Changed property_exists() to check the existence of a property independent of
2432 accessibility (like method_exists()). (Felipe)
2433 - Changed array_reduce() to allow mixed $initial (Christian Seiler)
2435 - Improved PHP syntax and semantics:
2436 . Added lambda functions and closures. (Christian Seiler, Dmitry)
2437 . Added "jump label" operator (limited "goto"). (Dmitry, Sara)
2438 . Added NOWDOC syntax. (Gwynne Raskind, Stas, Dmitry)
2439 . Added HEREDOC syntax with double quotes. (Lars Strojny, Felipe)
2440 . Added support for using static HEREDOCs to initialize static variables and
2441 class members or constants. (Matt)
2442 . Improved syntax highlighting and consistency for variables in double-quoted
2443 strings and literal text in HEREDOCs and backticks. (Matt)
2444 . Added "?:" operator. (Marcus)
2445 . Added support for namespaces. (Dmitry, Stas, Gregory, Marcus)
2446 . Added support for Late Static Binding. (Dmitry, Etienne Kneuss)
2447 . Added support for __callStatic() magic method. (Sara)
2448 . Added forward_static_call(_array) to complete LSB. (Mike Lively)
2449 . Added support for dynamic access of static members using $foo::myFunc().
2450 (Etienne Kneuss)
2451 . Improved checks for callbacks. (Marcus)
2452 . Added __DIR__ constant. (Lars Strojny)
2453 . Added new error modes E_USER_DEPRECATED and E_DEPRECATED.
2454 E_DEPRECATED is used to inform about stuff being scheduled for removal
2455 in future PHP versions. (Lars Strojny, Felipe, Marcus)
2456 . Added "request_order" INI variable to control specifically $_REQUEST
2457 behavior. (Stas)
2458 . Added support for exception linking. (Marcus)
2459 . Added ability to handle exceptions in destructors. (Marcus)
2461 - Improved PHP runtime speed and memory usage:
2462 . Substitute global-scope, persistent constants with their values at compile
2463 time. (Matt)
2464 . Optimized ZEND_SIGNED_MULTIPLY_LONG(). (Matt)
2465 . Removed direct executor recursion. (Dmitry)
2466 . Use fastcall calling convention in executor on x86. (Dmitry)
2467 . Use IS_CV for direct access to $this variable. (Dmitry)
2468 . Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR). (Dmitry)
2469 . Lazy EG(active_symbol_table) initialization. (Dmitry)
2470 . Optimized ZEND_RETURN opcode to not allocate and copy return value if it is
2471 not used. (Dmitry)
2472 . Replaced all flex based scanners with re2c based scanners.
2473 (Marcus, Nuno, Scott)
2474 . Added garbage collector. (David Wang, Dmitry).
2475 . Improved PHP binary size and startup speed with GCC4 visibility control.
2476 (Nuno)
2477 . Improved engine stack implementation for better performance and stability.
2478 (Dmitry)
2479 . Improved memory usage by moving constants to read only memory.
2480 (Dmitry, Pierre)
2481 . Changed exception handling. Now each op_array doesn't contain
2482 ZEND_HANDLE_EXCEPTION opcode in the end. (Dmitry)
2483 . Optimized require_once() and include_once() by eliminating fopen(3) on
2484 second usage. (Dmitry)
2485 . Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single
2486 ZEND_ADD_INTERFACE opcode. (Dmitry)
2487 . Optimized string searching for a single character.
2488 (Michal Dziemianko, Scott)
2489 . Optimized interpolated strings to use one less opcode. (Matt)
2491 - Improved php.ini handling: (Jani)
2492 . Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI.
2493 . Added support for special [PATH=/opt/httpd/www.example.com/] and
2494 [HOST=www.example.com] sections. Directives set in these sections can
2495 not be overridden by user-defined ini-files or during runtime.
2496 . Added better error reporting for php.ini syntax errors.
2497 . Allowed using full path to load modules using "extension" directive.
2498 . Allowed "ini-variables" to be used almost everywhere ini php.ini files.
2499 . Allowed using alphanumeric/variable indexes in "array" ini options.
2500 . Added 3rd optional parameter to parse_ini_file() to specify the scanning
2501 mode of INI_SCANNER_NORMAL or INI_SCANNER_RAW. In raw mode option values
2502 and section values are treated as-is.
2503 . Fixed get_cfg_var() to be able to return "array" ini options.
2504 . Added optional parameter to ini_get_all() to only retrieve the current
2505 value. (Hannes)
2507 - Improved Windows support:
2508 . Update all libraries to their latest stable version. (Pierre, Rob, Liz,
2509 Garrett).
2510 . Added Windows support for stat(), touch(), filemtime(), filesize() and
2511 related functions. (Pierre)
2512 . Re-added socket_create_pair() for Windows in sockets extension. (Kalle)
2513 . Added inet_pton() and inet_ntop() also for Windows platforms.
2514 (Kalle, Pierre)
2515 . Added mcrypt_create_iv() for Windows platforms. (Pierre)
2516 . Added ACL Cache support on Windows.
2517 (Kanwaljeet Singla, Pierre, Venkat Raman Don)
2518 . Added constants based on Windows' GetVersionEx information.
2519 PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)
2520 . Added support for ACL (is_writable, is_readable, reports now correct
2521 results) on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)
2522 . Added support for fnmatch() on Windows. (Pierre)
2523 . Added support for time_nanosleep() and time_sleep_until() on Windows.
2524 (Pierre)
2525 . Added support for symlink(), readlink(), linkinfo() and link() on Windows.
2526 They are available only when the running platform supports them. (Pierre)
2527 . the GMP extension now relies on MPIR instead of the GMP library. (Pierre)
2528 . Added Windows support for stream_socket_pair(). (Kalle)
2529 . Drop all external dependencies for the core features. (Pierre)
2530 . Drastically improve the build procedure (Pierre, Kalle, Rob):
2531 . VC9 (Visual C++ 2008) or later support
2532 . Initial experimental x64 support
2533 . MSI installer now supports all recent Windows versions, including
2534 Windows 7. (John, Kanwaljeet Singla)
2536 - Improved and cleaned CGI code:
2537 . FastCGI is now always enabled and cannot be disabled.
2538 See sapi/cgi/CHANGES for more details. (Dmitry)
2539 . Added CGI SAPI -T option which can be used to measure execution
2540 time of script repeated several times. (Dmitry)
2542 - Improved streams:
2543 . Fixed confusing error message on failure when no errors are logged. (Greg)
2544 . Added stream_supports_lock() function. (Benjamin Schulz)
2545 . Added context parameter for copy() function. (Sara)
2546 . Added "glob://" stream wrapper. (Marcus)
2547 . Added "params" as optional parameter for stream_context_create(). (Sara)
2548 . Added ability to use stream wrappers in include_path. (Gregory, Dmitry)
2550 - Improved DNS API
2551 . Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and
2552 getmxrr(). (Pierre)
2553 . Added support for old style DNS functions (supports OSX and FBSD). (Scott)
2554 . Added a new "entries" array in dns_check_record() containing the TXT
2555 elements. (Felipe, Pierre)
2557 - Improved hash extension:
2558 . Changed mhash to be a wrapper layer around the hash extension. (Scott)
2559 . Added hash_copy() function. (Tony)
2560 . Added sha224 hash algorithm to the hash extension. (Scott)
2562 - Improved IMAP support (Pierre):
2563 . Added imap_gc() to clear the imap cache
2564 . Added imap_utf8_to_mutf7() and imap_mutf7_to_utf8()
2566 - Improved mbstring extension:
2567 . Added "mbstring.http_output_conv_mimetypes" INI directive that allows
2568 common non-text types such as "application/xhtml+xml" to be converted
2569 by mb_output_handler(). (Moriyoshi)
2571 - Improved OCI8 extension (Chris Jones/Oracle Corp.):
2572 . Added Database Resident Connection Pooling (DRCP) and Fast
2573 Application Notification (FAN) support.
2574 . Added support for Oracle External Authentication (not supported
2575 on Windows).
2576 . Improve persistent connection handling of restarted DBs.
2577 . Added SQLT_AFC (aka CHAR datatype) support to oci_bind_by_name.
2578 . Fixed bug #45458 (Numeric keys for associative arrays are not
2579 handled properly)
2580 . Fixed bug #41069 (Segmentation fault with query over DB link).
2581 . Fixed define of SQLT_BDOUBLE and SQLT_BFLOAT constants with Oracle
2582 10g ORACLE_HOME builds.
2583 . Changed default value of oci8.default_prefetch from 10 to 100.
2584 . Fixed PECL Bug #16035 (OCI8: oci_connect without ORACLE_HOME defined causes
2585 segfault) (Chris Jones/Oracle Corp.)
2586 . Fixed PECL Bug #15988 (OCI8: sqlnet.ora isn't read with older Oracle
2587 libraries) (Chris Jones/Oracle Corp.)
2588 . Fixed PECL Bug #14268 (Allow "pecl install oci8" command to "autodetect" an
2589 Instant Client RPM install) (Chris Jones/Oracle Corp.)
2590 . Fixed PECL bug #12431 (OCI8 ping functionality is broken).
2591 . Allow building (e.g from PECL) the PHP 5.3-based OCI8 code with
2592 PHP 4.3.9 onwards.
2593 . Provide separate extensions for Oracle 11g and 10g on Windows.
2594 (Pierre, Chris)
2596 - Improved OpenSSL extension:
2597 . Added support for OpenSSL digest and cipher functions. (Dmitry)
2598 . Added access to internal values of DSA, RSA and DH keys. (Dmitry)
2599 . Fixed a memory leak on openssl_decrypt(). (Henrique)
2600 . Fixed segfault caused by openssl_pkey_new(). (Henrique)
2601 . Fixed bug caused by uninitilized variables in openssl_pkcs7_encrypt() and
2602 openssl_pkcs7_sign(). (Henrique)
2603 . Fixed error message in openssl_seal(). (Henrique)
2605 - Improved pcntl extension: (Arnaud)
2606 . Added pcntl_signal_dispatch().
2607 . Added pcntl_sigprocmask().
2608 . Added pcntl_sigwaitinfo().
2609 . Added pcntl_sigtimedwait().
2611 - Improved SOAP extension:
2612 . Added support for element names in context of XMLSchema's <any>. (Dmitry)
2613 . Added ability to use Traversable objects instead of plain arrays.
2614 (Joshua Reese, Dmitry)
2615 . Fixed possible crash bug caused by an uninitialized value. (Zdash Urf)
2617 - Improved SPL extension:
2618 . Added SPL to list of standard extensions that cannot be disabled. (Marcus)
2619 . Added ability to store associative information with objects in
2620 SplObjectStorage. (Marcus)
2621 . Added ArrayAccess support to SplObjectStorage. (Marcus)
2622 . Added SplDoublyLinkedList, SplStack, SplQueue classes. (Etienne)
2623 . Added FilesystemIterator. (Marcus)
2624 . Added GlobIterator. (Marcus)
2625 . Added SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue classes. (Etienne)
2626 . Added new parameter $prepend to spl_autoload_register(). (Etienne)
2627 . Added SplFixedArray. (Etienne, Tony)
2628 . Added delaying exceptions in SPL's autoload mechanism. (Marcus)
2629 . Added RecursiveTreeIterator. (Arnaud, Marcus)
2630 . Added MultipleIterator. (Arnaud, Marcus, Johannes)
2632 - Improved Zend Engine:
2633 . Added "compact" handler for Zend MM storage. (Dmitry)
2634 . Added "+" and "*" specifiers to zend_parse_parameters(). (Andrei)
2635 . Added concept of "delayed early binding" that allows opcode caches to
2636 perform class declaration (early and/or run-time binding) in exactly
2637 the same order as vanilla PHP. (Dmitry)
2639 - Improved crypt() function: (Pierre)
2640 . Added Blowfish and extended DES support. (Using Blowfish implementation
2641 from Solar Designer).
2642 . Made crypt features portable by providing our own implementations
2643 for crypt_r and the algorithms which are used when OS does not provide
2644 them. PHP implementations are always used for Windows builds.
2646 - Deprecated session_register(), session_unregister() and
2647 session_is_registered(). (Hannes)
2648 - Deprecated define_syslog_variables(). (Kalle)
2649 - Deprecated ereg extension. (Felipe)
2651 - Added new extensions:
2652 . Added Enchant extension as a way to access spell checkers. (Pierre)
2653 . Added fileinfo extension as replacement for mime_magic extension. (Derick)
2654 . Added intl extension for Internationalization. (Ed B., Vladimir I.,
2655 Dmitry L., Stanislav M., Vadim S., Kirti V.)
2656 . Added mysqlnd extension as replacement for libmysql for ext/mysql, mysqli
2657 and PDO_mysql. (Andrey, Johannes, Ulf)
2658 . Added phar extension for handling PHP Archives. (Greg, Marcus, Steph)
2659 . Added SQLite3 extension. (Scott)
2661 - Added new date/time functionality: (Derick)
2662 . date_parse_from_format(): Parse date/time strings according to a format.
2663 . date_create_from_format()/DateTime::createFromFormat(): Create a date/time
2664 object by parsing a date/time string according to a given format.
2665 . date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings
2666 and errors that were found while parsing a date/time string through:
2667 . strtotime() / new DateTime
2668 . date_create_from_format() / DateTime::createFromFormat()
2669 . date_parse_from_format().
2670 . support for abbreviation and offset based timezone specifiers for
2671 the 'e' format specifier, DateTime::__construct(), DateTime::getTimeZone()
2672 and DateTimeZone::getName().
2673 . support for selectively listing timezone identifiers by continent or
2674 country code through timezone_identifiers_list() /
2675 DateTimezone::listIdentifiers().
2676 . timezone_location_get() / DateTimezone::getLocation() for retrieving
2677 location information from timezones.
2678 . date_timestamp_set() / DateTime::setTimestamp() to set a Unix timestamp
2679 without invoking the date parser. (Scott, Derick)
2680 . date_timestamp_get() / DateTime::getTimestamp() to retrieve the Unix
2681 timestamp belonging to a date object.
2682 . two optional parameters to timezone_transitions_get() /
2683 DateTimeZone::getTranstions() to limit the range of transitions being
2684 returned.
2685 . support for "first/last day of <month>" style texts.
2686 . support for date/time strings returned by MS SQL.
2687 . support for serialization and unserialization of DateTime objects.
2688 . support for diffing date/times through date_diff() / DateTime::diff().
2689 . support for adding/subtracting weekdays with strtotime() and
2690 DateTime::modify().
2691 . DateInterval class to represent the difference between two date/times.
2692 . support for parsing ISO intervals for use with DateInterval.
2693 . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
2694 interval to an existing date/time.
2695 . proper support for "this week", "previous week"/"last week" and "next week"
2696 phrases so that they actually mean the week and not a seven day period
2697 around the current day.
2698 . support for "<xth> <weekday> of" and "last <weekday> of" phrases to be used
2699 with months - like in "last saturday of februari 2008".
2700 . support for "back of <hour>" and "front of <hour>" phrases that are used in
2701 Scotland.
2702 . DatePeriod class which supports iterating over a DateTime object applying
2703 DateInterval on each iteration, up to an end date or limited by maximum
2704 number of occurences.
2706 - Added compatibility mode in GD, imagerotate, image(filled)ellipse
2707 imagefilter, imageconvolution and imagecolormatch are now always enabled.
2708 (Pierre)
2709 - Added array_replace() and array_replace_recursive() functions. (Matt)
2710 - Added ReflectionProperty::setAccessible() method that allows non-public
2711 property's values to be read through ::getValue() and set through
2712 ::setValue(). (Derick, Sebastian)
2713 - Added msg_queue_exists() function to sysvmsg extension. (Benjamin Schulz)
2714 - Added Firebird specific attributes that can be set via PDO::setAttribute()
2715 to control formatting of date/timestamp columns: PDO::FB_ATTR_DATE_FORMAT,
2716 PDO::FB_ATTR_TIME_FORMAT and PDO::FB_ATTR_TIMESTAMP_FORMAT. (Lars W)
2717 - Added gmp_testbit() function. (Stas)
2718 - Added icon format support to getimagesize(). (Scott)
2719 - Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow
2720 setting network timeout (FR #42837). (Jani)
2721 - Added optional escape character parameter to fgetcsv(). (David Soria Parra)
2722 - Added an optional parameter to strstr() and stristr() for retrieval of either
2723 the part of haystack before or after first occurrence of needle.
2724 (Johannes, Felipe)
2725 - Added xsl->setProfiling() for profiling stylesheets. (Christian)
2726 - Added long-option feature to getopt() and made getopt() available also on
2727 win32 systems by adding a common getopt implementation into core.
2728 (David Soria Parra, Jani)
2729 - Added support for optional values, and = as separator, in getopt(). (Hannes)
2730 - Added lcfirst() function. (David C)
2731 - Added PREG_BAD_UTF8_OFFSET_ERROR constant. (Nuno)
2732 - Added native support for asinh(), acosh(), atanh(), log1p() and expm1().
2733 (Kalle)
2734 - Added LIBXML_LOADED_VERSION constant (libxml2 version currently used). (Rob)
2735 - Added JSON_FORCE_OBJECT flag to json_encode(). (Scott, Richard Quadling)
2736 - Added timezone_version_get() to retrieve the version of the used timezone
2737 database. (Derick)
2738 - Added 'n' flag to fopen to allow passing O_NONBLOCK to the underlying
2739 open(2) system call. (Mikko)
2740 - Added "dechunk" filter which can decode HTTP responses with chunked
2741 transfer-encoding. HTTP streams use this filter automatically in case
2742 "Transfer-Encoding: chunked" header is present in response. It's possible to
2743 disable this behaviour using "http"=>array("auto_decode"=>0) in stream
2744 context. (Dmitry)
2745 - Added support for CP850 encoding in mbstring extension.
2746 (Denis Giffeler, Moriyoshi)
2747 - Added stream_cast() and stream_set_options() to user-space stream wrappers,
2748 allowing stream_select(), stream_set_blocking(), stream_set_timeout() and
2749 stream_set_write_buffer() to work with user-space stream wrappers. (Arnaud)
2750 - Added header_remove() function. (chsc at peytz dot dk, Arnaud)
2751 - Added stream_context_get_params() function. (Arnaud)
2752 - Added optional parameter "new" to sybase_connect(). (Timm)
2753 - Added parse_ini_string() function. (grange at lemonde dot fr, Arnaud)
2754 - Added str_getcsv() function. (Sara)
2755 - Added openssl_random_pseudo_bytes() function. (Scott)
2756 - Added ability to send user defined HTTP headers with SOAP request.
2757 (Brian J.France, Dmitry)
2758 - Added concatenation option to bz2.decompress stream filter.
2759 (Keisial at gmail dot com, Greg)
2760 - Added support for using compressed connections with PDO_mysql. (Johannes)
2761 - Added the ability for json_decode() to take a user specified depth. (Scott)
2762 - Added support for the mysql_stmt_next_result() function from libmysql.
2763 (Andrey)
2764 - Added function preg_filter() that does grep and replace in one go. (Marcus)
2765 - Added system independent realpath() implementation which caches intermediate
2766 directories in realpath-cache. (Dmitry)
2767 - Added optional clear_realpath_cache and filename parameters to
2768 clearstatcache(). (Jani, Arnaud)
2769 - Added litespeed SAPI module. (George Wang)
2770 - Added ext/hash support to ext/session's ID generator. (Sara)
2771 - Added quoted_printable_encode() function. (Tony)
2772 - Added stream_context_set_default() function. (Davey Shafik)
2773 - Added optional "is_xhtml" parameter to nl2br() which makes the function
2774 output <br> when false and <br /> when true (FR #34381). (Kalle)
2775 - Added PHP_MAXPATHLEN constant (maximum length of a path). (Pierre)
2776 - Added support for SSH via libssh2 in cURL. (Pierre)
2777 - Added support for gray levels PNG image with alpha in GD extension. (Pierre)
2778 - Added support for salsa hashing functions in HASH extension. (Scott)
2779 - Added DOMNode::getLineNo to get line number of parsed node. (Rob)
2780 - Added table info to PDO::getColumnMeta() with SQLite. (Martin Jansen, Scott)
2781 - Added mail logging functionality that allows logging of mail sent via
2782 mail() function. (Ilia)
2783 - Added json_last_error() to return any error information from json_decode().
2784 (Scott)
2785 - Added gethostname() to return the current system host name. (Ilia)
2786 - Added shm_has_var() function. (Mike)
2787 - Added depth parameter to json_decode() to lower the nesting depth from the
2788 maximum if required. (Scott)
2789 - Added pixelation support in imagefilter(). (Takeshi Abe, Kalle)
2790 - Added SplObjectStorage::addAll/removeAll. (Etienne)
2792 - Implemented FR #41712 (curl progress callback: CURLOPT_PROGRESSFUNCTION).
2793 (sdteffen[at]gmail[dot].com, Pierre)
2794 - Implemented FR #47739 (Missing cURL option do disable IPv6). (Pierre)
2795 - Implemented FR #39637 (Missing cURL option CURLOPT_FTP_FILEMETHOD). (Pierre)
2797 - Fixed an issue with ReflectionProperty::setAccessible().
2798 (Sebastian, Roman Borschel)
2799 - Fixed html_entity_decode() incorrectly converting numeric html entities
2800 to different characters with cp1251 and cp866. (Scott)
2801 - Fixed an issue in date() where a : was printed for the O modifier after a P
2802 modifier was used. (Derick)
2803 - Fixed exec() on Windows to not eat the first and last double quotes. (Scott)
2804 - Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
2805 - Fixed a bug causing miscalculations with the "last <weekday> of <n> month"
2806 relative time string. (Derick)
2807 - Fixed bug causing the algorithm parameter of mhash() to be modified. (Scott)
2808 - Fixed invalid calls to free when internal fileinfo magic file is used. (Scott)
2809 - Fixed memory leak inside wddx_add_vars() function. (Felipe)
2810 - Fixed check in recode extension to allow builing of recode and mysql
2811 extensions when using a recent libmysql. (Johannes)
2813 - Fixed PECL bug #12794 (PDOStatement->nextRowset() doesn't work). (Johannes)
2814 - Fixed PECL bug #12401 (Add support for ATTR_FETCH_TABLE_NAMES). (Johannes)
2816 - Fixed bug #48696 (ldap_read() segfaults with invalid parameters). (Felipe)
2817 - Fixed bug #48643 (String functions memory issue). (Dmitry)
2818 - Fixed bug #48641 (tmpfile() uses old parameter parsing).
2819 (crrodriguez at opensuse dot org)
2820 - Fixed bug #48624 (.user.ini never gets parsed). (Pierre)
2821 - Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
2822 existing headers). (Ilia)
2823 - Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus)
2824 - Fixed bug #48535 (file_exists returns false when impersonate is used).
2825 (Kanwaljeet Singla, Venkat Raman Don)
2826 - Fixed bug #48493 (spl_autoload_register() doesn't work correctly when
2827 prepending functions). (Scott)
2828 - Fixed bug #48215 (Calling a method with the same name as the parent class
2829 calls the constructor). (Scott)
2830 - Fixed bug #48200 (compile failure with mbstring.c when
2831 --enable-zend-multibyte is used). (Jani)
2832 - Fixed bug #48188 (Cannot execute a scrollable cursors twice with PDO_PGSQL).
2833 (Matteo)
2834 - Fixed bug #48185 (warning: value computed is not used in
2835 pdo_sqlite_stmt_get_col line 271). (Matteo)
2836 - Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe)
2837 - Fixed bug #48060 (pdo_pgsql - large objects are returned as empty). (Matteo)
2838 - Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long). (Dmitry)
2839 - Fixed bug #48004 (Error handler prevents creation of default object). (Dmitry)
2840 - Fixed bug #47880 (crashes in call_user_func_array()). (Dmitry)
2841 - Fixed bug #47856 (stristr() converts needle to lower-case). (Ilia)
2842 - Fixed bug #47851 (is_callable throws fatal error). (Dmitry)
2843 - Fixed bug #47816 (pcntl tests failing on NetBSD). (Matteo)
2844 - Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants).
2845 (Matteo)
2846 - Fixed bug #47771 (Exception during object construction from arg call calls
2847 object's destructor). (Dmitry)
2848 - Fixed bug #47767 (include_once does not resolve windows symlinks or junctions)
2849 (Kanwaljeet Singla, Venkat Raman Don)
2850 - Fixed bug #47757 (rename JPG to JPEG in phpinfo). (Pierre)
2851 - Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer). (Dmitry)
2852 - Fixed bug #47714 (autoloading classes inside exception_handler leads to
2853 crashes). (Dmitry)
2854 - Fixed bug #47671 (Cloning SplObjectStorage instances). (Etienne)
2855 - Fixed bug #47664 (get_class returns NULL instead of FALSE). (Dmitry)
2856 - Fixed bug #47662 (Support more than 127 subpatterns in preg_match). (Nuno)
2857 - Fixed bug #47596 (Bus error on parsing file). (Dmitry)
2858 - Fixed bug #47572 (Undefined constant causes segmentation fault). (Felipe)
2859 - Fixed bug #47560 (explode()'s limit parameter odd behaviour). (Matt)
2860 - Fixed bug #47549 (get_defined_constants() return array with broken array
2861 categories). (Ilia)
2862 - Fixed bug #47535 (Compilation failure in ps_fetch_from_1_to_8_bytes()).
2863 (Johannes)
2864 - Fixed bug #47534 (RecursiveDiteratoryIterator::getChildren ignoring
2865 CURRENT_AS_PATHNAME). (Etienne)
2866 - Fixed bug #47443 (metaphone('scratch') returns wrong result). (Felipe)
2867 - Fixed bug #47438 (mysql_fetch_field ignores zero offset). (Johannes)
2868 - Fixed bug #47398 (PDO_Firebird doesn't implements quoter correctly). (Felipe)
2869 - Fixed bug #47390 (odbc_fetch_into - BC in php 5.3.0). (Felipe)
2870 - Fixed bug #47359 (Use the expected unofficial mimetype for bmp files). (Scott)
2871 - Fixed bug #47343 (gc_collect_cycles causes a segfault when called within a
2872 destructor in one case). (Dmitry)
2873 - Fixed bug #47320 ($php_errormsg out of scope in functions). (Dmitry)
2874 - Fixed bug #47318 (UMR when trying to activate user config). (Pierre)
2875 - Fixed bug #47243 (OCI8: Crash at shutdown on Windows) (Chris Jones/Oracle
2876 Corp.)
2877 - Fixed bug #47231 (offsetGet error using incorrect offset). (Etienne)
2878 - Fixed bug #47229 (preg_quote() should escape the '-' char). (Nuno)
2879 - Fixed bug #47165 (Possible memory corruption when passing return value by
2880 reference). (Dmitry)
2881 - Fixed bug #47087 (Second parameter of mssql_fetch_array()). (Felipe)
2882 - Fixed bug #47085 (rename() returns true even if the file in PHAR does not
2883 exist). (Greg)
2884 - Fixed bug #47050 (mysqli_poll() modifies improper variables). (Johannes)
2885 - Fixed bug #47045 (SplObjectStorage instances compared with ==). (Etienne)
2886 - Fixed bug #47038 (Memory leak in include). (Dmitry)
2887 - Fixed bug #47031 (Fix constants in DualIterator example). (Etienne)
2888 - Fixed bug #47021 (SoapClient stumbles over WSDL delivered with
2889 "Transfer-Encoding: chunked"). (Dmitry)
2890 - Fixed bug #46994 (OCI8: CLOB size does not update when using CLOB IN OUT param
2891 in stored procedure) (Chris Jones/Oracle Corp.)
2892 - Fixed bug #46979 (use with non-compound name *has* effect). (Dmitry)
2893 - Fixed bug #46957 (The tokenizer returns deprecated values). (Felipe)
2894 - Fixed bug #46944 (UTF-8 characters outside the BMP aren't encoded correctly).
2895 (Scott)
2896 - Fixed bug #46897 (ob_flush() should fail to flush unerasable buffers).
2897 (David C.)
2898 - Fixed bug #46849 (Cloning DOMDocument doesn't clone the properties). (Rob)
2899 - Fixed bug #46847 (phpinfo() is missing some settings). (Hannes)
2900 - Fixed bug #46844 (php scripts or included files with first line starting
2901 with # have the 1st line missed from the output). (Ilia)
2902 - Fixed bug #46817 (tokenizer misses last single-line comment (PHP 5.3+, with
2903 re2c lexer)). (Matt, Shire)
2904 - Fixed bug #46811 (ini_set() doesn't return false on failure). (Hannes)
2905 - Fixed bug #46763 (mb_stristr() wrong output when needle does not exist).
2906 (Henrique M. Decaria)
2907 - Fixed bug #46755 (warning: use statement with non-compound name). (Dmitry)
2908 - Fixed bug #46746 (xmlrpc_decode_request outputs non-suppressable error when
2909 given bad data). (Ilia)
2910 - Fixed bug #46738 (Segfault when mb_detect_encoding() fails). (Scott)
2911 - Fixed bug #46731 (Missing validation for the options parameter of the
2912 imap_fetch_overview() function). (Ilia)
2913 - Fixed bug #46711 (cURL curl_setopt leaks memory in foreach loops). (magicaltux
2914 [at] php [dot] net)
2915 - Fixed bug #46701 (Creating associative array with long values in the key fails
2916 on 32bit linux). (Shire)
2917 - Fixed bug #46681 (mkdir() fails silently on PHP 5.3). (Hannes)
2918 - Fixed bug #46653 (can't extend mysqli). (Johannes)
2919 - Fixed bug #46646 (Restrict serialization on some internal classes like Closure
2920 and SplFileInfo using exceptions). (Etienne)
2921 - Fixed bug #46623 (OCI8: phpinfo doesn't show compile time ORACLE_HOME with
2922 phpize) (Chris Jones/Oracle Corp.)
2923 - Fixed bug #46578 (strip_tags() does not honor end-of-comment when it
2924 encounters a single quote). (Felipe)
2925 - Fixed bug #46546 (Segmentation fault when using declare statement with
2926 non-string value). (Felipe)
2927 - Fixed bug #46542 (Extending PDO class with a __call() function doesn't work as
2928 expected). (Johannes)
2929 - Fixed bug #46421 (SplFileInfo not correctly handling /). (Etienne)
2930 - Fixed bug #46347 (parse_ini_file() doesn't support * in keys). (Nuno)
2931 - Fixed bug #46268 (DateTime::modify() does not reset relative time values).
2932 (Derick)
2933 - Fixed bug #46241 (stacked error handlers, internal error handling in general).
2934 (Etienne)
2935 - Fixed bug #46238 (Segmentation fault on static call with empty string method).
2936 (Felipe)
2937 - Fixed bug #46192 (ArrayObject with objects as storage serialization).
2938 (Etienne)
2939 - Fixed bug #46185 (importNode changes the namespace of an XML element). (Rob)
2940 - Fixed bug #46178 (memory leak in ext/phar). (Greg)
2941 - Fixed bug #46160 (SPL - Memory leak when exception is thrown in offsetSet).
2942 (Felipe)
2943 - Fixed Bug #46147 (after stream seek, appending stream filter reads incorrect
2944 data). (Greg)
2945 - Fixed bug #46127 (php_openssl_tcp_sockop_accept forgets to set context on
2946 accepted stream) (Mark Karpeles, Pierre)
2947 - Fixed bug #46115 (Memory leak when calling a method using Reflection).
2948 (Dmitry)
2949 - Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
2950 multiple calls). (Ilia)
2951 - Fixed bug #46108 (DateTime - Memory leak when unserializing). (Felipe)
2952 - Fixed bug #46106 (Memory leaks when using global statement). (Dmitry)
2953 - Fixed bug #46099 (Xsltprocessor::setProfiling - memory leak). (Felipe, Rob).
2954 - Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned object).
2955 (Ilia)
2956 - Fixed bug #46048 (SimpleXML top-level @attributes not part of iterator).
2957 (David C.)
2958 - Fixed bug #46044 (Mysqli - wrong error message). (Johannes)
2959 - Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()).
2960 (Ilia)
2961 - Fixed bug #46039 (ArrayObject iteration is slow). (Arnaud)
2962 - Fixed bug #46033 (Direct instantiation of SQLite3stmt and SQLite3result cause
2963 a segfault.) (Scott)
2964 - Fixed bug #45991 (Ini files with the UTF-8 BOM are treated as invalid).
2965 (Scott)
2966 - Fixed bug #45989 (json_decode() doesn't return NULL on certain invalid
2967 strings). (magicaltux, Scott)
2968 - Fixed bug #45976 (Moved SXE from SPL to SimpleXML). (Etienne)
2969 - Fixed bug #45928 (large scripts from stdin are stripped at 16K border).
2970 (Christian Schneider, Arnaud)
2971 - Fixed bug #45911 (Cannot disable ext/hash). (Arnaud)
2972 - Fixed bug #45907 (undefined reference to 'PHP_SHA512Init'). (Greg)
2973 - Fixed bug #45826 (custom ArrayObject serialization). (Etienne)
2974 - Fixed bug #45820 (Allow empty keys in ArrayObject). (Etienne)
2975 - Fixed bug #45791 (json_decode() doesn't convert 0e0 to a double). (Scott)
2976 - Fixed bug #45786 (FastCGI process exited unexpectedly). (Dmitry)
2977 - Fixed bug #45757 (FreeBSD4.11 build failure: failed include; stdint.h).
2978 (Hannes)
2979 - Fixed bug #45743 (property_exists fails to find static protected member in
2980 child class). (Felipe)
2981 - Fixed bug #45717 (Fileinfo/libmagic build fails, missing err.h and getopt.h).
2982 (Derick)
2983 - Fixed bug #45706 (Unserialization of classes derived from ArrayIterator
2984 fails). (Etienne, Dmitry)
2985 - Fixed bug #45696 (Not all DateTime methods allow method chaining). (Derick)
2986 - Fixed bug #45682 (Unable to var_dump(DateInterval)). (Derick)
2987 - Fixed bug #45447 (Filesystem time functions on Vista and server 2008).
2988 (Pierre)
2989 - Fixed bug #45432 (PDO: persistent connection leak). (Felipe)
2990 - Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). (Ilia)
2991 - Fixed bug #45384 (parse_ini_file will result in parse error with no trailing
2992 newline). (Arnaud)
2993 - Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (vnegrier at
2994 optilian dot com, Ilia)
2995 - Fixed bug #45044 (relative paths not resolved correctly). (Dmitry)
2996 - Fixed bug #44861 (scrollable cursor don't work with pgsql). (Matteo)
2997 - Fixed bug #44842 (parse_ini_file keys that start/end with underscore).
2998 (Arnaud)
2999 - Fixed bug #44575 (parse_ini_file comment # line problems). (Arnaud)
3000 - Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct()). (Matteo)
3001 - Fixed bug #44173 (PDO->query() parameter parsing/checking needs an update).
3002 (Matteo)
3003 - Fixed bug #44154 (pdo->errorInfo() always have three elements in the returned
3004 array). (David C.)
3005 - Fixed bug #44153 (pdo->errorCode() returns NULL when there are no errors).
3006 (David C.)
3007 - Fixed bug #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS). (Johannes,
3008 chx1975 at gmail dot com)
3009 - Fixed bug #44100 (Inconsistent handling of static array declarations with
3010 duplicate keys). (Dmitry)
3011 - Fixed bug #43831 ($this gets mangled when extending PDO with persistent
3012 connection). (Felipe)
3013 - Fixed bug #43817 (opendir() fails on Windows directories with parent directory
3014 unaccessible). (Dmitry)
3015 - Fixed bug #43069 (SoapClient causes 505 HTTP Version not supported error
3016 message). (Dmitry)
3017 - Fixed bug #43008 (php://filter uris ignore url encoded filternames and can't
3018 handle slashes). (Arnaud)
3019 - Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped).
3020 (Scott, Edward Z. Yang)
3021 - Fixed bug #41874 (separate STDOUT and STDERR in exec functions). (Kanwaljeet
3022 Singla, Venkat Raman Don, Pierre)
3023 - Fixed bug #41534 (SoapClient over HTTPS fails to reestablish connection).
3024 (Dmitry)
3025 - Fixed bug #38802 (max_redirects and ignore_errors). (patch by
3026 datibbaw@php.net)
3027 - Fixed bug #35980 (touch() works on files but not on directories). (Pierre)
3029 17 Jun 2009, PHP 5.2.10
3030 - Updated timezone database to version 2009.9 (2009i) (Derick)
3032 - Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara)
3033 - Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS,
3034 and CURLPROTO_* for redirect fixes in CURL 7.19.4. (Yoram Bar Haim, Stas)
3035 - Added support for Sun CC (FR #46595 and FR #46513). (David Soria Parra)
3037 - Changed default value of array_unique()'s optional sorting type parameter
3038 back to SORT_STRING to fix backwards compatibility breakage introduced in
3039 PHP 5.2.9. (Moriyoshi)
3041 - Fixed memory corruptions while reading properties of zip files. (Ilia)
3042 - Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
3043 - Fixed segfault on invalid session.save_path. (Hannes)
3044 - Fixed leaks in imap when a mail_criteria is used. (Pierre)
3045 - Fixed missing erealloc() in fix for Bug #40091 in spl_autoload_register. (Greg)
3047 - Fixed bug #48562 (Reference recursion causes segfault when used in
3048 wddx_serialize_vars()). (Felipe)
3049 - Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to
3050 integers). (David Zuelke)
3051 - Fixed bug #48518 (curl crashes when writing into invalid file handle). (Tony)
3052 - Fixed bug #48514 (cURL extension uses same resource name for simple and
3053 multi APIs). (Felipe)
3054 - Fixed bug #48469 (ldap_get_entries() leaks memory on empty search
3055 results). (Patrick)
3056 - Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4). (Jani,
3057 spisek at kerio dot com)
3058 - Fixed bug #48448 (Compile failure under IRIX 6.5.30 building cast.c).
3059 (Kalle)
3060 - Fixed bug #48441 (ldap_search() sizelimit, timelimit and deref options
3061 persist). (Patrick)
3062 - Fixed bug #48434 (Improve memory_get_usage() accuracy). (Arnaud)
3063 - Fixed bug #48416 (Force a cache limit in ereg() to stop excessive memory
3064 usage). (Scott)
3065 - Fixed bug #48409 (Crash when exception is thrown while passing function
3066 arguments). (Arnaud)
3067 - Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg
3068 files). (Pierre)
3069 - Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing).
3070 (Ilia, simonov at gmail dot com)
3071 - Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not work
3072 with redeclared property).
3073 (patch by Markus dot Lidel at shadowconnect dot com)
3074 - Fixed bug #48326 (constant MSG_DONTWAIT not defined). (Arnaud)
3075 - Fixed bug #48313 (fgetcsv() does not return null for empty rows). (Ilia)
3076 - Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not update
3077 stream position of plain files). (Arnaud)
3078 - Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source is a
3079 socket). (Arnaud)
3080 - Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values).
3081 (Ilia, lytboris at gmail dot com)
3082 - Fixed bug #48256 (Crash due to double-linking of history.o).
3083 (tstarling at wikimedia dot org)
3084 - Fixed bug #48248 (SIGSEGV when access to private property via &__get).
3085 (Felipe)
3086 - Fixed bug #48247 (Crash on errors during startup). (Stas)
3087 - Fixed bug #48240 (DBA Segmentation fault dba_nextkey). (Felipe)
3088 - Fixed bug #48224 (Incorrect shuffle in array_rand). (Etienne)
3089 - Fixed bug #48221 (memory leak when passing invalid xslt parameter).
3090 (Felipe)
3091 - Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out when
3092 working with a non-writable stream). (Ilia)
3093 - Fixed bug #48206 (Iterating over an invalid data structure with
3094 RecursiveIteratorIterator leads to a segfault). (Scott)
3095 - Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
3096 paths). (Ilia)
3097 - Fixed bug #48203 (Crash when CURLOPT_STDERR is set to regular file). (Jani)
3098 - Fixed bug #48202 (Out of Memory error message when passing invalid file
3099 path) (Pierre)
3100 - Fixed bug #48156 (Added support for lcov v1.7). (Ilia)
3101 - Fixed bug #48132 (configure check for curl ssl support fails with
3102 --disable-rpath). (Jani)
3103 - Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto).
3104 (Ilia)
3105 - Fixed bug #48070 (PDO_OCI: Segfault when using persistent connection).
3106 (Pierre, Matteo, jarismar dot php at gmail dot com)
3107 - Fixed bug #48058 (Year formatter goes wrong with out-of-int range). (Derick)
3108 - Fixed bug #48038 (odbc_execute changes variables used to form params array).
3109 (Felipe)
3110 - Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams). (Arnaud)
3111 - Fixed bug #47991 (SSL streams fail if error stack contains items). (Mikko)
3112 - Fixed bug #47981 (error handler not called regardless). (Hannes)
3113 - Fixed bug #47969 (ezmlm_hash() returns different values depend on OS). (Ilia)
3114 - Fixed bug #47946 (ImageConvolution overwrites background). (Ilia)
3115 - Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt)
3116 - Fixed bug #47937 (system() calls sapi_flush() regardless of output
3117 buffering). (Ilia)
3118 - Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe)
3119 - Fixed bug #47893 (CLI aborts on non blocking stdout). (Arnaud)
3120 - Fixed bug #47849 (Non-deep import loses the namespace). (Rob)
3121 - Fixed bug #47845 (PDO_Firebird omits first row from query). (Lars W)
3122 - Fixed bug #47836 (array operator [] inconsistency when the array has
3123 PHP_INT_MAX index value). (Matt)
3124 - Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c).
3125 (Ilia, rainer dot jung at kippdata dot de)
3126 - Fixed bug #47828 (openssl_x509_parse() segfaults when a UTF-8 conversion
3127 fails). (Scott, Kees Cook, Pierre)
3128 - Fixed bug #47818 (Segfault due to bound callback param). (Felipe)
3129 - Fixed bug #47801 (__call() accessed via parent:: operator is provided
3130 incorrect method name). (Felipe)
3131 - Fixed bug #47769 (Strange extends PDO). (Felipe)
3132 - Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer).
3133 (Dmitry)
3134 - Fixed bug #47721 (Alignment issues in mbstring and sysvshm extension).
3135 (crrodriguez at opensuse dot org, Ilia)
3136 - Fixed bug #47704 (PHP crashes on some "bad" operations with string
3137 offsets). (Dmitry)
3138 - Fixed bug #47695 (build error when xmlrpc and iconv are compiled against
3139 different iconv versions). (Scott)
3140 - Fixed bug #47667 (ZipArchive::OVERWRITE seems to have no effect).
3141 (Mikko, Pierre)
3142 - Fixed bug #47644 (Valid integers are truncated with json_decode()). (Scott)
3143 - Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a
3144 string literal). (Ilia)
3145 - Fixed bug #47616 (curl keeps crashing). (Felipe)
3146 - Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware). (Ilia)
3147 - Fixed bug #47566 (pcntl_wexitstatus() returns signed status).
3148 (patch by james at jamesreno dot com)
3149 - Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns wrong
3150 result). (Ilia)
3151 - Fixed bug #47487 (performance degraded when reading large chunks after
3152 fix of bug #44607). (Arnaud)
3153 - Fixed bug #47468 (enable cli|cgi-only extensions for embed sapi). (Jani)
3154 - Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6
3155 addresses in the filter extension). (Ilia)
3156 - Fixed bug #47430 (Errors after writing to nodeValue parameter of an absent
3157 previousSibling). (Rob)
3158 - Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit
3159 systems). (Ilia)
3160 - Fixed bug #47254 (Wrong Reflection for extends class). (Felipe)
3161 - Fixed bug #47042 (cgi sapi is incorrectly removing SCRIPT_FILENAME).
3162 (Sriram Natarajan, David Soria Parra)
3163 - Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with
3164 different bit numbers). (Matt)
3165 - Fixed bug #46812 (get_class_vars() does not include visible private variable
3166 looking at subclass). (Arnaud)
3167 - Fixed bug #46386 (Digest authentication with SOAP module fails against MSSQL
3168 SOAP services). (Ilia, lordelph at gmail dot com)
3169 - Fixed bug #46109 (Memory leak when mysqli::init() is called multiple times).
3170 (Andrey)
3171 - Fixed bug #45997 (safe_mode bypass with exec/system/passthru (windows only)).
3172 (Pierre)
3173 - Fixed bug #45877 (Array key '2147483647' left as string). (Matt)
3174 - Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
3175 (Derick, Mike Sullivan)
3176 - Fixed bug #45799 (imagepng() crashes on empty image).
3177 (Martin McNickle, Takeshi Abe)
3178 - Fixed bug #45622 (isset($arrayObject->p) misbehaves with
3179 ArrayObject::ARRAY_AS_PROPS set). (robin_fernandes at uk dot ibm dot com, Arnaud)
3180 - Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop
3181 of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud)
3182 - Fixed bug #45540 (stream_context_create creates bad http request). (Arnaud)
3183 - Fixed bug #45202 (zlib.output_compression can not be set with ini_set()).
3184 (Jani)
3185 - Fixed bug #45191 (error_log ignores date.timezone php.ini val when setting
3186 logging timestamps). (Derick)
3187 - Fixed bug #45092 (header HTTP context option not being used when compiled
3188 using --with-curlwrappers). (Jani)
3189 - Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime).
3190 (Ilia, kawai at apache dot org)
3191 - Fixed bug #44827 (define() is missing error checks for class constants).
3192 (Ilia)
3193 - Fixed bug #44214 (Crash using preg_replace_callback() and global variables).
3194 (Nuno, Scott)
3195 - Fixed bug #43073 (TrueType bounding box is wrong for angle<>0).
3196 (Martin McNickle)
3197 - Fixed bug #42663 (gzinflate() try to allocate all memory with truncated
3198 data). (Arnaud)
3199 - Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC
3200 driver). (jhml at gmx dot net)
3201 - Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped).
3202 (Scott, Edward Z. Yang)
3203 - Fixed bug #42143 (The constant NAN is reported as 0 on Windows)
3204 (Kanwaljeet Singla, Venkat Raman Don)
3205 - Fixed bug #38805 (PDO truncates text from SQL Server text data type field).
3206 (Steph)
3208 26 Feb 2009, PHP 5.2.9
3209 - Changed __call() to be invoked on private/protected method access, similar to
3210 properties and __get(). (Andrei)
3212 - Added optional sorting type flag parameter to array_unique(). Default is
3213 SORT_REGULAR. (Andrei)
3215 - Fixed a crash on extract in zip when files or directories entry names contain
3216 a relative path. (Pierre)
3217 - Fixed error conditions handling in stream_filter_append(). (Arnaud)
3218 - Fixed zip filename property read. (Pierre)
3219 - Fixed explode() behavior with empty string to respect negative limit. (Shire)
3220 - Fixed security issue in imagerotate(), background colour isn't validated
3221 correctly with a non truecolour image. Reported by Hamid Ebadi,
3222 APA Laboratory (Fixes CVE-2008-5498). (Scott)
3223 - Fixed a segfault when malformed string is passed to json_decode(). (Scott)
3224 - Fixed bug in xml_error_string() which resulted in messages being
3225 off by one. (Scott)
3227 - Fixed bug #47422 (modulus operator returns incorrect results on 64 bit
3228 linux). (Matt)
3229 - Fixed bug #47399 (mb_check_encoding() returns true for some illegal SJIS
3230 characters). (for-bugs at hnw dot jp, Moriyoshi)
3231 - Fixed bug #47353 (crash when creating a lot of objects in object
3232 destructor). (Tony)
3233 - Fixed bug #47322 (sscanf %d doesn't work). (Felipe)
3234 - Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses
3235 as invalid). (Ilia)
3236 - Fixed bug #47220 (segfault in dom_document_parser in recovery mode). (Rob)
3237 - Fixed bug #47217 (content-type is not set properly for file uploads). (Ilia)
3238 - Fixed bug #47174 (base64_decode() interprets pad char in mid string as
3239 terminator). (Ilia)
3240 - Fixed bug #47165 (Possible memory corruption when passing return value by
3241 reference). (Dmitry)
3242 - Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results).
3243 (Felipe)
3244 - Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). (Ilia)
3245 - Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object).
3246 (Etienne, Dmitry)
3247 - Fixed bug #47104 (Linking shared extensions fails with icc). (Jani)
3248 - Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault).
3249 (Dmitry)
3250 - Fixed bug #47048 (Segfault with new pg_meta_data). (Felipe)
3251 - Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non
3252 apache). (Sriram Natarajan)
3253 - Fixed bug #47037 (No error when using fopen with empty string). (Cristian
3254 Rodriguez R., Felipe)
3255 - Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a
3256 TXT record). (Felipe)
3257 - Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject).
3258 (Derick)
3259 - Fixed bug #46985 (OVERWRITE and binary mode does not work, regression
3260 introduced in 5.2.8). (Pierre)
3261 - Fixed bug #46973 (IPv6 address filter rejects valid address). (Felipe)
3262 - Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). (Ilia)
3263 - Fixed bug #46959 (Unable to disable PCRE). (Scott)
3264 - Fixed bug #46918 (imap_rfc822_parse_adrlist host part not filled in
3265 correctly). (Felipe)
3266 - Fixed bug #46889 (Memory leak in strtotime()). (Derick)
3267 - Fixed bug #46887 (Invalid calls to php_error_docref()). (oeriksson at
3268 mandriva dot com, Ilia)
3269 - Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists). (Arnaud)
3270 - Fixed bug #46843 (CP936 euro symbol is not converted properly). (ty_c at
3271 cybozuy dot co dot jp, Moriyoshi)
3272 - Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
3273 inside a binary or image column type). (Ilia)
3274 - Fixed bug #46782 (fastcgi.c parse error). (Matt)
3275 - Fixed bug #46760 (SoapClient doRequest fails when proxy is used). (Felipe)
3276 - Fixed bug #46748 (Segfault when an SSL error has more than one error).
3277 (Scott)
3278 - Fixed bug #46739 (array returned by curl_getinfo should contain
3279 content_type key). (Mikko)
3280 - Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob)
3281 - Fixed bug #46419 (Elements of associative arrays with NULL value are
3282 lost). (Dmitry)
3283 - Fixed bug #46282 (Corrupt DBF When Using DATE). (arne at bukkie dot nl)
3284 - Fixed bug #46026 (bz2.decompress/zlib.inflate filter tries to decompress
3285 after end of stream). (Greg)
3286 - Fixed bug #46005 (User not consistently logged under Apache2). (admorten
3287 at umich dot edu, Stas)
3288 - Fixed bug #45996 (libxml2 2.7 causes breakage with character data in
3289 xml_parse()). (Rob)
3290 - Fixed bug #45940 (MySQLI OO does not populate connect_error property on
3291 failed connect). (Johannes)
3292 - Fixed bug #45923 (mb_st[r]ripos() offset not handled correctly). (Moriyoshi)
3293 - Fixed bug #45327 (memory leak if offsetGet throws exception). (Greg)
3294 - Fixed bug #45239 (Encoding detector hangs with mbstring.strict_detection
3295 enabled). (Moriyoshi)
3296 - Fixed bug #45161 (Reusing a curl handle leaks memory). (Mark Karpeles, Jani)
3297 - Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode
3298 at coretrek dot com, Nuno)
3299 - Fixed bug #43841 (mb_strrpos() offset is byte count for negative values).
3300 (Moriyoshi)
3301 - Fixed bug #37209 (mssql_execute with non fatal errors). (Kalle)
3302 - Fixed bug #35975 (Session cookie expires date format isn't the most
3303 compatible. Now matches that of setcookie()). (Scott)
3306 08 Dec 2008, PHP 5.2.8
3307 - Reverted bug fix #42718 that broke magic_quotes_gpc (Scott)
3309 04 Dec 2008, PHP 5.2.7
3310 - Upgraded PCRE to version 7.8 (Fixes CVE-2008-2371). (Ilia)
3311 - Updated timezone database to version 2008.9. (Derick)
3312 - Upgraded bundled libzip to 0.9.0. (Pierre)
3314 - Added logging option for error_log to send directly to SAPI. (Stas)
3315 - Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
3316 PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre)
3317 - Added "PHP_INI_SCAN_DIR" environment variable which can be used to
3318 either disable or change the compile time ini scan directory (FR #45114).
3319 (Jani)
3321 - Fixed missing initialization of BG(page_uid) and BG(page_gid),
3322 reported by Maksymilian Arciemowicz. (Stas)
3323 - Fixed memory leak inside sqlite_create_aggregate(). (Felipe)
3324 - Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method.
3325 (Felipe)
3326 - Fixed a crash inside gd with invalid fonts (Fixes CVE-2008-3658). (Pierre)
3327 - Fixed a possible overflow inside memnstr (Fixes CVE-2008-3659).
3328 (LaurentGaffie)
3329 - Fixed incorrect php_value order for Apache configuration, reported by
3330 Maksymilian Arciemowicz. (Stas)
3331 - Fixed memory leak inside readline_callback_handler_remove() function.
3332 (Felipe)
3333 - Fixed sybase_fetch_*() to continue reading after CS_ROW_FAIL status (Timm)
3334 - Fixed a bug inside dba_replace() that could cause file truncation
3335 withinvalid keys. (Ilia)
3336 - Fixed memory leak inside readline_callback_handler_install() function.(Ilia)
3337 - Fixed memory leak inside readline_completion_function() function. (Felipe)
3338 - Fixed stream_get_contents() when using $maxlength and socket is notclosed.
3339 indeyets [at] php [dot] net on #46049. (Arnaud)
3340 - Fixed stream_get_line() to behave as documented on non-blocking streams.
3341 (Arnaud)
3342 - Fixed endless loop in PDOStatement::debugDumpParams().
3343 (jonah.harris at gmail dot com)
3344 - Fixed ability to use "internal" heaps in extensions. (Arnaud, Dmitry)
3345 - Fixed weekdays adding/subtracting algorithm. (Derick)
3346 - Fixed some ambiguities in the date parser. (Derick)
3347 - Fixed a bug with the YYYY-MM format not resetting the day correctly.
3348 (Derick)
3349 - Fixed a bug in the DateTime->modify() methods, it would not use the advanced
3350 relative time strings. (Derick)
3351 - Fixed extraction of zip files or directories when the entry name is a
3352 relative path. (Pierre)
3353 - Fixed read or write errors for large zip archives. (Pierre)
3354 - Fixed security issues detailed in CVE-2008-2665 and CVE-2008-2666.
3355 (Christian Hoffmann)
3356 - Fixed simplexml asXML() not to lose encoding when dumping entire
3357 document to file. (Ilia)
3358 - Fixed a crash inside PDO when trying instantiate PDORow manually.
3359 (Felipe)
3360 - Fixed build failure of ext/mysqli with libmysql 6.0 - missing
3361 rplfunctions. (Andrey)
3362 - Fixed a regression when using strip_tags() and < is within an
3363 attribute.(Scott)
3364 - Fixed a crash on invalid method in ReflectionParameter constructor.
3365 (Christian Seiler)
3366 - Reverted fix for bug #44197 due to behaviour change in minor version.
3367 (Felipe)
3369 - Fixed bug #46732 (mktime.year description is wrong). (Derick)
3370 - Fixed bug #46696 (cURL fails in upload files with specified content-type).
3371 (Ilia)
3372 - Fixed bug #46673 (stream_lock call with wrong parameter). (Arnaud)
3373 - Fixed bug #46649 (Setting array element with that same array produces
3374 inconsistent results). (Arnaud)
3375 - Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly).
3376 (Ilia)
3377 - Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters).
3378 (Felipe)
3379 - Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment).
3380 (jd at cpanel dot net)
3381 - Fixed bug #46496 (wddx_serialize treats input as ISO-8859-1). (Mark Karpeles)
3382 - Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter).
3383 (Dmitry, Herman Radtke)
3384 - Fixed bug #46426 (offset parameter of stream_get_contents() does not
3385 workfor "0"). (Felipe)
3386 - Fixed bug #46406 (Unregistering nodeclass throws E_FATAL). (Rob)
3387 - Fixed bug #46389 (NetWare needs small patch for _timezone).
3388 (patch by guenter@php.net)
3389 - Fixed bug #46388 (stream_notification_callback inside of object destroys
3390 object variables). (Felipe)
3391 - Fixed bug #46381 (wrong $this passed to internal methods causes segfault).
3392 (Tony)
3393 - Fixed bug #46379 (Infinite loop when parsing '#' in one line file). (Arnaud)
3394 - Fixed bug #46366 (bad cwd with / as pathinfo). (Dmitry)
3395 - Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option).
3396 (bugs at trick dot vanstaveren dot us)
3397 - Fixed bug #46343 (IPv6 address filter accepts invalid address). (Ilia)
3398 - Fixed bug #46335 (DOMText::splitText doesn't handle multibyte characters).
3399 (Rob)
3400 - Fixed bug #46323 (compilation of simplexml for NetWare breaks).
3401 (Patch by guenter [at] php [dot] net)
3402 - Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
3403 response code, in cgi sapi). (Ilia)
3404 - Fixed bug #46313 (Magic quotes broke $_FILES). (Arnaud)
3405 - Fixed bug #46308 (Invalid write when changing property from inside getter).
3406 (Dmitry)
3407 - Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when
3408 using FETCH_CLASSTYPE). (Felipe)
3409 - Fixed bug #46274, #46249 (pdo_pgsql always fill in NULL for empty BLOB and
3410 segfaults when returned by SELECT). (Felipe)
3411 - Fixed bug #46271 (local_cert option is not resolved to full path). (Ilia)
3412 - Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback
3413 without event). (Felipe)
3414 - Fixed bug #46246 (difference between call_user_func(array($this, $method))
3415 and $this->$method()). (Dmitry)
3416 - Fixed bug #46222 (ArrayObject EG(uninitialized_var_ptr) overwrite).
3417 (Etienne)
3418 - Fixed bug #46215 (json_encode mutates its parameter and has some
3419 class-specific state). (Felipe)
3420 - Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
3421 strings). (Ilia)
3422 - Fixed bug #46191 (BC break: DOMDocument saveXML() doesn't accept null).
3423 (Rob)
3424 - Fixed bug #46164 (stream_filter_remove() closes the stream). (Arnaud)
3425 - Fixed bug #46157 (PDOStatement::fetchObject prototype error). (Felipe)
3426 - Fixed bug #46147 (after stream seek, appending stream filter reads
3427 incorrect data). (Greg)
3428 - Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE).
3429 (chsc at peytz dot dk, Felipe)
3430 - Fixed bug #46127 (php_openssl_tcp_sockop_accept forgets to set context
3431 on accepted stream) (Mark Karpeles, Pierre)
3432 - Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
3433 multiple calls). (Ilia)
3434 - Fixed bug #46088 (RegexIterator::accept - segfault). (Felipe)
3435 - Fixed bug #46082 (stream_set_blocking() can cause a crash in some
3436 circumstances). (Felipe)
3437 - Fixed bug #46064 (Exception when creating ReflectionProperty object
3438 on dynamicly created property). (Felipe)
3439 - Fixed bug #46059 (Compile failure under IRIX 6.5.30 building posix.c).
3440 (Arnaud)
3441 - Fixed bug #46053 (SplFileObject::seek - Endless loop). (Arnaud)
3442 - Fixed bug #46051 (SplFileInfo::openFile - memory overlap). (Arnaud)
3443 - Fixed bug #46047 (SimpleXML converts empty nodes into object with
3444 nested array). (Rob)
3445 - Fixed bug #46031 (Segfault in AppendIterator::next). (Arnaud)
3446 - Fixed bug #46029 (Segfault in DOMText when using with Reflection). (Rob)
3447 - Fixed bug #46026 (bzip2.decompress/zlib.inflate filter tries to decompress
3448 after end of stream). (Keisial at gmail dot com, Greg)
3449 - Fixed bug #46024 (stream_select() doesn't return the correct number).
3450 (Arnaud)
3451 - Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode).
3452 (Felipe)
3453 - Fixed bug #46003 (isset on nonexisting node return unexpected results). (Rob)
3454 - Fixed bug #45956 (parse_ini_file() does not return false with syntax errors
3455 in parsed file). (Jani)
3456 - Fixed bug #45901 (wddx_serialize_value crash with SimpleXMLElement object).
3457 (Rob)
3458 - Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and
3459 'private' variables). (ilewis at uk dot ibm dot com, Felipe)
3460 - Fixed bug #45860 (header() function fails to correctly replace all Status
3461 lines). (Dmitry)
3462 - Fixed bug #45805 (Crash on throwing exception from error handler). (Dmitry)
3463 - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause
3464 an error). (Felipe)
3465 - Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address
3466 use)). (basant dot kukreja at sun dot com)
3467 - Fixed bug #45722 (mb_check_encoding() crashes). (Moriyoshi)
3468 - Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter).
3469 (Jani)
3470 - Fixed bug #45691 (Some per-dir or runtime settings may leak into other
3471 requests). (Moriyoshi)
3472 - Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items). (Arnaud)
3473 - Fixed bug #45580 (levenshtein() crashes with invalid argument). (Ilia)
3474 - Fixed bug #45575 (Segfault with invalid non-string as event handler callback).
3475 (Christian Seiler)
3476 - Fixed bug #45568 (ISAPI doesn't properly clear auth_digest in header).
3477 (Patch by: navara at emclient dot com)
3478 - Fixed bug #45556 (Return value from callback isn't freed). (Felipe)
3479 - Fixed bug #45555 (Segfault with invalid non-string as
3480 register_introspection_callback). (Christian Seiler)
3481 - Fixed bug #45553 (Using XPath to return values for attributes with a
3482 namespace does not work). (Rob)
3483 - Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
3484 different). (Derick)
3485 - Fixed bug #45522 (FCGI_GET_VALUES request does not return supplied values).
3486 (Arnaud)
3487 - Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset='
3488 parsing incorrect). (Felipe)
3489 - Fixed bug #45485 (strip_tags and <?XML tag). (Felipe)
3490 - Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't
3491 accept lengths of 1024). (Felipe, andrew at lifescale dot com)
3492 - Fixed bug #45449 (filesize() regression using ftp wrapper).
3493 (crrodriguez at suse dot de)
3494 - Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown
3495 before shutdown) (basant dot kukreja at sun dot com)
3496 - Fixed bug #45406 (session.serialize_handler declared by shared extension fails).
3497 (Kalle, oleg dot grenrus at dynamoid dot com)
3498 - Fixed bug #45405 (snmp extension memory leak).
3499 (Federico Cuello, Rodrigo Campos)
3500 - Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (Ilia)
3501 - Fixed bug #45373 (php crash on query with errors in params). (Felipe)
3502 - Fixed bug #45352 (Segmentation fault because of tick function on second
3503 request). (Dmitry)
3504 - Fixed bug #45312 (Segmentation fault on second request for array functions).
3505 (Dmitry)
3506 - Fixed bug #45303 (Opening php:// wrapper in append mode results in a warning).
3507 (Arnaud)
3508 - Fixed bug #45251 (double free or corruption with setAttributeNode()). (Rob)
3509 - Fixed bug #45226 and #18916 (xmlrpc_set_type() segfaults and wrong behavior
3510 with valid ISO8601 date string). (Jeff Lawsons)
3511 - Fixed bug #45220 (curl_read callback returns -1 when needs to return
3512 size_t (unsigned)). (Felipe)
3513 - Fixed bug #45181 (chdir() should clear relative entries in stat cache).
3514 (Arnaud)
3515 - Fixed bug #45178 (memory corruption on assignment result of "new" by
3516 reference). (Dmitry)
3517 - Fixed bug #45166 (substr() overflow changes). (Felipe)
3518 - Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)).
3519 (Fixes CVE-2008-3660) (Dmitry)
3520 - Fixed bug #45139 (ReflectionProperty returns incorrect declaring class).
3521 (Felipe)
3522 - Fixed bug #45124 ($_FILES['upload']['size'] sometimes return zero and some
3523 times the filesize). (Arnaud)
3524 - Fixed bug #45028 (CRC32 output endianness is different between crc32() and
3525 hash()). (Tony)
3526 - Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format).
3527 (Ilia)
3528 - Fixed bug #44991 (Compile Failure With freetds0.82).
3529 (jklowden at freetds dot org, matthias at dsx dot at)
3530 - Fixed bug #44938 (gettext functions crash with overly long domain).
3531 (Christian Schneider, Ilia)
3532 - Fixed bug #44925 (preg_grep() modifies input array). (Nuno)
3533 - Fixed bug #44900 (OpenSSL extension fails to link with OpenSSL 0.9.6).
3534 (jd at cpanel dot net, Pierre)
3535 - Fixed bug #44891 Memory leak using registerPHPFunctions and XSLT Variable
3536 as function parameter. (Rob)
3537 - Fixed bug #44882 (SOAP extension object decoding bug). (Dmitry)
3538 - Fixed bug #44830 (Very minor issue with backslash in heredoc). (Matt)
3539 - Fixed bug #44818 (php://memory writeable when opened read only). (Arnaud)
3540 - Fixed bug #44811 (Improve error message when creating a new SoapClient
3541 that contains invalid data). (Markus Fischer, David C)
3542 - Fixed bug #44798 (Memory leak assigning value to attribute). (Ilia)
3543 - Fixed bug #44716 (Progress notifications incorrect). (Hannes)
3544 - Fixed bug #44712 (stream_context_set_params segfaults on invalid arguments).
3545 (Hannes)
3546 - Fixed bug #44617 (wrong HTML entity output when substitute_character=entity).
3547 (Moriyoshi)
3548 - Fixed bug #44607 (stream_get_line unable to correctly identify the "ending"
3549 in the stream content). (Arnaud)
3550 - Fixed bug #44425 (Extending PDO/MySQL class with a __call() function doesn't
3551 work). (Johannes)
3552 - Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash).
3553 (Felipe)
3554 - Fixed bug #44251, #41125 (PDO + quote() + prepare() can result in segfault).
3555 (tsteiner at nerdclub dot net)
3556 - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()).
3557 (Dmitry, Tony)
3558 - Fixed bug #44182 (extract($a, EXTR_REFS) can fail to split copy-on-write
3559 references). (robin_fernandes at uk dot ibm dot com)
3560 - Fixed bug #44181 (extract($a, EXTR_OVERWRITE|EXTR_REFS) can fail to create
3561 references to $a). (robin_fernandes at uk dot ibm dot com)
3562 - Fixed bug #44127 (UNIX abstract namespace socket connect does not work).
3563 (Jani)
3564 - Fixed bug #43993 (mb_substr_count() behaves differently to substr_count()
3565 with overlapping needles). (Moriyoshi)
3566 - Fixed Bug #43958 (class name added into the error message). (Dmitry)
3567 - Fixed bug #43941 (json_encode silently cuts non-UTF8 strings). (Stas)
3568 - Fixed bug #43925 (Incorrect argument counter in prepared statements with
3569 pgsql). (Felipe)
3570 - Fixed bug #43731 (socket_getpeername: cannot use on stdin with inetd).
3571 (Arnaud)
3572 - Fixed bug #43723 (SOAP not sent properly from client for <choice>). (Dmitry)
3573 - Fixed bug #43668 (Added odbc.default_cursortype to control the ODBCcursor
3574 model). (Patrick)
3575 - Fixed bug #43666 (Fixed code to use ODBC 3.52 datatypes for 64bit
3576 systems). (Patrick)
3577 - Fixed bug #43540 (rfc1867 handler newlength problem). (Arnaud)
3578 - Fixed bug #43452 (strings containing a weekday, or a number plus weekday
3579 behaved incorrect of the current day-of-week was the same as the one in the
3580 phrase). (Derick)
3581 - Fixed bug #43353 (wrong detection of 'data' wrapper causes notice).
3582 (gk at gknw dot de, Arnaud)
3583 - Fixed bug #43053 (Regression: some numbers shown in scientific notation).
3584 (int-e at gmx dot de)
3585 - Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float).
3586 (Dmitry)
3587 - Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer
3588 overflow). (Fixes CVE-2008-2829) (Dmitry)
3589 - Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record).
3590 (a dot u dot savchuk at gmail dot com)
3591 - Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines).
3592 (Nuno)
3593 - Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as default
3594 filter). (Arnaud)
3595 - Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=path).
3596 (Jani)
3597 - Fixed bug #42473 (ob_start php://output and headers). (Arnaud)
3598 - Fixed bug #42318 (problem with nm on AIX, not finding object files).
3599 (Dmitry)
3600 - Fixed bug #42294 (Unified solution for round() based on C99 round). (Ilia)
3601 - Fixed bug #42078 (pg_meta_data mix tables metadata from different schemas).
3602 (Felipe)
3603 - Fixed bug #41348 (OCI8: allow compilation with Oracle 8.1). (Chris Jones)
3604 - Fixed bug #41033 (enable signing with DSA keys.
3605 (gordyf at google dot com, Pierre)
3606 - Fixed bug #37100 (data is returned truncated with BINARY CURSOR). (Tony)
3607 - Fixed bug #30312 (crash in sybase_unbuffered_query() function). (Timm)
3608 - Fixed bug #24679 (pg_* functions doesn't work using schema). (Felipe)
3609 - Fixed bug #14962 (PECL) (::extractTo 2nd argument is not really optional)
3610 (Mark van Der Velden)
3611 - Fixed bug #14032 (Mail() always returns false but mail is sent). (Mikko)
3614 01 May 2008, PHP 5.2.6
3615 - Fixed two possible crashes inside posix extension (Tony)
3616 - Fixed incorrect heredoc handling when label is used within the block.
3617 (Matt)
3618 - Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)
3619 - Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin)
