Deleted Added
full compact
NEWS (b5b1ba85) NEWS (345ecd98)
1PHP NEWS
2|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1PHP NEWS
2|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3?? ??? 2016, PHP 5.6.21
3?? ??? 2016 PHP 7.0.6
4
5- Core:
6 . Fixed bug #71841 (EG(error_zval) is not handled well). (Laruence)
7
4
5- Core:
6 . Fixed bug #71841 (EG(error_zval) is not handled well). (Laruence)
7
8- Opcache:
9 . Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER).
10 (Laruence)
11
8- Standard:
12- Standard:
13 . Fixed bug #71837 (Wrong arrays behaviour). (Laruence)
9 . Fixed bug #71840 (Unserialize accepts wrongly data). (Ryat, Laruence)
10
14 . Fixed bug #71840 (Unserialize accepts wrongly data). (Ryat, Laruence)
15
11- ODBC:
12 . Fixed bug #63171 (Script hangs after max_execution_time). (Remi)
1631 Mar 2016 PHP 7.0.5
13
17
1431 Marc 2016, PHP 5.6.20
15
16- CLI Server:
17 . Fixed bug #69953 (Support MKCALENDAR request method). (Christoph)
18
19- Core:
18- CLI Server:
19 . Fixed bug #69953 (Support MKCALENDAR request method). (Christoph)
20
21- Core:
22 . Fixed bug #71756 (Call-by-reference widens scope to uninvolved functions
23 when used in switch). (Laruence)
24 . Fixed bug #71729 (Possible crash in zend_bin_strtod, zend_oct_strtod,
25 zend_hex_strtod). (Laruence)
26 . Fixed bug #71695 (Global variables are reserved before execution).
27 (Laruence)
28 . Fixed bug #71629 (Out-of-bounds access in php_url_decode in context
29 php_stream_url_wrap_rfc2397). (mt at debian dot org)
30 . Fixed bug #71622 (Strings used in pass-as-reference cannot be used to
31 invoke C::$callable()). (Bob)
20 . Fixed bug #71596 (Segmentation fault on ZTS with date function
21 (setlocale)). (Anatol)
32 . Fixed bug #71596 (Segmentation fault on ZTS with date function
33 (setlocale)). (Anatol)
34 . Fixed bug #71535 (Integer overflow in zend_mm_alloc_heap()). (Dmitry)
35 . Fixed bug #71470 (Leaked 1 hashtable iterators). (Nikita)
36 . Fixed bug #71575 (ISO C does not allow extra ���;��� outside of a function).
37 (asgrim)
38 . Fixed bug #71724 (yield from does not count EOLs). (Nikita)
39 . Fixed bug #71767 (ReflectionMethod::getDocComment returns the wrong
40 comment). (Grigorii Sokolik)
41 . Fixed bug #71806 (php_strip_whitespace() fails on some numerical values).
42 (Nikita)
43 . Fixed bug #71624 (`php -R` (PHP_MODE_PROCESS_STDIN) is broken).
44 (Sean DuBois)
22
23- Curl:
24 . Fixed bug #71694 (Support constant CURLM_ADDED_ALREADY). (mpyw)
25
26- Date:
27 . Fixed bug #71635 (DatePeriod::getEndDate segfault). (Thomas Punt)
28
45
46- Curl:
47 . Fixed bug #71694 (Support constant CURLM_ADDED_ALREADY). (mpyw)
48
49- Date:
50 . Fixed bug #71635 (DatePeriod::getEndDate segfault). (Thomas Punt)
51
52- libxml:
53 . Fixed bug #71536 (Access Violation crashes php-cgi.exe). (Anatol)
54
29- ODBC:
30 . Fixed bug #47803, #69526 (Executing prepared statements is succesfull only
31 for the first two statements). (einavitamar at gmail dot com, Anatol)
32
55- ODBC:
56 . Fixed bug #47803, #69526 (Executing prepared statements is succesfull only
57 for the first two statements). (einavitamar at gmail dot com, Anatol)
58
59- PCRE:
60 . Fixed bug #71659 (segmentation fault in pcre running twig tests).
61 (nish dot aravamudan at canonical dot com)
62
33- PDO_DBlib:
34 . Bug #54648 (PDO::MSSQL forces format of datetime fields).
35 (steven dot lambeth at gmx dot de, Anatol)
36
37- Phar:
38 . Fixed bug #71625 (Crash in php7.dll with bad phar filename).
39 (Anatol)
63- PDO_DBlib:
64 . Bug #54648 (PDO::MSSQL forces format of datetime fields).
65 (steven dot lambeth at gmx dot de, Anatol)
66
67- Phar:
68 . Fixed bug #71625 (Crash in php7.dll with bad phar filename).
69 (Anatol)
40 . Fixed bug #71504 (Parsing of tar file with duplicate filenames causes
41 memory leak). (Jos Elstgeest)
70 . Fixed bug #71317 (PharData fails to open specific file). (Jos Elstgeest)
42
71
4303 Mar 2016, PHP 5.6.19
72- phpdbg:
73 . Fixed crash when advancing (except step) inside an internal function. (Bob)
44
74
75- Session:
76 . Fixed Bug #71683 (Null pointer dereference in zend_hash_str_find_bucket).
77 (Yasuo)
78
79- SPL:
80 . Fixed bug #71617 (private properties lost when unserializing ArrayObject).
81 (Nikita)
82
83- Standard:
84 . Fixed bug #71660 (array_column behaves incorrectly after foreach by
85 reference). (Laruence)
86
87- Zip:
88 . Update bundled libzip to 1.1.2. (Remi, Anatol)
89
9003 Mar 2016 PHP 7.0.4
91
92- Core:
93 . Fixed bug (Low probability segfault in zend_arena). (Laruence)
94 . Fixed bug #71441 (Typehinted Generator with return in try/finally crashes).
95 (Bob)
96 . Fixed bug #71442 (forward_static_call crash). (Laruence)
97 . Fixed bug #71443 (Segfault using built-in webserver with intl using
98 symfony). (Laruence)
99 . Fixed bug #71449 (An integer overflow bug in php_implode()). (Stas)
100 . Fixed bug #71450 (An integer overflow bug in php_str_to_str_ex()). (Stas)
101 . Fixed bug #71474 (Crash because of VM stack corruption on Magento2).
102 (Dmitry)
103 . Fixed bug #71485 (Return typehint on internal func causes Fatal error
104 when it throws exception). (Laruence)
105 . Fixed bug #71529 (Variable references on array elements don't work when
106 using count). (Nikita)
107 . Fixed bug #71601 (finally block not executed after yield from). (Bob)
108 . Fixed bug #71637 (Multiple Heap Overflow due to integer overflows in
109 xml/filter_url/addcslashes). (Stas)
110
45- CLI server:
46 . Fixed bug #71559 (Built-in HTTP server, we can download file in web by bug).
47 (Johannes, Anatol)
48
49- CURL:
50 . Fixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes
51 while curl_multi_exec). (Laruence)
111- CLI server:
112 . Fixed bug #71559 (Built-in HTTP server, we can download file in web by bug).
113 (Johannes, Anatol)
114
115- CURL:
116 . Fixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes
117 while curl_multi_exec). (Laruence)
118 . Fixed memory leak in curl_getinfo(). (Leigh)
52
53- Date:
119
120- Date:
54 . Fixed bug #68078 (Datetime comparisons ignore microseconds). (Willem-Jan
55 Zijderveld)
56 . Fixed bug #71525 (Calls to date_modify will mutate timelib_rel_time,
57 causing date_date_set issues). (Sean DuBois)
58
59- Fileinfo:
60 . Fixed bug #71434 (finfo throws notice for specific python file). (Laruence)
61
62- FPM:
63 . Fixed bug #62172 (FPM not working with Apache httpd 2.4 balancer/fcgi
64 setup). (Matt Haught, Remi)
121 . Fixed bug #71525 (Calls to date_modify will mutate timelib_rel_time,
122 causing date_date_set issues). (Sean DuBois)
123
124- Fileinfo:
125 . Fixed bug #71434 (finfo throws notice for specific python file). (Laruence)
126
127- FPM:
128 . Fixed bug #62172 (FPM not working with Apache httpd 2.4 balancer/fcgi
129 setup). (Matt Haught, Remi)
130 . Fixed bug #71269 (php-fpm dumped core). (Micka��l)
65
66- Opcache:
131
132- Opcache:
67 . Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache).
133 . Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache).
68 (Yussuf Khalil)
69
134 (Yussuf Khalil)
135
70- PDO MySQL:
71 . Fixed bug #71569 (#70389 fix causes segmentation fault). (Nikita)
136- PCRE:
137 . Fixed bug #71537 (PCRE segfault from Opcache). (Laruence)
72
138
73- Phar:
74 . Fixed bug #71498 (Out-of-Bound Read in phar_parse_zipfile()). (Stas)
139- phpdbg:
140 . Fixed inherited functions from unspecified files being included in
141 phpdbg_get_executable(). (Bob)
75
142
143- SOAP:
144 . Fixed bug #71610 (Type Confusion Vulnerability - SOAP /
145 make_http_soap_request()). (Stas)
146
76- Standard:
147- Standard:
148 . Fixed bug #71603 (compact() maintains references in php7). (Laruence)
77 . Fixed bug #70720 (strip_tags improper php code parsing). (Julien)
78
149 . Fixed bug #70720 (strip_tags improper php code parsing). (Julien)
150
79- WDDX:
80 . Fixed bug #71587 (Use-After-Free / Double-Free in WDDX Deserialize). (Stas)
151- XMLRPC:
152 . Fixed bug #71501 (xmlrpc_encode_request ignores encoding option). (Hieu Le)
81
153
82- XSL:
83 . Fixed bug #71540 (NULL pointer dereference in xsl_ext_function_php()).
84 (Stas)
85
86- Zip:
87 . Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo). (Laruence)
88
154- Zip:
155 . Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo). (Laruence)
156
8904 Feb 2016, PHP 5.6.18
15704 Feb 2016 PHP 7.0.3
90
91- Core:
158
159- Core:
160 . Added support for new HTTP 451 code. (Julien)
92 . Fixed bug #71039 (exec functions ignore length but look for NULL
93 termination). (Anatol)
94 . Fixed bug #71089 (No check to duplicate zend_extension). (Remi)
95 . Fixed bug #71201 (round() segfault on 64-bit builds). (Anatol)
161 . Fixed bug #71039 (exec functions ignore length but look for NULL
162 termination). (Anatol)
163 . Fixed bug #71089 (No check to duplicate zend_extension). (Remi)
164 . Fixed bug #71201 (round() segfault on 64-bit builds). (Anatol)
96 . Added support for new HTTP 451 code. (Julien)
165 . Fixed bug #71221 (Null pointer deref (segfault) in get_defined_vars via
166 ob_start). (hugh at allthethings dot co dot nz)
167 . Fixed bug #71248 (Wrong interface is enforced). (Dmitry)
97 . Fixed bug #71273 (A wrong ext directory setup in php.ini leads to crash).
98 (Anatol)
168 . Fixed bug #71273 (A wrong ext directory setup in php.ini leads to crash).
169 (Anatol)
99 . Fixed bug #71323 (Output of stream_get_meta_data can be falsified by its
170 . Fixed Bug #71275 (Bad method called on cloning an object having a trait).
171 (Bob)
172 . Fixed bug #71297 (Memory leak with consecutive yield from). (Bob)
173 . Fixed bug #71300 (Segfault in zend_fetch_string_offset). (Laruence)
174 . Fixed bug #71314 (var_export(INF) prints INF.0). (Andrea)
175 . Fixed bug #71323 (Output of stream_get_meta_data can be falsified by its
100 input). (Leo Gaspard)
176 input). (Leo Gaspard)
177 . Fixed bug #71336 (Wrong is_ref on properties as exposed via
178 get_object_vars()). (Laruence)
101 . Fixed bug #71459 (Integer overflow in iptcembed()). (Stas)
102
103- Apache2handler:
104 . Fix >2G Content-Length headers in apache2handler. (Adam Harvey)
105
179 . Fixed bug #71459 (Integer overflow in iptcembed()). (Stas)
180
181- Apache2handler:
182 . Fix >2G Content-Length headers in apache2handler. (Adam Harvey)
183
106- FTP:
107 . Implemented FR #55651 (Option to ignore the returned FTP PASV address).
108 (abrender at elitehosts dot com)
184- CURL:
185 . Fixed bug #71227 (Can't compile php_curl statically). (Anatol)
186 . Fixed bug #71225 (curl_setopt() fails to set CURLOPT_POSTFIELDS with
187 reference to CURLFile). (Laruence)
109
188
110- Opcache:
111 . Fixed bug #71127 (Define in auto_prepend_file is overwrite). (Laruence)
112 . Fixed bug #71024 (Unable to use PHP 7.0 x64 side-by-side with PHP 5.6 x32
113 on the same server). (Anatol)
189- GD:
190 . Improved fix for bug #70976. (Remi)
114
191
192- Interbase:
193 . Fixed Bug #71305 (Crash when optional resource is omitted).
194 (Laruence, Anatol)
195
196- LDAP:
197 . Fixed bug #71249 (ldap_mod_replace/ldap_mod_add store value as string
198 "Array"). (Laruence)
199
200- mbstring:
201 . Fixed bug #71397 (mb_send_mail segmentation fault). (Andrea, Yasuo)
202
203- OpenSSL:
204 . Fixed bug #71475 (openssl_seal() uninitialized memory usage). (Stas)
205
115- PCRE:
206- PCRE:
116 . Upgraded bundled PCRE library to 8.38.
207 . Upgraded pcrelib to 8.38.
117
118- Phar:
119 . Fixed bug #71354 (Heap corruption in tar/zip/phar parser). (Stas)
120 . Fixed bug #71391 (NULL Pointer Dereference in phar_tar_setupmetadata()).
121 (Stas)
122 . Fixed bug #71488 (Stack overflow when decompressing tar archives). (Stas)
123
208
209- Phar:
210 . Fixed bug #71354 (Heap corruption in tar/zip/phar parser). (Stas)
211 . Fixed bug #71391 (NULL Pointer Dereference in phar_tar_setupmetadata()).
212 (Stas)
213 . Fixed bug #71488 (Stack overflow when decompressing tar archives). (Stas)
214
124- Session:
125 . Fixed bug #69111 (Crash in SessionHandler::read()). (Anatol)
126
127- SOAP:
128 . Fixed bug #70979 (crash with bad soap request). (Anatol)
215- SOAP:
216 . Fixed bug #70979 (crash with bad soap request). (Anatol)
129
217
130- SPL:
131 . Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading).
132 (Laruence)
218- SPL:
219 . Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading).
220 (Laruence)
221 . Fixed bug #71202 (Autoload function registered by another not activated
222 immediately). (Laruence)
223 . Fixed bug #71311 (Use-after-free vulnerability in SPL(ArrayObject,
224 unserialize)). (Sean Heelan)
225 . Fixed bug #71313 (Use-after-free vulnerability in SPL(SplObjectStorage,
226 unserialize)). (Sean Heelan)
133
227
228- Standard:
229 . Fixed bug #71287 (Error message contains hexadecimal instead of decimal
230 number). (Laruence)
231 . Fixed bug #71264 (file_put_contents() returns unexpected value when
232 filesystem runs full). (Laruence)
233 . Fixed bug #71245 (file_get_contents() ignores "header" context option if
234 it's a reference). (Laruence)
235 . Fixed bug #71220 (Null pointer deref (segfault) in compact via ob_start).
236 (hugh at allthethings dot co dot nz)
237 . Fixed bug #71190 (substr_replace converts integers in original $search
238 array to strings). (Laruence)
239 . Fixed bug #71188 (str_replace converts integers in original $search array
240 to strings). (Laruence)
241 . Fixed bug #71132, #71197 (range() segfaults). (Thomas Punt)
242
134- WDDX:
135 . Fixed bug #71335 (Type Confusion in WDDX Packet Deserialization). (Stas)
136
243- WDDX:
244 . Fixed bug #71335 (Type Confusion in WDDX Packet Deserialization). (Stas)
245
13707 Jan 2016, PHP 5.6.17
24607 Jan 2016 PHP 7.0.2
138
139- Core:
247
248- Core:
249 . Fixed bug #71165 (-DGC_BENCH=1 doesn't work on PHP7).
250 (y dot uchiyama dot 1015 at gmail dot com)
251 . Fixed bug #71163 (Segmentation Fault: cleanup_unfinished_calls). (Laruence)
252 . Fixed bug #71109 (ZEND_MOD_CONFLICTS("xdebug") doesn't work). (Laruence)
253 . Fixed bug #71092 (Segmentation fault with return type hinting). (Laruence)
254 . Fixed bug memleak in header_register_callback. (Laruence)
255 . Fixed bug #71067 (Local object in class method stays in memory for each
256 call). (Laruence)
140 . Fixed bug #66909 (configure fails utf8_to_mutf7 test). (Michael Orlitzky)
257 . Fixed bug #66909 (configure fails utf8_to_mutf7 test). (Michael Orlitzky)
141 . Fixed bug #70958 (Invalid opcode while using ::class as trait method
142 paramater default value). (Laruence)
143 . Fixed bug #70957 (self::class can not be resolved with reflection for
144 abstract class). (Laruence)
145 . Fixed bug #70944 (try{ } finally{} can create infinite chains of
146 exceptions). (Laruence)
147 . Fixed bug #61751 (SAPI build problem on AIX: Undefined symbol:
148 php_register_internal_extensions). (Lior Kaplan)
258 . Fixed bug #70781 (Extension tests fail on dynamic ext dependency).
259 (Francois Laupretre)
260 . Fixed bug #71089 (No check to duplicate zend_extension). (Remi)
261 . Fixed bug #71086 (Invalid numeric literal parse error within
262 highlight_string() function). (Nikita)
263 . Fixed bug #71154 (Incorrect HT iterator invalidation causes iterator reuse).
264 (Nikita)
265 . Fixed bug #52355 (Negating zero does not produce negative zero). (Andrea)
266 . Fixed bug #66179 (var_export() exports float as integer). (Andrea)
267 . Fixed bug #70804 (Unary add on negative zero produces positive zero).
268 (Andrea)
149
269
270- CURL:
271 . Fixed bug #71144 (Sementation fault when using cURL with ZTS).
272 (Michael Maroszek, Laruence)
273
274- DBA:
275 . Fixed key leak with invalid resource. (Laruence)
276
277- Filter:
278 . Fixed bug #71063 (filter_input(INPUT_ENV, ..) does not work). (Reeze Xia)
279
150- FPM:
151 . Fixed bug #70755 (fpm_log.c memory leak and buffer overflow). (Stas)
152
280- FPM:
281 . Fixed bug #70755 (fpm_log.c memory leak and buffer overflow). (Stas)
282
283- FTP:
284 . Implemented FR #55651 (Option to ignore the returned FTP PASV address).
285 (abrender at elitehosts dot com)
286
153- GD:
154 . Fixed bug #70976 (Memory Read via gdImageRotateInterpolated Array Index
155 Out of Bounds). (emmanuel dot law at gmail dot com)
156
287- GD:
288 . Fixed bug #70976 (Memory Read via gdImageRotateInterpolated Array Index
289 Out of Bounds). (emmanuel dot law at gmail dot com)
290
157- Mysqlnd:
158 . Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction).
159 (Laruence)
291- Mbstring:
292 . Fixed bug #71066 (mb_send_mail: Program terminated with signal SIGSEGV,
293 Segmentation fault). (Laruence)
160
294
161- SOAP:
162 . Fixed bug #70900 (SoapClient systematic out of memory error). (Dmitry)
295- Opcache:
296 . Fixed bug #71127 (Define in auto_prepend_file is overwrite). (Laruence)
163
297
164- Standard:
165 . Fixed bug #70960 (ReflectionFunction for array_unique returns wrong number
166 of parameters). (Laruence)
298- PCRE:
299 . Fixed bug #71178 (preg_replace with arrays creates [0] in replace array
300 if not already set). (Laruence)
167
301
168- PDO_Firebird:
169 . Fixed bug #60052 (Integer returned as a 64bit integer on X64_86). (Mariuz)
302- Readline:
303 . Fixed bug #71094 (readline_completion_function corrupts static array on
304 second TAB). (Nikita)
170
305
306- Session:
307 . Fixed bug #71122 (Session GC may not remove obsolete session data). (Yasuo)
308
309- SPL:
310 . Fixed bug #71077 (ReflectionMethod for ArrayObject constructor returns
311 wrong number of parameters). (Laruence)
312 . Fixed bug #71153 (Performance Degradation in ArrayIterator with large
313 arrays). (Nikita)
314
315- Standard:
316 . Fixed bug #71270 (Heap BufferOver Flow in escapeshell functions).
317 (emmanuel dot law at gmail dot com)
318
171- WDDX:
172 . Fixed bug #70661 (Use After Free Vulnerability in WDDX Packet
173 Deserialization). (taoguangchen at icloud dot com)
174 . Fixed bug #70741 (Session WDDX Packet Deserialization Type Confusion
175 Vulnerability). (taoguangchen at icloud dot com)
176
177- XMLRPC:
319- WDDX:
320 . Fixed bug #70661 (Use After Free Vulnerability in WDDX Packet
321 Deserialization). (taoguangchen at icloud dot com)
322 . Fixed bug #70741 (Session WDDX Packet Deserialization Type Confusion
323 Vulnerability). (taoguangchen at icloud dot com)
324
325- XMLRPC:
178 . Fixed bug #70728 (Type Confusion Vulnerability in PHP_to_XMLRPC_worker()).
326 . Fixed bug #70728 (Type Confusion Vulnerability in PHP_to_XMLRPC_worker).
179 (Julien)
180
327 (Julien)
328
18126 Nov 2015, PHP 5.6.16
32917 Dec 2015, PHP 7.0.1
182
183- Core:
330
331- Core:
184 . Fixed bug #70828 (php-fpm 5.6 with opcache crashes when referencing a
185 non-existent constant). (Laruence)
186 . Fixed bug #70748 (Segfault in ini_lex () at Zend/zend_ini_scanner.l).
187 (Laruence)
332 . Fixed bug #71105 (Format String Vulnerability in Class Name Error Message).
333 (CVE-2015-8617) (andrew at jmpesp dot org)
334 . Fixed bug #70831 (Compile fails on system with 160 CPUs). (Daniel Axtens)
335 . Fixed bug #71006 (symbol referencing errors on Sparc/Solaris). (Dmitry)
336 . Fixed bug #70997 (When using parentClass:: instead of parent::, static
337 context changed). (Dmitry)
338 . Fixed bug #70970 (Segfault when combining error handler with output
339 buffering). (Laruence)
340 . Fixed bug #70967 (Weird error handling for __toString when Error is
341 thrown). (Laruence)
342 . Fixed bug #70958 (Invalid opcode while using ::class as trait method
343 paramater default value). (Laruence)
344 . Fixed bug #70944 (try{ } finally{} can create infinite chains of
345 exceptions). (Laruence)
346 . Fixed bug #70931 (Two errors messages are in conflict). (dams, Laruence)
347 . Fixed bug #70904 (yield from incorrectly marks valid generator as
348 finished). (Bob)
349 . Fixed bug #70899 (buildconf failure in extensions). (Bob, Reeze)
350 . Fixed bug #61751 (SAPI build problem on AIX: Undefined symbol:
351 php_register_internal_extensions). (Lior Kaplan)
352 . Fixed \int (or generally every scalar type name with leading backslash)
353 to not be accepted as type name. (Bob)
354 . Fixed exception not being thrown immediately into a generator yielding
355 from an array. (Bob)
356 . Fixed bug #70987 (static::class within Closure::call() causes segfault).
357 (Andrea)
358 . Fixed bug #71013 (Incorrect exception handler with yield from). (Bob)
359 . Fixed double free in error condition of format printer. (Bob)
188
360
361- CLI server:
362 . Fixed bug #71005 (Segfault in php_cli_server_dispatch_router()). (Adam)
363
364- Intl:
365 . Fixed bug #71020 (Use after free in Collator::sortWithSortKeys).
366 (CVE-2015-8616) (emmanuel dot law at gmail dot com, Laruence)
367
189- Mysqlnd:
368- Mysqlnd:
369 . Fixed bug #68077 (LOAD DATA LOCAL INFILE / open_basedir restriction).
370 (Laruence)
190 . Fixed bug #68344 (MySQLi does not provide way to disable peer certificate
191 validation) by introducing MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT
192 connection flag. (Andrey)
193
194- OCI8:
371 . Fixed bug #68344 (MySQLi does not provide way to disable peer certificate
372 validation) by introducing MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT
373 connection flag. (Andrey)
374
375- OCI8:
195 . Fixed bug #68298 (OCI int overflow). (Senthil)
376 . Fixed LOB implementation size_t/zend_long mismatch reported by gcov.
377 (Senthil)
196
378
197- PDO_DBlib:
198 . Fixed bug #69757 (Segmentation fault on nextRowset).
199 (miracle at rpz dot name)
200
201- SOAP:
202 . Fixed bug #70875 (Segmentation fault if wsdl has no targetNamespace
203 attribute). (Matteo)
204
205- SPL:
206 . Fixed bug #70852 (Segfault getting NULL offset of an ArrayObject).
207 (Reeze Xia)
208
20929 Oct 2015, PHP 5.6.15
210
211- Core:
212 . Fixed bug #70681 (Segfault when binding $this of internal instance method
213 to null). (Nikita)
214 . Fixed bug #70685 (Segfault for getClosure() internal method rebind with
215 invalid $this). (Nikita)
216
217- Date:
218 . Fixed bug #70619 (DateTimeImmutable segfault). (Laruence)
219
220- Mcrypt:
221 . Fixed bug #70625 (mcrypt_encrypt() won't return data when no IV was
222 specified under RC4). (Nikita)
223
224- Mysqlnd:
225 . Fixed bug #70384 (mysqli_real_query():Unknown type 245 sent by the server).
226 (Andrey)
227 . Fixed bug #70572 segfault in mysqlnd_connect. (Andrey, Remi)
228
229- Opcache:
379- Opcache:
230 . Fixed bug #70632 (Third one of segfault in gc_remove_from_buffer).
380 . Fixed bug #71024 (Unable to use PHP 7.0 x64 side-by-side with PHP 5.6 x32
381 on the same server). (Anatol)
382 . Fixed bug #70991 (zend_file_cache.c:710: error: array type has incomplete
383 element type). (Laruence)
384 . Fixed bug #70977 (Segmentation fault with opcache.huge_code_pages=1).
231 (Laruence)
385 (Laruence)
232 . Fixed bug #70631 (Another Segfault in gc_remove_from_buffer()). (Laruence)
233 . Fixed bug #70601 (Segfault in gc_remove_from_buffer()). (Laruence)
234 . Fixed compatibility with Windows 10 (see also bug #70652). (Anatol)
235
386
23601 Oct 2015, PHP 5.6.14
387- PDO_Firebird:
388 . Fixed bug #60052 (Integer returned as a 64bit integer on X64_86). (Mariuz)
237
389
238- Core:
239 . Fixed bug #70370 (Bundled libtool.m4 doesn't handle FreeBSD 10 when
240 building extensions). (Adam)
390- Phpdbg:
391 . Fixed stderr being written to stdout. (Bob)
241
392
242- CLI server:
243 . Fixed bug #68291 (404 on urls with '+'). (cmb)
393- Reflection:
394 . Fixed bug #71018 (ReflectionProperty::setValue() behavior changed).
395 (Laruence)
396 . Fixed bug #70982 (setStaticPropertyValue behaviors inconsistently with
397 5.6). (Laruence)
244
398
245- DOM:
246 . Fixed bug #70001 (Assigning to DOMNode::textContent does additional entity
247 encoding). (cmb)
399- Soap:
400 . Fixed bug #70993 (Array key references break argument processing).
401 (Laruence)
248
402
249- ldap:
250 . Fixed bug #70465 (Bug in ldap_search() modifies LDAP_OPT_TIMELIMIT/DEREF's values). (Tyson Andre)
251 . Fixed bug #69574 (ldap timeouts not enforced). (C��me Bernigaud)
403- SPL:
404 . Fixed bug #71028 (Undefined index with ArrayIterator). (Laruence)
252
405
253- Mysqlnd:
254 . Fixed bug #70456 (mysqlnd doesn't activate TCP keep-alive when connecting to
255 a server). (Sergei Turchanov)
406- SQLite3:
407 . Fixed bug #71049 (SQLite3Stmt::execute() releases bound parameter instead
408 of internal buffer). (Laruence)
256
409
257- OpenSSL:
258 . Fixed bug #55259 (openssl extension does not get the DH parameters from
259 DH key resource). (Jakub Zelenka)
260 . Fixed bug #70395 (Missing ARG_INFO for openssl_seal()). (cmb)
261 . Fixed bug #60632 (openssl_seal fails with AES). (Jakub Zelenka)
262 . Fixed bug #68312 (Lookup for openssl.cnf causes a message box). (Anatol)
263
264- PDO:
265 . Fixed bug #70389 (PDO constructor changes unrelated variables). (Laruence)
266
267- Phar:
268 . Fixed bug #69720 (Null pointer dereference in phar_get_fp_offset()). (Stas)
269 . FIxed bug #70433 (Uninitialized pointer in phar_make_dirstream when zip
270 entry filename is "/"). (Stas)
271
272- Phpdbg:
273 . Fix phpdbg_break_next() sometimes not breaking. (Bob)
274
275- Standard:
410- Standard:
276 . Fixed bug #67131 (setcookie() conditional for empty values not met). (cmb)
411 . Fixed bug #70999 (php_random_bytes: called object is not a function).
412 (Scott)
413 . Fixed bug #70960 (ReflectionFunction for array_unique returns wrong number
414 of parameters). (Laruence)
277
415
278- Streams:
279 . Fixed bug #70361 (HTTP stream wrapper doesn't close keep-alive connections).
280 (Niklas Keller)
416- Streams/Socket:
417 . Add IPV6_V6ONLY constant / make it usable in stream contexts. (Bob)
281
418
282- Zip:
283 . Fixed bug #70322 (ZipArchive::close() doesn't indicate errors). (cmb)
41903 Dec 2015, PHP 7.0.0
284
420
28503 Sep 2015, PHP 5.6.13
286
287- Core:
421- Core:
288 . Fixed bug #69900 (Too long timeout on pipes). (Anatol)
422 . Fixed bug #70947 (INI parser segfault with INI_SCANNER_TYPED). (Laruence)
423 . Fixed bug #70914 (zend_throw_or_error() format string vulnerability).
424 (Taoguang Chen)
425 . Fixed bug #70912 (Null ptr dereference instantiating class with invalid
426 array property). (Laruence)
427 . Fixed bug #70895, #70898 (null ptr deref and segfault with crafted calable).
428 (Anatol, Laruence)
429 . Fixed bug #70249 (Segmentation fault while running PHPUnit tests on
430 phpBB 3.2-dev). (Laruence)
431 . Fixed bug #70805 (Segmentation faults whilst running Drupal 8 test suite).
432 (Dmitry, Laruence)
433 . Fixed bug #70842 (Persistent Stream Segmentation Fault). (Caleb Champlin)
434 . Fixed bug #70862 (Several functions do not check return code of
435 php_stream_copy_to_mem()). (Anatol)
436 . Fixed bug #70863 (Incorect logic to increment_function for proxy objects).
437 (Anatol)
438 . Fixed bug #70323 (Regression in zend_fetch_debug_backtrace() can cause
439 segfaults). (Aharvey, Laruence)
440 . Fixed bug #70873 (Regression on private static properties access).
441 (Laruence)
442 . Fixed bug #70748 (Segfault in ini_lex () at Zend/zend_ini_scanner.l).
443 (Laruence)
444 . Fixed bug #70689 (Exception handler does not work as expected). (Laruence)
445 . Fixed bug #70430 (Stack buffer overflow in zend_language_parser()). (Nikita)
446 . Fixed bug #70782 (null ptr deref and segfault (zend_get_class_fetch_type)).
447 (Nikita)
448 . Fixed bug #70785 (Infinite loop due to exception during identical
449 comparison). (Laruence)
450 . Fixed bug #70630 (Closure::call/bind() crash with ReflectionFunction->
451 getClosure()). (Dmitry, Bob)
452 . Fixed bug #70662 (Duplicate array key via undefined index error handler).
453 (Nikita)
454 . Fixed bug #70681 (Segfault when binding $this of internal instance method
455 to null). (Nikita)
456 . Fixed bug #70685 (Segfault for getClosure() internal method rebind with
457 invalid $this). (Nikita)
458 . Added zend_internal_function.reserved[] fields. (Dmitry)
459 . Fixed bug #70557 (Memleak on return type verifying failed). (Laruence)
460 . Fixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW). (Laruence)
461 . Fixed bug #70548 (Redundant information printed in case of uncaught engine
462 exception). (Laruence)
463 . Fixed bug #70547 (unsetting function variables corrupts backtrace).
464 (Laruence)
465 . Fixed bug #70528 (assert() with instanceof adds apostrophes around class
466 name). (Laruence)
467 . Fixed bug #70481 (Memory leak in auto_global_copy_ctor() in ZTS build).
468 (Laruence)
469 . Fixed bug #70431 (Memory leak in php_ini.c). (Senthil, Laruence)
470 . Fixed bug #70478 (**= does no longer work). (Bob)
471 . Fixed bug #70398 (SIGSEGV, Segmentation fault zend_ast_destroy_ex).
472 (Dmitry, Bob, Laruence)
473 . Fixed bug #70332 (Wrong behavior while returning reference on object).
474 (Laruence, Dmitry)
475 . Fixed bug #70300 (Syntactical inconsistency with new group use syntax).
476 (marcio dot web2 at gmail dot com)
477 . Fixed bug #70321 (Magic getter breaks reference to array property).
478 (Laruence)
479 . Fixed bug #70187 (Notice: unserialize(): Unexpected end of serialized
480 data). (Dmitry)
481 . Fixed bug #70145 (From field incorrectly parsed from headers). (Anatol)
482 . Fixed bug #70370 (Bundled libtool.m4 doesn't handle FreeBSD 10 when
483 building extensions). (Adam)
484 . Fixed bug causing exception traces with anon classes to be truncated. (Bob)
485 . Fixed bug #70397 (Segmentation fault when using Closure::call and yield).
486 (Bob)
487 . Fixed bug #70299 (Memleak while assigning object offsetGet result).
488 (Laruence)
489 . Fixed bug #70288 (Apache crash related to ZEND_SEND_REF). (Laruence)
490 . Fixed bug #70262 (Accessing array crashes PHP 7.0beta3).
491 (Laruence, Dmitry)
492 . Fixed bug #70258 (Segfault if do_resize fails to allocated memory).
493 (Laruence)
494 . Fixed bug #70253 (segfault at _efree () in zend_alloc.c:1389). (Laruence)
495 . Fixed bug #70240 (Segfault when doing unset($var());). (Laruence)
496 . Fixed bug #70223 (Incrementing value returned by magic getter). (Laruence)
497 . Fixed bug #70215 (Segfault when __invoke is static). (Bob)
498 . Fixed bug #70207 (Finally is broken with opcache). (Laruence, Dmitry)
499 . Fixed bug #70173 (ZVAL_COPY_VALUE_EX broken for 32bit Solaris Sparc).
500 (Laruence, cmb)
289 . Fixed bug #69487 (SAPI may truncate POST data). (cmb)
290 . Fixed bug #70198 (Checking liveness does not work as expected).
291 (Shafreeck Sea, Anatol Belski)
501 . Fixed bug #69487 (SAPI may truncate POST data). (cmb)
502 . Fixed bug #70198 (Checking liveness does not work as expected).
503 (Shafreeck Sea, Anatol Belski)
292 . Fixed bug #70172 (Use After Free Vulnerability in unserialize()). (Stas)
293 . Fixed bug #70219 (Use after free vulnerability in session deserializer).
294 (taoguangchen at icloud dot com)
504 . Fixed bug #70241,#70293 (Skipped assertions affect Generator returns). (Bob)
505 . Fixed bug #70239 (Creating a huge array doesn't result in exhausted,
506 but segfault). (Laruence, Anatol)
507 . Fixed "finally" issues. (Nikita, Dmitry)
508 . Fixed bug #70098 (Real memory usage doesn't decrease). (Dmitry)
509 . Fixed bug #70159 (__CLASS__ is lost in closures). (Julien)
510 . Fixed bug #70156 (Segfault in zend_find_alias_name). (Laruence)
511 . Fixed bug #70124 (null ptr deref / seg fault in ZEND_HANDLE_EXCEPTION).
512 (Laruence)
513 . Fixed bug #70117 (Unexpected return type error). (Laruence)
514 . Fixed bug #70106 (Inheritance by anonymous class). (Bob)
515 . Fixed bug #69674 (SIGSEGV array.c:953). (cmb)
516 . Fixed bug #70164 (__COMPILER_HALT_OFFSET__ under namespace is not defined).
517 (Bob)
518 . Fixed bug #70108 (sometimes empty $_SERVER['QUERY_STRING']). (Anatol)
519 . Fixed bug #70179 ($this refcount issue). (Bob)
520 . Fixed bug #69896 ('asm' operand has impossible constraints). (Anatol)
521 . Fixed bug #70183 (null pointer deref (segfault) in zend_eval_const_expr).
522 (Hugh Davenport)
523 . Fixed bug #70182 (Segfault in ZEND_ASSIGN_DIV_SPEC_CV_UNUSED_HANDLER).
524 (Hugh Davenport)
525 . Fixed bug #69793 (Remotely triggerable stack exhaustion via recursive
526 method calls). (Stas)
527 . Fixed bug #69892 (Different arrays compare indentical due to integer key
528 truncation). (Nikita)
529 . Fixed bug #70121 (unserialize() could lead to unexpected methods execution
530 / NULL pointer deref). (Stas)
531 . Fixed bug #70089 (segfault at ZEND_FETCH_DIM_W_SPEC_VAR_CONST_HANDLER ()).
532 (Laruence)
533 . Fixed bug #70057 (Build failure on 32-bit Mac OS X 10.6.8: recursive
534 inlining). (Laruence)
535 . Fixed bug #70012 (Exception lost with nested finally block). (Laruence)
536 . Fixed bug #69996 (Changing the property of a cloned object affects the
537 original). (Dmitry, Laruence)
538 . Fixed bug #70083 (Use after free with assign by ref to overloaded objects).
539 (Bob)
540 . Fixed bug #70006 (cli - function with default arg = STDOUT crash output).
541 (Laruence)
542 . Fixed bug #69521 (Segfault in gc_collect_cycles()).
543 (arjen at react dot com, Laruence)
544 . Improved zend_string API. (Francois Laupretre)
545 . Fixed bug #69955 (Segfault when trying to combine [] and assign-op on
546 ArrayAccess object). (Laruence)
547 . Fixed bug #69957 (Different ways of handling div/mod/intdiv). (Bob)
548 . Fixed bug #69900 (Too long timeout on pipes). (Anatol)
549 . Fixed bug #69872 (uninitialised value in strtr with array). (Laruence)
550 . Fixed bug #69868 (Invalid read of size 1 in zend_compile_short_circuiting).
551 (Laruence)
552 . Fixed bug #69849 (Broken output of apache_request_headers). (Kalle)
553 . Fixed bug #69840 (iconv_substr() doesn't work with UTF-16BE). (Kalle)
554 . Fixed bug #69823 (PHP 7.0.0alpha1 segmentation fault when exactly 33
555 extensions are loaded). (Laruence)
556 . Fixed bug #69805 (null ptr deref and seg fault in zend_resolve_class_name).
557 (Laruence)
558 . Fixed bug #69802 (Reflection on Closure::__invoke borks type hint class
559 name). (Dmitry)
560 . Fixed bug #69761 (Serialization of anonymous classes should be prevented).
561 (Laruence)
562 . Fixed bug #69551 (parse_ini_file() and parse_ini_string() segmentation
563 fault). (Christoph M. Becker)
564 . Fixed bug #69781 (phpinfo() reports Professional Editions of Windows
565 7/8/8.1/10 as "Business"). (Christian Wenz)
566 . Fixed bug #69835 (phpinfo() does not report many Windows SKUs).
567 (Christian Wenz)
568 . Fixed bug #69889 (Null coalesce operator doesn't work for string offsets).
569 (Nikita)
570 . Fixed bug #69891 (Unexpected array comparison result). (Nikita)
571 . Fixed bug #69892 (Different arrays compare indentical due to integer key
572 truncation). (Nikita)
573 . Fixed bug #69893 (Strict comparison between integer and empty string keys
574 crashes). (Nikita)
575 . Fixed bug #69767 (Default parameter value with wrong type segfaults).
576 (cmb, Laruence)
577 . Fixed bug #69756 (Fatal error: Nesting level too deep - recursive dependency
578 ? with ===). (Dmitry, Laruence)
579 . Fixed bug #69758 (Item added to array not being removed by array_pop/shift
580 ). (Laruence)
581 . Fixed bug #68475 (Add support for $callable() sytnax with 'Class::method').
582 (Julien, Aaron Piotrowski)
583 . Fixed bug #69485 (Double free on zend_list_dtor). (Laruence)
584 . Fixed bug #69427 (Segfault on magic method __call of private method in
585 superclass). (Laruence)
586 . Improved __call() and __callStatic() magic method handling. Now they are
587 called in a stackless way using ZEND_CALL_TRAMPOLINE opcode, without
588 additional stack frame. (Laruence, Dmitry)
589 . Optimized strings concatenation. (Dmitry, Laruence)
590 . Fixed weird operators behavior. Division by zero now emits warning and
591 returns +/-INF, modulo by zero and intdid() throws an exception, shifts
592 by negative offset throw exceptions. Compile-time evaluation of division
593 by zero is disabled. (Dmitry, Andrea, Nikita)
594 . Fixed bug #69371 (Hash table collision leads to inaccessible array keys).
595 (Laruence)
596 . Fixed bug #68933 (Invalid read of size 8 in zend_std_read_property).
597 (Laruence, arjen at react dot com)
598 . Fixed bug #68252 (segfault in Zend/zend_hash.c in function
599 _zend_hash_del_el). (Laruence)
600 . Fixed bug #65598 (Closure executed via static autoload incorrectly marked as
601 static). (Nikita)
602 . Fixed bug #66811 (Cannot access static::class in lambda, writen outside of a
603 class). (Nikita)
604 . Fixed bug #69568 (call a private function in closure failed). (Nikita)
605 . Added PHP_INT_MIN constant. (Andrea)
606 . Added Closure::call() method. (Andrea)
607 . Fixed bug #67959 (Segfault when calling phpversion('spl')). (Florian)
608 . Implemented the RFC `Catchable "Call to a member function bar() on a
609 non-object"`. (Timm)
610 . Added options parameter for unserialize allowing to specify acceptable
611 classes (https://wiki.php.net/rfc/secure_unserialize). (Stas)
612 . Fixed bug #63734 (Garbage collector can free zvals that are still
613 referenced). (Dmitry)
614 . Removed ZEND_ACC_FINAL_CLASS, promoting ZEND_ACC_FINAL as final class
615 modifier. (Guilherme Blanco)
616 . is_long() & is_integer() is now an alias of is_int(). (Kalle)
617 . Implemented FR #55467 (phpinfo: PHP Variables with $ and single quotes). (Kalle)
618 . Added ?? operator. (Andrea)
619 . Added <=> operator. (Andrea)
620 . Added \u{xxxxx} Unicode Codepoint Escape Syntax. (Andrea)
621 . Fixed oversight where define() did not support arrays yet const syntax did.
622 (Andrea, Dmitry)
623 . Use "integer" and "float" instead of "long" and "double" in ZPP, type hint
624 and conversion error messages. (Andrea)
625 . Implemented FR #55428 (E_RECOVERABLE_ERROR when output buffering in output
626 buffering handler). (Kalle)
627 . Removed scoped calls of non-static methods from an incompatible $this
628 context. (Nikita)
629 . Removed support for #-style comments in ini files. (Nikita)
630 . Removed support for assigning the result of new by reference. (Nikita)
631 . Invalid octal literals in source code now produce compile errors, fixes
632 PHPSadness #31. (Andrea)
633 . Removed dl() function on fpm-fcgi. (Nikita)
634 . Removed support for hexadecimal numeric strings. (Nikita)
635 . Removed obsolete extensions and SAPIs. See the full list in UPGRADING. (Anatol)
636 . Added NULL byte protection to exec, system and passthru. (Yasuo)
637 . Added error_clear_last() function. (Reeze Xia)
638 . Fixed bug #68797 (Number 2.2250738585072012e-308 converted incorrectly).
639 (Anatol)
640 . Improved zend_qsort(using hybrid sorting algo) for better performance,
641 and also renamed zend_qsort to zend_sort. (Laruence)
642 . Added stable sorting algo zend_insert_sort. (Laruence)
643 . Improved zend_memnchr(using sunday algo) for better performance. (Laruence)
644 . Implemented the RFC `Scalar Type Decalarations v0.5`. (Anthony)
645 . Implemented the RFC `Group Use Declarations`. (Marcio)
646 . Implemented the RFC `Continue Output Buffering`. (Mike)
647 . Implemented the RFC `Constructor behaviour of internal classes`. (Dan, Dmitry)
648 . Implemented the RFC `Fix "foreach" behavior`. (Dmitry)
649 . Implemented the RFC `Generator Delegation`. (Bob)
650 . Implemented the RFC `Anonymous Class Support`. (Joe, Nikita, Dmitry)
651 . Implemented the RFC `Context Sensitive Lexer`. (Marcio Almada)
652 . Fixed bug #69511 (Off-by-one buffer overflow in php_sys_readlink).
653 (Jan Starke, Anatol)
295
296- CLI server:
654
655- CLI server:
656 . Fixed bug #68291 (404 on urls with '+'). (cmb)
297 . Fixed bug #66606 (Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE).
298 (wusuopu, cmb)
299 . Fixed bug #70264 (CLI server directory traversal). (cmb)
657 . Fixed bug #66606 (Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE).
658 (wusuopu, cmb)
659 . Fixed bug #70264 (CLI server directory traversal). (cmb)
660 . Fixed bug #69655 (php -S changes MKCALENDAR request method to MKCOL). (cmb)
661 . Fixed bug #64878 (304 responses return Content-Type header). (cmb)
662 . Refactor MIME type handling to use a hash table instead of linear search.
663 (Adam)
664 . Update the MIME type list from the one shipped by Apache HTTPD. (Adam)
665 . Added support for SEARCH WebDav method. (Mats Lindh)
300
666
667- COM:
668 . Fixed bug #69939 (Casting object to bool returns false). (Kalle)
669
670- Curl:
671 . Fixed bug #70330 (Segmentation Fault with multiple "curl_copy_handle").
672 (Laruence)
673 . Fixed bug #70163 (curl_setopt_array() type confusion). (Laruence)
674 . Fixed bug #70065 (curl_getinfo() returns corrupted values). (Anatol)
675 . Fixed bug #69831 (Segmentation fault in curl_getinfo). (im dot denisenko at
676 yahoo dot com)
677 . Fixed bug #68937 (Segfault in curl_multi_exec). (Laruence)
678 . Removed support for unsafe file uploads. (Nikita)
679
301- Date:
680- Date:
681 . Fixed bug #70245 (strtotime does not emit warning when 2nd parameter is
682 object or string). (cmb)
302 . Fixed bug #70266 (DateInterval::__construct.interval_spec is not supposed to
303 be optional). (cmb)
304 . Fixed bug #70277 (new DateTimeZone($foo) is ignoring text after null byte).
305 (cmb)
683 . Fixed bug #70266 (DateInterval::__construct.interval_spec is not supposed to
684 be optional). (cmb)
685 . Fixed bug #70277 (new DateTimeZone($foo) is ignoring text after null byte).
686 (cmb)
687 . Fixed day_of_week function as it could sometimes return negative values
688 internally. (Derick)
689 . Removed $is_dst parameter from mktime() and gmmktime(). (Nikita)
690 . Removed date.timezone warning
691 (https://wiki.php.net/rfc/date.timezone_warning_removal). (Bob)
692 . Added "v" DateTime format modifier to get the 3-digit version of fraction
693 of seconds. (Mariano Iglesias)
694 . Implemented FR #69089 (Added DateTime::RFC3339_EXTENDED to output in
695 RFC3339 Extended format which includes fraction of seconds). (Mariano
696 Iglesias)
306
697
698- DBA:
699 . Fixed bug #62490 (dba_delete returns true on missing item (inifile)). (Mike)
700 . Fixed bug #68711 (useless comparisons). (bugreports at internot dot info)
701
702- DOM:
703 . Fixed bug #70558 ("Couldn't fetch" error in
704 DOMDocument::registerNodeClass()). (Laruence)
705 . Fixed bug #70001 (Assigning to DOMNode::textContent does additional entity
706 encoding). (cmb)
707 . Fixed bug #69846 (Segmenation fault (access violation) when iterating over
708 DOMNodeList). (Anatol Belski)
709 . Made DOMNode::textContent writeable. (Tjerk)
710
307- EXIF:
308 . Fixed bug #70385 (Buffer over-read in exif_read_data with TIFF IFD tag byte
309 value of 32 bytes). (Stas)
310
711- EXIF:
712 . Fixed bug #70385 (Buffer over-read in exif_read_data with TIFF IFD tag byte
713 value of 32 bytes). (Stas)
714
311- GMP:
312 . Fixed bug #70284 (Use after free vulnerability in unserialize() with GMP).
313 (stas)
715- Fileinfo:
716 . Fixed bug #66242 (libmagic: don't assume char is signed). (ArdB)
314
717
315- hash:
316 . Fixed bug #70312 (HAVAL gives wrong hashes in specific cases). (letsgolee
317 at naver dot com)
718- Filter:
719 . New FILTER_VALIDATE_DOMAIN and better RFC conformance for FILTER_VALIDATE_URL. (Kevin Dunglas)
318
720
319- MCrypt:
320 . Fixed bug #69833 (mcrypt fd caching not working). (Anatol)
721- FPM:
722 . Fixed bug #70538 ("php-fpm -i" crashes). (rainer dot jung at
723 kippdata dot de)
724 . Fixed bug #70279 (HTTP Authorization Header is sometimes passed to newer
725 reqeusts). (Laruence)
726 . Fixed bug #68945 (Unknown admin values segfault pools). (Laruence)
727 . Fixed bug #65933 (Cannot specify config lines longer than 1024 bytes). (Chris Wright)
728 . Implemented FR #67106 (Split main fpm config). (Elan Ruusam��e, Remi)
321
729
322- Opcache:
323 . Fixed bug #70237 (Empty while and do-while segmentation fault with opcode
324 on CLI enabled). (Dmitry, Laruence)
730- FTP:
731 . Fixed bug #69082 (FTPS support on Windows). (Anatol)
325
732
326- PCRE:
327 . Fixed bug #70232 (Incorrect bump-along behavior with \K and empty string
328 match). (cmb)
329 . Fixed bug #70345 (Multiple vulnerabilities related to PCRE functions).
330 (Anatol Belski)
331
332- SOAP:
333 . Fixed bug #70388 (SOAP serialize_function_call() type confusion / RCE).
334 (Stas)
335
336- SPL:
337 . Fixed bug #70290 (Null pointer deref (segfault) in spl_autoload via
338 ob_start). (hugh at allthethings dot co dot nz)
339 . Fixed bug #70303 (Incorrect constructor reflection for ArrayObject). (cmb)
340 . Fixed bug #70365 (Use-after-free vulnerability in unserialize() with
341 SplObjectStorage). (taoguangchen at icloud dot com)
342 . Fixed bug #70366 (Use-after-free vulnerability in unserialize() with
343 SplDoublyLinkedList). (taoguangchen at icloud dot com)
344
345- Standard:
346 . Fixed bug #70052 (getimagesize() fails for very large and very small WBMP).
347 (cmb)
348 . Fixed bug #70157 (parse_ini_string() segmentation fault with
349 INI_SCANNER_TYPED). (Tjerk)
350
351- XSLT:
352 . Fixed bug #69782 (NULL pointer dereference). (Stas)
353
354- ZIP:
355 . Fixed bug #70350 (ZipArchive::extractTo allows for directory traversal when
356 creating directories). (neal at fb dot com)
357
35806 Aug 2015, PHP 5.6.12
359
360- Core:
361 . Fixed bug #70012 (Exception lost with nested finally block). (Laruence)
362 . Fixed bug #70002 (TS issues with temporary dir handling). (Anatol)
363 . Fixed bug #69793 (Remotely triggerable stack exhaustion via recursive
364 method calls). (Stas)
365 . Fixed bug #69892 (Different arrays compare indentical due to integer key
366 truncation). (Nikita)
367 . Fixed bug #70121 (unserialize() could lead to unexpected methods execution
368 / NULL pointer deref). (Stas)
369
370- CLI server:
371 . Fixed bug #69655 (php -S changes MKCALENDAR request method to MKCOL). (cmb)
372 . Fixed bug #64878 (304 responses return Content-Type header). (cmb)
373
374- GD:
375 . Fixed bug #53156 (imagerectangle problem with point ordering). (cmb)
376 . Fixed bug #66387 (Stack overflow with imagefilltoborder). (cmb)
377 . Fixed bug #70102 (imagecreatefromwebm() shifts colors). (cmb)
378 . Fixed bug #66590 (imagewebp() doesn't pad to even length). (cmb)
379 . Fixed bug #66882 (imagerotate by -90 degrees truncates image by 1px). (cmb)
380 . Fixed bug #70064 (imagescale(..., IMG_BICUBIC) leaks memory). (cmb)
381 . Fixed bug #69024 (imagescale segfault with palette based image). (cmb)
382 . Fixed bug #53154 (Zero-height rectangle has whiskers). (cmb)
383 . Fixed bug #67447 (imagecrop() add a black line when cropping). (cmb)
384 . Fixed bug #68714 (copy 'n paste error). (cmb)
385 . Fixed bug #66339 (PHP segfaults in imagexbm). (cmb)
386 . Fixed bug #70047 (gd_info() doesn't report WebP support). (cmb)
733- GD:
734 . Fixed bug #53156 (imagerectangle problem with point ordering). (cmb)
735 . Fixed bug #66387 (Stack overflow with imagefilltoborder). (cmb)
736 . Fixed bug #70102 (imagecreatefromwebm() shifts colors). (cmb)
737 . Fixed bug #66590 (imagewebp() doesn't pad to even length). (cmb)
738 . Fixed bug #66882 (imagerotate by -90 degrees truncates image by 1px). (cmb)
739 . Fixed bug #70064 (imagescale(..., IMG_BICUBIC) leaks memory). (cmb)
740 . Fixed bug #69024 (imagescale segfault with palette based image). (cmb)
741 . Fixed bug #53154 (Zero-height rectangle has whiskers). (cmb)
742 . Fixed bug #67447 (imagecrop() add a black line when cropping). (cmb)
743 . Fixed bug #68714 (copy 'n paste error). (cmb)
744 . Fixed bug #66339 (PHP segfaults in imagexbm). (cmb)
745 . Fixed bug #70047 (gd_info() doesn't report WebP support). (cmb)
387
388- ODBC:
389 . Fixed bug #69975 (PHP segfaults when accessing nvarchar(max) defined
390 columns). (cmb)
391
392- OpenSSL:
393 . Fixed bug #69882 (OpenSSL error "key values mismatch" after
394 openssl_pkcs12_read with extra cert). (Tomasz Sawicki)
395 . Fixed bug #70014 (openssl_random_pseudo_bytes() is not cryptographically
396 secure). (Stas)
397
398- Phar:
399 . Improved fix for bug #69441. (Anatol Belski)
400 . Fixed bug #70019 (Files extracted from archive may be placed outside of
401 destination directory). (Anatol Belski)
402
403- SOAP:
404 . Fixed bug #70081 (SoapClient info leak / null pointer dereference via
405 multiple type confusions). (Stas)
406
407- SPL:
408 . Fixed bug #70068 (Dangling pointer in the unserialization of ArrayObject
409 items). (sean.heelan)
410 . Fixed bug #70166 (Use After Free Vulnerability in unserialize() with
411 SPLArrayObject). (taoguangchen at icloud dot com)
412 . Fixed bug #70168 (Use After Free Vulnerability in unserialize() with
413 SplObjectStorage). (taoguangchen at icloud dot com)
414 . Fixed bug #70169 (Use After Free Vulnerability in unserialize() with
415 SplDoublyLinkedList). (taoguangchen at icloud dot com)
416
417- Standard:
418 . Fixed bug #70096 (Repeated iptcembed() adds superfluous FF bytes). (cmb)
419
42009 Jul 2015, PHP 5.6.11
421
422- Core:
423 . Fixed bug #69768 (escapeshell*() doesn't cater to !). (cmb)
424 . Fixed bug #69703 (Use __builtin_clzl on PowerPC).
425 (dja at axtens dot net, Kalle)
426 . Fixed bug #69732 (can induce segmentation fault with basic php code).
427 (Dmitry)
428 . Fixed bug #69642 (Windows 10 reported as Windows 8).
429 (Christian Wenz, Anatol Belski)
430 . Fixed bug #69551 (parse_ini_file() and parse_ini_string() segmentation
431 fault). (Christoph M. Becker)
432 . Fixed bug #69781 (phpinfo() reports Professional Editions of Windows
433 7/8/8.1/10 as "Business"). (Christian Wenz)
434 . Fixed bug #69740 (finally in generator (yield) swallows exception in
435 iteration). (Nikita)
436 . Fixed bug #69835 (phpinfo() does not report many Windows SKUs).
437 (Christian Wenz)
438 . Fixed bug #69892 (Different arrays compare indentical due to integer key
439 truncation). (Nikita)
440 . Fixed bug #69874 (Can't set empty additional_headers for mail()), regression
441 from fix to bug #68776. (Yasuo)
442
443- GD:
746 . Replace libvpx with libwebp for bundled libgd. (cmb, Anatol)
444 . Fixed bug #61221 (imagegammacorrect function loses alpha channel). (cmb)
747 . Fixed bug #61221 (imagegammacorrect function loses alpha channel). (cmb)
748 . Made fontFetch's path parser thread-safe. (Sara)
749 . Removed T1Lib support. (Kalle)
445
446- GMP:
750
751- GMP:
447 . Fixed bug #69803 (gmp_random_range() modifies second parameter if GMP
448 number). (Nikita)
752 . Fixed bug #70284 (Use after free vulnerability in unserialize() with GMP).
753 (stas)
449
754
450- Mysqlnd:
451 . Fixed bug #69669 (mysqlnd is vulnerable to BACKRONYM). (CVE-2015-3152)
452 (Andrey)
453
454- PCRE:
455 . Fixed Bug #53823 (preg_replace: * qualifier on unicode replace garbles the
456 string). (cmb)
457 . Fixed bug #69864 (Segfault in preg_replace_callback) (cmb, ab)
755- hash:
756 . Fixed bug #70312 (HAVAL gives wrong hashes in specific cases). (letsgolee
757 at naver dot com)
458
758
459- PDO_pgsql:
460 . Fixed bug #69752 (PDOStatement::execute() leaks memory with DML
461 Statements when closeCuror() is u). (Philip Hofstetter)
462 . Fixed bug #69362 (PDO-pgsql fails to connect if password contains a
463 leading single quote). (Matteo)
464 . Fixed bug #69344 (PDO PgSQL Incorrect binding numeric array with gaps).
465 (Matteo)
759- IMAP:
760 . Fixed bug #70158 (Building with static imap fails). (cmb)
761 . Fixed bug #69998 (curl multi leaking memory). (Pierrick)
466
762
467- Phar:
468 . Fixed bug #69958 (Segfault in Phar::convertToData on invalid file).
469 (CVE-2015-5589) (Stas)
470 . Fixed bug #69923 (Buffer overflow and stack smashing error in
471 phar_fix_filepath). (CVE-2015-5590) (Stas)
763- Intl:
764 . Fixed bug #70453 (IntlChar::foldCase() incorrect arguments and missing
765 constants). (cmb)
766 . Fixed bug #70454 (IntlChar::forDigit second parameter should be optional).
767 (cmb, colinodell)
768 . Removed deprecated aliases datefmt_set_timezone_id() and
769 IntlDateFormatter::setTimeZoneID(). (Nikita)
472
770
473- SimpleXML:
474 . Refactored the fix for bug #66084 (simplexml_load_string() mangles empty
475 node name). (Christoph Michael Becker)
771- JSON:
772 . Fixed bug #62010 (json_decode produces invalid byte-sequences).
773 (Jakub Zelenka)
774 . Fixed bug #68546 (json_decode() Fatal error: Cannot access property
775 started with '\0'). (Jakub Zelenka)
776 . Replace non-free JSON parser with a parser from Jsond extension, fixes #63520
777 (JSON extension includes a problematic license statement). (Jakub Zelenka)
778 . Fixed bug #68938 (json_decode() decodes empty string without error).
779 (jeremy at bat-country dot us)
476
780
477- SPL:
478 . Fixed bug #69737 (Segfault when SplMinHeap::compare produces fatal error).
479 (Stas)
480 . Fixed bug #67805 (SplFileObject setMaxLineLength). (Willian Gustavo Veiga).
481 . Fixed bug #69970 (Use-after-free vulnerability in
482 spl_recursive_it_move_forward_ex()). (Laruence)
781- LDAP:
782 . Fixed bug #47222 (Implement LDAP_OPT_DIAGNOSTIC_MESSAGE). (Andreas Heigl)
483
783
484- Sqlite3:
485 . Fixed bug #69972 (Use-after-free vulnerability in
486 sqlite3SafetyCheckSickOrOk()). (Laruence)
784- LiteSpeed:
785 . Updated LiteSpeed SAPI code from V5.5 to V6.6. (George Wang)
487
786
48811 Jun 2015, PHP 5.6.10
489
490- Core:
491 . Fixed bug #66048 (temp. directory is cached during multiple requests).
492 (Julien)
493 . Fixed bug #69566 (Conditional jump or move depends on uninitialised value
494 in extension trait). (jbboehr at gmail dot com)
495 . Fixed bug #69599 (Strange generator+exception+variadic crash). (Nikita)
496 . Fixed bug #69628 (complex GLOB_BRACE fails on Windows).
787- libxml:
788 . Fixed handling of big lines in error messages with libxml >= 2.9.0.
497 (Christoph M. Becker)
789 (Christoph M. Becker)
498 . Fixed POST data processing slowdown due to small input buffer size
499 on Windows. (Jorge Oliveira, Anatol)
500 . Fixed bug #69646 (OS command injection vulnerability in escapeshellarg).
501 (CVE-2015-4642) (Anatol Belski)
502 . Fixed bug #69719 (Incorrect handling of paths with NULs). (Stas)
503
790
504- FTP
505 . Improved fix for bug #69545 (Integer overflow in ftp_genlist() resulting in
506 heap overflow). (CVE-2015-4643) (Max Spelsberg)
791- Mcrypt:
792 . Fixed bug #70625 (mcrypt_encrypt() won't return data when no IV was
793 specified under RC4). (Nikita)
794 . Fixed bug #69833 (mcrypt fd caching not working). (Anatol)
795 . Fixed possible read after end of buffer and use after free. (Dmitry)
796 . Removed mcrypt_generic_end() alias. (Nikita)
797 . Removed mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb(), mcrypt_ofb(). (Nikita)
507
798
508- GD:
509 . Fixed bug #69479 (GD fails to build with newer libvpx). (Remi)
799- Mysqli:
800 . Fixed bug #32490 (constructor of mysqli has wrong name). (cmb)
510
801
511- Iconv:
512 . Fixed bug #48147 (iconv with //IGNORE cuts the string). (Stas)
513
514- Litespeed SAPI:
515 . Fixed bug #68812 (Unchecked return value). (George Wang)
516
517- Mail:
518 . Fixed bug #68776 (mail() does not have mail header injection prevention for
519 additional headers). (Yasuo)
520
521- MCrypt:
522 . Added file descriptor caching to mcrypt_create_iv() (Leigh)
523
524- Opcache
525 . Fixed bug #69549 (Memory leak with opcache.optimization_level=0xFFFFFFFF).
526 (Laruence, Dmitry)
527
528- PCRE
529 . Upgraded pcrelib to 8.37. (CVE-2015-2325, CVE-2015-2326)
530
531- Phar:
532 . Fixed bug #69680 (phar symlink in binary directory broken).
533 (Matteo Bernardini, Remi)
534
535- Postgres:
536 . Fixed bug #69667 (segfault in php_pgsql_meta_data). (CVE-2015-4644) (Remi)
537
538- Sqlite3:
539 . Upgrade bundled sqlite to 3.8.10.2. (CVE-2015-3414, CVE-2015-3415,
540 CVE-2015-3416) (Kaplan)
541
54214 May 2015, PHP 5.6.9
543
544- Core:
545 . Fixed bug #69467 (Wrong checked for the interface by using Trait).
802- Mysqlnd:
803 . Fixed bug #70949 (SQL Result Sets With NULL Can Cause Fatal Memory Errors).
546 (Laruence)
804 (Laruence)
547 . Fixed bug #69420 (Invalid read in zend_std_get_method). (Laruence)
548 . Fixed bug #60022 ("use statement [...] has no effect" depends on leading
549 backslash). (Nikita)
550 . Fixed bug #67314 (Segmentation fault in gc_remove_zval_from_buffer).
551 (Dmitry)
552 . Fixed bug #68652 (segmentation fault in destructor). (Dmitry)
553 . Fixed bug #69419 (Returning compatible sub generator produces a warning).
554 (Nikita)
555 . Fixed bug #69472 (php_sys_readlink ignores misc errors from
556 GetFinalPathNameByHandleA). (Jan Starke)
557 . Fixed bug #69364 (PHP Multipart/form-data remote dos Vulnerability).
558 (CVE-2015-4024) (Stas)
559 . Fixed bug #69403 (str_repeat() sign mismatch based memory corruption).
560 (Stas)
561 . Fixed bug #69418 (CVE-2006-7243 fix regressions in 5.4+). (CVE-2015-4025)
562 (Stas)
563 . Fixed bug #69522 (heap buffer overflow in unpack()). (Stas)
805 . Fixed bug #70384 (mysqli_real_query():Unknown type 245 sent by the server).
806 (Andrey)
807 . Fixed bug #70456 (mysqlnd doesn't activate TCP keep-alive when connecting to
808 a server). (Sergei Turchanov)
809 . Fixed bug #70572 segfault in mysqlnd_connect. (Andrey, Remi)
810 . Fixed Bug #69796 (mysqli_stmt::fetch doesn't assign null values to
811 bound variables). (Laruence)
564
812
565- FTP:
566 . Fixed bug #69545 (Integer overflow in ftp_genlist() resulting in heap
567 overflow). (CVE-2015-4022) (Stas)
813- OCI8:
814 . Fixed memory leak with LOBs. (Senthil)
815 . Fixed bug #68298 (OCI int overflow) (Senthil).
816 . Corrected oci8 hash destructors to prevent segfaults, and a few other fixes.
817 (Cameron Porter)
568
569- ODBC:
818
819- ODBC:
570 . Fixed bug #69354 (Incorrect use of SQLColAttributes with ODBC 3.0).
571 (Anatol)
572 . Fixed bug #69474 (ODBC: Query with same field name from two tables returns
573 incorrect result). (Anatol)
574 . Fixed bug #69381 (out of memory with sage odbc driver). (Frederic Marchall,
575 Anatol Belski)
820 . Fixed bug #69975 (PHP segfaults when accessing nvarchar(max) defined
821 columns). (cmb)
576
822
577- OpenSSL:
578 . Fixed bug #69402 (Reading empty SSL stream hangs until timeout).
579 (Daniel Lowrey)
580
581- PCNTL:
582 . Fixed bug #68598 (pcntl_exec() should not allow null char). (CVE-2015-4026)
583 (Stas)
584
585- Phar:
586 . Fixed bug #69453 (Memory Corruption in phar_parse_tarfile when entry
587 filename starts with null). (CVE-2015-4021) (Stas)
588
58916 Apr 2015, PHP 5.6.8
590
591- Core:
592 . Fixed bug #66609 (php crashes with __get() and ++ operator in some cases).
593 (Dmitry, Laruence)
594 . Fixed bug #68021 (get_browser() browser_name_regex returns non-utf-8
595 characters). (Tjerk)
596 . Fixed bug #68917 (parse_url fails on some partial urls). (Wei Dai)
597 . Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM
598 configuration options). (Anatol Belski)
599 . Additional fix for bug #69152 (Type confusion vulnerability in
600 exception::getTraceAsString). (Stas)
601 . Fixed bug #69210 (serialize function return corrupted data when sleep has
602 non-string values). (Juan Basso)
603 . Fixed bug #69212 (Leaking VIA_HANDLER func when exception thrown in
604 __call/... arg passing). (Nikita)
605 . Fixed bug #69221 (Segmentation fault when using a generator in combination
606 with an Iterator). (Nikita)
607 . Fixed bug #69337 (php_stream_url_wrap_http_ex() type-confusion
608 vulnerability). (Stas)
609 . Fixed bug #69353 (Missing null byte checks for paths in various PHP
610 extensions). (Stas)
611
612- Apache2handler:
613 . Fixed bug #69218 (potential remote code execution with apache 2.4
614 apache2handler). (Gerrit Venema)
615
616- cURL:
617 . Implemented FR#69278 (HTTP2 support). (Masaki Kagaya)
618 . Fixed bug #68739 (Missing break / control flow). (Laruence)
619 . Fixed bug #69316 (Use-after-free in php_curl related to
620 CURLOPT_FILE/_INFILE/_WRITEHEADER). (Laruence)
621
622- Date:
623 . Fixed bug #69336 (Issues with "last day of <monthname>"). (Derick Rethans)
624
625- Enchant:
626 . Fixed bug #65406 (Enchant broker plugins are in the wrong place in windows
627 builds). (Anatol)
628
629- Ereg:
630 . Fixed bug #68740 (NULL Pointer Dereference). (Laruence)
631
632- Fileinfo:
633 . Fixed bug #68819 (Fileinfo on specific file causes spurious OOM and/or
634 segfault). (Anatol Belski)
635
636- Filter:
637 . Fixed bug #69202 (FILTER_FLAG_STRIP_BACKTICK ignored unless other
638 flags are used). (Jeff Welch)
639 . Fixed bug #69203 (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127). (Jeff
640 Welch)
641
642- Mbstring:
643 . Fixed bug #68846 (False detection of CJK Unified Ideographs Extension E).
644 (Masaki Kagaya)
645
646- OPCache:
647 . Fixed bug #69297 (function_exists strange behavior with OPCache on
648 disabled function). (Laruence)
649 . Fixed bug #69281 (opcache_is_script_cached no longer works). (danack)
650 . Fixed bug #68677 (Use After Free). (CVE-2015-1351) (Laruence)
651
652- OpenSSL:
653 . Fixed bugs #68853, #65137 (Buffered crypto stream data breaks IO polling
654 in stream_select() contexts) (Chris Wright)
655 . Fixed bug #69197 (openssl_pkcs7_sign handles default value incorrectly)
656 (Daniel Lowrey)
657 . Fixed bug #69215 (Crypto servers should send client CA list)
658 (Daniel Lowrey)
659 . Add a check for RAND_egd to allow compiling against LibreSSL (Leigh)
660
661- Phar:
662 . Fixed bug #64343 (PharData::extractTo fails for tarball created by BSD tar).
663 (Mike)
664 . Fixed bug #64931 (phar_add_file is too restrictive on filename). (Mike)
665 . Fixed bug #65467 (Call to undefined method cli_arg_typ_string). (Mike)
666 . Fixed bug #67761 (Phar::mapPhar fails for Phars inside a path containing
667 ".tar"). (Mike)
668 . Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar). (Stas)
669 . Fixed bug #69441 (Buffer Overflow when parsing tar/zip/phar in
670 phar_set_inode). (Stas)
671
672- Postgres:
673 . Fixed bug #68741 (Null pointer dereference). (CVE-2015-1352) (Laruence)
674
675- SOAP:
676 . Fixed bug #69152 (Type Confusion Infoleak Vulnerability in unserialize()
677 with SoapFault). (Dmitry)
678 . Fixed bug #69293 (NEW segfault when using SoapClient::__setSoapHeader
679 (bisected, regression)). (Laruence)
680
681- SPL:
682 . Fixed bug #69227 (Use after free in zval_scan caused by
683 spl_object_storage_get_gc). (adam dot scarr at 99designs dot com)
684
685- Sqlite3:
686 . Fixed bug #68760 (SQLITE segfaults if custom collator throws an exception).
687 (Dan Ackroyd)
688 . Fixed bug #69287 (Upgrade bundled libsqlite to 3.8.8.3). (Anatol)
689 . Fixed bug #66550 (SQLite prepared statement use-after-free). (Sean Heelan)
690
69119 Mar 2015, PHP 5.6.7
692
693- Core:
694 . Fixed bug #69174 (leaks when unused inner class use traits precedence).
823- Opcache:
824 . Fixed bug #70656 (require() statement broken after opcache_reset() or a
825 few hours of use). (Laruence)
826 . Fixed bug #70843 (Segmentation fault on MacOSX with
827 opcache.file_cache_only=1). (Laruence)
828 . Fixed bug #70724 (Undefined Symbols from opcache.so on Mac OS X 10.10).
695 (Laruence)
829 (Laruence)
696 . Fixed bug #69139 (Crash in gc_zval_possible_root on unserialize).
830 . Fixed compatibility with Windows 10 (see also bug #70652). (Anatol)
831 . Attmpt to fix "Unable to reattach to base address" problem. (Matt Ficken)
832 . Fixed bug #70423 (Warning Internal error: wrong size calculation). (Anatol)
833 . Fixed bug #70237 (Empty while and do-while segmentation fault with opcode
834 on CLI enabled). (Dmitry, Laruence)
835 . Fixed bug #70111 (Segfault when a function uses both an explicit return
836 type and an explicit cast). (Laruence)
837 . Fixed bug #70058 (Build fails when building for i386). (Laruence)
838 . Fixed bug #70022 (Crash with opcache using opcache.file_cache_only=1).
839 (Anatol)
840 . Removed opcache.load_comments configuration directive. Now doc comments
841 loading costs nothing and always enabled. (Dmitry)
842 . Fixed bug #69838 (Wrong size calculation for function table). (Anatol)
843 . Fixed bug #69688 (segfault with eval and opcache fast shutdown).
697 (Laruence)
844 (Laruence)
698 . Fixed bug #69121 (Segfault in get_current_user when script owner is not
699 in passwd with ZTS build). (dan at syneto dot net)
700 . Fixed bug #65593 (Segfault when calling ob_start from output buffering
701 callback). (Mike)
702 . Fixed bug #68986 (pointer returned by php_stream_fopen_temporary_file
703 not validated in memory.c). (nayana at ddproperty dot com)
704 . Fixed bug #68166 (Exception with invalid character causes segv). (Rasmus)
705 . Fixed bug #69141 (Missing arguments in reflection info for some builtin
706 functions). (kostyantyn dot lysyy at oracle dot com)
707 . Fixed bug #68976 (Use After Free Vulnerability in unserialize()).
708 (CVE-2015-2787) (Stas)
709 . Fixed bug #69134 (Per Directory Values overrides PHP_INI_SYSTEM
710 configuration options). (Anatol Belski)
711 . Fixed bug #69207 (move_uploaded_file allows nulls in path). (CVE-2015-2348)
712 (Stas)
713
714- CGI:
715 . Fixed bug #69015 (php-cgi's getopt does not see $argv). (Laruence)
716
717- CLI:
718 . Fixed bug #67741 (auto_prepend_file messes up __LINE__). (Reeze Xia)
719
720- cURL:
721 . Fixed bug #69088 (PHP_MINIT_FUNCTION does not fully initialize cURL on
722 Win32). (Grant Pannell)
723 . Add CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME constants if supported
724 by libcurl. (Linus Unneback)
725
726- Ereg:
727 . Fixed bug #69248 (heap overflow vulnerability in regcomp.c). (CVE-2015-2305)
728 (Stas)
729
730- FPM:
731 . Fixed bug #68822 (request time is reset too early). (honghu069 at 163 dot com)
732
733- ODBC:
734 . Fixed bug #68964 (Allowed memory size exhausted with odbc_exec). (Anatol)
735
736- Opcache:
737 . Fixed bug #69159 (Opcache causes problem when passing a variable variable
738 to a function). (Dmitry, Laruence)
739 . Fixed bug #69125 (Array numeric string as key). (Laruence)
740 . Fixed bug #69038 (switch(SOMECONSTANT) misbehaves). (Laruence)
741
742- OpenSSL:
743 . Fixed bug #68912 (Segmentation fault at openssl_spki_new). (Laruence)
744 . Fixed bug #61285, #68329, #68046, #41631 (encrypted streams don't observe
745 socket timeouts). (Brad Broerman)
746 . Fixed bug #68920 (use strict peer_fingerprint input checks)
747 (Daniel Lowrey)
748 . Fixed bug #68879 (IP Address fields in subjectAltNames not used)
749 (Daniel Lowrey)
750 . Fixed bug #68265 (SAN match fails with trailing DNS dot) (Daniel Lowrey)
751 . Fixed bug #67403 (Add signatureType to openssl_x509_parse) (Daniel Lowrey)
752 . Fixed bug (#69195 Inconsistent stream crypto values across versions)
753 (Daniel Lowrey)
754
755- pgsql:
756 . Fixed bug #68638 (pg_update() fails to store infinite values).
757 (william dot welter at 4linux dot com dot br, Laruence)
758
759- Readline:
760 . Fixed bug #69054 (Null dereference in readline_(read|write)_history() without
761 parameters). (Laruence)
762
763- SOAP:
764 . Fixed bug #69085 (SoapClient's __call() type confusion through
765 unserialize()). (CVE-2015-4147, CVE-2015-4148) (andrea dot palazzo at truel
766 dot it, Laruence)
767
768- SPL:
769 . Fixed bug #69108 ("Segmentation fault" when (de)serializing
770 SplObjectStorage). (Laruence)
771 . Fixed bug #68557 (RecursiveDirectoryIterator::seek(0) broken after
772 calling getChildren()). (Julien)
773
774- ZIP:
775 . Fixed bug #69253 (ZIP Integer Overflow leads to writing past heap
776 boundary). (CVE-2015-2331) (Stas)
777
77819 Feb 2015, PHP 5.6.6
779
780- Core:
781 . Removed support for multi-line headers, as the are deprecated by RFC 7230.
782 (Stas)
783 . Fixed bug #67068 (getClosure returns somethings that's not a closure).
784 (Danack at basereality dot com)
785 . Fixed bug #68942 (Use after free vulnerability in unserialize() with
786 DateTimeZone). (CVE-2015-0273) (Stas)
787 . Fixed bug #68925 (Mitigation for CVE-2015-0235 ��� GHOST: glibc gethostbyname
788 buffer overflow). (Stas)
789 . Fixed Bug #67988 (htmlspecialchars() does not respect default_charset
790 specified by ini_set) (Yasuo)
791 . Added NULL byte protection to exec, system and passthru. (Yasuo)
792
793- Dba:
794 . Fixed bug #68711 (useless comparisons). (bugreports at internot dot info)
795
796- Enchant:
797 . Fixed bug #68552 (heap buffer overflow in enchant_broker_request_dict()).
798 (CVE-2014-9705) (Antony)
799
800- Fileinfo:
801 . Fixed bug #68827 (Double free with disabled ZMM). (Joshua Rogers)
802 . Fixed bug #67647 (Bundled libmagic 5.17 does not detect quicktime files
803 correctly). (Anatol)
804 . Fixed bug #68731 (finfo_buffer doesn't extract the correct mime with some
805 gifs). (Anatol)
806
807- FPM:
808 . Fixed bug #66479 (Wrong response to FCGI_GET_VALUES). (Frank Stolle)
809 . Fixed bug #68571 (core dump when webserver close the socket).
810 (redfoxli069 at gmail dot com, Laruence)
811
812- JSON:
813 . Fixed bug #50224 (json_encode() does not always encode a float as a float)
814 by adding JSON_PRESERVE_ZERO_FRACTION. (Juan Basso)
815
816- LIBXML:
817 . Fixed bug #64938 (libxml_disable_entity_loader setting is shared
818 between threads). (Martin Jansen)
819
820- Mysqli:
821 . Fixed bug #68114 (linker error on some OS X machines with fixed
822 width decimal support) (Keyur Govande)
823 . Fixed bug #68657 (Reading 4 byte floats with Mysqli and libmysqlclient
824 has rounding errors) (Keyur Govande)
825
826- Opcache:
845 . Added experimental (disabled by default) file based opcode cache.
846 (Dmitry, Laruence, Anatol)
827 . Fixed bug with try blocks being removed when extended_info opcode
828 generation is turned on. (Laruence)
847 . Fixed bug with try blocks being removed when extended_info opcode
848 generation is turned on. (Laruence)
829
830- PDO_mysql:
831 . Fixed bug #68750 (PDOMysql with mysqlnd does not allow the usage of
832 named pipes). (steffenb198 at aol dot com)
833
834- Phar:
835 . Fixed bug #68901 (use after free). (CVE-2015-2301)
836 (bugreports at internot dot info)
837
838- Pgsql:
839 . Fixed Bug #65199 (pg_copy_from() modifies input array variable) (Yasuo)
840
841- Session:
842 . Fixed bug #68941 (mod_files.sh is a bash-script) (bugzilla at ii.nl, Yasuo)
843 . Fixed Bug #66623 (no EINTR check on flock) (Yasuo)
844 . Fixed bug #68063 (Empty session IDs do still start sessions) (Yasuo)
845
846- Sqlite3:
847 . Fixed bug #68260 (SQLite3Result::fetchArray declares wrong
848 required_num_args). (Julien)
849
850- Standard:
851 . Fixed bug #65272 (flock() out parameter not set correctly in windows).
852 (Daniel Lowrey)
853 . Fixed bug #69033 (Request may get env. variables from previous requests
854 if PHP works as FastCGI). (Anatol)
855
856- Streams:
857 . Fixed bug which caused call after final close on streams filter. (Bob)
858
85922 Jan 2015, PHP 5.6.5
860
861- Core:
862 . Upgraded crypt_blowfish to version 1.3. (Leigh)
863 . Fixed bug #60704 (unlink() bug with some files path).
864 . Fixed bug #65419 (Inside trait, self::class != __CLASS__). (Julien)
865 . Fixed bug #68536 (pack for 64bits integer is broken on bigendian). (Remi)
866 . Fixed bug #55541 (errors spawn MessageBox, which blocks test automation).
867 (Anatol)
868 . Fixed bug #68297 (Application Popup provides too few information). (Anatol)
869 . Fixed bug #65769 (localeconv() broken in TS builds). (Anatol)
870 . Fixed bug #65230 (setting locale randomly broken). (Anatol)
871 . Fixed bug #66764 (configure doesn't define EXPANDED_DATADIR / PHP_DATADIR
872 correctly). (Ferenc)
873 . Fixed bug #68583 (Crash in timeout thread). (Anatol)
874 . Fixed bug #65576 (Constructor from trait conflicts with inherited
875 constructor). (dunglas at gmail dot com)
876 . Fixed bug #68676 (Explicit Double Free). (CVE-2014-9425) (Kalle)
877 . Fixed bug #68710 (Use After Free Vulnerability in PHP's unserialize()).
878 (CVE-2015-0231) (Stefan Esser)
879
880- CGI:
881 . Fixed bug #68618 (out of bounds read crashes php-cgi). (CVE-2014-9427)
882 (Stas)
883
884- CLI server:
885 . Fixed bug #68745 (Invalid HTTP requests make web server segfault). (Adam)
886
887- cURL:
888 . Fixed bug #67643 (curl_multi_getcontent returns '' when
889 CURLOPT_RETURNTRANSFER isn't set). (Jille Timmermans)
890
891- Date:
892 . Implemented FR #68268 (DatePeriod: Getter for start date, end date and
893 interval). (Marc Bennewitz)
894
895- EXIF:
896 . Fixed bug #68799: Free called on uninitialized pointer. (CVE-2015-0232)
897 (Stas)
898
899- Fileinfo:
900 . Fixed bug #68398 (msooxml matches too many archives). (Anatol)
901 . Fixed bug #68665 (invalid free in libmagic). (Joshua Rogers, Anatol Belski)
902 . Fixed bug #68671 (incorrect expression in libmagic).
903 (Joshua Rogers, Anatol Belski)
904 . Removed readelf.c and related code from libmagic sources
905 (Remi, Anatol)
906 . Fixed bug #68735 (fileinfo out-of-bounds memory access). (CVE-2014-9652)
907 (Anatol)
908
909- FPM:
910 . Fixed request #68526 (Implement POSIX Access Control List for UDS). (Remi)
911 . Fixed bug #68751 (listen.allowed_clients is broken). (Remi)
912
913- GD:
914 . Fixed bug #68601 (buffer read overflow in gd_gif_in.c). (CVE-2014-9709)
915 (Jan Bee, Remi)
916 . Fixed request #68656 (Report gd library version). (Remi)
917
918- mbstring:
919 . Fixed bug #68504 (--with-libmbfl configure option not present on Windows).
920 (Ashesh Vashi)
921
922- Opcache:
923 . Fixed bug #68644 (strlen incorrect : mbstring + func_overload=2 +UTF-8
924 + Opcache). (Laruence)
849 . Fixed bug #68644 (strlen incorrect : mbstring + func_overload=2 +UTF-8
850 + Opcache). (Laruence)
925 . Fixed bug #67111 (Memory leak when using "continue 2" inside two foreach
926 loops). (Nikita)
927
928- OpenSSL:
851
852- OpenSSL:
929 . Improved handling of OPENSSL_KEYTYPE_EC keys. (Dominic Luechinger)
853 . Require at least OpenSSL version 0.9.8. (Jakub Zelenka)
854 . Fixed bug #68312 (Lookup for openssl.cnf causes a message box). (Anatol)
855 . Fixed bug #55259 (openssl extension does not get the DH parameters from
856 DH key resource). (Jakub Zelenka)
857 . Fixed bug #70395 (Missing ARG_INFO for openssl_seal()). (cmb)
858 . Fixed bug #60632 (openssl_seal fails with AES). (Jakub Zelenka)
859 . Implemented FR #70438 (Add IV parameter for openssl_seal and openssl_open)
860 (Jakub Zelenka)
861 . Fixed bug #70014 (openssl_random_pseudo_bytes() is not cryptographically
862 secure). (Stas)
863 . Fixed bug #69882 (OpenSSL error "key values mismatch" after
864 openssl_pkcs12_read with extra cert). (Tomasz Sawicki)
865 . Added "alpn_protocols" SSL context option allowing encrypted client/server
866 streams to negotiate alternative protocols using the ALPN TLS extension when
867 built against OpenSSL 1.0.2 or newer. Negotiated protocol information is
868 accessible through stream_get_meta_data() output.
869 . Removed "CN_match" and "SNI_server_name" SSL context options. Use automatic
870 detection or the "peer_name" option instead. (Nikita)
930
871
931- pcntl:
872- Pcntl:
873 . Fixed bug #70386 (Can't compile on NetBSD because of missing WCONTINUED
874 and WIFCONTINUED). (Matteo)
932 . Fixed bug #60509 (pcntl_signal doesn't decrease ref-count of old handler
933 when setting SIG_DFL). (Julien)
875 . Fixed bug #60509 (pcntl_signal doesn't decrease ref-count of old handler
876 when setting SIG_DFL). (Julien)
877 . Implemented FR #68505 (Added wifcontinued and wcontinued). (xilon-jul)
878 . Added rusage support to pcntl_wait() and pcntl_waitpid(). (Anton Stepanenko,
879 Tony)
934
935- PCRE:
880
881- PCRE:
936 . Fixed bug #66679 (Alignment Bug in PCRE 8.34 upstream).
937 (Rainer Jung, Anatol Belski)
882 . Fixed bug #70232 (Incorrect bump-along behavior with \K and empty string
883 match). (cmb)
884 . Fixed bug #70345 (Multiple vulnerabilities related to PCRE functions).
885 (Anatol Belski)
886 . Fixed bug #70232 (Incorrect bump-along behavior with \K and empty string
887 match). (cmb)
888 . Fixed bug #53823 (preg_replace: * qualifier on unicode replace garbles the
889 string). (cmb)
890 . Fixed bug #69864 (Segfault in preg_replace_callback). (cmb, ab)
938
891
939- pgsql:
940 . Fixed bug #68697 (lo_export return -1 on failure). (Ond��ej Sur��)
941
942- PDO:
892- PDO:
943 . Fixed bug #68371 (PDO#getAttribute() cannot be called with platform-specifi
944 attribute names). (Matteo)
893 . Fixed bug #70861 (Segmentation fault in pdo_parse_params() during Drupal 8
894 test suite). (Anatol)
895 . Fixed bug #70389 (PDO constructor changes unrelated variables). (Laruence)
896 . Fixed bug #70272 (Segfault in pdo_mysql). (Laruence)
897 . Fixed bug #70221 (persistent sqlite connection + custom function
898 segfaults). (Laruence)
899 . Removed support for the /e (PREG_REPLACE_EVAL) modifier. (Nikita)
900 . Fixed bug #59450 (./configure fails with "Cannot find php_pdo_driver.h").
901 (maxime dot besson at smile dot fr)
945
902
903- PDO_DBlib:
904 . Fixed bug #69757 (Segmentation fault on nextRowset).
905 (miracle at rpz dot name)
906
946- PDO_mysql:
947 . Fixed bug #68424 (Add new PDO mysql connection attr to control multi
948 statements option). (peter dot wolanin at acquia dot com)
949
907- PDO_mysql:
908 . Fixed bug #68424 (Add new PDO mysql connection attr to control multi
909 statements option). (peter dot wolanin at acquia dot com)
910
950- SPL:
951 . Fixed bug #66405 (RecursiveDirectoryIterator::CURRENT_AS_PATHNAME
952 breaks the RecursiveIterator). (Paul Garvin)
953 . Fixed bug #68479 (Added escape parameter to SplFileObject::fputcsv). (Salathe)
911- PDO_OCI:
912 . Fixed bug #70308 (PDO::ATTR_PREFETCH is ignored). (Chris Jones)
954
913
955- SQLite:
956 . Fixed bug #68120 (Update bundled libsqlite to 3.8.7.2). (Anatol)
957
958- Streams:
959 . Fixed bug #68532 (convert.base64-encode omits padding bytes).
960 (blaesius at krumedia dot de)
961
96218 Dec 2014, PHP 5.6.4
963
964- Core:
965 . Fixed bug #68091 (Some Zend headers lack appropriate extern "C" blocks).
966 (Adam)
967 . Fixed bug #68104 (Segfault while pre-evaluating a disabled function).
968 (Laruence)
969 . Fixed bug #68185 ("Inconsistent insteadof definition."- incorrectly
970 triggered). (Julien)
971 . Fixed bug #68355 (Inconsistency in example php.ini comments).
972 (Chris McCafferty)
973 . Fixed bug #68370 ("unset($this)" can make the program crash). (Laruence)
974 . Fixed bug #68422 (Incorrect argument reflection info for array_multisort()).
975 (Alexander Lisachenko)
976 . Fixed bug #68545 (NULL pointer dereference in unserialize.c). (Anatol)
977 . Fixed bug #68446 (Array constant not accepted for array parameter default).
978 (Bob, Dmitry)
979 . Fixed bug #68594 (Use after free vulnerability in unserialize()).
980 (CVE-2014-8142) (Stefan Esser)
981
982- Date:
983 . Fixed day_of_week function as it could sometimes return negative values
984 internally. (Derick)
985
986- FPM:
987 . Fixed bug #68381 (fpm_unix_init_main ignores log_level).
988 (David Zuelke, Remi)
989 . Fixed bug #68420 (listen=9000 listens to ipv6 localhost instead of all
990 addresses). (Remi)
991 . Fixed bug #68421 (access.format='%R' doesn't log ipv6 address). (Remi)
992 . Fixed bug #68423 (PHP-FPM will no longer load all pools). (Remi)
993 . Fixed bug #68428 (listen.allowed_clients is IPv4 only). (Remi)
994 . Fixed bug #68452 (php-fpm man page is oudated). (Remi)
995 . Fixed request #68458 (Change pm.start_servers default warning to
996 notice). (David Zuelke, Remi)
997 . Fixed bug #68463 (listen.allowed_clients can silently result
998 in no allowed access). (Remi)
999 . Fixed request #68391 (php-fpm conf files loading order).
1000 (Florian Margaine, Remi)
1001 . Fixed bug #68478 (access.log don't use prefix). (Remi)
1002
1003- Mcrypt:
1004 . Fixed possible read after end of buffer and use after free. (Dmitry)
1005
1006- GMP:
1007 . Fixed bug #68419 (build error with gmp 4.1). (Remi)
1008
1009- PDO_pgsql:
914- PDO_pgsql:
1010 . Fixed bug #67462 (PDO_PGSQL::beginTransaction() wrongly throws exception
1011 when not in transaction) (Matteo)
1012 . Fixed bug #68351 (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving)
1013 (Matteo)
915 . Fixed bug #69752 (PDOStatement::execute() leaks memory with DML
916 Statements when closeCuror() is u). (Philip Hofstetter)
917 . Removed PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute in favor of
918 ATTR_EMULATE_PREPARES). (Nikita)
1014
919
1015- Session:
1016 . Fixed bug #68331 (Session custom storage callable functions not being called)
1017 (Yasuo Ohgaki)
920- Phar:
921 . Fixed bug #69720 (Null pointer dereference in phar_get_fp_offset()). (Stas)
922 . FIxed bug #70433 (Uninitialized pointer in phar_make_dirstream when zip
923 entry filename is "/"). (Stas)
924 . Improved fix for bug #69441. (Anatol Belski)
925 . Fixed bug #70019 (Files extracted from archive may be placed outside of
926 destination directory). (Anatol Belski)
1018
927
1019- SOAP:
1020 . Fixed bug #68361 (Segmentation fault on SoapClient::__getTypes).
1021 (Laruence)
1022
1023- zlib:
1024 . Fixed bug #53829 (Compiling PHP with large file support will replace
1025 function gzopen by gzopen64) (Sascha Kettler, Matteo)
1026
102713 Nov 2014, PHP 5.6.3
1028
1029- Core:
1030 . Implemented 64-bit format codes for pack() and unpack(). (Leigh)
1031 . Fixed bug #51800 (proc_open on Windows hangs forever). (Anatol)
1032 . Fixed bug #67633 (A foreach on an array returned from a function not doing
1033 copy-on-write). (Nikita)
1034 . Fixed bug #67739 (Windows 8.1/Server 2012 R2 OS build number reported
1035 as 6.2 (instead of 6.3)). (Christian Wenz)
1036 . Fixed bug #67949 (DOMNodeList elements should be accessible through
1037 array notation) (Florian)
1038 . Fixed bug #68095 (AddressSanitizer reports a heap buffer overflow in
1039 php_getopt()). (Stas)
1040 . Fixed bug #68118 ($a->foo .= 'test'; can leave $a->foo undefined). (Nikita)
1041 . Fixed bug #68129 (parse_url() - incomplete support for empty usernames
1042 and passwords) (Tjerk)
1043 . Fixed bug #68365 (zend_mm_heap corrupted after memory overflow in
1044 zend_hash_copy). (Dmitry)
1045
1046- CURL:
1047 . Add CURL_SSLVERSION_TLSv1_0, CURL_SSLVERSION_TLSv1_1, and
1048 CURL_SSLVERSION_TLSv1_2 constants if supported by libcurl (Rasmus)
1049
1050- Fileinfo:
1051 . Fixed bug #66242 (libmagic: don't assume char is signed). (ArdB)
1052 . Fixed bug #68224 (buffer-overflow in libmagic/readcdf.c caught by
1053 AddressSanitizer). (Remi)
1054 . Fixed bug #68283 (fileinfo: out-of-bounds read in elf note headers).
1055 (CVE-2014-3710) (Remi)
1056
1057- FPM:
1058 . Fixed bug #65641 (PHP-FPM incorrectly defines the SCRIPT_NAME variable
1059 when using Apache, mod_proxy-fcgi and ProxyPass). (Remi)
1060 . Implemented FR #55508 (listen and listen.allowed_clients should take IPv6
1061 addresses). (Robin Gloster)
1062
1063- GD:
1064 . Fixed bug #65171 (imagescale() fails without height param). (Remi)
1065
1066- GMP:
1067 . Implemented gmp_random_range() and gmp_random_bits(). (Leigh)
1068 . Fixed bug #63595 (GMP memory management conflicts with other libraries
1069 using GMP). (Remi)
1070
1071- Mysqli:
1072 . Fixed bug #68114 (linker error on some OS X machines with fixed width
1073 decimal support) (Keyur Govande)
1074
1075- ODBC:
1076 . Fixed bug #68087 (ODBC not correctly reading DATE column when preceded by
1077 a VARCHAR column) (Keyur Govande)
1078
1079- OpenSSL:
1080 . Fixed bug #68074 (Allow to use system cipher list instead of hardcoded
1081 value). (Remi)
1082
1083- PDO_pgsql:
1084 . Fixed bug #68199 (PDO::pgsqlGetNotify doesn't support NOTIFY payloads)
1085 (Matteo, Alain Laporte)
1086 . Fixed bug #66584 (Segmentation fault on statement deallocation) (Matteo)
1087
1088- OpenSSL:
1089 . Revert regression introduced by fix of bug #41631
1090
1091- Reflection:
1092 . Fixed bug #68103 (Duplicate entry in Reflection for class alias). (Remi)
1093
1094- SPL:
1095 . Fixed bug #68128 (Regression in RecursiveRegexIterator) (Tjerk)
1096
109716 Oct 2014, PHP 5.6.2
1098
1099- Core:
1100 . Fixed bug #68044 (Integer overflow in unserialize() (32-bits only)).
1101 (CVE-2014-3669) (Stas)
1102
1103- cURL:
1104 . Fixed bug #68089 (NULL byte injection - cURL lib). (Stas)
1105
1106- EXIF:
1107 . Fixed bug #68113 (Heap corruption in exif_thumbnail()). (CVE-2014-3670)
1108 (Stas)
1109
1110- XMLRPC:
1111 . Fixed bug #68027 (Global buffer overflow in mkgmtime() function).
1112 (CVE-2014-3668) (Stas)
1113
111402 Oct 2014, PHP 5.6.1
1115
1116- Core:
1117 . Implemented FR #38409 (parse_ini_file() looses the type of booleans). (Tjerk)
1118 . Fixed bug #65463 (SIGSEGV during zend_shutdown()). (Keyur Govande)
1119 . Fixed bug #66036 (Crash on SIGTERM in apache process). (Keyur Govande)
1120 . Fixed bug #67878 (program_prefix not honoured in man pages). (Remi)
1121 . Fixed bug #67938 (Segfault when extending interface method with variadic).
1122 (Nikita)
1123 . Fixed bug #67985 (Incorrect last used array index copied to new array after
1124 unset). (Tjerk)
1125 . Fixed bug #68088 (New Posthandler Potential Illegal efree() vulnerability).
1126 (Mike) (CVE-2014-3622)
1127
1128- DOM:
1129 . Made DOMNode::textContent writeable. (Tjerk)
1130
1131- Fileinfo:
1132 . Fixed bug #67731 (finfo::file() returns invalid mime type
1133 for binary files). (Anatol)
1134
1135- GD:
1136 . Made fontFetch's path parser thread-safe. (Sara)
1137
1138- GMP:
1139 . Fixed bug #67917 (Using GMP objects with overloaded operators can cause
1140 memory exhaustion). (Nikita)
1141 . Fixed bug #50175 (gmp_init() results 0 on given base and number starting
1142 with 0x or 0b). (Nikita)
1143 . Implemented gmp_import() and gmp_export(). (Leigh, Nikita)
1144
1145- MySQLi:
1146 . Fixed bug #67839 (mysqli does not handle 4-byte floats correctly). (Keyur)
1147
1148- OpenSSL:
1149 . Fixed bug #67850 (extension won't build if openssl compiled without SSLv3).
1150 (Daniel Lowrey)
1151
1152- phpdbg:
1153 . Fixed issue krakjoe/phpdbg#111 (compile error without ZEND_SIGNALS). (Bob)
1154
1155- SOAP:
1156 . Fixed bug #67955 (SoapClient prepends 0-byte to cookie names). (Philip Hofstetter)
1157
1158- Session:
1159 . Fixed bug #67972 (SessionHandler Invalid memory read create_sid()). (Adam)
1160
1161- Sysvsem:
1162 . Implemented FR #67990 (Add optional nowait argument to sem_acquire).
1163 (Matteo)
1164
116528 Aug 2014, PHP 5.6.0
1166
1167- Apache2 Handler SAPI:
1168 . Fixed Apache log issue caused by APR's lack of support for %zu
1169 (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120).
1170 (Jeff Trawick)
1171
1172- CLI server:
1173 . Added some MIME types to the CLI web server. (Chris Jones)
1174 . Fixed bug #67079 (Missing MIME types for XML/XSL files). (Anatol)
1175 . Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
1176 (Adam)
1177 . Fixed bug #67594 (Unable to access to apache_request_headers() elements).
1178 (Tjerk)
1179 . Implemented FR #67429 (CLI server is missing some new HTTP response codes).
1180 (Adam)
1181 . Fixed Bug #67406 (built-in web-server segfaults on startup). (Remi)
1182
1183- COM:
1184 . Fixed bug #41577 (DOTNET is successful once per server run)
1185 (Aidas Kasparas)
1186 . Fixed missing type checks in com_event_sink (Yussuf Khalil, Stas).
1187 . Fixed bug #66431 (Special Character via COM Interface (CP_UTF8)). (Anatol)
1188
1189- Core:
1190 . Improved phpinfo() stylesheets. (Colin Viebrock)
1191 . Fixed bug #67693 (incorrect push to the empty array). (Tjerk)
1192 . Removed inconsistency regarding behaviour of array in constants at
1193 run-time. (Bob)
1194 . Fixed bug #67497 (eval with parse error causes segmentation fault in
1195 generator). (Nikita)
1196 . Fixed bug #67151 (strtr with empty array crashes). (Nikita)
1197 . Fixed bug #67407 (Windows 8.1/Server 2012 R2 reported as Windows 8/Server
1198 2012). (Christian Wenz)
1199 . Fixed bug #66608 (Incorrect behavior with nested "finally" blocks).
1200 (Laruence, Dmitry)
1201 . Implemented FR #34407 (ucwords and Title Case). (Tjerk)
1202 . Fixed bug #67091 (make install fails to install libphp5.so on FreeBSD 10.0).
1203 (Ferenc)
1204 . Fixed bug #67368 (Memory leak with immediately dereferenced array in class
1205 constant). (Laruence)
1206 . Fixed bug #67468 (Segfault in highlight_file()/highlight_string()).
1207 (Andreas Ferber)
1208 . Fixed bug #67498 (phpinfo() Type Confusion Information Leak Vulnerability).
1209 (Stefan Esser)
1210 . Fixed bug #67551 (php://input temp file will be located in sys_temp_dir
1211 instead of upload_tmp_dir). (Mike)
1212 . Fixed bug #67169 (array_splice all elements, then []= gives wrong index).
1213 (Nikita)
1214 . Fixed bug #67198 (php://input regression). (Mike)
1215 . Fixed bug #67247 (spl_fixedarray_resize integer overflow). (Stas)
1216 . Fixed bug #67250 (iptcparse out-of-bounds read). (Stas)
1217 . Fixed bug #67252 (convert_uudecode out-of-bounds read). (Stas)
1218 . Fixed bug #67249 (printf out-of-bounds read). (Stas)
1219 . Implemented FR #64744 (Differentiate between member function call on a null
1220 and non-null, non-objects). (Boro Sitnikovski)
1221 . Fixed bug #67436 (Autoloader isn't called if two method definitions don't
1222 match). (Bob)
1223 . Fixed bug #66622 (Closures do not correctly capture the late bound class
1224 (static::) in some cases). (Levi Morrison)
1225 . Fixed bug #67390 (insecure temporary file use in the configure script).
1226 (Remi) (CVE-2014-3981)
1227 . Fixed bug #67392 (dtrace breaks argument unpack). (Nikita)
1228 . Fixed bug #67428 (header('Location: foo') will override a 308-399 response
1229 code). (Adam)
1230 . Fixed bug #67433 (SIGSEGV when using count() on an object implementing
1231 Countable). (Matteo)
1232 . Fixed bug #67399 (putenv with empty variable may lead to crash). (Stas)
1233 . Expose get_debug_info class hook as __debugInfo() magic method. (Sara)
1234 . Implemented unified default encoding
1235 (RFC: https://wiki.php.net/rfc/default_encoding). (Yasuo Ohgaki)
1236 . Added T_POW (**) operator
1237 (RFC: https://wiki.php.net/rfc/pow-operator). (Tjerk Meesters)
1238 . Improved IS_VAR operands fetching. (Laruence, Dmitry)
1239 . Improved empty string handling. Now ZE uses an interned string instead of
1240 allocation new empty string each time. (Laruence, Dmitry)
1241 . Implemented internal operator overloading
1242 (RFC: https://wiki.php.net/rfc/operator_overloading_gmp). (Nikita)
1243 . Made calls from incompatible context issue an E_DEPRECATED warning instead
1244 of E_STRICT (phase 1 of RFC: https://wiki.php.net/rfc/incompat_ctx).
1245 (Gustavo)
1246 . Uploads equal or greater than 2GB in size are now accepted.
1247 (Ralf Lang, Mike)
1248 . Reduced POST data memory usage by 200-300%. Changed INI setting
1249 always_populate_raw_post_data to throw a deprecation warning when enabling
1250 and to accept -1 for never populating the $HTTP_RAW_POST_DATA global
1251 variable, which will be the default in future PHP versions. (Mike)
1252 . Implemented dedicated syntax for variadic functions
1253 (RFC: https://wiki.php.net/rfc/variadics). (Nikita)
1254 . Fixed bug #50333 Improving multi-threaded scalability by using
1255 emalloc/efree/estrdup (Anatol, Dmitry)
1256 . Implemented constant scalar expressions (with support for constants)
1257 (RFC: https://wiki.php.net/rfc/const_scalar_exprs). (Bob)
1258 . Fixed bug #65784 (Segfault with finally). (Laruence, Dmitry)
1259 . Fixed bug #66509 (copy() arginfo has changed starting from 5.4). (willfitch)
1260 . Allow zero length comparison in substr_compare() (Tjerk)
1261 . Fixed bug #60602 (proc_open() changes environment array) (Tjerk)
1262 . Fixed bug #61019 (Out of memory on command stream_get_contents). (Mike)
1263 . Fixed bug #64330 (stream_socket_server() creates wrong Abstract Namespace
1264 UNIX sockets). (Mike)
1265 . Fixed bug #66182 (exit in stream filter produces segfault). (Mike)
1266 . Fixed bug #66736 (fpassthru broken). (Mike)
1267 . Fixed bug #66822 (Cannot use T_POW in const expression) (Tjerk)
1268 . Fixed bug #67043 (substr_compare broke by previous change) (Tjerk)
1269 . Fixed bug #65701 (copy() doesn't work when destination filename is created
1270 by tempnam()). (Boro Sitnikovski)
1271 . Fixed bug #66015 (Unexpected array indexing in class's static property). (Bob)
1272 . Added (constant) string/array dereferencing to static scalar expressions
1273 to complete the set; now possible thanks to bug #66015 being fixed. (Bob)
1274 . Fixed bug #66568 (Update reflection information for unserialize() function).
1275 (Ferenc)
1276 . Fixed bug #66660 (Composer.phar install/update fails). (Ferenc)
1277 . Fixed bug #67024 (getimagesize should recognize BMP files with negative
1278 height). (Gabor Buella)
1279 . Fixed bug #67064 (Countable interface prevents using 2nd parameter
1280 ($mode) of count() function). (Bob)
1281 . Fixed bug #67072 (Echoing unserialized "SplFileObject" crash). (Anatol)
1282 . Fixed bug #67033 (Remove reference to Windows 95). (Anatol)
1283
1284- Curl:
1285 . Implemented FR #65646 (re-enable CURLOPT_FOLLOWLOCATION with open_basedir
1286 or safe_mode). (Adam)
1287 . Check for openssl.cafile ini directive when loading CA certs. (Daniel Lowrey)
1288 . Remove cURL close policy related constants as these have no effect and are
1289 no longer used in libcurl. (Chris Wright)
1290 . Fixed bug #66109 (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour)
1291 (Tjerk)
1292 . Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive.
1293 (Adam)
1294 . Fixed bug #64247 (CURLOPT_INFILE doesn't allow reset). (Mike)
1295 . Fixed bug #66562 (curl_exec returns differently than curl_multi_getcontent).
1296 (Freek Lijten)
1297
1298- Date:
1299 . Fixed bug #66060 (Heap buffer over-read in DateInterval). (CVE-2013-6712)
1300 (Remi)
1301 . Fixed bug #66091 (memory leaks in DateTime constructor) (Tjerk).
1302 . Fixed bug #67308 (Serialize of DateTime truncates fractions of second).
1303 (Adam)
1304 . Fixed regression in fix for bug #67118 (constructor can't be called twice).
1305 (Remi)
1306 . Fixed bug #67251 (date_parse_from_format out-of-bounds read). (Stas)
1307 . Fixed bug #67253 (timelib_meridian_with_check out-of-bounds read). (Stas)
1308 . Added DateTimeImmutable::createFromMutable to create a DateTimeImmutable
1309 object from an existing DateTime (mutable) object (Derick)
1310 . Fixed bug #66721 (__wakeup of DateTime segfaults when invalid object data is
1311 supplied). (Boro Sitnikovski)
1312 . Fixed bug #67118 (DateTime constructor crash with invalid data). (Anatol)
1313
1314- DOM:
1315 . Fixed bug #67081 (DOMDocumentType->internalSubset returns entire DOCTYPE tag,
1316 not only the subset). (Anatol)
1317
1318- Embed:
1319 . Fixed bug #65715 (php5embed.lib isn't provided anymore). (Anatol).
1320
1321- Fileinfo:
1322 . Fixed bug #67716 (Segfault in cdf.c). (CVE-2014-3587) (Remi)
1323 . Fixed bug #67705 (extensive backtracking in rule regular expression).
1324 (CVE-2014-3538) (Remi)
1325 . Fixed bug #67327 (fileinfo: CDF infinite loop in nelements DoS).
1326 (CVE-2014-0238)
1327 . Fixed bug #67328 (fileinfo: fileinfo: numerous file_printf calls resulting in
1328 performance degradation). (CVE-2014-0237)
1329 . Fixed bug #67326 (fileinfo: cdf_read_short_sector insufficient boundary check).
1330 (CVE-2014-0207)
1331 . Fixed bug #67329 (fileinfo: NULL pointer deference flaw by processing certain
1332 CDF files). (CVE-2014-0236)
1333 . Fixed bug #67410 (fileinfo: mconvert incorrect handling of truncated pascal
1334 string size). (CVE-2014-3478) (Francisco Alonso, Jan Kaluza, Remi)
1335 . Fixed bug #67411 (fileinfo: cdf_check_stream_offset insufficient boundary
1336 check). (CVE-2014-3479) (Francisco Alonso, Jan Kaluza, Remi)
1337 . Fixed bug #67412 (fileinfo: cdf_count_chain insufficient boundary check).
1338 (CVE-2014-3480) (Francisco Alonso, Jan Kaluza, Remi)
1339 . Fixed bug #67413 (fileinfo: cdf_read_property_info insufficient boundary
1340 check). (CVE-2014-3487) (Francisco Alonso, Jan Kaluza, Remi)
1341 . Upgraded to libmagic-5.17 (Anatol)
1342 . Fixed bug #66731 (file: infinite recursion). (CVE-2014-1943) (Remi)
1343 . Fixed bug #66820 (out-of-bounds memory access in fileinfo).
1344 (CVE-2014-2270). (Remi)
1345 . Fixed bug #66946 (fileinfo: extensive backtracking in awk rule regular
1346 expression). (CVE-2013-7345) (Remi)
1347 . Fixed bug #66987 (Memory corruption in fileinfo ext / bigendian).
1348 (Remi)
1349 . Fixed bug #66907 (Solaris 10 is missing strcasestr and needs substitute).
928- Phpdbg:
929 . Fixed bug #70614 (incorrect exit code in -rr mode with Exceptions). (Bob)
930 . Fixed bug #70532 (phpdbg must respect set_exception_handler). (Bob)
931 . Fixed bug #70531 (Run and quit mode (-qrr) should not fallback to
932 interactive mode). (Bob)
933 . Fixed bug #70533 (Help overview (-h) does not rpint anything under Windows).
1350 (Anatol)
934 (Anatol)
1351 . Fixed bug #66307 (Fileinfo crashes with powerpoint files). (Anatol)
935 . Fixed bug #70449 (PHP won't compile on 10.4 and 10.5 because of missing
936 constants). (Bob)
937 . Fixed bug #70214 (FASYNC not defined, needs sys/file.h include). (Bob)
938 . Fixed bug #70138 (Segfault when displaying memory leaks). (Bob)
1352
939
1353- FPM:
1354 . Fixed bug #67606 (revised fix 67541, broke mod_fastcgi BC). (David Zuelke)
1355 . Fixed bug #67530 (error_log=syslog ignored). (Remi)
1356 . Fixed bug #67635 (php links to systemd libraries without using pkg-config).
1357 (pacho at gentoo dot org, Remi)
1358 . Fixed bug #67531 (syslog cannot be set in pool configuration). (Remi)
1359 . Fixed bug #67541 (Fix Apache 2.4.10+ SetHandler proxy:fcgi://
1360 incompatibilities). (David Zuelke)
1361 . Included apparmor support in fpm
1362 (RFC: https://wiki.php.net/rfc/fpm_change_hat). (Gernot Vormayr)
1363 . Added clear_env configuration directive to disable clearenv() call.
1364 (Github PR# 598, Paul Annesley)
1365 . Fixed bug #66482 (unknown entry 'priority' in php-fpm.conf).
1366 . Fixed bug #66908 (php-fpm reload leaks epoll_create() file descriptor).
1367 (Julio Pintos)
1368 . Fixed bug #67060 (sapi/fpm: possible privilege escalation due to insecure
1369 default configuration) (CVE-2014-0185). (Stas)
1370
1371- GD
1372 . Fixed bug #67730 (Null byte injection possible with imagexxx functions).
1373 (CVE-2014-5120) (Ryan Mauger)
1374 . Fixed bug #66901 (php-gd 'c_color' NULL pointer dereference).
1375 (CVE-2014-2497) (Remi)
1376 . Fixed bug #67248 (imageaffinematrixget missing check of parameters). (Stas)
1377 . Fixed imagettftext to load the correct character map rather than the last one.
1378 (Scott)
1379 . Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop()).
1380 (CVE-2013-7226)
1381 . Fixed bug #66815 (imagecrop(): insufficient fix for NULL defer).
1382 (CVE-2013-7327). (Tomas Hoger, Remi).
1383 . Fixed bug #66869 (Invalid 2nd argument crashes imageaffinematrixget) (Pierre)
1384 . Fixed bug #66887 (imagescale - poor quality of scaled image). (Remi)
1385 . Fixed bug #66890 (imagescale segfault). (Remi)
1386 . Fixed bug #66893 (imagescale ignore method argument). (Remi)
1387
1388- GMP:
1389 . Fixed bug #66872 (invalid argument crashes gmp_testbit) (Pierre)
1390 . Fixed crashes in serialize/unserialize. (Stas)
1391 . Moved GMP to use object as the underlying structure and implemented various
1392 improvements based on this.
1393 (RFC: https://wiki.php.net/rfc/operator_overloading_gmp). (Nikita)
1394 . Added gmp_root() and gmp_rootrem() functions for calculating nth roots.
1395 (Nikita)
1396
1397- Hash:
1398 . Added gost-crypto (CryptoPro S-box) GOST hash algo. (Manuel Mausz)
1399 . Fixed bug #66698 (Missing FNV1a32 and FNV1a64 hash functions).
1400 (Michael M Slusarz).
1401 . Implemented timing attack safe string comparison function
1402 (RFC: https://wiki.php.net/rfc/timing_attack). (Rouven We��ling)
1403 . hash_pbkdf2() now works correctly if the $length argument is not specified.
1404 (Nikita)
1405
1406- Intl:
1407 . Fixed bug #66873 (A reproductible crash in UConverter when given invalid
1408 encoding) (Stas)
1409 . Fixed bug #66921 (Wrong argument type hint for function
1410 intltz_from_date_time_zone). (Stas)
1411 . Fixed bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting).
1412 (Stas)
1413 . Fixed bug #67349 (Locale::parseLocale Double Free). (Stas)
1414 . Fixed bug #67397 (Buffer overflow in locale_get_display_name and
1415 uloc_getDisplayName (libicu 4.8.1)). (Stas)
1416
1417- JSON:
1418 . Fixed case part of bug #64874 ("json_decode handles whitespace and
1419 case-sensitivity incorrectly")
1420 . Fixed bug #65753 (JsonSerializeable couldn't implement on module extension)
1421 (chobieeee@php.net)
1422 . Fixed bug #66021 (Blank line inside empty array/object when
1423 JSON_PRETTY_PRINT is set). (Kevin Israel)
1424
1425- ldap
1426 . Added new function ldap_modify_batch(). (Ondrej Hosek)
1427 . Fixed issue with null bytes in LDAP bindings. (Matthew Daley)
1428
1429- litespeed
1430 . Updated LiteSpeed SAPI code to V6.6 (George Wang)
1431 . Fixed bug #63228 (-Werror=format-security error in lsapi code).
1432 (Elan Ruusam��e, George)
1433
1434- Mail:
1435 . Fixed bug #66535 (Don't add newline after X-PHP-Originating-Script) (Tjerk)
1436
1437- Mcrypt:
1438 . No longer allow invalid key sizes, invalid IV sizes or missing required IV
1439 in mcrypt_encrypt, mcrypt_decrypt and the deprecated mode functions.
1440 (Nikita)
1441 . Use /dev/urandom as the default source for mcrypt_create_iv(). (Nikita)
1442
1443- Mbstring:
1444 . Upgraded to oniguruma 5.9.5 (Anatol)
1445 . Fixed bug #67199 (mb_regex_encoding mismatch). (Yasuo)
1446
1447- Milter:
1448 . Fixed bug #67715 (php-milter does not build and crashes randomly). (Mike)
1449
1450- mysqli
1451 . Added new function mysqli_get_links_stats() as well as new INI variable
1452 mysqli.rollback_on_cached_plink of type bool (Andrey)
1453 . Fixed bug #66762 (Segfault in mysqli_stmt::bind_result() when link closed)
1454 (Remi)
1455 . Fixed building against an external libmysqlclient. (Adam)
1456
1457- mysqlnd:
1458 . Disabled flag for SP OUT variables for 5.5+ servers as they are not natively
1459 supported by the overlying APIs. (Andrey)
1460 . Added a new fetching mode to mysqlnd. (Andrey)
1461 . Added support for gb18030 from MySQL 5.7. (Andrey)
1462
1463- Network:
1464 . Fixed bug #67717 (segfault in dns_get_record). (CVE-2014-3597) (Remi)
1465 . Fixed bug #67432 (Fix potential segfault in dns_get_record()).
1466 (CVE-2014-4049). (Sara)
1467
1468- OCI8
1469 . Fixed Bug #66875 (Improve performance of multi-row OCI_RETURN_LOB queries)
1470 (Perrier, Chris Jones)
1471
1472- ODBC:
1473 . Fixed bug #60616 (odbc_fetch_into returns junk at end of multi-byte char
1474 fields). (Keyur Govande)
1475
1476- OpenSSL:
1477 . Fixed bug #41631 (socket timeouts not honored in blocking SSL reads)
1478 (Daniel Lowrey).
1479 . Fixed missing type checks in OpenSSL options (Yussuf Khalil, Stas).
1480 . Fixed bug #67609 (TLS connections fail behind HTTP proxy). (Daniel Lowrey)
1481 . Fixed broken build against OpenSSL older than 0.9.8 where ECDH unavailable.
1482 (Lior Kaplan)
1483 . Fixed bug #67666 (Subject altNames doesn't support wildcard matching). (Tjerk)
1484 . Fixed bug #67224 (Fall back to crypto_type from context if not specified
1485 explicitly in stream_socket_enable_crypto). (Chris Wright)
1486 . Fixed bug #65698 (certificates validity parsing does not work past 2050).
1487 (Paul Oehler)
1488 . Fixed bug #66636 (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).
1489 (Paul Oehler)
1490 . Peer certificates now verified by default in client socket operations
1491 (RFC: https://wiki.php.net/rfc/tls-peer-verification). (Daniel Lowrey)
1492 . New openssl.cafile and openssl.capath ini directives. (Daniel Lowrey)
1493 . Added crypto_method option for the ssl stream context. (Martin Jansen)
1494 . Added certificate fingerprint support. (Tjerk Meesters)
1495 . Added explicit TLSv1.1 and TLSv1.2 stream transports. (Daniel Lowrey)
1496 . Fixed bug #65729 (CN_match gives false positive). (Tjerk Meesters)
1497 . Peer name verification matches SAN DNS names for certs using
1498 the Subject Alternative Name x509 extension. (Daniel Lowrey)
1499 . Fixed segfault when built against OpenSSL>=1.0.1 (Daniel Lowrey)
1500 . Added SPKAC support. (Jason Gerfen)
1501 . Fallback to Windows CA cert store for peer verification if no openssl.cafile
1502 ini directive or "cafile" SSL context option specified in Windows.
1503 (Chris Wright)
1504 . The openssl.cafile and openssl.capath ini directives introduced in alpha2
1505 now have PHP_INI_PERDIR accessibility (was PHP_INI_ALL). (Daniel Lowrey)
1506 . New "peer_name" SSL context option replaces "CN_match" (which still works
1507 as before but triggers E_DEPRECATED). (Daniel Lowrey)
1508 . Fixed segfault when accessing non-existent context for client SNI use
1509 (Daniel Lowrey)
1510 . Fixed bug #66501 (Add EC key support to php_openssl_is_private_key).
1511 (Mark Zedwood)
1512 . Fixed Bug #47030 (add new boolean "verify_peer_name" SSL context option
1513 allowing clients to verify cert names separately from the cert itself).
1514 "verify_peer_name" is enabled by default for client streams.
1515 (Daniel Lowrey)
1516 . Fixed Bug #65538 ("cafile" SSL context option now supports stream
1517 wrappers). (Daniel Lowrey)
1518 . New openssl_get_cert_locations() function to aid CA file and peer
1519 verification debugging. (Daniel Lowrey)
1520 . Encrypted stream wrappers now disable TLS compression by default.
1521 (Daniel Lowrey)
1522 . New "capture_session_meta" SSL context option allows encrypted client and
1523 server streams access to negotiated protocol/cipher information.
1524 (Daniel Lowrey)
1525 . New "honor_cipher_order" SSL context option allows servers to prioritize
1526 cipher suites of their choosing when negotiating SSL/TLS handshakes.
1527 (Daniel Lowrey)
1528 . New "single_ecdh_use" and "single_dh_use" SSL context options allow for
1529 improved forward secrecy in encrypted stream servers. (Daniel Lowrey)
1530 . New "dh_param" SSL context option allows stream servers control over
1531 the parameters when negotiating DHE cipher suites. (Daniel Lowrey)
1532 . New "ecdh_curve" SSL context option allowing stream servers to specify
1533 the curve to use when negotiating ephemeral ECDHE ciphers (defaults to
1534 NIST P-256). (Daniel Lowrey)
1535 . New "rsa_key_size" SSL context option gives stream servers control
1536 over the key size (in bits) used for RSA key agreements. (Daniel Lowrey)
1537 . Crypto methods for encrypted client and server streams now use
1538 bitwise flags for fine-grained protocol support. (Daniel Lowrey)
1539 . Added new tlsv1.0 stream wrapper to specify TLSv1 client/server method.
1540 tls wrapper now negotiates TLSv1, TLSv1.1 or TLSv1.2. (Daniel Lowrey)
1541 . Encrypted client streams now enable SNI by default. (Daniel Lowrey)
1542 . Encrypted streams now prioritize ephemeral key agreement and high strength
1543 ciphers by default. (Daniel Lowrey)
1544 . New OPENSSL_DEFAULT_STREAM_CIPHERS constant exposes default cipher
1545 list. (Daniel Lowrey)
1546 . New STREAM_CRYPTO_METHOD_* constants for enhanced control over the crypto
1547 methods negotiated encrypted server/client sessions. (Daniel Lowrey)
1548 . Encrypted stream servers now automatically mitigate potential DoS vector
1549 arising from client-initiated TLS renegotiation. New "reneg_limit",
1550 "reneg_window" and "reneg_limit_callback" SSL context options for custom
1551 renegotiation limiting control. (Daniel Lowrey)
1552 . Fixed memory leak in windows cert verification on verify failure.
1553 (Chris Wright)
1554 . Peer certificate capturing via SSL context options now functions even if
1555 peer verification fails. (Daniel Lowrey)
1556 . Encrypted TLS servers now support the server name indication TLS extension
1557 via the new "SNI_server_certs" SSL context option. (Daniel Lowrey)
1558 . Fixed bug #66833 (Default disgest algo is still MD5, switch to SHA1). (Remi)
1559 . Fixed bug #66942 (memory leak in openssl_seal()). (Chuan Ma)
1560 . Fixed bug #66952 (memory leak in openssl_open()). (Chuan Ma)
1561 . Fixed bug #66840 (Fix broken build when extension built separately).
1562 (Daniel Lowrey)
1563
1564- OPcache:
1565 . Added an optimization of class constants and constant calls to some
1566 internal functions (Laruence, Dmitry)
1567 . Added an optimization pass to convert FCALL_BY_NAME into DO_FCALL.
1568 (Laruence, Dmitry)
1569 . Added an optimization pass to merged identical constants (and related
1570 cache_slots) in op_array->literals table. (Laruence, Dmitry)
1571 . Added script level constant replacement optimization pass. (Dmitry)
1572 . Added function opcache_is_script_cached(). (Danack)
1573 . Added information about interned strings usage. (Terry, Julien, Dmitry)
1574 . Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault
1575 happen) (Dmitry, Laruence)
1576
1577- PCRE:
1578 . Fixed bug #67238 (Ungreedy and min/max quantifier bug, applied patch
1579 from the upstream). (Anatol)
1580 . Upgraded to PCRE 8.34. (Anatol)
1581 . Added support for (*MARK) backtracking verbs. (Nikita)
1582
1583- pgsql:
1584 . Fixed bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756),
1585 which affected builds against libpq < 7.3. (Adam)
1586 . pg_insert()/pg_select()/pg_update()/pg_delete() are no longer EXPERIMENTAL.
1587 (Yasuo)
1588 . Impremented FR #25854 Return value for pg_insert should be resource instead of bool.
1589 (Yasuo)
1590 . Implemented FR #41146 - Add "description" with exteneded flag pg_meta_data().
1591 pg_meta_data(resource $conn, string $table [, bool extended])
1592 It also made pg_meta_data() return "is enum" always.
1593 (Yasuo)
1594 . Read-only access to the socket stream underlying database connections is
1595 exposed via a new pg_socket() function to allow read/write polling when
1596 establishing asynchronous connections and executing queries in non-blocking
1597 applications. (Daniel Lowrey)
1598 . Asynchronous connections are now possible using the PGSQL_CONNECT_ASYNC
1599 flag in conjunction with a new pg_connect_poll() function and connection
1600 polling status constants. (Daniel Lowrey)
1601 . New pg_flush() and pg_consume_input() functions added to manually complete
1602 non-blocking reads/writes to underlying connection sockets. (Daniel Lowrey)
1603 . pg_version() returns full report which obtained by PQparameterStatus().
1604 (Yasuo)
1605 . Added pg_lo_truncate(). (Yasuo)
1606 . Added 64bit large object support for PostgreSQL 9.3 and later. (Yasuo)
1607 . Fixed bug #67555 (Cannot build against libpq 7.3). (Adam)
1608
1609- phpdbg
1610 . Fixed bug #67575 (Compilation fails for phpdbg when the
1611 build directory != src directory). (Andy Thompson)
1612 . Fixed Bug #67499 (readline feature not enabled when build with libedit). (Remi)
1613 . Fix issue krakjoe/phpdbg#94 (List behavior is inconsistent). (Bob)
1614 . Fix issue krakjoe/phpdbg#97 (The prompt should always ensure it is on a
1615 newline). (Bob)
1616 . Fix issue krakjoe/phpdbg#98 (break if does not seem to work). (Bob)
1617 . Fix issue krakjoe/phpdbg#99 (register function has the same behavior as
1618 run). (Bob)
1619 . Fix issue krakjoe/phpdbg#100 (No way to list the current stack/frames)
1620 (Help entry was missing). (Bob)
1621 . Fixed bug which caused phpdbg to fail immediately on startup in non-debug
1622 builds. (Bob)
1623 . Fixed bug #67212 (phpdbg uses non-standard TIOCGWINSZ). (Ferenc)
1624 . Included phpdbg sapi (RFC: https://wiki.php.net/rfc/phpdbg).
1625 (Felipe Pena, Joe Watkins and Bob Weinand)
1626 . Added watchpoints (watch command). (Bob)
1627 . Renamed some commands (next => continue and how to step). (Joe)
1628 . Fixed issue #85 (https://github.com/krakjoe/phpdbg/issues/85)
1629 (Added stdin/stdout/stderr constants and their php:// wrappers). (Bob)
1630
1631- PDO:
1632 . Fixed bug #66604 ('pdo/php_pdo_error.h' not copied to the include dir).
1633 (Matteo)
1634
1635- PDO-ODBC:
1636 . Fixed bug #50444 (PDO-ODBC changes for 64-bit).
1637
1638- PDO_pgsql:
1639 . Fixed Bug #42614 (PDO_pgsql: add pg_get_notify support). (Matteo)
1640 . Fixed Bug #63657 (pgsqlCopyFromFile, pgsqlCopyToArray use Postgres < 7.3
1641 syntax). (Matteo)
1642 . Cleaned up code by increasing the requirements to libpq versions providing
1643 PQexecParams, PQprepare, PQescapeStringConn, PQescapeByteaConn. According
1644 to the release notes that means 8.0.8+ or 8.1.4+. (Matteo)
1645 . Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT, an
1646 undocument constant effectively equivalent to PDO::ATTR_EMULATE_PREPARES.
1647 (Matteo)
1648 . Added PDO::PGSQL_ATTR_DISABLE_PREPARES constant to execute the queries
1649 without preparing them, while still passing parameters separately from
1650 the command text using PQexecParams. (Matteo)
1651
1652- PDO_firebird:
1653 . Fixed Bug #66071 (memory corruption in error handling) (Popa)
1654
1655- Phar:
1656 . Fixed bug #64498 ($phar->buildFromDirectory can't compress file with an accent
1657 in its name). (PR #588)
1658 . Fixed bug #67587 (Redirection loop on nginx with FPM). (Christian Weiske)
1659
1660- readline:
1661 . Fixed bug #55496 (Interactive mode doesn't force a newline before the
1662 prompt). (Bob, Johannes)
1663 . Fixed bug #67496 (Save command history when exiting interactive shell
1664 with control-c). (Dmitry Saprykin, Johannes)
1665
1666- Reflection:
940- Reflection:
1667 . Implemented FR #67713 (loosen the restrictions on
1668 ReflectionClass::newInstanceWithoutConstructor()). (Ferenc)
941 . Fixed bug #70650 (Wrong docblock assignment). (Marcio)
942 . Fixed bug #70674 (ReflectionFunction::getClosure() leaks memory when used
943 for internal functions). (Dmitry, Bob)
944 . Fixed bug causing bogus traces for ReflectionGenerator::getTrace(). (Bob)
945 . Fixed inheritance chain of Reflector interface. (Tjerk)
946 . Added ReflectionGenerator class. (Bob)
947 . Added reflection support for return types and type declarations. (Sara,
948 Matteo)
1669
1670- Session:
949
950- Session:
1671 . Fixed bug #67694 (Regression in session_regenerate_id()). (Tjerk)
1672 . Fixed missing type checks in php_session_create_id (Yussuf Khalil, Stas).
1673 . Fixed bug #66827 (Session raises E_NOTICE when session name variable is array).
951 . Fixed bug #70876 (Segmentation fault when regenerating session id with
952 strict mode). (Laruence)
953 . Fixed bug #70529 (Session read causes "String is not zero-terminated" error).
1674 (Yasuo)
954 (Yasuo)
1675 . Fixed Bug #65315 (session.hash_function silently fallback to default md5)
1676 (Yasuo)
1677 . Implemented Request #17860 (Session write short circuit). (Yasuo)
1678 . Implemented Request #20421 (session_abort() and session_reset() function).
1679 (Yasuo)
1680 . Remove session_gc() and session_serializer_name() wich were introduced in the first 5.6.0 alpha.
955 . Fixed bug #70013 (Reference to $_SESSION is lost after a call to
956 session_regenerate_id()). (Yasuo)
957 . Fixed bug #69952 (Data integrity issues accessing superglobals by
958 reference). (Bob)
959 . Fixed bug #67694 (Regression in session_regenerate_id()). (Tjerk)
960 . Fixed bug #68941 (mod_files.sh is a bash-script). (bugzilla at ii.nl, Yasuo)
1681
961
1682- SimpleXML:
1683 . Fixed bug #66084 (simplexml_load_string() mangles empty node name)
1684 (Anatol)
1685
1686- SQLite:
1687 . Updated the bundled libsqlite to the version 3.8.3.1 (Anatol)
1688 . Fixed bug #66967 (Updated bundled libsqlite to 3.8.4.3). (Anatol)
1689
1690- SOAP:
962- SOAP:
1691 . Implemented FR #49898 (Add SoapClient::__getCookies()). (Boro Sitnikovski)
1692
1693- SPL:
1694 . Revert fix for bug #67064 (BC issues). (Bob)
1695 . Fixed bug #67539 (ArrayIterator use-after-free due to object change during
1696 sorting). (CVE-2014-4698) (research at insighti dot org, Laruence)
1697 . Fixed bug #67538 (SPL Iterators use-after-free). (CVE-2014-4670) (Laruence)
1698 . Fixed bug #67492 (unserialize() SPL ArrayObject / SPLObjectStorage Type
1699 Confusion) (CVE-2014-3515). (Stefan Esser)
1700 . Fixed bug #67359 (Segfault in recursiveDirectoryIterator). (Laruence)
1701 . Fixed bug #66127 (Segmentation fault with ArrayObject unset). (Stas)
1702 . Fixed request #67453 (Allow to unserialize empty data). (Remi)
1703 . Added feature #65545 (SplFileObject::fread()) (Tjerk)
1704 . Fixed bug #66834 (empty() does not work on classes that extend ArrayObject) (Tjerk)
1705 . Fixed bug #66702 (RegexIterator::INVERT_MATCH does not invert). (Joshua
1706 Thijssen)
1707
1708- Standard:
1709 . Implemented FR #65634 (HTTP wrapper is very slow with protocol_version
1710 1.1). (Adam)
1711 . Implemented Change crypt() behavior w/o salt RFC. (Yasuo)
1712 https://wiki.php.net/rfc/crypt_function_salt
1713 . Implemented request #49824 (Change array_fill() to allow creating empty
1714 array). (Nikita)
1715
1716- Streams:
1717 . Fixed bug #67430 (http:// wrapper doesn't follow 308 redirects). (Adam)
1718
1719- Tokenizer:
1720 . Fixed bug #67395 (token_name() does not return name for T_POW and T_POW_EQUAL
1721 token). (Ferenc)
1722
1723- XMLReader:
1724 . Fixed bug #55285 (XMLReader::getAttribute/No/Ns methods inconsistency).
1725 (Mike)
1726
1727- XSL:
1728 . Fixed bug #53965 (<xsl:include> cannot find files with relative paths
1729 when loaded with "file://"). (Anatol)
1730
1731- Zip:
1732 . update libzip to version 1.11.2.
1733 PHP don't use any ilibzip private symbol anymore. (Pierre, Remi)
1734 . new method ZipArchive::setPassword($password). (Pierre)
1735 . add --with-libzip option to build with system libzip. (Remi)
1736 . new methods:
1737 ZipArchive::setExternalAttributesName($name, $opsys, $attr [, $flags])
1738 ZipArchive::setExternalAttributesIndex($idx, $opsys, $attr [, $flags])
1739 ZipArchive::getExternalAttributesName($name, &$opsys, &$attr [, $flags])
1740 ZipArchive::getExternalAttributesIndex($idx, &$opsys, &$attr [, $flags])
1741
1742- Zlib:
1743 . Fixed bug #67865 (internal corruption phar error). Mike
1744 . Fixed bug #67724 (chained zlib filters silently fail with large amounts of
1745 data). (Mike)
1746
174721 Aug 2014, PHP 5.5.16
1748
1749- COM:
1750 . Fixed missing type checks in com_event_sink (Yussuf Khalil, Stas).
1751
1752- Fileinfo:
1753 . Fixed bug #67705 (extensive backtracking in rule regular expression).
1754 (CVE-2014-3538) (Remi)
1755 . Fixed bug #67716 (Segfault in cdf.c). (CVE-2014-3587) (Remi)
1756
1757- FPM:
1758 . Fixed bug #67635 (php links to systemd libraries without using pkg-config).
1759 (pacho at gentoo dot org, Remi)
1760
1761- GD:
1762 . Fixed bug #66901 (php-gd 'c_color' NULL pointer dereference).
1763 (CVE-2014-2497) (Remi)
1764 . Fixed bug #67730 (Null byte injection possible with imagexxx functions).
1765 (CVE-2014-5120) (Ryan Mauger)
1766
1767- Milter:
1768 . Fixed bug #67715 (php-milter does not build and crashes randomly). (Mike)
1769
1770- Network:
1771 . Fixed bug #67717 (segfault in dns_get_record). (CVE-2014-3597) (Remi)
1772
1773- OpenSSL:
1774 . Fixed missing type checks in OpenSSL options. (Yussuf Khalil, Stas)
1775
1776- readline:
1777 . Fixed bug #55496 (Interactive mode doesn't force a newline before the
1778 prompt). (Bob, Johannes)
1779 . Fixed bug #67496 (Save command history when exiting interactive shell
1780 with control-c). (Dmitry Saprykin, Johannes)
1781
1782- Sessions:
1783 . Fixed missing type checks in php_session_create_id (Yussuf Khalil, Stas).
1784
1785- Core:
1786 . Fixed bug #67693 (incorrect push to the empty array) (Tjerk)
1787
1788- ODBC:
1789 . Fixed bug #60616 (odbc_fetch_into returns junk data at end of multi-byte
1790 char fields). (Keyur)
1791
179224 Jul 2014, PHP 5.5.15
1793
1794- Core:
1795 . Fixed bug #67428 (header('Location: foo') will override a 308-399 response
1796 code). (Adam)
1797 . Fixed bug #67436 (Autoloader isn't called if two method definitions don't
1798 match). (Bob)
1799 . Fixed bug #67091 (make install fails to install libphp5.so on FreeBSD 10.0).
1800 (Ferenc)
1801 . Fixed bug #67497 (eval with parse error causes segmentation fault in
1802 generator). (Nikita)
1803 . Fixed bug #67151 (strtr with empty array crashes). (Nikita)
1804 . Fixed bug #67407 (Windows 8.1/Server 2012 R2 reported as Windows 8/Server
1805 2012). (Christian Wenz)
1806 . Fixed bug #66608 (Incorrect behavior with nested "finally" blocks).
1807 (Laruence, Dmitry)
1808 . Implemented FR #34407 (ucwords and Title Case). (Tjerk)
1809
1810- CLI server:
1811 . Implemented FR #67429 (CLI server is missing some new HTTP response codes).
1812 (Adam)
1813 . Fixed bug #66830 (Empty header causes PHP built-in web server to hang).
1814 (Adam)
1815 . Fixed bug #67594 (Unable to access to apache_request_headers() elements).
1816 (Tjerk)
1817
1818- FPM:
1819 . Fixed bug #67530 (error_log=syslog ignored). (Remi)
1820 . Fixed bug #67531 (syslog cannot be set in pool configuration). (Remi)
1821
1822- Intl:
1823 . Fixed bug #66921 (Wrong argument type hint for function
1824 intltz_from_date_time_zone). (Stas)
1825 . Fixed bug #67052 (NumberFormatter::parse() resets LC_NUMERIC setting).
963 . Fixed bug #70940 (Segfault in soap / type_to_string). (Remi)
964 . Fixed bug #70900 (SoapClient systematic out of memory error). (Dmitry)
965 . Fixed bug #70875 (Segmentation fault if wsdl has no targetNamespace
966 attribute). (Matteo)
967 . Fixed bug #70715 (Segmentation fault inside soap client). (Laruence)
968 . Fixed bug #70709 (SOAP Client generates Segfault). (Laruence)
969 . Fixed bug #70388 (SOAP serialize_function_call() type confusion / RCE).
1826 (Stas)
970 (Stas)
971 . Fixed bug #70081 (SoapClient info leak / null pointer dereference via
972 multiple type confusions). (Stas)
973 . Fixed bug #70079 (Segmentation fault after more than 100 SoapClient
974 calls). (Laruence)
975 . Fixed bug #70032 (make_http_soap_request calls
976 zend_hash_get_current_key_ex(,,,NULL). (Laruence)
977 . Fixed bug #68361 (Segmentation fault on SoapClient::__getTypes). (Laruence)
1827
978
1828- OPCache:
1829 . Fixed bug #67215 (php-cgi work with opcache, may be segmentation fault
1830 happen) (Dmitry, Laruence)
1831
1832- pgsql:
1833 . Fixed bug #67550 (Error in code "form" instead of "from", pgsql.c, line 756),
1834 which affected builds against libpq < 7.3. (Adam)
1835
1836- Phar:
1837 . Fixed bug #67587 (Redirection loop on nginx with FPM). (Christian Weiske)
1838
1839- SPL:
979- SPL:
1840 . Fixed bug #67539 (ArrayIterator use-after-free due to object change during
1841 sorting). (CVE-2014-4698) (research at insighti dot org, Laruence)
1842 . Fixed bug #67538 (SPL Iterators use-after-free). (CVE-2014-4670) (Laruence)
980 . Fixed bug #70959 (ArrayObject unserialize does not restore protected
981 fields). (Laruence)
982 . Fixed bug #70853 (SplFixedArray throws exception when using ref variable
983 as index). (Laruence)
984 . Fixed bug #70868 (PCRE JIT and pattern reuse segfault). (Laruence)
985 . Fixed bug #70730 (Incorrect ArrayObject serialization if unset is called
986 in serialize()). (Laruence)
987 . Fixed bug #70573 (Cloning SplPriorityQueue leads to memory leaks). (Dmitry)
988 . Fixed bug #70303 (Incorrect constructor reflection for ArrayObject). (cmb)
989 . Fixed bug #70068 (Dangling pointer in the unserialization of ArrayObject
990 items). (sean.heelan)
991 . Fixed bug #70166 (Use After Free Vulnerability in unserialize() with
992 SPLArrayObject). (taoguangchen at icloud dot com)
993 . Fixed bug #70168 (Use After Free Vulnerability in unserialize() with
994 SplObjectStorage). (taoguangchen at icloud dot com)
995 . Fixed bug #70169 (Use After Free Vulnerability in unserialize() with
996 SplDoublyLinkedList). (taoguangchen at icloud dot com)
997 . Fixed bug #70053 (MutlitpleIterator array-keys incompatible change in
998 PHP 7). (Tjerk)
999 . Fixed bug #69970 (Use-after-free vulnerability in
1000 spl_recursive_it_move_forward_ex()). (Laruence)
1001 . Fixed bug #69845 (ArrayObject with ARRAY_AS_PROPS broken). (Dmitry)
1002 . Changed ArrayIterator implementation using zend_hash_iterator_... API.
1003 Allowed modification of iterated ArrayObject using the same behavior
1004 as proposed in `Fix "foreach" behavior`. Removed "Array was modified
1005 outside object and internal position is no longer valid" hack. (Dmitry)
1006 . Implemented FR #67886 (SplPriorityQueue/SplHeap doesn't expose extractFlags
1007 nor curruption state). (Julien)
1008 . Fixed bug #66405 (RecursiveDirectoryIterator::CURRENT_AS_PATHNAME
1009 breaks the RecursiveIterator). (Paul Garvin)
1843
1010
1844- Streams:
1845 . Fixed bug #67430 (http:// wrapper doesn't follow 308 redirects). (Adam)
1011- SQLite3:
1012 . Fixed bug #70571 (Memory leak in sqlite3_do_callback). (Adam)
1013 . Fixed bug #69972 (Use-after-free vulnerability in
1014 sqlite3SafetyCheckSickOrOk()). (Laruence)
1015 . Fixed bug #69897 (segfault when manually constructing SQLite3Result).
1016 (Kalle)
1017 . Fixed bug #68260 (SQLite3Result::fetchArray declares wrong
1018 required_num_args). (Julien)
1846
1019
1847- Session:
1848 . Fixed bug #66827 (Session raises E_NOTICE when session name variable is array).
1849 (Yasuo)
1850
185127 Jun 2014, PHP 5.5.14
1852
1853- Core:
1854 . Fixed BC break introduced by patch for bug #67072. (Anatol, Stas)
1855 . Fixed bug #66622 (Closures do not correctly capture the late bound class
1856 (static::) in some cases). (Levi Morrison)
1857 . Fixed bug #67390 (insecure temporary file use in the configure script).
1858 (Remi) (CVE-2014-3981)
1859 . Fixed bug #67399 (putenv with empty variable may lead to crash). (Stas)
1860
1861- CLI server:
1862 . Fixed Bug #67406 (built-in web-server segfaults on startup). (Remi)
1863
1864- Date:
1865 . Fixed bug #67308 (Serialize of DateTime truncates fractions of second).
1866 (Adam)
1867 . Fixed regression in fix for bug #67118 (constructor can't be called twice).
1868 (Remi)
1869
1870- Fileinfo:
1871 . Fixed bug #67326 (fileinfo: cdf_read_short_sector insufficient boundary check).
1872 . Fixed bug #67410 (fileinfo: mconvert incorrect handling of truncated pascal
1873 string size). (Francisco Alonso, Jan Kaluza, Remi)
1874 . Fixed bug #67411 (fileinfo: cdf_check_stream_offset insufficient boundary
1875 check). (Francisco Alonso, Jan Kaluza, Remi)
1876 . Fixed bug #67412 (fileinfo: cdf_count_chain insufficient boundary check).
1877 (Francisco Alonso, Jan Kaluza, Remi)
1878 . Fixed bug #67413 (fileinfo: cdf_read_property_info insufficient boundary
1879 check). (Francisco Alonso, Jan Kaluza, Remi)
1880
1881- Network:
1882 . Fixed bug #67432 (Fix potential segfault in dns_get_record()).
1883 (CVE-2014-4049). (Sara)
1884
1885- OPCache:
1886 . Fixed issue #183 (TMP_VAR is not only used once). (Dmitry, Laruence)
1887
1888- OpenSSL:
1889 . Fixed bug #65698 (certificates validity parsing does not work past 2050).
1890 (Paul Oehler)
1891 . Fixed bug #66636 (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).
1892 (Paul Oehler)
1893
1894- PDO-ODBC:
1895 . Fixed bug #50444 (PDO-ODBC changes for 64-bit).
1896
1897- SOAP:
1898 . Implemented FR #49898 (Add SoapClient::__getCookies()). (Boro Sitnikovski)
1899
1900- SPL:
1901 . Fixed bug #66127 (Segmentation fault with ArrayObject unset). (Stas)
1902 . Fixed bug #67359 (Segfault in recursiveDirectoryIterator). (Laruence)
1903 . Fixed bug #67360 (Missing element after ArrayObject::getIterator). (Adam)
1904 . Fixed bug #67492 (unserialize() SPL ArrayObject / SPLObjectStorage Type
1905 Confusion). (CVE-2014-3515) (Stefan Esser)
1906
190729 May 2014, PHP 5.5.13
1908
1909- CLI server:
1910 . Fixed bug #67079 (Missing MIME types for XML/XSL files). (Anatol)
1911
1912- COM:
1913 . Fixed bug #66431 (Special Character via COM Interface (CP_UTF8)). (Anatol)
1914
1915- Core:
1916 . Fixed bug #65701 (copy() doesn't work when destination filename is created
1917 by tempnam()). (Boro Sitnikovski)
1918 . Fixed bug #67072 (Echoing unserialized "SplFileObject" crash). (Anatol)
1919 . Fixed bug #67245 (usage of memcpy() with overlapping src and dst in
1920 zend_exceptions.c). (Bob)
1921 . Fixed bug #67247 (spl_fixedarray_resize integer overflow). (Stas)
1922 . Fixed bug #67249 (printf out-of-bounds read). (Stas)
1923 . Fixed bug #67250 (iptcparse out-of-bounds read). (Stas)
1924 . Fixed bug #67252 (convert_uudecode out-of-bounds read). (Stas)
1925
1926- Curl:
1927 . Fixed bug #64247 (CURLOPT_INFILE doesn't allow reset). (Mike)
1928
1929- Date:
1930 . Fixed bug #67118 (DateTime constructor crash with invalid data). (Anatol)
1931 . Fixed bug #67251 (date_parse_from_format out-of-bounds read). (Stas)
1932 . Fixed bug #67253 (timelib_meridian_with_check out-of-bounds read). (Stas)
1933
1934- DOM:
1935 . Fixed bug #67081 (DOMDocumentType->internalSubset returns entire DOCTYPE tag,
1936 not only the subset). (Anatol)
1937
1938- Fileinfo:
1939 . Fixed bug #66307 (Fileinfo crashes with powerpoint files). (Anatol)
1940 . Fixed bug #67327 (fileinfo: CDF infinite loop in nelements DoS) (CVE-2014-0238).
1941 . Fixed bug #67328 (fileinfo: fileinfo: numerous file_printf calls resulting in
1942 performance degradation) (CVE-2014-0237).
1943
1944- FPM:
1945 . Fixed bug #66908 (php-fpm reload leaks epoll_create() file descriptor).
1946 (Julio Pintos)
1947
1948- GD:
1949 . Fixed bug #67248 (imageaffinematrixget missing check of parameters). (Stas)
1950
1951- PCRE:
1952 . Fixed bug #67238 (Ungreedy and min/max quantifier bug, applied patch
1953 from the upstream). (Anatol)
1954
1955- Phar:
1956 . Fix bug #64498 ($phar->buildFromDirectory can't compress file with an accent
1957 in its name). (PR #588)
1958
195930 Apr 2014, PHP 5.5.12
1960- Core:
1961 . Fixed bug #61019 (Out of memory on command stream_get_contents). (Mike)
1962 . Fixed bug #64330 (stream_socket_server() creates wrong Abstract Namespace
1963 UNIX sockets). (Mike)
1964 . Fixed bug #66182 (exit in stream filter produces segfault). (Mike)
1965 . Fixed bug #66736 (fpassthru broken). (Mike)
1966 . Fixed bug #67024 (getimagesize should recognize BMP files with negative
1967 height). (Gabor Buella)
1968 . Fixed bug #67043 (substr_compare broke by previous change) (Tjerk)
1969 . Fixed bug #67033 (Remove reference to Windows 95). (Anatol)
1970
1971- cURL:
1972 . Fixed bug #66562 (curl_exec returns differently than curl_multi_getcontent).
1973 (Freek Lijten)
1974
1975- Date:
1976 . Fixed bug #66721 (__wakeup of DateTime segfaults when invalid object data is
1977 supplied). (Boro Sitnikovski)
1978
1979- Embed:
1980 . Fixed bug #65715 (php5embed.lib isn't provided anymore). (Anatol).
1981
1982- Fileinfo:
1983 . Fixed bug #66987 (Memory corruption in fileinfo ext / bigendian).
1984 (Remi)
1985
1986- FPM:
1987 . Fixed bug #66482 (unknown entry 'priority' in php-fpm.conf).
1988 . Fixed bug #67060 (sapi/fpm: possible privilege escalation due to insecure
1989 default configuration) (CVE-2014-0185). (Stas)
1990
1991- JSON:
1992 . Fixed bug #66021 (Blank line inside empty array/object when
1993 JSON_PRETTY_PRINT is set). (Kevin Israel)
1994
1995- LDAP:
1996 . Fixed issue with null bytes in LDAP bindings. (Matthew Daley)
1997
1998- mysqli:
1999 . Fixed problem in mysqli_commit()/mysqli_rollback() with second parameter
2000 (extra comma) and third parameters (lack of escaping). (Andrey)
2001
2002- OpenSSL:
2003 . Fix bug #66942 (memory leak in openssl_seal()). (Chuan Ma)
2004 . Fix bug #66952 (memory leak in openssl_open()). (Chuan Ma)
2005
2006- SimpleXML:
2007 . Fixed bug #66084 (simplexml_load_string() mangles empty node name)
2008 (Anatol)
2009
2010- SQLite:
2011 . Fixed bug #66967 (Updated bundled libsqlite to 3.8.4.3). (Anatol)
2012
2013- XSL:
2014 . Fixed bug #53965 (<xsl:include> cannot find files with relative paths
2015 when loaded with "file://"). (Anatol)
2016
2017- Apache2 Handler SAPI:
2018 . Fixed Apache log issue caused by APR's lack of support for %zu
2019 (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120).
2020 (Jeff Trawick)
2021
202203 Apr 2014, PHP 5.5.11
2023
2024- Core:
2025 . Allow zero length comparison in substr_compare() (Tjerk)
2026 . Fixed bug #60602 (proc_open() changes environment array) (Tjerk)
2027
2028- SPL:
2029 . Added feature #65545 (SplFileObject::fread()) (Tjerk)
2030 . Fixed bug #66702 (RegexIterator::INVERT_MATCH does not invert). (Joshua
2031 Thijssen)
2032
2033- cURL:
2034 . Fixed bug #66109 (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour) (Tjerk)
2035 . Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive.
2036 (Adam)
2037
2038- Fileinfo:
2039 . Fixed bug #66946i (fileinfo: extensive backtracking in awk rule regular
2040 expression). (CVE-2013-7345) (Remi)
2041
2042- FPM:
2043 . Added clear_env configuration directive to disable clearenv() call.
2044 (Github PR# 598, Paul Annesley)
2045
2046- GD:
2047 . Fixed bug #66714 (imageconvolution breakage). (Brad Daily)
2048 . Fixed bug #66869 (Invalid 2nd argument crashes imageaffinematrixget) (Pierre)
2049 . Fixed bug #66887 (imagescale - poor quality of scaled image). (Remi)
2050 . Fixed bug #66890 (imagescale segfault). (Remi)
2051 . Fixed bug #66893 (imagescale ignore method argument). (Remi)
2052
2053- Hash:
2054 . hash_pbkdf2() now works correctly if the $length argument is not specified.
2055 (Nikita)
2056
2057- Intl:
2058 . Fixed bug #66873 (A reproductible crash in UConverter when given invalid
2059 encoding) (Stas)
2060
2061- Mail:
2062 . Fixed bug #66535 (Don't add newline after X-PHP-Originating-Script) (Tjerk)
2063
2064- MySQLi:
2065 . Fixed bug #66762 (Segfault in mysqli_stmt::bind_result() when link closed)
2066 (Remi)
2067
2068- OPCache
2069 . Added function opcache_is_script_cached(). (Danack)
2070 . Added information about interned strings usage. (Terry, Julien, Dmitry)
2071
2072- Openssl:
2073 . Fixed bug #66833 (Default disgest algo is still MD5, switch to SHA1). (Remi)
2074
2075- GMP
2076 . Fixed bug #66872 (invalid argument crashes gmp_testbit) (Pierre)
2077
2078- SQLite:
2079 . Updated bundled libsqlite to 3.8.3.1 (Anatol)
2080
208106 Mar 2014, PHP 5.5.10
2082
2083- Core:
2084 . Fixed Request #66574i (Allow multiple paths in php_ini_scanned_path). (Remi)
2085
2086- Date:
2087 . Fixed bug #45528 (Allow the DateTimeZone constructor to accept timezones
2088 per offset too). (Derick)
2089
2090- Fileinfo:
2091 . Bug #66731 (file: infinite recursion) (CVE-2014-1943). (Remi)
2092 . Fixed bug #66820 (out-of-bounds memory access in fileinfo)
2093 (CVE-2014-2270). (Remi)
2094
2095- GD
2096 . Fixed Bug #66815 (imagecrop(): insufficient fix for NULL defer
2097 CVE-2013-7327). (Tomas Hoger, Remi)
2098
2099- JSON:
2100 . Fixed bug #65753 (JsonSerializeable couldn't implement on module extension)
2101 (chobieeee@php.net)
2102
2103- LDAP:
2104 . Implemented ldap_modify_batch (https://wiki.php.net/rfc/ldap_modify_batch).
2105 (Ond��ej Ho��ek)
2106
2107- Openssl:
2108 . Fixed bug #66501 (Add EC key support to php_openssl_is_private_key).
2109 (Mark Zedwood)
2110
2111- PCRE:
2112 . Upgraded to PCRE 8.34. (Anatol)
2113
2114- Pgsql:
2115 . Added warning for dangerous client encoding and remove possible injections
2116 for pg_insert()/pg_update()/pg_delete()/pg_select(). (Yasuo)
2117
2118
211906 Feb 2014, PHP 5.5.9
2120
2121- Core:
2122 . Fixed bug #66509 (copy() arginfo has changed starting from 5.4). (willfitch)
2123
2124- GD:
2125 . Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop()).
2126 (Laruence, Remi)
2127
2128- OPCache:
2129 . Fixed bug #66474 (Optimizer bug in constant string to boolean conversion).
2130 (Dmitry)
2131 . Fixed bug #66461 (PHP crashes if opcache.interned_strings_buffer=0).
2132 (Dmitry)
2133 . Fixed bug #66298 (ext/opcache/Optimizer/zend_optimizer.c has dos-style
2134 ^M as lineend). (Laruence)
2135
2136- PDO_pgsql:
2137 . Fixed bug #62479 (PDO-psql cannot connect if password contains
2138spaces) (willfitch, iliaa)
2139
2140- Readline
2141 . Fixed Bug #66412 (readline_clear_history() with libedit causes segfault after
2142 #65714). (Remi)
2143
2144- Session
2145 . Fixed bug #66469 (Session module is sending multiple set-cookie headers when
2146 session.use_strict_mode=1) (Yasuo)
2147 . Fixed bug #66481 (Segfaults on session_name()).
2148 (cmcdermottroe at engineyard dot com, Yasuo)
2149
2150- Standard
2151 . Fixed bug #66395 (basename function doesn't remove drive letter). (Anatol)
2152
2153- Sockets:
2154 . Fixed bug #66381 (__ss_family was changed on AIX 5.3). (Felipe)
2155
2156- Zend Engine
2157 . Fixed bug #66009 (Failed compilation of PHP extension with C++ std
2158 library using VS 2012). (Anatol)
2159
216009 Jan 2014, PHP 5.5.8
2161
2162- Core:
2163 . Disallowed JMP into a finally block. (Laruence)
2164 . Added validation of class names in the autoload process. (Dmitry)
2165 . Fixed invalid C code in zend_strtod.c. (Lior Kaplan)
2166 . Fixed ZEND_MM_MEM_TYPE=mmap_zero. (Dmitry, Tony)
2167 . Fixed bug #66041 (list() fails to unpack yielded ArrayAccess object).
2168 (Nikita)
2169 . Fixed bug #65764 (generators/throw_rethrow FAIL with
2170 ZEND_COMPILE_EXTENDED_INFO). (Nikita)
2171 . Fixed bug #61645 (fopen and O_NONBLOCK). (Mike)
2172 . Fixed bug #66218 (zend_register_functions breaks reflection). (Remi)
2173
2174- Date:
2175 . Fixed bug #66060 (Heap buffer over-read in DateInterval) (CVE-2013-6712).
2176 (Remi)
2177 . Fixed bug #65768 (DateTimeImmutable::diff does not work). (Nikita Nefedov)
2178
2179- DOM:
2180 . Fixed bug #65196 (Passing DOMDocumentFragment to DOMDocument::saveHTML()
2181 Produces invalid Markup). (Mike)
2182
2183- Exif:
2184 . Fixed bug #65873 (Integer overflow in exif_read_data()). (Stas)
2185
2186- Filter:
2187 . Fixed bug #66229 (128.0.0.0/16 isn't reserved any longer). (Adam)
2188
2189- GD:
2190 . Fixed bug #64405 (Use freetype-config for determining freetype2 dir(s)).
2191 (Adam)
2192
2193- PDO_odbc:
2194 . Fixed bug #66311 (Stack smashing protection kills PDO/ODBC queries).
2195 (michael at orlitzky dot com)
2196
2197- MySQLi:
2198 . Fixed bug #65486 (mysqli_poll() is broken on win x64). (Anatol)
2199
2200- OPCache:
2201 . Fixed revalidate_path=1 behavior to avoid caching of symlinks values.
2202 (Dmitry)
2203 . Fixed Issue #140: "opcache.enable_file_override" doesn't respect
2204 "opcache.revalidate_freq". (Dmitry).
2205
2206- SNMP:
2207 . Fixed SNMP_ERR_TOOBIG handling for bulk walk operations. (Boris Lytochkin)
2208
2209- SOAP
2210 . Fixed bug #66112 (Use after free condition in SOAP extension).
2211 (martin dot koegler at brz dot gv dot at)
2212
2213- Sockets:
2214 . Fixed bug #65923 (ext/socket assumes AI_V4MAPPED is defined). (Felipe)
2215
2216- XSL
2217 . Fixed bug #49634 (Segfault throwing an exception in a XSL registered
2218 function). (Mike)
2219
2220- ZIP:
2221 . Fixed Bug #66321 (ZipArchive::open() ze_obj->filename_len not real). (Remi)
2222
222312 Dec 2013, PHP 5.5.7
2224
2225- CLI server:
2226 . Added some MIME types to the CLI web server (Chris Jones)
2227 . Implemented FR #65917 (getallheaders() is not supported by the built-in web
2228 server) - also implements apache_response_headers() (Andrea Faulds)
2229
2230- Core:
2231 . Fixed bug #66094 (unregister_tick_function tries to cast a Closure to a
2232 string). (Laruence)
2233 . Fixed bug #65969 (Chain assignment with T_LIST failure). (Dmitry)
2234
2235- OPCache
2236 . Fixed bug #66176 (Invalid constant substitution). (Dmitry)
2237 . Fixed bug #65915 (Inconsistent results with require return value). (Dmitry)
2238 . Fixed bug #65559 (Opcache: cache not cleared if changes occur while
2239 running). (Dmitry)
2240
2241- readline
2242 . Fixed Bug #65714 (PHP cli forces the tty to cooked mode). (Remi)
2243
2244- Openssl:
2245 . Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420).
2246 (Stefan Esser).
2247
224814 Nov 2013, PHP 5.5.6
2249
2250- Core:
2251 . Fixed bug #65947 (basename is no more working after fgetcsv in certain
2252 situation). (Laruence)
2253 . Improved performance of array_merge() and func_get_args() by eliminating
2254 useless copying. (Dmitry)
2255 . Fixed bug #65939 (Space before ";" breaks php.ini parsing).
2256 (brainstorm at nopcode dot org)
2257 . Fixed bug #65911 (scope resolution operator - strange behavior with $this).
2258 (Bob Weinand)
2259 . Fixed bug #65936 (dangling context pointer causes crash). (Tony)
2260
2261- FPM:
2262 . Changed default listen() backlog to 65535. (Tony)
2263
2264- JSON
2265 . Fixed whitespace part of bug #64874 ("json_decode handles whitespace and
2266 case-sensitivity incorrectly"). (Andrea Faulds)
2267
2268- MySQLi:
2269 . Fixed bug #66043 (Segfault calling bind_param() on mysqli). (Laruence)
2270
2271- OPcache
2272 . Increased limit for opcache.max_accelerated_files to 1,000,000. (Chris)
2273 . Fixed issue #115 (path issue when using phar). (Dmitry)
2274 . Fixed issue #149 (Phar mount points not working with OPcache enabled).
2275 (Dmitry)
2276
2277- ODBC
2278 . Fixed bug #65950 (Field name truncation if the field name is bigger than
2279 32 characters). (patch submitted by: michael dot y at zend dot com, Yasuo)
2280
2281- PDO:
2282 . Fixed bug #66033 (Segmentation Fault when constructor of PDO statement
2283 throws an exception). (Laruence)
2284 . Fixed bug 65946 (sql_parser permanently converts values bound to strings)
2285
2286- Standard:
1020- Standard:
2287 . Fixed bug #64760 (var_export() does not use full precision for floating-point
2288 numbers) (Yasuo)
2289
2290
229117 Oct 2013, PHP 5.5.5
2292
2293- Core:
2294 . Fixed bug #64979 (Wrong behavior of static variables in closure generators).
2295 (Nikita)
2296 . Fixed bug #65322 (compile time errors won't trigger auto loading). (Nikita)
2297 . Fixed bug #65821 (By-ref foreach on property access of string offset
2298 segfaults). (Nikita)
2299
2300- CLI server:
2301 . Fixed bug #65633 (built-in server treat some http headers as
2302 case-sensitive). (Adam)
2303 . Fixed bug #65818 (Segfault with built-in webserver and chunked transfer
2304 encoding). (Felipe)
2305 . Added application/pdf to PHP CLI Web Server mime types (Chris Jones)
2306
2307- Datetime:
2308 . Fixed bug #64157 (DateTime::createFromFormat() reports confusing error
2309 message). (Boro Sitnikovski)
2310 . Fixed bug #65502 (DateTimeImmutable::createFromFormat returns DateTime).
2311 (Boro Sitnikovski)
2312 . Fixed bug #65548 (Comparison for DateTimeImmutable doesn't work).
2313 (Boro Sitnikovski)
2314
2315- DBA extension:
2316 . Fixed bug #65708 (dba functions cast $key param to string in-place,
2317 bypassing copy on write). (Adam)
2318
2319- Filter:
2320 . Add RFC 6598 IPs to reserved addresses. (Sebastian Nohn)
2321 . Fixed bug #64441 (FILTER_VALIDATE_URL rejects fully qualified domain names).
2322 (Syra)
2323
2324- FTP:
2325 . Fixed bug #65667 (ftp_nb_continue produces segfault). (Philip Hofstetter)
2326
2327- GD
2328 . Ensure that the defined interpolation method is used with the generic
2329 scaling methods. (Pierre)
2330
2331- IMAP:
2332 . Fixed bug #65721 (configure script broken in 5.5.4 and 5.4.20 when enabling
2333 imap). (ryotakatsuki at gmail dot com)
2334
2335- OPcache:
2336 . Added support for GNU Hurd. (Svante Signell)
2337 . Added function opcache_compile_file() to load PHP scripts into cache
2338 without execution. (Julien)
2339 . Fixed bug #65845 (Error when Zend Opcache Optimizer is fully enabled).
2340 (Dmitry)
2341 . Fixed bug #65665 (Exception not properly caught when opcache enabled).
1021 . Fixed count on symbol tables. (Laruence)
1022 . Fixed bug #70963 (Unserialize shows UNKNOWN in result). (Laruence)
1023 . Fixed bug #70910 (extract() breaks variable references). (Laruence)
1024 . Fixed bug #70808 (array_merge_recursive corrupts memory of unset items).
2342 (Laruence)
1025 (Laruence)
2343 . Fixed bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var). (Dmitry)
2344 . Fixed issue #135 (segfault in interned strings if initial memory is too
2345 low). (Julien)
2346
2347- Sockets:
2348 . Fixed bug #65808 (the socket_connect() won't work with IPv6 address).
2349 (Mike)
2350
2351- SPL:
2352 . Fix bug #64782 (SplFileObject constructor make $context optional / give it
2353 a default value). (Nikita)
2354
2355- Standard:
2356 . Fixed bug #61548 (content-type must appear at the end of headers for 201
2357 Location to work in http). (Mike)
2358
2359- XMLReader:
2360 . Fixed bug #51936 (Crash with clone XMLReader). (Mike)
2361 . Fixed bug #64230 (XMLReader does not suppress errors). (Mike)
2362
2363- Build system:
2364 . Fixed bug #51076 (race condition in shtool's mkdir -p implementation).
2365 (Mike, Raphael Geissert)
2366 . Fixed bug #62396 ('make test' crashes starting with 5.3.14 (missing
2367 gzencode())). (Mike)
2368
2369
237019 Sep 2013, PHP 5.5.4
2371
2372- Core:
2373 . Fixed bug #60598 (cli/apache sapi segfault on objects manipulation).
1026 . Fixed bug #70667 (strtr() causes invalid writes and a crashes). (Dmitry)
1027 . Fixed bug #70668 (array_keys() doesn't respect references when $strict is
1028 true). (Bob, Dmitry)
1029 . Implemented the RFC `Random Functions Throwing Exceptions in PHP 7`.
1030 (Sammy Kaye Powers, Anthony)
1031 . Fixed bug #70487 (pack('x') produces an error). (Nikita)
1032 . Fixed bug #70342 (changing configuration with ignore_user_abort(true) isn't
1033 working). (Laruence)
1034 . Fixed bug #70295 (Segmentation fault with setrawcookie). (Bob)
1035 . Fixed bug #67131 (setcookie() conditional for empty values not met). (cmb)
1036 . Fixed bug #70365 (Use-after-free vulnerability in unserialize() with
1037 SplObjectStorage). (taoguangchen at icloud dot com)
1038 . Fixed bug #70366 (Use-after-free vulnerability in unserialize() with
1039 SplDoublyLinkedList). (taoguangchen at icloud dot com)
1040 . Fixed bug #70250 (extract() turns array elements to references).
2374 (Laruence)
1041 (Laruence)
2375 . Improved fputcsv() to allow specifying escape character.
2376 . Fixed bug #65490 (Duplicate calls to get lineno & filename for
2377 DTRACE_FUNCTION_*). (Chris Jones)
2378 . Fixed bug #65483 (quoted-printable encode stream filter incorrectly encoding
2379 spaces). (Michael M Slusarz)
2380 . Fixed bug #65481 (shutdown segfault due to serialize) (Mike)
2381 . Fixed bug #65470 (Segmentation fault in zend_error() with
2382 --enable-dtrace). (Chris Jones, Kris Van Hees)
2383 . Fixed bug #65225 (PHP_BINARY incorrectly set). (Patrick Allaert)
2384 . Fixed bug #62692 (PHP fails to build with DTrace). (Chris Jones, Kris Van Hees)
2385 . Fixed bug #61759 (class_alias() should accept classes with leading
2386 backslashes). (Julien)
2387 . Fixed bug #46311 (Pointer aliasing issue results in miscompile on gcc4.4).
2388 (Nikita Popov)
2389
2390- cURL:
2391 . Fixed bug #65458 (curl memory leak). (Adam)
2392
2393- Datetime:
2394 . Fixed bug #65554 (createFromFormat broken when weekday name is followed
2395 by some delimiters). (Valentin Logvinskiy, Stas).
2396 . Fixed bug #65564 (stack-buffer-overflow in DateTimeZone stuff caught
2397 by AddressSanitizer). (Remi).
2398
2399- OPCache:
2400 . Fixed bug #65561 (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4).
2401 (Terry Ellison)
2402
2403- Openssl:
2404 . Fixed bug #64802 (openssl_x509_parse fails to parse subject properly in
2405 some cases). (Mark Jones)
2406
2407- PDO:
2408 . Fixed bug #64953 (Postgres prepared statement positional parameter
2409 casting). (Mike)
2410
2411- Session:
2412 . Fixed bug #65475 (Session ID is not initialized properly when strict session
2413 is enabled). (Yasuo)
2414 . Fixed bug #51127/#65359 Request #25630/#43980/#54383 (Added php_serialize
2415 session serialize handler that uses plain serialize()). (Yasuo)
2416
2417- Standard:
2418 . Fix issue with return types of password API helper functions. Found via
2419 static analysis by cjones. (Anthony Ferrara)
2420
2421- Zlib:
2422 . Fixed bug #65391 (Unable to send vary header user-agent when
2423 ob_start('ob_gzhandler') is called) (Mike)
2424
242522 Aug 2013, PHP 5.5.3
2426
2427- Openssl:
2428 . Fixed UMR in fix for CVE-2013-4248.
2429
243015 Aug 2013, PHP 5.5.2
2431
2432- Core:
2433 . Fixed bug #65372 (Segfault in gc_zval_possible_root when return reference
2434 fails). (Laruence)
2435 . Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was
2436 erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). (Andrey
2437 avp200681 gmail com).
2438 . Fixed bug #65304 (Use of max int in array_sum). (Laruence)
2439 . Fixed bug #65291 (get_defined_constants() causes PHP to crash in a very
2440 limited case). (Arpad)
2441 . Fixed bug #62691 (solaris sed has no -i switch). (Chris Jones)
2442 . Fixed bug #61345 (CGI mode - make install don't work). (Michael Heimpold)
2443 . Fixed bug #61268 (--enable-dtrace leads make to clobber
2444 Zend/zend_dtrace.d) (Chris Jones)
2445
2446- DOM:
2447 . Added flags option to DOMDocument::schemaValidate() and
2448 DOMDocument::schemaValidateSource(). Added LIBXML_SCHEMA_CREATE flag.
2449 (Chris Wright)
2450
2451- OPcache:
2452 . Added opcache.restrict_api configuration directive that may limit
2453 usage of OPcache API functions only to particular script(s). (Dmitry)
2454 . Added support for glob symbols in blacklist entries (?, *, **).
2455 (Terry Elison, Dmitry)
2456 . Fixed bug #65338 (Enabling both php_opcache and php_wincache AVs on
2457 shutdown). (Dmitry)
2458
2459- Openssl:
2460 . Fixed handling null bytes in subjectAltName (CVE-2013-4248).
2461 (Christian Heimes)
2462
2463- PDO_mysql:
2464 . Fixed bug #65299 (pdo mysql parsing errors). (Johannes)
2465
2466- Pgsql:
2467 . Fixed bug #62978 (Disallow possible SQL injections with pg_select()/pg_update()
2468 /pg_delete()/pg_insert()). (Yasuo)
2469
2470- Phar:
2471 . Fixed bug #65028 (Phar::buildFromDirectory creates corrupt archives for
2472 some specific contents). (Stas)
2473
2474- Sessions:
2475 . Implemented strict sessions RFC (https://wiki.php.net/rfc/strict_sessions)
2476 which protects against session fixation attacks and session collisions.
2477 (CVE-2011-4718). (Yasuo Ohgaki)
2478 . Fixed possible buffer overflow under Windows. Note: Not a security fix.
2479 (Yasuo)
2480 . Changed session.auto_start to PHP_INI_PERDIR. (Yasuo)
2481
2482- SOAP:
2483 . Fixed bug #65018 (SoapHeader problems with SoapServer). (Dmitry)
2484
2485- SPL:
2486 . Fixed bug #65328 (Segfault when getting SplStack object Value). (Laruence)
2487 . Added RecursiveTreeIterator setPostfix and getPostifx methods. (Joshua
2488 Thijssen)
2489 . Fixed bug #61697 (spl_autoload_functions returns lambda functions
2490 incorrectly). (Laruence)
2491
2492- Streams:
2493 . Fixed bug #65268 (select() implementation uses outdated tick API). (Anatol)
2494
2495- Pgsql:
2496 . Fixed bug #65336 (pg_escape_literal/identifier() scilently returns false).
2497 (Yasuo)
2498
249918 Jul 2013, PHP 5.5.1
2500
2501- Core:
2502 . Fixed bug #65254 (Exception not catchable when exception thrown in autoload
2503 with a namespace). (Laruence)
2504 . Fixed bug #65088 (Generated configure script is malformed on OpenBSD).
2505 (Adam)
2506 . Fixed bug #65108 (is_callable() triggers Fatal Error).
2507 (David Soria Parra, Laruence)
2508 . Fixed bug #65035 (yield / exit segfault). (Nikita)
2509 . Fixed bug #65161 (Generator + autoload + syntax error = segfault). (Nikita)
2510 . hex2bin() raises E_WARNING for invalid hex string. (Yasuo)
2511 . Fixed bug #65226 (chroot() does not get enabled). (Anatol)
2512
2513- OPcache
2514 . Fixed bug #64827 (Segfault in zval_mark_grey (zend_gc.c)). (Laruence)
2515 . OPcache must be compatible with LiteSpeed SAPI (Dmitry)
2516
2517- CGI:
2518 . Fixed Bug #65143 (Missing php-cgi man page). (Remi)
2519
2520- CLI server:
2521 . Fixed bug #65066 (Cli server not responsive when responding with 422 http
2522 status code). (Adam)
2523
2524- DateTime
2525 . Fixed fug #65184 (strftime() returns insufficient-length string under
2526 multibyte locales). (Anatol)
2527
2528- GD
2529 . Fixed #65070 (bgcolor does not use the same format as the input image with
2530 imagerotate). (Pierre)
2531 . Fixed Bug #65060 (imagecreatefrom... crashes with user streams). (Remi)
2532 . Fixed Bug #65084 (imagecreatefromjpeg fails with URL). (Remi)
2533 . Fix gdImageCreateFromWebpCtx and use same logic to load WebP image
2534 that other formats. (Remi)
2535
2536- Intl:
2537 . Add IntlCalendar::setMinimalDaysInFirstWeek()/
2538 intlcal_set_minimal_days_in_first_week().
2539 . Fixed trailing space in name of constant IntlCalendar::FIELD_FIELD_COUNT.
2540 . Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas)
2541 . Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions).
2542 (Stas)
2543
2544- OCI8:
2545 . Bump PECL package info version check to allow PECL installs with PHP 5.5+
2546
2547- PDO:
2548 . Allowed PDO_OCI to compile with Oracle Database 12c client libraries.
2549 (Chris Jones)
2550
2551- Pgsql
2552 . pg_unescape_bytea() raises E_WARNING for invalid inputs. (Yasuo)
2553
2554- Phar:
2555 . Fixed Bug #65142 (Missing phar man page). (Remi)
2556
2557- Session:
2558 . Added optional create_sid() argument to session_set_save_handler(),
2559 SessionHandler and new SessionIdInterface. (Leigh, Arpad)
2560
2561- Sockets:
2562 . Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option).
2563 (Damjan Cvetko)
2564 . Allowed specifying paths in the abstract namespace for the functions
2565 socket_bind(), socket_connect() and socket_sendmsg(). (Gustavo)
2566 . Fixed bug #65260 (sendmsg() ancillary data construction for SCM_RIGHTS is
2567 faulty). (Gustavo)
2568
2569- SPL:
2570 . Fixed bug #65136 (RecursiveDirectoryIterator segfault). (Laruence)
2571 . Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator
2572 /Spl(Temp)FileObject ctor twice). (Laruence)
2573
2574- CGI/FastCGI SAPI:
2575 . Added PHP_FCGI_BACKLOG, overrides the default listen backlog. (Arnaud Le
2576 Blanc)
2577
257820 Jun 2013, PHP 5.5.0
2579
2580- Core:
2581 . Added Zend Opcache extension and enable building it by default.
2582 More details here: https://wiki.php.net/rfc/optimizerplus. (Dmitry)
2583 . Added generators and coroutines (https://wiki.php.net/rfc/generators).
2584 (Nikita Popov)
2585 . Added "finally" keyword (https://wiki.php.net/rfc/finally). (Laruence)
2586 . Added simplified password hashing API
2587 (https://wiki.php.net/rfc/password_hash). (Anthony Ferrara)
2588 . Added support for constant array/string dereferencing. (Laruence)
2589 . Added array_column function which returns a column in a multidimensional
2590 array. https://wiki.php.net/rfc/array_column. (Ben Ramsey)
2591 . Added boolval(). (Jille Timmermans)
2592 . Added "Z" option to pack/unpack. (Gustavo)
2593 . Added Generator::throw() method. (Nikita Popov)
2594 . Added Class Name Resolution As Scalar Via "class" Keyword.
2595 (Ralph Schindler, Nikita Popov, Lars)
2596 . Added optional second argument for assert() to specify custom message. Patch
2597 by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
2598 . Added support for using empty() on the result of function calls and
2599 other expressions (https://wiki.php.net/rfc/empty_isset_exprs).
2600 (Nikita Popov)
2601 . Added support for non-scalar Iterator keys in foreach
2602 (https://wiki.php.net/rfc/foreach-non-scalar-keys). (Nikita Popov)
2603 . Added support for list in foreach (https://wiki.php.net/rfc/foreachlist).
1042 . Fixed bug #70211 (php 7 ZEND_HASH_IF_FULL_DO_RESIZE use after free).
2604 (Laruence)
1043 (Laruence)
2605 . Added support for changing the process's title in CLI/CLI-Server SAPIs.
2606 The implementation is more robust that the proctitle PECL module. More
2607 details here: https://wiki.php.net/rfc/cli_process_title. (Keyur)
2608 . Added ARMv7/v8 versions of various Zend arithmetic functions that are
2609 implemented using inline assembler (Ard Biesheuvel)
2610 . Added systemtap support by enabling systemtap compatible dtrace probes on
2611 linux. (David Soria Parra)
2612 . Optimized access to temporary and compiled VM variables. 8% less memory
2613 reads. (Dmitry)
2614 . The VM stacks for passing function arguments and syntaticaly nested calls
2615 were merged into a single stack. The stack size needed for op_array
2616 execution is calculated at compile time and preallocated at once. As result
2617 all the stack push operatins don't require checks for stack overflow
2618 any more. (Dmitry)
2619 . Improve set_exception_handler while doing reset. (Laruence)
2620 . Return previous handler when passing NULL to set_error_handler and
2621 set_exception_handler. (Nikita Popov)
2622 . Remove php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid(),
2623 zend_logo_guid(). (Adnrew Faulds)
2624 . Drop Windows XP and 2003 support. (Pierre)
2625 . Implemented FR #64175 (Added HTTP codes as of RFC 6585). (Jonh Wendell)
2626 . Implemented FR #60738 (Allow 'set_error_handler' to handle NULL).
2627 (Laruence, Nikita Popov)
2628 . Implemented FR #60524 (specify temp dir by php.ini). (ALeX Kazik).
2629 . Implemented FR #46487 (Dereferencing process-handles no longer waits on
2630 those processes). (Jille Timmermans)
2631 . Fixed bug #65051 (count() off by one inside unset()). (Nikita)
2632 . Fixed bug #64988 (Class loading order affects E_STRICT warning). (Laruence)
2633 . Fixed bug #64966 (segfault in zend_do_fcall_common_helper_SPEC). (Laruence)
2634 . Fixed bug #64960 (Segfault in gc_zval_possible_root). (Laruence)
2635 . Fixed bug #64936 (doc comments picked up from previous scanner run). (Stas,
2636 Jonathan Oddy)
2637 . Fixed bug #64934 (Apache2 TS crash with get_browser()). (Anatol)
2638 . Fixed bug #64879 (Heap based buffer overflow in quoted_printable_encode,
2639 CVE 2013-2110). (Stas)
2640 . Fixed bug #64853 (Use of no longer available ini directives causes crash
2641 on TS build). (Anatol)
2642 . Fixed bug #64821 (Custom Exceptions crash when internal properties overridden).
2643 (Anatol)
2644 . Fixed bug #64720 (SegFault on zend_deactivate). (Dmitry)
2645 . Fixed bug #64677 (execution operator `` stealing surrounding arguments).
2646 . Fixed bug #64660 (Segfault on memory exhaustion within function definition).
2647 (Stas, reported by Juha Kylm��nen)
2648 . Fixed bug #64578 (debug_backtrace in set_error_handler corrupts zend heap:
2649 segfault). (Laruence)
2650 . Fixed bug #64565 (copy doesn't report failure on partial copy). (Remi)
2651 . Fixed bug #64555 (foreach no longer copies keys if they are interned).
2652 (Nikita Popov)
2653 . Fixed bugs #47675 and #64577 (fd leak on Solaris)
2654 . Fixed bug #64544 (Valgrind warnings after using putenv). (Laruence)
2655 . Fixed bug #64515 (Memoryleak when using the same variablename 2times in
2656 function declaration). (Laruence)
2657 . Fixed bug #64503 (Compilation fails with error: conflicting types for
2658 'zendparse'). (Laruence)
2659 . Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11).
2660 (Dmitry, Laruence)
2661 . Fixed bug #64523, allow XOR in php.ini. (Dejan Marjanovic, Lars)
2662 . Fixed bug #64354 (Unserialize array of objects whose class can't
2663 be autoloaded fail). (Laruence)
2664 . Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).
2665 (Anatol)
2666 . Fixed bug #64166 (quoted-printable-encode stream filter incorrectly
2667 discarding whitespace). (Michael M Slusarz)
1044 . Fixed bug #70208 (Assert breaking access on objects). (Bob)
1045 . Fixed bug #70140 (str_ireplace/php_string_tolower - Arbitrary Code
1046 Execution). (CVE-2015-6527) (Laruence)
1047 . Implemented FR #70112 (Allow "dirname" to go up various times). (Remi)
1048 . Fixed bug #36365 (scandir duplicates file name at every 65535th file). (cmb)
1049 . Fixed bug #70096 (Repeated iptcembed() adds superfluous FF bytes). (cmb)
1050 . Fixed bug #70018 (exec does not strip all whitespace). (Laruence)
1051 . Fixed bug #69983 (get_browser fails with user agent of null).
1052 (Kalle, cmb, Laruence)
1053 . Fixed bug #69976 (Unable to parse "all" urls with colon char). (cmb)
1054 . Fixed bug #69768 (escapeshell*() doesn't cater to !). (cmb)
1055 . Fixed bug #62922 (Truncating entire string should result in string).
1056 (Nikita)
1057 . Fixed bug #69723 (Passing parameters by reference and array_column).
2668 (Laruence)
1058 (Laruence)
2669 . Fixed bug #64142 (dval to lval different behavior on ppc64). (Remi)
2670 . Fixed bug #64135 (Exceptions from set_error_handler are not always
2671 propagated). (Laruence)
2672 . Fixed bug #63980 (object members get trimmed by zero bytes). (Laruence)
2673 . Fixed bug #63874 (Segfault if php_strip_whitespace has heredoc). (Pierrick)
2674 . Fixed bug #63830 (Segfault on undefined function call in nested generator).
2675 (Nikita Popov)
2676 . Fixed bug #63822 (Crash when using closures with ArrayAccess).
2677 (Nikita Popov)
2678 . Fixed bug #61681 (Malformed grammar). (Nikita Popov, Etienne, Laruence)
2679 . Fixed bug #61038 (unpack("a5", "str\0\0") does not work as expected).
2680 (srgoogleguy, Gustavo)
2681 . Fixed bug #61025 (__invoke() visibility not honored). (Laruence)
2682 . Fixed bug #60833 (self, parent, static behave inconsistently
2683 case-sensitive). (Stas, mario at include-once dot org)
2684 . Fixed Bug #52126: timestamp for mail.log (Martin Jansen, Lars)
2685 . Fixed bug #49348 (Uninitialized ++$foo->bar; does not cause a notice).
2686 (Stas)
2687 . Fixed Bug #23955: allow specifying Max-Age attribute in setcookie() (narfbg, Lars)
2688 . Fixed bug #18556 (Engine uses locale rules to handle class names). (Stas)
2689 . Fix undefined behavior when converting double variables to integers.
2690 The double is now always rounded towards zero, the remainder of its division
2691 by 2^32 or 2^64 (depending on sizeof(long)) is calculated and it's made
2692 signed assuming a two's complement representation. (Gustavo)
2693 . Drop support for bison < 2.4 when building PHP from GIT source.
1059 . Fixed bug #69523 (Cookie name cannot be empty). (Christoph M. Becker)
1060 . Fixed bug #69325 (php_copy_file_ex does not pass the argument).
1061 (imbolk at gmail dot com)
1062 . Fixed bug #69299 (Regression in array_filter's $flag argument in PHP 7).
2694 (Laruence)
1063 (Laruence)
1064 . Removed call_user_method() and call_user_method_array() functions. (Kalle)
1065 . Fixed user session handlers (See rfc:session.user.return-value). (Sara)
1066 . Added intdiv() function. (Andrea)
1067 . Improved precision of log() function for base 2 and 10. (Marc Bennewitz)
1068 . Remove string category support in setlocale(). (Nikita)
1069 . Remove set_magic_quotes_runtime() and its alias magic_quotes_runtime().
1070 (Nikita)
1071 . Fixed bug #65272 (flock() out parameter not set correctly in windows).
1072 (Daniel Lowrey)
1073 . Added preg_replace_callback_array function. (Wei Dai)
1074 . Deprecated salt option to password_hash. (Anthony)
1075 . Fixed bug #69686 (password_verify reports back error on PHP7 will null
1076 string). (Anthony)
1077 . Added Windows support for getrusage(). (Kalle)
1078 . Removed hardcoded limit on number of pipes in proc_open(). (Tony)
2695
1079
2696- Apache2 Handler SAPI:
2697 . Enabled Apache 2.4 configure option for Windows (Pierre, Anatoliy)
2698
2699- Calendar:
2700 . Fixed bug #64895 (Integer overflow in SndToJewish). (Remi)
2701 . Fixed bug #54254 (cal_from_jd returns month = 6 when there is only one Adar)
2702 (Stas, Eitan Mosenkis)
2703
2704- CLI server:
2705 . Fixed bug #64128 (buit-in web server is broken on ppc64). (Remi)
2706
2707- CURL:
2708 . Remove curl stream wrappers. (Pierrick)
2709 . Implemented FR #46439 - added CURLFile for safer file uploads.
2710 (Stas)
2711 . Added support for CURLOPT_FTP_RESPONSE_TIMEOUT, CURLOPT_APPEND,
2712 CURLOPT_DIRLISTONLY, CURLOPT_NEW_DIRECTORY_PERMS, CURLOPT_NEW_FILE_PERMS,
2713 CURLOPT_NETRC_FILE, CURLOPT_PREQUOTE, CURLOPT_KRBLEVEL, CURLOPT_MAXFILESIZE,
2714 CURLOPT_FTP_ACCOUNT, CURLOPT_COOKIELIST, CURLOPT_IGNORE_CONTENT_LENGTH,
2715 CURLOPT_CONNECT_ONLY, CURLOPT_LOCALPORT, CURLOPT_LOCALPORTRANGE,
2716 CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_SSL_SESSIONID_CACHE,
2717 CURLOPT_FTP_SSL_CCC, CURLOPT_HTTP_CONTENT_DECODING,
2718 CURLOPT_HTTP_TRANSFER_DECODING, CURLOPT_PROXY_TRANSFER_MODE,
2719 CURLOPT_ADDRESS_SCOPE, CURLOPT_CRLFILE, CURLOPT_ISSUERCERT,
2720 CURLOPT_USERNAME, CURLOPT_PASSWORD, CURLOPT_PROXYUSERNAME,
2721 CURLOPT_PROXYPASSWORD, CURLOPT_NOPROXY, CURLOPT_SOCKS5_GSSAPI_NEC,
2722 CURLOPT_SOCKS5_GSSAPI_SERVICE, CURLOPT_TFTP_BLKSIZE,
2723 CURLOPT_SSH_KNOWNHOSTS, CURLOPT_FTP_USE_PRET, CURLOPT_MAIL_FROM,
2724 CURLOPT_MAIL_RCPT, CURLOPT_RTSP_CLIENT_CSEQ, CURLOPT_RTSP_SERVER_CSEQ,
2725 CURLOPT_RTSP_SESSION_ID, CURLOPT_RTSP_STREAM_URI, CURLOPT_RTSP_TRANSPORT,
2726 CURLOPT_RTSP_REQUEST, CURLOPT_RESOLVE, CURLOPT_ACCEPT_ENCODING,
2727 CURLOPT_TRANSFER_ENCODING, CURLOPT_DNS_SERVERS and CURLOPT_USE_SSL.
2728 (Pierrick)
2729 . Added new functions curl_escape, curl_multi_setopt, curl_multi_strerror
2730 curl_pause, curl_reset, curl_share_close, curl_share_init,
2731 curl_share_setopt curl_strerror and curl_unescape. (Pierrick)
2732 . Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION,
2733 CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE,
2734 CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL. (Pierrick)
2735 . Fixed bug #55635 (CURLOPT_BINARYTRANSFER no longer used. The constant
2736 still exists for backward compatibility but is doing nothing). (Pierrick)
2737 . Fixed bug #54995 (Missing CURLINFO_RESPONSE_CODE support). (Pierrick)
2738
2739- DateTime
2740 . Added DateTimeImmutable - a variant of DateTime that only returns the
2741 modified state instead of changing itself. (Derick)
2742 . Fixed bug #64825 (Invalid free when unserializing DateTimeZone).
2743 (Anatol)
2744 . Fixed bug #64359 (strftime crash with VS2012). (Anatol)
2745 . Fixed bug #62852 (Unserialize Invalid Date causes crash). (Anatol)
2746 . Fixed bug #61642 (modify("+5 weekdays") returns Sunday).
2747 (Dmitri Iouchtchenko)
2748 . Fixed bug #60774 (DateInterval::format("%a") is always zero when an
2749 interval is created using the createFromDateString method) (Lonny
2750 Kapelushnik, Derick)
2751 . Fixed bug #54567 (DateTimeZone serialize/unserialize) (Lonny
2752 Kapelushnik, Derick)
2753 . Fixed bug #53437 (Crash when using unserialized DatePeriod instance).
2754 (Gustavo, Derick, Anatol)
2755
2756- dba:
2757 . Bug #62489: dba_insert not working as expected.
2758 (marc-bennewitz at arcor dot de, Lars)
2759
2760- Filter:
2761 . Implemented FR #49180 - added MAC address validation. (Martin)
2762
2763- Fileinfo:
2764 . Upgraded libmagic to 5.14. (Anatol)
2765 . Fixed bug #64830 (mimetype detection segfaults on mp3 file). (Anatol)
2766 . Fixed bug #63590 (Different results in TS and NTS under Windows).
2767 (Anatoliy)
2768 . Fixed bug #63248 (Load multiple magic files from a directory under Windows).
2769 (Anatoliy)
2770
2771- FPM:
2772 . Add --with-fpm-systemd option to report health to systemd, and
2773 systemd_interval option to configure this. The service can now use
2774 Type=notify in the systemd unit file. (Remi)
2775 . Ignore QUERY_STRING when sent in SCRIPT_FILENAME. (Remi)
2776 . Log a warning when a syscall fails. (Remi)
2777 . Implemented FR #64764 (add support for FPM init.d script). (Lior Kaplan)
2778 . Fixed Bug #64915 (error_log ignored when daemonize=0). (Remi)
2779 . Fixed bug #63999 (php with fpm fails to build on Solaris 10 or 11). (Adam)
2780 . Fixed some possible memory or resource leaks and possible null dereference
2781 detected by code coverity scan. (Remi)
2782
2783- GD:
2784 . Fixed Bug #64962 (imagerotate produces corrupted image). (Remi)
2785 . Fixed Bug #64961 (segfault in imagesetinterpolation). (Remi)
2786 . Fix build with system libgd >= 2.1 which is now the minimal
2787 version required (as build with previous version is broken).
2788 No change when bundled libgd is used. (Ondrej Sury, Remi)
2789
2790- Hash:
2791 . Added support for PBKDF2 via hash_pbkdf2(). (Anthony Ferrara)
2792 . Fixed Bug #64745 (hash_pbkdf2() truncates data when using default length
2793 and hex output). (Anthony Ferrara)
2794
2795- Intl:
2796 . Added UConverter wrapper.
2797 . The intl extension now requires ICU 4.0+.
2798 . Added intl.use_exceptions INI directive, which controls what happens when
2799 global errors are set together with intl.error_level. (Gustavo)
2800 . MessageFormatter::format() and related functions now accepted named
2801 arguments and mixed numeric/named arguments in ICU 4.8+. (Gustavo)
2802 . MessageFormatter::format() and related functions now don't error out when
2803 an insufficient argument count is provided. Instead, the placeholders will
2804 remain unsubstituted. (Gustavo)
2805 . MessageFormatter::parse() and MessageFormat::format() (and their static
2806 equivalents) don't throw away better than second precision in the arguments.
2807 (Gustavo)
2808 . IntlDateFormatter::__construct and datefmt_create() now accept for the
2809 $timezone argument time zone identifiers, IntlTimeZone objects, DateTimeZone
2810 objects and NULL. (Gustavo)
2811 . IntlDateFormatter::__construct and datefmt_create() no longer accept invalid
2812 timezone identifiers or empty strings. (Gustavo)
2813 . The default time zone used in IntlDateFormatter::__construct and
2814 datefmt_create() (when the corresponding argument is not passed or NULL is
2815 passed) is now the one given by date_default_timezone_get(), not the
2816 default ICU time zone. (Gustavo)
2817 . The time zone passed to the IntlDateFormatter is ignored if it is NULL and
2818 if the calendar passed is an IntlCalendar object -- in this case, the
2819 IntlCalendar's time zone will be used instead. Otherwise, the time zone
2820 specified in the $timezone argument is used instead. This does not affect
2821 old code, as IntlCalendar was introduced in this version. (Gustavo)
2822 . IntlDateFormatter::__construct and datefmt_create() now accept for the
2823 $calendar argument also IntlCalendar objects. (Gustavo)
2824 . IntlDateFormatter::getCalendar() and datefmt_get_calendar() return false
2825 if the IntlDateFormatter was set up with an IntlCalendar instead of the
2826 constants IntlDateFormatter::GREGORIAN/TRADITIONAL. IntlCalendar did not
2827 exist before this version. (Gustavo)
2828 . IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also accept
2829 an IntlCalendar object, in which case its time zone is taken. Passing a
2830 constant is still allowed, and still keeps the time zone. (Gustavo)
2831 . IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
2832 deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone()
2833 instead. (Gustavo)
2834 . IntlDateFormatter::format() and datefmt_format() now also accept an
2835 IntlCalendar object for formatting. (Gustavo)
2836 . Added the classes: IntlCalendar, IntlGregorianCalendar, IntlTimeZone,
2837 IntlBreakIterator, IntlRuleBasedBreakIterator and
2838 IntlCodePointBreakIterator. (Gustavo)
2839 . Added the functions: intlcal_get_keyword_values_for_locale(),
2840 intlcal_get_now(), intlcal_get_available_locales(), intlcal_get(),
2841 intlcal_get_time(), intlcal_set_time(), intlcal_add(),
2842 intlcal_set_time_zone(), intlcal_after(), intlcal_before(), intlcal_set(),
2843 intlcal_roll(), intlcal_clear(), intlcal_field_difference(),
2844 intlcal_get_actual_maximum(), intlcal_get_actual_minimum(),
2845 intlcal_get_day_of_week_type(), intlcal_get_first_day_of_week(),
2846 intlcal_get_greatest_minimum(), intlcal_get_least_maximum(),
2847 intlcal_get_locale(), intlcal_get_maximum(),
2848 intlcal_get_minimal_days_in_first_week(), intlcal_get_minimum(),
2849 intlcal_get_time_zone(), intlcal_get_type(),
2850 intlcal_get_weekend_transition(), intlcal_in_daylight_time(),
2851 intlcal_is_equivalent_to(), intlcal_is_lenient(), intlcal_is_set(),
2852 intlcal_is_weekend(), intlcal_set_first_day_of_week(),
2853 intlcal_set_lenient(), intlcal_equals(),
2854 intlcal_get_repeated_wall_time_option(),
2855 intlcal_get_skipped_wall_time_option(),
2856 intlcal_set_repeated_wall_time_option(),
2857 intlcal_set_skipped_wall_time_option(), intlcal_from_date_time(),
2858 intlcal_to_date_time(), intlcal_get_error_code(),
2859 intlcal_get_error_message(), intlgregcal_create_instance(),
2860 intlgregcal_set_gregorian_change(), intlgregcal_get_gregorian_change() and
2861 intlgregcal_is_leap_year(). (Gustavo)
2862 . Added the functions: intltz_create_time_zone(), intltz_create_default(),
2863 intltz_get_id(), intltz_get_gmt(), intltz_get_unknown(),
2864 intltz_create_enumeration(), intltz_count_equivalent_ids(),
2865 intltz_create_time_zone_id_enumeration(), intltz_get_canonical_id(),
2866 intltz_get_region(), intltz_get_tz_data_version(),
2867 intltz_get_equivalent_id(), intltz_use_daylight_time(), intltz_get_offset(),
2868 intltz_get_raw_offset(), intltz_has_same_rules(), intltz_get_display_name(),
2869 intltz_get_dst_savings(), intltz_from_date_time_zone(),
2870 intltz_to_date_time_zone(), intltz_get_error_code(),
2871 intltz_get_error_message(). (Gustavo)
2872 . Added the methods: IntlDateFormatter::formatObject(),
2873 IntlDateFormatter::getCalendarObject(), IntlDateFormatter::getTimeZone(),
2874 IntlDateFormatter::setTimeZone(). (Gustavo)
2875 . Added the functions: datefmt_format_object(), datefmt_get_calendar_object(),
2876 datefmt_get_timezone(), datefmt_set_timezone(),
2877 datefmt_get_calendar_object(), intlcal_create_instance(). (Gustavo)
2878
2879- mbstring:
2880 . Fixed bug #64769 (mbstring PHPTs crash on Windows x64). (Anatol)
2881
2882- MCrypt
2883 . mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw
2884 E_DEPRECATED. (GoogleGuy)
2885
2886- mysql
2887 . This extension is now deprecated, and deprecation warnings will be generated
2888 when connections are established to databases via mysql_connect(),
2889 mysql_pconnect(), or through implicit connection: use MySQLi or PDO_MySQL
2890 instead (https://wiki.php.net/rfc/mysql_deprecation). (Adam)
2891 . Dropped support for LOAD DATA LOCAL INFILE handlers when using libmysql.
2892 Known for stability problems. (Andrey)
2893 . Added support for SHA256 authentication available with MySQL 5.6.6+.
2894 (Andrey)
2895
2896- mysqli:
2897 . Added mysqli_begin_transaction()/mysqli::begin_transaction(). Implemented
2898 all options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT
2899 and ROLLBACK through options to mysqli_commit()/mysqli_rollback() and their
2900 respective OO counterparts. They work in libmysql and mysqlnd mode. (Andrey)
2901 . Added mysqli_savepoint(), mysqli_release_savepoint(). (Andrey)
2902 . Fixed bug #64726 (Segfault when calling fetch_object on a use_result and DB
2903 pointer has closed). (Laruence)
2904 . Fixed bug #64394 (MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS undeclared when
2905 using Connector/C). (Andrey)
2906
2907- mysqlnd
2908 . Add new begin_transaction() call to the connection object. Implemented all
2909 options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT
2910 and ROLLBACK. (Andrey)
2911 . Added mysqlnd_savepoint(), mysqlnd_release_savepoint(). (Andrey)
2912 . Fixed bug #63530 (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc
2913 for stmt->param_bind). (Andrey)
2914 . Fixed return value of mysqli_stmt_affected_rows() in the time after
2915 prepare() and before execute(). (Andrey)
2916
2917- PCRE:
2918 . Merged PCRE 8.32. (Anatol)
2919 . Deprecated the /e modifier
2920 (https://wiki.php.net/rfc/remove_preg_replace_eval_modifier). (Nikita Popov)
2921 . Fixed bug #63284 (Upgrade PCRE to 8.31). (Anatoliy)
2922
2923- PDO:
2924 . Fixed bug #63176 (Segmentation fault when instantiate 2 persistent PDO to
2925 the same db server). (Laruence)
2926
2927- PDO_DBlib:
2928 . Fixed bug #63638 (Cannot connect to SQL Server 2008 with PDO dblib).
2929 (Stanley Sufficool)
2930 . Fixed bug #64338 (pdo_dblib can't connect to Azure SQL). (Stanley
2931 Sufficool)
2932 . Fixed bug #64808 (FreeTDS PDO getColumnMeta on a prepared but not executed
2933 statement crashes). (Stanley Sufficool)
2934
2935- PDO_pgsql:
2936 . Fixed Bug #64949 (Buffer overflow in _pdo_pgsql_error). (Remi)
2937
2938- PDO_mysql:
2939 . Fixed bug #48724 (getColumnMeta() doesn't return native_type for BIT,
2940 TINYINT and YEAR). (Antony, Daniel Beardsley)
2941
2942- pgsql:
2943 . Added pg_escape_literal() and pg_escape_identifier() (Yasuo)
2944 . Bug #46408: Locale number format settings can cause pg_query_params to
2945 break with numerics. (asmecher, Lars)
2946
2947- Phar:
2948 . Fixed timestamp update on Phar contents modification. (Dmitry)
2949
2950- Readline:
2951 . Implement FR #55694 (Expose additional readline variable to prevent
2952 default filename completion). (Hartmel)
2953
2954- Reflection:
2955 . Fixed bug #64007 (There is an ability to create instance of Generator by
2956 hand). (Laruence)
2957
2958- Sockets:
2959 . Added recvmsg() and sendmsg() wrappers. (Gustavo)
2960 See https://wiki.php.net/rfc/sendrecvmsg
2961 . Fixed bug #64508 (Fails to build with --disable-ipv6). (Gustavo)
2962 . Fixed bug #64287 (sendmsg/recvmsg shutdown handler causes segfault).
2963 (Gustavo)
2964
2965- SPL:
2966 . Fixed bug #64997 (Segfault while using RecursiveIteratorIterator on
2967 64-bits systems). (Laruence)
2968 . Fixed bug #64264 (SPLFixedArray toArray problem). (Laruence)
2969 . Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS).
2970 (patch by kriss@krizalys.com, Laruence)
2971 . Fixed bug #64106 (Segfault on SplFixedArray[][x] = y when extended).
2972 (Nikita Popov)
2973 . Fix bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0,
2974 keys are strings). (Adam)
2975 . Fixed bug #52861 (unset fails with ArrayObject and deep arrays).
2976 (Mike Willbanks)
2977 . Implement FR #48358 (Add SplDoublyLinkedList::add() to insert an element
2978 at a given offset). (Mark Baker, David Soria Parra)
2979
2980- SNMP:
2981 . Fixed bug #64765 (Some IPv6 addresses get interpreted wrong).
2982 (Boris Lytochkin)
2983 . Fixed bug #64159 (Truncated snmpget). (Boris Lytochkin)
2984 . Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)
2985 . Fixed bug #61981 (OO API, walk: $suffix_as_key is not working correctly).
2986 (Boris Lytochkin)
2987
2988- SOAP:
2989 . Added SoapClient constructor option 'ssl_method' to specify ssl method.
2990 (Eric Iversen)
2991
2992- Streams:
1080- Streams:
2993 . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
2994 on Windows x64). (Anatol)
2995 . Fixed Windows x64 version of stream_socket_pair() and improved error
2996 handling. (Anatol Belski)
1081 . Fixed bug #70361 (HTTP stream wrapper doesn't close keep-alive connections).
1082 (Niklas Keller)
1083 . Fixed bug #68532 (convert.base64-encode omits padding bytes).
1084 (blaesius at krumedia dot de)
1085 . Removed set_socket_blocking() in favor of its alias stream_set_blocking().
1086 (Nikita)
2997
2998- Tokenizer:
1087
1088- Tokenizer:
2999 . Fixed bug #60097 (token_get_all fails to lex nested heredoc). (Nikita Popov)
1089 . Fixed bug #69430 (token_get_all has new irrecoverable errors). (Nikita)
3000
1090
3001- Zip:
3002 . Upgraded libzip to 0.10.1 (Anatoliy)
3003 . Bug #64452 (Zip crash intermittently). (Anatol)
3004 . Fixed bug #64342 (ZipArchive::addFile() has to check for file existence).
3005 (Anatol)
1091- XMLReader:
1092 . Fixed bug #70309 (XmlReader read generates extra output). (Anatol)
3006
1093
300706 Jun 2013, PHP 5.4.16
1094- XMLRPC
1095 . Fixed bug #70526 (xmlrpc_set_type returns false on success). (Laruence)
3008
1096
3009- Core:
3010 . Fixed bug #64879 (Heap based buffer overflow in quoted_printable_encode,
3011 CVE 2013-2110). (Stas)
3012 . Fixed bug #64853 (Use of no longer available ini directives causes crash on
3013 TS build). (Anatol)
3014 . Fixed bug #64729 (compilation failure on x32). (Gustavo)
3015 . Fixed bug #64720 (SegFault on zend_deactivate). (Dmitry)
3016 . Fixed bug #64660 (Segfault on memory exhaustion within function definition).
3017 (Stas, reported by Juha Kylm��nen)
1097- XSL:
1098 . Fixed bug #70678 (PHP7 returns true when false is expected). (Felipe)
1099 . Fixed bug #70535 (XSLT: free(): invalid pointer). (Laruence)
1100 . Fixed bug #69782 (NULL pointer dereference). (Stas)
1101 . Fixed bug #64776 (The XSLT extension is not thread safe). (Mike)
1102 . Removed xsl.security_prefs ini option. (Nikita)
3018
1103
3019- Calendar:
3020 . Fixed bug #64895 (Integer overflow in SndToJewish). (Remi)
3021
3022- Fileinfo:
3023 . Fixed bug #64830 (mimetype detection segfaults on mp3 file). (Anatol)
3024
3025- FPM:
3026 . Ignore QUERY_STRING when sent in SCRIPT_FILENAME. (Remi)
3027 . Fixed some possible memory or resource leaks and possible null dereference
3028 detected by code coverity scan. (Remi)
3029 . Log a warning when a syscall fails. (Remi)
3030 . Add --with-fpm-systemd option to report health to systemd, and
3031 systemd_interval option to configure this. The service can now use
3032 Type=notify in the systemd unit file. (Remi)
3033
3034- MySQLi
3035 . Fixed bug #64726 (Segfault when calling fetch_object on a use_result and DB
3036 pointer has closed). (Laruence)
3037
3038- Phar
3039 . Fixed bug #64214 (PHAR PHPTs intermittently crash when run on DFS, SMB or
3040 with non std tmp dir). (Pierre)
3041
3042- SNMP:
3043 . Fixed bug #64765 (Some IPv6 addresses get interpreted wrong).
3044 (Boris Lytochkin)
3045 . Fixed bug #64159 (Truncated snmpget). (Boris Lytochkin)
3046
3047- Streams:
3048 . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
3049 on Windows x64). (Anatol)
3050
3051- Zend Engine:
3052 . Fixed bug #64821 (Custom Exceptions crash when internal properties
3053 overridden). (Anatol)
3054
305509 May 2013, PHP 5.4.15
3056- Core:
3057 . Fixed bug #64578 (debug_backtrace in set_error_handler corrupts zend heap:
3058 segfault). (Laruence)
3059 . Fixed bug #64458 (dns_get_record result with string of length -1). (Stas)
3060 . Fixed bug #64433 (follow_location parameter of context is ignored for most
3061 response codes). (Sergey Akbarov)
3062 . Fixed bugs #47675 and #64577 (fd leak on Solaris)
3063
3064- Fileinfo:
3065 . Upgraded libmagic to 5.14. (Anatol)
3066
3067- MySQLi:
3068 . Fixed bug #64726 (Segfault when calling fetch_object on a use_result and DB
3069 pointer has closed). (Laruence)
3070
3071- Zip:
3072 . Fixed bug #64342 (ZipArchive::addFile() has to check for file existence).
3073 (Anatol)
3074
3075- Streams:
3076 . Fixed Windows x64 version of stream_socket_pair() and improved error
3077 handling. (Anatol Belski)
3078 . Fixed bug #64770 (stream_select() fails with pipes returned by proc_open()
3079 on Windows x64). (Anatol)
3080
308111 Apr 2013, PHP 5.4.14
3082
3083- Core:
3084 . Fixed bug #64529 (Ran out of opcode space). (Dmitry)
3085 . Fixed bug #64515 (Memoryleak when using the same variablename two times in
3086 function declaration). (Laruence)
3087 . Fixed bug #64432 (more empty delimiter warning in strX methods). (Laruence)
3088 . Fixed bug #64417 (ArrayAccess::&offsetGet() in a trait causes fatal error).
3089 (Dmitry)
3090 . Fixed bug #64370 (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).
3091 (Anatol)
3092 . Fixed bug #64239 (Debug backtrace changed behavior since 5.4.10 or 5.4.11).
3093 (Dmitry, Laruence)
3094 . Fixed bug #63976 (Parent class incorrectly using child constant in class
3095 property). (Dmitry)
3096 . Fixed bug #63914 (zend_do_fcall_common_helper_SPEC does not handle
3097 exceptions properly). (Jeff Welch)
3098 . Fixed bug #62343 (Show class_alias In get_declared_classes()) (Dmitry)
3099
3100- PCRE:
3101 . Merged PCRE 8.32. (Anatol)
3102
3103- SNMP:
3104 . Fixed bug #61981 (OO API, walk: $suffix_as_key is not working correctly).
3105 (Boris Lytochkin)
3106
3107- Zip:
3108 . Bug #64452 (Zip crash intermittently). (Anatol)
3109
311014 Mar 2013, PHP 5.4.13
3111
3112- Core:
3113 . Fixed bug #64354 (Unserialize array of objects whose class can't
3114 be autoloaded fail). (Laruence)
3115 . Fixed bug #64235 (Insteadof not work for class method in 5.4.11).
3116 (Laruence)
3117 . Fixed bug #64197 (_Offsetof() macro used but not defined on ARM/Clang).
3118 (Ard Biesheuvel)
3119 . Implemented FR #64175 (Added HTTP codes as of RFC 6585). (Jonh Wendell)
3120 . Fixed bug #64142 (dval to lval different behavior on ppc64). (Remi)
3121 . Fixed bug #64070 (Inheritance with Traits failed with error). (Dmitry)
3122
3123- CLI server:
3124 . Fixed bug #64128 (buit-in web server is broken on ppc64). (Remi)
3125
3126- Mbstring:
3127 . mb_split() can now handle empty matches like preg_split() does. (Moriyoshi)
3128
3129- mysqlnd
3130 . Fixed bug #63530 (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc
3131 for stmt->param_bind). (Andrey)
3132
3133- OpenSSL:
3134 . New SSL stream context option to prevent CRIME attack vector. (Daniel Lowrey,
3135 Lars)
3136 . Fixed bug #61930 (openssl corrupts ssl key resource when using
3137 openssl_get_publickey()). (Stas)
3138
3139- PDO_mysql:
3140 . Fixed bug #60840 (undefined symbol: mysqlnd_debug_std_no_trace_funcs).
3141 (Johannes)
3142
3143- Phar:
3144 . Fixed timestamp update on Phar contents modification. (Dmitry)
3145
3146- SOAP
3147 . Added check that soap.wsdl_cache_dir conforms to open_basedir
3148 (CVE-2013-1635). (Dmitry)
3149 . Disabled external entities loading (CVE-2013-1643, CVE-2013-1824).
3150 (Dmitry)
3151
3152- Phar:
3153 . Fixed timestamp update on Phar contents modification. (Dmitry)
3154
3155- SPL:
3156 . Fixed bug #64264 (SPLFixedArray toArray problem). (Laruence)
3157 . Fixed bug #64228 (RecursiveDirectoryIterator always assumes SKIP_DOTS).
3158 (patch by kriss@krizalys.com, Laruence)
3159 . Fixed bug #64106 (Segfault on SplFixedArray[][x] = y when extended).
3160 (Nikita Popov)
3161 . Fixed bug #52861 (unset fails with ArrayObject and deep arrays).
3162 (Mike Willbanks)
3163
3164- SNMP:
3165 . Fixed bug #64124 (IPv6 malformed). (Boris Lytochkin)
3166
316721 Feb 2013, PHP 5.4.12
3168
3169- Core:
3170 . Fixed bug #64099 (Wrong TSRM usage in zend_Register_class alias). (Johannes)
3171 . Fixed bug #64011 (get_html_translation_table() output incomplete with
3172 HTML_ENTITIES and ISO-8859-1). (Gustavo)
3173 . Fixed bug #63982 (isset() inconsistently produces a fatal error on
3174 protected property). (Stas)
3175 . Fixed bug #63943 (Bad warning text from strpos() on empty needle).
3176 (Laruence)
3177 . Fixed bug #63899 (Use after scope error in zend_compile). (Laruence)
3178 . Fixed bug #63893 (Poor efficiency of strtr() using array with keys of very
3179 different length). (Gustavo)
3180 . Fixed bug #63882 (zend_std_compare_objects crash on recursion). (Dmitry)
3181 . Fixed bug #63462 (Magic methods called twice for unset protected
3182 properties). (Stas)
3183 . Fixed bug #62524 (fopen follows redirects for non-3xx statuses).
3184 (Wes Mason)
3185 . Support BITMAPV5HEADER in getimagesize(). (AsamK, Lars)
3186
3187- Date:
3188 . Fixed bug #63699 (Performance improvements for various ext/date functions).
3189 (Lars, original patch by njaguar at gmail dot com)
3190 . Fixed bug #55397: Comparsion of incomplete DateTime causes SIGSEGV.
3191 (Derick)
3192
3193- FPM:
3194 . Fixed bug #63999 (php with fpm fails to build on Solaris 10 or 11). (Adam)
3195
3196- Litespeed:
3197 . Fixed bug #63228 (-Werror=format-security error in lsapi code).
3198 (Elan Ruusam��e, George)
3199
3200- ext/sqlite3:
3201 . Fixed bug #63921 (sqlite3::bindvalue and relative PHP functions aren't
3202 using sqlite3_*_int64 API). (srgoogleguy, Lars)
3203
3204- PDO_OCI
3205 . Fixed bug #57702 (Multi-row BLOB fetches). (hswong3i, Laruence)
3206 . Fixed bug #52958 (Segfault in PDO_OCI on cleanup after running a long
3207 testsuite). (hswong3i, Lars)
3208
3209- PDO_sqlite:
3210 . Fixed bug #63916 (PDO::PARAM_INT casts to 32bit int internally even
3211 on 64bit builds in pdo_sqlite). (srgoogleguy, Lars)
3212
321317 Jan 2013, PHP 5.4.11
3214
3215- Core:
3216 . Fixed bug #63762 (Sigsegv when Exception::$trace is changed by user).
3217 (Johannes)
3218 . Fixed bug #43177 (Errors in eval()'ed code produce status code 500).
3219 (Todd Ruth, Stas).
3220
3221- Filter:
3222 . Fixed bug #63757 (getenv() produces memory leak with CGI SAPI). (Dmitry)
3223 . Fixed bug #54096 (FILTER_VALIDATE_INT does not accept +0 and -0).
3224 (martin at divbyzero dot net, Lars)
3225
3226- JSON:
3227 . Fixed bug #63737 (json_decode does not properly decode with options
3228 parameter). (Adam)
3229
3230- CLI server
3231 . Update list of common mime types. Added webm, ogv, ogg. (Lars,
3232 pascalc at gmail dot com)
3233
3234- cURL extension:
3235 . Fixed bug (segfault due to libcurl connection caching). (Pierrick)
3236 . Fixed bug #63859 (Memory leak when reusing curl-handle). (Pierrick)
3237 . Fixed bug #63795 (CURL >= 7.28.0 no longer support value 1 for
3238 CURLOPT_SSL_VERIFYHOST). (Pierrick)
3239 . Fixed bug #63352 (Can't enable hostname validation when using curl stream
3240 wrappers). (Pierrick)
3241 . Fixed bug #55438 (Curlwapper is not sending http header randomly).
3242 (phpnet@lostreality.org, Pierrick)
3243
324420 Dec 2012, PHP 5.4.10
3245
3246- Core:
3247 . Fixed bug #63726 (Memleak with static properties and internal/user
3248 classes). (Laruence)
3249 . Fixed bug #63635 (Segfault in gc_collect_cycles). (Dmitry)
3250 . Fixed bug #63512 (parse_ini_file() with INI_SCANNER_RAW removes quotes
3251 from value). (Pierrick)
3252 . Fixed bug #63468 (wrong called method as callback with inheritance).
3253 (Laruence)
3254 . Fixed bug #63451 (config.guess file does not have AIX 7 defined,
3255 shared objects are not created). (kemcline at au1 dot ibm dot com)
3256 . Fixed bug #61557 (Crasher in tt-rss backend.php).
3257 (i dot am dot jack dot mail at gmail dot com)
3258 . Fixed bug #61272 (ob_start callback gets passed empty string).
3259 (Mike, casper at langemeijer dot eu)
3260
3261- Date:
3262 . Fixed bug #63666 (Poor date() performance). (Paul Taulborg).
3263 . Fixed bug #63435 (Datetime::format('u') sometimes wrong by 1 microsecond).
3264 (Remi)
3265
3266- Imap:
3267 . Fixed bug #63126 (DISABLE_AUTHENTICATOR ignores array). (Remi)
3268
3269- Json:
3270 . Fixed bug #63588 (use php_next_utf8_char and remove duplicate
3271 implementation). (Remi)
3272
3273- MySQLi:
3274 . Fixed bug #63361 (missing header). (Remi)
3275
3276- MySQLnd:
3277 . Fixed bug #63398 (Segfault when polling closed link). (Laruence)
3278
3279- Fileinfo:
3280 . Fixed bug #63590 (Different results in TS and NTS under Windows).
3281 (Anatoliy)
3282
3283- FPM:
3284 . Fixed bug #63581 Possible null dereference and buffer overflow (Remi)
3285
3286- Pdo_sqlite:
3287 . Fixed Bug #63149 getColumnMeta should return the table name
3288 when system SQLite used. (Remi)
3289
3290- Apache2 Handler SAPI:
3291 . Enabled Apache 2.4 configure option for Windows (Pierre, Anatoliy)
3292
3293- Reflection:
3294 . Fixed Bug #63614 (Fatal error on Reflection). (Laruence)
3295
3296- SOAP
3297 . Fixed bug #63271 (SOAP wsdl cache is not enabled after initial requests).
3298 (John Jawed, Dmitry)
3299
3300- Sockets
3301 . Fixed bug #49341 (Add SO_REUSEPORT support for socket_set_option()).
3302 (Igor Wiedler, Lars)
3303
3304- SPL
3305 . Fixed bug #63680 (Memleak in splfixedarray with cycle reference). (Laruence)
3306
330722 Nov 2012, PHP 5.4.9
3308
3309- Core:
3310 . Fixed bug #63305 (zend_mm_heap corrupted with traits). (Dmitry, Laruence)
3311 . Fixed bug #63369 ((un)serialize() leaves dangling pointers, causes crashes).
3312 (Tony, Andrew Sitnikov)
3313 . Fixed bug #63241 (PHP fails to open Windows deduplicated files).
3314 (daniel dot stelter-gliese at innogames dot de)
3315 . Fixed bug #62444 (Handle leak in is_readable on windows).
3316 (krazyest at seznam dot cz)
3317
3318- Curl:
3319 . Fixed bug #63363 (Curl silently accepts boolean true for SSL_VERIFYHOST).
3320 Patch by John Jawed GitHub PR #221 (Anthony)
3321
3322- Fileinfo:
3323 . Fixed bug #63248 (Load multiple magic files from a directory under Windows).
3324 (Anatoliy)
3325
3326- Libxml
3327 . Fixed bug #63389 (Missing context check on libxml_set_streams_context()
3328 causes memleak). (Laruence)
3329
3330- Mbstring:
3331 . Fixed bug #63447 (max_input_vars doesn't filter variables when
3332 mbstring.encoding_translation = On). (Laruence)
3333
3334- OCI8:
3335 . Fixed bug #63265 (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)
3336 (Chris Jones)
3337
3338- PCRE:
3339 . Fixed bug #63180 (Corruption of hash tables). (Dmitry)
3340 . Fixed bug #63055 (Segfault in zend_gc with SF2 testsuite).
3341 (Dmitry, Laruence)
3342 . Fixed bug #63284 (Upgrade PCRE to 8.31). (Anatoliy)
3343
3344- PDO:
3345 . Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
3346 (Martin Osvald, Remi)
3347
3348- PDO_pgsql:
3349 . Fixed bug #62593 (Emulate prepares behave strangely with PARAM_BOOL).
3350 (Will Fitch)
3351
3352- Phar:
3353 . Fixed bug #63297 (Phar fails to write an openssl based signature).
3354 (Anatoliy)
3355
3356- Streams:
3357 . Fixed bug #63240 (stream_get_line() return contains delimiter string).
3358 (Tjerk, Gustavo)
3359
3360- Reflection:
3361 . Fixed bug #63399 (ReflectionClass::getTraitAliases() incorrectly resolves
3362 traitnames). (Laruence)
3363
336418 Oct 2012, PHP 5.4.8
3365
3366- CLI server:
3367 . Implemented FR #63242 (Default error page in PHP built-in web server uses
3368 outdated html/css). (pascal.chevrel@free.fr)
3369 . Changed response to unknown HTTP method to 501 according to RFC.
3370 (Niklas Lindgren).
3371 . Support HTTP PATCH method. Patch by Niklas Lindgren, GitHub PR #190.
3372 (Lars)
3373
3374- Core:
3375 . Fixed bug #63219 (Segfault when aliasing trait method when autoloader
3376 throws excpetion). (Laruence)
3377 . Added optional second argument for assert() to specify custom message. Patch
3378 by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
3379 . Support building PHP with the native client toolchain. (Stuart Langley)
3380 . Added --offline option for tests. (Remi)
3381 . Fixed bug #63162 (parse_url does not match password component). (husman)
3382 . Fixed bug #63111 (is_callable() lies for abstract static method). (Dmitry)
3383 . Fixed bug #63093 (Segfault while load extension failed in zts-build).
3384 (Laruence)
3385 . Fixed bug #62976 (Notice: could not be converted to int when comparing
3386 some builtin classes). (Laruence)
3387 . Fixed bug #62955 (Only one directive is loaded from "Per Directory Values"
3388 Windows registry). (aserbulov at parallels dot com)
3389 . Fixed bug #62907 (Double free when use traits). (Dmitry)
3390 . Fixed bug #61767 (Shutdown functions not called in certain error
3391 situation). (Dmitry)
3392 . Fixed bug #60909 (custom error handler throwing Exception + fatal error
3393 = no shutdown function). (Dmitry)
3394 . Fixed bug #60723 (error_log error time has changed to UTC ignoring default
3395 timezone). (Laruence)
3396
3397- cURL:
3398 . Fixed bug #62085 (file_get_contents a remote file by Curl wrapper will
3399 cause cpu Soaring). (Pierrick)
3400
3401- Date:
3402 . Fixed bug #62896 ("DateTime->modify('+0 days')" modifies DateTime object)
3403 (Lonny Kapelushnik)
3404 . Fixed bug #62561 (DateTime add 'P1D' adds 25 hours). (Lonny Kapelushnik)
3405
3406- DOM:
3407 . Fixed bug #63015 (Incorrect arginfo for DOMErrorHandler). (Rob)
3408
3409- FPM:
3410 . Fixed bug #62954 (startup problems fpm / php-fpm). (fat)
3411 . Fixed bug #62886 (PHP-FPM may segfault/hang on startup). (fat)
3412 . Fixed bug #63085 (Systemd integration and daemonize). (remi, fat)
3413 . Fixed bug #62947 (Unneccesary warnings on FPM). (fat)
3414 . Fixed bug #62887 (Only /status?plain&full gives "last request cpu"). (fat)
3415 . Fixed bug #62216 (Add PID to php-fpm init.d script). (fat)
3416
3417- OCI8:
3418 . Fixed bug #60901 (Improve "tail" syntax for AIX installation) (Chris Jones)
3419
3420- OpenSSL:
3421 . Implemented FR #61421 (OpenSSL signature verification missing RMD160,
3422 SHA224, SHA256, SHA384, SHA512). (Mark Jones)
3423
3424- PDO:
3425 . Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link,
3426 DBQUOTEDIDENT, 1)). (Laruence)
3427 . Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec).
3428 (Martin Osvald, Remi)
3429
3430- PDO Firebird:
3431 . Fixed bug #63214 (Large PDO Firebird Queries).
3432 (james at kenjim dot com)
3433
3434- SOAP
3435 . Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
3436 (Dmitry)
3437
3438- SPL:
3439 . Bug #62987 (Assigning to ArrayObject[null][something] overrides all
3440 undefined variables). (Laruence)
3441
3442- mbstring:
3443 . Allow passing null as a default value to mb_substr() and mb_strcut(). Patch
3444 by Alexander Moskaliov via GitHub PR #133. (Lars)
3445
3446- Filter extension:
3447 . Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty
3448 string or false. (Lars)
3449
3450- Sockets
3451 . Fixed bug #63000 (MCAST_JOIN_GROUP on OSX is broken, merge of PR 185 by
3452 Igor Wiedler). (Lars)
3453
345413 Sep 2012, PHP 5.4.7
3455
3456- Core:
3457 . Fixed bug (segfault while build with zts and GOTO vm-kind). (Laruence)
3458 . Fixed bug #62844 (parse_url() does not recognize //). (Andrew Faulds).
3459 . Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not
3460 set). (Felipe)
3461 . Fixed bug #62763 (register_shutdown_function and extending class).
3462 (Laruence)
3463 . Fixed bug #62725 (Calling exit() in a shutdown function does not return
3464 the exit value). (Laruence)
3465 . Fixed bug #62744 (dangling pointers made by zend_disable_class). (Laruence)
3466 . Fixed bug #62716 (munmap() is called with the incorrect length).
3467 (slangley@google.com)
3468 . Fixed bug #62358 (Segfault when using traits a lot). (Laruence)
3469 . Fixed bug #62328 (implementing __toString and a cast to string fails)
3470 (Laruence)
3471 . Fixed bug #51363 (Fatal error raised by var_export() not caught by error
3472 handler). (Lonny Kapelushnik)
3473 . Fixed bug #40459 (Stat and Dir stream wrapper methods do not call
3474 constructor). (Stas)
3475
3476- CURL:
3477 . Fixed bug #62912 (CURLINFO_PRIMARY_* AND CURLINFO_LOCAL_* not exposed).
3478 (Pierrick)
3479 . Fixed bug #62839 (curl_copy_handle segfault with CURLOPT_FILE). (Pierrick)
3480
3481- Intl:
3482 . Fixed Spoofchecker not being registered on ICU 49.1. (Gustavo)
3483 . Fix bug #62933 (ext/intl compilation error on icu 3.4.1). (Gustavo)
3484 . Fix bug #62915 (defective cloning in several intl classes). (Gustavo)
3485
3486- Installation:
3487 . Fixed bug #62460 (php binaries installed as binary.dSYM). (Reeze Xia)
3488
3489- PCRE:
3490 . Fixed bug #55856 (preg_replace should fail on trailing garbage).
3491 (reg dot php at alf dot nu)
3492
3493- PDO:
3494 . Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()). (Laruence)
3495
3496- Reflection:
3497 . Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing
3498 trait methods as private). (Felipe)
3499 . Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong
3500 result). (Laruence)
3501
3502- Session:
3503 . Fixed bug (segfault due to retval is not initialized). (Laruence)
3504 . Fixed bug (segfault due to PS(mod_user_implemented) not be reseted
3505 when close handler call exit). (Laruence)
3506
3507- SOAP
3508 . Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
3509 (Dmitry)
3510
3511- SPL:
3512 . Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray)
3513 (Laruence)
3514 . Implemented FR #62840 (Add sort flag to ArrayObject::ksort). (Laruence)
3515
3516- Standard:
3517 . Fixed bug #62836 (Seg fault or broken object references on unserialize()).
3518 (Laruence)
3519
3520- FPM:
3521 . Merged PR 121 by minitux to add support for slow request counting on PHP
3522 FPM status page. (Lars)
3523
352416 Aug 2012, PHP 5.4.6
3525
3526- CLI Server:
3527 . Implemented FR #62700 (have the console output 'Listening on
3528 http://localhost:8000'). (pascal.chevrel@free.fr)
3529
3530- Core:
3531 . Fixed bug #62661 (Interactive php-cli crashes if include() is used in
3532 auto_prepend_file). (Laruence)
3533 . Fixed bug #62653: (unset($array[$float]) causes a crash). (Nikita Popov,
3534 Laruence)
3535 . Fixed bug #62565 (Crashes due non-initialized internal properties_table).
3536 (Felipe)
3537 . Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK
3538 with run-test.php). (Laruence)
3539
3540- CURL:
3541 . Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).
3542 (r.hampartsumyan@gmail.com, Laruence)
3543
3544- DateTime:
3545 . Fixed Bug #62500 (Segfault in DateInterval class when extended). (Laruence)
3546
3547- Fileinfo:
3548 . Fixed bug #61964 (finfo_open with directory causes invalid free).
3549 (reeze.xia@gmail.com)
3550
3551- Intl:
3552 . Fixed bug #62564 (Extending MessageFormatter and adding property causes
3553 crash). (Felipe)
3554
3555- MySQLnd:
3556 . Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode). (Laruence)
3557
3558- readline:
3559 . Fixed bug #62612 (readline extension compilation fails with
3560 sapi/cli/cli.h: No such file). (Johannes)
3561
3562- Reflection:
3563 . Implemented FR #61602 (Allow access to name of constant used as default
3564 value). (reeze.xia@gmail.com)
3565
3566- SimpleXML:
3567 . Implemented FR #55218 Get namespaces from current node. (Lonny)
3568
3569- SPL:
3570 . Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
3571 gives Segmentation fault). (Laruence, Gustavo)
3572 . Fixed bug #61527 (ArrayIterator gives misleading notice on next() when
3573 moved to the end). (reeze.xia@gmail.com)
3574
3575- Streams:
3576 . Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build).
3577 (Laruence)
3578
3579- Zlib:
1104- Zlib:
3580 . Fixed bug #55544 (ob_gzhandler always conflicts with
3581 zlib.output_compression). (Laruence)
1105 . Added deflate_init(), deflate_add(), inflate_init(), inflate_add()
1106 functions allowing incremental/streaming compression/decompression.
1107 (Daniel Lowrey & Bob Weinand)
3582
1108
358319 Jul 2012, PHP 5.4.5
3584
3585- Core:
3586 . Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed
3587 Salt). (Anthony Ferrara)
3588 . Fixed bug #62432 (ReflectionMethod random corrupt memory on high
3589 concurrent). (Johannes)
3590 . Fixed bug #62373 (serialize() generates wrong reference to the object).
3591 (Moriyoshi)
3592 . Fixed bug #62357 (compile failure: (S) Arguments missing for built-in
3593 function __memcmp). (Laruence)
3594 . Fixed bug #61998 (Using traits with method aliases appears to result in
3595 crash during execution). (Dmitry)
3596 . Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that
3597 includes a semi-colon). (Pierrick)
3598 . Fixed potential overflow in _php_stream_scandir (CVE-2012-2688).
3599 (Jason Powell, Stas)
3600
3601- EXIF:
3602 . Fixed information leak in ext exif (discovered by Martin Noga,
3603 Matthew "j00ru" Jurczyk, Gynvael Coldwind)
3604
3605- FPM:
3606 . Fixed bug #62205 (php-fpm segfaults (null passed to strstr)). (fat)
3607 . Fixed bug #62160 (Add process.priority to set nice(2) priorities). (fat)
3608 . Fixed bug #62153 (when using unix sockets, multiples FPM instances
3609 . Fixed bug #62033 (php-fpm exits with status 0 on some failures to start).
3610 (fat)
3611 . Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm). (fat)
3612 . Fixed bug #61835 (php-fpm is not allowed to run as root). (fat)
3613 . Fixed bug #61295 (php-fpm should not fail with commented 'user'
3614 . Fixed bug #61218 (FPM drops connection while receiving some binary values
3615 in FastCGI requests). (fat)
3616 . Fixed bug #61045 (fpm don't send error log to fastcgi clients). (fat)
3617 for non-root start). (fat)
3618 . Fixed bug #61026 (FPM pools can listen on the same address). (fat)
3619 can be launched without errors). (fat)
3620
3621- Iconv:
3622 . Fix bug #55042 (Erealloc in iconv.c unsafe). (Stas)
3623
3624- Intl:
3625 . Fixed bug #62083 (grapheme_extract() memory leaks). (Gustavo)
3626 . ResourceBundle constructor now accepts NULL for the first two arguments.
3627 (Gustavo)
3628 . Fixed bug #62081 (IntlDateFormatter constructor leaks memory when called
3629 twice). (Gustavo)
3630 . Fixed bug #62070 (Collator::getSortKey() returns garbage). (Gustavo)
3631 . Fixed bug #62017 (datefmt_create with incorrectly encoded timezone leaks
3632 pattern). (Gustavo)
3633 . Fixed bug #60785 (memory leak in IntlDateFormatter constructor). (Gustavo)
3634
3635- JSON:
3636 . Fixed bug #61359 (json_encode() calls too many reallocs). (Stas)
3637
3638- libxml:
3639 . Fixed bug #62266 (Custom extension segfaults during xmlParseFile with FPM
3640 SAPI). (Gustavo)
3641
3642- Phar:
3643 . Fixed bug #62227 (Invalid phar stream path causes crash). (Felipe)
3644
3645- Readline:
3646 . Fixed bug #62186 (readline fails to compile - void function should not
3647 return a value). (Johannes)
3648
3649- Reflection:
3650 . Fixed bug #62384 (Attempting to invoke a Closure more than once causes
3651 segfault). (Felipe)
3652 . Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory leaks
3653 with constant). (Laruence)
3654
3655- Sockets:
3656 . Fixed bug #62025 (__ss_family was changed on AIX 5.3). (Felipe)
3657
3658- SPL:
3659 . Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to
3660 dot files). (Laruence)
3661 . Fixed bug #62262 (RecursiveArrayIterator does not implement Countable).
3662 (Nikita Popov)
3663
3664- XML Writer:
3665 . Fixed bug #62064 (memory leak in the XML Writer module).
3666 (jean-pierre dot lozi at lip6 dot fr)
3667
3668- Zip:
1109- Zip:
3669 . Upgraded libzip to 0.10.1 (Anatoliy)
1110 . Fixed bug #70322 (ZipArchive::close() doesn't indicate errors). (cmb)
1111 . Fixed bug #70350 (ZipArchive::extractTo allows for directory traversal when
1112 creating directories). (neal at fb dot com)
1113 . Added ZipArchive::setCompressionName and ZipArchive::setCompressionIndex
1114 methods. (Remi, Cedric Delmas)
1115 . Update bundled libzip to 1.0.1. (Remi, Anatol)
1116 . Fixed bug #67161 (ZipArchive::getStream() returns NULL for certain file).
1117 (Christoph M. Becker)
3670
1118
367114 Jun 2012, PHP 5.4.4
3672
3673- COM:
3674 . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
3675
3676- CLI Server:
3677 . Implemented FR #61977 (Need CLI web-server support for files with .htm &
3678 svg extensions). (Sixd, Laruence)
3679 . Improved performance while sending error page, this also fixed
3680 bug #61785 (Memory leak when access a non-exists file without router).
3681 (Laruence)
3682 . Fixed bug #61546 (functions related to current script failed when chdir()
3683 in cli sapi). (Laruence, reeze.xia@gmail.com)
3684
3685- Core:
3686 . Fixed missing bound check in iptcparse(). (chris at chiappa.net)
3687 . Fixed CVE-2012-2143. (Solar Designer)
3688 . Fixed bug #62097 (fix for for bug #54547). (Gustavo)
3689 . Fixed bug #62005 (unexpected behavior when incrementally assigning to a
3690 member of a null object). (Laruence)
3691 . Fixed bug #61978 (Object recursion not detected for classes that implement
3692 JsonSerializable). (Felipe)
3693 . Fixed bug #61991 (long overflow in realpath_cache_get()). (Anatoliy)
3694 . Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config).
3695 (Laruence)
3696 . Fixed bug #61827 (incorrect \e processing on Windows) (Anatoliy)
3697 . Fixed bug #61782 (__clone/__destruct do not match other methods when checking
3698 access controls). (Stas)
3699 . Fixed bug #61764 ('I' unpacks n as signed if n > 2^31-1 on LP64). (Gustavo)
3700 . Fixed bug #61761 ('Overriding' a private static method with a different
3701 signature causes crash). (Laruence)
3702 . Fixed bug #61730 (Segfault from array_walk modifying an array passed by
3703 reference). (Laruence)
3704 . Fixed bug #61728 (PHP crash when calling ob_start in request_shutdown
3705 phase). (Laruence)
3706 . Fixed bug #61713 (Logic error in charset detection for htmlentities).
3707 (Anatoliy)
3708 . Fixed bug #61660 (bin2hex(hex2bin($data)) != $data). (Nikita Popov)
3709 . Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables
3710 (without apache2)). (Laruence)
3711 . Fixed bug #61605 (header_remove() does not remove all headers). (Laruence)
3712 . Fixed bug #54547 (wrong equality of string numbers). (Gustavo)
3713 . Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename
3714 set to null). (Anatoliy)
3715 . Changed php://fd to be available only for CLI.
3716
3717- CURL:
3718 . Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction).
3719 (Laruence)
3720
3721- Fileinfo
3722 . Fixed bug #61812 (Uninitialised value used in libmagic).
3723 (Laruence, Gustavo)
3724 . Fixed bug #61566 failure caused by the posix lseek and read versions
3725 under windows in cdf_read(). (Anatoliy)
3726 . Fixed bug #61565 where php_stream_open_wrapper_ex tries to open a
3727 directory descriptor under windows. (Anatoliy)
3728
3729- Intl
3730 . Fixed bug #62082 (Memory corruption in internal function
3731 get_icu_disp_value_src_php()). (Gustavo)
3732
3733- Libxml:
3734 . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
3735 (Laruence)
3736
3737- PDO:
3738 . Fixed bug #61755 (A parsing bug in the prepared statements can lead to
3739 access violations). (Johannes)
3740
3741- Phar:
3742 . Fixed bug #61065 (Secunia SA44335, CVE-2012-2386). (Rasmus)
3743
3744- Pgsql:
3745 . Added pg_escape_identifier/pg_escape_literal. (Yasuo Ohgaki)
3746
3747- Streams:
3748 . Fixed bug #61961 (file_get_contents leaks when access empty file with
3749 maxlen set). (Reeze)
3750
3751- Zlib:
3752 . Fixed bug #61820 (using ob_gzhandler will complain about headers already
3753 sent when no compression). (Mike)
3754 . Fixed bug #61443 (can't change zlib.output_compression on the fly). (Mike)
3755 . Fixed bug #60761 (zlib.output_compression fails on refresh). (Mike)
3756
375708 May 2012, PHP 5.4.3
3758
3759- CGI
3760 . Re-Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.
3761 (Stas)
3762 . Fix bug #61807 - Buffer Overflow in apache_request_headers.
3763 (nyt-php at countercultured dot net).
3764
376503 May 2012, PHP 5.4.2
3766
3767- Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823. (Rasmus)
3768
376926 Apr 2012, PHP 5.4.1
3770
3771- CLI Server:
3772 . Fixed bug #61461 (missing checks around malloc() calls). (Ilia)
3773 . Implemented FR #60850 (Built in web server does not set
3774 $_SERVER['SCRIPT_FILENAME'] when using router). (Laruence)
3775 . "Connection: close" instead of "Connection: closed" (Gustavo)
3776
3777- Core:
3778 . Fixed crash in ZTS using same class in many threads. (Johannes)
3779 . Fixed bug #61374 (html_entity_decode tries to decode code points that don't
3780 exist in ISO-8859-1). (Gustavo)
3781 . Fixed bug #61273 (call_user_func_array with more than 16333 arguments
3782 leaks / crashes). (Laruence)
3783 . Fixed bug #61225 (Incorrect lexing of 0b00*+<NUM>). (Pierrick)
3784 . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
3785 . Fixed bug #61106 (Segfault when using header_register_callback). (Nikita
3786 Popov)
3787 . Fixed bug #61087 (Memory leak in parse_ini_file when specifying
3788 invalid scanner mode). (Nikic, Laruence)
3789 . Fixed bug #61072 (Memory leak when restoring an exception handler).
3790 (Nikic, Laruence)
3791 . Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX).
3792 (Laruence)
3793 . Fixed bug #61052 (Missing error check in trait 'insteadof' clause). (Stefan)
3794 . Fixed bug #61011 (Crash when an exception is thrown by __autoload
3795 accessing a static property). (Laruence)
3796 . Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical
3797 vars). (Laruence)
3798 . Fixed bug #60978 (exit code incorrect). (Laruence)
3799 . Fixed bug #60911 (Confusing error message when extending traits). (Stefan)
3800 . Fixed bug #60801 (strpbrk() mishandles NUL byte). (Adam)
3801 . Fixed bug #60717 (Order of traits in use statement can cause a fatal
3802 error). (Stefan)
3803 . Fixed bug #60573 (type hinting with "self" keyword causes weird errors).
3804 (Laruence)
3805 . Fixed bug #60569 (Nullbyte truncates Exception $message). (Ilia)
3806 . Fixed bug #52719 (array_walk_recursive crashes if third param of the
3807 function is by reference). (Nikita Popov)
3808 . Improve performance of set_exception_handler while doing reset (Laruence)
3809
3810- fileinfo:
3811 . Fix fileinfo test problems. (Anatoliy Belsky)
3812
3813- FPM
3814 . Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
3815 (michaelhood at gmail dot com, Ilia)
3816
3817- Ibase
3818 . Fixed bug #60947 (Segmentation fault while executing ibase_db_info).
3819 (Ilia)
3820
3821- Installation
3822 . Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
3823
3824- Intl:
3825 . Fixed bug #61487 (Incorrent bounds checking in grapheme_strpos).
3826 (Stas)
3827
3828- mbstring:
3829 . MFH mb_ereg_replace_callback() for security enhancements. (Rui)
3830
3831- mysqli
3832 . Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
3833
3834- mysqlnd
3835 . Fixed bug #61704 (Crash apache, phpinfo() threading issue). (Johannes)
3836 . Fixed bug #60948 (mysqlnd FTBFS when -Wformat-security is enabled).
3837 (Johannes)
3838
3839- PDO
3840 . Fixed bug #61292 (Segfault while calling a method on an overloaded PDO
3841 object). (Laruence)
3842
3843- PDO_mysql
3844 . Fixed bug #61207 (PDO::nextRowset() after a multi-statement query doesn't
3845 always work). (Johannes)
3846 . Fixed bug #61194 (PDO should export compression flag with myslqnd).
3847 (Johannes)
3848
3849- PDO_odbc
3850 . Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). (Ilia)
3851
3852- Phar
3853 . Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL
3854 bytes). (Nikita Popov)
3855
3856- Readline:
3857 . Fixed bug #61088 (Memory leak in readline_callback_handler_install).
3858 (Nikic, Laruence)
3859
3860- Reflection:
3861 . Implemented FR #61602 (Allow access to the name of constant
3862 used as function/method parameter's default value). (reeze.xia@gmail.com)
3863 . Fixed bug #60968 (Late static binding doesn't work with
3864 ReflectionMethod::invokeArgs()). (Laruence)
3865
3866- Session
3867 . Fixed bug #60634 (Segmentation fault when trying to die() in
3868 SessionHandler::write()). (Ilia)
3869
3870- SOAP
3871 . Fixed bug #61423 (gzip compression fails). (Ilia)
3872 . Fixed bug #60887 (SoapClient ignores user_agent option and sends no
3873 User-Agent header). (carloschilazo at gmail dot com)
3874 . Fixed bug #60842, #51775 (Chunked response parsing error when
3875 chunksize length line is > 10 bytes). (Ilia)
3876 . Fixed bug #49853 (Soap Client stream context header option ignored).
3877 (Dmitry)
3878
3879- SPL:
3880 . Fixed bug #61453 (SplObjectStorage does not identify objects correctly).
3881 (Gustavo)
3882 . Fixed bug #61347 (inconsistent isset behavior of Arrayobject). (Laruence)
3883
3884- Standard:
3885 . Fixed memory leak in substr_replace. (Pierrick)
3886 . Make max_file_uploads ini directive settable outside of php.ini (Rasmus)
3887 . Fixed bug #61409 (Bad formatting on phpinfo()). (Jakub Vrana)
3888 . Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia)
3889 . Fixed bug #60106 (stream_socket_server silently truncates long unix socket
3890 paths). (Ilia)
3891
3892- XMLRPC:
3893 . Fixed bug #61264 (xmlrpc_parse_method_descriptions leaks temporary
3894 variable). (Nikita Popov)
3895 . Fixed bug #61097 (Memory leak in xmlrpc functions copying zvals). (Nikita
3896 Popov)
3897
3898- Zlib:
3899 . Fixed bug #61306 (initialization of global inappropriate for ZTS). (Gustavo)
3900 . Fixed bug #61287 (A particular string fails to decompress). (Mike)
3901 . Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikita Popov)
3902
390301 Mar 2012, PHP 5.4.0
3904
3905- Installation:
3906 . autoconf 2.59+ is now supported (and required) for generating the
3907 configure script with ./buildconf. Autoconf 2.60+ is desirable
3908 otherwise the configure help order may be incorrect. (Rasmus, Chris Jones)
3909
3910- Removed legacy features:
3911 . break/continue $var syntax. (Dmitry)
3912 . Safe mode and all related php.ini options. (Kalle)
3913 . register_globals and register_long_arrays php.ini options. (Kalle)
3914 . import_request_variables(). (Kalle)
3915 . allow_call_time_pass_reference. (Pierrick)
3916 . define_syslog_variables php.ini option and its associated function. (Kalle)
3917 . highlight.bg php.ini option. (Kalle)
3918 . safe_mode, safe_mode_gid, safe_mode_include_dir,
3919 safe_mode_exec_dir, safe_mode_allowed_env_vars and
3920 safe_mode_protected_env_vars php.ini options.
3921 . zend.ze1_compatibility_mode php.ini option.
3922 . Session bug compatibility mode (session.bug_compat_42 and
3923 session.bug_compat_warn php.ini options). (Kalle)
3924 . session_is_registered(), session_register() and session_unregister()
3925 functions. (Kalle)
3926 . y2k_compliance php.ini option. (Kalle)
3927 . magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase
3928 php.ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept
3929 but always return false, set_magic_quotes_runtime raises an
3930 E_CORE_ERROR. (Pierrick, Pierre)
3931 . Removed support for putenv("TZ=..") for setting the timezone. (Derick)
3932 . Removed the timezone guessing algorithm in case the timezone isn't set with
3933 date.timezone or date_default_timezone_set(). Instead of a guessed
3934 timezone, "UTC" is now used instead. (Derick)
3935
3936- Moved extensions to PECL:
3937 . ext/sqlite. (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are
3938 not affected) (Johannes)
3939
3940- General improvements:
3941 . Added short array syntax support ([1,2,3]), see UPGRADING guide for full
3942 details. (rsky0711 at gmail . com, sebastian.deutsch at 9elements . com,
3943 Pierre)
3944 . Added binary number format (0b001010). (Jonah dot Harris at gmail dot com)
3945 . Added support for Class::{expr}() syntax (Pierrick)
3946 . Added multibyte support by default. Previously PHP had to be compiled
3947 with --enable-zend-multibyte. Now it can be enabled or disabled through
3948 the zend.multibyte directive in php.ini. (Dmitry)
3949 . Removed compile time dependency from ext/mbstring (Dmitry)
3950 . Added support for Traits. (Stefan, with fixes by Dmitry and Laruence)
3951 . Added closure $this support back. (Stas)
3952 . Added array dereferencing support. (Felipe)
3953 . Added callable typehint. (Hannes)
3954 . Added indirect method call through array. FR #47160. (Felipe)
3955 . Added DTrace support. (David Soria Parra)
3956 . Added class member access on instantiation (e.g. (new foo)->bar()) support.
3957 (Felipe)
3958 . <?= is now always available regardless of the short_open_tag setting. (Rasmus)
3959 . Implemented Zend Signal Handling (configurable option --enable-zend-signals,
3960 off by default). (Lucas Nealan, Arnaud Le Blanc, Brian Shire, Ilia)
3961 . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike)
3962 . Improved UNIX build system to allow building multiple PHP binary SAPIs and
3963 one SAPI module the same time. FR #53271, FR #52419. (Jani)
3964 . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes)
3965 . Improved the warning message of incompatible arguments. (Laruence)
3966 . Improved ternary operator performance when returning arrays. (Arnaud, Dmitry)
3967 . Changed error handlers to only generate docref links when the docref_root
3968 php.ini setting is not empty. (Derick)
3969 . Changed silent conversion of array to string to produce a notice. (Patrick)
3970 . Changed default encoding from ISO-8859-1 to UTF-8 when not specified in
3971 htmlspecialchars and htmlentities. (Rasmus)
3972 . Changed casting of null/''/false into an Object when adding a property
3973 from E_STRICT into a warning. (Scott)
3974 . Changed E_ALL to include E_STRICT. (Stas)
3975 . Disabled Windows CRT warning by default, can be enabled again using the
3976 php.ini directive windows_show_crt_warnings. (Pierre)
3977 . Fixed bug #55378: Binary number literal returns float number though its
3978 value is small enough. (Derick)
3979
3980- Improved Zend Engine memory usage: (Dmitry)
3981 . Improved parse error messages. (Felipe)
3982 . Replaced zend_function.pass_rest_by_reference by
3983 ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags.
3984 . Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE
3985 in zend_function.fn_flags.
3986 . Removed zend_arg_info.required_num_args as it was only needed for internal
3987 functions. Now the first arg_info for internal functions (which has special
3988 meaning) is represented by the zend_internal_function_info structure.
3989 . Moved zend_op_array.size, size_var, size_literal, current_brk_cont,
3990 backpatch_count into CG(context) as they are used only during compilation.
3991 . Moved zend_op_array.start_op into EG(start_op) as it's used only for
3992 'interactive' execution of a single top-level op-array.
3993 . Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in
3994 zend_op_array.fn_flags.
3995 . op_array.vars array is trimmed (reallocated) during pass_two.
3996 . Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED
3997 in zend_class_entry.ce_flags.
3998 . Reduced the size of zend_class_entry by sharing the same memory space
3999 by different information for internal and user classes.
4000 See zend_class_entry.info union.
4001 . Reduced size of temp_variable.
4002
4003- Improved Zend Engine - performance tweaks and optimizations: (Dmitry)
4004 . Inlined most probable code-paths for arithmetic operations directly into
4005 executor.
4006 . Eliminated unnecessary iterations during request startup/shutdown.
4007 . Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used.
4008 (this may affect opcode caches!)
4009 . Improved performance of @ (silence) operator.
4010 . Simplified string offset reading. Given $str="abc" then $str[1][0] is now
4011 a legal construct.
4012 . Added caches to eliminate repeatable run-time bindings of functions,
4013 classes, constants, methods and properties.
4014 . Added concept of interned strings. All strings constants known at compile
4015 time are allocated in a single copy and never changed.
4016 . ZEND_RECV now always has IS_CV as its result.
4017 . ZEND_CATCH now has to be used only with constant class names.
4018 . ZEND_FETCH_DIM_? may fetch array and dimension operands in different order.
4019 . Simplified ZEND_FETCH_*_R operations. They can't be used with the
4020 EXT_TYPE_UNUSED flag any more. This is a very rare and useless case.
4021 ZEND_FREE might be required after them instead.
4022 . Split ZEND_RETURN into two new instructions ZEND_RETURN and
4023 ZEND_RETURN_BY_REF.
4024 . Optimized access to global constants using values with pre-calculated
4025 hash_values from the literals table.
4026 . Optimized access to static properties using executor specialization.
4027 A constant class name may be used as a direct operand of ZEND_FETCH_*
4028 instruction without previous ZEND_FETCH_CLASS.
4029 . zend_stack and zend_ptr_stack allocation is delayed until actual usage.
4030
4031- Other improvements to Zend Engine:
4032 . Added an optimization which saves memory and emalloc/efree calls for empty
4033 HashTables. (Stas, Dmitry)
4034 . Added ability to reset user opcode handlers (Yoram).
4035 . Changed the structure of op_array.opcodes. The constant values are moved from
4036 opcode operands into a separate literal table. (Dmitry)
4037 . Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods.
4038 (Dmitry)
4039
4040- Improved core functions:
4041 . Enforce an extended class' __construct arguments to match the
4042 abstract constructor in the base class.
4043 . Disallow reusing superglobal names as parameter names.
4044 . Added optional argument to debug_backtrace() and debug_print_backtrace()
4045 to limit the amount of stack frames returned. (Sebastian, Patrick)
4046 . Added hex2bin() function. (Scott)
4047 . number_format() no longer truncates multibyte decimal points and thousand
4048 separators to the first byte. FR #53457. (Adam)
4049 . Added support for object references in recursive serialize() calls.
4050 FR #36424. (Mike)
4051 . Added support for SORT_NATURAL and SORT_FLAG_CASE in array
4052 sort functions (sort, rsort, ksort, krsort, asort, arsort and
4053 array_multisort). FR#55158 (Arpad)
4054 . Added stream metadata API support and stream_metadata() stream class
4055 handler. (Stas)
4056 . User wrappers can now define a stream_truncate() method that responds
4057 to truncation, e.g. through ftruncate(). FR #53888. (Gustavo)
4058 . Improved unserialize() performance.
4059 (galaxy dot mipt at gmail dot com, Kalle)
4060 . Changed array_combine() to return empty array instead of FALSE when both
4061 parameter arrays are empty. FR #34857. (joel.perras@gmail.com)
4062 . Fixed bug #61095 (Incorect lexing of 0x00*+<NUM>). (Etienne)
4063 . Fixed bug #60965 (Buffer overflow on htmlspecialchars/entities with
4064 $double=false). (Gustavo)
4065 . Fixed bug #60895 (Possible invalid handler usage in windows random
4066 functions). (Pierre)
4067 . Fixed bug #60879 (unserialize() Does not invoke __wakeup() on object).
4068 (Pierre, Steve)
4069 . Fixed bug #60825 (Segfault when running symfony 2 tests).
4070 (Dmitry, Laruence)
4071 . Fixed bug #60627 (httpd.worker segfault on startup with php_value).
4072 . Fixed bug #60613 (Segmentation fault with $cls->{expr}() syntax). (Dmitry)
4073 . Fixed bug #60611 (Segmentation fault with Cls::{expr}() syntax). (Laruence)
4074 (Laruence)
4075 . Fixed bug #60558 (Invalid read and writes). (Laruence)
4076 . Fixed bug #60444 (Segmentation fault with include & class extending).
4077 (Laruence, Dmitry).
4078 . Fixed bug #60362 (non-existent sub-sub keys should not have values).
4079 (Laruence, alan_k, Stas)
4080 . Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e).
4081 (php at mickweiss dot com)
4082 . Fixed bug #60321 (ob_get_status(true) no longer returns an array when
4083 buffer is empty). (Pierrick)
4084 . Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers).
4085 (Laruence)
4086 . Fixed bug #60240 (invalid read/writes when unserializing specially crafted
4087 strings). (Mike)
4088 . Fixed bug #60227 (header() cannot detect the multi-line header with
4089 CR(0x0D)). (rui)
4090 . Fixed bug #60174 (Notice when array in method prototype error).
4091 (Laruence)
4092 . Fixed bug #60169 (Conjunction of ternary and list crashes PHP).
4093 (Laruence)
4094 . Fixed bug #60038 (SIGALRM cause segfault in php_error_cb). (Laruence)
4095 (klightspeed at netspace dot net dot au)
4096 . Fixed bug #55871 (Interruption in substr_replace()). (Stas)
4097 . Fixed bug #55801 (Behavior of unserialize has changed). (Mike)
4098 . Fixed bug #55758 (Digest Authenticate missed in 5.4) . (Laruence)
4099 . Fixed bug #55748 (multiple NULL Pointer Dereference with zend_strndup())
4100 (CVE-2011-4153). (Stas)
4101 . Fixed bug #55124 (recursive mkdir fails with current (dot) directory in path).
4102 (Pierre)
4103 . Fixed bug #55084 (Function registered by header_register_callback is
4104 called only once per process). (Hannes)
4105 . Implement FR #54514 (Get php binary path during script execution).
4106 (Laruence)
4107 . Fixed bug #52211 (iconv() returns part of string on error). (Felipe)
4108 . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
4109
4110- Improved generic SAPI support:
4111 . Added $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision.
4112 (Patrick)
4113 . Added header_register_callback() which is invoked immediately
4114 prior to the sending of headers and after default headers have
4115 been added. (Scott)
4116 . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle)
4117 . Fixed bug #55500 (Corrupted $_FILES indices lead to security concern).
4118 (CVE-2012-1172). (Stas)
4119 . Fixed bug #54374 (Insufficient validating of upload name leading to
4120 corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at gmail dot com)
4121
4122- Improved CLI SAPI:
4123 . Added built-in web server that is intended for testing purpose.
4124 (Moriyoshi, Laruence, and fixes by Pierre, Derick, Arpad,
4125 chobieee at gmail dot com)
4126 . Added command line option --rz <name> which shows information of the
4127 named Zend extension. (Johannes)
4128 . Interactive readline shell improvements: (Johannes)
4129 . Added "cli.pager" php.ini setting to set a pager for output.
4130 . Added "cli.prompt" php.ini setting to configure the shell prompt.
4131 . Added shortcut #inisetting=value to change php.ini settings at run-time.
4132 . Changed shell not to terminate on fatal errors.
4133 . Interactive shell works with shared readline extension. FR #53878.
4134
4135- Improved CGI/FastCGI SAPI: (Dmitry)
4136 . Added apache compatible functions: apache_child_terminate(),
4137 getallheaders(), apache_request_headers() and apache_response_headers()
4138 . Improved performance of FastCGI request parsing.
4139 . Fixed reinitialization of SAPI callbacks after php_module_startup().
4140 (Dmitry)
4141
4142- Improved PHP-FPM SAPI:
4143 . Removed EXPERIMENTAL flag. (fat)
4144 . Fixed bug #60659 (FPM does not clear auth_user on request accept).
4145 (bonbons at linux-vserver dot org)
4146
4147- Improved Litespeed SAPI:
4148 . Fixed bug #55769 (Make Fails with "Missing Separator" error). (Adam)
4149
4150- Improved Date extension:
4151 . Added the + modifier to parseFromFormat to allow trailing text in the
4152 string to parse without throwing an error. (Stas, Derick)
4153
4154- Improved DBA extension:
4155 . Added Tokyo Cabinet abstract DB support. (Michael Maclean)
4156 . Added Berkeley DB 5 support. (Johannes, Chris Jones)
4157
4158- Improved DOM extension:
4159 . Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
4160
4161- Improved filesystem functions:
4162 . scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value.
4163 FR #53407. (Adam)
4164
4165- Improved HASH extension:
4166 . Added Jenkins's one-at-a-time hash support. (Martin Jansen)
4167 . Added FNV-1 hash support. (Michael Maclean)
4168 . Made Adler32 algorithm faster. FR #53213. (zavasek at yandex dot ru)
4169 . Removed Salsa10/Salsa20, which are actually stream ciphers (Mike)
4170 . Fixed bug #60221 (Tiger hash output byte order) (Mike)
4171
4172- Improved intl extension:
4173 . Added Spoofchecker class, allows checking for visibly confusable characters and
4174 other security issues. (Scott)
4175 . Added Transliterator class, allowing transliteration of strings.
4176 (Gustavo)
4177 . Added support for UTS #46. (Gustavo)
4178 . Fixed build on Fedora 15 / Ubuntu 11. (Hannes)
4179 . Fixed bug #55562 (grapheme_substr() returns false on big length). (Stas)
4180
4181- Improved JSON extension:
4182 . Added new json_encode() option JSON_UNESCAPED_UNICODE. FR #53946.
4183 (Alexander, Gwynne)
4184 . Added JsonSerializable interface. (Sara)
4185 . Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options.
4186 (Sara)
4187 . Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
4188 numeric strings to integers. (Ilia)
4189 . Added new json_encode() option JSON_UNESCAPED_SLASHES. FR #49366. (Adam)
4190 . Added new json_encode() option JSON_PRETTY_PRINT. FR #44331. (Adam)
4191
4192- Improved LDAP extension:
4193 . Added paged results support. FR #42060. (ando@OpenLDAP.org,
4194 iarenuno@eteo.mondragon.edu, jeanseb@au-fil-du.net, remy.saissy@gmail.com)
4195
4196- Improved mbstring extension:
4197 . Added Shift_JIS/UTF-8 Emoji (pictograms) support. (Rui)
4198 . Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
4199 support. (Rui)
4200 . Ill-formed UTF-8 check for security enhancements. (Rui)
4201 . Added MacJapanese (Shift_JIS) and gb18030 encoding support. (Rui)
4202 . Added encode/decode in hex format to mb_[en|de]code_numericentity(). (Rui)
4203 . Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
4204 support. (Rui)
4205 . Added the user defined area for CP936 and CP950 (Rui).
4206 . Fixed bug #60306 (Characters lost while converting from cp936 to utf8).
4207 (Laruence)
4208
4209- Improved MySQL extensions:
4210 . MySQL: Deprecated mysql_list_dbs(). FR #50667. (Andrey)
4211 . mysqlnd: Added named pipes support. FR #48082. (Andrey)
4212 . MySQLi: Added iterator support in MySQLi. mysqli_result implements
4213 Traversable. (Andrey, Johannes)
4214 . PDO_mysql: Removed support for linking with MySQL client libraries older
4215 than 4.1. (Johannes)
4216 . ext/mysql, mysqli and pdo_mysql now use mysqlnd by default. (Johannes)
4217 . Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect).
4218 (Andrey, Laruence)
4219 . Fixed bug #55653 (PS crash with libmysql when binding same variable as
4220 param and out). (Laruence)
4221
4222- Improved OpenSSL extension:
4223 . Added AES support. FR #48632. (yonas dot y at gmail dot com, Pierre)
4224 . Added no padding option to openssl_encrypt()/openssl_decrypt(). (Scott)
4225 . Use php's implementation for Windows Crypto API in
4226 openssl_random_pseudo_bytes. (Pierre)
4227 . On error in openssl_random_pseudo_bytes() made sure we set strong result
4228 to false. (Scott)
4229 . Fixed possible attack in SSL sockets with SSL 3.0 / TLS 1.0.
4230 CVE-2011-3389. (Scott)
4231 . Fixed bug #61124 (Crash when decoding an invalid base64 encoded string).
4232 (me at ktamura dot com, Scott)
4233
4234- Improved PDO:
4235 . Fixed PDO objects binary incompatibility. (Dmitry)
4236
4237- PDO DBlib driver:
4238 . Added nextRowset support.
4239 . Fixed bug #50755 (PDO DBLIB Fails with OOM).
4240
4241- Improved PostgreSQL extension:
4242 . Added support for "extra" parameter for PGNotify().
4243 (r dot i dot k at free dot fr, Ilia)
4244
4245- Improved PCRE extension:
4246 . Changed third parameter of preg_match_all() to optional. FR #53238. (Adam)
4247
4248- Improved Readline extension:
4249 . Fixed bug #54450 (Enable callback support when built against libedit).
4250 (fedora at famillecollet dot com, Hannes)
4251
4252- Improved Reflection extension:
4253 . Added ReflectionClass::newInstanceWithoutConstructor() to create a new
4254 instance of a class without invoking its constructor. FR #55490.
4255 (Sebastian)
4256 . Added ReflectionExtension::isTemporary() and
4257 ReflectionExtension::isPersistent() methods. (Johannes)
4258 . Added ReflectionZendExtension class. (Johannes)
4259 . Added ReflectionClass::isCloneable(). (Felipe)
4260
4261- Improved Session extension:
4262 . Expose session status via new function, session_status (FR #52982) (Arpad)
4263 . Added support for object-oriented session handlers. (Arpad)
4264 . Added support for storing upload progress feedback in session data. (Arnaud)
4265 . Changed session.entropy_file to default to /dev/urandom or /dev/arandom if
4266 either is present at compile time. (Rasmus)
4267 . Fixed bug #60860 (session.save_handler=user without defined function core
4268 dumps). (Felipe)
4269 . Implement FR #60551 (session_set_save_handler should support a core's
4270 session handler interface). (Arpad)
4271 . Fixed bug #60640 (invalid return values). (Arpad)
4272
4273- Improved SNMP extension (Boris Lytochkin):
4274 . Added OO API. FR #53594 (php-snmp rewrite).
4275 . Sanitized return values of existing functions. Now it returns FALSE on
4276 failure.
4277 . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
4278 upon request.
4279 . Introducing unit tests for extension with ~full coverage.
4280 . IPv6 support. (FR #42918)
4281 . Way of representing OID value can now be changed when SNMP_VALUE_OBJECT
4282 is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if
4283 not specified) or SNMP_VALUE_PLAIN. (FR #54502)
4284 . Fixed bug #60749 (SNMP module should not strip non-standard SNMP port
4285 from hostname). (Boris Lytochkin)
4286 . Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support
4287 is disabled). (Boris Lytochkin)
4288 . Fixed bug #53862 (snmp_set_oid_output_format does not allow returning to default)
4289 . Fixed bug #46065 (snmp_set_quick_print() persists between requests)
4290 . Fixed bug #45893 (Snmp buffer limited to 2048 char)
4291 . Fixed bug #44193 (snmp v3 noAuthNoPriv doesn't work)
4292
4293- Improved SOAP extension:
4294 . Added new SoapClient option "keep_alive". FR #60329. (Pierrick)
4295 . Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
4296
4297- Improved SPL extension:
4298 . Added RegexIterator::getRegex() method. (Joshua Thijssen)
4299 . Added SplObjectStorage::getHash() hook. (Etienne)
4300 . Added CallbackFilterIterator and RecursiveCallbackFilterIterator. (Arnaud)
4301 . Added missing class_uses(..) as pointed out by #55266 (Stefan)
4302 . Immediately reject wrong usages of directories under Spl(Temp)FileObject
4303 and friends. (Etienne, Pierre)
4304 . FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use
4305 the default stream context. (Hannes)
4306 . Fixed bug #60201 (SplFileObject::setCsvControl does not expose third
4307 argument via Reflection). (Peter)
4308 . Fixed bug #55287 (spl_classes() not includes CallbackFilter classes)
4309 (sasezaki at gmail dot com, salathe)
4310
4311- Improved Sysvshm extension:
4312 . Fixed bug #55750 (memory copy issue in sysvshm extension).
4313 (Ilia, jeffhuang9999 at gmail dot com)
4314
4315- Improved Tidy extension:
4316 . Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference).
4317 (Maksymilian Arciemowicz, Felipe)
4318
4319- Improved Tokenizer extension:
4320 . Fixed bug #54089 (token_get_all with regards to __halt_compiler is
4321 not binary safe). (Nikita Popov)
4322
4323- Improved XSL extension:
4324 . Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to
4325 define forbidden operations within XSLT stylesheets, default is not to
4326 enable write operations from XSLT. Bug #54446 (Chregu, Nicolas Gregoire)
4327 . XSL doesn't stop transformation anymore, if a PHP function can't be called
4328 (Christian)
4329
4330- Improved ZLIB extension:
4331 . Re-implemented non-file related functionality. (Mike)
4332 . Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression).
4333 (Mike)
4334
433514 Jun 2012, PHP 5.3.14
4336
4337- CLI SAPI:
4338 . Fixed bug #61546 (functions related to current script failed when chdir()
4339 in cli sapi). (Laruence, reeze.xia@gmail.com)
4340
4341- CURL:
4342 . Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction).
4343 (Laruence)
4344
4345- COM:
4346 . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
4347
4348- Core:
4349 . Fixed CVE-2012-2143. (Solar Designer)
4350 . Fixed missing bound check in iptcparse(). (chris at chiappa.net)
4351 . Fixed bug #62373 (serialize() generates wrong reference to the object).
4352 (Moriyoshi)
4353 . Fixed bug #62005 (unexpected behavior when incrementally assigning to a
4354 member of a null object). (Laruence)
4355 . Fixed bug #61991 (long overflow in realpath_cache_get()). (Anatoliy)
4356 . Fixed bug #61764 ('I' unpacks n as signed if n > 2^31-1 on LP64). (Gustavo)
4357 . Fixed bug #61730 (Segfault from array_walk modifying an array passed by
4358 reference). (Laruence)
4359 . Fixed bug #61713 (Logic error in charset detection for htmlentities).
4360 (Anatoliy)
4361 . Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename
4362 set to null). (Anatoliy)
4363 . Changed php://fd to be available only for CLI.
4364
4365- Fileinfo:
4366 . Fixed bug #61812 (Uninitialised value used in libmagic).
4367 (Laruence, Gustavo)
4368
4369- Iconv extension:
4370 . Fixed a bug that iconv extension fails to link to the correct library
4371 when another extension makes use of a library that links to the iconv
4372 library. See https://bugs.gentoo.org/show_bug.cgi?id=364139 for detail.
4373 (Moriyoshi)
4374
4375- Intl:
4376 . Fixed bug #62082 (Memory corruption in internal function
4377 get_icu_disp_value_src_php()). (Gustavo)
4378
4379- JSON
4380 . Fixed bug #61537 (json_encode() incorrectly truncates/discards
4381 information). (Adam)
4382
4383- PDO:
4384 . Fixed bug #61755 (A parsing bug in the prepared statements can lead to
4385 access violations). (Johannes)
4386
4387- Phar:
4388 . Fix bug #61065 (Secunia SA44335). (Rasmus)
4389
4390- Streams:
4391 . Fixed bug #61961 (file_get_contents leaks when access empty file with
4392 maxlen set). (Reeze)
4393
439408 May 2012, PHP 5.3.13
4395- CGI
4396 . Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.
4397 (Stas)
4398
439903 May 2012, PHP 5.3.12
4400- Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823. (Rasmus)
4401
440226 Apr 2012, PHP 5.3.11
4403
4404- Core:
4405 . Fixed bug #61605 (header_remove() does not remove all headers).
4406 (Laruence)
4407 . Fixed bug #61541 (Segfault when using ob_* in output_callback).
4408 (reeze.xia@gmail.com)
4409 . Fixed bug #61273 (call_user_func_array with more than 16333 arguments
4410 leaks / crashes). (Laruence)
4411 . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
4412 . Improved max_input_vars directive to check nested variables (Dmitry).
4413 . Fixed bug #61095 (Incorect lexing of 0x00*+<NUM>). (Etienne)
4414 . Fixed bug #61087 (Memory leak in parse_ini_file when specifying
4415 invalid scanner mode). (Nikic, Laruence)
4416 . Fixed bug #61072 (Memory leak when restoring an exception handler).
4417 (Nikic, Laruence)
4418 . Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX).
4419 (Laruence)
4420 . Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831).
4421 (Ond��ej Sur��)
4422 . Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical
4423 vars). (Laruence)
4424 . Fixed bug #60895 (Possible invalid handler usage in windows random
4425 functions). (Pierre)
4426 . Fixed bug #60825 (Segfault when running symfony 2 tests).
4427 (Dmitry, Laruence)
4428 . Fixed bug #60801 (strpbrk() mishandles NUL byte). (Adam)
4429 . Fixed bug #60569 (Nullbyte truncates Exception $message). (Ilia)
4430 . Fixed bug #60227 (header() cannot detect the multi-line header with CR).
4431 (rui, Gustavo)
4432 . Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia)
4433 . Fixed bug #54374 (Insufficient validating of upload name leading to
4434 corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at
4435 gmail dot com, Pierre)
4436 . Fixed bug #52719 (array_walk_recursive crashes if third param of the
4437 function is by reference). (Nikita Popov)
4438 . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
4439
4440- DOM
4441 . Added debug info handler to DOM objects. (Gustavo, Joey Smith)
4442
4443- FPM
4444 . Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
4445 (michaelhood at gmail dot com, Ilia)
4446
4447- Ibase
4448 . Fixed bug #60947 (Segmentation fault while executing ibase_db_info).
4449 (Ilia)
4450
4451- Installation
4452 . Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
4453
4454- Fileinfo
4455 . Fixed bug #61173 (Unable to detect error from finfo constructor). (Gustavo)
4456
4457- Firebird Database extension (ibase):
4458 . Fixed bug #60802 (ibase_trans() gives segfault when passing params).
4459
4460- Libxml:
4461 . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
4462 (Laruence)
4463 . Fixed bug #61367 (open_basedir bypass using libxml RSHUTDOWN).
4464 (Tim Starling)
4465
4466- mysqli
4467 . Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
4468
4469- PDO_mysql
4470 . Fixed bug #61207 (PDO::nextRowset() after a multi-statement query doesn't
4471 always work). (Johannes)
4472 . Fixed bug #61194 (PDO should export compression flag with myslqnd).
4473 (Johannes)
4474
4475- PDO_odbc
4476 . Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). (Ilia)
4477
4478- PDO_pgsql
4479 . Fixed bug #61267 (pdo_pgsql's PDO::exec() returns the number of SELECTed
4480 rows on postgresql >= 9). (ben dot pineau at gmail dot com)
4481
4482- PDO_Sqlite extension:
4483 . Add createCollation support. (Damien)
4484
4485- Phar:
4486 . Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL
4487 bytes). (Nikic)
4488
4489- PHP-FPM SAPI:
4490 . Fixed bug #60811 (php-fpm compilation problem). (rasmus)
4491
4492- Readline:
4493 . Fixed bug #61088 (Memory leak in readline_callback_handler_install).
4494 (Nikic, Laruence)
4495 . Add open_basedir checks to readline_write_history and readline_read_history.
4496 (Rasmus, reported by Mateusz Goik)
4497
4498- Reflection:
4499 . Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
4500 when get_properties returns a hash table with (inaccessible) dynamic
4501 numeric properties). (Gustavo)
4502 . Fixed bug #60968 (Late static binding doesn't work with
4503 ReflectionMethod::invokeArgs()). (Laruence)
4504
4505- SOAP
4506 . Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
4507 . Fixed bug #60887 (SoapClient ignores user_agent option and sends no
4508 User-Agent header). (carloschilazo at gmail dot com)
4509 . Fixed bug #60842, #51775 (Chunked response parsing error when
4510 chunksize length line is > 10 bytes). (Ilia)
4511 . Fixed bug #49853 (Soap Client stream context header option ignored).
4512 (Dmitry)
4513
4514- SPL
4515 . Fixed memory leak when calling SplFileInfo's constructor twice. (Felipe)
4516 . Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
4517 FilesystemIterator's iterators are requested more than once without
4518 having had its dtor callback called in between). (Gustavo)
4519 . Fixed bug #61347 (inconsistent isset behavior of Arrayobject). (Laruence)
4520 . Fixed bug #61326 (ArrayObject comparison). (Gustavo)
4521
4522- SQLite3 extension:
4523 . Add createCollation() method. (Brad Dewar)
4524
4525- Session:
4526 . Fixed bug #60860 (session.save_handler=user without defined function core
4527 dumps). (Felipe)
4528 . Fixed bug #60634 (Segmentation fault when trying to die() in
4529 SessionHandler::write()). (Ilia)
4530
4531- Streams:
4532 . Fixed bug #61371 (stream_context_create() causes memory leaks on use
4533 streams_socket_create). (Gustavo)
4534 . Fixed bug #61253 (Wrappers opened with errors concurrency problem on ZTS).
4535 (Gustavo)
4536 . Fixed bug #61115 (stream related segfault on fatal error in
4537 php_stream_context_link). (Gustavo)
4538 . Fixed bug #60817 (stream_get_line() reads from stream even when there is
4539 already sufficient data buffered). stream_get_line() now behaves more like
4540 fgets(), as is documented. (Gustavo)
4541 . Further fix for bug #60455 (stream_get_line misbehaves if EOF is not
4542 detected together with the last read). (Gustavo)
4543 . Fixed bug #60106 (stream_socket_server silently truncates long unix
4544 socket paths). (Ilia)
4545
4546- Tidy:
4547 . Fixed bug #54682 (tidy null pointer dereference). (Tony, David Soria Parra)
4548
4549- XMLRPC:
4550 . Fixed bug #61264 (xmlrpc_parse_method_descriptions leaks temporary
4551 variable). (Nikita Popov)
4552 . Fixed bug #61097 (Memory leak in xmlrpc functions copying zvals). (Nikic)
4553
4554- Zlib:
4555 . Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikic)
4556
455702 Feb 2012, PHP 5.3.10
4558
4559- Core:
4560 . Fixed arbitrary remote code execution vulnerability reported by Stefan
4561 Esser, CVE-2012-0830. (Stas, Dmitry)
4562
456310 Jan 2012, PHP 5.3.9
4564
4565- Core:
4566 . Added max_input_vars directive to prevent attacks based on hash collisions
4567 (CVE-2011-4885) (Dmitry).
4568 . Fixed bug #60205 (possible integer overflow in content_length). (Laruence)
4569 . Fixed bug #60139 (Anonymous functions create cycles not detected by the
4570 GC). (Dmitry)
4571 . Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator)
4572 (Dmitry).
4573 . Fixed bug #60120 (proc_open's streams may hang with stdin/out/err when
4574 the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)
4575 . Fixed bug #60099 (__halt_compiler() works in braced namespaces). (Felipe)
4576 . Fixed bug #60019 (Function time_nanosleep() is undefined on OS X). (Ilia)
4577 . Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs).
4578 (klightspeed at netspace dot net dot au)
4579 . Fixed bug #55798 (serialize followed by unserialize with numeric object
4580 prop. gives integer prop). (Gustavo)
4581 . Fixed bug #55749 (TOCTOU issue in getenv() on Windows builds). (Pierre)
4582 . Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux
4583 parisc). (Felipe)
4584 . Fixed bug #55674 (fgetcsv & str_getcsv skip empty fields in some
4585 tab-separated records). (Laruence)
4586 . Fixed bug #55649 (Undefined function Bug()). (Laruence)
4587 . Fixed bug #55622 (memory corruption in parse_ini_string). (Pierre)
4588 . Fixed bug #55576 (Cannot conditionally move uploaded file without race
4589 condition). (Gustavo)
4590 . Fixed bug #55510: $_FILES 'name' missing first character after upload.
4591 (Arpad)
4592 . Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence)
4593 . Fixed bug #55504 (Content-Type header is not parsed correctly on
4594 HTTP POST request). (Hannes)
4595 . Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to
4596 is_a and is_subclass_of). (alan_k)
4597 . Fixed bug #52461 (Incomplete doctype and missing xmlns).
4598 (virsacer at web dot de, Pierre)
4599 . Fixed bug #55366 (keys lost when using substr_replace an array). (Arpad)
4600 . Fixed bug #55273 (base64_decode() with strict rejects whitespace after
4601 pad). (Ilia)
4602 . Fixed bug #52624 (tempnam() by-pass open_basedir with nonnexistent
4603 directory). (Felipe)
4604 . Fixed bug #50982 (incorrect assumption of PAGE_SIZE size). (Dmitry)
4605 . Fixed invalid free in call_user_method() function. (Felipe)
4606 . Fixed bug #43200 (Interface implementation / inheritence not possible in
4607 abstract classes). (Felipe)
4608
4609
4610- BCmath:
4611 . Fixed bug #60377 (bcscale related crashes on 64bits platforms). (shm)
4612
4613- Calendar:
4614 . Fixed bug #55797 (Integer overflow in SdnToGregorian leads to segfault (in
4615 optimized builds). (Gustavo)
4616
4617- cURL:
4618 . Fixed bug #60439 (curl_copy_handle segfault when used with
4619 CURLOPT_PROGRESSFUNCTION). (Pierrick)
4620 . Fixed bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed
4621 before calling curl_exec). (Hannes)
4622 . Fixed issues were curl_copy_handle() would sometimes lose copied
4623 preferences. (Hannes)
4624
4625- DateTime:
4626 . Fixed bug #60373 (Startup errors with log_errors on cause segfault).
4627 (Derick)
4628 . Fixed bug #60236 (TLA timezone dates are not converted properly from
4629 timestamp). (Derick)
4630 . Fixed bug #55253 (DateTime::add() and sub() result -1 hour on objects with
4631 time zone type 2). (Derick)
4632 . Fixed bug #54851 (DateTime::createFromFormat() doesn't interpret "D").
4633 (Derick)
4634 . Fixed bug #53502 (strtotime with timezone memory leak). (Derick)
4635 . Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
4636 DateTime::setTimestamp). (Derick)
4637 . Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
4638 format). (Derick)
4639 . Fixed bug #52113 (Seg fault while creating (by unserialization)
4640 DatePeriod). (Derick)
4641 . Fixed bug #48476 (cloning extended DateTime class without calling
4642 parent::__constr crashed PHP). (Hannes)
4643
4644- EXIF:
4645 . Fixed bug #60150 (Integer overflow during the parsing of invalid exif
4646 header). (CVE-2011-4566) (Stas, flolechaud at gmail dot com)
4647
4648- Fileinfo:
4649 . Fixed bug #60094 (C++ comment fails in c89). (Laruence)
4650 . Fixed possible memory leak in finfo_open(). (Felipe)
4651 . Fixed memory leak when calling the Finfo constructor twice. (Felipe)
4652
4653- Filter:
4654 . Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
4655 domain name addresses containing >1 -). (Ilia)
4656
4657- FTP:
4658 . Fixed bug #60183 (out of sync ftp responses). (bram at ebskamp dot me,
4659 rasmus)
4660
4661- Gd:
4662 . Fixed bug #60160 (imagefill() doesn't work correctly
4663 for small images). (Florian)
4664 . Fixed potential memory leak on a png error (Rasmus, Paul Saab)
4665
4666- Intl:
4667 . Fixed bug #60192 (SegFault when Collator not constructed
4668 properly). (Florian)
4669 . Fixed memory leak in several Intl locale functions. (Felipe)
4670
4671- Json:
4672 . Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects
4673 with numeric string properties). (Ilia, dchurch at sciencelogic dot com)
4674
4675- Mbstring:
4676 . Fixed possible crash in mb_ereg_search_init() using empty pattern. (Felipe)
4677
4678- MS SQL:
4679 . Fixed bug #60267 (Compile failure with freetds 0.91). (Felipe)
4680
4681- MySQL:
4682 . Fixed bug #55550 (mysql.trace_mode miscounts result sets). (Johannes)
4683
4684- MySQLi extension:
4685 . Fixed bug #55859 (mysqli->stat property access gives error). (Andrey)
4686 . Fixed bug #55582 (mysqli_num_rows() returns always 0 for unbuffered, when
4687 mysqlnd is used). (Andrey)
4688 . Fixed bug #55703 (PHP crash when calling mysqli_fetch_fields).
4689 (eran at zend dot com, Laruence)
4690
4691- mysqlnd
4692 . Fixed bug #55609 (mysqlnd cannot be built shared). (Johannes)
4693 . Fixed bug #55067 (MySQL doesn't support compression - wrong config option).
4694 (Andrey)
4695
4696- NSAPI SAPI:
4697 . Don't set $_SERVER['HTTPS'] on unsecure connection (bug #55403). (Uwe
4698 Schindler)
4699
4700- OpenSSL:
4701 . Fixed bug #60279 (Fixed NULL pointer dereference in
4702 stream_socket_enable_crypto, case when ssl_handle of session_stream is not
4703 initialized.) (shm)
4704 . Fix segfault with older versions of OpenSSL. (Scott)
4705
4706- Oracle Database extension (OCI8):
4707 . Fixed bug #59985 (show normal warning text for OCI_NO_DATA).
4708 (Chris Jones)
4709 . Increased maximum Oracle error message buffer length for new 11.2.0.3 size.
4710 (Chris Jones)
4711 . Improve internal initalization failure error messages. (Chris Jones)
4712
4713- PDO
4714 . Fixed bug #55776 (PDORow to session bug). (Johannes)
4715
4716- PDO Firebird:
4717 . Fixed bug #48877 ("bindValue" and "bindParam" do not work for PDO Firebird).
4718 (Mariuz)
4719 . Fixed bug #47415 (PDO_Firebird segfaults when passing lowercased column name to bindColumn).
4720 . Fixed bug #53280 (PDO_Firebird segfaults if query column count less than param count).
4721 (Mariuz)
4722
4723- PDO MySQL driver:
4724 . Fixed bug #60155 (pdo_mysql.default_socket ignored). (Johannes)
4725 . Fixed bug #55870 (PDO ignores all SSL parameters when used with mysql
4726 native driver). (Pierre)
4727 . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define
4728 MYSQL_OPT_LOCAL_INFILE). (Andrey)
4729
4730- PDO OCI driver:
4731 . Fixed bug #55768 (PDO_OCI can't resume Oracle session after it's been
4732 killed). (mikhail dot v dot gavrilov at gmail dot com, Chris Jones, Tony)
4733
4734- Phar:
4735 . Fixed bug #60261 (NULL pointer dereference in phar). (Felipe)
4736 . Fixed bug #60164 (Stubs of a specific length break phar_open_from_fp
4737 scanning for __HALT_COMPILER). (Ralph Schindler)
4738 . Fixed bug #53872 (internal corruption of phar). (Hannes)
4739 . Fixed bug #52013 (Unable to decompress files in a compressed phar). (Hannes)
4740
4741- PHP-FPM SAPI:
4742 . Dropped restriction of not setting the same value multiple times, the last
4743 one holds. (giovanni at giacobbi dot net, fat)
4744 . Added .phar to default authorized extensions. (fat)
4745 . Fixed bug #60659 (FPM does not clear auth_user on request accept).
4746 (bonbons at linux-vserver dot org)
4747 . Fixed bug #60629 (memory corruption when web server closed the fcgi fd).
4748 (fat)
4749 . Enhance error log when the primary script can't be open. FR #60199. (fat)
4750 . Fixed bug #60179 (php_flag and php_value does not work properly). (fat)
4751 . Fixed bug #55577 (status.html does not install). (fat)
4752 . Fixed bug #55533 (The -d parameter doesn't work). (fat)
4753 . Fixed bug #55526 (Heartbeat causes a lot of unnecessary events). (fat)
4754 . Fixed bug #55486 (status show BIG processes number). (fat)
4755 . Enhanced security by limiting access to user defined extensions.
4756 FR #55181. (fat)
4757 . Added process.max to control the number of process FPM can fork. FR #55166.
4758 (fat)
4759 . Implemented FR #54577 (Enhanced status page with full status and details
4760 about each processes. Also provide a web page (status.html) for
4761 real-time FPM status. (fat)
4762 . Lowered default value for Process Manager. FR #54098. (fat)
4763 . Implemented FR #52569 (Add the "ondemand" process-manager
4764 to allow zero children). (fat)
4765 . Added partial syslog support (on error_log only). FR #52052. (fat)
4766
4767- Postgres:
4768 . Fixed bug #60244 (pg_fetch_* functions do not validate that row param
4769 is >0). (Ilia)
4770 . Added PGSQL_LIBPQ_VERSION/PGSQL_LIBPQ_VERSION_STR constants. (Yasuo)
4771
4772- Reflection:
4773 . Fixed bug #60367 (Reflection and Late Static Binding). (Laruence)
4774
4775- Session:
4776 . Fixed bug #55267 (session_regenerate_id fails after header sent). (Hannes)
4777
4778- SimpleXML:
4779 . Reverted the SimpleXML->query() behaviour to returning empty arrays
4780 instead of false when no nodes are found as it was since 5.3.3
4781 (bug #48601). (chregu, rrichards)
4782
4783- SOAP
4784 . Fixed bug #54911 (Access to a undefined member in inherit SoapClient may
4785 cause Segmentation Fault). (Dmitry)
4786 . Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL:
4787 Extra content at the end of the doc, when server uses chunked transfer
4788 encoding with spaces after chunk size). (Dmitry)
4789 . Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references). (Dmitry)
4790
4791- Sockets:
4792 . Fixed bug #60048 (sa_len a #define on IRIX). (china at thewrittenword dot
4793 com)
4794
4795- SPL:
4796 . Fixed bug #60082 (Crash in ArrayObject() when using recursive references).
4797 (Tony)
4798 . Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY).
4799 (jgotti at modedemploi dot fr, Hannes)
4800 . Fixed bug #54304 (RegexIterator::accept() doesn't work with scalar values).
4801 (Hannes)
4802
4803- Streams:
4804 . Fixed bug #60455 (stream_get_line misbehaves if EOF is not detected together
4805 with the last read). (Gustavo)
4806
4807- Tidy:
4808 . Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference).
4809 (Maksymilian Arciemowicz, Felipe)
4810
4811- XSL:
4812 . Added xsl.security_prefs ini option to define forbidden operations within
4813 XSLT stylesheets, default is not to enable write operations. This option
4814 won't be in 5.4, since there's a new method. Fixes Bug #54446. (Chregu,
4815 Nicolas Gregoire)
4816
481723 Aug 2011, PHP 5.3.8
4818
4819- Core:
4820 . Fixed bug #55439 (crypt() returns only the salt for MD5). (Stas)
4821
4822- OpenSSL:
4823 . Reverted a change in timeout handling restoring PHP 5.3.6 behavior,
4824 as the new behavior caused mysqlnd SSL connections to hang (#55283).
4825 (Pierre, Andrey, Johannes)
4826
482718 Aug 2011, PHP 5.3.7
4828- Upgraded bundled SQLite to version 3.7.7.1. (Scott)
4829- Upgraded bundled PCRE to version 8.12. (Scott)
4830
4831- Zend Engine:
4832 . Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even
4833 though the class has none). (Felipe)
4834 . Fixed bug #55007 (compiler fail after previous fail). (Felipe)
4835 . Fixed bug #54910 (Crash when calling call_user_func with unknown function
4836 name). (Dmitry)
4837 . Fixed bug #54804 (__halt_compiler and imported namespaces).
4838 (Pierrick, Felipe)
4839 . Fixed bug #54624 (class_alias and type hint). (Felipe)
4840 . Fixed bug #54585 (track_errors causes segfault). (Dmitry)
4841 . Fixed bug #54423 (classes from dl()'ed extensions are not destroyed).
4842 (Tony, Dmitry)
4843 . Fixed bug #54372 (Crash accessing global object itself returned from its
4844 __get() handle). (Dmitry)
4845 . Fixed bug #54367 (Use of closure causes problem in ArrayAccess). (Dmitry)
4846 . Fixed bug #54358 (Closure, use and reference). (Dmitry)
4847 . Fixed bug #54262 (Crash when assigning value to a dimension in a non-array).
4848 (Dmitry)
4849 . Fixed bug #54039 (use() of static variables in lambda functions can break
4850 staticness). (Dmitry)
4851
4852- Core
4853 . Updated crypt_blowfish to 1.2. ((CVE-2011-2483) (Solar Designer)
4854 . Removed warning when argument of is_a() or is_subclass_of() is not
4855 a known class. (Stas)
4856 . Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.
4857 . Added PHP_MANDIR constant telling where the manpages were installed into,
4858 and an --man-dir argument to php-config. (Hannes)
4859 . Fixed a crash inside dtor for error handling. (Ilia)
4860 . Fixed buffer overflow on overlog salt in crypt(). (Cl��ment LECIGNE, Stas)
4861 . Implemented FR #54459 (Range function accuracy). (Adam)
4862
4863 . Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path).
4864 (Ilia)
4865 . Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off).
4866 (Dmitry)
4867 . Fixed bug #55295 [NEW]: popen_ex on windows, fixed possible heap overflow
4868 (Pierre)
4869 . Fixed bug #55258 (Windows Version Detecting Error).
4870 ( xiaomao5 at live dot com, Pierre)
4871 . Fixed bug #55187 (readlink returns weird characters when false result).
4872 (Pierre)
4873 . Fixed bug #55082 (var_export() doesn't escape properties properly).
4874 (Gustavo)
4875 . Fixed bug #55014 (Compile failure due to improper use of ctime_r()). (Ilia)
4876 . Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload
4877 filename). (Felipe) Reported by Krzysztof Kotowicz. (CVE-2011-2202)
4878 . Fixed bug #54935 php_win_err can lead to crash. (Pierre)
4879 . Fixed bug #54924 (assert.* is not being reset upon request shutdown). (Ilia)
4880 . Fixed bug #54895 (Fix compiling with older gcc version without need for
4881 membar_producer macro). (mhei at heimpold dot de)
4882 . Fixed bug #54866 (incorrect accounting for realpath_cache_size).
4883 (Dustin Ward)
4884 . Fixed bug #54723 (getimagesize() doesn't check the full ico signature).
4885 (Scott)
4886 . Fixed bug #54721 (Different Hashes on Windows, BSD and Linux on wrong Salt
4887 size). (Pierre, os at irj dot ru)
4888 . Fixed bug #54580 (get_browser() segmentation fault when browscap ini
4889 directive is set through php_admin_value). (Gustavo)
4890 . Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption). (Dmitry)
4891 . Fixed bug #54305 (Crash in gc_remove_zval_from_buffer). (Dmitry)
4892 . Fixed bug #54238 (use-after-free in substr_replace()). (Stas)
4893 (CVE-2011-1148)
4894 . Fixed bug #54204 (Can't set a value with a PATH section in php.ini).
4895 (Pierre)
4896 . Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment).
4897 (tomas dot brastavicius at quantum dot lt, Pierrick)
4898 . Fixed bug #54137 (file_get_contents POST request sends additional line
4899 break). (maurice-php at mertinkat dot net, Ilia)
4900 . Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). (Ilia)
4901 . Alternative fix for bug #52550, as applied to the round() function (signed
4902 overflow), as the old fix impacted the algorithm for numbers with magnitude
4903 smaller than 0. (Gustavo)
4904 . Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
4905 (Ralph Schindler, Dmitry)
4906 . Fixed bug #52935 (call exit in user_error_handler cause stream relate
4907 core). (Gustavo)
4908 . Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning). (Ilia)
4909 . Fixed bug #50816 (Using class constants in array definition fails).
4910 (Pierrick, Dmitry)
4911 . Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode
4912 filter). (slusarz at curecanti dot org)
4913 . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
4914 TMPDIR on Windows). (Pierre)
4915
4916- Apache2 Handler SAPI:
4917 . Fixed bug #54529 (SAPI crashes on apache_config.c:197).
4918 (hebergement at riastudio dot fr)
4919
4920- CLI SAPI:
4921 . Fixed bug #52496 (Zero exit code on option parsing failure). (Ilia)
4922
4923- cURL extension:
4924 . Added ini option curl.cainfo (support for custom cert db). (Pierre)
4925 . Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)
4926 . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and
4927 CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick)
4928
4929- DateTime extension:
4930 . Fixed bug where the DateTime object got changed while using date_diff().
4931 (Derick)
4932 . Fixed bug #54340 (DateTime::add() method bug). (Adam)
4933 . Fixed bug #54316 (DateTime::createFromFormat does not handle trailing '|'
4934 correctly). (Adam)
4935 . Fixed bug #54283 (new DatePeriod(NULL) causes crash). (Felipe)
4936 . Fixed bug #51819 (Case discrepancy in timezone names cause Uncaught
4937 exception and fatal error). (Hannes)
4938
4939- DBA extension:
4940 . Supress warning on non-existent file open with Berkeley DB 5.2. (Chris Jones)
4941 . Fixed bug #54242 (dba_insert returns true if key already exists). (Felipe)
4942
4943- Exif extesion:
4944 . Fixed bug #54121 (error message format string typo). (Ilia)
4945
4946- Fileinfo extension:
4947 . Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11). (Felipe)
4948
4949- Filter extension:
4950 . Added 3rd parameter to filter_var_array() and filter_input_array()
4951 functions that allows disabling addition of empty elements. (Ilia)
4952 . Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)
4953
4954- Interbase extension:
4955 . Fixed bug #54269 (Short exception message buffer causes crash). (Felipe)
4956
4957- intl extension:
4958 . Implemented FR #54561 (Expose ICU version info). (David Zuelke, Ilia)
4959 . Implemented FR #54540 (Allow loading of arbitrary resource bundles when
4960 fallback is disabled). (David Zuelke, Stas)
4961
4962- Imap extension:
4963 . Fixed bug #55313 (Number of retries not set when params specified).
4964 (kevin at kevinlocke dot name)
4965
4966- json extension:
4967 . Fixed bug #54484 (Empty string in json_decode doesn't reset
4968 json_last_error()). (Ilia)
4969
4970- LDAP extension:
4971 . Fixed bug #53339 (Fails to build when compilng with gcc 4.5 and DSO
4972 libraries). (Clint Byrum, Raphael)
4973
4974- libxml extension:
4975 . Fixed bug #54601 (Removing the doctype node segfaults). (Hannes)
4976 . Fixed bug #54440 (libxml extension ignores default context). (Gustavo)
4977
4978- mbstring extension:
4979 . Fixed bug #54494 (mb_substr() mishandles UTF-32LE and UCS-2LE). (Gustavo)
4980
4981- MCrypt extension:
4982 . Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data
4983 has been fetched (Windows). (Pierre)
4984 . Fixed bug #55169 (mcrypt_create_iv always fails to gather sufficient random
4985 data on Windows). (Pierre)
4986
4987- mysqlnd
4988 . Fixed crash when using more than 28,000 bound parameters. Workaround is to
4989 set mysqlnd.net_cmd_buffer_size to at least 9000. (Andrey)
4990 . Fixed bug #54674 mysqlnd valid_sjis_(head|tail) is using invalid operator
4991 and range). (nihen at megabbs dot com, Andrey)
4992
4993- MySQLi extension:
4994 . Fixed bug #55283 (SSL options set by mysqli_ssl_set ignored for MySQLi
4995 persistent connections). (Andrey)
4996 . Fixed Bug #54221 (mysqli::get_warnings segfault when used in multi queries).
4997 (Andrey)
4998
4999- OpenSSL extension:
5000 . openssl_encrypt()/openssl_decrypt() truncated keys of variable length
5001 ciphers to the OpenSSL default for the algorithm. (Scott)
5002 . On blocking SSL sockets respect the timeout option where possible.
5003 (Scott)
5004 . Fixed bug #54992 (Stream not closed and error not returned when SSL
5005 CN_match fails). (Gustavo, laird_ngrps at dodo dot com dot au)
5006
5007- Oracle Database extension (OCI8):
5008 . Added oci_client_version() returning the runtime Oracle client library
5009 version. (Chris Jones)
5010
5011. PCRE extension:
5012 . Increased the backtrack limit from 100000 to 1000000 (Rasmus)
5013
5014- PDO extension:
5015 . Fixed bug #54929 (Parse error with single quote in sql comment). (Felipe)
5016 . Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE
5017 settings). (Ilia)
5018
5019- PDO DBlib driver:
5020 . Fixed bug #54329 (MSSql extension memory leak).
5021 (dotslashpok at gmail dot com)
5022 . Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field).
5023 (mjh at hodginsmedia dot com, Felipe)
5024
5025- PDO ODBC driver:
5026 . Fixed data type usage in 64bit. (leocsilva at gmail dot com)
5027
5028- PDO MySQL driver:
5029 . Fixed bug #54644 (wrong pathes in php_pdo_mysql_int.h). (Tony, Johannes)
5030 . Fixed bug #53782 (foreach throws irrelevant exception). (Johannes, Andrey)
5031 . Implemented FR #48587 (MySQL PDO driver doesn't support SSL connections).
5032 (Rob)
5033
5034- PDO PostgreSQL driver:
5035 . Fixed bug #54318 (Non-portable grep option used in PDO pgsql
5036 configuration). (bwalton at artsci dot utoronto dot ca)
5037
5038- PDO Oracle driver:
5039 . Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci).
5040 (jbnance at tresgeek dot net)
5041
5042- Phar extension:
5043 . Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters).
5044 (Felipe)
5045
5046- PHP-FPM SAPI:
5047 . Implemented FR #54499 (FPM ping and status_path should handle HEAD request). (fat)
5048 . Implemented FR #54172 (Overriding the pid file location of php-fpm). (fat)
5049 . Fixed missing Expires and Cache-Control headers for ping and status pages.
5050 (fat)
5051 . Fixed memory leak. (fat) Reported and fixed by Giovanni Giacobbi.
5052 . Fixed wrong value of log_level when invoking fpm with -tt. (fat)
5053 . Added xml format to the status page. (fat)
5054 . Removed timestamp in logs written by children processes. (fat)
5055 . Fixed exit at FPM startup on fpm_resources_prepare() errors. (fat)
5056 . Added master rlimit_files and rlimit_core in the global configuration
5057 settings. (fat)
5058 . Removed pid in debug logs written by chrildren processes. (fat)
5059 . Added custom access log (also added per request %CPU and memory
5060 mesurement). (fat)
5061 . Added a real scoreboard and several improvements to the status page. (fat)
5062
5063- Reflection extension:
5064 . Fixed bug #54347 (reflection_extension does not lowercase module function
5065 name). (Felipe, laruence at yahoo dot com dot cn)
5066
5067- SOAP extension:
5068 . Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION
5069 contains itself). (Dmitry)
5070 . Fixed bug #54312 (soap_version logic bug). (tom at samplonius dot org)
5071
5072- Sockets extension:
5073 . Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938)
5074 Found by Mateusz Kocielski, Marek Kroemeke and Filip Palian. (Felipe)
5075 . Changed socket_set_block() and socket_set_nonblock() so they emit warnings
5076 on error. (Gustavo)
5077 . Fixed bug #51958 (socket_accept() fails on IPv6 server sockets). (Gustavo)
5078
5079- SPL extension:
5080 . Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys
5081 on true). (Pierrick)
5082 . Fixed bug #54970 (SplFixedArray::setSize() isn't resizing). (Felipe)
5083 . Fixed bug #54609 (Certain implementation(s) of SplFixedArray cause hard
5084 crash). (Felipe)
5085 . Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and
5086 SplTempFileObject crash when user-space classes don't call the paren
5087 constructor). (Gustavo)
5088 . Fixed bug #54292 (Wrong parameter causes crash in
5089 SplFileObject::__construct()). (Felipe)
5090 . Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting
5091 with \0). (Gustavo)
5092 . Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator).
5093 (Felipe)
5094
5095- Streams:
5096 . Fixed bug #54946 (stream_get_contents infinite loop). (Hannes)
5097 . Fixed bug #54623 (Segfault when writing to a persistent socket after
5098 closing a copy of the socket). (Gustavo)
5099 . Fixed bug #54681 (addGlob() crashes on invalid flags). (Felipe)
5100
5101
510217 Mar 2011, PHP 5.3.6
5103- Upgraded bundled Sqlite3 to version 3.7.4. (Ilia)
5104- Upgraded bundled PCRE to version 8.11. (Ilia)
5105
5106- Zend Engine:
5107 . Indirect reference to $this fails to resolve if direct $this is never used
5108 in method. (Scott)
5109 . Added options to debug backtrace functions. (Stas)
5110 . Fixed bug numerous crashes due to setlocale (crash on error, pcre, mysql
5111 etc.) on Windows in thread safe mode. (Pierre)
5112 . Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime
5113 error). (Dmitry)
5114 . Fixed Bug #53958 (Closures can't 'use' shared variables by value and by
5115 reference). (Dmitry)
5116 . Fixed Bug #53629 (memory leak inside highlight_string()). (Hannes, Ilia)
5117 . Fixed Bug #51458 (Lack of error context with nested exceptions). (Stas)
5118 . Fixed Bug #47143 (Throwing an exception in a destructor causes a fatal
5119 error). (Stas)
5120 . Fixed bug #43512 (same parameter name can be used multiple times in
5121 method/function definition). (Felipe)
5122
5123- Core:
5124 . Added ability to connect to HTTPS sites through proxy with basic
5125 authentication using stream_context/http/header/Proxy-Authorization (Dmitry)
5126 . Changed default value of ini directive serialize_precision from 100 to 17.
5127 (Gustavo)
5128 . Fixed bug #54055 (buffer overrun with high values for precision ini
5129 setting). (Gustavo)
5130 . Fixed bug #53959 (reflection data for fgetcsv out-of-date). (Richard)
5131 . Fixed bug #53577 (Regression introduced in 5.3.4 in open_basedir with a
5132 trailing forward slash). (lekensteyn at gmail dot com, Pierre)
5133 . Fixed bug #53682 (Fix compile on the VAX). (Rasmus, jklos)
5134 . Fixed bug #48484 (array_product() always returns 0 for an empty array).
5135 (Ilia)
5136 . Fixed bug #48607 (fwrite() doesn't check reply from ftp server before
5137 exiting). (Ilia)
5138
5139
5140- Calendar extension:
5141 . Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
5142 segfault). (Gustavo)
5143
5144- DOM extension:
5145 . Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode
5146 like DOMDocument::saveXML). (Gustavo)
5147
5148- DateTime extension:
5149 . Fixed a bug in DateTime->modify() where absolute date/time statements had
5150 no effect. (Derick)
5151 . Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
5152 big-endian systems). (Derick, rein@basefarm.no)
5153 . Fixed bug #52808 (Segfault when specifying interval as two dates). (Stas)
5154 . Fixed bug #52738 (Can't use new properties in class extended from
5155 DateInterval). (Stas)
5156 . Fixed bug #52290 (setDate, setISODate, setTime works wrong when DateTime
5157 created from timestamp). (Stas)
5158 . Fixed bug #52063 (DateTime constructor's second argument doesn't have a
5159 null default value). (Gustavo, Stas)
5160
5161- Exif extension:
5162 . Fixed bug #54002 (crash on crafted tag, reported by Luca Carettoni).
5163 (Pierre) (CVE-2011-0708)
5164
5165- Filter extension:
5166 . Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
5167 (Ilia, Gustavo)
5168 . Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges).
5169 (Ilia)
5170 . Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)). (Ilia)
5171 . Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).
5172 (Ilia, valli at icsurselva dot ch)
5173
5174- Fileinfo extension:
5175 . Fixed bug #54016 (finfo_file() Cannot determine filetype in archives).
5176 (Hannes)
5177
5178- Gettext
5179 . Fixed bug #53837 (_() crashes on Windows when no LANG or LANGUAGE
5180 environment variable are set). (Pierre)
5181
5182- IMAP extension:
5183 . Implemented FR #53812 (get MIME headers of the part of the email). (Stas)
5184 . Fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long
5185 MIME header unfolding). (Adam)
5186
5187- Intl extension:
5188 . Fixed bug #53612 (Segmentation fault when using cloned several intl
5189 objects). (Gustavo)
5190 . Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values).
5191 (Felipe)
5192 . Implemented clone functionality for number, date & message formatters.
5193 (Stas).
5194
5195- JSON extension:
5196 . Fixed bug #53963 (Ensure error_code is always set during some failed
5197 decodings). (Scott)
5198
5199- mysqlnd
5200 . Fixed problem with always returning 0 as num_rows for unbuffered sets.
5201 (Andrey, Ulf)
5202
5203- MySQL Improved extension:
5204 . Added 'db' and 'catalog' keys to the field fetching functions (FR #39847).
5205 (Kalle)
5206 . Fixed buggy counting of affected rows when using the text protocol. The
5207 collected statistics were wrong when multi_query was used with mysqlnd
5208 (Andrey)
5209 . Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL).
5210 (Kalle)
5211 . Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA
5212 query). (Kalle, Andrey)
5213 . Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to
5214 call libmysql). (Kalle, tre-php-net at crushedhat dot com)
5215
5216- OpenSSL extension:
5217 . Fixed stream_socket_enable_crypto() not honoring the socket timeout in
5218 server mode. (Gustavo)
5219 . Fixed bug #54060 (Memory leaks when openssl_encrypt). (Pierre)
5220 . Fixed bug #54061 (Memory leaks when openssl_decrypt). (Pierre)
5221 . Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
5222 (Gustavo)
5223 . Implemented FR #53447 (Cannot disable SessionTicket extension for servers
5224 that do not support it) by adding a no_ticket SSL context option. (Adam,
5225 Tony)
5226
5227- PDO MySQL driver:
5228 . Fixed bug #53551 (PDOStatement execute segfaults for pdo_mysql driver).
5229 (Johannes)
5230 . Implemented FR #47802 (Support for setting character sets in DSN strings).
5231 (Kalle)
5232
5233- PDO Oracle driver:
5234 . Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on
5235 ORACLE 10). (spatar at mail dot nnov dot ru)
5236
5237- PDO PostgreSQL driver:
5238 . Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down).
5239 (gyp at balabit dot hu)
5240
5241- Phar extension:
5242 . Fixed bug #54247 (format-string vulnerability on Phar). (Felipe)
5243 (CVE-2011-1153)
5244 . Fixed bug #53541 (format string bug in ext/phar).
5245 (crrodriguez at opensuse dot org, Ilia)
5246 . Fixed bug #53898 (PHAR reports invalid error message, when the directory
5247 does not exist). (Ilia)
5248
5249- PHP-FPM SAPI:
5250 . Enforce security in the fastcgi protocol parsing.
5251 (ef-lists at email dotde)
5252 . Fixed bug #53777 (php-fpm log format now match php_error log format). (fat)
5253 . Fixed bug #53527 (php-fpm --test doesn't set a valuable return value). (fat)
5254 . Fixed bug #53434 (php-fpm slowlog now also logs the original request). (fat)
5255
5256- Readline extension:
5257 . Fixed bug #53630 (Fixed parameter handling inside readline() function).
5258 (jo at feuersee dot de, Ilia)
5259
5260- Reflection extension:
5261 . Fixed bug #53915 (ReflectionClass::getConstant(s) emits fatal error on
5262 constants with self::). (Gustavo)
5263
5264- Shmop extension:
5265 . Fixed bug #54193 (Integer overflow in shmop_read()). (Felipe)
5266 Reported by Jose Carlos Norte <jose at eyeos dot org> (CVE-2011-1092)
5267
5268- SNMP extension:
5269 . Fixed bug #51336 (snmprealwalk (snmp v1) does not handle end of OID tree
5270 correctly). (Boris Lytochkin)
5271
5272- SOAP extension:
5273 . Fixed possible crash introduced by the NULL poisoning patch.
5274 (Mateusz Kocielski, Pierre)
5275
5276- SPL extension:
5277 . Fixed memory leak in DirectoryIterator::getExtension() and
5278 SplFileInfo::getExtension(). (Felipe)
5279 . Fixed bug #53914 (SPL assumes HAVE_GLOB is defined). (Chris Jones)
5280 . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0
5281 values). (Felipe)
5282 . Fixed bug #49608 (Using CachingIterator on DirectoryIterator instance
5283 segfaults). (Felipe)
5284
5285 . Added SplFileInfo::getExtension(). FR #48767. (Peter Cowburn)
5286
5287- SQLite3 extension:
5288 . Fixed memory leaked introduced by the NULL poisoning patch.
5289 (Mateusz Kocielski, Pierre)
5290 . Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a
5291 reference. (Felipe)
5292 . Add SQlite3_Stmt::readonly() for checking if a statement is read only.
5293 (Scott)
5294 . Implemented FR #53466 (SQLite3Result::columnType() should return false after
5295 all of the rows have been fetched). (Scott)
5296
5297- Streams:
5298 . Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP
5299 wrapper). (Gustavo)
5300 . Fixed bug #53913 (Streams functions assume HAVE_GLOB is defined). (Chris
5301 Jones)
5302 . Fixed bug #53903 (userspace stream stat callback does not separate the
5303 elements of the returned array before converting them). (Gustavo)
5304 . Implemented FR #26158 (open arbitrary file descriptor with fopen). (Gustavo)
5305
5306- Tokenizer Extension
5307 . Fixed bug #54089 (token_get_all() does not stop after __halt_compiler).
5308 (Nikita Popov, Ilia)
5309
5310- XSL extension:
5311 . Fixed memory leaked introduced by the NULL poisoning patch.
5312 (Mateusz Kocielski, Pierre)
5313
5314- Zip extension:
5315 . Added the filename into the return value of stream_get_meta_data(). (Hannes)
5316 . Fixed bug #53923 (Zip functions assume HAVE_GLOB is defined). (Adam)
5317 . Fixed bug #53893 (Wrong return value for ZipArchive::extractTo()). (Pierre)
5318 . Fixed bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive).
5319 (Stas, Maksymilian Arciemowicz). (CVE-2011-0421)
5320 . Fixed bug #53854 (Missing constants for compression type). (Richard, Adam)
5321 . Fixed bug #53603 (ZipArchive should quiet stat errors). (brad dot froehle at
5322 gmail dot com, Gustavo)
5323 . Fixed bug #53579 (stream_get_contents() segfaults on ziparchive streams).
5324 (Hannes)
5325 . Fixed bug #53568 (swapped memset arguments in struct initialization).
5326 (crrodriguez at opensuse dot org)
5327 . Fixed bug #53166 (Missing parameters in docs and reflection definition).
5328 (Richard)
5329 . Fixed bug #49072 (feof never returns true for damaged file in zip).
5330 (Gustavo, Richard Quadling)
5331
533206 Jan 2011, PHP 5.3.5
5333- Fixed Bug #53632 (infinite loop with x87 fpu). (CVE-2010-4645) (Scott,
5334 Rasmus)
5335
533609 Dec 2010, PHP 5.3.4
5337- Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)
5338- Upgraded bundled PCRE to version 8.10. (Ilia)
5339
5340- Security enhancements:
5341 . Fixed crash in zip extract method (possible CWE-170).
5342 (Maksymilian Arciemowicz, Pierre)
5343 . Paths with NULL in them (foo\0bar.txt) are now considered as invalid.
5344 (Rasmus)
5345 . Fixed a possible double free in imap extension (Identified by Mateusz
5346 Kocielski). (CVE-2010-4150). (Ilia)
5347 . Fixed NULL pointer dereference in ZipArchive::getArchiveComment.
5348 (CVE-2010-3709). (Maksymilian Arciemowicz)
5349 . Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre)
5350 . Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950). (Pierre)
5351 . Fixed symbolic resolution support when the target is a DFS share. (Pierre)
5352 . Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with
5353 large amount of data) (CVE-2010-3710). (Adam)
5354
5355- General improvements:
5356 . Added stat support for zip stream. (Pierre)
5357 . Added follow_location (enabled by default) option for the http stream
5358 support. (Pierre)
5359 . Improved support for is_link and related functions on Windows. (Pierre)
5360 . Added a 3rd parameter to get_html_translation_table. It now takes a charset
5361 hint, like htmlentities et al. (Gustavo)
5362
5363- Implemented feature requests:
5364 . Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect
5365 zend multibyte at runtime. (Kalle)
5366 . Implemented FR #52173, added functions pcntl_get_last_error() and
5367 pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud)
5368 . Implemented symbolic links support for open_basedir checks. (Pierre)
5369 . Implemented FR #51804, SplFileInfo::getLinkTarget on Windows. (Pierre)
5370 . Implemented FR #50692, not uploaded files don't count towards
5371 max_file_uploads limit. As a side improvement, temporary files are not
5372 opened for empty uploads and, in debug mode, 0-length uploads. (Gustavo)
5373
5374- Improved MySQLnd:
5375 . Added new character sets to mysqlnd, which are available in MySQL 5.5
5376 (Andrey)
5377
5378- Improved PHP-FPM SAPI:
5379 . Added '-p/--prefix' to php-fpm to use a custom prefix and run multiple
5380 instances. (fat)
5381 . Added custom process title for FPM. (fat)
5382 . Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat)
5383 . Added statistics about listening socket queue length for FPM.
5384 (andrei dot nigmatulin at gmail dot com, fat)
5385
5386- Core:
5387 . Fixed extract() to do not overwrite $GLOBALS and $this when using
5388 EXTR_OVERWRITE. (jorto at redhat dot com)
5389 . Fixed bug in the Windows implementation of dns_get_record, where the two
5390 last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).
5391 . Changed the $context parameter on copy() to actually have an effect. (Kalle)
5392 . Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8
5393 sequences. (Gustavo)
5394 . Fixed bug #53409 (sleep() returns NULL on Windows). (Pierre)
5395 . Fixed bug #53319 (strip_tags() may strip '<br />' incorrectly). (Felipe)
5396 . Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits).
5397 (Ilia, daniel dot mueller at inexio dot net)
5398 . Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
5399 (Justin Martin)
5400 . Fixed bug #53226 (file_exists fails on big filenames). (Adam)
5401 . Fixed bug #53198 (changing INI setting "from" with ini_set did not have any
5402 effect). (Gustavo)
5403 . Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
5404 type is application/x-www-form-urlencoded or is not registered with PHP).
5405 (gm at tlink dot de, Gustavo)
5406 . Fixed bug #53141 (autoload misbehaves if called from closing session).
5407 (ladislav at marek dot su)
5408 . Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities
5409 with ENT_NOQUOTES and ISO-8859-1). Fixed and extended the fix of
5410 ENT_NOQUOTES in html_entity_decode that had introduced the bug (rev
5411 #185591) to other encodings. Additionaly, html_entity_decode() now doesn't
5412 decode &#34; if ENT_NOQUOTES is given. (Gustavo)
5413 . Fixed bug #52931 (strripos not overloaded with function overloading
5414 enabled). (Felipe)
5415 . Fixed bug #52772 (var_dump() doesn't check for the existence of
5416 get_class_name before calling it). (Kalle, Gustavo)
5417 . Fixed bug #52534 (var_export array with negative key). (Felipe)
5418 . Fixed bug #52327 (base64_decode() improper handling of leading padding in
5419 strict mode). (Ilia)
5420 . Fixed bug #52260 (dns_get_record fails with non-existing domain on Windows).
5421 (a_jelly_doughnut at phpbb dot com, Pierre)
5422 . Fixed bug #50953 (socket will not connect to IPv4 address when the host has
5423 both IPv4 and IPv6 addresses, on Windows). (Gustavo, Pierre)
5424 . Fixed bug #50524 (proc_open on Windows does not respect cwd as it does on
5425 other platforms). (Pierre)
5426 . Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number
5427 of reported malformed sequences). (CVE-2010-3870) (Gustavo)
5428 . Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).
5429 (Gustavo)
5430 . Fixed bug #48831 (php -i has different output to php --ini). (Richard,
5431 Pierre)
5432 . Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).
5433 (Felipe)
5434 . Fixed bug #47168 (printf of floating point variable prints maximum of 40
5435 decimal places). (Ilia)
5436 . Fixed bug #46587 (mt_rand() does not check that max is greater than min).
5437 (Ilia)
5438 . Fixed bug #29085 (bad default include_path on Windows). (Pierre)
5439 . Fixed bug #25927 (get_html_translation_table calls the ' &#39; instead of
5440 &#039;). (Gustavo)
5441
5442- Zend engine:
5443 . Reverted fix for bug #51176 (Static calling in non-static method behaves
5444 like $this->). (Felipe)
5445 . Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.
5446 (Kalle)
5447 . Fixed NULL dereference in lex_scan on zend multibyte builds where the script
5448 had a flex incompatible encoding and there was no converter. (Gustavo)
5449 . Fixed covariance of return-by-ref constraints. (Etienne)
5450 . Fixed bug #53305 (E_NOTICE when defining a constant starts with
5451 __COMPILER_HALT_OFFSET__). (Felipe)
5452 . Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF).
5453 (Dmitry)
5454 . Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset
5455 can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)
5456 . Fixed bug #52786 (PHP should reset section to [PHP] after ini sections).
5457 (Fedora at famillecollet dot com)
5458 . Fixed bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW).
5459 (Felipe)
5460 . Fixed bug #52484 (__set() ignores setting properties with empty names).
5461 (Felipe)
5462 . Fixed bug #52361 (Throwing an exception in a destructor causes invalid
5463 catching). (Dmitry)
5464 . Fixed bug #51008 (Zend/tests/bug45877.phpt fails). (Dmitry)
5465
5466- Build issues:
5467 . Fixed bug #52436 (Compile error if systems do not have stdint.h)
5468 (Sriram Natarajan)
5469 . Fixed bug #50345 (nanosleep not detected properly on some solaris versions).
5470 (Ulf, Tony)
5471 . Fixed bug #49215 (make fails on glob_wrapper). (Felipe)
5472
5473- Calendar extension:
5474 . Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE).
5475 (gpap at internet dot gr, Adam)
5476
5477- cURL extension:
5478 . Fixed bug #52828 (curl_setopt does not accept persistent streams).
5479 (Gustavo, Ilia)
5480 . Fixed bug #52827 (cURL leaks handle and causes assertion error
5481 (CURLOPT_STDERR)). (Gustavo)
5482 . Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). (Ilia)
5483 . Fixed bug #50410 (curl extension slows down PHP on Windows). (Pierre)
5484
5485- DateTime extension:
5486 . Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return
5487 1 million microsecs). (ped at 7gods dot org)
5488 . Fixed bug #52668 (Iterating over a dateperiod twice is broken). (Derick)
5489 . Fixed bug #52454 (Relative dates and getTimestamp increments by one day).
5490 (Derick)
5491 . Fixed bug #52430 (date_parse parse 24:xx:xx as valid time). (Derick)
5492 . Added support for the ( and ) delimiters/separators to
5493 DateTime::createFromFormat(). (Derick)
5494
5495- DBA extension:
5496 . Added Berkeley DB 5.1 support to the DBA extension. (Oracle Corp.)
5497
5498- DOM extension:
5499 . Fixed bug #52656 (DOMCdataSection does not work with splitText). (Ilia)
5500
5501- Filter extension:
5502 . Fixed the filter extension accepting IPv4 octets with a leading 0 as that
5503 belongs to the unsupported "dotted octal" representation. (Gustavo)
5504 . Fixed bug #53236 (problems in the validation of IPv6 addresses with leading
5505 and trailing :: in the filter extension). (Gustavo)
5506 . Fixed bug #50117 (problems in the validation of IPv6 addresses with IPv4
5507 addresses and ::). (Gustavo)
5508
5509- GD extension:
5510 . Fixed bug #53492 (fix crash if anti-aliasing steps are invalid). (Pierre)
5511
5512- GMP extension:
5513 . Fixed bug #52906 (gmp_mod returns negative result when non-negative is
5514 expected). (Stas)
5515 . Fixed bug #52849 (GNU MP invalid version match). (Adam)
5516
5517- Hash extension:
5518 . Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c).
5519 (Mike, Ilia)
5520
5521- Iconv extension:
5522 . Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping
5523 headers). (Adam)
5524 . Fixed bug #52599 (iconv output handler outputs incorrect content type
5525 when flags are used). (Ilia)
5526 . Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded
5527 words). (Ilia)
5528
5529- Intl extension:
5530 . Fixed crashes on invalid parameters in intl extension. (CVE-2010-4409).
5531 (Stas, Maksymilian Arciemowicz)
5532 . Added support for formatting the timestamp stored in a DateTime object.
5533 (Stas)
5534 . Fixed bug #50590 (IntlDateFormatter::parse result is limited to the integer
5535 range). (Stas)
5536
5537- Mbstring extension:
5538 . Fixed bug #53273 (mb_strcut() returns garbage with the excessive length
5539 parameter). (CVE-2010-4156) (Mateusz Kocielski, Pierre, Moriyoshi)
5540 . Fixed bug #52981 (Unicode casing table was out-of-date. Updated with
5541 UnicodeData-6.0.0d7.txt and included the source of the generator program
5542 with the distribution) (Gustavo).
5543 . Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header).
5544 (Adam)
5545
5546- MSSQL extension:
5547 . Fixed possible crash in mssql_fetch_batch(). (Kalle)
5548 . Fixed bug #52843 (Segfault when optional parameters are not passed in to
5549 mssql_connect). (Felipe)
5550
5551- MySQL extension:
5552 . Fixed bug #52636 (php_mysql_fetch_hash writes long value into int).
5553 (Kalle, rein at basefarm dot no)
5554
5555- MySQLi extension:
5556 . Fixed bug #52891 (Wrong data inserted with mysqli/mysqlnd when using
5557 mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey)
5558 . Fixed bug #52686 (mysql_stmt_attr_[gs]et argument points to incorrect type).
5559 (rein at basefarm dot no)
5560 . Fixed bug #52654 (mysqli doesn't install headers with structures it uses).
5561 (Andrey)
5562 . Fixed bug #52433 (Call to undefined method mysqli::poll() - must be static).
5563 (Andrey)
5564 . Fixed bug #52417 (MySQLi build failure with mysqlnd on MacOS X). (Andrey)
5565 . Fixed bug #52413 (MySQLi/libmysql build failure on OS X, FreeBSD). (Andrey)
5566 . Fixed bug #52390 (mysqli_report() should be per-request setting). (Kalle)
5567 . Fixed bug #52302 (mysqli_fetch_all does not work with MYSQLI_USE_RESULT).
5568 (Andrey)
5569 . Fixed bug #52221 (Misbehaviour of magic_quotes_runtime (get/set)). (Andrey)
5570 . Fixed bug #45921 (Can't initialize character set hebrew). (Andrey)
5571
5572- MySQLnd:
5573 . Fixed bug #52613 (crash in mysqlnd after hitting memory limit). (Andrey)
5574
5575- ODBC extension:
5576 - Fixed bug #52512 (Broken error handling in odbc_execute).
5577 (mkoegler at auto dot tuwien dot ac dot at)
5578
5579- Openssl extension:
5580 . Fixed possible blocking behavior in openssl_random_pseudo_bytes on Windows.
5581 (Pierre)
5582 . Fixed bug #53136 (Invalid read on openssl_csr_new()). (Felipe)
5583 . Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain
5584 used). (Felipe)
5585
5586- Oracle Database extension (OCI8):
5587 . Fixed bug #53284 (Valgrind warnings in oci_set_* functions) (Oracle Corp.)
5588 . Fixed bug #51610 (Using oci_connect causes PHP to take a long time to
5589 exit). Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix
5590 9891199) for this patch to have an effect. (Oracle Corp.)
5591
5592- PCNTL extension:
5593 . Fixed bug #52784 (Race condition when handling many concurrent signals).
5594 (nick dot telford at gmail dot com, Arnaud)
5595
5596- PCRE extension:
5597 . Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8). (Felipe)
5598 . Fixed bug #52732 (Docs say preg_match() returns FALSE on error, but it
5599 returns int(0)). (slugonamission at gmail dot com)
5600
5601- PHAR extension:
5602 . Fixed bug #50987 (unaligned memory access in phar.c).
5603 (geissert at debian dot org, Ilia)
5604
5605- PHP-FPM SAPI:
5606 . Fixed bug #53412 (segfault when using -y). (fat)
5607 . Fixed inconsistent backlog default value (-1) in FPM on many systems. (fat)
5608 . Fixed bug #52501 (libevent made FPM crashed when forking -- libevent has
5609 been removed). (fat)
5610 . Fixed bug #52725 (gcc builtin atomic functions were sometimes used when they
5611 were not available). (fat)
5612 . Fixed bug #52693 (configuration file errors are not logged to stderr). (fat)
5613 . Fixed bug #52674 (FPM Status page returns inconsistent Content-Type
5614 headers). (fat)
5615 . Fixed bug #52498 (libevent was not only linked to php-fpm). (fat)
5616
5617- PDO:
5618 . Fixed bug #52699 (PDO bindValue writes long int 32bit enum).
5619 (rein at basefarm dot no)
5620 . Fixed bug #52487 (PDO::FETCH_INTO leaks memory). (Felipe)
5621
5622- PDO DBLib driver:
5623 . Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values).
5624 (Felipe)
5625
5626- PDO Firebird driver:
5627 . Restored firebird support (VC9 builds only). (Pierre)
5628 . Fixed bug #53335 (pdo_firebird did not implement rowCount()).
5629 (preeves at ibphoenix dot com)
5630 . Fixed bug #53323 (pdo_firebird getAttribute() crash).
5631 (preeves at ibphoenix dot com)
5632
5633- PDO MySQL driver:
5634 . Fixed bug #52745 (Binding params doesn't work when selecting a date inside a
5635 CASE-WHEN). (Andrey)
5636
5637- PostgreSQL extension:
5638 . Fixed bug #47199 (pg_delete() fails on NULL). (ewgraf at gmail dot com)
5639
5640- Reflection extension:
5641 . Fixed ReflectionProperty::isDefault() giving a wrong result for properties
5642 obtained with ReflectionClass::getProperties(). (Gustavo)
5643- Reflection extension:
5644 . Fixed bug #53366 (Reflection doesnt get dynamic property value from
5645 getProperty()). (Felipe)
5646 . Fixed bug #52854 (ReflectionClass::newInstanceArgs does not work for classes
5647 without constructors). (Johannes)
5648
5649- SOAP extension:
5650 . Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy
5651 with SoapClient object). (Dmitry)
5652
5653- SPL extension:
5654 . Fixed bug #53362 (Segmentation fault when extending SplFixedArray). (Felipe)
5655 . Fixed bug #53279 (SplFileObject doesn't initialise default CSV escape
5656 character). (Adam)
5657 . Fixed bug #53144 (Segfault in SplObjectStorage::removeAll()). (Felipe)
5658 . Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). (Gustavo)
5659 . Fixed bug #52573 (SplFileObject::fscanf Segmentation fault). (Felipe)
5660 . Fixed bug #51763 (SplFileInfo::getType() does not work symbolic link
5661 and directory). (Pierre)
5662 . Fixed bug #50481 (Storing many SPLFixedArray in an array crashes). (Felipe)
5663 . Fixed bug #50579 (RegexIterator::REPLACE doesn't work). (Felipe)
5664
5665- SQLite3 extension:
5666 . Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number).
5667 (Felipe)
5668
5669- Streams:
5670 . Fixed forward stream seeking emulation in streams that don't support seeking
5671 in situations where the read operation gives back less data than requested
5672 and when there was data in the buffer before the emulation started. Also
5673 made more consistent its behavior -- should return failure every time less
5674 data than was requested was skipped. (Gustavo)
5675 . Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails
5676 with streams opened with, inter alia, the 'xb' mode). (Gustavo)
5677 . Fixed bug #53006 (stream_get_contents has an unpredictable behavior when the
5678 underlying stream does not support seeking). (Gustavo)
5679 . Fixed bug #52944 (Invalid write on second and subsequent reads with an
5680 inflate filter fed invalid data). (Gustavo)
5681 . Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the
5682 stream). (Gustavo)
5683
5684- WDDX extension:
5685 . Fixed bug #52468 (wddx_deserialize corrupts integer field value when left
5686 empty). (Felipe)
5687
5688- Zlib extension:
5689 . Fixed bug #52926 (zlib fopen wrapper does not use context). (Gustavo)
5690
569122 Jul 2010, PHP 5.3.3
5692- Upgraded bundled sqlite to version 3.6.23.1. (Ilia)
5693- Upgraded bundled PCRE to version 8.02. (Ilia)
5694
5695- Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
5696 numeric strings to integers. (Ilia)
5697- Added stream_set_read_buffer, allows to set the buffer for read operation.
5698 (Pierre)
5699- Added stream filter support to mcrypt extension (ported from
5700 mcrypt_filter). (Stas)
5701- Added full_special_chars filter to ext/filter. (Rasmus)
5702- Added backlog socket context option for stream_socket_server(). (Mike)
5703- Added fifth parameter to openssl_encrypt()/openssl_decrypt()
5704 (string $iv) to use non-NULL IV.
5705 Made implicit use of NULL IV a warning. (Sara)
5706- Added openssl_cipher_iv_length(). (Sara)
5707- Added FastCGI Process Manager (FPM) SAPI. (Tony)
5708- Added recent Windows versions to php_uname and fix undefined windows
5709 version support. (Pierre)
5710- Added Berkeley DB 5 support to the DBA extension. (Johannes, Chris Jones)
5711- Added support for copy to/from array/file for pdo_pgsql extension.
5712 (Denis Gasparin, Ilia)
5713- Added inTransaction() method to PDO, with specialized support for Postgres.
5714 (Ilia, Denis Gasparin)
5715
5716- Changed namespaced classes so that the ctor can only be named
5717 __construct now. (Stas)
5718- Reset error state in PDO::beginTransaction() reset error state. (Ilia)
5719
5720- Implemented FR#51295 (SQLite3::busyTimeout not existing). (Mark)
5721- Implemented FR#35638 (Adding udate to imap_fetch_overview results).
5722 (Charles_Duffy at dell dot com )
5723- Rewrote var_export() to use smart_str rather than output buffering, prevents
5724 data disclosure if a fatal error occurs (CVE-2010-2531). (Scott)
5725- Fixed possible buffer overflows in mysqlnd_list_fields, mysqlnd_change_user.
5726 (Andrey)
5727- Fixed possible buffer overflows when handling error packets in mysqlnd.
5728 Reported by Stefan Esser. (Andrey)
5729- Fixed very rare memory leak in mysqlnd, when binding thousands of columns.
5730 (Andrey)
5731- Fixed a crash when calling an inexistent method of a class that inherits
5732 PDOStatement if instantiated directly instead of doing by the PDO methods.
5733 (Felipe)
5734
5735- Fixed memory leak on error in mcrypt_create_iv on Windows. (Pierre)
5736- Fixed a possible crash because of recursive GC invocation. (Dmitry)
5737- Fixed a possible resource destruction issues in shm_put_var().
5738 Reported by Stefan Esser. (Dmitry)
5739- Fixed a possible information leak because of interruption of XOR operator.
5740 Reported by Stefan Esser. (Dmitry)
5741- Fixed a possible memory corruption because of unexpected call-time pass by
5742 refernce and following memory clobbering through callbacks.
5743 Reported by Stefan Esser. (Dmitry)
5744- Fixed a possible memory corruption in ArrayObject::uasort(). Reported by
5745 Stefan Esser. (Dmitry)
5746- Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser.
5747 (Dmitry)
5748- Fixed a possible memory corruption in pack(). Reported by Stefan Esser.
5749 (Dmitry)
5750- Fixed a possible memory corruption in substr_replace(). Reported by Stefan
5751 Esser. (Dmitry)
5752- Fixed a possible memory corruption in addcslashes(). Reported by Stefan
5753 Esser. (Dmitry)
5754- Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan
5755 Esser. (Ilia)
5756- Fixed a possible dechunking filter buffer overflow. Reported by Stefan Esser.
5757 (Pierre)
5758- Fixed a possible arbitrary memory access inside sqlite extension. Reported
5759 by Mateusz Kocielski. (Ilia)
5760- Fixed string format validation inside phar extension. Reported by Stefan
5761 Esser. (Ilia)
5762- Fixed handling of session variable serialization on certain prefix
5763 characters. Reported by Stefan Esser. (Ilia)
5764- Fixed a NULL pointer dereference when processing invalid XML-RPC
5765 requests (Fixes CVE-2010-0397, bug #51288). (Raphael Geissert)
5766- Fixed 64-bit integer overflow in mhash_keygen_s2k(). (Cl��ment LECIGNE, Stas)
5767- Fixed SplObjectStorage unserialization problems (CVE-2010-2225). (Stas)
5768- Fixed the mail.log ini setting when no filename was given. (Johannes)
5769
5770- Fixed bug #52317 (Segmentation fault when using mail() on a rhel 4.x (only 64
5771 bit)). (Adam)
5772- Fixed bug #52262 (json_decode() shows no errors on invalid UTF-8).
5773 (Scott)
5774- Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong
5775 results and PHP crashes). (Felipe)
5776- Fixed bug #52238 (Crash when an Exception occured in iterator_to_array).
5777 (Johannes)
5778- Fixed bug #52193 (converting closure to array yields empty array). (Felipe)
5779- Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for
5780 function aliases). (Felipe)
5781- Fixed bug #52162 (custom request header variables with numbers are removed).
5782 (Sriram Natarajan)
5783- Fixed bug #52160 (Invalid E_STRICT redefined constructor error). (Felipe)
5784- Fixed bug #52138 (Constants are parsed into the ini file for section names).
5785 (Felipe)
5786- Fixed bug #52115 (mysqli_result::fetch_all returns null, not an empty array).
5787 (Andrey)
5788- Fixed bug #52101 (dns_get_record() garbage in 'ipv6' field on Windows).
5789 (Pierre)
5790- Fixed bug #52082 (character_set_client & character_set_connection reset after
5791 mysqli_change_user()). (Andrey)
5792- Fixed bug #52043 (GD doesn't recognize latest libJPEG versions).
5793 (php at group dot apple dot com, Pierre)
5794- Fixed bug #52041 (Memory leak when writing on uninitialized variable returned
5795 from function). (Dmitry)
5796- Fixed bug #52060 (Memory leak when passing a closure to method_exists()).
5797 (Felipe)
5798- Fixed bug #52057 (ReflectionClass fails on Closure class). (Felipe)
5799- Fixed bug #52051 (handling of case sensitivity of old-style constructors
5800 changed in 5.3+). (Felipe)
5801- Fixed bug #52037 (Concurrent builds fail in install-programs). (seanius at
5802 debian dot org, Kalle)
5803- Fixed bug #52019 (make lcov doesn't support TESTS variable anymore). (Patrick)
5804- Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command).
5805 (Ilia)
5806- Fixed bug #52001 (Memory allocation problems after using variable variables).
5807 (Dmitry)
5808- Fixed bug #51991 (spl_autoload and *nix support with namespace). (Felipe)
5809- Fixed bug #51943 (AIX: Several files are out of ANSI spec). (Kalle,
5810 coreystup at gmail dot com)
5811- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with
5812 constant array). (Felipe)
5813- Fixed bug #51905 (ReflectionParameter fails if default value is an array
5814 with an access to self::). (Felipe)
5815- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value
5816 followed by no newline). (Felipe)
5817- Fixed bug #51844 (checkdnsrr does not support types other than MX). (Pierre)
5818- Fixed bug #51827 (Bad warning when register_shutdown_function called with
5819 wrong num of parameters). (Felipe)
5820- Fixed bug #51822 (Segfault with strange __destruct() for static class
5821 variables). (Dmitry)
5822- Fixed bug #51791 (constant() aborts execution when fail to check undefined
5823 constant). (Felipe)
5824- Fixed bug #51732 (Fileinfo __construct or open does not work with NULL).
5825 (Pierre)
5826- Fixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike)
5827- Fixed bug #51723 (Content-length header is limited to 32bit integer with
5828 Apache2 on Windows). (Pierre)
5829- Fixed bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable).
5830 (David Zuelke)
5831- Fixed bug #51712 (Test mysql_mysqlnd_read_timeout_long must fail on MySQL4).
5832 (Andrey)
5833- Fixed bug #51697 (Unsafe operations in free_storage of SPL iterators,
5834 causes crash during shutdown). (Etienne)
5835- Fixed bug #51690 (Phar::setStub looks for case-sensitive
5836 __HALT_COMPILER()). (Ilia)
5837- Fixed bug #51688 (ini per dir crashes when invalid document root are given).
5838 (Pierre)
5839- Fixed bug #51671 (imagefill does not work correctly for small images).
5840 (Pierre)
5841- Fixed bug #51670 (getColumnMeta causes segfault when re-executing query
5842 after calling nextRowset). (Pierrick)
5843- Fixed bug #51647 Certificate file without private key (pk in another file)
5844 doesn't work. (Andrey)
5845- Fixed bug #51629 (CURLOPT_FOLLOWLOCATION error message is misleading).
5846 (Pierre)
5847- Fixed bug #51627 (script path not correctly evaluated).
5848 (russell dot tempero at rightnow dot com)
5849- Fixed bug #51624 (Crash when calling mysqli_options()). (Felipe)
5850- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML). (Felipe)
5851- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter).
5852 (Felipe)
5853- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string
5854 literal). (cbandy at jbandy dot com)
5855- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename
5856 argument). (cbandy at jbandy dot com)
5857- Fixed bug #51605 (Mysqli - zombie links). (Andrey)
5858- Fixed bug #51604 (newline in end of header is shown in start of message).
5859 (Daniel Egeberg)
5860- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined). (Felipe)
5861- Fixed bug #51583 (Bus error due to wrong alignment in mysqlnd). (Rainer Jung)
5862- Fixed bug #51582 (Don't assume UINT64_C it's ever available).
5863 (reidrac at usebox dot net, Pierre)
5864- Fixed bug #51577 (Uninitialized memory reference with oci_bind_array_by_name)
5865 (Oracle Corp.)
5866- Fixed bug #51562 (query timeout in mssql can not be changed per query).
5867 (ejsmont dot artur at gmail dot com)
5868- Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory
5869 issues). (Dmitry)
5870- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection). (Felipe)
5871- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile
5872 errors). (Felipe)
5873- Fixed bug #51424 (crypt() function hangs after 3rd call). (Pierre, Sriram)
5874- Fixed bug #51394 (Error line reported incorrectly if error handler throws an
5875 exception). (Stas)
5876- Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains
5877 timezone). (Adam)
5878- Fixed bug #51347 (mysqli_close / connection memory leak). (Andrey, Johannes)
5879- Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is
5880 on). (Ilia, j dot jeising at gmail dot com)
5881- Fixed bug #51291 (oci_error doesn't report last error when called two times)
5882 (Oracle Corp.)
5883- Fixed bug #51276 (php_load_extension() is missing when HAVE_LIBDL is
5884 undefined). (Tony)
5885- Fixed bug #51273 (Faultstring property does not exist when the faultstring is
5886 empty) (Ilia, dennis at transip dot nl)
5887- Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). (Adam)
5888- Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl
5889 version 7.10.1). (aron dot ujvari at microsec dot hu)
5890- Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore,
5891 but 0). (Adam)
5892- Fixed bug #51237 (milter SAPI crash on startup). (igmar at palsenberg dot com)
5893- Fixed bug #51213 (pdo_mssql is trimming value of the money column). (Ilia,
5894 alexr at oplot dot com)
5895- Fixed bug #51190 (ftp_put() returns false when transfer was successful).
5896 (Ilia)
5897- Fixed bug #51183 (ext/date/php_date.c fails to compile with Sun Studio).
5898 (Sriram Natarajan)
5899- Fixed bug #51176 (Static calling in non-static method behaves like $this->).
5900 (Felipe)
5901- Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when
5902 an invalid option is provided). (Ilia)
5903- Fixed bug #51128 (imagefill() doesn't work with large images). (Pierre)
5904- Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
5905 parsing date strings). (Derick)
5906- Fixed bug #51086 (DBA DB4 doesn't work with Berkeley DB 4.8). (Chris Jones)
5907- Fixed bug #51062 (DBA DB4 uses mismatched headers and libraries). (Chris
5908 Jones)
5909- Fixed bug #51026 (mysqli_ssl_set not working). (Andrey)
5910- Fixed bug #51023 (filter doesn't detect int overflows with GCC 4.4).
5911 (Raphael Geissert)
5912- Fixed bug #50999 (unaligned memory access in dba_fetch()). (Felipe)
5913- Fixed bug #50976 (Soap headers Authorization not allowed).
5914 (Brain France, Dmitry)
5915- Fixed bug #50828 (DOMNotation is not subclass of DOMNode). (Rob)
5916- Fixed bug #50810 (property_exists does not work for private). (Felipe)
5917- Fixed bug #50762 (in WSDL mode Soap Header handler function only being called
5918 if defined in WSDL). (mephius at gmail dot com)
5919- Fixed bug #50731 (Inconsistent namespaces sent to functions registered with
5920 spl_autoload_register). (Felipe)
5921- Fixed bug #50563 (removing E_WARNING from parse_url). (ralph at smashlabs dot
5922 com, Pierre)
5923- Fixed bug #50578 (incorrect shebang in phar.phar). (Fedora at FamilleCollet
5924 dot com)
5925- Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format
5926 character). (Derick)
5927- Fixed bug #50383 (Exceptions thrown in __call / __callStatic do not include
5928 file and line in trace). (Felipe)
5929- Fixed bug #50358 (Compile failure compiling ext/phar/util.lo). (Felipe)
5930- Fixed bug #50101 (name clash between global and local variable).
5931 (patch by yoarvi at gmail dot com)
5932- Fixed bug #50055 (DateTime::sub() allows 'relative' time modifications).
5933 (Derick)
5934- Fixed bug #51002 (fix possible memory corruption with very long names).
5935 (Pierre)
5936- Fixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3).
5937 (Dmitry)
5938- Fixed bug #49819 (STDOUT losing data with posix_isatty()). (Mike)
5939- Fixed bug #49778 (DateInterval::format("%a") is always zero when an interval
5940 is created from an ISO string). (Derick)
5941- Fixed bug #49700 (memory leaks in php_date.c if garbage collector is
5942 enabled). (Dmitry)
5943- Fixed bug #49576 (FILTER_VALIDATE_EMAIL filter needs updating) (Rasmus)
5944- Fixed bug #49490 (XPath namespace prefix conflict). (Rob)
5945- Fixed bug #49429 (odbc_autocommit doesn't work). (Felipe)
5946- Fixed bug #49320 (PDO returns null when SQLite connection fails). (Felipe)
5947- Fixed bug #49234 (mysqli_ssl_set not found). (Andrey)
5948- Fixed bug #49216 (Reflection doesn't seem to work properly on MySqli).
5949 (Andrey)
5950- Fixed bug #49192 (PHP crashes when GC invoked on COM object). (Stas)
5951- Fixed bug #49081 (DateTime::diff() mistake if start in January and interval >
5952 28 days). (Derick)
5953- Fixed bug #49059 (DateTime::diff() repeats previous sub() operation).
5954 (yoarvi@gmail.com, Derick)
5955- Fixed bug #48983 (DomDocument : saveHTMLFile wrong charset). (Rob)
5956- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3). (Felipe)
5957- Fixed bug #48902 (Timezone database fallback map is outdated). (Derick)
5958- Fixed bug #48781 (Cyclical garbage collector memory leak). (Dmitry)
5959- Fixed bug #48601 (xpath() returns FALSE for legitimate query). (Rob)
5960- Fixed bug #48361 (SplFileInfo::getPathInfo should return the
5961 parent dir). (Etienne)
5962- Fixed bug #48289 (iconv_mime_encode() quoted-printable scheme is broken).
5963 (Adam, patch from hiroaki dot kawai at gmail dot com).
5964- Fixed bug #47842 (sscanf() does not support 64-bit values). (Mike)
5965- Fixed bug #46111 (Some timezone identifiers can not be parsed). (Derick)
5966- Fixed bug #45808 (stream_socket_enable_crypto() blocks and eats CPU).
5967 (vincent at optilian dot com)
5968- Fixed bug #43233 (sasl support for ldap on Windows). (Pierre)
5969- Fixed bug #35673 (formatOutput does not work with saveHTML). (Rob)
5970- Fixed bug #33210 (getimagesize() fails to detect width/height on certain
5971 JPEGs). (Ilia)
5972
597304 Mar 2010, PHP 5.3.2
5974
5975- Upgraded bundled sqlite to version 3.6.22. (Ilia)
5976- Upgraded bundled libmagic to version 5.03. (Mikko)
5977- Upgraded bundled PCRE to version 8.00. (Scott)
5978- Updated timezone database to version 2010.3. (Derick)
5979
5980- Improved LCG entropy. (Rasmus, Samy Kamkar)
5981- Improved crypt support for edge cases (UFC compatibility). (Solar Designer,
5982 Joey, Pierre)
5983
5984- Reverted fix for bug #49521 (PDO fetchObject sets values before calling
5985 constructor). (Pierrick, Johannes)
5986
5987- Changed gmp_strval() to use full range from 2 to 62, and -2 to -36. FR #50283
5988 (David Soria Parra)
5989- Changed "post_max_size" php.ini directive to allow unlimited post size by
5990 setting it to 0. (Rasmus)
5991- Changed tidyNode class to disallow manual node creation. (Pierrick)
5992
5993- Removed automatic file descriptor unlocking happening on shutdown and/or
5994 stream close (on all OSes). (Tony, Ilia)
5995
5996- Added libpng 1.4.0 support. (Pierre)
5997- Added support for DISABLE_AUTHENTICATOR for imap_open. (Pierre)
5998- Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL.
5999 (Ilia)
6000- Added stream_resolve_include_path(). (Mikko)
6001- Added INTERNALDATE support to imap_append. (nick at mailtrust dot com)
6002- Added support for SHA-256 and SHA-512 to php's crypt. (Pierre)
6003- Added realpath_cache_size() and realpath_cache_get() functions. (Stas)
6004- Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia)
6005- Added protection for $_SESSION from interrupt corruption and improved
6006 "session.save_path" check. (Stas)
6007- Added LIBXML_PARSEHUGE constant to override the maximum text size of a
6008 single text node when using libxml2.7.3+. (Kalle)
6009- Added ReflectionMethod::setAccessible() for invoking non-public methods
6010 through the Reflection API. (Sebastian)
6011- Added Collator::getSortKey for intl extension. (Stas)
6012- Added support for CURLOPT_POSTREDIR. FR #49571. (Sriram Natarajan)
6013- Added support for CURLOPT_CERTINFO. FR #49253.
6014 (Linus Nielsen Feltzing <linus@haxx.se>)
6015- Added client-side server name indication support in openssl. (Arnaud)
6016
6017- Improved fix for bug #50006 (Segfault caused by uksort()). (Stas)
6018
6019- Fixed mysqlnd hang when queries exactly 16777214 bytes long are sent. (Andrey)
6020- Fixed incorrect decoding of 5-byte BIT sequences in mysqlnd. (Andrey)
6021- Fixed error_log() to be binary safe when using message_type 3. (Jani)
6022- Fixed unnecessary invocation of setitimer when timeouts have been disabled.
6023 (Arvind Srinivasan)
6024- Fixed memory leak in extension loading when an error occurs on Windows.
6025 (Pierre)
6026- Fixed safe_mode validation inside tempnam() when the directory path does
6027 not end with a /). (Martin Jansen)
6028- Fixed a possible open_basedir/safe_mode bypass in session extension
6029 identified by Grzegorz Stachowiak. (Ilia)
6030- Fixed possible crash when a error/warning is raised during php startup.
6031 (Pierre)
6032- Fixed possible bad behavior of rename on windows when used with symbolic
6033 links or invalid paths. (Pierre)
6034- Fixed error output to stderr on Windows. (Pierre)
6035- Fixed memory leaks in is_writable/readable/etc on Windows. (Pierre)
6036- Fixed memory leaks in the ACL function on Windows. (Pierre)
6037- Fixed memory leak in the realpath cache on Windows. (Pierre)
6038- Fixed memory leak in zip_close. (Pierre)
6039- Fixed crypt's blowfish sanity check of the "setting" string, to reject
6040 iteration counts encoded as 36 through 39. (Solar Designer, Joey, Pierre)
6041
6042- Fixed bug #51059 (crypt crashes when invalid salt are given). (Pierre)
6043- Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files).
6044 (Jani)
6045- Fixed bug #50940 (Custom content-length set incorrectly in Apache SAPIs).
6046 (Brian France, Rasmus)
6047- Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc
6048 versions). (Derick)
6049- Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in *NIX).
6050 (Ilia)
6051- Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation).
6052 (Ilia, hanno at hboeck dot de)
6053- Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes
6054 long). (Ilia)
6055- Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored).
6056 (Ilia)
6057- Fixed bug #50832 (HTTP fopen wrapper does not support passwordless HTTP
6058 authentication). (Jani)
6059- Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams).
6060 (vnegrier at optilian dot com, Ilia)
6061- Fixed bug #50761 (system.multiCall crashes in xmlrpc extension).
6062 (hiroaki dot kawai at gmail dot com, Ilia)
6063- Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist). (Sriram)
6064- Fixed bug #50732 (exec() adds single byte twice to $output array). (Ilia)
6065- Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0).
6066 (Joey, Ilia)
6067- Fixed bug #50723 (Bug in garbage collector causes crash). (Dmitry)
6068- Fixed bug #50690 (putenv does not set ENV when the value is only one char).
6069 (Pierre)
6070- Fixed bug #50680 (strtotime() does not support eighth ordinal number). (Ilia)
6071- Fixed bug #50661 (DOMDocument::loadXML does not allow UTF-16). (Rob)
6072- Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but
6073 returns false). (Ilia)
6074- Fixed bug #50636 (MySQLi_Result sets values before calling constructor).
6075 (Pierrick)
6076- Fixed bug #50632 (filter_input() does not return default value if the
6077 variable does not exist). (Ilia)
6078- Fixed bug #50576 (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick)
6079- Fixed bug #50558 (Broken object model when extending tidy). (Pierrick)
6080- Fixed bug #50540 (Crash while running ldap_next_reference test cases).
6081 (Sriram)
6082- Fixed bug #50519 (segfault in garbage collection when using set_error_handler
6083 and DomDocument). (Dmitry)
6084- Fixed bug #50508 (compile failure: Conflicting HEADER type declarations).
6085 (Jani)
6086- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation
6087 environment. (Sriram)
6088- Fixed bug #50464 (declare encoding doesn't work within an included file).
6089 (Felipe)
6090- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures). (Felipe, Pierrick)
6091- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes
6092 seg fault). (davbrown4 at yahoo dot com, Felipe)
6093- Fixed bug #50416 (PROCEDURE db.myproc can't return a result set in the given
6094 context). (Andrey)
6095- Fixed bug #50394 (Reference argument converted to value in __call). (Stas)
6096- Fixed bug #50351 (performance regression handling objects, ten times slower
6097 in 5.3 than in 5.2). (Dmitry)
6098- Fixed bug #50392 (date_create_from_format() enforces 6 digits for 'u'
6099 format character). (Ilia)
6100- Fixed bug #50345 (nanosleep not detected properly on some solaris versions).
6101 (Jani)
6102- Fixed bug #50340 (php.ini parser does not allow spaces in ini keys). (Jani)
6103- Fixed bug #50334 (crypt ignores sha512 prefix). (Pierre)
6104- Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN).
6105 (Ilia, Pierrick)
6106- Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays).
6107 (Felipe)
6108- Fixed bug #50282 (xmlrpc_encode_request() changes object into array in
6109 calling function). (Felipe)
6110- Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT). (Jani)
6111- Fixed bug #50266 (conflicting types for llabs). (Jani)
6112- Fixed bug #50261 (Crash When Calling Parent Constructor with
6113 call_user_func()). (Dmitry)
6114- Fixed bug #50255 (isset() and empty() silently casts array to object).
6115 (Felipe)
6116- Fixed bug #50240 (pdo_mysql.default_socket in php.ini shouldn't used
6117 if it is empty). (foutrelis at gmail dot com, Ilia)
6118- Fixed bug #50231 (Socket path passed using --with-mysql-sock is ignored when
6119 mysqlnd is enabled). (Jani)
6120- Fixed bug #50219 (soap call Segmentation fault on a redirected url).
6121 (Pierrick)
6122- Fixed bug #50212 (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT).
6123 (Ilia, shigeru_kitazaki at cybozu dot co dot jp)
6124- Fixed bug #50209 (Compiling with libedit cannot find readline.h).
6125 (tcallawa at redhat dot com)
6126- Fixed bug #50207 (segmentation fault when concatenating very large strings on
6127 64bit linux). (Ilia)
6128- Fixed bug #50196 (stream_copy_to_stream() produces warning when source is
6129 not file). (Stas)
6130- Fixed bug #50195 (pg_copy_to() fails when table name contains schema. (Ilia)
6131- Fixed bug #50185 (ldap_get_entries() return false instead of an empty array
6132 when there is no error). (Jani)
6133- Fixed bug #50174 (Incorrectly matched docComment). (Felipe)
6134- Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to
6135 non-existant file). (Dmitry)
6136- Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle
6137 database). (Felipe)
6138- Fixed bug #50159 (wrong working directory in symlinked files). (Dmitry)
6139- Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses
6140 containing = or ?). (Pierrick)
6141- Fixed bug #50152 (ReflectionClass::hasProperty behaves like isset() not
6142 property_exists). (Felipe)
6143- Fixed bug #50146 (property_exists: Closure object cannot have properties).
6144 (Felipe)
6145- Fixed bug #50145 (crash while running bug35634.phpt). (Felipe)
6146- Fixed bug #50140 (With default compilation option, php symbols are unresolved
6147 for nsapi). (Uwe Schindler)
6148- Fixed bug #50087 (NSAPI performance improvements). (Uwe Schindler)
6149- Fixed bug #50073 (parse_url() incorrect when ? in fragment). (Ilia)
6150- Fixed bug #50023 (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR). (Ilia)
6151- Fixed bug #50005 (Throwing through Reflection modified Exception object
6152 makes segmentation fault). (Felipe)
6153- Fixed bug #49990 (SNMP3 warning message about security level printed twice).
6154 (Jani)
6155- Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted
6156 transaction). (ben dot pineau at gmail dot com, Ilia, Matteo)
6157- Fixed bug #49938 (Phar::isBuffering() returns inverted value). (Greg)
6158- Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option()).
6159 (Pierrick)
6160- Fixed bug #49921 (Curl post upload functions changed). (Ilia)
6161- Fixed bug #49866 (Making reference on string offsets crashes PHP). (Dmitry)
6162- Fixed bug #49855 (import_request_variables() always returns NULL). (Ilia,
6163 sjoerd at php dot net)
6164- Fixed bug #49851, #50451 (http wrapper breaks on 1024 char long headers).
6165 (Ilia)
6166- Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning).
6167 (Ilia, wmeler at wp-sa dot pl)
6168- Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private
6169 property in base class). (Felipe)
6170- Fixed bug #49677 (ini parser crashes with apache2 and using ${something}
6171 ini variables). (Jani)
6172- Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)
6173- Fixed bug #49647 (DOMUserData does not exist). (Rob)
6174- Fixed bug #49600 (imageTTFText text shifted right). (Takeshi Abe)
6175- Fixed bug #49585 (date_format buffer not long enough for >4 digit years).
6176 (Derick, Adam)
6177- Fixed bug #49560 (oci8: using LOBs causes slow PHP shutdown). (Oracle Corp.)
6178- Fixed bug #49521 (PDO fetchObject sets values before calling constructor).
6179 (Pierrick)
6180- Fixed bug #49472 (Constants defined in Interfaces can be overridden).
6181 (Felipe)
6182- Fixed bug #49463 (setAttributeNS fails setting default namespace). (Rob)
6183- Fixed bug #49244 (Floating point NaN cause garbage characters). (Sjoerd)
6184- Fixed bug #49224 (Compile error due to old DNS functions on AIX systems).
6185 (Scott)
6186- Fixed bug #49174 (crash when extending PDOStatement and trying to set
6187 queryString property). (Felipe)
6188- Fixed bug #48811 (Directives in PATH section do not get applied to
6189 subdirectories). (Patch by: ct at swin dot edu dot au)
6190- Fixed bug #48590 (SoapClient does not honor max_redirects). (Sriram)
6191- Fixed bug #48190 (Content-type parameter "boundary" is not case-insensitive
6192 in HTTP uploads). (Ilia)
6193- Fixed bug #47848 (importNode doesn't preserve attribute namespaces). (Rob)
6194- Fixed bug #47409 (extract() problem with array containing word "this").
6195 (Ilia, chrisstocktonaz at gmail dot com)
6196- Fixed bug #47281 ($php_errormsg is limited in size of characters)
6197 (Oracle Corp.)
6198- Fixed bug #46478 (htmlentities() uses obsolete mapping table for character
6199 entity references). (Moriyoshi)
6200- Fixed bug #45599 (strip_tags() truncates rest of string with invalid
6201 attribute). (Ilia, hradtke)
6202- Fixed bug #45120 (PDOStatement->execute() returns true then false for same
6203 statement). (Pierrick)
6204- Fixed bug #44827 (define() allows :: in constant names). (Ilia)
6205- Fixed bug #44098 (imap_utf8() returns only capital letters).
6206 (steffen at dislabs dot de, Pierre)
6207- Fixed bug #34852 (Failure in odbc_exec() using oracle-supplied odbc
6208 driver). (tim dot tassonis at trivadis dot com)
6209
621019 Nov 2009, PHP 5.3.1
6211- Upgraded bundled sqlite to version 3.6.19. (Scott)
6212- Updated timezone database to version 2009.17 (2009q). (Derick)
6213
6214- Changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case
6215 insensitive. (garretts)
6216
6217- Restored shebang line check to CGI sapi (not checked by scanner anymore).
6218 (Jani)
6219
6220- Added "max_file_uploads" INI directive, which can be set to limit the
6221 number of file uploads per-request to 20 by default, to prevent possible
6222 DOS via temporary file exhaustion. (Ilia)
6223- Added missing sanity checks around exif processing. (Ilia)
6224- Added error constant when json_encode() detects an invalid UTF-8 sequence.
6225 (Scott)
6226- Added support for ACL on Windows for thread safe SAPI (Apache2 for example)
6227 and fix its support on NTS. (Pierre)
6228
6229- Improved symbolic, mounted volume and junctions support for realpath on
6230 Windows. (Pierre)
6231- Improved readlink on Windows, suppress \??\ and use the drive syntax only.
6232 (Pierre)
6233- Improved dns_get_record() AAAA support on windows. Always available when
6234 IPv6 is support is installed, format is now the same than on unix. (Pierre)
6235- Improved the DNS functions on OSX to use newer APIs, also use Bind 9 API
6236 where available on other platforms. (Scott)
6237- Improved shared extension loading on OSX to use the standard Unix dlopen()
6238 API. (Scott)
6239
6240- Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)
6241- Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak.
6242 (Rasmus)
6243- Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz
6244 Stachowiak. (Rasmus)
6245- Fixed certificate validation inside php_openssl_apply_verification_policy
6246 (Ryan Sleevi, Ilia)
6247- Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery()
6248 when calling using Reflection. (Felipe)
6249- Fixed crash when instantiating PDORow and PDOStatement through Reflection.
6250 (Felipe)
6251- Fixed sanity check for the color index in imagecolortransparent. (Pierre)
6252- Fixed scandir/readdir when used mounted points on Windows. (Pierre)
6253- Fixed zlib.deflate compress filter to actually accept level parameter. (Jani)
6254- Fixed leak on error in popen/exec (and related functions) on Windows.
6255 (Pierre)
6256- Fixed possible bad caching of symlinked directories in the realpath cache
6257 on Windows. (Pierre)
6258- Fixed atime and mtime in stat related functions on Windows. (Pierre)
6259- Fixed spl_autoload_unregister/spl_autoload_functions wrt. Closures and
6260 Functors. (Christian Seiler)
6261- Fixed open_basedir circumvention for "mail.log" ini directive.
6262 (Maksymilian Arciemowicz, Stas)
6263- Fixed signature generation/validation for zip archives in ext/phar. (Greg)
6264- Fixed memory leak in stream_is_local(). (Felipe, Tony)
6265- Fixed BC break in mime_content_type(), removes the content encoding. (Scott)
6266
6267- Fixed PECL bug #16842 (oci_error return false when NO_DATA_FOUND is raised).
6268 (Chris Jones)
6269
6270- Fixed bug #50063 (safe_mode_include_dir fails). (Johannes, christian at
6271 elmerot dot se)
6272- Fixed bug #50052 (Different Hashes on Windows and Linux on wrong Salt size).
6273 (Pierre)
6274- Fixed bug #49986 (Missing ICU DLLs on windows package). (Pierre)
6275- Fixed bug #49910 (no support for ././@LongLink for long filenames in phar
6276 tar support). (Greg)
6277- Fixed bug #49908 (throwing exception in __autoload crashes when interface
6278 is not defined). (Felipe)
6279- Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given
6280 output lines >4095 bytes). (Ilia)
6281- Fixed bug #49809 (time_sleep_until() is not available on OpenSolaris). (Jani)
6282- Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded
6283 applications). (Ilia, Florian Anderiasch)
6284- Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes).
6285 (Sriram Natarajan)
6286- Fixed bug #49732 (crashes when using fileinfo when timestamp conversion
6287 fails). (Pierre)
6288- Fixed bug #49698 (Unexpected change in strnatcasecmp()). (Rasmus)
6289- Fixed bug #49630 (imap_listscan function missing). (Felipe)
6290- Fixed bug #49572 (use of C++ style comments causes build failure).
6291 (Sriram Natarajan)
6292- Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE
6293 cannot be set"). (Felipe)
6294- Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after
6295 fclose). (Ilia)
6296- Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters).
6297 (Ilia)
6298- Fixed bug #49447 (php engine need to correctly check for socket API
6299 return status on windows). (Sriram Natarajan)
6300- Fixed bug #49391 (ldap.c utilizing deprecated ldap_modify_s). (Ilia)
6301- Fixed bug #49372 (segfault in php_curl_option_curl). (Pierre)
6302- Fixed bug #49361 (wordwrap() wraps incorrectly on end of line boundaries).
6303 (Ilia, code-it at mail dot ru)
6304- Fixed bug #49306 (inside pdo_mysql default socket settings are ignored).
6305 (Ilia)
6306- Fixed bug #49289 (bcmath module doesn't compile with phpize configure).
6307 (Jani)
6308- Fixed bug #49286 (php://input (php_stream_input_read) is broken). (Jani)
6309- Fixed bug #49269 (Ternary operator fails on Iterator object when used inside
6310 foreach declaration). (Etienne, Dmitry)
6311- Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)
6312- Fixed bug #49223 (Inconsistency using get_defined_constants). (Garrett)
6313- Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies
6314 wrong type in declaration). (Ilia)
6315- Fixed bug #49183 (dns_get_record does not return NAPTR records). (Pierre)
6316- Fixed bug #49144 (Import of schema from different host transmits original
6317 authentication details). (Dmitry)
6318- Fixed bug #49142 (crash when exception thrown from __tostring()).
6319 (David Soria Parra)
6320- Fixed bug #49132 (posix_times returns false without error).
6321 (phpbugs at gunnu dot us)
6322- Fixed bug #49125 (Error in dba_exists C code). (jdornan at stanford dot edu)
6323- Fixed bug #49122 (undefined reference to mysqlnd_stmt_next_result on compile
6324 with --with-mysqli and MySQL 6.0). (Jani)
6325- Fixed bug #49108 (2nd scan_dir produces segfault). (Felipe)
6326- Fixed bug #49098 (mysqli segfault on error). (Rasmus)
6327- Fixed bug #49095 (proc_get_status['exitcode'] fails on win32). (Felipe)
6328- Fixed bug #49092 (ReflectionFunction fails to work with functions in fully
6329 qualified namespaces). (Kalle, Jani)
6330- Fixed bug #49074 (private class static fields can be modified by using
6331 reflection). (Jani)
6332- Fixed bug #49072 (feof never returns true for damaged file in zip). (Pierre)
6333- Fixed bug #49065 ("disable_functions" php.ini option does not work on
6334 Zend extensions). (Stas)
6335- Fixed bug #49064 (--enable-session=shared does not work: undefined symbol:
6336 php_url_scanner_reset_vars). (Jani)
6337- Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII
6338 strings as option keys). (Jani)
6339- Fixed bug #49052 (context option headers freed too early when using
6340 --with-curlwrappers). (Jani)
6341- Fixed bug #49047 (The function touch() fails on directories on Windows).
6342 (Pierre)
6343- Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference).
6344 (Jani)
6345- Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd). (Andrey)
6346- Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars
6347 restrictions). (Ilia)
6348- Fixed bug #49020 (phar misinterprets ustar long filename standard).
6349 (Greg)
6350- Fixed bug #49018 (phar tar stores long filenames wit prefix/name reversed).
6351 (Greg)
6352- Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes
6353 in a chunk). (andreas dot streichardt at globalpark dot com, Ilia)
6354- Fixed bug #49012 (phar tar signature algorithm reports as Unknown (0) in
6355 getSignature() call). (Greg)
6356- Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes
6357 when including files from function). (Stas)
6358- Fixed bug #48994 (zlib.output_compression does not output HTTP headers when
6359 set to a string value). (Jani)
6360- Fixed bug #48980 (Crash when compiling with pdo_firebird). (Felipe)
6361- Fixed bug #48962 (cURL does not upload files with specified filename).
6362 (Ilia)
6363- Fixed bug #48929 (Double \r\n after HTTP headers when "header" context
6364 option is an array). (David Z��lke)
6365- Fixed bug #48913 (Too long error code strings in pdo_odbc driver).
6366 (naf at altlinux dot ru, Felipe)
6367- Fixed bug #48912 (Namespace causes unexpected strict behaviour with
6368 extract()). (Dmitry)
6369- Fixed bug #48909 (Segmentation fault in mysqli_stmt_execute()). (Andrey)
6370- Fixed bug #48899 (is_callable returns true even if method does not exist in
6371 parent class). (Felipe)
6372- Fixed bug #48893 (Problems compiling with Curl). (Felipe)
6373- Fixed bug #48880 (Random Appearing open_basedir problem). (Rasmus, Gwynne)
6374- Fixed bug #48872 (string.c: errors: duplicate case values). (Kalle)
6375- Fixed bug #48854 (array_merge_recursive modifies arrays after first one).
6376 (Felipe)
6377- Fixed bug #48805 (IPv6 socket transport is not working). (Ilia)
6378- Fixed bug #48802 (printf() returns incorrect outputted length). (Jani)
6379- Fixed bug #48791 (open office files always reported as corrupted). (Greg)
6380- Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
6381 directories). (Ilia)
6382- Fixed bug #48783 (make install will fail saying phar file exists). (Greg)
6383- Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()).
6384 (Sriram Natarajan)
6385- Fixed bug #48771 (rename() between volumes fails and reports no error on
6386 Windows). (Pierre)
6387- Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW). (Jani)
6388- Fixed bug #48763 (ZipArchive produces corrupt archive). (dani dot church at
6389 gmail dot com, Pierre)
6390- Fixed bug #48762 (IPv6 address filter still rejects valid address). (Felipe)
6391- Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle)
6392- Fixed bug #48754 (mysql_close() crash php when no handle specified).
6393 (Johannes, Andrey)
6394- Fixed bug #48752 (Crash during date parsing with invalid date). (Pierre)
6395- Fixed bug #48746 (Unable to browse directories within Junction Points).
6396 (Pierre, Kanwaljeet Singla)
6397- Fixed bug #48745 (mysqlnd: mysql_num_fields returns wrong column count for
6398 mysql_list_fields). (Andrey)
6399- Fixed bug #48740 (PHAR install fails when INSTALL_ROOT is not the final
6400 install location). (james dot cohen at digitalwindow dot com, Greg)
6401- Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on
6402 files that have been opened with r+). (Ilia)
6403- Fixed bug #48719 (parse_ini_*(): scanner_mode parameter is not checked for
6404 sanity). (Jani)
6405- Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain
6406 components). (Ilia)
6407- Fixed bug #48681 (openssl signature verification for tar archives broken).
6408 (Greg)
6409- Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value
6410 fails). (Jani)
6411- Fixed bug #48645 (mb_convert_encoding() doesn't understand hexadecimal
6412 html-entities). (Moriyoshi)
6413- Fixed bug #48637 ("file" fopen wrapper is overwritten when using
6414 --with-curlwrappers). (Jani)
6415- Fixed bug #48608 (Invalid libreadline version not detected during configure).
6416 (Jani)
6417- Fixed bug #48400 (imap crashes when closing stream opened with
6418 OP_PROTOTYPE flag). (Jani)
6419- Fixed bug #48377 (error message unclear on converting phar with existing
6420 file). (Greg)
6421- Fixed bug #48247 (Infinite loop and possible crash during startup with
6422 errors when errors are logged). (Jani)
6423- Fixed bug #48198 error: 'MYSQLND_LLU_SPEC' undeclared. Cause for #48780 and
6424 #46952 - both fixed too. (Andrey)
6425- Fixed bug #48189 (ibase_execute error in return param). (Kalle)
6426- Fixed bug #48182 (ssl handshake fails during asynchronous socket connection).
6427 (Sriram Natarajan)
6428- Fixed bug #48116 (Fixed build with Openssl 1.0). (Pierre,
6429 Al dot Smith at aeschi dot ch dot eu dot org)
6430- Fixed bug #48057 (Only the date fields of the first row are fetched, others
6431 are empty). (info at programmiernutte dot net)
6432- Fixed bug #47481 (natcasesort() does not sort extended ASCII characters
6433 correctly). (Herman Radtke)
6434- Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John)
6435- Fixed bug #47273 (Encoding bug in SoapServer->fault). (Dmitry)
6436- Fixed bug #46682 (touch() afield returns different values on windows).
6437 (Pierre)
6438- Fixed bug #46614 (Extended MySQLi class gives incorrect empty() result).
6439 (Andrey)
6440- Fixed bug #46020 (with Sun Java System Web Server 7.0 on HPUX, #define HPUX).
6441 (Uwe Schindler)
6442- Fixed bug #45905 (imagefilledrectangle() clipping error).
6443 (markril at hotmail dot com, Pierre)
6444- Fixed bug #45554 (Inconsistent behavior of the u format char). (Derick)
6445- Fixed bug #45141 (setcookie will output expires years of >4 digits). (Ilia)
6446- Fixed bug #44683 (popen crashes when an invalid mode is passed). (Pierre)
6447- Fixed bug #43510 (stream_get_meta_data() does not return same mode as used
6448 in fopen). (Jani)
6449- Fixed bug #42434 (ImageLine w/ antialias = 1px shorter). (wojjie at gmail dot
6450 com, Kalle)
6451- Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter
6452 Knauf)
6453- Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo).
6454 (Kalle, Rick Yorgason)
6455- Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) (Garrett)
6456- Fixed bug #27051 (Impersonation with FastCGI does not exec process as
6457 impersonated user). (Pierre)
6458
6459
646030 Jun 2009, PHP 5.3.0
6461- Upgraded bundled PCRE to version 7.9. (Nuno)
6462- Upgraded bundled sqlite to version 3.6.15. (Scott)
6463
6464- Moved extensions to PECL (Derick, Lukas, Pierre, Scott):
6465 . ext/dbase
6466 . ext/fbsql
6467 . ext/fdf
6468 . ext/ncurses
6469 . ext/mhash (BC layer is now entirely within ext/hash)
6470 . ext/ming
6471 . ext/msql
6472 . ext/sybase (not maintained anymore, sybase_ct has to be used instead)
6473
6474- Removed the experimental RPL (master/slave) functions from mysqli. (Andrey)
6475- Removed zend.ze1_compatibility_mode. (Dmitry)
6476- Removed all zend_extension_* php.ini directives. Zend extensions are now
6477 always loaded using zend_extension directive. (Derick)
6478- Removed special treatment of "/tmp" in sessions for open_basedir.
6479 Note: This undocumented behaviour was introduced in 5.2.2. (Alexey)
6480- Removed shebang line check from CGI sapi (checked by scanner). (Dmitry)
6481
6482- Changed PCRE, Reflection and SPL extensions to be always enabled. (Marcus)
6483- Changed md5() to use improved implementation. (Solar Designer, Dmitry)
6484- Changed HTTP stream wrapper to accept any code between and including
6485 200 to 399 as successful. (Mike, Noah Fontes)
6486- Changed __call() to be invoked on private/protected method access, similar to
6487 properties and __get(). (Andrei)
6488- Changed dl() to be disabled by default. Enabled only when explicitly
6489 registered by the SAPI. Currently enabled with cli, cgi and embed SAPIs.
6490 (Dmitry)
6491- Changed opendir(), dir() and scandir() to use default context when no context
6492 argument is passed. (Sara)
6493- Changed open_basedir to allow tightening in runtime contexts. (Sara)
6494- Changed PHP/Zend extensions to use flexible build IDs. (Stas)
6495- Changed error level E_ERROR into E_WARNING in Soap extension methods
6496 parameter validation. (Felipe)
6497- Changed openssl info to show the shared library version number. (Scott)
6498- Changed floating point behaviour to consistently use double precision on all
6499 platforms and with all compilers. (Christian Seiler)
6500- Changed round() to act more intuitively when rounding to a certain precision
6501 and round very large and very small exponents correctly. (Christian Seiler)
6502- Changed session_start() to return false when session startup fails. (Jani)
6503- Changed property_exists() to check the existence of a property independent of
6504 accessibility (like method_exists()). (Felipe)
6505- Changed array_reduce() to allow mixed $initial (Christian Seiler)
6506
6507- Improved PHP syntax and semantics:
6508 . Added lambda functions and closures. (Christian Seiler, Dmitry)
6509 . Added "jump label" operator (limited "goto"). (Dmitry, Sara)
6510 . Added NOWDOC syntax. (Gwynne Raskind, Stas, Dmitry)
6511 . Added HEREDOC syntax with double quotes. (Lars Strojny, Felipe)
6512 . Added support for using static HEREDOCs to initialize static variables and
6513 class members or constants. (Matt)
6514 . Improved syntax highlighting and consistency for variables in double-quoted
6515 strings and literal text in HEREDOCs and backticks. (Matt)
6516 . Added "?:" operator. (Marcus)
6517 . Added support for namespaces. (Dmitry, Stas, Gregory, Marcus)
6518 . Added support for Late Static Binding. (Dmitry, Etienne Kneuss)
6519 . Added support for __callStatic() magic method. (Sara)
6520 . Added forward_static_call(_array) to complete LSB. (Mike Lively)
6521 . Added support for dynamic access of static members using $foo::myFunc().
6522 (Etienne Kneuss)
6523 . Improved checks for callbacks. (Marcus)
6524 . Added __DIR__ constant. (Lars Strojny)
6525 . Added new error modes E_USER_DEPRECATED and E_DEPRECATED.
6526 E_DEPRECATED is used to inform about stuff being scheduled for removal
6527 in future PHP versions. (Lars Strojny, Felipe, Marcus)
6528 . Added "request_order" INI variable to control specifically $_REQUEST
6529 behavior. (Stas)
6530 . Added support for exception linking. (Marcus)
6531 . Added ability to handle exceptions in destructors. (Marcus)
6532
6533- Improved PHP runtime speed and memory usage:
6534 . Substitute global-scope, persistent constants with their values at compile
6535 time. (Matt)
6536 . Optimized ZEND_SIGNED_MULTIPLY_LONG(). (Matt)
6537 . Removed direct executor recursion. (Dmitry)
6538 . Use fastcall calling convention in executor on x86. (Dmitry)
6539 . Use IS_CV for direct access to $this variable. (Dmitry)
6540 . Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR). (Dmitry)
6541 . Lazy EG(active_symbol_table) initialization. (Dmitry)
6542 . Optimized ZEND_RETURN opcode to not allocate and copy return value if it is
6543 not used. (Dmitry)
6544 . Replaced all flex based scanners with re2c based scanners.
6545 (Marcus, Nuno, Scott)
6546 . Added garbage collector. (David Wang, Dmitry).
6547 . Improved PHP binary size and startup speed with GCC4 visibility control.
6548 (Nuno)
6549 . Improved engine stack implementation for better performance and stability.
6550 (Dmitry)
6551 . Improved memory usage by moving constants to read only memory.
6552 (Dmitry, Pierre)
6553 . Changed exception handling. Now each op_array doesn't contain
6554 ZEND_HANDLE_EXCEPTION opcode in the end. (Dmitry)
6555 . Optimized require_once() and include_once() by eliminating fopen(3) on
6556 second usage. (Dmitry)
6557 . Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single
6558 ZEND_ADD_INTERFACE opcode. (Dmitry)
6559 . Optimized string searching for a single character.
6560 (Michal Dziemianko, Scott)
6561 . Optimized interpolated strings to use one less opcode. (Matt)
6562
6563- Improved php.ini handling: (Jani)
6564 . Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI.
6565 . Added support for special [PATH=/opt/httpd/www.example.com/] and
6566 [HOST=www.example.com] sections. Directives set in these sections can
6567 not be overridden by user-defined ini-files or during runtime.
6568 . Added better error reporting for php.ini syntax errors.
6569 . Allowed using full path to load modules using "extension" directive.
6570 . Allowed "ini-variables" to be used almost everywhere ini php.ini files.
6571 . Allowed using alphanumeric/variable indexes in "array" ini options.
6572 . Added 3rd optional parameter to parse_ini_file() to specify the scanning
6573 mode of INI_SCANNER_NORMAL or INI_SCANNER_RAW. In raw mode option values
6574 and section values are treated as-is.
6575 . Fixed get_cfg_var() to be able to return "array" ini options.
6576 . Added optional parameter to ini_get_all() to only retrieve the current
6577 value. (Hannes)
6578
6579- Improved Windows support:
6580 . Update all libraries to their latest stable version. (Pierre, Rob, Liz,
6581 Garrett).
6582 . Added Windows support for stat(), touch(), filemtime(), filesize() and
6583 related functions. (Pierre)
6584 . Re-added socket_create_pair() for Windows in sockets extension. (Kalle)
6585 . Added inet_pton() and inet_ntop() also for Windows platforms.
6586 (Kalle, Pierre)
6587 . Added mcrypt_create_iv() for Windows platforms. (Pierre)
6588 . Added ACL Cache support on Windows.
6589 (Kanwaljeet Singla, Pierre, Venkat Raman Don)
6590 . Added constants based on Windows' GetVersionEx information.
6591 PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)
6592 . Added support for ACL (is_writable, is_readable, reports now correct
6593 results) on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)
6594 . Added support for fnmatch() on Windows. (Pierre)
6595 . Added support for time_nanosleep() and time_sleep_until() on Windows.
6596 (Pierre)
6597 . Added support for symlink(), readlink(), linkinfo() and link() on Windows.
6598 They are available only when the running platform supports them. (Pierre)
6599 . the GMP extension now relies on MPIR instead of the GMP library. (Pierre)
6600 . Added Windows support for stream_socket_pair(). (Kalle)
6601 . Drop all external dependencies for the core features. (Pierre)
6602 . Drastically improve the build procedure (Pierre, Kalle, Rob):
6603 . VC9 (Visual C++ 2008) or later support
6604 . Initial experimental x64 support
6605 . MSI installer now supports all recent Windows versions, including
6606 Windows 7. (John, Kanwaljeet Singla)
6607
6608- Improved and cleaned CGI code:
6609 . FastCGI is now always enabled and cannot be disabled.
6610 See sapi/cgi/CHANGES for more details. (Dmitry)
6611 . Added CGI SAPI -T option which can be used to measure execution
6612 time of script repeated several times. (Dmitry)
6613
6614- Improved streams:
6615 . Fixed confusing error message on failure when no errors are logged. (Greg)
6616 . Added stream_supports_lock() function. (Benjamin Schulz)
6617 . Added context parameter for copy() function. (Sara)
6618 . Added "glob://" stream wrapper. (Marcus)
6619 . Added "params" as optional parameter for stream_context_create(). (Sara)
6620 . Added ability to use stream wrappers in include_path. (Gregory, Dmitry)
6621
6622- Improved DNS API
6623 . Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and
6624 getmxrr(). (Pierre)
6625 . Added support for old style DNS functions (supports OSX and FBSD). (Scott)
6626 . Added a new "entries" array in dns_check_record() containing the TXT
6627 elements. (Felipe, Pierre)
6628
6629- Improved hash extension:
6630 . Changed mhash to be a wrapper layer around the hash extension. (Scott)
6631 . Added hash_copy() function. (Tony)
6632 . Added sha224 hash algorithm to the hash extension. (Scott)
6633
6634- Improved IMAP support (Pierre):
6635 . Added imap_gc() to clear the imap cache
6636 . Added imap_utf8_to_mutf7() and imap_mutf7_to_utf8()
6637
6638- Improved mbstring extension:
6639 . Added "mbstring.http_output_conv_mimetypes" INI directive that allows
6640 common non-text types such as "application/xhtml+xml" to be converted
6641 by mb_output_handler(). (Moriyoshi)
6642
6643- Improved OCI8 extension (Chris Jones/Oracle Corp.):
6644 . Added Database Resident Connection Pooling (DRCP) and Fast
6645 Application Notification (FAN) support.
6646 . Added support for Oracle External Authentication (not supported
6647 on Windows).
6648 . Improve persistent connection handling of restarted DBs.
6649 . Added SQLT_AFC (aka CHAR datatype) support to oci_bind_by_name.
6650 . Fixed bug #45458 (Numeric keys for associative arrays are not
6651 handled properly)
6652 . Fixed bug #41069 (Segmentation fault with query over DB link).
6653 . Fixed define of SQLT_BDOUBLE and SQLT_BFLOAT constants with Oracle
6654 10g ORACLE_HOME builds.
6655 . Changed default value of oci8.default_prefetch from 10 to 100.
6656 . Fixed PECL Bug #16035 (OCI8: oci_connect without ORACLE_HOME defined causes
6657 segfault) (Chris Jones/Oracle Corp.)
6658 . Fixed PECL Bug #15988 (OCI8: sqlnet.ora isn't read with older Oracle
6659 libraries) (Chris Jones/Oracle Corp.)
6660 . Fixed PECL Bug #14268 (Allow "pecl install oci8" command to "autodetect" an
6661 Instant Client RPM install) (Chris Jones/Oracle Corp.)
6662 . Fixed PECL bug #12431 (OCI8 ping functionality is broken).
6663 . Allow building (e.g from PECL) the PHP 5.3-based OCI8 code with
6664 PHP 4.3.9 onwards.
6665 . Provide separate extensions for Oracle 11g and 10g on Windows.
6666 (Pierre, Chris)
6667
6668- Improved OpenSSL extension:
6669 . Added support for OpenSSL digest and cipher functions. (Dmitry)
6670 . Added access to internal values of DSA, RSA and DH keys. (Dmitry)
6671 . Fixed a memory leak on openssl_decrypt(). (Henrique)
6672 . Fixed segfault caused by openssl_pkey_new(). (Henrique)
6673 . Fixed bug caused by uninitilized variables in openssl_pkcs7_encrypt() and
6674 openssl_pkcs7_sign(). (Henrique)
6675 . Fixed error message in openssl_seal(). (Henrique)
6676
6677- Improved pcntl extension: (Arnaud)
6678 . Added pcntl_signal_dispatch().
6679 . Added pcntl_sigprocmask().
6680 . Added pcntl_sigwaitinfo().
6681 . Added pcntl_sigtimedwait().
6682
6683- Improved SOAP extension:
6684 . Added support for element names in context of XMLSchema's <any>. (Dmitry)
6685 . Added ability to use Traversable objects instead of plain arrays.
6686 (Joshua Reese, Dmitry)
6687 . Fixed possible crash bug caused by an uninitialized value. (Zdash Urf)
6688
6689- Improved SPL extension:
6690 . Added SPL to list of standard extensions that cannot be disabled. (Marcus)
6691 . Added ability to store associative information with objects in
6692 SplObjectStorage. (Marcus)
6693 . Added ArrayAccess support to SplObjectStorage. (Marcus)
6694 . Added SplDoublyLinkedList, SplStack, SplQueue classes. (Etienne)
6695 . Added FilesystemIterator. (Marcus)
6696 . Added GlobIterator. (Marcus)
6697 . Added SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue classes. (Etienne)
6698 . Added new parameter $prepend to spl_autoload_register(). (Etienne)
6699 . Added SplFixedArray. (Etienne, Tony)
6700 . Added delaying exceptions in SPL's autoload mechanism. (Marcus)
6701 . Added RecursiveTreeIterator. (Arnaud, Marcus)
6702 . Added MultipleIterator. (Arnaud, Marcus, Johannes)
6703
6704- Improved Zend Engine:
6705 . Added "compact" handler for Zend MM storage. (Dmitry)
6706 . Added "+" and "*" specifiers to zend_parse_parameters(). (Andrei)
6707 . Added concept of "delayed early binding" that allows opcode caches to
6708 perform class declaration (early and/or run-time binding) in exactly
6709 the same order as vanilla PHP. (Dmitry)
6710
6711- Improved crypt() function: (Pierre)
6712 . Added Blowfish and extended DES support. (Using Blowfish implementation
6713 from Solar Designer).
6714 . Made crypt features portable by providing our own implementations
6715 for crypt_r and the algorithms which are used when OS does not provide
6716 them. PHP implementations are always used for Windows builds.
6717
6718- Deprecated session_register(), session_unregister() and
6719 session_is_registered(). (Hannes)
6720- Deprecated define_syslog_variables(). (Kalle)
6721- Deprecated ereg extension. (Felipe)
6722
6723- Added new extensions:
6724 . Added Enchant extension as a way to access spell checkers. (Pierre)
6725 . Added fileinfo extension as replacement for mime_magic extension. (Derick)
6726 . Added intl extension for Internationalization. (Ed B., Vladimir I.,
6727 Dmitry L., Stanislav M., Vadim S., Kirti V.)
6728 . Added mysqlnd extension as replacement for libmysql for ext/mysql, mysqli
6729 and PDO_mysql. (Andrey, Johannes, Ulf)
6730 . Added phar extension for handling PHP Archives. (Greg, Marcus, Steph)
6731 . Added SQLite3 extension. (Scott)
6732
6733- Added new date/time functionality: (Derick)
6734 . date_parse_from_format(): Parse date/time strings according to a format.
6735 . date_create_from_format()/DateTime::createFromFormat(): Create a date/time
6736 object by parsing a date/time string according to a given format.
6737 . date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings
6738 and errors that were found while parsing a date/time string through:
6739 . strtotime() / new DateTime
6740 . date_create_from_format() / DateTime::createFromFormat()
6741 . date_parse_from_format().
6742 . support for abbreviation and offset based timezone specifiers for
6743 the 'e' format specifier, DateTime::__construct(), DateTime::getTimeZone()
6744 and DateTimeZone::getName().
6745 . support for selectively listing timezone identifiers by continent or
6746 country code through timezone_identifiers_list() /
6747 DateTimezone::listIdentifiers().
6748 . timezone_location_get() / DateTimezone::getLocation() for retrieving
6749 location information from timezones.
6750 . date_timestamp_set() / DateTime::setTimestamp() to set a Unix timestamp
6751 without invoking the date parser. (Scott, Derick)
6752 . date_timestamp_get() / DateTime::getTimestamp() to retrieve the Unix
6753 timestamp belonging to a date object.
6754 . two optional parameters to timezone_transitions_get() /
6755 DateTimeZone::getTranstions() to limit the range of transitions being
6756 returned.
6757 . support for "first/last day of <month>" style texts.
6758 . support for date/time strings returned by MS SQL.
6759 . support for serialization and unserialization of DateTime objects.
6760 . support for diffing date/times through date_diff() / DateTime::diff().
6761 . support for adding/subtracting weekdays with strtotime() and
6762 DateTime::modify().
6763 . DateInterval class to represent the difference between two date/times.
6764 . support for parsing ISO intervals for use with DateInterval.
6765 . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
6766 interval to an existing date/time.
6767 . proper support for "this week", "previous week"/"last week" and "next week"
6768 phrases so that they actually mean the week and not a seven day period
6769 around the current day.
6770 . support for "<xth> <weekday> of" and "last <weekday> of" phrases to be used
6771 with months - like in "last saturday of februari 2008".
6772 . support for "back of <hour>" and "front of <hour>" phrases that are used in
6773 Scotland.
6774 . DatePeriod class which supports iterating over a DateTime object applying
6775 DateInterval on each iteration, up to an end date or limited by maximum
6776 number of occurences.
6777
6778- Added compatibility mode in GD, imagerotate, image(filled)ellipse
6779 imagefilter, imageconvolution and imagecolormatch are now always enabled.
6780 (Pierre)
6781- Added array_replace() and array_replace_recursive() functions. (Matt)
6782- Added ReflectionProperty::setAccessible() method that allows non-public
6783 property's values to be read through ::getValue() and set through
6784 ::setValue(). (Derick, Sebastian)
6785- Added msg_queue_exists() function to sysvmsg extension. (Benjamin Schulz)
6786- Added Firebird specific attributes that can be set via PDO::setAttribute()
6787 to control formatting of date/timestamp columns: PDO::FB_ATTR_DATE_FORMAT,
6788 PDO::FB_ATTR_TIME_FORMAT and PDO::FB_ATTR_TIMESTAMP_FORMAT. (Lars W)
6789- Added gmp_testbit() function. (Stas)
6790- Added icon format support to getimagesize(). (Scott)
6791- Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow
6792 setting network timeout (FR #42837). (Jani)
6793- Added optional escape character parameter to fgetcsv(). (David Soria Parra)
6794- Added an optional parameter to strstr() and stristr() for retrieval of either
6795 the part of haystack before or after first occurrence of needle.
6796 (Johannes, Felipe)
6797- Added xsl->setProfiling() for profiling stylesheets. (Christian)
6798- Added long-option feature to getopt() and made getopt() available also on
6799 win32 systems by adding a common getopt implementation into core.
6800 (David Soria Parra, Jani)
6801- Added support for optional values, and = as separator, in getopt(). (Hannes)
6802- Added lcfirst() function. (David C)
6803- Added PREG_BAD_UTF8_OFFSET_ERROR constant. (Nuno)
6804- Added native support for asinh(), acosh(), atanh(), log1p() and expm1().
6805 (Kalle)
6806- Added LIBXML_LOADED_VERSION constant (libxml2 version currently used). (Rob)
6807- Added JSON_FORCE_OBJECT flag to json_encode(). (Scott, Richard Quadling)
6808- Added timezone_version_get() to retrieve the version of the used timezone
6809 database. (Derick)
6810- Added 'n' flag to fopen to allow passing O_NONBLOCK to the underlying
6811 open(2) system call. (Mikko)
6812- Added "dechunk" filter which can decode HTTP responses with chunked
6813 transfer-encoding. HTTP streams use this filter automatically in case
6814 "Transfer-Encoding: chunked" header is present in response. It's possible to
6815 disable this behaviour using "http"=>array("auto_decode"=>0) in stream
6816 context. (Dmitry)
6817- Added support for CP850 encoding in mbstring extension.
6818 (Denis Giffeler, Moriyoshi)
6819- Added stream_cast() and stream_set_options() to user-space stream wrappers,
6820 allowing stream_select(), stream_set_blocking(), stream_set_timeout() and
6821 stream_set_write_buffer() to work with user-space stream wrappers. (Arnaud)
6822- Added header_remove() function. (chsc at peytz dot dk, Arnaud)
6823- Added stream_context_get_params() function. (Arnaud)
6824- Added optional parameter "new" to sybase_connect(). (Timm)
6825- Added parse_ini_string() function. (grange at lemonde dot fr, Arnaud)
6826- Added str_getcsv() function. (Sara)
6827- Added openssl_random_pseudo_bytes() function. (Scott)
6828- Added ability to send user defined HTTP headers with SOAP request.
6829 (Brian J.France, Dmitry)
6830- Added concatenation option to bz2.decompress stream filter.
6831 (Keisial at gmail dot com, Greg)
6832- Added support for using compressed connections with PDO_mysql. (Johannes)
6833- Added the ability for json_decode() to take a user specified depth. (Scott)
6834- Added support for the mysql_stmt_next_result() function from libmysql.
6835 (Andrey)
6836- Added function preg_filter() that does grep and replace in one go. (Marcus)
6837- Added system independent realpath() implementation which caches intermediate
6838 directories in realpath-cache. (Dmitry)
6839- Added optional clear_realpath_cache and filename parameters to
6840 clearstatcache(). (Jani, Arnaud)
6841- Added litespeed SAPI module. (George Wang)
6842- Added ext/hash support to ext/session's ID generator. (Sara)
6843- Added quoted_printable_encode() function. (Tony)
6844- Added stream_context_set_default() function. (Davey Shafik)
6845- Added optional "is_xhtml" parameter to nl2br() which makes the function
6846 output <br> when false and <br /> when true (FR #34381). (Kalle)
6847- Added PHP_MAXPATHLEN constant (maximum length of a path). (Pierre)
6848- Added support for SSH via libssh2 in cURL. (Pierre)
6849- Added support for gray levels PNG image with alpha in GD extension. (Pierre)
6850- Added support for salsa hashing functions in HASH extension. (Scott)
6851- Added DOMNode::getLineNo to get line number of parsed node. (Rob)
6852- Added table info to PDO::getColumnMeta() with SQLite. (Martin Jansen, Scott)
6853- Added mail logging functionality that allows logging of mail sent via
6854 mail() function. (Ilia)
6855- Added json_last_error() to return any error information from json_decode().
6856 (Scott)
6857- Added gethostname() to return the current system host name. (Ilia)
6858- Added shm_has_var() function. (Mike)
6859- Added depth parameter to json_decode() to lower the nesting depth from the
6860 maximum if required. (Scott)
6861- Added pixelation support in imagefilter(). (Takeshi Abe, Kalle)
6862- Added SplObjectStorage::addAll/removeAll. (Etienne)
6863
6864- Implemented FR #41712 (curl progress callback: CURLOPT_PROGRESSFUNCTION).
6865 (sdteffen[at]gmail[dot].com, Pierre)
6866- Implemented FR #47739 (Missing cURL option do disable IPv6). (Pierre)
6867- Implemented FR #39637 (Missing cURL option CURLOPT_FTP_FILEMETHOD). (Pierre)
6868
6869- Fixed an issue with ReflectionProperty::setAccessible().
6870 (Sebastian, Roman Borschel)
6871- Fixed html_entity_decode() incorrectly converting numeric html entities
6872 to different characters with cp1251 and cp866. (Scott)
6873- Fixed an issue in date() where a : was printed for the O modifier after a P
6874 modifier was used. (Derick)
6875- Fixed exec() on Windows to not eat the first and last double quotes. (Scott)
6876- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)
6877- Fixed a bug causing miscalculations with the "last <weekday> of <n> month"
6878 relative time string. (Derick)
6879- Fixed bug causing the algorithm parameter of mhash() to be modified. (Scott)
6880- Fixed invalid calls to free when internal fileinfo magic file is used. (Scott)
6881- Fixed memory leak inside wddx_add_vars() function. (Felipe)
6882- Fixed check in recode extension to allow builing of recode and mysql
6883 extensions when using a recent libmysql. (Johannes)
6884
6885- Fixed PECL bug #12794 (PDOStatement->nextRowset() doesn't work). (Johannes)
6886- Fixed PECL bug #12401 (Add support for ATTR_FETCH_TABLE_NAMES). (Johannes)
6887
6888- Fixed bug #48696 (ldap_read() segfaults with invalid parameters). (Felipe)
6889- Fixed bug #48643 (String functions memory issue). (Dmitry)
6890- Fixed bug #48641 (tmpfile() uses old parameter parsing).
6891 (crrodriguez at opensuse dot org)
6892- Fixed bug #48624 (.user.ini never gets parsed). (Pierre)
6893- Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in
6894 existing headers). (Ilia)
6895- Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus)
6896- Fixed bug #48535 (file_exists returns false when impersonate is used).
6897 (Kanwaljeet Singla, Venkat Raman Don)
6898- Fixed bug #48493 (spl_autoload_register() doesn't work correctly when
6899 prepending functions). (Scott)
6900- Fixed bug #48215 (Calling a method with the same name as the parent class
6901 calls the constructor). (Scott)
6902- Fixed bug #48200 (compile failure with mbstring.c when
6903 --enable-zend-multibyte is used). (Jani)
6904- Fixed bug #48188 (Cannot execute a scrollable cursors twice with PDO_PGSQL).
6905 (Matteo)
6906- Fixed bug #48185 (warning: value computed is not used in
6907 pdo_sqlite_stmt_get_col line 271). (Matteo)
6908- Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe)
6909- Fixed bug #48060 (pdo_pgsql - large objects are returned as empty). (Matteo)
6910- Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long). (Dmitry)
6911- Fixed bug #48004 (Error handler prevents creation of default object). (Dmitry)
6912- Fixed bug #47880 (crashes in call_user_func_array()). (Dmitry)
6913- Fixed bug #47856 (stristr() converts needle to lower-case). (Ilia)
6914- Fixed bug #47851 (is_callable throws fatal error). (Dmitry)
6915- Fixed bug #47816 (pcntl tests failing on NetBSD). (Matteo)
6916- Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants).
6917 (Matteo)
6918- Fixed bug #47771 (Exception during object construction from arg call calls
6919 object's destructor). (Dmitry)
6920- Fixed bug #47767 (include_once does not resolve windows symlinks or junctions)
6921 (Kanwaljeet Singla, Venkat Raman Don)
6922- Fixed bug #47757 (rename JPG to JPEG in phpinfo). (Pierre)
6923- Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer). (Dmitry)
6924- Fixed bug #47714 (autoloading classes inside exception_handler leads to
6925 crashes). (Dmitry)
6926- Fixed bug #47671 (Cloning SplObjectStorage instances). (Etienne)
6927- Fixed bug #47664 (get_class returns NULL instead of FALSE). (Dmitry)
6928- Fixed bug #47662 (Support more than 127 subpatterns in preg_match). (Nuno)
6929- Fixed bug #47596 (Bus error on parsing file). (Dmitry)
6930- Fixed bug #47572 (Undefined constant causes segmentation fault). (Felipe)
6931- Fixed bug #47560 (explode()'s limit parameter odd behaviour). (Matt)
6932- Fixed bug #47549 (get_defined_constants() return array with broken array
6933 categories). (Ilia)
6934- Fixed bug #47535 (Compilation failure in ps_fetch_from_1_to_8_bytes()).
6935 (Johannes)
6936- Fixed bug #47534 (RecursiveDiteratoryIterator::getChildren ignoring
6937 CURRENT_AS_PATHNAME). (Etienne)
6938- Fixed bug #47443 (metaphone('scratch') returns wrong result). (Felipe)
6939- Fixed bug #47438 (mysql_fetch_field ignores zero offset). (Johannes)
6940- Fixed bug #47398 (PDO_Firebird doesn't implements quoter correctly). (Felipe)
6941- Fixed bug #47390 (odbc_fetch_into - BC in php 5.3.0). (Felipe)
6942- Fixed bug #47359 (Use the expected unofficial mimetype for bmp files). (Scott)
6943- Fixed bug #47343 (gc_collect_cycles causes a segfault when called within a
6944 destructor in one case). (Dmitry)
6945- Fixed bug #47320 ($php_errormsg out of scope in functions). (Dmitry)
6946- Fixed bug #47318 (UMR when trying to activate user config). (Pierre)
6947- Fixed bug #47243 (OCI8: Crash at shutdown on Windows) (Chris Jones/Oracle
6948 Corp.)
6949- Fixed bug #47231 (offsetGet error using incorrect offset). (Etienne)
6950- Fixed bug #47229 (preg_quote() should escape the '-' char). (Nuno)
6951- Fixed bug #47165 (Possible memory corruption when passing return value by
6952 reference). (Dmitry)
6953- Fixed bug #47087 (Second parameter of mssql_fetch_array()). (Felipe)
6954- Fixed bug #47085 (rename() returns true even if the file in PHAR does not
6955 exist). (Greg)
6956- Fixed bug #47050 (mysqli_poll() modifies improper variables). (Johannes)
6957- Fixed bug #47045 (SplObjectStorage instances compared with ==). (Etienne)
6958- Fixed bug #47038 (Memory leak in include). (Dmitry)
6959- Fixed bug #47031 (Fix constants in DualIterator example). (Etienne)
6960- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with
6961 "Transfer-Encoding: chunked"). (Dmitry)
6962- Fixed bug #46994 (OCI8: CLOB size does not update when using CLOB IN OUT param
6963 in stored procedure) (Chris Jones/Oracle Corp.)
6964- Fixed bug #46979 (use with non-compound name *has* effect). (Dmitry)
6965- Fixed bug #46957 (The tokenizer returns deprecated values). (Felipe)
6966- Fixed bug #46944 (UTF-8 characters outside the BMP aren't encoded correctly).
6967 (Scott)
6968- Fixed bug #46897 (ob_flush() should fail to flush unerasable buffers).
6969 (David C.)
6970- Fixed bug #46849 (Cloning DOMDocument doesn't clone the properties). (Rob)
6971- Fixed bug #46847 (phpinfo() is missing some settings). (Hannes)
6972- Fixed bug #46844 (php scripts or included files with first line starting
6973 with # have the 1st line missed from the output). (Ilia)
6974- Fixed bug #46817 (tokenizer misses last single-line comment (PHP 5.3+, with
6975 re2c lexer)). (Matt, Shire)
6976- Fixed bug #46811 (ini_set() doesn't return false on failure). (Hannes)
6977- Fixed bug #46763 (mb_stristr() wrong output when needle does not exist).
6978 (Henrique M. Decaria)
6979- Fixed bug #46755 (warning: use statement with non-compound name). (Dmitry)
6980- Fixed bug #46746 (xmlrpc_decode_request outputs non-suppressable error when
6981 given bad data). (Ilia)
6982- Fixed bug #46738 (Segfault when mb_detect_encoding() fails). (Scott)
6983- Fixed bug #46731 (Missing validation for the options parameter of the
6984 imap_fetch_overview() function). (Ilia)
6985- Fixed bug #46711 (cURL curl_setopt leaks memory in foreach loops). (magicaltux
6986 [at] php [dot] net)
6987- Fixed bug #46701 (Creating associative array with long values in the key fails
6988 on 32bit linux). (Shire)
6989- Fixed bug #46681 (mkdir() fails silently on PHP 5.3). (Hannes)
6990- Fixed bug #46653 (can't extend mysqli). (Johannes)
6991- Fixed bug #46646 (Restrict serialization on some internal classes like Closure
6992 and SplFileInfo using exceptions). (Etienne)
6993- Fixed bug #46623 (OCI8: phpinfo doesn't show compile time ORACLE_HOME with
6994 phpize) (Chris Jones/Oracle Corp.)
6995- Fixed bug #46578 (strip_tags() does not honor end-of-comment when it
6996 encounters a single quote). (Felipe)
6997- Fixed bug #46546 (Segmentation fault when using declare statement with
6998 non-string value). (Felipe)
6999- Fixed bug #46542 (Extending PDO class with a __call() function doesn't work as
7000 expected). (Johannes)
7001- Fixed bug #46421 (SplFileInfo not correctly handling /). (Etienne)
7002- Fixed bug #46347 (parse_ini_file() doesn't support * in keys). (Nuno)
7003- Fixed bug #46268 (DateTime::modify() does not reset relative time values).
7004 (Derick)
7005- Fixed bug #46241 (stacked error handlers, internal error handling in general).
7006 (Etienne)
7007- Fixed bug #46238 (Segmentation fault on static call with empty string method).
7008 (Felipe)
7009- Fixed bug #46192 (ArrayObject with objects as storage serialization).
7010 (Etienne)
7011- Fixed bug #46185 (importNode changes the namespace of an XML element). (Rob)
7012- Fixed bug #46178 (memory leak in ext/phar). (Greg)
7013- Fixed bug #46160 (SPL - Memory leak when exception is thrown in offsetSet).
7014 (Felipe)
7015- Fixed Bug #46147 (after stream seek, appending stream filter reads incorrect
7016 data). (Greg)
7017- Fixed bug #46127 (php_openssl_tcp_sockop_accept forgets to set context on
7018 accepted stream) (Mark Karpeles, Pierre)
7019- Fixed bug #46115 (Memory leak when calling a method using Reflection).
7020 (Dmitry)
7021- Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
7022 multiple calls). (Ilia)
7023- Fixed bug #46108 (DateTime - Memory leak when unserializing). (Felipe)
7024- Fixed bug #46106 (Memory leaks when using global statement). (Dmitry)
7025- Fixed bug #46099 (Xsltprocessor::setProfiling - memory leak). (Felipe, Rob).
7026- Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned object).
7027 (Ilia)
7028- Fixed bug #46048 (SimpleXML top-level @attributes not part of iterator).
7029 (David C.)
7030- Fixed bug #46044 (Mysqli - wrong error message). (Johannes)
7031- Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()).
7032 (Ilia)
7033- Fixed bug #46039 (ArrayObject iteration is slow). (Arnaud)
7034- Fixed bug #46033 (Direct instantiation of SQLite3stmt and SQLite3result cause
7035 a segfault.) (Scott)
7036- Fixed bug #45991 (Ini files with the UTF-8 BOM are treated as invalid).
7037 (Scott)
7038- Fixed bug #45989 (json_decode() doesn't return NULL on certain invalid
7039 strings). (magicaltux, Scott)
7040- Fixed bug #45976 (Moved SXE from SPL to SimpleXML). (Etienne)
7041- Fixed bug #45928 (large scripts from stdin are stripped at 16K border).
7042 (Christian Schneider, Arnaud)
7043- Fixed bug #45911 (Cannot disable ext/hash). (Arnaud)
7044- Fixed bug #45907 (undefined reference to 'PHP_SHA512Init'). (Greg)
7045- Fixed bug #45826 (custom ArrayObject serialization). (Etienne)
7046- Fixed bug #45820 (Allow empty keys in ArrayObject). (Etienne)
7047- Fixed bug #45791 (json_decode() doesn't convert 0e0 to a double). (Scott)
7048- Fixed bug #45786 (FastCGI process exited unexpectedly). (Dmitry)
7049- Fixed bug #45757 (FreeBSD4.11 build failure: failed include; stdint.h).
7050 (Hannes)
7051- Fixed bug #45743 (property_exists fails to find static protected member in
7052 child class). (Felipe)
7053- Fixed bug #45717 (Fileinfo/libmagic build fails, missing err.h and getopt.h).
7054 (Derick)
7055- Fixed bug #45706 (Unserialization of classes derived from ArrayIterator
7056 fails). (Etienne, Dmitry)
7057- Fixed bug #45696 (Not all DateTime methods allow method chaining). (Derick)
7058- Fixed bug #45682 (Unable to var_dump(DateInterval)). (Derick)
7059- Fixed bug #45447 (Filesystem time functions on Vista and server 2008).
7060 (Pierre)
7061- Fixed bug #45432 (PDO: persistent connection leak). (Felipe)
7062- Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). (Ilia)
7063- Fixed bug #45384 (parse_ini_file will result in parse error with no trailing
7064 newline). (Arnaud)
7065- Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (vnegrier at
7066 optilian dot com, Ilia)
7067- Fixed bug #45044 (relative paths not resolved correctly). (Dmitry)
7068- Fixed bug #44861 (scrollable cursor don't work with pgsql). (Matteo)
7069- Fixed bug #44842 (parse_ini_file keys that start/end with underscore).
7070 (Arnaud)
7071- Fixed bug #44575 (parse_ini_file comment # line problems). (Arnaud)
7072- Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct()). (Matteo)
7073- Fixed bug #44173 (PDO->query() parameter parsing/checking needs an update).
7074 (Matteo)
7075- Fixed bug #44154 (pdo->errorInfo() always have three elements in the returned
7076 array). (David C.)
7077- Fixed bug #44153 (pdo->errorCode() returns NULL when there are no errors).
7078 (David C.)
7079- Fixed bug #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS). (Johannes,
7080 chx1975 at gmail dot com)
7081- Fixed bug #44100 (Inconsistent handling of static array declarations with
7082 duplicate keys). (Dmitry)
7083- Fixed bug #43831 ($this gets mangled when extending PDO with persistent
7084 connection). (Felipe)
7085- Fixed bug #43817 (opendir() fails on Windows directories with parent directory
7086 unaccessible). (Dmitry)
7087- Fixed bug #43069 (SoapClient causes 505 HTTP Version not supported error
7088 message). (Dmitry)
7089- Fixed bug #43008 (php://filter uris ignore url encoded filternames and can't
7090 handle slashes). (Arnaud)
7091- Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped).
7092 (Scott, Edward Z. Yang)
7093- Fixed bug #41874 (separate STDOUT and STDERR in exec functions). (Kanwaljeet
7094 Singla, Venkat Raman Don, Pierre)
7095- Fixed bug #41534 (SoapClient over HTTPS fails to reestablish connection).
7096 (Dmitry)
7097- Fixed bug #38802 (max_redirects and ignore_errors). (patch by
7098 datibbaw@php.net)
7099- Fixed bug #35980 (touch() works on files but not on directories). (Pierre)
7100
710117 Jun 2009, PHP 5.2.10
7102- Updated timezone database to version 2009.9 (2009i) (Derick)
7103
7104- Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara)
7105- Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS,
7106 and CURLPROTO_* for redirect fixes in CURL 7.19.4. (Yoram Bar Haim, Stas)
7107- Added support for Sun CC (FR #46595 and FR #46513). (David Soria Parra)
7108
7109- Changed default value of array_unique()'s optional sorting type parameter
7110 back to SORT_STRING to fix backwards compatibility breakage introduced in
7111 PHP 5.2.9. (Moriyoshi)
7112
7113- Fixed memory corruptions while reading properties of zip files. (Ilia)
7114- Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
7115- Fixed segfault on invalid session.save_path. (Hannes)
7116- Fixed leaks in imap when a mail_criteria is used. (Pierre)
7117- Fixed missing erealloc() in fix for Bug #40091 in spl_autoload_register. (Greg)
7118
7119- Fixed bug #48562 (Reference recursion causes segfault when used in
7120 wddx_serialize_vars()). (Felipe)
7121- Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to
7122 integers). (David Zuelke)
7123- Fixed bug #48518 (curl crashes when writing into invalid file handle). (Tony)
7124- Fixed bug #48514 (cURL extension uses same resource name for simple and
7125 multi APIs). (Felipe)
7126- Fixed bug #48469 (ldap_get_entries() leaks memory on empty search
7127 results). (Patrick)
7128- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4). (Jani,
7129 spisek at kerio dot com)
7130- Fixed bug #48448 (Compile failure under IRIX 6.5.30 building cast.c).
7131 (Kalle)
7132- Fixed bug #48441 (ldap_search() sizelimit, timelimit and deref options
7133 persist). (Patrick)
7134- Fixed bug #48434 (Improve memory_get_usage() accuracy). (Arnaud)
7135- Fixed bug #48416 (Force a cache limit in ereg() to stop excessive memory
7136 usage). (Scott)
7137- Fixed bug #48409 (Crash when exception is thrown while passing function
7138 arguments). (Arnaud)
7139- Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg
7140 files). (Pierre)
7141- Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing).
7142 (Ilia, simonov at gmail dot com)
7143- Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not work
7144 with redeclared property).
7145 (patch by Markus dot Lidel at shadowconnect dot com)
7146- Fixed bug #48326 (constant MSG_DONTWAIT not defined). (Arnaud)
7147- Fixed bug #48313 (fgetcsv() does not return null for empty rows). (Ilia)
7148- Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not update
7149 stream position of plain files). (Arnaud)
7150- Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source is a
7151 socket). (Arnaud)
7152- Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values).
7153 (Ilia, lytboris at gmail dot com)
7154- Fixed bug #48256 (Crash due to double-linking of history.o).
7155 (tstarling at wikimedia dot org)
7156- Fixed bug #48248 (SIGSEGV when access to private property via &__get).
7157 (Felipe)
7158- Fixed bug #48247 (Crash on errors during startup). (Stas)
7159- Fixed bug #48240 (DBA Segmentation fault dba_nextkey). (Felipe)
7160- Fixed bug #48224 (Incorrect shuffle in array_rand). (Etienne)
7161- Fixed bug #48221 (memory leak when passing invalid xslt parameter).
7162 (Felipe)
7163- Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out when
7164 working with a non-writable stream). (Ilia)
7165- Fixed bug #48206 (Iterating over an invalid data structure with
7166 RecursiveIteratorIterator leads to a segfault). (Scott)
7167- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid
7168 paths). (Ilia)
7169- Fixed bug #48203 (Crash when CURLOPT_STDERR is set to regular file). (Jani)
7170- Fixed bug #48202 (Out of Memory error message when passing invalid file
7171 path) (Pierre)
7172- Fixed bug #48156 (Added support for lcov v1.7). (Ilia)
7173- Fixed bug #48132 (configure check for curl ssl support fails with
7174 --disable-rpath). (Jani)
7175- Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto).
7176 (Ilia)
7177- Fixed bug #48070 (PDO_OCI: Segfault when using persistent connection).
7178 (Pierre, Matteo, jarismar dot php at gmail dot com)
7179- Fixed bug #48058 (Year formatter goes wrong with out-of-int range). (Derick)
7180- Fixed bug #48038 (odbc_execute changes variables used to form params array).
7181 (Felipe)
7182- Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams). (Arnaud)
7183- Fixed bug #47991 (SSL streams fail if error stack contains items). (Mikko)
7184- Fixed bug #47981 (error handler not called regardless). (Hannes)
7185- Fixed bug #47969 (ezmlm_hash() returns different values depend on OS). (Ilia)
7186- Fixed bug #47946 (ImageConvolution overwrites background). (Ilia)
7187- Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt)
7188- Fixed bug #47937 (system() calls sapi_flush() regardless of output
7189 buffering). (Ilia)
7190- Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe)
7191- Fixed bug #47893 (CLI aborts on non blocking stdout). (Arnaud)
7192- Fixed bug #47849 (Non-deep import loses the namespace). (Rob)
7193- Fixed bug #47845 (PDO_Firebird omits first row from query). (Lars W)
7194- Fixed bug #47836 (array operator [] inconsistency when the array has
7195 PHP_INT_MAX index value). (Matt)
7196- Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c).
7197 (Ilia, rainer dot jung at kippdata dot de)
7198- Fixed bug #47828 (openssl_x509_parse() segfaults when a UTF-8 conversion
7199 fails). (Scott, Kees Cook, Pierre)
7200- Fixed bug #47818 (Segfault due to bound callback param). (Felipe)
7201- Fixed bug #47801 (__call() accessed via parent:: operator is provided
7202 incorrect method name). (Felipe)
7203- Fixed bug #47769 (Strange extends PDO). (Felipe)
7204- Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer).
7205 (Dmitry)
7206- Fixed bug #47721 (Alignment issues in mbstring and sysvshm extension).
7207 (crrodriguez at opensuse dot org, Ilia)
7208- Fixed bug #47704 (PHP crashes on some "bad" operations with string
7209 offsets). (Dmitry)
7210- Fixed bug #47695 (build error when xmlrpc and iconv are compiled against
7211 different iconv versions). (Scott)
7212- Fixed bug #47667 (ZipArchive::OVERWRITE seems to have no effect).
7213 (Mikko, Pierre)
7214- Fixed bug #47644 (Valid integers are truncated with json_decode()). (Scott)
7215- Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a
7216 string literal). (Ilia)
7217- Fixed bug #47616 (curl keeps crashing). (Felipe)
7218- Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware). (Ilia)
7219- Fixed bug #47566 (pcntl_wexitstatus() returns signed status).
7220 (patch by james at jamesreno dot com)
7221- Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns wrong
7222 result). (Ilia)
7223- Fixed bug #47487 (performance degraded when reading large chunks after
7224 fix of bug #44607). (Arnaud)
7225- Fixed bug #47468 (enable cli|cgi-only extensions for embed sapi). (Jani)
7226- Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6
7227 addresses in the filter extension). (Ilia)
7228- Fixed bug #47430 (Errors after writing to nodeValue parameter of an absent
7229 previousSibling). (Rob)
7230- Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit
7231 systems). (Ilia)
7232- Fixed bug #47254 (Wrong Reflection for extends class). (Felipe)
7233- Fixed bug #47042 (cgi sapi is incorrectly removing SCRIPT_FILENAME).
7234 (Sriram Natarajan, David Soria Parra)
7235- Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with
7236 different bit numbers). (Matt)
7237- Fixed bug #46812 (get_class_vars() does not include visible private variable
7238 looking at subclass). (Arnaud)
7239- Fixed bug #46386 (Digest authentication with SOAP module fails against MSSQL
7240 SOAP services). (Ilia, lordelph at gmail dot com)
7241- Fixed bug #46109 (Memory leak when mysqli::init() is called multiple times).
7242 (Andrey)
7243- Fixed bug #45997 (safe_mode bypass with exec/system/passthru (windows only)).
7244 (Pierre)
7245- Fixed bug #45877 (Array key '2147483647' left as string). (Matt)
7246- Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets).
7247 (Derick, Mike Sullivan)
7248- Fixed bug #45799 (imagepng() crashes on empty image).
7249 (Martin McNickle, Takeshi Abe)
7250- Fixed bug #45622 (isset($arrayObject->p) misbehaves with
7251 ArrayObject::ARRAY_AS_PROPS set). (robin_fernandes at uk dot ibm dot com, Arnaud)
7252- Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop
7253 of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud)
7254- Fixed bug #45540 (stream_context_create creates bad http request). (Arnaud)
7255- Fixed bug #45202 (zlib.output_compression can not be set with ini_set()).
7256 (Jani)
7257- Fixed bug #45191 (error_log ignores date.timezone php.ini val when setting
7258 logging timestamps). (Derick)
7259- Fixed bug #45092 (header HTTP context option not being used when compiled
7260 using --with-curlwrappers). (Jani)
7261- Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime).
7262 (Ilia, kawai at apache dot org)
7263- Fixed bug #44827 (define() is missing error checks for class constants).
7264 (Ilia)
7265- Fixed bug #44214 (Crash using preg_replace_callback() and global variables).
7266 (Nuno, Scott)
7267- Fixed bug #43073 (TrueType bounding box is wrong for angle<>0).
7268 (Martin McNickle)
7269- Fixed bug #42663 (gzinflate() try to allocate all memory with truncated
7270 data). (Arnaud)
7271- Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC
7272 driver). (jhml at gmx dot net)
7273- Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped).
7274 (Scott, Edward Z. Yang)
7275- Fixed bug #42143 (The constant NAN is reported as 0 on Windows)
7276 (Kanwaljeet Singla, Venkat Raman Don)
7277- Fixed bug #38805 (PDO truncates text from SQL Server text data type field).
7278 (Steph)
7279
728026 Feb 2009, PHP 5.2.9
7281- Changed __call() to be invoked on private/protected method access, similar to
7282 properties and __get(). (Andrei)
7283
7284- Added optional sorting type flag parameter to array_unique(). Default is
7285 SORT_REGULAR. (Andrei)
7286
7287- Fixed a crash on extract in zip when files or directories entry names contain
7288 a relative path. (Pierre)
7289- Fixed error conditions handling in stream_filter_append(). (Arnaud)
7290- Fixed zip filename property read. (Pierre)
7291- Fixed explode() behavior with empty string to respect negative limit. (Shire)
7292- Fixed security issue in imagerotate(), background colour isn't validated
7293 correctly with a non truecolour image. Reported by Hamid Ebadi,
7294 APA Laboratory (Fixes CVE-2008-5498). (Scott)
7295- Fixed a segfault when malformed string is passed to json_decode(). (Scott)
7296- Fixed bug in xml_error_string() which resulted in messages being
7297 off by one. (Scott)
7298
7299- Fixed bug #47422 (modulus operator returns incorrect results on 64 bit
7300 linux). (Matt)
7301- Fixed bug #47399 (mb_check_encoding() returns true for some illegal SJIS
7302 characters). (for-bugs at hnw dot jp, Moriyoshi)
7303- Fixed bug #47353 (crash when creating a lot of objects in object
7304 destructor). (Tony)
7305- Fixed bug #47322 (sscanf %d doesn't work). (Felipe)
7306- Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses
7307 as invalid). (Ilia)
7308- Fixed bug #47220 (segfault in dom_document_parser in recovery mode). (Rob)
7309- Fixed bug #47217 (content-type is not set properly for file uploads). (Ilia)
7310- Fixed bug #47174 (base64_decode() interprets pad char in mid string as
7311 terminator). (Ilia)
7312- Fixed bug #47165 (Possible memory corruption when passing return value by
7313 reference). (Dmitry)
7314- Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results).
7315 (Felipe)
7316- Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). (Ilia)
7317- Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object).
7318 (Etienne, Dmitry)
7319- Fixed bug #47104 (Linking shared extensions fails with icc). (Jani)
7320- Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault).
7321 (Dmitry)
7322- Fixed bug #47048 (Segfault with new pg_meta_data). (Felipe)
7323- Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non
7324 apache). (Sriram Natarajan)
7325- Fixed bug #47037 (No error when using fopen with empty string). (Cristian
7326 Rodriguez R., Felipe)
7327- Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a
7328 TXT record). (Felipe)
7329- Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject).
7330 (Derick)
7331- Fixed bug #46985 (OVERWRITE and binary mode does not work, regression
7332 introduced in 5.2.8). (Pierre)
7333- Fixed bug #46973 (IPv6 address filter rejects valid address). (Felipe)
7334- Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). (Ilia)
7335- Fixed bug #46959 (Unable to disable PCRE). (Scott)
7336- Fixed bug #46918 (imap_rfc822_parse_adrlist host part not filled in
7337 correctly). (Felipe)
7338- Fixed bug #46889 (Memory leak in strtotime()). (Derick)
7339- Fixed bug #46887 (Invalid calls to php_error_docref()). (oeriksson at
7340 mandriva dot com, Ilia)
7341- Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists). (Arnaud)
7342- Fixed bug #46843 (CP936 euro symbol is not converted properly). (ty_c at
7343 cybozuy dot co dot jp, Moriyoshi)
7344- Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value
7345 inside a binary or image column type). (Ilia)
7346- Fixed bug #46782 (fastcgi.c parse error). (Matt)
7347- Fixed bug #46760 (SoapClient doRequest fails when proxy is used). (Felipe)
7348- Fixed bug #46748 (Segfault when an SSL error has more than one error).
7349 (Scott)
7350- Fixed bug #46739 (array returned by curl_getinfo should contain
7351 content_type key). (Mikko)
7352- Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob)
7353- Fixed bug #46419 (Elements of associative arrays with NULL value are
7354 lost). (Dmitry)
7355- Fixed bug #46282 (Corrupt DBF When Using DATE). (arne at bukkie dot nl)
7356- Fixed bug #46026 (bz2.decompress/zlib.inflate filter tries to decompress
7357 after end of stream). (Greg)
7358- Fixed bug #46005 (User not consistently logged under Apache2). (admorten
7359 at umich dot edu, Stas)
7360- Fixed bug #45996 (libxml2 2.7 causes breakage with character data in
7361 xml_parse()). (Rob)
7362- Fixed bug #45940 (MySQLI OO does not populate connect_error property on
7363 failed connect). (Johannes)
7364- Fixed bug #45923 (mb_st[r]ripos() offset not handled correctly). (Moriyoshi)
7365- Fixed bug #45327 (memory leak if offsetGet throws exception). (Greg)
7366- Fixed bug #45239 (Encoding detector hangs with mbstring.strict_detection
7367 enabled). (Moriyoshi)
7368- Fixed bug #45161 (Reusing a curl handle leaks memory). (Mark Karpeles, Jani)
7369- Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode
7370 at coretrek dot com, Nuno)
7371- Fixed bug #43841 (mb_strrpos() offset is byte count for negative values).
7372 (Moriyoshi)
7373- Fixed bug #37209 (mssql_execute with non fatal errors). (Kalle)
7374- Fixed bug #35975 (Session cookie expires date format isn't the most
7375 compatible. Now matches that of setcookie()). (Scott)
7376
7377
737808 Dec 2008, PHP 5.2.8
7379- Reverted bug fix #42718 that broke magic_quotes_gpc (Scott)
7380
738104 Dec 2008, PHP 5.2.7
7382- Upgraded PCRE to version 7.8 (Fixes CVE-2008-2371). (Ilia)
7383- Updated timezone database to version 2008.9. (Derick)
7384- Upgraded bundled libzip to 0.9.0. (Pierre)
7385
7386- Added logging option for error_log to send directly to SAPI. (Stas)
7387- Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,
7388 PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre)
7389- Added "PHP_INI_SCAN_DIR" environment variable which can be used to
7390 either disable or change the compile time ini scan directory (FR #45114).
7391 (Jani)
7392
7393- Fixed missing initialization of BG(page_uid) and BG(page_gid),
7394 reported by Maksymilian Arciemowicz. (Stas)
7395- Fixed memory leak inside sqlite_create_aggregate(). (Felipe)
7396- Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method.
7397 (Felipe)
7398- Fixed a crash inside gd with invalid fonts (Fixes CVE-2008-3658). (Pierre)
7399- Fixed a possible overflow inside memnstr (Fixes CVE-2008-3659).
7400 (LaurentGaffie)
7401- Fixed incorrect php_value order for Apache configuration, reported by
7402 Maksymilian Arciemowicz. (Stas)
7403- Fixed memory leak inside readline_callback_handler_remove() function.
7404 (Felipe)
7405- Fixed sybase_fetch_*() to continue reading after CS_ROW_FAIL status (Timm)
7406- Fixed a bug inside dba_replace() that could cause file truncation
7407 withinvalid keys. (Ilia)
7408- Fixed memory leak inside readline_callback_handler_install() function.(Ilia)
7409- Fixed memory leak inside readline_completion_function() function. (Felipe)
7410- Fixed stream_get_contents() when using $maxlength and socket is notclosed.
7411 indeyets [at] php [dot] net on #46049. (Arnaud)
7412- Fixed stream_get_line() to behave as documented on non-blocking streams.
7413 (Arnaud)
7414- Fixed endless loop in PDOStatement::debugDumpParams().
7415 (jonah.harris at gmail dot com)
7416- Fixed ability to use "internal" heaps in extensions. (Arnaud, Dmitry)
7417- Fixed weekdays adding/subtracting algorithm. (Derick)
7418- Fixed some ambiguities in the date parser. (Derick)
7419- Fixed a bug with the YYYY-MM format not resetting the day correctly.
7420 (Derick)
7421- Fixed a bug in the DateTime->modify() methods, it would not use the advanced
7422 relative time strings. (Derick)
7423- Fixed extraction of zip files or directories when the entry name is a
7424 relative path. (Pierre)
7425- Fixed read or write errors for large zip archives. (Pierre)
7426- Fixed security issues detailed in CVE-2008-2665 and CVE-2008-2666.
7427 (Christian Hoffmann)
7428- Fixed simplexml asXML() not to lose encoding when dumping entire
7429 document to file. (Ilia)
7430- Fixed a crash inside PDO when trying instantiate PDORow manually.
7431 (Felipe)
7432- Fixed build failure of ext/mysqli with libmysql 6.0 - missing
7433 rplfunctions. (Andrey)
7434- Fixed a regression when using strip_tags() and < is within an
7435 attribute.(Scott)
7436- Fixed a crash on invalid method in ReflectionParameter constructor.
7437 (Christian Seiler)
7438- Reverted fix for bug #44197 due to behaviour change in minor version.
7439 (Felipe)
7440
7441- Fixed bug #46732 (mktime.year description is wrong). (Derick)
7442- Fixed bug #46696 (cURL fails in upload files with specified content-type).
7443 (Ilia)
7444- Fixed bug #46673 (stream_lock call with wrong parameter). (Arnaud)
7445- Fixed bug #46649 (Setting array element with that same array produces
7446 inconsistent results). (Arnaud)
7447- Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly).
7448 (Ilia)
7449- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters).
7450 (Felipe)
7451- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment).
7452 (jd at cpanel dot net)
7453- Fixed bug #46496 (wddx_serialize treats input as ISO-8859-1). (Mark Karpeles)
7454- Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter).
7455 (Dmitry, Herman Radtke)
7456- Fixed bug #46426 (offset parameter of stream_get_contents() does not
7457 workfor "0"). (Felipe)
7458- Fixed bug #46406 (Unregistering nodeclass throws E_FATAL). (Rob)
7459- Fixed bug #46389 (NetWare needs small patch for _timezone).
7460 (patch by guenter@php.net)
7461- Fixed bug #46388 (stream_notification_callback inside of object destroys
7462 object variables). (Felipe)
7463- Fixed bug #46381 (wrong $this passed to internal methods causes segfault).
7464 (Tony)
7465- Fixed bug #46379 (Infinite loop when parsing '#' in one line file). (Arnaud)
7466- Fixed bug #46366 (bad cwd with / as pathinfo). (Dmitry)
7467- Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option).
7468 (bugs at trick dot vanstaveren dot us)
7469- Fixed bug #46343 (IPv6 address filter accepts invalid address). (Ilia)
7470- Fixed bug #46335 (DOMText::splitText doesn't handle multibyte characters).
7471 (Rob)
7472- Fixed bug #46323 (compilation of simplexml for NetWare breaks).
7473 (Patch by guenter [at] php [dot] net)
7474- Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304
7475 response code, in cgi sapi). (Ilia)
7476- Fixed bug #46313 (Magic quotes broke $_FILES). (Arnaud)
7477- Fixed bug #46308 (Invalid write when changing property from inside getter).
7478 (Dmitry)
7479- Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when
7480 using FETCH_CLASSTYPE). (Felipe)
7481- Fixed bug #46274, #46249 (pdo_pgsql always fill in NULL for empty BLOB and
7482 segfaults when returned by SELECT). (Felipe)
7483- Fixed bug #46271 (local_cert option is not resolved to full path). (Ilia)
7484- Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback
7485 without event). (Felipe)
7486- Fixed bug #46246 (difference between call_user_func(array($this, $method))
7487 and $this->$method()). (Dmitry)
7488- Fixed bug #46222 (ArrayObject EG(uninitialized_var_ptr) overwrite).
7489 (Etienne)
7490- Fixed bug #46215 (json_encode mutates its parameter and has some
7491 class-specific state). (Felipe)
7492- Fixed bug #46206 (pg_query_params/pg_execute convert passed values to
7493 strings). (Ilia)
7494- Fixed bug #46191 (BC break: DOMDocument saveXML() doesn't accept null).
7495 (Rob)
7496- Fixed bug #46164 (stream_filter_remove() closes the stream). (Arnaud)
7497- Fixed bug #46157 (PDOStatement::fetchObject prototype error). (Felipe)
7498- Fixed bug #46147 (after stream seek, appending stream filter reads
7499 incorrect data). (Greg)
7500- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE).
7501 (chsc at peytz dot dk, Felipe)
7502- Fixed bug #46127 (php_openssl_tcp_sockop_accept forgets to set context
7503 on accepted stream) (Mark Karpeles, Pierre)
7504- Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on
7505 multiple calls). (Ilia)
7506- Fixed bug #46088 (RegexIterator::accept - segfault). (Felipe)
7507- Fixed bug #46082 (stream_set_blocking() can cause a crash in some
7508 circumstances). (Felipe)
7509- Fixed bug #46064 (Exception when creating ReflectionProperty object
7510 on dynamicly created property). (Felipe)
7511- Fixed bug #46059 (Compile failure under IRIX 6.5.30 building posix.c).
7512 (Arnaud)
7513- Fixed bug #46053 (SplFileObject::seek - Endless loop). (Arnaud)
7514- Fixed bug #46051 (SplFileInfo::openFile - memory overlap). (Arnaud)
7515- Fixed bug #46047 (SimpleXML converts empty nodes into object with
7516 nested array). (Rob)
7517- Fixed bug #46031 (Segfault in AppendIterator::next). (Arnaud)
7518- Fixed bug #46029 (Segfault in DOMText when using with Reflection). (Rob)
7519- Fixed bug #46026 (bzip2.decompress/zlib.inflate filter tries to decompress
7520 after end of stream). (Keisial at gmail dot com, Greg)
7521- Fixed bug #46024 (stream_select() doesn't return the correct number).
7522 (Arnaud)
7523- Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode).
7524 (Felipe)
7525- Fixed bug #46003 (isset on nonexisting node return unexpected results). (Rob)
7526- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors
7527 in parsed file). (Jani)
7528- Fixed bug #45901 (wddx_serialize_value crash with SimpleXMLElement object).
7529 (Rob)
7530- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and
7531 'private' variables). (ilewis at uk dot ibm dot com, Felipe)
7532- Fixed bug #45860 (header() function fails to correctly replace all Status
7533 lines). (Dmitry)
7534- Fixed bug #45805 (Crash on throwing exception from error handler). (Dmitry)
7535- Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause
7536 an error). (Felipe)
7537- Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address
7538 use)). (basant dot kukreja at sun dot com)
7539- Fixed bug #45722 (mb_check_encoding() crashes). (Moriyoshi)
7540- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter).
7541 (Jani)
7542- Fixed bug #45691 (Some per-dir or runtime settings may leak into other
7543 requests). (Moriyoshi)
7544- Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items). (Arnaud)
7545- Fixed bug #45580 (levenshtein() crashes with invalid argument). (Ilia)
7546- Fixed bug #45575 (Segfault with invalid non-string as event handler callback).
7547 (Christian Seiler)
7548- Fixed bug #45568 (ISAPI doesn't properly clear auth_digest in header).
7549 (Patch by: navara at emclient dot com)
7550- Fixed bug #45556 (Return value from callback isn't freed). (Felipe)
7551- Fixed bug #45555 (Segfault with invalid non-string as
7552 register_introspection_callback). (Christian Seiler)
7553- Fixed bug #45553 (Using XPath to return values for attributes with a
7554 namespace does not work). (Rob)
7555- Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave
7556 different). (Derick)
7557- Fixed bug #45522 (FCGI_GET_VALUES request does not return supplied values).
7558 (Arnaud)
7559- Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset='
7560 parsing incorrect). (Felipe)
7561- Fixed bug #45485 (strip_tags and <?XML tag). (Felipe)
7562- Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't
7563 accept lengths of 1024). (Felipe, andrew at lifescale dot com)
7564- Fixed bug #45449 (filesize() regression using ftp wrapper).
7565 (crrodriguez at suse dot de)
7566- Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown
7567 before shutdown) (basant dot kukreja at sun dot com)
7568- Fixed bug #45406 (session.serialize_handler declared by shared extension fails).
7569 (Kalle, oleg dot grenrus at dynamoid dot com)
7570- Fixed bug #45405 (snmp extension memory leak).
7571 (Federico Cuello, Rodrigo Campos)
7572- Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (Ilia)
7573- Fixed bug #45373 (php crash on query with errors in params). (Felipe)
7574- Fixed bug #45352 (Segmentation fault because of tick function on second
7575 request). (Dmitry)
7576- Fixed bug #45312 (Segmentation fault on second request for array functions).
7577 (Dmitry)
7578- Fixed bug #45303 (Opening php:// wrapper in append mode results in a warning).
7579 (Arnaud)
7580- Fixed bug #45251 (double free or corruption with setAttributeNode()). (Rob)
7581- Fixed bug #45226 and #18916 (xmlrpc_set_type() segfaults and wrong behavior
7582 with valid ISO8601 date string). (Jeff Lawsons)
7583- Fixed bug #45220 (curl_read callback returns -1 when needs to return
7584 size_t (unsigned)). (Felipe)
7585- Fixed bug #45181 (chdir() should clear relative entries in stat cache).
7586 (Arnaud)
7587- Fixed bug #45178 (memory corruption on assignment result of "new" by
7588 reference). (Dmitry)
7589- Fixed bug #45166 (substr() overflow changes). (Felipe)
7590- Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)).
7591 (Fixes CVE-2008-3660) (Dmitry)
7592- Fixed bug #45139 (ReflectionProperty returns incorrect declaring class).
7593 (Felipe)
7594- Fixed bug #45124 ($_FILES['upload']['size'] sometimes return zero and some
7595 times the filesize). (Arnaud)
7596- Fixed bug #45028 (CRC32 output endianness is different between crc32() and
7597 hash()). (Tony)
7598- Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format).
7599 (Ilia)
7600- Fixed bug #44991 (Compile Failure With freetds0.82).
7601 (jklowden at freetds dot org, matthias at dsx dot at)
7602- Fixed bug #44938 (gettext functions crash with overly long domain).
7603 (Christian Schneider, Ilia)
7604- Fixed bug #44925 (preg_grep() modifies input array). (Nuno)
7605- Fixed bug #44900 (OpenSSL extension fails to link with OpenSSL 0.9.6).
7606 (jd at cpanel dot net, Pierre)
7607- Fixed bug #44891 Memory leak using registerPHPFunctions and XSLT Variable
7608 as function parameter. (Rob)
7609- Fixed bug #44882 (SOAP extension object decoding bug). (Dmitry)
7610- Fixed bug #44830 (Very minor issue with backslash in heredoc). (Matt)
7611- Fixed bug #44818 (php://memory writeable when opened read only). (Arnaud)
7612- Fixed bug #44811 (Improve error message when creating a new SoapClient
7613 that contains invalid data). (Markus Fischer, David C)
7614- Fixed bug #44798 (Memory leak assigning value to attribute). (Ilia)
7615- Fixed bug #44716 (Progress notifications incorrect). (Hannes)
7616- Fixed bug #44712 (stream_context_set_params segfaults on invalid arguments).
7617 (Hannes)
7618- Fixed bug #44617 (wrong HTML entity output when substitute_character=entity).
7619 (Moriyoshi)
7620- Fixed bug #44607 (stream_get_line unable to correctly identify the "ending"
7621 in the stream content). (Arnaud)
7622- Fixed bug #44425 (Extending PDO/MySQL class with a __call() function doesn't
7623 work). (Johannes)
7624- Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash).
7625 (Felipe)
7626- Fixed bug #44251, #41125 (PDO + quote() + prepare() can result in segfault).
7627 (tsteiner at nerdclub dot net)
7628- Fixed bug #44246 (closedir() accepts a file resource opened by fopen()).
7629 (Dmitry, Tony)
7630- Fixed bug #44182 (extract($a, EXTR_REFS) can fail to split copy-on-write
7631 references). (robin_fernandes at uk dot ibm dot com)
7632- Fixed bug #44181 (extract($a, EXTR_OVERWRITE|EXTR_REFS) can fail to create
7633 references to $a). (robin_fernandes at uk dot ibm dot com)
7634- Fixed bug #44127 (UNIX abstract namespace socket connect does not work).
7635 (Jani)
7636- Fixed bug #43993 (mb_substr_count() behaves differently to substr_count()
7637 with overlapping needles). (Moriyoshi)
7638- Fixed Bug #43958 (class name added into the error message). (Dmitry)
7639- Fixed bug #43941 (json_encode silently cuts non-UTF8 strings). (Stas)
7640- Fixed bug #43925 (Incorrect argument counter in prepared statements with
7641 pgsql). (Felipe)
7642- Fixed bug #43731 (socket_getpeername: cannot use on stdin with inetd).
7643 (Arnaud)
7644- Fixed bug #43723 (SOAP not sent properly from client for <choice>). (Dmitry)
7645- Fixed bug #43668 (Added odbc.default_cursortype to control the ODBCcursor
7646 model). (Patrick)
7647- Fixed bug #43666 (Fixed code to use ODBC 3.52 datatypes for 64bit
7648 systems). (Patrick)
7649- Fixed bug #43540 (rfc1867 handler newlength problem). (Arnaud)
7650- Fixed bug #43452 (strings containing a weekday, or a number plus weekday
7651 behaved incorrect of the current day-of-week was the same as the one in the
7652 phrase). (Derick)
7653- Fixed bug #43353 (wrong detection of 'data' wrapper causes notice).
7654 (gk at gknw dot de, Arnaud)
7655- Fixed bug #43053 (Regression: some numbers shown in scientific notation).
7656 (int-e at gmx dot de)
7657- Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float).
7658 (Dmitry)
7659- Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer
7660 overflow). (Fixes CVE-2008-2829) (Dmitry)
7661- Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record).
7662 (a dot u dot savchuk at gmail dot com)
7663- Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines).
7664 (Nuno)
7665- Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as default
7666 filter). (Arnaud)
7667- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=path).
7668 (Jani)
7669- Fixed bug #42473 (ob_start php://output and headers). (Arnaud)
7670- Fixed bug #42318 (problem with nm on AIX, not finding object files).
7671 (Dmitry)
7672- Fixed bug #42294 (Unified solution for round() based on C99 round). (Ilia)
7673- Fixed bug #42078 (pg_meta_data mix tables metadata from different schemas).
7674 (Felipe)
7675- Fixed bug #41348 (OCI8: allow compilation with Oracle 8.1). (Chris Jones)
7676- Fixed bug #41033 (enable signing with DSA keys.
7677 (gordyf at google dot com, Pierre)
7678- Fixed bug #37100 (data is returned truncated with BINARY CURSOR). (Tony)
7679- Fixed bug #30312 (crash in sybase_unbuffered_query() function). (Timm)
7680- Fixed bug #24679 (pg_* functions doesn't work using schema). (Felipe)
7681- Fixed bug #14962 (PECL) (::extractTo 2nd argument is not really optional)
7682 (Mark van Der Velden)
7683- Fixed bug #14032 (Mail() always returns false but mail is sent). (Mikko)
7684
7685
768601 May 2008, PHP 5.2.6
7687- Fixed two possible crashes inside posix extension (Tony)
7688- Fixed incorrect heredoc handling when label is used within the block.
7689 (Matt)
7690- Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)
7691- Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin)
7692- Fixed a bug in formatting timestamps when DST is active in the default timezone (Derick)
7693- Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, Stefan Esser)
7694- Fix integer overflow in printf(). (Stas, Maksymilian Aciemowicz)
7695- Fixed security issue detailed in CVE-2008-0599. (Rasmus)
7696- Fixed potential memleak in stream filter parameter for zlib filter. (Greg)
7697- Added Reflection API metadata for the methods of the DOM classes. (Sebastian)
7698- Fixed weird behavior in CGI parameter parsing. (Dmitry, Hannes Magnusson)
7699- Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz.
7700 (Ilia)
7701- Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by
7702 which to group by data is specified. (Ilia)
7703- Fixed segfault in filter extension when using callbacks. (Arnar Mar Sig,
7704 Felipe)
7705- Fixed faulty fix for bug #40189 (endless loop in zlib.inflate stream filter). (Greg)
7706- Upgraded PCRE to version 7.6 (Nuno)
7707
7708- Fixed bug #44742 (timezone_offset_get() causes segmentation faults). (Derick)
7709- Fixed bug #44720 (Prevent crash within session_register()). (Scott)
7710- Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument). (Andy Wharmby)
7711- Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) (Dmitry)
7712- Fixed bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly). (Jani)
7713- Fixed bug #44663 (Crash in imap_mail_compose if "body" parameter invalid). (Ilia)
7714- Fixed bug #44650 (escaepshellscmd() does not check arg count). (Ilia)
7715- Fixed bug #44613 (Crash inside imap_headerinfo()). (Ilia, jmessa)
7716- Fixed bug #44603 (Order issues with Content-Type/Length headers on POST). (Ilia)
7717- Fixed bug #44594 (imap_open() does not validate # of retries parameter). (Ilia)
7718- Fixed bug #44591 (imagegif's filename parameter). (Felipe)
7719- Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) (Thomas Jarosch)
7720- Fixed bug #44487 (call_user_method_array issues a warning when throwing an exception). (David Soria Parra)
7721- Fixed bug #44478 (Inconsistent behaviour when assigning new nodes). (Rob, Felipe)
7722- Fixed bug #44445 (email validator does not handle domains starting/ending with a -). (Ilia)
7723- Fixed bug #44440 (st_blocks undefined under BeOS). (Felipe)
7724- Fixed bug #44394 (Last two bytes missing from output). (Felipe)
7725- Fixed bug #44388 (Crash inside exif_read_data() on invalid images) (Ilia)
7726- Fixed bug #44373 (PDO_OCI extension compile failed). (Felipe)
7727- Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags). (Felipe)
7728- Fixed bug #44306 (Better detection of MIPS processors on Windows). (Ilia)
7729- Fixed bug #44242 (metaphone('CMXFXM') crashes PHP). (Felipe)
7730- Fixed bug #44233 (MSG_PEEK undefined under BeOS R5). (jonathonfreeman at gmail dot com, Ilia)
7731- Fixed bug #44216 (strftime segfaults on large negative value). (Derick)
7732- Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit platforms). (Derick)
7733- Fixed bug #44206 (OCI8 selecting ref cursors leads to ORA-1000 maximum open cursors reached). (Oracle Corp.)
7734- Fixed bug #44200 (A crash in PDO when no bound targets exists and yet bound parameters are present). (Ilia)
7735- Fixed bug #44197 (socket array keys lost on socket_select). (Felipe)
7736- Fixed bug #44191 (preg_grep messes up array index). (Felipe)
7737- Fixed bug #44189 (PDO setAttribute() does not properly validate values for native numeric options). (Ilia)
7738- Fixed bug #44184 (Double free of loop-variable on exception). (Dmitry)
7739- Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error). (Ilia)
7740- Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers()). (Ilia)
7741- Fixed bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)). (Felipe)
7742- Fixed bug #44152 (Possible crash with syslog logging on ZTS builds). (Ilia)
7743- Fixed bug #44141 (private parent constructor callable through static function). (Dmitry)
7744- Fixed bug #44113 (OCI8 new collection creation can fail with OCI-22303). (Oracle Corp.)
7745- Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=). (Dmitry)
7746- Fixed bug #44046 (crash inside array_slice() function with an invalid by-ref offset). (Ilia)
7747- Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling encryption without crypto type). (Ilia)
7748- Fixed bug #44018 (RecursiveDirectoryIterator options inconsistancy). (Marcus)
7749- Fixed bug #44008 (OCI8 incorrect usage of OCI-Lob->close crashes PHP). (Oracle Corp.)
7750- Fixed bug #43998 (Two error messages returned for incorrect encoding for mb_strto[upper|lower]). (Rui)
7751- Fixed bug #43994 (mb_ereg 'successfully' matching incorrect). (Rui)
7752- Fixed bug #43954 (Memory leak when sending the same HTTP status code multiple times). (Scott)
7753- Fixed bug #43927 (koi8r is missing from html_entity_decode()). (andy at demos dot su, Tony)
7754- Fixed bug #43912 (Interbase column names are truncated to 31 characters). (Ilia)
7755- Fixed bug #43875 (Two error messages returned for $new and $flag argument in mysql_connect()). (Hannes)
7756- Fixed bug #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251). (phprus at gmail dot com, Tony)
7757- Fixed bug #43841 (mb_strrpos offset is byte count for negative values). (Rui)
7758- Fixed bug #43840 (mb_strpos bounds check is byte count rather than a character count). (Rui)
7759- Fixed bug #43808 (date_create never fails (even when it should)). (Derick)
7760- Fixed bug #43793 (zlib filter is unable to auto-detect gzip/zlib file headers). (Greg)
7761- Fixed bug #43703 (Signature compatibility check broken). (Dmitry)
7762- Fixed bug #43677 (Inconsistent behaviour of include_path set with php_value). (manuel at mausz dot at)
7763- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work). (David Soria Parra)
7764- Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";"). (Ilia)
7765- Fixed bug #43635 (mysql extension ingores INI settings on NULL values passed to mysql_connect()). (Ilia)
7766- Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can result in a crash). (Ilia)
7767- Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data). (Dmitriy Buldakov, Felipe)
7768- Fixed bug #43606 (define missing depencies of the exif extension). (crrodriguez at suse dot de)
7769- Fixed bug #43589 (a possible infinite loop in bz2_filter.c). (Greg)
7770- Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url() function). (Ilia)
7771- Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values). (Felipe, Tony)
7772- Fixed bug #43533 (escapeshellarg('') returns null). (Ilia)
7773- Fixed bug #43527 (DateTime created from a timestamp reports environment timezone). (Derick)
7774- Fixed bug #43522 (stream_get_line() eats additional characters). (Felipe, Ilia, Tony)
7775- Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status). (Dmitry)
7776- Fixed bug #43505 (Assign by reference bug). (Dmitry)
7777- Fixed bug #43498 (file_exists() on a proftpd server got SIZE not allowed in ASCII mode). (Ilia, crrodriguez at suse dot de)
7778- Fixed bug #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory). (Chris)
7779- Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays). (Ilia)
7780- Fixed bug #43493 (pdo_pgsql does not send username on connect when password is not available). (Ilia)
7781- Fixed bug #43491 (Under certain conditions, file_exists() never returns). (Dmitry)
7782- Fixed bug #43483 (get_class_methods() does not list all visible methods). (Dmitry)
7783- Fixed bug #43482 (array_pad() does not warn on very small pad numbers). (Ilia)
7784- Fixed bug #43457 (Prepared statement with incorrect parms doesn't throw exception with pdo_pgsql driver). (Ilia)
7785- Fixed bug #43450 (Memory leak on some functions with implicit object __toString() call). (David C.)
7786- Fixed bug #43386 (array_globals not reset to 0 properly on init). (Ilia)
7787- Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone). (Ilia)
7788- Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error). (Ilia)
7789- Fixed bug #43364 (recursive xincludes don't remove internal xml nodes properly). (Rob, patch from ddb@bitxtender.de)
7790- Fixed bug #43301 (mb_ereg*_replace() crashes when replacement string is invalid PHP expression and 'e' option is used). (Jani)
7791- Fixed bug #43295 (crash because of uninitialized SG(sapi_headers).mimetype). (Dmitry)
7792- Fixed bug #43293 (Multiple segfaults in getopt()). (Hannes)
7793- Fixed bug #43279 (pg_send_query_params() converts all elements in 'params' to strings). (Ilia)
7794- Fixed bug #43276 (Incomplete fix for bug #42739, mkdir() under safe_mode). (Ilia)
7795- Fixed bug #43248 (backward compatibility break in realpath()). (Dmitry)
7796- Fixed bug #43221 (SimpleXML adding default namespace in addAttribute). (Rob)
7797- Fixed bug #43216 (stream_is_local() returns false on "file://"). (Dmitry)
7798- Fixed bug #43201 (Crash on using uninitialized vals and __get/__set). (Dmitry)
7799- Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file truncation). (Ilia)
7800- Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault). (Dmitry)
7801- Fixed bug #43128 (Very long class name causes segfault). (Dmitry)
7802- Fixed bug #43105 (PHP seems to fail to close open files). (Hannes)
7803- Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL). (Jani)
7804- Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed using a timestamp). (Derick)
7805- Fixed bug #42978 (mismatch between number of bound params and values causes a crash in pdo_pgsql). (Ilia)
7806- Fixed bug #42945 (preg_split() swallows part of the string). (Nuno)
7807- Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class). (Dmitry)
7808- Fixed bug #42841 (REF CURSOR and oci_new_cursor() crash PHP). (Chris)
7809- Fixed bug #42838 (Wrong results in array_diff_uassoc) (Felipe)
7810- Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1 response). (Ilia)
7811- Fixed bug #42736 (xmlrpc_server_call_method() crashes). (Tony)
7812- Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer). (Dmitry)
7813- Fixed bug #42548 (mysqli PROCEDURE calls can't return result sets). (Hartmut)
7814- Fixed bug #42505 (new sendmail default breaks on Netware platform) (Guenter Knauf)
7815- Fixed bug #42369 (Implicit conversion to string leaks memory). (David C., Rob).
7816- Fixed bug #42272 (var_export() incorrectly escapes char(0)). (Derick)
7817- Fixed bug #42261 (Incorrect lengths for date and boolean data types). (Ilia)
7818- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator invalidates DateTimeZone). (Derick)
7819- Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...). (Felipe)
7820- Fixed bug #41941 (oci8 extension not lib64 savvy). (Chris)
7821- Fixed bug #41828 (Failing to call RecursiveIteratorIterator::__construct() causes a sefault). (Etienne)
7822- Fixed bug #41599 (setTime() fails after modify() is used). (Derick)
7823- Fixed bug #41562 (SimpleXML memory issue). (Rob)
7824- Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter Knauf)
7825- Fixed bug #38468 (Unexpected creation of cycle). (Dmitry)
7826- Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build) (stotty at tvnet dot hu)
7827
782808 Nov 2007, PHP 5.2.5
7829- Upgraded PCRE to version 7.3 (Nuno)
7830- Added optional parameter $provide_object to debug_backtrace(). (Sebastian)
7831- Added alpha support for imagefilter() IMG_FILTER_COLORIZE. (Pierre)
7832- Added ability to control memory consumption between request using
7833 ZEND_MM_COMPACT environment variable. (Dmitry)
7834
7835- Improved speed of array_intersect_key(), array_intersect_assoc(),
7836 array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and
7837 array_udiff_assoc(). (Dmitry)
7838
7839- Fixed move_uploaded_file() to always set file permissions of resulting file
7840 according to UMASK. (Andrew Sitnikov)
7841- Fixed possible crash in ext/soap because of uninitialized value. (Zdash Urf)
7842- Fixed regression in glob() when enforcing safe_mode/open_basedir checks on
7843 paths containing '*'. (Ilia)
7844- Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable
7845 in .htaccess due to the security implications - reported by SecurityReason.
7846 (Stas)
7847- Fixed PDO crash when driver returns empty LOB stream. (Stas)
7848- Fixed dl() to only accept filenames - reported by Laurent Gaffie. (Stas)
7849- Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887).
7850 (Christian Hoffmann)
7851- Fixed iconv_*() functions to limit argument sizes as workaround to libc
7852 bug (CVE-2007-4783, CVE-2007-4840 by Laurent Gaffie).
7853 (Christian Hoffmann, Stas)
7854- Fixed missing brackets leading to build warning and error in the log.
7855 Win32 code. (Andrey)
7856- Fixed leaks with multiple connects on one mysqli object. (Andrey)
7857- Fixed endianness detection on MacOS when building universal binary.
7858 (Uwe Schindler, Christian Speich, Tony)
7859- Fixed possible triggering of buffer overflows inside glibc
7860 implementations of the fnmatch(), setlocale() and glob() functions.
7861 Reported by Laurent Gaffie. (Ilia)
7862- Fixed imagerectangle regression with 1x1 rectangle (libgd #106). (Pierre)
7863- Fixed htmlentities/htmlspecialchars not to accept partial multibyte
7864 sequences. (Stas)
7865
7866- Fixed bug #43196 (array_intersect_assoc() crashes with non-array input).
7867 (Jani)
7868- Fixed bug #43139 (PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with
7869 fetchAll()). (Ilia)
7870- Fixed bug #43137 (rmdir() and rename() do not clear statcache). (Jani)
7871- Fixed bug #43130 (Bound parameters cannot have - in their name). (Ilia)
7872- Fixed bug #43099 (XMLWriter::endElement() does not check # of params).
7873 (Ilia)
7874- Fixed bug #43020 (Warning message is missing with shuffle() and more
7875 than one argument). (Scott)
7876- Fixed bug #42976 (Crash when constructor for newInstance() or
7877 newInstanceArgs() fails) (Ilia)
7878- Fixed bug #42943 (ext/mssql: Move *timeout initialization from RINIT
7879 to connect time). (Ilia)
7880- Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode).
7881 (Ilia)
7882- Fixed bug #42890 (Constant "LIST" defined by mysqlclient and c-client).
7883 (Andrey)
7884- Fixed bug #42869 (automatic session id insertion adds sessions id to
7885 non-local forms). (Ilia)
7886- Fixed bug #42818 ($foo = clone(array()); leaks memory). (Dmitry)
7887- Fixed bug #42817 (clone() on a non-object does not result in a fatal
7888 error). (Ilia)
7889- Fixed bug #42785 (json_encode() formats doubles according to locale rather
7890 then following standard syntax). (Ilia)
7891- Fixed bug #42783 (pg_insert() does not accept an empty list for
7892 insertion). (Ilia)
7893- Fixed bug #42773 (WSDL error causes HTTP 500 Response). (Dmitry)
7894- Fixed bug #42772 (Storing $this in a static var fails while handling a cast
7895 to string). (Dmitry)
7896- Fixed bug #42767 (highlight_string() truncates trailing comment). (Ilia)
7897- Fixed bug #42739 (mkdir() doesn't like a trailing slash when safe_mode is
7898 enabled). (Ilia)
7899- Fixed bug #42703 (Exception raised in an iterator::current() causes segfault
7900 in FilterIterator) (Marcus)
7901- Fixed bug #42699 (PHP_SELF duplicates path). (Dmitry)
7902- Fixed bug #42654 (RecursiveIteratorIterator modifies only part of leaves)
7903 (Marcus)
7904- Fixed bug #42643 (CLI segfaults if using ATTR_PERSISTENT). (Ilia)
7905- Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran)
7906- Fixed bug #42629 (Dynamically loaded PHP extensions need symbols exported
7907 on MacOSX). (jdolecek at NetBSD dot org)
7908- Fixed bug #42627 (bz2 extension fails to build with -fno-common).
7909 (dolecek at netbsd dot org)
7910- Fixed Bug #42596 (session.save_path MODE option does not work). (Ilia)
7911- Fixed bug #42590 (Make the engine recognize \v and \f escape sequences).
7912 (Ilia)
7913- Fixed bug #42587 (behavior change regarding symlinked .php files). (Dmitry)
7914- Fixed bug #42579 (apache_reset_timeout() does not exist). (Jani)
7915- Fixed bug #42549 (ext/mysql failed to compile with libmysql 3.23). (Scott)
7916- Fixed bug #42523 (PHP_SELF duplicates path). (Dmitry)
7917- Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
7918 64-bit PHP). (Derick)
7919- Fixed bug #42506 (php_pgsql_convert() timezone parse bug) (nonunnet at
7920 gmail dot com, Ilia)
7921- Fixed bug #42496 (OCI8 cursor is not closed when using 2 clobs in a select
7922 query). (Oracle Corp.)
7923- Fixed bug #42462 (Segmentation when trying to set an attribute in a
7924 DOMElement). (Rob)
7925- Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline
7926 options). (Dmitry)
7927- Fixed bug #42452 (PDO classes do not expose Reflection API information).
7928 (Hannes)
7929- Fixed bug #42468 (Write lock on file_get_contents fails when using a
7930 compression stream). (Ilia)
7931- Fixed bug #42488 (SoapServer reports an encoding error and the error itself
7932 breaks). (Dmitry)
7933- Fixed bug #42378 (mysqli_stmt_bind_result memory exhaustion). (Andrey)
7934- Fixed bug #42359 (xsd:list type not parsed). (Dmitry)
7935- Fixed bug #42326 (SoapServer crash). (Dmitry)
7936- Fixed bug #42214 (SoapServer sends clients internal PHP errors). (Dmitry)
7937- Fixed bug #42189 (xmlrpc_set_type() crashes php on invalid datetime
7938 values). (Ilia)
7939- Fixed bug #42139 (XMLReader option constants are broken using XML()). (Rob)
7940- Fixed bug #42086 (SoapServer return Procedure '' not present for WSIBasic
7941 compliant wsdl). (Dmitry)
7942- Fixed bug #41822 (Relative includes broken when getcwd() fails). (Ab5602,
7943 Jani)
7944- Fixed bug #41561 (Values set with php_admin_* in httpd.conf can be overwritten
7945 with ini_set()). (Stas, Jani)
7946- Fixed bug #39651 (proc_open() append mode doesn't work on windows). (Nuno)
7947
794830 Aug 2007, PHP 5.2.4
7949- Removed --enable-versioning configure option. (Jani)
7950
7951- Upgraded PCRE to version 7.2 (Nuno)
7952- Updated timezone database to version 2007.6. (Derick)
7953
7954- Improved openssl_x509_parse() to return extensions in readable form. (Dmitry)
7955
7956- Enabled changing the size of statement cache for non-persistent OCI8
7957 connections. (Chris Jones, Tony)
7958
7959- Changed "display_errors" php.ini option to accept "stderr" as value which
7960 makes the error messages to be outputted to STDERR instead of STDOUT with
7961 CGI and CLI SAPIs (FR #22839). (Jani)
7962- Changed error handler to send HTTP 500 instead of blank page on PHP errors.
7963 (Dmitry, Andrei Nigmatulin)
7964- Changed mail() function to be always available. (Johannes)
7965
7966- Added check for unknown options passed to configure. (Jani)
7967- Added persistent connection status checker to pdo_pgsql.
7968 (Elvis Pranskevichus, Ilia)
7969- Added support for ATTR_TIMEOUT inside pdo_pgsql driver. (Ilia)
7970- Added php_ini_loaded_file() function which returns the path to the actual
7971 php.ini in use. (Jani)
7972- Added GD version constants GD_MAJOR_VERSION, GD_MINOR_VERSION,
7973 GD_RELEASE_VERSION, GD_EXTRA_VERSION and GD_VERSION_STRING. (Pierre)
7974- Added missing open_basedir checks to CGI.
7975 (anight at eyelinkmedia dot com, Tony)
7976- Added missing format validator to unpack() function. (Ilia)
7977- Added missing error check inside bcpowmod(). (Ilia)
7978- Added CURLOPT_PRIVATE & CURLINFO_PRIVATE constants.
7979 (Andrey A. Belashkov, Tony)
7980- Added missing MSG_EOR and MSG_EOF constants to sockets extension. (Jani)
7981- Added PCRE_VERSION constant. (Tony)
7982- Added ReflectionExtension::info() function to print the phpinfo()
7983 block for an extension. (Johannes)
7984
7985- Implemented FR #41884 (ReflectionClass::getDefaultProperties() does not
7986 handle static attributes). (Tony)
7987
7988- Fixed "Floating point exception" inside wordwrap().
7989 (Mattias Bengtsson, Ilia)
7990- Fixed several integer overflows in ImageCreate(), ImageCreateTrueColor(),
7991 ImageCopyResampled() and ImageFilledPolygon() reported by Mattias Bengtsson.
7992 (Tony)
7993- Fixed size calculation in chunk_split(). (Stas)
7994- Fixed integer overflow in str[c]spn(). (Stas)
7995- Fixed money_format() not to accept multiple %i or %n tokens.
7996 (Stas, Ilia)
7997- Fixed zend_alter_ini_entry() memory_limit interruption
7998 vulnerability. (Ilia)
7999- Fixed INFILE LOCAL option handling with MySQL extensions not to be
8000 allowed when open_basedir or safe_mode is active. (Stas)
8001- Fixed session.save_path and error_log values to be checked against
8002 open_basedir and safe_mode (CVE-2007-3378) (Stas, Maksymilian Arciemowicz)
8003- Fixed possible invalid read in glob() win32 implementation (CVE-2007-3806).
8004 (Tony)
8005- Improved fix for MOPB-03-2007. (Ilia)
8006- Corrected fix for CVE-2007-2872. (Ilia)
8007
8008- Fixed possible crash in imagepsloadfont(), work around a bug in the pslib on
8009 Windows. (Pierre)
8010- Fixed oci8 and PDO_OCI extensions to allow configuring with Oracle 11g
8011 client libraries. (Chris Jones)
8012- Fixed EOF handling in case of reading from file opened in write only mode.
8013 (Dmitry)
8014- Fixed var_export() to use the new H modifier so that it can generate
8015 parseable PHP code for floats, independent of the locale. (Derick)
8016- Fixed regression introduced by the fix for the libgd bug #74. (Pierre)
8017- Fixed SimpleXML's behavior when used with empty(). (Sara)
8018- Fixed crash in OpenSSL extension because of non-string passphrase. (Dmitry)
8019
8020- Fixed PECL Bug #11345 (PDO_OCI crash after National language Support "NLS"
8021 environment initialization error). (Chris Jones)
8022- Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory
8023 already exists). (Pierre)
8024
8025- Fixed bug #43926 (isInstance() isn't equivalent to instanceof operator). (Marcus)
8026- Fixed bug #42368 (Incorrect error message displayed by pg_escape_string).
8027 (Ilia)
8028- Fixed bug #42365 (glob() crashes and/or accepts way too many flags).
8029 (Jani)
8030- Fixed Bug #42364 (Crash when using getRealPath with DirectoryIterator).
8031 (Johannes)
8032- Fixed bug #42292 ($PHP_CONFIG not set for phpized builds). (Jani)
8033- Fixed bug #42261 (header wrong for date field).
8034 (roberto at spadim dot com dot br, Ilia)
8035- Fixed bug #42259 (SimpleXMLIterator loses ancestry). (Rob)
8036- Fixed bug #42247 (ldap_parse_result() not defined under win32). (Jani)
8037- Fixed bug #42243 (copy() does not output an error when the first arg is a
8038 dir). (Ilia)
8039- Fixed bug #42242 (sybase_connect() crashes). (Ilia)
8040- Fixed bug #42237 (stream_copy_to_stream returns invalid values for mmaped
8041 streams). (andrew dot minerd at sellingsource dot com, Ilia)
8042- Fixed bug #42233 (Problems with ������ in extract()). (Jani)
8043- Fixed bug #42222 (possible buffer overflow in php_openssl_make_REQ). (Pierre)
8044- Fixed bug #42211 (property_exists() fails to find protected properties
8045 from a parent class). (Dmitry)
8046- Fixed bug #42208 (substr_replace() crashes when the same array is passed
8047 more than once). (crrodriguez at suse dot de, Ilia)
8048- Fixed bug #42198 (SCRIPT_NAME and PHP_SELF truncated when inside a userdir
8049 and using PATH_INFO). (Dmitry)
8050- Fixed bug #42195 (C++ compiler required always). (Jani)
8051- Fixed bug #42183 (classmap causes crash in non-wsdl mode). (Dmitry)
8052- Fixed bug #42173 (oci8 INTERVAL and TIMESTAMP type fixes). (Chris)
8053- Fixed bug #42151 (__destruct functions not called after catching a SoapFault
8054 exception). (Dmitry)
8055- Fixed bug #42142 (substr_replace() returns FALSE when length > string length).
8056 (Ilia)
8057- Fixed bug #42135 (Second call of session_start() causes creation of SID).
8058 (Ilia)
8059- Fixed bug #42134 (oci_error() returns false after oci_new_collection() fails).
8060 (Tony)
8061- Fixed bug #42119 (array_push($arr,&$obj) doesn't work with
8062 zend.ze1_compatibility_mode On). (Dmitry)
8063- Fixed bug #42117 (bzip2.compress loses data in internal buffer).
8064 (Philip, Ilia)
8065- Fixed bug #42112 (deleting a node produces memory corruption). (Rob)
8066- Fixed bug #42107 (sscanf broken when using %2$s format parameters). (Jani)
8067- Fixed bug #42090 (json_decode causes segmentation fault). (Hannes)
8068- Fixed bug #42082 (NodeList length zero should be empty). (Hannes)
8069- Fixed bug #42072 (No warning message for clearstatcache() with arguments).
8070 (Ilia)
8071- Fixed bug #42071 (ini scanner allows using NULL as option name). (Jani)
8072- Fixed bug #42027 (is_file() / is_dir() matches file/dirnames with wildcard char
8073 or trailing slash in Windows). (Dmitry)
8074- Fixed bug #42019 (configure option --with-adabas=DIR does not work). (Jani)
8075- Fixed bug #42015 (ldap_rename(): server error "DSA is unwilling to perform").
8076 (bob at mroczka dot com, Jani)
8077- Fixed bug #42009 (is_a() and is_subclass_of() should NOT call autoload, in the
8078 same way as "instanceof" operator). (Dmitry)
8079- Fixed bug #41989 (move_uploaded_file() & relative path in ZTS mode). (Tony)
8080- Fixed bug #41984 (Hangs on large SoapClient requests). (Dmitry)
8081- Fixed bug #41983 (Error Fetching http headers terminated by '\n'). (Dmitry)
8082- Fixed bug #41973 (--with-ldap=shared fails with LDFLAGS="-Wl,--as-needed"). (Nuno)
8083- Fixed bug #41971 (PDOStatement::fetch and PDOStatement::setFetchMode causes
8084 unexpected behavior). (Ilia)
8085- Fixed bug #41964 (strtotime returns a timestamp for non-time string of
8086 pattern '(A|a) .+'). (Derick)
8087- Fixed bug #41961 (Ensure search for hidden private methods does not stray from
8088 class hierarchy). (robin_fernandes at uk dot ibm dot com)
8089- Fixed bug #41947 (SimpleXML incorrectly registers empty strings asnamespaces).
8090 (Rob)
8091- Fixed bug #41929 (Foreach on object does not iterate over all visible properties).
8092 (Dmitry)
8093- Fixed bug #41919 (crash in string to array conversion).
8094 (judas dot iscariote at gmail dot com, Ilia)
8095- Fixed bug #41909 (var_export() is locale sensitive when exporting float
8096 values). (Derick)
8097- Fixed bug #41908 (CFLAGS="-Os" ./configure --enable-debug fails).
8098 (christian at hoffie dot info, Tony)
8099- Fixed bug #41904 (proc_open(): empty env array should cause empty environment
8100 to be passed to process). (Jani)
8101- Fixed bug #41867 (SimpleXML: getName is broken). (Rob)
8102- Fixed bug #41865 (fputcsv(): 2nd parameter is not optional). (Jani)
8103- Fixed bug #41861 (SimpleXML: getNamespaces() returns the namespaces of a node's
8104 siblings). (Rob)
8105- Fixed bug #41845 (pgsql extension does not compile with PostgreSQL <7.4). (Ilia)
8106- Fixed bug #41844 (Format returns incorrect number of digits for negative years
8107 -0001 to -0999). (Derick)
8108- Fixed bug #41842 (Cannot create years < 0100 & negative years with date_create
8109 or new DateTime). (Derick)
8110- Fixed bug #41833 (addChild() on a non-existent node, no node created,
8111 getName() segfaults). (Rob)
8112- Fixed bug #41831 (pdo_sqlite prepared statements convert resources to
8113 strings). (Ilia)
8114- Fixed bug #41815 (Concurrent read/write fails when EOF is reached). (Sascha)
8115- Fixed bug #41813 (segmentation fault when using string offset as an object).
8116 (judas dot iscariote at gmail dot com, Tony)
8117- Fixed bug #41795 (checkdnsrr does not support DNS_TXT type).
8118 (lucas at facebook dot com, Tony)
8119- Fixed bug #41773 (php_strip_whitespace() sends headers with errors
8120 suppressed). (Tony)
8121- Fixed bug #41770 (SSL: fatal protocol error due to buffer issues). (Ilia)
8122- Fixed bug #41765 (Recode crashes/does not work on amd64).
8123 (nexus at smoula dot net, Stas)
8124- Fixed bug #41724 (libxml_get_last_error() - errors service request scope).
8125 (thekid at php dot net, Ilia)
8126- Fixed bug #41717 (imagepolygon does not respect thickness). (Pierre)
8127- Fixed bug #41713 (Persistent memory consumption on win32 since 5.2). (Dmitry)
8128- Fixed bug #41711 (NULL temporary lobs not supported in OCI8).
8129 (Chris Jones, Tony)
8130- Fixed bug #41709 (strtotime() does not handle 00.00.0000). (Derick)
8131- Fixed bug #41698 (float parameters truncated to integer in prepared
8132 statements). (Ilia)
8133- Fixed bug #41692 (ArrayObject shows weird behavior in respect to
8134 inheritance). (Tony)
8135- Fixed bug #41691 (ArrayObject::exchangeArray hangs Apache). (Tony)
8136- Fixed bug #41686 (Omitting length param in array_slice not possible). (Ilia)
8137- Fixed bug #41685 (array_push() fails to warn when next index is
8138 already occupied). (Ilia)
8139- Fixed bug #41655 (open_basedir bypass via glob()). (Ilia)
8140- Fixed bug #41640 (get_class_vars produces error on class constants).
8141 (Johannes)
8142- Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI
8143 result in major slowdown). (Dmitry)
8144- Fixed bug #41633 (Crash instantiating classes with self-referencing
8145 constants). (Dmitry)
8146- Fixed bug #41630 (segfault when an invalid color index is present in the
8147 image data). (Reported by Elliot <wccoder@gmail dot com>) (Pierre)
8148- Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3).
8149 (Scott, manuel at mausz dot at)
8150- Fixed bug #41608 (segfault on a weird code with objects and switch()).
8151 (Tony)
8152- Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags).
8153 (Ilia)
8154- Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed
8155 SQL queries). (Ilia)
8156- Fixed bug #41594 (OCI8 statement cache is flushed too frequently). (Tony)
8157- Fixed bug #41582 (SimpleXML crashes when accessing newly created element).
8158 (Tony)
8159- Fixed bug #41576 (configure failure when using --without-apxs or some other
8160 SAPIs disabling options). (Jani)
8161- Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP).
8162 (Lucas, Ilia)
8163- Fixed bug #41566 (SOAP Server not properly generating href attributes).
8164 (Dmitry)
8165- Fixed bug #41555 (configure failure: regression caused by fix for #41265).
8166 (Jani)
8167- Fixed bug #41527 (WDDX deserialize numeric string array key).
8168 (Matt, Ilia)
8169- Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30).
8170 (Derick)
8171- Fixed bug #41518 (file_exists() warns of open_basedir restriction on
8172 non-existent file). (Tony)
8173- Fixed bug #41445 (parse_ini_file() has a problem with certain types of
8174 integer as sections). (Tony)
8175- Fixed bug #41433 (DBA: configure fails to include correct db.h for db4).
8176 (Jani)
8177- Fixed bug #41372 (Internal pointer of source array resets during array
8178 copying). (Dmitry)
8179- Fixed bug #41350 (my_thread_global_end() error during request shutdown on
8180 Windows). (Scott, Andrey)
8181- Fixed bug #41278 (get_loaded_extensions() should list Zend extensions).
8182 (Johannes)
8183- Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions).
8184 (Jani)
8185- Fixed bug #40757 (get_object_vars get nothing in child class). (Dmitry)
8186- Fixed bug #40705 (Iterating within function moves original array pointer).
8187 (Dmitry)
8188- Fixed bug #40509 (key() function changed behaviour if global array is used
8189 within function). (Dmitry)
8190- Fixed bug #40419 (Trailing slash in CGI request does not work). (Dmitry)
8191- Fixed bug #39330 (apache2handler does not call shutdown actions before
8192 apache child die). (isk at ecommerce dot com, Gopal, Tony)
8193- Fixed bug #39291 (ldap_sasl_bind() misses the sasl_authc_id parameter).
8194 (diafour at gmail dot com, Jani)
8195- Fixed bug #37715 (array pointers resetting on copy). (Dmitry)
8196- Fixed bug #37273 (Symlinks and mod_files session handler allow open_basedir
8197 bypass). (Ilia)
8198- Fixed bug #36492 (Userfilters can leak buckets). (Sara)
8199- Fixed bugs #36796, #36918, #41371 (stream_set_blocking() does not work).
8200 (Jani)
8201- Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present).
8202 (Jani)
8203- Fixed bug #31892 (PHP_SELF incorrect without cgi.fix_pathinfo, but turning on
8204 screws up PATH_INFO). (Dmitry)
8205- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ).
8206 (Nuno, Jani)
8207
820831 May 2007, PHP 5.2.3
8209- Changed CGI install target to php-cgi and 'make install' to install CLI
8210 when CGI is selected. (Jani)
8211- Changed JSON maximum nesting depth from 20 to 128. (Rasmus)
8212
8213- Improved compilation of heredocs and interpolated strings. (Matt, Dmitry)
8214- Optimized out a couple of per-request syscalls. (Rasmus)
8215- Optimized digest generation in md5() and sha1() functions. (Ilia)
8216- Upgraded bundled SQLite 3 to version 3.3.17. (Ilia)
8217
8218- Added "max_input_nesting_level" php.ini option to limit nesting level of
8219 input variables. Fix for MOPB-03-2007. (Stas)
8220- Added a 4th parameter flag to htmlspecialchars() and htmlentities() that
8221 makes the function not encode existing html entities. (Ilia)
8222- Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set into
8223 an associated array. (Ilia)
8224- Added CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS cURL constants. (Sara)
8225- Added --ini switch to CLI that prints out configuration file names. (Marcus)
8226- Added mysql_set_charset() to allow runtime altering of connection encoding.
8227 (Scott)
8228
8229- Implemented FR #41416 (getColumnMeta() should also return table name). (Tony)
8230
8231- Fixed an integer overflow inside chunk_split(). Identified by Gerhard Wagner.
8232 (Ilia)
8233- Fixed SOAP extension's handler() to work even when
8234 "always_populate_raw_post_data" is off. (Ilia)
8235- Fixed possible infinite loop in imagecreatefrompng. (libgd #86)
8236 (by Xavier Roche, CVE-2007-2756). (Pierre)
8237- Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser).
8238 (Ilia)
8239- Fixed altering $this via argument named "this". (Dmitry)
8240- Fixed PHP CLI usage of php.ini from the binary location. (Hannes)
8241- Fixed segfault in strripos(). (Tony, Joxean Koret)
8242- Fixed bug #41693 (scandir() allows empty directory names). (Ilia)
8243- Fixed bug #41673 (json_encode breaks large numbers in arrays). (Ilia)
8244- Fixed bug #41525 (ReflectionParameter::getPosition() not available). (Marcus)
8245- Fixed bug #41511 (Compile failure under IRIX 6.5.30 building md5.c). (Jani)
8246- Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty
8247 string keys). (Ilia)
8248- Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()). (Ilia)
8249- Fixed bug #41477 (no arginfo about SoapClient::__soapCall()). (Ilia)
8250- Fixed bug #41455 (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS).
8251 (mmarek at suse dot cz, Tony)
8252- Fixed bug #41442 (imagegd2() under output control). (Tony)
8253- Fixed bug #41430 (Fatal error with negative values of maxlen parameter of
8254 file_get_contents()). (Tony)
8255- Fixed bug #41423 (PHP assumes wrongly that certain ciphers are enabled in
8256 OpenSSL). (Pierre)
8257- Fixed bug #41421 (Uncaught exception from a stream wrapper segfaults).
8258 (Tony, Dmitry)
8259- Fixed bug #41403 (json_decode cannot decode floats if localeconv
8260 decimal_point is not '.'). (Tony)
8261- Fixed bug #41401 (wrong unary operator precedence). (Stas)
8262- Fixed bug #41394 (dbase_create creates file with corrupted header). (Tony)
8263- Fixed bug #41390 (Clarify error message with invalid protocol scheme).
8264 (Scott)
8265- Fixed bug #41378 (fastcgi protocol lacks support for Reason-Phrase in
8266 "Status:" header). (anight at eyelinkmedia dot com, Dmitry)
8267- Fixed bug #41374 (whole text concats values of wrong nodes). (Rob)
8268- Fixed bug #41358 (configure cannot determine SSL lib with libcurl >= 7.16.2).
8269 (Mike)
8270- Fixed bug #41353 (crash in openssl_pkcs12_read() on invalid input). (Ilia)
8271- Fixed bug #41351 (Invalid opcode with foreach ($a[] as $b)). (Dmitry, Tony)
8272- Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). (Scott)
8273- Fixed bug #41337 (WSDL parsing doesn't ignore non soap bindings). (Dmitry)
8274- Fixed bug #41326 (Writing empty tags with Xmlwriter::WriteElement[ns])
8275 (Pierre)
8276- Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE).
8277 (Ilia)
8278- Fixed bug #41304 (compress.zlib temp files left). (Dmitry)
8279- Fixed bug #41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no
8280 default post handler). (Ilia)
8281- Fixed bug #41291 (FastCGI does not set SO_REUSEADDR).
8282 (fmajid at kefta dot com, Dmitry)
8283- Fixed gd build when used with freetype 1.x (Pierre, Tony)
8284- Fixed bug #41287 (Namespace functions don't allow xmlns definition to be
8285 optional). (Rob)
8286- Fixed bug #41285 (Improved fix for CVE-2007-1887 to work with non-bundled
8287 sqlite2 lib). (Ilia)
8288- Fixed bug #41283 (Bug with deserializing array key that are doubles or
8289 floats in wddx). (Ilia)
8290- Fixed bug #41257 (lookupNamespaceURI does not work as expected). (Rob)
8291- Fixed bug #41236 (Regression in timeout handling of non-blocking SSL
8292 connections during reads and writes). (Ilia)
8293- Fixed bug #41134 (zend_ts_hash_clean not thread-safe).
8294 (marco dot cova at gmail dot com, Tony)
8295- Fixed bug #41097 (ext/soap returning associative array as indexed without
8296 using WSDL). (Dmitry)
8297- Fixed bug #41004 (minOccurs="0" and null class member variable). (Dmitry)
8298- Fixed bug #39542 (Behavior of require/include different to < 5.2.0).
8299 (Dmitry)
8300
830103 May 2007, PHP 5.2.2
8302- Improved bundled GD
8303 . Sync to 2.0.35
8304 . Added imagegrabwindow and imagegrabscreen, capture a screen or a
8305 window using its handle (Pierre)
8306 . colors allocated henceforth from the resulting image overwrite the palette
8307 colors (Rob Leslie)
8308 . Improved thread safety of the gif support (Roman Nemecek, Nuno, Pierre)
8309 . Use the dimension of the GIF frame to create the destination image (Pierre)
8310 . Load only once the local color map from a GIF data (Pierre)
8311 . Improved thread safety of the freetype cache (Scott MacVicar, Nuno, Pierre)
8312 . imagearc huge CPU usage with large angles, libgd bug #74 (Pierre)
8313- Improved FastCGI SAPI to support external pipe and socket servers on win32.
8314 (Dmitry)
8315- Improved Zend Memory Manager
8316 . guarantee of reasonable time for worst cases of best-fit free block
8317 searching algorithm. (Dmitry)
8318 . better cache usage and less fragmentation on erealloc() (Tony, Dmitry)
8319- Improved SPL (Marcus)
8320 . Added SplFileInfo::getBasename(), DirectoryIterator::getBasename().
8321 . Added SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath().
8322 . Made RecursiveFilterIterator::accept() abstract as stated in documentation.
8323- Improved SOAP
8324 . Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL
8325 type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE
8326 option in SoapClient/SoapServer constructors. (Rob, Dmitry)
8327
8328- Added GMP_VERSION constant. (Tony)
8329- Added --ri switch to CLI which allows to check extension information. (Marcus)
8330- Added tidyNode::getParent() method (John, Nuno)
8331- Added openbasedir and safemode checks in zip:// stream wrapper and
8332 ZipArchive::open (Pierre)
8333- Added php_pdo_sqlite_external.dll, a version of the PDO SQLite driver that
8334 links against an external sqlite3.dll. This provides Windows users to upgrade
8335 their sqlite3 version outside of the PHP release cycle. (Wez, Edin)
8336- Added linenumbers to array returned by token_get_all(). (Johannes)
8337
8338- Upgraded SQLite 3 to version 3.3.16 (Ilia)
8339- Upgraded libraries bundled in the Windows distribution. (Edin)
8340 . c-client (imap) to version 2006e
8341 . libpq (PostgreSQL) to version 8.2.3
8342 . libmysql (MySQL) to version 5.0.37
8343 . openssl to version 0.9.8e
8344- Upgraded PCRE to version 7.0 (Nuno)
8345
8346- Updated timezone database to version 2007.5. (Derick)
8347
8348- Fixed commandline handling for CLI and CGI. (Marcus, Johannes)
8349- Fixed iterator_apply() with a callback using __call(). (Johannes)
8350- Fixed possible multi bytes issues in openssl csr parser (Pierre)
8351- Fixed shmop_open() with IPC_CREAT|IPC_EXCL flags on Windows.
8352 (Vladimir Kamaev, Tony).
8353- Fixed possible leak in ZipArchive::extractTo when safemode checks fails (Ilia)
8354- Fixed possible relative path issues in zip_open and TS mode (old API) (Pierre)
8355- Fixed zend_llist_remove_tail (Michael Wallner, Dmitry)
8356- Fixed a thread safety issue in gd gif read code (Nuno, Roman Nemecek)
8357- Fixed CVE-2007-1001, GD wbmp used with invalid image size (Pierre)
8358- Fixed unallocated memory access/double free in in array_user_key_compare()
8359 (MOPB-24 by Stefan Esser) (Stas)
8360- Fixed wrong length calculation in unserialize S type
8361 (MOPB-29 by Stefan Esser) (Stas)
8362
8363- Fixed bug #41215 (setAttribute return code reversed). (Ilia)
8364- Fixed bug #41192 (Per Directory Values only work for one key). (Dmitry)
8365- Fixed bug #41175 (addAttribute() fails to add an attribute with an empty
8366 value). (Ilia)
8367- Fixed bug #41159 (mysql_pconnect() hash does not account for connect
8368 flags). (Ilia)
8369- Fixed bug #41121 (range() overflow handling for large numbers on 32bit
8370 machines). (Ilia)
8371- Fixed bug #41118 (PHP does not handle overflow of octal integers). (Tony)
8372- Fixed bug #41109 (recursiveiterator.inc says "implements" Iterator instead of
8373 "extends"). (Marcus)
8374- Fixed bug #40130 (TTF usage doesn't work properly under Netware). (Scott,
8375 gk at gknw dot de)
8376- Fixed bug #41093 (magic_quotes_gpc ignores first arrays keys). (Arpad, Ilia)
8377- Fixed bug #41075 (memleak when creating default object caused exception).
8378 (Dmitry)
8379- Fixed bug #41067 (json_encode() problem with UTF-16 input). (jp at df5ea
8380 dot net. Ilia)
8381- Fixed bug #41063 (chdir doesn't like root paths). (Dmitry)
8382- Fixed bug #41061 ("visibility error" in ReflectionFunction::export()).
8383 (Johannes)
8384- Fixed bug #41043 (pdo_oci crash when freeing error text with persistent
8385 connection). (Tony)
8386- Fixed bug #41037 (unregister_tick_function() inside the tick function crash PHP).
8387 (Tony)
8388- Fixed bug #41034 (json_encode() ignores null byte started keys in arrays).
8389 (Ilia)
8390- Fixed bug #41026 (segfault when calling "self::method()" in shutdown functions).
8391 (Tony)
8392- Fixed bug #40999 (mcrypt_create_iv() not using random seed). (Ilia)
8393- Fixed bug #40998 (long session array keys are truncated). (Tony)
8394- Implement feature request #40947, allow a single filter as argument
8395 for filter_var_array (Pierre)
8396- Fixed bug #40935 (pdo_mysql does not raise an exception on empty
8397 fetchAll()). (Ilia)
8398- Fixed bug #40931 (open_basedir bypass via symlink and move_uploaded_file()).
8399 (Tony)
8400- Fixed bug #40921 (php_default_post_reader crashes when post_max_size is
8401 exceeded). (trickie at gmail dot com, Ilia)
8402- Fixed bug #40915 (addcslashes unexpected behavior with binary input). (Tony)
8403- Fixed bug #40899 (memory leak when nesting list()). (Dmitry)
8404- Fixed bug #40897 (error_log file not locked). (Ilia)
8405- Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony)
8406- Fixed bug #40872 (inconsistency in offsetSet, offsetExists treatment of
8407 string enclosed integers). (Marcus)
8408- Fixed bug #40861 (strtotime() doesn't handle double negative relative time
8409 units correctly). (Derick, Ilia)
8410- Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for
8411 multipart e-mails). (Ilia)
8412- Fixed bug #40848 (sorting issue on 64-bit Solaris). (Wez)
8413- Fixed bug #40836 (Segfault in ext/dom). (Rob)
8414- Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved
8415 via __get()). (Dmitry)
8416- Fixed bug #40822 (pdo_mysql does not return rowCount() on select). (Ilia)
8417- Fixed bug #40815 (using strings like "class::func" and static methods in
8418 set_exception_handler() might result in crash). (Tony)
8419- Fixed bug #40809 (Poor performance of ".="). (Dmitry)
8420- Fixed bug #40805 (Failure executing function ibase_execute()). (Tony)
8421- Fixed bug #40800 (cannot disable memory_limit with -1). (Dmitry, Tony)
8422- Fixed bug #40794 (ReflectionObject::getValues() may crash when used with
8423 dynamic properties). (Tony)
8424- Fixed bug #40784 (Case sensitivity in constructor's fallback). (Tony)
8425- Fixed bug #40770 (Apache child exits when PHP memory limit reached). (Dmitry)
8426- Fixed bug #40764 (line thickness not respected for horizontal and vertical
8427 lines). (Pierre)
8428- Fixed bug #40758 (Test fcgi_is_fastcgi() is wrong on windows). (Dmitry)
8429- Fixed bug #40754 (added substr() & substr_replace() overflow checks). (Ilia)
8430- Fixed bug #40752 (parse_ini_file() segfaults when a scalar setting is
8431 redeclared as an array). (Tony)
8432- Fixed bug #40750 (openssl stream wrapper ignores default_stream_timeout).
8433 (Tony)
8434- Fixed bug #40727 (segfault in PDO when failed to bind parameters). (Tony)
8435- Fixed bug #40709 (array_reduce() behaves strange with one item stored arrays).
8436 (Ilia)
8437- Fixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc
8438 and MySQL's NDB table handler). (Ilia)
8439- Fixed bug #40961 (Incorrect results of DateTime equality check). (Mike)
8440- Fixed bug #40678 (Cross compilation fails). (Tony)
8441- Fixed bug #40621 (Crash when constructor called inappropriately). (Tony)
8442- Fixed bug #40609 (Segfaults when using more than one SoapVar in a request).
8443 (Rob, Dmitry)
8444- Fixed bug #40606 (umask is not being restored when request is finished).
8445 (Tony)
8446- Fixed bug #40598 (libxml segfault). (Rob)
8447- Fixed bug #40591 (list()="string"; gives invalid opcode). (Dmitry)
8448- Fixed bug #40578 (imagettftext() multithreading issue). (Tony, Pierre)
8449- Fixed bug #40576 (double values are truncated to 6 decimal digits when
8450 encoding). (Tony)
8451- Fixed bug #40560 (DIR functions do not work on root UNC path). (Dmitry)
8452- Fixed bug #40548 (SplFileInfo::getOwner/getGroup give a warning on broken
8453 symlink). (Marcus)
8454- Fixed bug #40546 (SplFileInfo::getPathInfo() throws an exception if directory
8455 is in root dir). (Marcus)
8456- Fixed bug #40545 (multithreading issue in zend_strtod()). (Tony)
8457- Fixed bug #40503 (json_encode() value corruption on 32bit systems with
8458 overflown values). (Ilia)
8459- Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice
8460 include minOccurs=0). (Dmitry)
8461- Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump).
8462 (wharmby at uk dot ibm dot com, Ilia)
8463- Fixed bug #40464 (session.save_path wont use default-value when safe_mode
8464 or open_basedir is enabled). (Ilia)
8465- Fixed bug #40455 (proc_open() uses wrong command line when safe_mode_exec_dir
8466 is set). (Tony)
8467- Fixed bug #40432 (strip_tags() fails with greater than in attribute). (Ilia)
8468- Fixed bug #40431 (dynamic properties may cause crash in ReflectionProperty
8469 methods). (Tony)
8470- Fixed bug #40451 (addAttribute() may crash when used with non-existent child
8471 node). (Tony)
8472- Fixed bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0).
8473 (olivier at elma dot fr, Marcus)
8474- Fixed bug #40428 (imagepstext() doesn't accept optional parameter). (Pierre)
8475- Fixed bug #40417 (Allow multiple instances of the same named PDO token in
8476 prepared statement emulation code). (Ilia)
8477- Fixed bug #40414 (possible endless fork() loop when running fastcgi).
8478 (Dmitry)
8479- Fixed bug #40410 (ext/posix does not compile on MacOS 10.3.9). (Tony)
8480- Fixed bug #40392 (memory leaks in PHP milter SAPI).
8481 (tuxracer69 at gmail dot com, Tony)
8482- Fixed bug #40371 (pg_client_encoding() not working on Windows). (Edin)
8483- Fixed bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost). (Dmitry)
8484- Fixed bug #40290 (strtotime() returns unexpected result with particular
8485 timezone offset). (Derick)
8486- Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when
8487 parent is killed). (Dmitry)
8488- Fixed bug #40261 (Extremely slow data handling due to memory fragmentation).
8489 (Dmitry)
8490- Fixed bug #40236 (php -a function allocation eats memory). (Dmitry)
8491- Fixed bug #40109 (iptcembed fails on non-jfif jpegs). (Tony)
8492- Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()).
8493 (Derick)
8494- Implement #39867 (openssl PKCS#12 support) (Marc Delling, Pierre)
8495- Fixed bug #39836 (SplObjectStorage empty after unserialize). (Marcus)
8496- Fixed bug #39416 (Milliseconds in date()). (Derick)
8497- Fixed bug #39396 (stream_set_blocking crashes on Win32). (Ilia, maurice at
8498 iceblog dot de)
8499- Fixed bug #39351 (relative include fails on Solaris). (Dmitry, Tony)
8500- Fixed bug #39322 (proc_terminate() destroys process resource). (Nuno)
8501- Fixed bug #38406 (crash when assigning objects to SimpleXML attributes). (Tony)
8502- Fixed bug #37799 (ftp_ssl_connect() falls back to non-ssl connection). (Nuno)
8503- Fixed bug #36496 (SSL support in imap_open() not working on Windows). (Edin)
8504- Fixed bug #36226 (Inconsistent handling when passing nillable arrays).
8505 (Dmitry)
8506- Fixed bug #35872 (Avoid crash caused by object store being referenced during
8507 RSHUTDOWN). (Andy)
8508- Fixed bug #34794 (proc_close() hangs when used with two processes).
8509 (jdolecek at netbsd dot org, Nuno)
8510- Fixed PECL bug #10194 (crash in Oracle client when memory limit reached in
8511 the callback). (Tony)
8512- Fixed substr_compare and substr_count information leak (MOPB-14) (Stas, Ilia)
8513- Fixed crash on op-assign where argument is string offset (Brian, Stas)
8514- Fixed bug #38710 (data leakage because of nonexisting boundary checking in
8515 statements in mysqli) (Stas)
8516- Fixed bug #37386 (autocreating element doesn't assign value to first node).
8517 (Rob)
8518- Fixed bug #37013 (server hangs when returning circular object references).
8519 (Dmitry)
8520- Fixed bug #33664 Console window appears when using exec()
8521 (Richard Quadling, Stas)
8522
8523
852408 Feb 2007, PHP 5.2.1
8525- Added read-timeout context option "timeout" for HTTP streams. (Hannes, Ilia).
8526- Added CURLOPT_TCP_NODELAY constant to Curl extension. (Sara)
8527- Added support for hex numbers of any size. (Matt)
8528- Added function stream_socket_shutdown(). It is a wrapper for system
8529 shutdown() function, that shut downs part of a full-duplex connection.
8530 (Dmitry)
8531- Added internal heap protection (Dmitry)
8532 . memory-limit is always enabled (--enable-memory-limit removed)
8533 . default value if memory-limit is set to 128M
8534 . safe unlinking
8535 . cookies
8536 . canary protection (debug build only)
8537 . random generation of cookies and canaries
8538- Added forward support for 'b' prefix in front of string literals. (Andrei)
8539- Added three new functions to ext/xmlwriter (Rob, Ilia)
8540 . xmlwriter_start_dtd_entity()
8541 . xmlwriter_end_dtd_entity()
8542 . xmlwriter_write_dtd_entity()
8543- Added a meta tag to phpinfo() output to prevent search engines from indexing
8544 the page. (Ilia)
8545- Added new function, sys_get_temp_dir(). (Hartmut)
8546- Added missing object support to file_put_contents(). (Ilia)
8547- Added support for md2, ripemd256 and ripemd320 algos to hash(). (Sara)
8548- Added forward support for (binary) cast. (Derick)
8549- Added optimization for imageline with horizontal and vertical lines (Pierre)
8550
8551- Removed dependency from SHELL32.DLL. (Dmitry)
8552- Removed double "wrong parameter count" warnings in various functions.
8553 (Hannes)
8554- Moved extensions to PECL:
8555 . ext/informix (Derick, Tony)
8556
8557- Changed double-to-string utilities to use BSD implementation. (Dmitry, Tony)
8558- Updated bundled libcURL to version 7.16.0 in the Windows distro. (Edin)
8559- Updated timezone database to version 2006.16. (Derick)
8560- cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive
8561 cgi.check_shebang_line can be used to omitting check for "#! /usr/bin/php"
8562 line. (Dmitry).
8563- Improved proc_open(). Now on Windows it can run external commands not
8564 through CMD.EXE. (Dmitry)
8565- VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR.
8566 (Dmitry)
8567- ext/bcmath initialization code is moved from request startup to module
8568 startup. (Dmitry)
8569- Zend Memory Manager Improvements (Dmitry)
8570 . use HeapAlloc() instead of VirtualAlloc()
8571 . use "win32" storage manager (instead of "malloc") on Windows by default
8572- Zip Extension Improvements (Pierre)
8573 . Fixed leak in statName and stateIndex
8574 . Fixed return setComment (Hannes)
8575 . Added addEmptyDir method
8576- Filter Extension Improvements (Ilia, Pierre)
8577 . Fixed a bug when callback function returns a non-modified value.
8578 . Added filter support for $_SERVER in cgi/apache2 sapis.
8579 . Make sure PHP_SELF is filtered in Apache 1 sapi.
8580 . Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to
8581 php_filter.h).
8582 . Added "default" option that allows a default value to be set for an
8583 invalid or missing value.
8584 . Invalid filters fails instead of returning unsafe value
8585 . Fixed possible double encoding problem with sanitizing filters
8586 . Make use of space-strict strip_tags() function
8587 . Fixed whitespace trimming
8588 . Added support for FastCGI environment variables. (Dmitry)
8589- PDO_MySQL Extension Improvements (Ilia)
8590 . Enabled buffered queries by default.
8591 . Enabled prepared statement emulation by default.
8592
8593- Small optimization of the date() function. (Matt,Ilia)
8594- Optimized the internal is_numeric_string() function. (Matt,Ilia)
8595- Optimized array functions utilizing php_splice(). (Ilia)
8596- Windows related optimizations (Dmitry, Stas)
8597 . COM initialization/deinitialization are done only if necessary
8598 . removed unnecessary checks for ISREG file and corresponding stat() calls
8599 . opendir() is reimplementation using GetFistFile/GetNextFile those are
8600 faster then _findfirst/_findnext
8601 . implemented registry cache that prevent registry lookup on each request.
8602 In case of modification of corresponding registry-tree PHP will reload it
8603 automatic
8604 . start timeout thread only if necessary
8605 . stat() is reimplementation using GetFileAttributesEx(). The new
8606 implementation is faster then implementation in MS VC CRT, but it doesn't
8607 support Windows 95.
8608- Streams optimization (Dmitry)
8609 . removed unnecessary ftell() calls (one call for each included PHP file)
8610 . disabled calls to read() after EOF
8611
8612- Fixed incorrect function names on FreeBSD where inet_pton() was named
8613 __inet_pton() and inet_ntop() was named __inet_ntop(). (Hannes)
8614- Fixed FastCGI impersonation for persistent connections on Windows. (Dmitry)
8615- Fixed wrong signature initialization in imagepng (Takeshi Abe)
8616- Fixed ftruncate() with negative size on FreeBSD. (Hannes)
8617- Fixed segfault in RegexIterator when given invalid regex. (Hannes)
8618- Fixed segfault in SplFileObject->openFile()->getPathname(). (Hannes)
8619- Fixed segfault in ZTS mode when OCI8 statements containing sub-statements
8620 are destroyed in wrong order. (Tony)
8621- Fixed the validate email filter so that the letter "v" can also be used in
8622 the user part of the email address. (Derick)
8623- Fixed bug #40297 (compile failure in ZTS mode when collections support is
8624 missing). (Tony)
8625- Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in
8626 some instances). (Ilia)
8627- Fixed bug #40274 (Sessions fail with numeric root keys). (Ilia)
8628- Fixed bug #40259 (ob_start call many times - memory error). (Dmitry)
8629- Fixed bug #40231 (file_exists incorrectly reports false). (Dmitry)
8630- Fixed bug #40228 (ZipArchive::extractTo does create empty directories
8631 recursively). (Pierre)
8632- Fixed bug #40200 (The FastCgi version has different realpath results than
8633 thread safe version). (Dmitry)
8634- Fixed bug #40191 (use of array_unique() with objects triggers segfault).
8635 (Tony)
8636- Fixed bug #40189 (possible endless loop in zlib.inflate stream filter).
8637 (Greg, Tony)
8638- Fixed bug #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2).
8639 (Tony)
8640- Fixed bug #40129 (iconv extension doesn't compile with CodeWarrior on
8641 Netware). (gk at gknw dot de, Tony)
8642- Fixed bug #40127 (apache2handler doesn't compile on Netware).
8643 (gk at gknw dot de)
8644- Fixed bug #40121 (PDO_DBLIB driver wont free statements). (Ilia)
8645- Fixed bug #40098 (php_fopen_primary_script() not thread safe). (Ilia)
8646- Fixed bug #40092 (chroot() doesn't clear realpath cache). (Dmitry)
8647- Fixed bug #40091 (spl_autoload_register with 2 instances of the same class).
8648 (Ilia)
8649- Fixed bug #40083 (milter SAPI functions always return false/null). (Tony)
8650- Fixed bug #40079 (php_get_current_user() not thread safe).
8651 (Ilia, wharmby at uk dot ibm dot com)
8652- Fixed bug #40078 (ORA-01405 when fetching NULL values using
8653 oci_bind_array_by_name()). (Tony)
8654- Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in
8655 range of signed integer). (Dmitry)
8656- Fixed bug #40073 (exif_read_data dies on certain images). (Tony, Marcus)
8657- Fixed bug #40036 (empty() does not work correctly with ArrayObject when
8658 using ARRAY_AS_PROPS). (Ilia)
8659- Fixed bug #40012 (php_date.c doesn't compile on Netware).
8660 (gk at gknw dot de, Derick)
8661- Fixed bug #40009 (http_build_query(array()) returns NULL). (Ilia)
8662- Fixed bug #40002 (Try/Catch performs poorly). (Dmitry)
8663- Fixed bug #39993 (tr_TR.UTF-8 locale has problems with PHP). (Ilia)
8664- Fixed bug #39990 (Cannot "foreach" over overloaded properties). (Dmitry)
8665- Fixed bug #39988 (type argument of oci_define_by_name() is ignored).
8666 (Chris Jones, Tony)
8667- Fixed bug #39984 (redirect response code in header() could be ignored
8668 in CGI sapi). (Ilia)
8669- Fixed bug #39979 (PGSQL_CONNECT_FORCE_NEW will causes next connect to
8670 establish a new connection). (Ilia)
8671- Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used
8672 for timestamp fields). (Ilia)
8673- Fixed bug #39969 (ini setting short_open_tag has no effect when using
8674 --enable-maintainer-zts). (Dmitry)
8675- Fixed bug #39952 (zip ignoring --with-libdir on zlib checks)
8676 (judas dot iscariote at gmail dot com)
8677- Fixed bug #39944 (References broken). (Dmitry)
8678- Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
8679 --with-libdir). (judas dot iscariote at gmail dot com, Derick)
8680- Fixed bug #39903 (Notice message when executing __halt_compiler() more than
8681 once). (Tony)
8682- Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). (Ilia)
8683- Fixed bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR
8684 install path). (Tony)
8685- Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
8686 type hint self). (thekid at php dot net)
8687- Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). (Ilia)
8688- Fixed bug #39873 (number_format() breaks with locale & decimal points).
8689 (Ilia)
8690- Fixed bug #39869 (safe_read does not initialize errno).
8691 (michiel at boland dot org, Dmitry)
8692- Fixed bug #39850 (SplFileObject throws contradictory/wrong error messages
8693 when trying to open "php://wrong"). (Tony)
8694- Fixed bug #39846 (Invalid IPv4 treated as valid). (Ilia)
8695- Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql).
8696 (Ilia)
8697- Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified
8698 type are set to 0). (Dmitry)
8699- Fixed bug #39825 (foreach produces memory error). (Dmitry)
8700- Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config
8701 settings). (Ilia)
8702- Fixed bug #39815 (SOAP double encoding is not locale-independent). (Dmitry)
8703- Fixed bug #39797 (virtual() does not reset changed INI settings). (Ilia)
8704- Fixed bug #39795 (build fails on AIX because crypt_r() uses different
8705 data struct). (Tony)
8706- Fixed bug #39791 (Crash in strtotime() on overly long relative date
8707 multipliers). (Ilia)
8708- Fixed bug #39787 (PHP doesn't work with Apache 2.3).
8709 (mv at binarysec dot com).
8710- Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday
8711 yields incorrect results). (Ilia)
8712- Fixed bug #39780 (PNG image with CRC/data error raises fatal error) (Pierre)
8713- Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlying libc-client).
8714 (michael dot heimpold at s2000 dot tu-chemnitz dot de, Ilia)
8715- Fixed bug #39775 ("Indirect modification ..." message is not shown).
8716 (Dmitry)
8717- Fixed bug #39763 (magic quotes are applied twice by ext/filter in
8718 parse_str()). (Ilia)
8719- Fixed bug #39760 (cloning fails on nested SimpleXML-Object). (Rob)
8720- Fixed bug #39759 (Can't use stored procedures fetching multiple result
8721 sets in pdo_mysql). (Ilia)
8722- Fixed bug #39754 (Some POSIX extension functions not thread safe).
8723 (Ilia, wharmby at uk dot ibm dot com)
8724- Fixed bug #39751 (putenv crash on Windows). (KevinJohnHoffman at gmail.com)
8725- Fixed bug #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit).
8726 (Tony)
8727- Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension).
8728 (Tony, Ilia)
8729- Fixed bug #39718 (possible crash if assert.callback is set in ini). (Ilia)
8730- Fixed bug #39702 (php crashes in the allocator on linux-m68k). (Dmitry)
8731- Fixed bug #39685 (iconv() - undefined function). (Hannes)
8732- Fixed bug #39673 (file_get_contents causes bus error on certain offsets).
8733 (Tony)
8734- Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory
8735 corruption on Windows in pgsql and pdo_pgsql extensions).
8736 (Ilia, matteo at beccati dot com)
8737- Fixed bug #39662 (Segfault when calling asXML() of a cloned
8738 SimpleXMLElement). (Rob, Tony)
8739- Fixed bug #39656 (crash when calling fetch() on a PDO statment object after
8740 closeCursor()). (Ilia, Tony)
8741- Fixed bug #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4
8742 support is enabled). (Tony)
8743- Fixed bug #39652 (Wrong negative results from memory_get_usage()). (Dmitry)
8744- Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are
8745 not thread safe). (Ilia, wharmby at uk dot ibm dot com)
8746- Fixed bug #39640 (Segfault with "Allowed memory size exhausted"). (Dmitry)
8747- Fixed bug #39625 (Apache crashes on importStylesheet call). (Rob)
8748- Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic).
8749 (Ilia, wharmby at uk dot ibm dot com)
8750- Fixed bug #39621 (str_replace() is not binary safe on strings with equal
8751 length). (Tony)
8752- Fixed bug #39613 (Possible segfault in imap initialization due to missing
8753 module dependency). (wharmby at uk dot ibm dot com, Tony)
8754- Fixed bug #39606 (Use of com.typelib_file in PHP.ini STILL causes A/V). (Rob)
8755- Fixed bug #39602 (Invalid session.save_handler crashes PHP). (Dmitry)
8756- Fixed bug #39596 (Creating Variant of type VT_ARRAY). (Rob)
8757- Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony)
8758- Fixed bug #39576 (array_walk() doesn't separate user data zval). (Tony)
8759- Fixed bug #39575 (move_uploaded_file() no longer working (safe mode
8760 related)). (Tony)
8761- Fixed bug #39571 (timeout ssl:// connections). (Ilia)
8762- Fixed bug #39564 (PDO::errorInfo() returns inconsistent information when
8763 sqlite3_step() fails). (Tony)
8764- Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString()
8765 on Windows). (Dmitry)
8766- Fixed bug #39538 (fgetcsv can't handle starting newlines and trailing odd
8767 number of backslashes). (David Soria Parra, Pierre)
8768- Fixed bug #39534 (Error in maths to calculate of
8769 ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com, Dmitry)
8770- Fixed bug #39527 (Failure to retrieve results when multiple unbuffered,
8771 prepared statements are used in pdo_mysql). (Ilia)
8772- Fixed bug #39508 (imagefill crashes with small images 3 pixels or less).
8773 (Pierre)
8774- Fixed bug #39506 (Archive corrupt with ZipArchive::addFile method). (Pierre)
8775- Fixed bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not
8776 entity). (Hannes)
8777- Fixed bug #39483 (Problem with handling of \ char in prepared statements).
8778 (Ilia, suhachov at gmail dot com)
8779- Fixed bug #39458 (ftp_nlist() returns false on empty dirs). (Nuno)
8780- Fixed bug #39454 (Returning a SOAP array segfaults PHP). (Dmitry)
8781- Fixed bug #39450 (getenv() fills other super-globals). (Ilia, Tony)
8782- Fixed bug #39449 (Overloaded array properties do not work correctly).
8783 (Dmitry)
8784- Fixed bug #39445 (Calling debug_backtrace() in the __toString()
8785 function produces a crash). (Dmitry)
8786- Fixed bug #39438 (Fatal error: Out of memory). (Dmitry)
8787- Fixed bug #39435 ('foo' instanceof bar gives invalid opcode error). (Sara)
8788- Fixed bug #39414 (Syntax error while compiling with Sun Workshop Complier).
8789 (Johannes)
8790- Fixed bug #39398 (Booleans are not automatically translated to integers).
8791 (Ilia)
8792- Fixed bug #39394 (Missing check for older variants of openssl). (Ilia)
8793- Fixed bug #39367 (clearstatcache() doesn't clear realpath cache).
8794 (j at pureftpd dot org, Dmitry)
8795- Fixed bug #39366 (imagerotate does not use alpha with angle > 45 degrees)
8796 (Pierre)
8797- Fixed bug #39364 (Removed warning on empty haystack inside mb_strstr()).
8798 (Ilia)
8799- Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the
8800 number of connection retries). (Ilia)
8801- Fixed bugs #39361 & #39400 (mbstring function overloading problem). (Seiji)
8802- Fixed bug #39354 (Allow building of curl extension against libcurl
8803 7.16.0). (Ilia)
8804- Fixed bug #39350 (crash with implode("\n", array(false))). (Ilia)
8805- Fixed bug #39344 (Unnecessary calls to OnModify callback routine for
8806 an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry)
8807- Fixed bug #39320 (ZEND_HASH_APPLY_STOP causes deletion). (Marcus)
8808- Fixed bug #39313 (spl_autoload triggers Fatal error). (Marcus)
8809- Fixed bug #39300 (make install fails if wget is not available). (Tony)
8810- Fixed bug #39297 (Memory corruption because of indirect modification of
8811 overloaded array). (Dmitry)
8812- Fixed bug #39286 (misleading error message when invalid dimensions are
8813 given) (Pierre)
8814- Fixed bug #39273 (imagecopyresized may ignore alpha channel) (Pierre)
8815- Fixed bug #39265 (Fixed path handling inside mod_files.sh).
8816 (michal dot taborsky at gmail dot com, Ilia)
8817- Fixed bug #39217 (serialNumber might be -1 when the value is too large).
8818 (Pierre, Tony)
8819- Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr). (Wez, Ilia)
8820- Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). (Ilia)
8821- Fixed bug #39151 (Parse error in recursiveiteratoriterator.php). (Marcus)
8822- Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client).
8823 (Dmitry)
8824- Fixed bug #39090 (DirectoryFilterDots doxygen docs and example is wrong).
8825 (Marcus)
8826- Fixed bug #38852 (XML-RPC Breaks iconv). (Hannes)
8827- Fixed bug #38770 (unpack() broken with longs on 64 bit machines).
8828 (Ilia, David Soria Parra).
8829- Fixed bug #38698 (for some keys cdbmake creates corrupted db and cdb can't
8830 read valid db). (Marcus)
8831- Fixed bug #38680 (Added missing handling of basic types in json_decode).
8832 (Ilia)
8833- Fixed bug #38604 (Fixed request time leak inside foreach() when iterating
8834 through virtual properties). (Dmitry)
8835- Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version).
8836 (Ilia)
8837- Fixed bug #38542 (proc_get_status() returns wrong PID on windows). (Nuno)
8838- Fixed bug #38536 (SOAP returns an array of values instead of an object).
8839 (Dmitry)
8840- Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php
8841 ErrorDocument). (Ilia)
8842- Fixed bug #38325 (spl_autoload_register() gives wrong line for "class not
8843 found"). (Ilia)
8844- Fixed bug #38319 (Remove bogus warnings from persistent PDO connections).
8845 (Ilia)
8846- Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using
8847 fastcgi). (Dmitry)
8848- Fixed bug #38252 (Incorrect PDO error message on invalid default fetch
8849 mode). (Ilia)
8850- Fixed bug #37927 (Prevent trap when COM extension processes argument of
8851 type VT_DISPATCH|VT_REF) (Andy)
8852- Fixed bug #37773 (iconv_substr() gives "Unknown error" when string
8853 length = 1"). (Ilia)
8854- Fixed bug #37627 (session save_path check checks the parent directory).
8855 (Ilia)
8856- Fixed bug #37619 (proc_open() closes stdin on fork() failure).
8857 (jdolecek at NetBSD dot org, Nuno)
8858- Fixed bug #37588 (COM Property propputref converts to PHP function
8859 and can't be accesed). (Rob)
8860- Fixed bug #36975 (natcasesort() causes array_pop() to misbehave).
8861 (Hannes)
8862- Fixed bug #36812 (pg_execute() modifies input array). (Ilia)
8863- Fixed bug #36798 (Error parsing named parameters with queries containing
8864 high-ascii chars). (Ilia)
8865- Fixed bug #36644 (possible crash in variant_date_from_timestamp()). (Ilia)
8866- Fixed bug #36427 (proc_open() / proc_close() leak handles on windows).
8867 (jdolecek at NetBSD dot org, Nuno)
8868- Fixed bug #36392 (wrong number of decimal digits with %e specifier in
8869 sprintf). (Matt,Ilia)
8870- Fixed bug #36214 (__get method works properly only when conditional
8871 operator is used). (Dmitry)
8872- Fixed bug #35634 (Erroneous "Class declarations may not be nested"
8873 error raised). (Carl P. Corliss, Dmitry)
8874- Fixed bug #35106 (nested foreach fails when array variable has a
8875 reference). (Dmitry)
8876- Fixed bug #34564 (COM extension not returning modified "out" argument) (Andy)
8877- Fixed bug #33734 (Something strange with COM Object). (Rob)
8878- Fixed bug #33386 (ScriptControl only sees last function of class). (Rob)
8879- Fixed bug #33282 (Re-assignment by reference does not clear the is_ref
8880 flag) (Ilia, Dmitry, Matt Wilmas)
8881- Fixed bug #30074 (apparent symbol table error with
8882 extract($blah, EXTR_REFS)) (Brian)
8883- Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir
8884 setting). (Ilia)
8885- Fixed PECL bug #7295 (ORA-01405: fetched column value is NULL on LOB
8886 fields). (Tony)
8887
888802 Nov 2006, PHP 5.2.0
8889- Updated bundled OpenSSL to version 0.9.8d in the Windows distro. (Edin)
8890- Updated Postgresql client libraries to 8.1.4 in the Windows distro. (Edin)
8891- Updated PCRE to version 6.7. (Ilia)
8892- Updated libsqlite in ext/pdo_sqlite to 3.3.7. (Ilia)
8893- Updated bundled MySQL client library to version 5.0.22 in the Windows
8894 distribution. (Edin)
8895- Updated timezonedb to version 2006.7. (Derick)
8896
8897- Added ability to make SOAP call userspace PHP<->XML converters. (Dmitry)
8898- Added support for character sets in pg_escape_string() for PostgreSQL 8.1.4
8899 and higher. (Ilia)
8900- Added support for character sets in PDO quote() method for PostgreSQL 8.1.4
8901 and higher. (Ilia)
8902- Added DSA key generation support to openssl_pkey_new(), FR #38731 (marci
8903 at balabit dot hu, Tony)
8904- Added SoapServer::setObject() method (it is a simplified version of
8905 SoapServer::setClass() method). (Dmitry)
8906- Added support for hexadecimal entity in imagettftext() for the bundled GD.
8907 (Pierre)
8908- Added support for httpOnly flag for session extension and cookie setting
8909 functions. (Scott MacVicar, Ilia)
8910- Added version specific registry keys to allow different configurations for
8911 different php version. (Richard, Dmitry)
8912- Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs.
8913 (Dmitry)
8914- Added an optional boolean parameter to memory_get_usage() and
8915 memory_get_peak_usage() to get memory size allocated by emalloc() or real
8916 size of memory allocated from system. (Dmitry)
8917- Added Zip Archive extension. (Pierre)
8918- Added RFC1867 fileupload processing hook. (Stefan E.)
8919- Added JSON and Filter extensions. (Derick, Rasmus)
8920- Added error messages to disk_free_space() and disk_total_space() functions.
8921 FR #37971 (Tony)
8922- Added PATHINFO_FILENAME option to pathinfo() to get the filename.
8923 (Toby S. and Christian S.)
8924- Added array_fill_keys() function. (Marcus, Matt Wilmas)
8925- Added posix_initgroups() function. (Ilia)
8926- Added an optional parameter to parse_url() to allow retrieval of distinct
8927 URL components. (Ilia)
8928- Added optional parameter to http_build_query() to allow specification of
8929 string separator. (Ilia)
8930- Added image_type_to_extension() function. (Hannes, Ilia)
8931- Added allow_url_include ini directive to complement allow_url_fopen. (Rasmus)
8932- Added automatic module globals management. (Dmitry)
8933- Added RFC2397 (data: stream) support. (Marcus)
8934- Added new error mode E_RECOVERABLE_ERROR. (Derick, Marcus, Tony)
8935- Added support for getenv() input filtering. (Rasmus)
8936- Added support for constructors in interfaces to force constructor signature
8937 checks in implementations. (Marcus)
8938- Added memory_get_peak_usage() function for retrieving peak memory usage of
8939 a PHP script. (Ilia)
8940- Added pg_field_table() function. (Edin)
8941- Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML().
8942 (Hannes)
8943- Added DOMNode::getNodePath() for getting an XPath for a node. (Christian)
8944- Added gmp_nextprime() function. (ants dot aasma at gmail dot com, Tony)
8945- Added error_get_last() function. (Mike)
8946
8947- Removed current working directory from the php.ini search path for CLI and
8948 re-added it for other SAPIs (restore to pre 5.1.x behavior). (Edin)
8949- Moved extensions to PECL:
8950 . ext/filepro (Derick, Tony)
8951 . ext/hwapi (Derick, Tony)
8952- Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or
8953 safe_mode are enabled. (Stefan E., Ilia)
8954
8955- Increased default memory limit to 16 megabytes to accommodate for a more
8956 accurate memory utilization measurement.
8957- In addition to path to php.ini, PHPRC now may specify full file name.
8958 (Dmitry)
8959
8960- Optimized array/HashTable copying. (Matt Wilmas, Dmitry)
8961- Optimized zend_try/zend_catch macros by eliminating memcpy(3). (Dmitry)
8962- Optimized require_once() and include_once() by eliminating fopen(3) on
8963 second usage. (Dmitry)
8964- Optimized request shutdown sequence. Restoring ini directives now iterates
8965 only over modified directives instead of all. (Dmitry)
8966
8967- Changed priority of PHPRC environment variable on win32 to be higher then
8968 value from registry. (Dmitry)
8969- Changed __toString() to be called wherever applicable. (Marcus)
8970- Changed E_ALL error reporting mode to include E_RECOVERABLE_ERROR. (Marcus)
8971- Changed realpath cache to be disabled when "open_basedir" or "safe_mode"
8972 are enabled on per-request basis. (Ilia)
8973
8974- Improved SNMP extension: (Jani)
8975 . Renamed snmp_set_oid_numeric_print() to snmp_set_oid_output_format().
8976 . Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC
8977 . Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2
8978 compatibility issue). (Patch: scott dot moynes+php at gmail dot com)
8979- Improved OpenSSL extension: (Pierre)
8980 . Added support for all supported algorithms in openssl_verify
8981 . Added openssl_pkey_get_details, returns the details of a key
8982 . Added x509 v3 extensions support
8983 . Added openssl_csr_get_subject() and openssl_csr_get_public_key()
8984 . Added 3 new constants OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER and
8985 OPENSSL_KEYTYPE_EC
8986- Improved the Zend memory manager: (Dmitry)
8987 . Removed unnecessary "--disable-zend-memory-manager" configure option.
8988 . Added "--enable-malloc-mm" configure option which is enabled by default in
8989 debug builds to allow using internal and external memory debuggers.
8990 . Allow tweaking the memory manager with ZEND_MM_MEM_TYPE and ZEND_MM_SEG_SIZE
8991 environment variables.
8992 . For more information: Zend/README.ZEND_MM
8993- Improved safe_mode check for the error_log() function. (Ilia)
8994- Improved the error reporting in SOAP extension on request failure. (Ilia)
8995- Improved crypt() on win32 to be about 10 times faster and to have friendlier
8996 license. (Frank, Dmitry)
8997- Improved performance of the implode() function on associated arrays. (Ilia)
8998- Improved performance of str_replace() when doing 1 char to 1 char or 1 char
8999 to many chars replacement. (Ilia)
9000- Improved apache2filter SAPI:
9001 . Allowed PHP to be an arbitrary filter in the chain and read the script from
9002 the Apache stream. (John)
9003 . Added support for apache2filter in the Windows build including binary
9004 support for both Apache 2.0.x (php5apache2_filter.dll) and Apache 2.2.x
9005 (php5apache2_2_filter.dll). (Edin)
9006- Improved apache2handler SAPI:
9007 . Changed ap_set_content_type() to be called only once. (Mike)
9008 . Added support for Apache 2.2 handler in the Windows distribution. (Edin)
9009- Improved FastCGI SAPI: (Dmitry)
9010 . Removed source compatibility with libfcgi.
9011 . Optimized access to FastCGI environment variables by using HashTable
9012 instead of linear search.
9013 . Allowed PHP_FCGI_MAX_REQUESTS=0 that assumes no limit.
9014 . Allowed PHP_FCGI_CHILDREN=0 that assumes no worker children. (FastCGI
9015 requests are handled by main process itself)
9016- Improved CURL:
9017 . Added control character checks for "open_basedir" and "safe_mode" checks.
9018 (Ilia)
9019 . Added implementation of curl_multi_info_read(). (Brian)
9020- Improved PCRE: (Andrei)
9021 . Added run-time configurable backtracking/recursion limits.
9022 . Added preg_last_error(). (Andrei)
9023- Improved PDO:
9024 . Added new attribute ATTR_DEFAULT_FETCH_MODE. (Pierre)
9025 . Added FETCH_PROPS_LATE. (Marcus)
9026- Improved SPL: (Marcus)
9027 . Made most iterator code exception safe.
9028 . Added RegExIterator and RecursiveRegExIterator.
9029 . Added full caching support and ArrayAccess to CachingIterator.
9030 . Added array functions to ArrayObject/ArrayIterator and made them faster.
9031 . Added support for reading csv and skipping empty lines in SplFileObject.
9032 . Added CachingIterator::TOSTRING_USE_INNER, calls inner iterator __toString.
9033 . Added ability to set the CSV separator per SplFileObject.
9034- Improved xmlReader: (Rob)
9035 . Added readInnerXml(), xmlReader::setSchema().
9036 . Added readInnerXML(), readOuterXML(), readString(), setSchema(). (2.6.20+)
9037 . Changed to passing libxml options when loading reader.
9038
9039- Fixed invalid read in imagecreatefrompng when an empty file is given
9040 (Pierre, Tony)
9041- Fixed infinite loop when a wrong color index is given to imagefill (Pierre)
9042- Fixed mess with CGI/CLI -d option (now it works with cgi; constants are
9043 working exactly like in php.ini; with FastCGI -d affects all requests).
9044 (Dmitry)
9045- Fixed missing open_basedir check inside chdir() function. (Ilia)
9046- Fixed overflow on 64bit systems in str_repeat() and wordwrap(). (Stefan E.)
9047- Fixed XSLTProcessor::importStylesheet() to return TRUE on success
9048 (Christian)
9049- Fixed leaks in openssl_csr_sign and openssl_csr_new (Pierre)
9050- Fixed phpinfo() cutoff of variables at \0. (Ilia)
9051- Fixed a bug in the filter extension that prevented magic_quotes_gpc from
9052 being applied when RAW filter is used. (Ilia)
9053- Fixed memory leaks in openssl streams context options. (Pierre)
9054- Fixed handling of extremely long paths inside tempnam() function. (Ilia)
9055- Fixed bug #39721 (Runtime inheritance causes data corruption). (Dmitry)
9056- Fixed bug #39304 (Segmentation fault with list unpacking of string offset).
9057 (Dmitry)
9058- Fixed bug #39192 (Not including nsapi.h properly with SJSWS 7). This will
9059 make PHP 5.2 compatible to new Sun Webserver. (Uwe)
9060- Fixed bug #39140 (Uncaught exception may cause crash). (Dmitry)
9061- Fixed bug #39125 (Memleak when reflecting non-existing class/method). (Tony)
9062- Fixed bug #39067 (getDeclaringClass() and private properties). (Tony)
9063- Fixed bug #39039 (SSL: fatal protocol error when fetching HTTPS from servers
9064 running Google web server). (Ilia)
9065- Fixed bug #39035 (Compatibility issue between DOM and
9066 zend.ze1_compatibility_mode). (Rob)
9067- Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty
9068 files). (Ilia)
9069- Fixed bug #39032 (strcspn() stops on null character). (Tony)
9070- Fixed bug #39020 (PHP in FastCGI server mode crashes). (Dmitry)
9071- Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj;
9072 segfaults). (Dmitry)
9073- Fixed bug #39004 (Fixed generation of config.nice with autoconf 2.60). (Ilia)
9074- Fixed bug #39003 (__autoload() is called for type hinting). (Dmitry, Tony)
9075- Fixed bug #39001 (ReflectionProperty returns incorrect declaring class for
9076 protected properties). (Tony)
9077- Fixed bug #38996 (PDO_MYSQL doesn't check connections for liveness). (Tony)
9078- Fixed bug #38993 (Fixed safe_mode/open_basedir checks for session.save_path,
9079 allowing them to account for extra parameters). (Ilia)
9080- Fixed bug #38989 (Absolute path with slash at beginning doesn't work on win).
9081 (Dmitry)
9082- Fixed bug #38985 (Can't cast COM objects). (Wez)
9083- Fixed bug #38981 (using FTP URLs in get_headers() causes crash). (Tony)
9084- Fixed bug #38963 (Fixed a possible open_basedir bypass in tempnam()). (Ilia)
9085- Fixed bug #38961 (metaphone() results in segmentation fault on NetBSD).
9086 (Tony)
9087- Fixed bug #38949 (Cannot get xmlns value attribute). (Rob)
9088- Fixed bug #38942 (Double old-style-ctor inheritance). (Dmitry)
9089- Fixed bug #38941 (imap extension does not compile against new version of the
9090 imap library). (Ilia)
9091- Fixed bug #38934 (move_uploaded_file() cannot read uploaded file outside of
9092 open_basedir). (Ilia)
9093- Fixed bug #38904 (apache2filter changes cwd to /). (Ilia, Hannes)
9094- Fixed bug #38891 (get_headers() do not work with curl-wrappers). (Ilia)
9095- Fixed bug #38882 (ldap_connect causes segfault with newer versions of
9096 OpenLDAP). (Tony)
9097- Fixed bug #38859 (parse_url() fails if passing '@' in passwd). (Tony)
9098- Fixed bug #38850 (lookupNamespaceURI doesn't return default namespace). (Rob)
9099- Fixed bug #38844 (curl_easy_strerror() is defined only since cURL 7.12.0).
9100 (Tony)
9101- Fixed bug #38813 (DOMEntityReference->__construct crashes when called
9102 explicitly). (Rob)
9103- Fixed bug #38808 ("maybe ref" issue for current() and others). (Dmitry)
9104- Fixed bug #38779 (engine crashes when require()'ing file with syntax error
9105 through userspace stream wrapper). (Tony, Dmitry)
9106- Fixed bug #38772 (inconsistent overriding of methods in different visibility
9107 contexts). (Dmitry)
9108- Fixed bug #38759 (PDO sqlite2 empty query causes segfault). (Tony)
9109- Fixed bug #38721 (Invalid memory read in date_parse()). (Tony, Derick)
9110- Fixed bug #38700 (SoapClient::__getTypes never returns). (Dmitry)
9111- Fixed bug #38693 (curl_multi_add_handle() set curl handle to null). (Ilia)
9112- Fixed bug #38687 (sockaddr local storage insufficient for all sock families).
9113 (Sara)
9114- Fixed bug #38661 (mixed-case URL breaks url-wrappers). (Ilia)
9115- Fixed bug #38653 (memory leak in ReflectionClass::getConstant()). (Tony)
9116- Fixed bug #38649 (uninit'd optional arg in stream_socket_sendto()). (Sara)
9117- Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL handle).
9118 (Tony, Ilia)
9119- Fixed bug #38624 (Strange warning when incrementing an object property and
9120 exception is thrown from __get method). (Tony)
9121- Fixed bug #38623 (leaks in a tricky code with switch() and exceptions).
9122 (Dmitry)
9123- Fixed bug #38579 (include_once() may include the same file twice). (Dmitry)
9124- Fixed bug #38574 (missing curl constants and improper constant detection).
9125 (Ilia)
9126- Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too
9127 low). (Dmitry)
9128- Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval
9129 inside a failed query executed via query() method). (Ilia)
9130- Fixed bug #38534 (segfault when calling setlocale() in userspace session
9131 handler). (Tony)
9132- Fixed bug #38524 (strptime() does not initialize the internal date storage
9133 structure). (Ilia)
9134- Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown
9135 order to ensure it is shutdown before the extensions it may depend on).
9136 (Ilia)
9137- Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32).
9138 (Dmitry)
9139- Fixed bug #38474 (getAttribute select attribute by order, even when
9140 prefixed). (Rob)
9141- Fixed bug #38467 (--enable-versioning causes make fail on OS X). (Tony)
9142- Fixed bug #38465 (ReflectionParameter fails if default value is an access
9143 to self::). (Johannes)
9144- Fixed bug #38464 (array_count_values() mishandles numeric strings).
9145 (Matt Wilmas, Ilia)
9146- Fixed bug #38461 (setting private attribute with __set() produces
9147 segfault). (Tony)
9148- Fixed bug #38458, PECL bug #8944, PECL bug #7775 (error retrieving columns
9149 after long/text columns with PDO_ODBC). (Wez)
9150- Fixed bug #38454 (warning upon disabling handler via
9151 xml_set_element_handler). (dtorop933 at gmail dot com, Rob)
9152- Fixed bug #38451 (PDO_MYSQL doesn't compile on Solaris). (Tony)
9153- Fixed bug #38450 (constructor is not called for classes used in userspace
9154 stream wrappers). (Tony)
9155- Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList). (Ilia)
9156- Fixed bug #38431 (xmlrpc_get_type() crashes PHP on objects). (Tony)
9157- Fixed bug #38427 (unicode causes xml_parser to misbehave). (Rob)
9158- Fixed bug #38424 (Different attribute assignment if new or existing). (Rob)
9159- Fixed bug #38400 (Use of com.typelib_file may cause a crash). (Ilia)
9160- Fixed bug #38394 (PDO fails to recover from failed prepared statement
9161 execution). (Ilia)
9162- Fixed bug #38377 (session_destroy() gives warning after
9163 session_regenerate_id()). (Ilia)
9164- Implemented #38357 (dbase_open can't open DBase 3 dbf file).
9165 (rodrigo at fabricadeideias dot com, Mike)
9166- Fixed bug #38354 (Unwanted reformatting of XML when using AsXML). (Christian)
9167- Fixed bug #38347 (Segmentation fault when using foreach with an unknown/empty
9168 SimpleXMLElement). (Tony)
9169- Fixed bug #38322 (reading past array in sscanf() leads to arbitrary code
9170 execution). (Tony)
9171- Fixed bug #38315 (Constructing in the destructor causes weird behavior).
9172 (Dmitry)
9173- Fixed bug #38303 (spl_autoload_register() suppress all errors silently).
9174 (Ilia)
9175- Fixed bug #38290 (configure script ignores --without-cdb,inifile,flatfile).
9176 (Marcus)
9177- Fixed bug #38289 (segfault in session_decode() when _SESSION is NULL).
9178 (Tony)
9179- Fixed bug #38287 (static variables mess up global vars). (Dmitry)
9180- Fixed bug #38278 (session_cache_expire()'s value does not match phpinfo's
9181 session.cache_expire). (Tony)
9182- Fixed bug #38276 (file_exists() works incorrectly with long filenames
9183 on Windows). (Ilia, Tony)
9184- Fixed bug #38269 (fopen wrapper doesn't fail on invalid hostname with
9185 curlwrappers enabled). (Tony)
9186- Fixed bug #38265 (heap corruption). (Dmitry)
9187- Fixed bug #38261 (openssl_x509_parse() leaks with invalid cert) (Pierre)
9188- Fixed bug #38255 (openssl possible leaks while passing keys) (Pierre)
9189- Fixed bug #38253 (PDO produces segfault with default fetch mode). (Tony)
9190- Fixed bug #38251 (socket_select() and invalid arguments). (Tony)
9191- Fixed bug #38236 (Binary data gets corrupted on multipart/formdata POST).
9192 (Ilia)
9193- Fixed bug #38234 (Exception in __clone makes memory leak). (Dmitry, Nuno)
9194- Fixed bug #38229 (strtotime() does not parse YYYY-MM format). (Ilia)
9195- Fixed bug #38224 (session extension can't handle broken cookies). (Ilia)
9196- Fixed bug #38220 (Crash on some object operations). (Dmitry)
9197- Fixed bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too
9198 much memory). (Tony)
9199- Fixed bug #38214 (gif interlace output cannot work). (Pierre)
9200- Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain
9201 characters). (Ilia)
9202- Fixed bug #38212 (Segfault on invalid imagecreatefromgd2part() parameters).
9203 (Pierre)
9204- Fixed bug #38211 (variable name and cookie name match breaks script
9205 execution). (Dmitry)
9206- Fixed bug #38199 (fclose() unable to close STDOUT and STDERR). (Tony)
9207- Fixed bug #38198 (possible crash when COM reports an exception). (Ilia)
9208- Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the
9209 class itself). (Ilia)
9210- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be
9211 called Foo). (Jani)
9212- Fixed bug #38179 (imagecopy from a palette to a truecolor image loose alpha
9213 channel) (Pierre)
9214- Fixed bug #38173 (Freeing nested cursors causes OCI8 to segfault). (Tony)
9215- Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). (Ilia)
9216- Fixed bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set
9217 the variable). (Tony)
9218- Fixed bug #38146 (Cannot use array returned from foo::__get('bar') in write
9219 context). (Dmitry)
9220- Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key
9221 names). (Ilia)
9222- Fixed bug #38125 (undefined reference to spl_dual_it_free_storage). (Marcus)
9223- Fixed bug #38112 (corrupted gif segfaults) (Pierre)
9224- Fixed bug #38096 (large timeout values ignored on 32bit machines in
9225 stream_socket_accept() and stream_socket_client()). (Ilia)
9226- Fixed bug #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger
9227 than the actual length). (Tony)
9228- Fixed bug #38072 (boolean arg for mysqli_autocommit() is always true on
9229 Solaris). (Tony)
9230- Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding
9231 option). (Dmitry)
9232- Fixed bug #38064 (ignored constructor visibility). (Marcus)
9233- Fixed bug #38055 (Wrong interpretation of boolean parameters). (Dmitry)
9234- Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from
9235 inside error handler). (Dmitry)
9236- Fixed bug #38019 (segfault extending mysqli class). (Dmitry)
9237- Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules).
9238 (Dmitry)
9239- Fixed bug #38004 (Parameters in SoapServer are decoded twice). (Dmitry)
9240- Fixed bug #38003 (in classes inherited from MySQLi it's possible to call
9241 private constructors from invalid context). (Tony)
9242- Fixed bug #37987 (invalid return of file_exists() in safe mode). (Ilia)
9243- Fixed bug #37947 (zend_ptr_stack reallocation problem). (Dmitry)
9244- Fixed bug #37945 (pathinfo() cannot handle argument with special characters
9245 like German "Umlaut"). (Mike)
9246- Fixed bug #37931 (possible crash in OCI8 after database restart
9247 when using persistent connections). (Tony)
9248- Fixed bug #37923 (Display constant value in reflection::export). (Johannes)
9249- Fixed bug #37920 (compilation problems on z/OS). (Tony)
9250- Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements).
9251 (Ilia, ce at netage dot bg)
9252- Fixed bug #37864 (file_get_contents() leaks on empty file). (Hannes)
9253- Fixed bug #37862 (Integer pointer comparison to numeric value).
9254 (bugs-php at thewrittenword dot com)
9255- Fixed bug #37846 (wordwrap() wraps incorrectly). (ddk at krasn dot ru, Tony)
9256- Fixed bug #37816 (ReflectionProperty does not throw exception when accessing
9257 protected attribute). (Marcus)
9258- Fixed bug #37811 (define not using toString on objects). (Marcus)
9259- Fixed bug #37807 (segmentation fault during SOAP schema import). (Tony)
9260- Fixed bug #37806 (weird behavior of object type and comparison). (Marcus)
9261- Fixed bug #37780 (memory leak trying to execute a non existing file (CLI)).
9262 (Mike)
9263- Fixed bug #37779 (empty include_path leads to search for files inside /).
9264 (jr at terragate dot net, Ilia)
9265- Fixed bug #37747 (strtotime segfaults when given "nextyear"). (Derick)
9266- Fixed bug #37720 (merge_php_config scrambles values).
9267 (Mike, pumuckel at metropolis dot de)
9268- Fixed bug #37709 (Possible crash in PDO::errorCode()). (Ilia)
9269- Fixed bug #37707 (clone without assigning leaks memory). (Ilia, Nuno, Dmitri)
9270- Fixed bug #37705 (Semaphore constants not available). (Ilia)
9271- Fixed bug #37671 (MySQLi extension fails to recognize BIT column). (Ilia)
9272- Fixed bug #37667 (Object is not added into array returned by __get). (Marcus)
9273- Fixed bug #37635 (parameter of pcntl signal handler is trashed). (Mike)
9274- Fixed bug #37632 (Protected method access problem). (Marcus)
9275- Fixed bug #37630 (MySQL extensions should link against thread safe client
9276 libs if built with ZTS). (Mike)
9277- Fixed bug #37620 (mysqli_ssl_set validation is inappropriate). (Georg)
9278- Fixed bug #37616 (DATE_RFC822 does not product RFC 822 dates).
9279 (Hannes Magnusson, Derick)
9280- Fixed bug #37614 (Class name lowercased in error message). (Johannes)
9281- Fixed bug #37587 (var without attribute causes segfault). (Marcus)
9282- Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recursion
9283 limit support). (Ilia)
9284- Fixed bug #37581 (oci_bind_array_by_name clobbers input array when using
9285 SQLT_AFC, AVC). (Tony)
9286- Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters). (Ilia)
9287- Fixed bug #37565 (Using reflection::export with simplexml causing a crash).
9288 (Marcus)
9289- Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2
9290 compatibility issue). (Jani, patch by scott dot moynes+php at gmail dot com)
9291- Fixed bug #37563 (array_key_exists performance is poor for &$array). (Ilia)
9292- Fixed bug #37558 (timeout functionality doesn't work after a second PHP
9293 start-up on the same thread). (p dot desarnaud at wanadoo dot fr)
9294- Fixed bug #37531 (oci8 persistent connection corruption). (Tony)
9295- Fixed bug #37523 (namespaces added too late, leads to missing xsi:type
9296 attributes. Incompatibility with libxml2-2.6.24). (Dmitry)
9297- Fixed bug #37514 (strtotime doesn't assume year correctly). (Derick)
9298- Fixed bug #37510 (session_regenerate_id changes session_id() even on
9299 failure). (Hannes)
9300- Fixed bug #37505 (touch() truncates large files). (Ilia)
9301- Fixed bug #37499 (CLI segmentation faults during cleanup with sybase-ct
9302 extension enabled). (Tony)
9303- Fixed bug #37496 (FastCGI output buffer overrun). (Piotr, Dmitry)
9304- Fixed bug #37487 (oci_fetch_array() array-type should always default to
9305 OCI_BOTH). (Tony)
9306- Fixed bug #37457 (Crash when an exception is thrown in accept() method of
9307 FilterIterator). (Marcus)
9308- Fixed bug #37456 (DOMElement->setAttribute() loops forever). (Rob)
9309- Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature object
9310 destruction). (Ilia)
9311- Fixed bug #37428 (PHP crashes on windows if there are start-up errors and
9312 event log is used for logging them). (Edin)
9313- Fixed bug #37418 (tidy module crashes on shutdown). (Tony)
9314- Fixed bug #37416 (iterator_to_array() hides exceptions thrown in rewind()
9315 method). (Tony)
9316- Fixed bug #37413 (Rejected versions of flex that don't work). (Ilia)
9317- Fixed bug #37395 (recursive mkdir() fails to create nonexistent directories
9318 in root dir). (Tony)
9319- Fixed bug #37394 (substr_compare() returns an error when offset equals
9320 string length). (Ilia)
9321- Fixed bug #37392 (Unnecessary call to OCITransRollback() at the end of
9322 request). (Tony)
9323- Fixed bug #37376 (fastcgi.c compile fail with gcc 2.95.4). (Ilia)
9324- Fixed bug #37368 (Incorrect timestamp returned for strtotime()). (Derick)
9325- Fixed bug #37363 (PDO_MYSQL does not build if no other mysql extension is
9326 enabled). (Mike)
9327- Fixed bug #37348 (make PEAR install ignore open_basedir). (Ilia)
9328- Fixed bug #37341 ($_SERVER in included file is shortened to two entries,
9329 if $_ENV gets used). (Dmitry)
9330- Fixed bug #37313 (sigemptyset() used without including <signal.h>).
9331 (jdolecek)
9332- Fixed bug #37306 (max_execution_time = max_input_time). (Dmitry)
9333- Fixed bug #37278 (SOAP not respecting uri in __soapCall). (Dmitry)
9334- Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
9335 imap_body()). (Ilia)
9336- Fixed bug #37262 (var_export() does not escape \0 character). (Ilia)
9337- Fixed bug #37256 (php-fastcgi doesn't handle connection abort). (Dmitry)
9338- Fixed bug #37244 (Added strict flag to base64_decode() that enforces
9339 RFC3548 compliance). (Ilia)
9340- Fixed bug #37144 (PHP crashes trying to assign into property of dead object).
9341 (Dmitry)
9342- Fixed bug #36949 (invalid internal mysqli objects dtor). (Mike)
9343- Implement #36732 (req/x509 extensions support for openssl_csr_new and
9344 openssl_csr_sign) (ben at psc dot edu, Pierre)
9345- Fixed bug #36759 (Objects destructors are invoked in wrong order when script
9346 is finished). (Dmitry)
9347- Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors).
9348 (Wez, Ilia)
9349- Fixed bug #36630 (umask not reset at the end of the request). (Ilia)
9350- Fixed bug #36515 (Unlinking buckets from non-existent brigades). (Sara)
9351- Fixed bug #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB
9352 field). (Tony)
9353- Fixed bug #35886 (file_get_contents() fails with some combinations of
9354 offset & maxlen). (Nuno)
9355- Fixed bug #35512 (Lack of read permission on main script results in
9356 E_WARNING rather then E_ERROR). (Ilia)
9357- Fixed bug #34180 (--with-curlwrappers causes PHP to disregard some HTTP
9358 stream context options). (Mike)
9359- Fixed bug #34066 (recursive array_walk causes segfault). (Tony)
9360- Fixed bug #34065 (throw in foreach causes memory leaks). (Dmitry)
9361- Fixed bug #34005 (oci_password_change() fails).
9362 (pholdaway at technocom-wireless dot com, Tony)
9363- Fixed bug #33895 (Missing math constants). (Hannes)
9364- Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers
9365 is used and ssl certificate is not verifiable). (Ilia)
9366- Fixed bug #29538 (number_format and problem with 0). (Matt Wilmas)
9367- Implement #28382 (openssl_x509_parse() extensions support) (Pierre)
9368- Fixed PECL bug #9061 (oci8 might reuse wrong persistent connection). (Tony)
9369- Fixed PECL bug #8816 (issue in php_oci_statement_fetch with more than one
9370 piecewise column) (jeff at badtz-maru dot com, Tony)
9371- Fixed PECL bug #8112 (OCI8 persistent connections misbehave when Apache
9372 process times out). (Tony)
9373- Fixed PECL bug #7755 (error selecting DOUBLE fields with PDO_ODBC).
9374 ("slaws", Wez)
9375
9376
937704 May 2006, PHP 5.1.4
9378- Added "capture_peer_cert" and "capture_peer_cert_chain" context options
9379 for SSL streams. (Wez).
9380- Added PDO::PARAM_EVT_* family of constants. (Sara)
9381- Fixed possible crash in highlight_string(). (Dmitry)
9382- Fixed bug #37291 (FastCGI no longer works with isapi_fcgi.dll). (Dmitry)
9383- Fixed bug #37277 (cloning Dom Documents or Nodes does not work). (Rob)
9384- Fixed bug #37276 (problems with $_POST array). (Dmitry)
9385- Fixed bug #36632 (bad error reporting for pdo_odbc exec UPDATE). (Wez).
9386- Fixed bug #35552 (crash when pdo_odbc prepare fails). (Wez).
9387
938828 Apr 2006, PHP 5.1.3
9389- Updated bundled PCRE library to version 6.6. (Andrei)
9390- Moved extensions to PECL:
9391 . ext/msession (Derick)
9392- Reimplemented FastCGI interface. (Dmitry)
9393- Improved SPL: (Marcus)
9394 - Fixed issues with not/double calling of constructors of SPL iterators.
9395 - Fixed issues with info-class/file-class in SPL directory handling classes.
9396 - Fixed ArrayIterator::seek().
9397 - Added SimpleXMLIterator::count().
9398 - Dropped erroneous RecursiveDirectoryIterator::getSubPathInfo().
9399- Improved SimpleXML: (Marcus, Rob)
9400 . Added SimpleXMLElement::getName() to retrieve name of element.
9401 . Added ability to create elements on the fly.
9402 . Added addChild() method for element creation supporting namespaces.
9403 . Added addAttribute() method for attribute creation supporting namespaces.
9404 . Added ability to delete specific elements and attributes by offset.
9405- Improved Reflection API: (Marcus)
9406 . Added ReflectionClass::newInstanceArgs($args).
9407 . Added ability to analyze extension dependency.
9408 . Added ReflectionFunction::isDeprecated() and constant IS_DEPRECATED.
9409 . Added ReflectionParameter::getDeclaringClass().
9410 . Changed reflection constants to be prefixed with IS_. (Johannes)
9411- Improved cURL extension: (Ilia)
9412 . Added curl_setopt_array() function that allows setting of multiple
9413 options via an associated array.
9414 . Added the ability to retrieve the request message sent to the server.
9415- Improved GD extension: (Pierre)
9416 . Added a weak/tolerant mode to the JPEG loader.
9417 . Added filtering mode option to imagepng() to allow reducing file size.
9418 . Fixed imagecolorallocate() and imagecolorallocatelapha() to return FALSE
9419 on error.
9420- Changed get_headers() to retrieve headers also from non-200 responses.
9421 (Ilia)
9422- Changed get_headers() to use the default context. (Ilia)
9423- Added lchown() and lchgrp() to change user/group ownership of symlinks.
9424 (Derick)
9425- Added support for exif date format in strtotime(). (Derick)
9426- Added a check for special characters in the session name. (Ilia)
9427- Added "consumed" stream filter. (Marcus)
9428- Added new mysqli constants for BIT and NEW_DECIMAL field types:
9429 MYSQLI_TYPE_NEWDECIMAL and MYSQLI_TYPE_BIT. FR #36007. (Georg)
9430- Added imap_savebody() that allows message body to be written to a
9431 file. (Mike)
9432- Added overflow checks to wordwrap() function. (Ilia)
9433- Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8
9434 (also fixes bug #36764). (Tony)
9435- Eliminated run-time constant fetching for TRUE, FALSE and NULL. (Dmitry)
9436- Removed the E_STRICT deprecation notice from "var". (Ilia)
9437- Fixed reading stream filters never notified about EOF. (Mike)
9438- Fixed tempnam() 2nd parameter to be checked against path components. (Ilia)
9439- Fixed a bug that would not fill in the fifth argument to preg_replace()
9440 properly, if the variable was not declared previously. (Andrei)
9441- Fixed safe_mode check for source argument of the copy() function. (Ilia)
9442- Fixed mysqli bigint conversion under Windows (Georg)
9443- Fixed XSS inside phpinfo() with long inputs. (Ilia)
9444- Fixed Apache2 SAPIs header handler modifying header strings. (Mike)
9445- Fixed 'auto_globals_jit' to work together with 'register_argc_argv'. (Dmitry)
9446- Fixed offset/length parameter validation in substr_compare() function. (Ilia)
9447- Fixed debug_zval_dump() to support private and protected members. (Dmitry)
9448- Fixed SoapFault::getMessage(). (Dmitry)
9449- Fixed issue with iconv_mime_decode where the "encoding" would only allow
9450 upper case specifiers. (Derick)
9451- Fixed tiger hash algorithm generating wrong results on big endian platforms.
9452 (Mike)
9453- Fixed crash with DOMImplementation::createDocumentType("name:"). (Mike)
9454- Fixed bug #37205 (Serving binary content/images fails with "comm with server
9455 aborted" FastCGI err). (Dmitry)
9456- Fixed bug #37192 (cc may complain about non-constant initializers in
9457 hash_adler.c). (Mike)
9458- Fixed bug #37191 (chmod takes off sticky bit when safe_mode is On). (Tony)
9459- Fixed bug #37167 (PDO segfaults when throwing exception from the
9460 fetch handler). (Tony)
9461- Fixed bug #37162 (wddx does not build as a shared extension).
9462 (jdolecek at NetBSD dot org, Ilia)
9463- Fixed bug #37158 (fread behavior changes after calling
9464 stream_wrapper_register). (Wez)
9465- Fixed bug #37138 (__autoload tries to load callback'ed self and parent).
9466 (Dmitry)
9467- Fixed bug #37103 (libmbfl headers not installed). (Jani)
9468- Fixed bug #37062 (compile failure on ARM architecture). (Tony)
9469- Fixed bug #37061 (curl_exec() doesn't zero-terminate binary strings). (Tony)
9470- Fixed bug #37060 (Type of retval of Countable::count() is not checked).
9471 (Johannes)
9472- Fixed bug #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW
9473 fields). (Tony)
9474- Fixed bug #37057 (xmlrpc_decode() may produce arrays with numeric strings,
9475 which are unaccessible). (Tony)
9476- Fixed bug #37055 (incorrect reference counting for persistent OCI8
9477 connections). (Tony)
9478- Fixed bug #37054 (SoapClient Error Fetching http headers). (Dmitry)
9479- Fixed bug #37053 (html_errors with internal classes produces wrong links).
9480 (Tony)
9481- Fixed bug #37046 (foreach breaks static scope). (Dmitry)
9482- Fixed bug #37045 (Fixed check for special chars for http redirects). (Ilia)
9483- Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones
9484 identifiers). (Derick)
9485- Fixed bug #37002 (Have to quote literals in INI when concatenating with
9486 vars). (Dmitry)z
9487- Fixed bug #36988 (mktime freezes on long numbers). (Derick)
9488- Fixed bug #36981 (SplFileObject->fgets() ignores max_length). (Tony)
9489- Fixed bug #36957 (serialize() does not handle recursion). (Ilia)
9490- Fixed bug #36944 (strncmp & strncasecmp do not return false on negative
9491 string length). (Tony)
9492- Fixed bug #36941 (ArrayIterator does not clone itself). (Marcus)
9493- Fixed bug #36934 (OCILob->read() doesn't move internal pointer when
9494 reading 0's). (Tony)
9495- Fixed bug #36908 (wsdl default value overrides value in soap request).
9496 (Dmitry)
9497- Fixed bug #36898 (__set() leaks in classes extending internal ones).
9498 (Tony, Dmitry)
9499- Fixed bug #36886 (User filters can leak buckets in some situations). (Ilia)
9500- Fixed bug #36878 (error messages are printed even though an exception has
9501 been thrown). (Tony)
9502- Fixed bug #36875 (is_*() functions do not account for open_basedir). (Ilia)
9503- Fixed bug #36872 (session_destroy() fails after call to
9504 session_regenerate_id(true)). (Ilia)
9505- Fixed bug #36869 (memory leak in output buffering when using chunked
9506 output). (Tony)
9507- Fixed bug #36859 (DOMElement crashes when calling __construct when
9508 cloning). (Tony)
9509- Fixed bug #36857 (Added support for partial content fetching to the
9510 HTTP streams wrapper). (Ilia)
9511- Fixed bug #36851 (Documentation and code discrepancies for NULL
9512 data in oci_fetch_*() functions). (Tony)
9513- Fixed bug #36825 (Exceptions thrown in ArrayObject::offsetGet cause
9514 segfault). (Tony)
9515- Fixed bug #36820 (Privileged connection with an Oracle password file
9516 fails). (Tony)
9517- Fixed bug #36809 (__FILE__ behavior changed). (Dmitry)
9518- Fixed bug #36808 (syslog ident becomes garbage between requests). (Tony)
9519- Fixed bug #36802 (mysqli_set_charset() crash with a non-open connection).
9520 (Ilia)
9521- Fixed bug #36756 (DOMDocument::removeChild corrupts node). (Rob)
9522- Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy).
9523 (Dmitry)
9524- Fixed bug #36745 (No error message when load data local file isn't found).
9525 (Georg)
9526- Fixed bug #36743 (In a class extending XMLReader array properties are not
9527 writable). (Tony)
9528- Fixed bug #36727 (segfault in pdo_pgsql bindValue() when no parameters are
9529 defined). (Tony)
9530- Fixed bug #36721 (The SoapServer is not able to send a header that it didn't
9531 receive). (Dmitry)
9532- Fixed bug #36697 (Transparency is lost when using imagecreatetruecolor).
9533 (Pierre)
9534- Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages).
9535 (Ilia)
9536- Fixed bug #36656 (http_build_query generates invalid URIs due to use of
9537 square brackets). (Mike)
9538- Fixed bug #36638 (strtotime() returns false when 2nd argument < 1). (Derick)
9539- Fixed bug #36629 (SoapServer::handle() exits on SOAP faults). (Dmitry)
9540- Fixed bug #36625 (pg_trace() does not work). (iakio at mono-space dot net)
9541- Fixed bug #36614 (Segfault when using Soap). (Dmitry)
9542- Fixed bug #36611 (assignment to SimpleXML object attribute changes argument
9543 type to string). (Tony)
9544- Fixed bug #36606 (pg_query_params() changes arguments type to string). (Tony)
9545- Fixed bug #36599 (DATE_W3C format constant incorrect). (Derick)
9546- Fixed bug #36575 (SOAP: Incorrect complex type instantiation with
9547 hierarchies). (Dmitry)
9548- Fixed bug #36572 (Added PDO::MYSQL_ATTR_DIRECT_QUERY constant that should
9549 be set when executing internal queries like "show master status" via MySQL).
9550 (Ilia)
9551- Fixed bug #36568 (memory_limit setting on win32 has no effect). (Dmitry)
9552- Fixed bug #36513 (comment will be outputted in last line). (Dmitry)
9553- Fixed bug #36510 (strtotime() fails to parse date strings with tabs).
9554 (Ilia, Derick)
9555- Fixed bug #36459 (Incorrect adding PHPSESSID to links, which contains \r\n).
9556 (Ilia)
9557- Fixed bug #36458 (sleep() accepts negative values). (Ilia)
9558- Fixed bug #36436 (DBA problem with Berkeley DB4). (Marcus)
9559- Fixed bug #36434 (Improper resolution of declaring class name of an
9560 inherited property). (Ilia)
9561- Fixed bug #36420 (segfault when access result->num_rows after calling
9562 result->close()). (Ilia,Tony)
9563- Fixed bug #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY). (Tony)
9564- Fixed bug #36400 (Custom 5xx error does not return correct HTTP response error
9565 code). (Tony)
9566- Fixed bug #36396 (strtotime() fails to parse dates in dd-mm-yyyy format).
9567 (Derick)
9568- Fixed bug #36388 (ext/soap crashes when throwing exception and session
9569 persistence). (David)
9570- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes). (Derick)
9571- Fixed bug #36359 (splFileObject::fwrite() doesn't write when no data
9572 length specified). (Tony)
9573- Fixed bug #36351 (parse_url() does not parse numeric paths properly). (Ilia)
9574- Fixed bug #36345 (PDO/MySQL problem loading BLOB over 1MB). (Ilia)
9575- Fixed bug #36337 (ReflectionProperty fails to return correct visibility).
9576 (Ilia)
9577- Fixed bug #36334 (Added missing documentation about realpath cache INI
9578 settings). (Ilia)
9579- Fixed bug #36308 (ReflectionProperty::getDocComment() does not reflect
9580 extended class commentary). (Ilia)
9581- Fixed bug #36306 (crc32() differ on 32-bit and 64-bit platforms)
9582 (anight@eyelinkmedia dot com, Pierre)
9583- Fixed bug #36303 (foreach on error_zval produces segfault). (Dmitry)
9584- Fixed bug #36295 (typo in SplFileObject::flock() parameter name). (Tony)
9585- Fixed bug #36287 (Segfault with SplFileInfo conversion). (Marcus)
9586- Fixed bug #36283 (SOAPClient Compression Broken). (Dmitry)
9587- Fixed bug #36268 (Object destructors called even after fatal errors). (Dmitry)
9588- Fixed bug #36258 (SplFileObject::getPath() may lead to segfault). (Tony)
9589- Fixed bug #36250 (PHP causes ORA-07445 core dump in Oracle server 9.2.x).
9590 (Tony)
9591- Fixed bug #36242 (Possible memory corruption in stream_select()). (Tony)
9592- Fixed bug #36235 (ocicolumnname returns false before a successful fetch).
9593 (Tony)
9594- Fixed bug #36226 (Inconsistent handling when passing potential arrays).
9595 (Dmitry)
9596- Fixed bug #36224 (date(DATE_ATOM) gives wrong results).
9597 (Derick, Hannes Magnusson)
9598- Fixed bug #36222 (errorInfo in PDOException is always NULL). (Ilia)
9599- Fixed bug #36208 (symbol namespace conflicts using bundled gd). (Jakub Moc)
9600- Fixed bug #36205 (Memory leaks on duplicate cookies). (Dmitry)
9601- Fixed bug #36185 (str_rot13() crash on non-string parameter). (Pierre)
9602- Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows
9603 affected by the operation). (Ilia)
9604- Fixed bug #36158 (SIGTERM is not handled correctly when running as a
9605 FastCGI server). (Dmitry)
9606- Fixed bug #36152 (problems with curl+ssl and pgsql+ssl in same PHP). (Mike)
9607- Fixed bug #36148 (unpack("H*hex", $data) is adding an extra character to
9608 the end of the string). (Ilia)
9609- Fixed bug #36134 (DirectoryIterator constructor failed to detect empty
9610 directory names). (Ilia)
9611- Fixed bug #36113 (Reading records of unsupported type causes segfault).
9612 (Tony)
9613- Fixed bug #36096 (oci_result() returns garbage after oci_fetch() failed).
9614 (Tony)
9615- Fixed bug #36083 (SoapClient waits for responses on one-way operations).
9616 (Dmitry)
9617- Fixed bug #36071 (Engine Crash related with 'clone'). (Dmitry)
9618- Fixed bug #36055 (possible OCI8 crash in multi-threaded environment). (Tony)
9619- Fixed bug #36046 (parse_ini_file() miscounts lines in multi-line values).
9620 (Ilia)
9621- Fixed bug #36038 (ext/hash compile failure on Mac OSX). (Tony)
9622- Fixed bug #36037 (heredoc adds extra line number). (Dmitry)
9623- Fixed bug #36016 (realpath cache memleaks). (Dmitry, Nuno)
9624- Fixed bug #36011 (Strict errormsg wrong for call_user_func() and the likes).
9625 (Marcus)
9626- Fixed bug #36010 (Segfault when re-creating and re-executing statements with
9627 bound parameters). (Tony)
9628- Fixed bug #36006 (Problem with $this in __destruct()). (Dmitry)
9629- Fixed bug #35999 (recursive mkdir() does not work with relative path
9630 like "foo/bar"). (Tony)
9631- Fixed bug #35998 (SplFileInfo::getPathname() returns unix style filenames
9632 in win32). (Marcus)
9633- Fixed bug #35988 (Unknown persistent list entry type in module shutdown).
9634 (Dmitry)
9635- Fixed bug #35954 (Fatal com_exception casting object). (Rob)
9636- Fixed bug #35900 (stream_select() should warning when tv_sec is negative).
9637 (Ilia)
9638- Fixed bug #35785 (SimpleXML causes memory read error zend engine). (Marcus)
9639- Fixed bug #34272 (empty array onto COM object blows up). (Rob)
9640- Fixed bug #33292 (apache_get_modules() crashes on Windows). (Edin)
9641- Fixed bug #29476 (sqlite_fetch_column_types() locks the database forever).
9642 (Ilia)
9643
964412 Jan 2006, PHP 5.1.2
9645- Updated libsqlite in ext/sqlite to 2.8.17. (Ilia)
9646- Updated libsqlite in ext/pdo_sqlite to 3.2.8. (Ilia)
9647- Updated to libxml2-2.6.22 and libxslt-1.1.15 in the win32 bundle. (Rob)
9648- Added new extensions: (Ilia, Wez)
9649 . XMLWriter
9650 . Hash
9651- Added PNG compression support to GD extension. (Pierre)
9652- Added reflection constants as class constants. (Johannes)
9653- Added --enable-gcov configure option to enable C-level code coverage.
9654 (John, Jani, Ilia, Marcus)
9655- Added missing support for 'B' format identifier to date() function. (Ilia)
9656- Changed reflection to be an extension. (Marcus)
9657- Improved SPL extension: (Marcus)
9658 . Added class SplFileInfo as root class for DirectoryIterator and
9659 SplFileObject
9660 . Added SplTempFileObject
9661- Improved SimpleXML extension: (Marcus)
9662 . Fixed memleaks
9663 . Fixed var_dump()
9664 . Fixed isset/empty/(bool) behavior
9665 . Fixed iterator edge cases
9666 . Added methods getNamespaces(), getDocNamespaces()
9667- Upgraded pear to version 1.4.6. (Greg)
9668- Added constants for libxslt and libexslt versions: LIBXSLT_VERSION,
9669 LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION and LIBEXSLT_DOTTED_VERSION. (Pierre)
9670- Fixed possible crash in apache_getenv()/apache_setenv() on invalid parameters.
9671 (Ilia)
9672- Changed errors to warnings in imagecolormatch(). (Pierre)
9673- Fixed segfault/leak in imagecolormatch(). (Pierre)
9674- Fixed small leak in mysqli_stmt_fetch() when bound variable was empty string.
9675 (Andrey)
9676- Fixed prepared statement name conflict handling in PDO_PGSQL. (Thies, Ilia)
9677- Fixed memory corruption when PDO::FETCH_LAZY mode is being used. (Ilia)
9678- Fixed possible leaks in imagecreatefromstring() with invalid data. (Pierre)
9679- Fixed possible memory corruption inside mb_strcut(). (Ilia)
9680- Fixed possible header injection by limiting each header to a single line.
9681 (Ilia)
9682- Fixed possible XSS inside error reporting functionality. (Ilia)
9683- Fixed many bugs in OCI8. (Tony)
9684- Fixed crash and leak in mysqli when using 4.1.x client libraries and
9685 connecting to 5.x server. (Andrey)
9686- Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to a crash).
9687 (Ilia)
9688- Fixed bug #35908 (curl extension uses undefined GCRY_THREAD_OPTIONS_USER).
9689 (Ilia)
9690- Fixed bug #35907 (PDO_OCI uses hardcoded lib path $ORACLE_HOME/lib). (Tony)
9691- Fixed bug #35887 (wddx_deserialize not parsing dateTime fields properly).
9692 (Derick)
9693- Fixed bug #35885 (strtotime("NOW") no longer works). (Derick)
9694- Fixed bug #35821 (array_map() segfaults when exception is throwed from
9695 the callback). (Tony)
9696- Fixed bug #35817 (unpack() does not decode odd number of hexadecimal values).
9697 (Ilia)
9698- Fixed bug #35797 (segfault on PDOStatement::execute() with
9699 zend.ze1_compatibility_mode = On). (Tony, Ilia)
9700- Fixed bug #35781 (stream_filter_append() can cause segfault). (Tony)
9701- Fixed bug #35760 (sybase_ct doesn't compile on Solaris using old gcc). (Tony)
9702- Fixed bug #35759 (mysqli_stmt_bind_result() makes huge allocation when
9703 column empty). (Andrey)
9704- Fixed bug #35751 (using date with a timestamp makes httpd segfault). (Derick)
9705- Fixed bug #35740 (memory leak when including a directory). (Tony)
9706- Fixed bug #35730 (ext/mssql + freetds: Use correct character encoding
9707 and allow setting it). (Frank)
9708- Fixed bug #35723 (xmlrpc_introspection.c fails compile per C99 std). (Jani)
9709- Fixed bug #35720 (A final constructor can be overwritten). (Marcus)
9710- Fixed bug #35713 (getopt() returns array with numeric strings when passed
9711 options like '-1'). (Tony)
9712- Fixed bug #35705 (strtotime() fails to parse soap date format without TZ).
9713 (Ilia)
9714- Fixed bug #35699 (date() can't handle leap years before 1970). (Derick)
9715- Fixed bug #35694 (Improved error message for invalid fetch mode). (Ilia)
9716- Fixed bug #35692 (iconv_mime_decode() segmentation fault; with libiconv
9717 only). (Tony)
9718- Fixed bug #35690 (pack() tries to allocate huge memory block when packing
9719 float values to strings). (Tony)
9720- Fixed bug #35669 (imap_mail_compose() crashes with
9721 multipart-multiboundary-email). (Ilia)
9722- Fixed bug #35660 (AIX TZ variable format not understood, yields UTC
9723 timezone). (Derick)
9724- Fixed bug #35655 (whitespace following end of heredoc is lost). (Ilia)
9725- Fixed bug #35630 (strtotime() crashes on certain relative identifiers).
9726 (Ilia)
9727- Fixed bug #35629 (crash in http:// wrapper on multiple redirects). (Ilia)
9728- Fixed bug #35624 (strtotime() does not handle 3 character weekdays). (Ilia)
9729- Fixed bug #35612 (iis6 Access Violation crash). (Dmitry, alacn.uhahaa)
9730- Fixed bug #35594 (Multiple calls to getopt() may result in a crash).
9731 (rabbitt at gmail dot com, Ilia)
9732- Fixed bug #35571 (Fixed crash in Apache 2 SAPI when more then one php
9733 script is loaded via SSI include). (Ilia)
9734- Fixed bug #35570 (segfault when re-using soap client object). (Dmitry)
9735- Fixed bug #35558 (mktime() interpreting 3 digit years incorrectly). (Ilia)
9736- Fixed bug #35543 (php crash when calling non existing method of a class
9737 that extends PDO). (Tony)
9738- Fixed bug #35539 (typo in error message for ErrorException). (Tony)
9739- FIxed bug #35536 (mysql_field_type() doesn't handle NEWDECIMAL). (Tony)
9740- Fixed bug #35517 (mysql_stmt_fetch returns NULL on data truncation). (Georg)
9741- Fixed bug #35509 (string constant as array key has different behavior inside
9742 object). (Dmitry)
9743- Fixed bug #35508 (PDO fails when unknown fetch mode specified). (Tony)
9744- Fixed bug #35499 (strtotime() does not handle whitespace around the date
9745 string). (Ilia)
9746- Fixed bug #35496 (Crash in mcrypt_generic()/mdecrypt_generic() without
9747 proper init). (Ilia)
9748- Fixed bug #35490 (socket_sendto() unable to handle IPv6 addresses). (Tony)
9749- Fixed bug #35461 (Ming extension fails to compile with ming 0.3beta1). (Jani)
9750- Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4). (Dmitry)
9751- Fixed bug #35470 (Assigning global using variable name from array doesn't
9752 function). (Dmitry)
9753- Fixed bug #35456 (+ 1 [time unit] format did not work). (Ilia)
9754- Fixed bug #35447 (xml_parse_into_struct() chokes on the UTF-8 BOM). (Rob)
9755- Fixed bug #35431 (PDO crashes when using LAZY fetch with fetchAll). (Wez)
9756- Fixed bug #35430 (PDO crashes on incorrect FETCH_FUNC use). (Tony)
9757- Fixed bug #35427 (str_word_count() handles '-' incorrectly). (Ilia)
9758- Fixed bug #35425 (idate() function ignores timezone settings). (Ilia)
9759- Fixed bug #35422 (strtotime() does not parse times with UTC as timezone).
9760 (Ilia)
9761- Fixed bug #35414 (strtotime() no longer works with ordinal suffix). (Ilia)
9762- Fixed bug #35410 (wddx_deserialize() doesn't handle large ints as keys
9763 properly). (Ilia)
9764- Fixed bug #35409 (undefined reference to 'rl_completion_matches'). (Jani)
9765- Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of
9766 soapenc:base64binary fails). (Dmitry)
9767- Fixed bug #35393 (changing static protected members from outside the class,
9768 one more reference issue). (Dmitry)
9769- Fixed bug #35381 (ssl library is not initialized properly). (Alan)
9770- Fixed bug #35377 (PDO_SQLITE: undefined reference to "fdatasync").
9771 (Nuno, Jani)
9772- Fixed bug #35373 (HP-UX "alias not allowed in this configuration"). (Dmitry)
9773- Fixed bug #35288 (iconv() function defined as libiconv()). (Nuno)
9774- Fixed bug #35103 (mysqli handles bad unsigned (big)int incorrectly).(Andrey)
9775- Fixed bug #35062 (socket_read() produces warnings on non blocking sockets).
9776 (Nuno, Ilia)
9777- Fixed bug #35028 (SimpleXML object fails FALSE test). (Marcus)
9778- Fixed bug #34729 (Crash in ZTS mode under Apache). (Dmitry, Zeev)
9779- Fixed bug #34429 (Output buffering cannot be turned off with FastCGI).
9780 (Dmitry, Ilya)
9781- Fixed bug #34359 (Possible crash inside fopen http wrapper). (Ilia,Sara,Nuno)
9782- Fixed bug #33789 (Many Problems with SunFuncs). (Derick)
9783- Fixed bug #33671 (sun_rise and sun_set don't return a GMT timestamp if one
9784 passes an offset). (Derick)
9785- Fixed bug #32820 (date_sunrise and date_sunset don't handle GMT offset
9786 well). (Derick)
9787- Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any string
9788 greater then 255 characters). (Nuno,Ilia)
9789- Fixed bug #30937 (date_sunrise() & date_sunset() don't handle endless
9790 day/night at high latitudes). (Derick)
9791- Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if
9792 display_startup_error is off). (Ilia)
9793- Fixed bug #29955 (mb_strtoupper() / lower() broken with Turkish encoding).
9794 (Rui)
9795- Fixed bug #28899 (mb_substr() and substr() behave differently when
9796 "mbstring.func_overload" is enabled). (Rui)
9797- Fixed bug #27678 (number_format() crashes with large numbers). (Marcus)
9798
979928 Nov 2005, PHP 5.1.1
9800- Disabled native date class to prevent pear::date conflict. (Ilia)
9801- Changed reflection constants be both PHP and class constants. (Johannes)
9802- Added an additional field $frame['object'] to the result array of
9803 debug_backtrace() that contains a reference to the respective object when the
9804 frame was called from an object. (Sebastian)
9805- Fixed bug #35423 (RecursiveDirectoryIterator doesnt appear to recurse with
9806 RecursiveFilterIterator). (Marcus)
9807- Fixed bug #35413 (Removed -dev flag from Zend Engine version). (Ilia)
9808- Fixed bug #35411 (Regression with \{$ handling). (Ilia)
9809- Fixed bug #35406 (eval hangs when evall'ed code ends with comment w/o
9810 newline). (Marcus)
9811- Fixed bug #35391 (pdo_mysql::exec does not return number of affected rows).
9812 (Tony)
9813- Fixed bug #35382 (Comment in end of file produces fatal error). (Ilia)
9814- Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash).
9815 (Dmitry)
9816- Fixed bug #35358 (Incorrect error messages for PDO class constants). (Ilia)
9817- Fixed bug #35338 (pdo_pgsql does not handle binary bound params). (Wez)
9818- Fixed bug #35316 (Application exception trying to create COM object). (Rob)
9819- Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x). (Ilia)
9820
982124 Nov 2005, PHP 5.1
9822- Added support for class constants and static members for internal classes.
9823 (Dmitry, Michael Wallner)
9824- Added "new_link" parameter to mssql_connect() (Bug #34369). (Frank)
9825- Added missing safe_mode checks for image* functions and cURL. (Ilia)
9826- Added missing safe_mode/open_basedir checks for file uploads. (Ilia)
9827- Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql. (Ilia)
9828- Added date_timezone_set() function to set the timezone that the date
9829 function will use. (Derick)
9830- Added pg_fetch_all_columns() function to fetch all values of a column from a
9831 result cursor. (Ilia)
9832- Added support for LOCK_EX flag for file_put_contents(). (Ilia)
9833- Added bindto socket context option. (Ilia)
9834- Added offset parameter to the stream_copy_to_stream() function. (Ilia)
9835- Added offset & length parameters to substr_count() function. (Ilia)
9836- Added man pages for "phpize" and "php-config" scripts. (Jakub Vrana)
9837- Added support for .cc files in extensions. (Brian)
9838- Added PHP_INT_MAX and PHP_INT_SIZE as predefined constants. (Andrey)
9839- Added user opcode API that allow overloading of opcode handlers. (Dmitry)
9840- Added an optional remove old session parameter to session_regenerate_id().
9841 (Ilia)
9842- Added array type hinting. (Dmitry)
9843- Added the tidy_get_opt_doc() function to return documentation for
9844 configuration options in tidy. (Patch by: nlopess@php.net)
9845- Added support for .cc files in extensions. (Brian)
9846- Added imageconvolution() function which can be used to apply a custom 3x3
9847 matrix convolution to an image. (Pierre)
9848- Added optional first parameter to XsltProcessor::registerPHPFunctions to
9849 only allow certain functions to be called from XSLT. (Christian)
9850- Added the ability to override the autotools executables used by the
9851 buildconf script via the PHP_AUTOCONF and PHP_AUTOHEADER environmental
9852 variables. (Jon)
9853- Added several new functions to support the PostgreSQL v3 protocol introduced
9854 in PostgreSQL 7.4. (Christopher)
9855 . pg_transaction_status() - in-transaction status of a database connection.
9856 . pg_query_params() - execution of parameterized queries.
9857 . pg_prepare() - prepare named queries.
9858 . pg_execute() - execution of named prepared queries.
9859 . pg_send_query_params() - async equivalent of pg_query_params().
9860 . pg_send_prepare() - async equivalent of pg_prepare().
9861 . pg_send_execute() - async equivalent of pg_execute().
9862 . pg_result_error_field() - highly detailed error information, most
9863 importantly
9864 the SQLSTATE error code.
9865 . pg_set_error_verbosity() - set verbosity of errors.
9866- Added optional fifth parameter "count" to preg_replace_callback() and
9867 preg_replace() to count the number of replacements made. FR #32275. (Andrey)
9868- Added optional third parameter "charlist" to str_word_count() which contains
9869 characters to be considered as word part. FR #31560. (Andrey, Ilia)
9870- Added interface Serializable. (Stanislav, Marcus)
9871- Added pg_field_type_oid() PostgreSQL function. (mauroi at digbang dot com)
9872- Added zend_declare_property_...() and zend_update_property_...() API
9873 functions for bool, double and binary safe strings. (Hartmut)
9874- Added possibility to access INI variables from within .ini file. (Andrei)
9875- Added variable $_SERVER['REQUEST_TIME'] containing request start time.
9876 (Ilia)
9877- Added optional float parameter to gettimeofday(). (Ilia)
9878- Added apache_reset_timeout() Apache1 function. (Rasmus)
9879- Added sqlite_fetch_column_types() 3rd argument for arrays. (Ilia)
9880- Added optional offset parameter to stream_get_contents() and
9881 file_get_contents(). (Ilia)
9882- Added optional maxlen parameter to file_get_contents(). (Ilia)
9883- Added SAPI hook to get the current request time. (Rasmus)
9884- Added new functions:
9885 . array_diff_key() (Andrey)
9886 . array_diff_ukey() (Andrey)
9887 . array_intersect_key() (Christiano Duarte)
9888 . array_intersect_ukey() (Christiano Duarte)
9889 . array_product() (Andrey)
9890 . DomDocumentFragment::appendXML() (Christian)
9891 . fputcsv() (David Sklar)
9892 . htmlspecialchars_decode() (Ilia)
9893 . inet_pton() (Sara)
9894 . inet_ntop() (Sara)
9895 . mysqli::client_info property (Georg)
9896 . posix_access() (Magnus)
9897 . posix_mknod() (Magnus)
9898 . SimpleXMLElement::registerXPathNamespace() (Christian)
9899 . stream_context_get_default() (Wez)
9900 . stream_socket_enable_crypto() (Wez)
9901 . stream_wrapper_unregister() (Sara)
9902 . stream_wrapper_restore() (Sara)
9903 . stream_filter_remove() (Sara)
9904 . time_sleep_until() (Ilia)
9905- Added DomDocument::$recover property for parsing not well-formed XML
9906 Documents. (Christian)
9907- Added Cursor support for MySQL 5.0.x in mysqli (Georg)
9908- Added proxy support to ftp wrapper via http. (Sara)
9909- Added MDTM support to ftp_url_stat. (Sara)
9910- Added zlib stream filter support. (Sara)
9911- Added bz2 stream filter support. (Sara)
9912- Added max_redirects context option that specifies how many HTTP
9913 redirects to follow. (Ilia)
9914- Added support of parameter=>value arrays to
9915 xsl_xsltprocessor_set_parameter(). (Tony)
9916
9917- PHP extension loading mechanism with support for module
9918 dependencies and conflicts. (Jani, Dmitry)
9919- Improved interactive mode of PHP CLI (php -a). (Johannes, Marcus)
9920- Improved performance of:
9921 . general execution/compilation. (Andi, Thies, Sterling, Dmitry, Marcus)
9922 . switch() statement. (Dmitry)
9923 . several array functions. (Marcus)
9924 . virtual path handling by adding a realpath() cache. (Andi)
9925 . variable fetches. (Andi)
9926 . magic method invocations. (Marcus)
9927- Improved support for embedded server in mysqli. (Georg)
9928- Improved mysqli extension. (Georg)
9929 . added constructor for mysqli_stmt and mysqli_result classes
9930 . added new function mysqli_get_charset()
9931 . added new function mysqli_set_charset()
9932 . added new class mysqli_driver
9933 . added new class mysqli_warning
9934 . added new class mysqli_exception
9935 . added new class mysqli_sql_exception
9936- Improved SPL extension. (Marcus)
9937 . Moved RecursiveArrayIterator from examples into extension
9938 . Moved RecursiveFilterIterator from examples into extension
9939 . Added SplObjectStorage
9940 . Made all SPL constants class constants
9941 . Renamed CachingRecursiveIterator to RecursiveCachingIterator to follow
9942 Recursive<*>Iterator naming scheme.
9943 . added standard hierarchy of Exception classes
9944 . added interface Countable
9945 . added interfaces Subject and SplObserver
9946 . added spl_autoload*() functions
9947 . converted several 5.0 examples into c code
9948 . added class SplFileObject
9949 . added possibility to use a string with class_parents() and
9950 class_implements(). (Andrey)
9951
9952- Changed type hints to allow "null" as default value for class and array.
9953 (Marcus, Derick, Dmitry)
9954- Changed SQLite extension to be a shared module in Windows distribution.
9955 (Edin)
9956- Changed "instanceof" and "catch" operators, is_a() and is_subclass_of()
9957 functions to not call __autoload(). (Dmitry)
9958- Changed sha1_file() and md5_file() functions to use streams instead of low
9959 level IO. (Uwe)
9960- Changed abstract private methods to be not allowed anymore. (Stas)
9961- Changed stream_filter_(ap|pre)pend() to return resource. (Sara)
9962- Changed mysqli_exception and sqlite_exception to use RuntimeException as
9963 base if SPL extension is present. (Georg, Marcus)
9964
9965- Upgraded bundled libraries:
9966 . PCRE library to version 6.2. (Andrei)
9967 . SQLite 3 library in ext/pdo_sqlite to 3.2.7. (Ilia)
9968 . SQLite 2 library in ext/sqlite to 2.8.16. (Ilia)
9969- Upgraded bundled libraries in Windows distribution. (Edin)
9970 . zlib 1.2.3
9971 . curl 7.14.0
9972 . openssl 0.9.8
9973 . ming 0.3b
9974 . libpq (PostgreSQL) 8.0.1
9975
9976- Implemented feature request #33452 (Year belonging to ISO week). (Derick)
9977- Allowed return by reference from internal functions. (Marcus, Andi, Dmitry)
9978- Rewrote strtotime() with support for timezones and many new formats.
9979 Implements feature requests #21399, #26694, #28088, #29150, #29585 and
9980 #29595. (Derick)
9981
9982- Moved extensions to PECL:
9983 . ext/cpdf (Tony, Derick)
9984 . ext/dio (Jani, Derick)
9985 . ext/fam (Jani, Derick)
9986 . ext/ingres_ii (Jani, Derick)
9987 . ext/mnogosearch (Jani, Derick)
9988 . ext/w32api (Jani, Derick)
9989 . ext/yp (Jani, Derick)
9990 . ext/mcve (Jani, Derick, Pierre)
9991 . ext/oracle (Jani, Derick)
9992 . ext/ovrimos (Jani, Derick, Pierre)
9993 . ext/pfpro (Jani, Derick, Pierre)
9994 . ext/dbx (Jani, Derick)
9995 . ext/ircg (Jani, Derick)
9996
9997- Removed php_check_syntax() function which never worked properly. (Ilia)
9998- Removed garbage manager in Zend Engine which results in more aggressive
9999 freeing of data. (Dmitry, Andi)
10000
10001- Fixed "make test" to work for phpized extensions. (Hartmut, Jani)
10002- Fixed Apache 2 regression with sub-request handling on non-linux systems.
10003 (Ilia, Tony)
10004- Fixed PDO shutdown problem (possible infinite loop running rollback on
10005 shutdown). (Wez)
10006- Fixed PECL bug #3714 (PDO: beginTransaction doesn't work if you're in
10007 auto-commit mode). (Wez)
10008- Fixed ZTS destruction. (Marcus)
10009- Fixed __get/__set to allow recursive calls for different properties. (Dmitry)
10010- Fixed a bug where stream_get_meta_data() did not return the "uri" element
10011 for files opened with tmpname(). (Derick)
10012- Fixed a problem with SPL iterators aggregating the inner iterator. (Marcus)
10013- Fixed an error in mysqli_fetch_fields (returned NULL instead of an array
10014 when row number > field_count). (Georg)
10015- Fixed bug in mysql::client_version(). (Georg)
10016- Fixed bug in mysqli extension with unsigned int(11) being represented as
10017 signed integer in PHP instead of string in 32bit systems. (Andrey)
10018- Fixed bug with $HTTP_RAW_POST_DATA not getting set. (Brian)
10019- Fixed crash inside stream_get_line() when length parameter equals 0. (Ilia)
10020- Fixed ext/mysqli to allocate less memory when fetching bound params of type
10021 (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey)
10022- Fixed extension initialization to respect dependencies between extensions.
10023 (Wez)
10024- Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems.
10025 (Andrey)
10026- Fixed fgetcsv() and fputcsv() inconsistency. (Dmitry)
10027- Fixed inheritance check to control return by reference and pass by
10028 reference correctly (ArrayAccess can no longer support references correctly).
10029 (Marcus, Andi, Dmitry)
10030- Fixed initializing and argument checking for posix_mknod(). (Derick)
10031- Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)
10032- Fixed memory corruption in pg_copy_from() in case the as_null parameter was
10033 passed. (Derick)
10034- Fixed memory corruption in stristr(). (Derick)
10035- Fixed possible GLOBALS variable override when register_globals are ON.
10036 (Ilia, Stefan)
10037- Fixed possible INI setting leak via virtual() in Apache 2 sapi. (Ilia)
10038- Fixed possible register_globals toggle via parse_str(). (Ilia, Stefan)
10039- Fixed potential GLOBALS overwrite via import_request_variables() and
10040 possible crash and/or memory corruption. (Ilia)
10041- Fixed segfaults when CURL callback functions throw exception. (Tony)
10042- Fixed support for shared extensions on AIX. (Dmitry)
10043- Fixed bug #35342 (isset(DOMNodeList->length) returns false). (Rob)
10044- Fixed bug #35341 (Fix for bug #33760 breaks build with older curl). (Tony)
10045- Fixed bug #35336 (crash on PDO::FETCH_CLASS + __set()). (Tony)
10046- Fixed bug #35303 (PDO prepare() crashes with invalid parameters). (Ilia)
10047- Fixed bug #35293 (PDO segfaults when using persistent connections). (Tony)
10048- Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module). (Ilia)
10049- Fixed bug #35273 (Error in mapping soap - java types). (Dmitry)
10050- Fixed bug #35249 (compile failure when ext/readline is compiled as shared).
10051 (Jani)
10052- Fixed bug #35248 (sqlite_query() doesn't set error_msg when return value is
10053 being used). (Ilia)
10054- Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on
10055 Linux). (Patch: shulmanb at il dot ibm dot com, Jani)
10056- Fixed bug #35239 (Objects can lose references). (Dmitry)
10057- Fixed bug #35229 (call_user_func() crashes when argument_stack is nearly
10058 full). (Dmitry)
10059- Fixed bug #35197 (Destructor is not called). (Tony)
10060- Fixed bug #35179 (tokenizer extension needs T_HALT_COMPILER). (Greg)
10061- Fixed bug #35176 (include()/require()/*_once() produce wrong error messages
10062 about main()). (Dmitry)
10063- Fixed bug #35147 (__HALT_COMPILER() breaks with --enable-zend-multibyte).
10064 (Dmitry, Moriyoshi)
10065- Fixed bug #35143 (gettimeofday() ignores current time zone). (Derick)
10066- Fixed bug #35142 (SOAP Client/Server Complex Object Support). (Dmitry)
10067- Fixed bug #35135 (PDOStatment without related PDO object may crash). (Ilia)
10068- Fixed bug #35091 (SoapClient leaks memory). (Dmitry)
10069- Fixed bug #35079 (stream_set_blocking(true) toggles, not enables blocking).
10070 (askalski at gmail dot com, Tony)
10071- Fixed bug #35078 (configure does not find ldap_start_tls_s). (Jani)
10072- Fixed bug #35046 (phpinfo() uses improper css enclosure). (Ilia)
10073- Fixed bugs #35022, #35019 (Regression in the behavior of key() and
10074 current() functions). (Ilia)
10075- Fixed bug #35017 (Exception thrown in error handler may cause unexpected
10076 behavior). (Dmitry)
10077- Fixed bug #35014 (array_product() always returns 0). (Ilia)
10078- Fixed bug #35009 (ZTS: Persistent resource destruct crashes when extension
10079 is compiled as shared). (Dmitry)
10080- Fixed bug #34996 (ImageTrueColorToPalette() crashes when ncolors is zero).
10081 (Tony)
10082- Fixed bug #34982 (array_walk_recursive() modifies elements outside function
10083 scope). (Dmitry)
10084- Fixed bug #34977 (Compile failure on MacOSX due to use of varargs.h). (Tony)
10085- Fixed bug #34968 (bz2 extension fails on to build on some win32 setups).
10086 (Ilia)
10087- Fixed bug #34965 (tidy is not binary safe). (Mike)
10088- Fixed bug #34957 (PHP doesn't respect ACLs for access checks). (Wez)
10089- Fixed bug #34950 (Unable to get WSDL through proxy). (Dmitry)
10090- Fixed bug #34938 (dns_get_record() doesn't resolve long hostnames and
10091 leaks). (Tony)
10092- Fixed bug #34905 (Digest authentication does not work with Apache 1). (Ilia)
10093- Fixed bug #34902 (mysqli::character_set_name() - undefined method). (Tony)
10094- Fixed bug #34899 (Fixed sqlite extension compile failure). (Ilia)
10095- Fixed bug #34893 (PHP5.1 overloading, Cannot access private property).
10096 (Dmitry)
10097- Fixed bug #34884 (Possible crash in ext/sqlite when sqlite.assoc_case is
10098 being used). (Tony, Ilia)
10099- Fixed bug #34879 (str_replace, array_map corrupt negative array indexes on
10100 64-bit platforms). (Dmitry)
10101- Fixed bug #34873 (Segmentation Fault on foreach in object). (Dmitry)
10102- Fixed bug #34856 (configure fails to detect libiconv's type). (Tony)
10103- Fixed bug #34855 (ibase_service_attach() segfault on AMD64).
10104 (irie at gmx dot de, Tony)
10105- Fixed bug #34851 (SO_RECVTIMEO and SO_SNDTIMEO socket options expect
10106 integer parameter on Windows). (Mike)
10107- Fixed bug #34850 (--program-suffix and --program-prefix not included in
10108 man page names). (Jani)
10109- Fixed bug #34821 (zlib encoders fail on widely varying binary data on
10110 windows). (Mike, Ilia)
10111- Fixed bug #34818 (several functions crash when invalid mysqli_link object
10112 is passed). (Tony)
10113- Fixed bug #34810 (mysqli::init() and others use wrong $this pointer without
10114 checks). (Tony)
10115- Fixed bug #34809 (FETCH_INTO in PDO crashes without a destination object).
10116 (Ilia)
10117- Fixed bug #34802 (Fixed crash on object instantiation failure). (Ilia)
10118- Fixed bug #34796 (missing SSL linking in ext/ftp when configured as shared).
10119 (Jani)
10120- Fixed bug #34790 (preg_match_all(), named capturing groups, variable
10121 assignment/return => crash). (Dmitry)
10122- Fixed bug #34788 (SOAP Client not applying correct namespace to generated
10123 values). (Dmitry)
10124- Fixed bug #34787 (SOAP Client not handling boolean types correctly). (Dmitry)
10125- Fixed bug #34786 (2 @ results in change to error_reporting() to random
10126 value) (Dmitry, Tony)
10127- Fixed bug #34785 (subclassing of mysqli_stmt does not work). (Georg)
10128- Fixed bug #34782 (token_get_all() gives wrong result). (Dmitry)
10129- Fixed bug #34777 (Crash in dblib when fetching non-existent error info).
10130 (Ilia)
10131- Fixed bug #34771 (strtotime() fails with 1-12am/pm). (Derick)
10132- Fixed bug #34767 (Zend Engine 1 Compatibility not copying objects
10133 correctly). (Dmitry)
10134- Fixed bug #34758 (PDO_DBLIB did not implement rowCount()). (Ilia)
10135- Fixed bug #34757 (iconv_substr() gives "Unknown error" when offset > string
10136 length). (Tony)
10137- Fixed bug #34742 (ftp wrapper failures caused from segmented command
10138 transfer). (Ilia)
10139- Fixed bug #34725 (CLI segmentation faults during cleanup). (Dmitry)
10140- Fixed bug #34723 (array_count_values() strips leading zeroes). (Tony)
10141- Fixed bug #34712 (zend.ze1_compatibility_mode = on segfault). (Dmitry)
10142- Fixed bug #34704 (Infinite recursion due to corrupt JPEG). (Marcus)
10143- Fixed bug #34678 (__call(), is_callable() and static methods). (Dmitry)
10144- Fixed bug #34676 (missing support for strtotime("midnight") and
10145 strtotime("noon")). (Derick)
10146- Fixed bug #34645 (ctype corrupts memory when validating large numbers).
10147 (Ilia)
10148- Fixed bug #34643 (wsdl default value has no effect). (Dmitry)
10149- Fixed bug #34623 (Crash in pdo_mysql on longtext fields). (Ilia)
10150- Fixed bug #34617 (zend_deactivate: objects_store used after
10151 zend_objects_store_destroy is called). (Dmitry)
10152- Fixed bug #34590 (User defined PDOStatement class can't implement
10153 methods). (Marcus)
10154- Fixed bug #34584 (Segfault with SPL autoload handler). (Marcus)
10155- Fixed bug #34581 (crash with mod_rewrite). (Tony, Ilia)
10156- Fixed bug #34565 (mb_send_mail does not fetch
10157 mail.force_extra_parameters). (Marco, Ilia)
10158- Fixed bug #34557 (php -m exits with "error" 1). (Johannes)
10159- Fixed bug #34518 (Unset doesn't separate container in CV). (Dmitry)
10160- Fixed bug #34505 (Possible memory corruption when unmangling properties
10161 with empty names). (Tony)
10162- Fixed bug #34478 (Incorrect parsing of url's fragment (#...)). (Dmitry)
10163- Fixed bug #34467 (foreach + __get + __set inconsistency). (Dmitry)
10164- Fixed bug #34456 (Possible crash inside pspell extension). (Ilia)
10165- Fixed bug #34453 (parsing http://www.w3.org/2001/xml.xsd exception). (Dmitry)
10166- Fixed bug #34450 (Segfault when calling mysqli_close() in destructor). (Tony)
10167- Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed). (Dmitry)
10168- Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()). (Ilia)
10169- Fixed bug #34358 (Fatal error: Cannot re-assign $this). (Dmitry)
10170- Fixed bug #34331 (php crashes when variables_order is empty). (Ilia)
10171- Fixed bug #34321 (Possible crash in filter code). (Ilia)
10172- Fixed bug #34311 (unserialize() crashes with chars above 191 dec). (Nuno)
10173- Fixed bug #34310 (foreach($arr as $c->d => $x) crashes). (Dmitry)
10174- Fixed bug #34307 (on_modify handler not called to set the default value if
10175 setting from php.ini was invalid). (Andrei)
10176- Fixed bug #34306 (wddx_serialize_value() crashes with long array keys).
10177 (Jani)
10178- Fixed bug #34304 (date() doesn't have a modifier for ISO Week Day). (Derick)
10179- Fixed bug #34302 (date('W') do not return leading zeros for week 1 to 9).
10180 (Derick)
10181- Fixed bug #34299 (ReflectionClass::isInstantiable() returns true for abstract
10182 classes). (Marcus)
10183- Fixed bug #34284 (CLI phpinfo showing html on _SERVER["argv"]). (Jani)
10184- Fixed bug #34277 (array_filter() crashes with references and objects).
10185 (Dmitry)
10186- Fixed bug #34276 (setAttributeNS doesn't work with default namespace).
10187 (Rob)
10188- Fixed bug #34260 (Segfault with callbacks (array_map) + overloading).
10189 (Dmitry)
10190- Fixed bug #34257 (lib64 not handled correctly in ming extension). (Marcus)
10191- Fixed bug #34221 (Compiling xmlrpc as shared fails other parts). (Jani)
10192- Fixed bug #34216 (Segfault with autoload). (Marcus)
10193- Fixed bug #34199 (if($obj)/if(!$obj) inconsistency because of cast handler).
10194 (Dmitry, Alex)
10195- Fixed bug #34191 (ob_gzhandler does not enforce trailing \0). (Ilia)
10196- Fixed bug #34156 (memory usage remains elevated after memory limit is
10197 reached). (Ilia)
10198- Fixed bug #34148 (+,- and . not supported as parts of scheme). (Ilia)
10199- Fixed bug #34137 (assigning array element by reference causes binary mess).
10200 (Dmitry)
10201- Fixed bug #34103 (line numbering not maintained in dom document). (Rob)
10202- Fixed bug #34078 (Reflection API problems in methods with boolean or
10203 null default values). (Tony)
10204- Fixed bug #34068 (Numeric string as array key not cast to integer in
10205 wddx_deserialize()). (Ilia)
10206- Fixed bug #34064 (arr[] as param to function in class gives invalid
10207 opcode). (Dmitry)
10208- Fixed bug #34062 (Crash in catch block when many arguments are used).
10209 (Dmitry)
10210- Fixed bug #34052 (date('U') returns %ld not unix timestamp). (Nuno)
10211- Fixed bug #34045 (Buffer overflow with serialized object). (Dmitry)
10212- Fixed bug #34001 (pdo_mysql truncates numeric fields at 4 chars). (Ilia)
10213- Fixed bug #33999 (object remains object when cast to int). (Dmitry)
10214- Fixed bug #33996 (No information given for fatal error on passing invalid
10215 value to typed argument). (Dmitry)
10216- Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP). (Dmitry)
10217- Fixed bug #33987 (php script as ErrorDocument causes crash in Apache 2).
10218 (Ilia)
10219- Fixed bug #33967 (misuse of Exception constructor doesn't display
10220 errorfile). (Jani)
10221- Fixed bug #33966 (Wrong use of reflectionproperty causes a segfault). (Tony)
10222- Fixed bug #33963 (mssql_bind() fails on input parameters). (Frank)
10223- Fixed bug #33958 (duplicate cookies and magic_quotes=off may cause a crash).
10224 (Ilia)
10225- Fixed bug #33957 (gmdate('W')/date('W') sometimes returns wrong week number).
10226 (Derick)
10227- Fixed bug #33940 (array_map() fails to pass by reference when called
10228 recursively). (Dmitry)
10229- Fixed bug #33917 (number_format() output with > 1 char separators). (Jani)
10230- Fixed bug #33904 (input array keys being escaped when magic quotes is off).
10231 (Ilia)
10232- Fixed bug #33903 (spl_autoload_register class method). (Marcus)
10233- Fixed bug #33899 (CLI: setting extension_dir=some/path extension=foobar.so
10234 does not work). (Jani)
10235- Fixed bug #33882 (CLI was looking for php.ini in wrong path). (Hartmut)
10236- Fixed bug #33869 (strtotime() problem with "+1days" format). (Ilia)
10237- Fixed bug #33841 (pdo sqlite driver forgets to update affected column
10238 count on execution of prepared statments). (Ilia)
10239- Fixed bug #33837 (Informix ESQL version numbering schema changed). (Jani)
10240- Fixed bug #33829 (mime_content_type() returns text/plain for gzip and bzip
10241 files). (Derick)
10242- Fixed bug #33802 (throw Exception in error handler causes crash). (Dmitry)
10243- Fixed bug #33771 (error_reporting falls to 0 when @ was used inside
10244 try/catch block). (Tony)
10245- Fixed bug #33760 (cURL needs to implement CRYPTO_callback functions to
10246 prevent locking). (Mike, Ilia)
10247- Fixed bug #33732 (Wrong behavior of constants in class and interface
10248 extending). (Dmitry)
10249- Fixed bug #33723 (php_value overrides php_admin_value). (Dmitry)
10250- Fixed bug #33720 (mb_encode_mimeheader does not work for multibyte
10251 chars). (Rui)
10252- Fixed bug #33710 (ArrayAccess objects does not initialize $this). (Dmitry)
10253- Fixed bug #33690 (Crash setting some ini directives in httpd.conf). (Rasmus)
10254- Fixed bug #33673 (Added detection for partially uploaded files). (Ilia)
10255- Fixed bug #33605 (substr_compare() crashes with negative offset and length).
10256 (Tony)
10257- Fixed bug #33597 (setcookie() "expires" date format doesn't comply with RFC).
10258 (Tony)
10259- Fixed bug #33588 (LDAP: RootDSE query not possible). (Jani)
10260- Fixed bug #33578 (strtotime() problem with "Oct17" format). (Derick)
10261- Fixed bug #33578 (strtotime() doesn't understand "11 Oct" format). (Derick)
10262- Fixed bug #33562 (date("") crashes). (Derick)
10263- Fixed bug #33558 (warning with nested calls to functions returning by
10264 reference). (Dmitry)
10265- Fixed bug #33536 (strtotime() defaults to now even on non time string).
10266 (Derick)
10267- Fixed bug #33532 (Different output for strftime() and date()). (Derick)
10268- Fixed bug #33523 (Memory leak in xmlrpc_encode_request()). (Ilia)
10269- Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed).
10270 (Dmitry)
10271- Fixed bug #33512 (Add missing support for isset()/unset() overloading to
10272 complement the property get/set methods). (Dmitry)
10273- Fixed bug #33491 (crash after extending MySQLi internal class). (Tony)
10274- Fixed bug #33475 (cURL handle is not closed on curl_close(). (Ilia)
10275- Fixed bug #33469 (Compile error undefined reference to ifx_checkAPI). (Jani)
10276- Fixed bug #33433 (strtoll not available on Tru64). (Jani, Derick)
10277- Fixed bug #33427 (ext/odbc: check if unixODBC header file exists). (Jani)
10278- Fixed bug #33415 (strtotime() related bugs). (Derick)
10279- Fixed bug #33414 (Comprehensive list of incorrect days returned after
10280 strtotime() / date() tests). (Derick)
10281- Fixed bug #33389 (double free() when exporting a ReflectionClass). (Marcus)
10282- Fixed bug #33383 (crash when retrieving empty LOBs). (Tony)
10283- Fixed bug #33382 (array_reverse() fails after *sort()), introduced by
10284 zend_hash_sort() optimizations in HEAD. (Tony)
10285- Fixed bug #33340 (CLI Crash when calling php:function from XSLT). (Rob)
10286- Fixed bug #33326 (Cannot build extensions with phpize on Macosx). (Jani)
10287- Fixed bug #33318 (throw 1; results in Invalid opcode 108/1/8). (Dmitry)
10288- Fixed bug #33312 (ReflectionParameter methods do not work correctly).
10289 (Dmitry)
10290- Fixed bug #33299 (php:function no longer handles returned dom objects).
10291 (Rob, Joe Orton)
10292- Fixed bug #33286 (nested array_walk() calls and user array compare functions
10293 broken; FCI cache). (Andrei, patch from m.bretz@metropolis-ag.de)
10294- Fixed bug #33277 (private method accessed by child class). (Dmitry)
10295- Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in
10296 length). (Ilia)
10297- Fixed bug #33257 (array_splice() inconsistent when passed function instead of
10298 variable). (Dmitry)
10299- Fixed bug #33243 (ze1_compatibility_mode does not work as expected). (Dmitry)
10300- Fixed bug #33242 (Mangled error message when stream fails). (Derick)
10301- Fixed bug #33222 (segfault when CURL handle is closed in a callback). (Tony)
10302- Fixed bug #33214 (odbc_next_result does not signal SQL errors with
10303 2-statement SQL batches). (rich at kastle dot com, Tony)
10304- Fixed bug #33212 ([GCC 4]: 'zend_error_noreturn' aliased to external symbol
10305 'zend_error'). (Dmitry)
10306- Fixed bug #33210 (relax jpeg recursive loop protection). (Ilia)
10307- Fixed bug #33201 (Crash when fetching some data types). (Frank)
10308- Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' modifier
10309 misbehave). (Jani)
10310- Fixed bug #33185 (--enable-session=shared does not build). (Jani)
10311- Fixed bug #33171 (foreach enumerates private fields declared in base
10312 classes). (Dmitry)
10313- Fixed bug #33167 (Possible crash inside pg_fetch_array()). (Ilia)
10314- Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). (Ilia)
10315- Fixed bug #33156 (cygwin version of setitimer doesn't accept ITIMER_PROF).
10316 (Nuno)
10317- Fixed bug #33153 (crash in mssql_next result). (Frank)
10318- Fixed bug #33150 (shtool: insecure temporary file creation). (Jani)
10319- Fixed bug #33136 (method offsetSet in class extended from ArrayObject crash
10320 PHP). (Marcus)
10321- Fixed bug #33125 (imagecopymergegray() produces mosaic rainbow effect).
10322 (Pierre)
10323- Fixed bug #33116 (crash when assigning class name to global variable in
10324 __autoload). (Dmitry)
10325- Fixed bug #33090 (mysqli_prepare() doesn't return an error). (Georg)
10326- Fixed bug #33076 (str_ireplace() incorrectly counts result string length
10327 and may cause segfault). (Tony)
10328- Fixed bug #33072 (Add a safemode/open_basedir check for runtime
10329 "session.save_path" change using session_save_path() function). (Rasmus)
10330- Fixed bug #33070 (Improved performance of bzdecompress() by several orders
10331 of magnitude). (Ilia)
10332- Fixed bug #33059 (crash when moving xml attribute set in dtd). (Ilia)
10333- Fixed bug #33057 (Don't send extraneous entity-headers on a 304 as per
10334 RFC 2616 section 10.3.5) (Rasmus, Choitel)
10335- Fixed bug #33019 (socket errors cause memory leaks in php_strerror()).
10336 (jwozniak23 at poczta dot onet dot pl, Tony).
10337- Fixed bug #33017 ("make distclean" gives an error with VPATH build). (Jani)
10338- Fixed bug #33013 ("next month" was handled wrong while parsing dates).
10339 (Derick)
10340- Fixed bug #32993 (implemented Iterator function current() don't throw
10341 exception). (Dmitry)
10342- Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54
10343 seg fault). (Dmitry)
10344- Fixed bug #32956 (mysql_bind_result() doesn't support MYSQL_TYPE_NULL).
10345 (Georg)
10346- Fixed bug #32947 (Incorrect option for mysqli default password). (Georg)
10347- Fixed bug #32944 (Disabling session.use_cookies doesn't prevent reading
10348 session cookies). (Jani, Tony)
10349- Fixed bug #32941 (Sending structured SOAP fault kills a php). (Dmitry)
10350- Fixed bug #32937 (open_basedir looses trailing / in the limiter).
10351 (Adam Conrad)
10352- Fixed bug #32936 (http redirects URLs are not checked for control chars).
10353 (Ilia)
10354- Fixed bug #32933 (Cannot extend class "SQLiteDatabase"). (Marcus)
10355- Fixed bug #32932 (Oracle LDAP: ldap_get_entries(), invalid pointer). (Jani)
10356- Fixed bug #32930 (class extending DOMDocument doesn't clone properly). (Rob)
10357- Fixed bug #32924 (file included with "auto_prepend_file" can be included
10358 with require_once() or include_once()). (Stas)
10359- Fixed bug #32904 (pg_get_notify() ignores result_type parameter). (Tony)
10360- Fixed bug #32852 (Crash with singleton and __destruct when
10361 zend.ze1_compatibility_mode = On). (Dmitry)
10362- Fixed bug #32833 (Invalid opcode). (Dmitry)
10363- Fixed bug #32813 (parse_url() does not handle scheme-only urls properly).
10364 (Ilia)
10365- Fixed bug #32810 (temporary files not using plain file wrapper). (Ilia)
10366- Fixed bug #32809 (Missing T1LIB support on Windows). (Edin)
10367- Fixed bug #32802 (General cookie overrides more specific cookie). (Ilia)
10368- Fixed bugs #32800, #32830 (ext/odbc: Problems with 64bit systems). (Jani)
10369- Fixed bug #32799 (crash: calling the corresponding global var during the
10370 destruct). (Dmitry)
10371- Fixed bug #32776 (SOAP doesn't support one-way operations). (Dmitry)
10372- Fixed bug #32773 (GMP functions break when second parameter is 0). (Stas)
10373- Fixed bug #32759 (incorrect determination of default value (COM)). (Wez)
10374- Fixed bug #32758 (Cannot access safearray properties in VB6 objects). (Wez)
10375- Fixed bug #32755 (Segfault in replaceChild() when DocumentFragment has no
10376 children). (Rob)
10377- Fixed bug #32753 (Undefined constant SQLITE_NOTADB). (Ilia)
10378- Fixed bug #32742 (segmentation fault when the stream with a wrapper
10379 is not closed). (Tony, Dmitry)
10380- Fixed bug #32699 (pg_affected_rows() was defined when it was not available).
10381 (Derick)
10382- Fixed bug #32686 (Require/include file in destructor causes segfault).
10383 (Marcus)
10384- Fixed bug #32682 (ext/mssql: Error on module shutdown when called from
10385 activescript). (Frank)
10386- Fixed bug #32674 (exception in iterator causes crash). (Dmitry)
10387- Fixed bug #32660 (Assignment by reference causes crash when field access is
10388 overloaded (__get)). (Dmitry)
10389- Fixed bug #32647 (Using register_shutdown_function() with invalid callback
10390 can crash PHP). (Jani)
10391- Fixed bug #32615 (Segfault in replaceChild() using fragment when
10392 previousSibling is NULL). (Rob)
10393- Fixed bug #32613 (ext/snmp: use of snmp_shutdown() causes snmpapp.conf
10394 access errors). (Jani, ric at arizona dot edu)
10395- Fixed bug #32608 (html_entity_decode() converts single quotes even if
10396 ENT_NOQUOTES is given). (Ilia)
10397- Fixed bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct).
10398 (Dmitry)
10399- Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX). (Jani)
10400- Fixed bug #32589 (possible crash inside imap_mail_compose() function).
10401 (Ilia)
10402- Fixed bug #32589 (Possible crash inside imap_mail_compose, with charsets).
10403 (Ilia)
10404- Fixed bug #32587 (Apache2: errors sent to error_log do not include
10405 timestamps). (Jani)
10406- Fixed bug #32560 (configure looks for incorrect db2 library). (Tony)
10407- Fixed bug #32553 (mmap loads only the 1st 2000000 bytes on Win32). (Ilia)
10408- Fixed bug #32533 (proc_get_status() returns the incorrect process status).
10409 (Ilia)
10410- Fixed bug #32530 (chunk_split() does not append endstr if chunklen is
10411 longer then the original string). (Ilia)
10412- Fixed bug #32491 (File upload error - unable to create a temporary file).
10413 (Uwe Schindler)
10414- Fixed bug #32455 (wrong setting property to unset value). (Dmitry)
10415- Fixed bug #32429 (method_exists() always return TRUE if __call method
10416 exists). (Dmitry)
10417- Fixed bug #32428 (The @ warning error suppression operator is broken).
10418 (Dmitry)
10419- Fixed bug #32427 (Interfaces are not allowed 'static' access modifier).
10420 (Dmitry)
10421- Fixed bug #32405 (mysqli::fetch() returns bad data - 64bit problem).
10422 (Andrey)
10423- Fixed bug #32296 (get_class_methods() output has changed between 5.0.2 and
10424 5.0.3). (Dmitry)
10425- Fixed bug #32282 (Segfault in mysqli_fetch_array on 64-bit). (Georg)
10426- Fixed bug #32245 (xml_parser_free() in a function assigned to the xml
10427 parser gives a segfault). (Rob)
10428- Fixed bug #32179 (xmlrpc_encode() segfaults with recursive references).
10429 (Tony)
10430- Fixed bug #32171 (Userspace stream wrapper crashes PHP). (Tony, Dmitry)
10431- Fixed bug #32160 (copying a file into itself leads to data loss). (Ilia)
10432- Fixed bug #32139 (SOAP client does not auto-handle base64 encoding). (Ilia)
10433- Fixed bug #32109 ($_POST is not populated in multi-threaded environment).
10434 (Moriyoshi)
10435- Fixed bug #32080 (segfault when assigning object to itself with
10436 zend.ze1_compatibility_mode=On). (Dmitry)
10437- Fixed bug #32021 (Crash caused by range('', 'z')). (Derick)
10438- Fixed bug #32013 (ext/mysqli bind_result causes fatal error: memory limit).
10439 (Andrey)
10440- Fixed bug #32010 (Memory leak in mssql_fetch_batch). (fmk)
10441- Fixed bug #32009 (crash when mssql_bind() is called more than once). (Frank)
10442- Fixed bug #31971 (ftp_login fails on some SSL servers).
10443 (frantisek at augusztin dot com)
10444- Fixed bug #31887 (ISAPI: Custom 5xx error does not return correct HTTP
10445 response message). (Jani)
10446- Fixed bug #31828 (Crash with zend.ze1_compatibility_mode=On). (Dmitry)
10447- Fixed bug #31668 (multi_query works exactly every other time - multi query
10448 d/e flag global and not per connection). (Andrey)
10449- Fixed bug #31636 (another crash when echoing a COM object). (Wez)
10450- Fixed bug #31583 (php_std_date() uses short day names in non-y2k_compliance
10451 mode). (mike at php dot net)
10452- Fixed bug #31525 (object reference being dropped. $this getting lost).
10453 (Stas, Dmitry)
10454- Fixed bug #31502 (Wrong deserialization from session when using WDDX
10455 serializer). (Dmitry)
10456- Fixed bug #31478 (segfault with empty() / isset()). (Moriyoshi)
10457- Fixed bug #31465 (False warning in unpack() when working with *). (Ilia)
10458- Fixed bug #31363 (broken non-blocking flock()). (ian at snork dot net)
10459- Fixed bug #31358 (Older GCC versions do not provide portable va_copy()).
10460 (Jani)
10461- Fixed bug #31341 (escape on curly inconsistent). (Dmitry)
10462- Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle
10463 -pthread). (Jani)
10464- Fixed bug #31213 (Side effects caused by fix of bug #29493). (Dmitry)
10465- Fixed bug #31177 (memory leaks and corruption because of incorrect
10466 refcounting). (Dmitry)
10467- Fixed bug #31158 (array_splice on $GLOBALS crashes). (Dmitry)
10468- Fixed bug #31054 (safe_mode & open_basedir checks only check first
10469 include_path value). (Ilia)
10470- Fixed bug #31033 (php:function(string, nodeset) with xsl:key crashes PHP).
10471 (Rob)
10472- Fixed bug #30961 (Wrong line number in ReflectionClass getStartLine()).
10473 (Dmitry)
10474- Fixed bug #30889 (Conflict between __get/__set and ++ operator). (Dmitry)
10475- Fixed bug #30833 (array_count_values() modifying input array). (Tony)
10476- Fixed bug #30828 (debug_backtrace() reports incorrect class in overridden
10477 methods). (Dmitry)
10478- Fixed bug #30820 (static member conflict with $this->member silently
10479 ignored). (Dmitry)
10480- Fixed bug #30819 (Better support for LDAP SASL bind). (Jani)
10481- Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call
10482 __call if object is overloaded). (Dmitry)
10483- Fixed bug #30707 (Segmentation fault on exception in method).
10484 (Stas, Dmitry)
10485- Fixed bug #30702 (cannot initialize class variable from class constant).
10486 (Dmitry)
10487- Fixed bug #30578 (Output buffers flushed before calling __destruct()
10488 functions). (Jani)
10489- Fixed bug #30519 (Interface not existing says Class not found). (Dmitry)
10490- Fixed bug #30407 (Strange behavior of default arguments). (Dmitry)
10491- Fixed bug #30394 (Assignment operators yield wrong result with __get/__set).
10492 (Dmitry)
10493- Fixed bug #30332 (zend.ze1_compatibility_mode isn't fully compatible with
10494 array_push()). (Dmitry)
10495- Fixed bug #30162 (Catching exception in constructor causes lose of
10496 $this). (Dmitry)
10497- Fixed bug #30140 (Problem with array in static properties). (Dmitry)
10498- Fixed bug #30126 (Enhancement for error message for abstract classes).
10499 (Marcus)
10500- Fixed bug #30096 (gmmktime does not return the current time). (Derick)
10501- Fixed bug #30080 (Passing array or non array of objects). (Dmitry)
10502- Fixed bug #30052 (Crash on shutdown after odbc_pconnect()). (Edin)
10503- Fixed bug #29983 (PHP does not explicitly set mime type & charset). (Ilia)
10504- Fixed bug #29975 (memory leaks when set_error_handler() is used inside error
10505 handler). (Tony)
10506- Fixed bug #29971 (variables_order behavior). (Dmitry)
10507- Fixed bug #29944 (Function defined in switch, crashes). (Dmitry)
10508- Fixed bug #29896 (Backtrace argument list out of sync). (Dmitry)
10509- Fixed bug #29728 (Reflection API Feature: Default parameter value). (Marcus)
10510- Fixed bug #29689 (default value of protected member overrides default value
10511 of private and other private variable problems in inherited classes). (Stas)
10512- Fixed bug #29683 (headers_list() returns empty array). (Tony)
10513- Fixed bug #29583 (crash when echoing a COM object). (M.Sisolak, Wez)
10514- Fixed bug #29522 (accessing properties without connection). (Georg)
10515- Fixed bug #29361 (var_export() producing invalid code). (Derick)
10516- Fixed bug #29338 (unencoded spaces get ignored after certain tags). (Ilia)
10517- Fixed bug #29335 (fetch functions now use MYSQLI_BOTH as default). (Georg)
10518- Fixed bug #29334 (win32 mail() provides incorrect Date: header). (Jani)
10519- Fixed bug #29311 (calling parent constructor in mysqli). (Georg)
10520- Fixed bug #29268 (__autoload() not called with Reflection->getClass()).
10521 (Dmitry)
10522- Fixed bug #29256 (SOAP HTTP Error when envelop size is more than 24345
10523 bytes). (Dmitry, Wez)
10524- Fixed bug #29253 (array_diff with $GLOBALS argument fails). (Dmitry)
10525- Fixed bug #29236 (memory error when wsdl-cache is enabled). (Dmitry)
10526- Fixed bug #29210 (Function: is_callable - no support for private and
10527 protected classes). (Dmitry)
10528- Fixed bug #29109 (SoapFault exception: [WSDL] Out of memory). (Dmitry)
10529- Fixed bug #29104 (Function declaration in method doesn't work). (Dmitry)
10530- Fixed bug #29061 (soap extension segfaults). (Dmitry)
10531- Fixed bug #29015 (Incorrect behavior of member vars(non string ones)-numeric
10532 mem vars and others). (Dmitry)
10533- Fixed bug #28985 (__getTypes() returning nothing on complex WSDL). (Dmitry)
10534- Fixed bug #28969 (Wrong data encoding of special characters). (Dmitry)
10535- Fixed bug #28839 (SIGSEGV in interactive mode (php -a)).
10536 (kameshj at fastmail dot fm)
10537- Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs). (Jani)
10538- Fixed bug #28568 (SAPI::known_post_content_types is not thread safe).
10539 (Moriyoshi)
10540- Fixed bug #28377 (debug_backtrace is intermittently passing args). (Dmitry)
10541- Fixed bug #28355 (glob wont error if dir is not readable). (Hartmut)
10542- Fixed bug #28072 (static array with some constant keys will be incorrectly
10543 ordered). (Dmitry)
10544- Fixed bug #27908 (xml default_handlers not being called). (Rob)
10545- Fixed bug #27598 (list() array key assignment causes HUGE memory leak).
10546 (Dmitry)
10547- Fixed bug #27268 (Bad references accentuated by clone). (Dmitry)
10548- Fixed bug #26456 (Wrong results from Reflection-API getDocComment() when
10549 called via STDIN). (Dmitry)
10550- Fixed bug #25922 (In error handler, modifying 5th arg (errcontext) may
10551 result in seg fault). (Dmitry)
10552- Fixed bug #25359 (array_multisort() doesn't work in a function if array is
10553 global or reference). (Dmitry)
10554- Fixed bug #22836 (returning reference to uninitialized variable). (Dmitry)
10555- Fixed bug #21306 (ext/sesssion: catch bailouts of write handler during
10556 RSHUTDOWN). (Jani, Xuefer at 21cn dot com)
10557- Fixed bug #15854 (boolean ini options may be incorrectly displayed as Off
10558 when they are On). (Tony)
10559- Fixed bugs #14561, #20382, #26090, #26320, #28024, #30532, #32086, #32270,
10560 #32555, #32588, #33056 (strtotime() related bugs). (Derick)
10561
1056231 Mar 2005, PHP 5.0.4
10563- Added SNMPv2 support. (harrie)
10564- Added Oracle Instant Client support. (cjbj at hotmail dot com, Tony)
10565- Added length and charsetnr for field array and object in mysqli. (Georg)
10566- Added checks for negative values to gmp_sqrt(), gmp_powm(), gmp_sqrtrem()
10567 and gmp_fact() to prevent SIGFPE. (Tony)
10568- Changed foreach() to throw an exception if IteratorAggregate::getIterator()
10569 does not return an Iterator. (Marcus)
10570- Changed phpize not to require libtool. (Jani)
10571- Updated bundled oniguruma library (used for multibyte regular expression)
10572 to 3.7.0. (Moriyoshi)
10573- Updated bundled libmbfl library (used for multibyte functions). (Moriyoshi)
10574 Fixed bugs:
10575 . Bug #32311 (mb_encode_mimeheader() does not properly escape characters)
10576 . Bug #32063 (mb_convert_encoding ignores named entity 'alpha')
10577 . Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes)
10578 . bug #30573 (compiler warnings in libmbfl due to invalid type cast)
10579 . Bug #30549 (incorrect character translations for some ISO8859 charsets).
10580- Fixed bug preventing from building oci8 as shared.
10581 (stanislav dot voroniy at portavita dot nl, Tony)
10582- Fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows when the
10583 api function returns -1 (Georg)
10584- Fixed several leaks in ext/browscap and sapi/embed. (Andrei)
10585- Fixed several leaks in ext/filepro. (Tony)
10586- Fixed build system to always use bundled libtool files. (Jani)
10587- Fixed a bug in mysqli_stmt_execute() (type conversion with NULL values).
10588 (Georg)
10589- Fixed segfault in mysqli_fetch_field_direct() when invalid field offset
10590 is passed. (Tony)
10591- Fixed posix_getsid() & posix_getpgid() to return sid & pgid instead
10592 of true. (Tony)
10593- Fixed bug #32394 (offsetUnset() segfaults in a foreach). (Marcus)
10594- Fixed bug #32373 (segfault in bzopen() if supplied path to non-existent
10595 file). (Tony)
10596- Fixed bug #32326 (Check values of Connection/Transfer-Encoding
10597 case-incentively in SOAP extension). (Ilia)
10598- Fixed bug #32290 (call_user_func_array() calls wrong class method within
10599 child class). (Marcus)
10600- Fixed bug #32238 (spl_array.c: void function cannot return value). (Johannes)
10601- Fixed bug #32210 (proc_get_status() sets "running" always to true). (Ilia)
10602- Fixed bug #32200 (Prevent using both --with-apxs2 and --with-apxs2filter).
10603 (Jani)
10604- Fixed bug #32134 (Overloading offsetGet/offsetSet). (Marcus)
10605- Fixed bug #32130 (ArrayIterator::seek() does not throw an Exception on
10606 invalid index). (Marcus)
10607- Fixed bug #32115 (dateTime SOAP encoding of timezone incorrect). (Dmitry)
10608- Fixed bug #32081 (in mysqli default socket value is not being used). (Ilia)
10609- Fixed bug #32021 (Crash caused by range('', 'z')). (Derick)
10610- Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable).
10611 (Rob)
10612- Fixed bug #32001 (xml_parse_into_struct() function exceeds maximum
10613 execution time). (Rob, Moriyoshi)
10614- Fixed bug #31980 (Unicode exif data not available on Windows). (Edin)
10615- Fixed bug #31960 (msql_fetch_row() and msql_fetch_array() dropping columns
10616 with NULL values). (Daniel Convissor)
10617- Fixed bug #31878 (Segmentation fault using clone keyword on nodes). (Rob)
10618- Fixed bug #31858 (--disable-cli does not force --without-pear). (Jani)
10619- Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string).
10620 (Jani)
10621- Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with
10622 multiple parts). (Dmitry)
10623- Fixed bug #31797 (exif_read_data() uses too low nesting limit). (Ilia)
10624- Fixed bug #31796 (readline completion handler does not handle empty return
10625 values). (Ilia)
10626- Fixed bug #31792 (getrusage() does not provide ru_nswap value). (Ilia)
10627- Fixed bug #31755 (Cannot create SOAP header in no namespace). (Dmitry)
10628- Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick)
10629- Fixed bug #31751 (pg_parameter_status() missing on Windows). (Edin)
10630- Fixed bug #31747 (SOAP Digest Authentication doesn't work with
10631 "HTTP/1.1 100 Continue" response). (Dmitry)
10632- Fixed bug #31732 (mb_get_info() causes segfault when no parameters
10633 specified). (Tony)
10634- Fixed bug #31710 (Wrong return values for mysqli_autocommit/commit/rollback).
10635 (Georg)
10636- Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar). (Ilia)
10637- Fixed bug #31695 (Cannot redefine endpoint when using WSDL). (Dmitry)
10638- Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings).
10639 (elod at itfais dot com)
10640- Fixed bug #31683 (changes to $name in __get($name) override future
10641 parameters) (Dmitry)
10642- Fixed bug #31699 (unserialize() float problem on non-English locales). (Ilia)
10643- Fixed bug #31562 (__autoload() problem with static variables). (Marcus)
10644- Fixed bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays).
10645 (Marcus)
10646- Fixed bug #31623 (OCILogin does not support password grace period).
10647 (daniel dot beet at accuratesoftware dot com, Tony)
10648- Fixed bug #31527 (crash in msg_send() when non-string is stored without
10649 being serialized). (Ilia)
10650- Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so). (Ilia)
10651- Fixed bug #31514 (open_basedir uses path_translated rather then cwd for .
10652 translation). (Ilia)
10653- Fixed bug #31480 (Possible infinite loop in imap_mail_compose()). (Ilia)
10654- Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen). (Ilia)
10655- Fixed bug #31454 (session_set_save_handler crashes PHP when supplied
10656 non-existent object ref). (Tony)
10657- Fixed bug #31444 (Memory leak in zend_language_scanner.c).
10658 (hexer at studentcenter dot org)
10659- Fixed bug #31442 (unserialize broken on 64-bit systems). (Marcus)
10660- Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globals
10661 is enabled). (Ilia)
10662- Fixed bug #31422 (No Error-Logging on SoapServer-Side). (Dmitry)
10663- Fixed bug #31413 (curl POSTFIELDS crashes on 64-bit platforms). (Joe)
10664- Fixed bug #31396 (compile fails with gd 2.0.33 without freetype). (Jani)
10665- Fixed bug #31371 (highlight_file() trims new line after heredoc). (Ilia)
10666- Fixed bug #31361 (simplexml/domxml segfault when adding node twice). (Rob)
10667- Fixed bug #31348 (CachingIterator::rewind() leaks). (Marcus)
10668- Fixed bug #31346 (ArrayIterator::next segfaults). (Marcus)
10669- Fixed bug #31190 (Unexpected warning then exception is thrown from
10670 call_user_func_array()). (phpbugs at domain51 dot net, Dmitry)
10671- Fixed bug #31142 (imap_mail_compose() fails to generate correct output). (Ilia)
10672- Fixed bug #31139 (XML Parser Functions seem to drop &amp; when parsing). (Rob)
10673- Fixed bug #31398 (When magic_guotes_gpc are enabled filenames with ' get cutoff).
10674 (Ilia)
10675- Fixed bug #31288 (Possible crash in mysql_fetch_field(), if mysql_list_fields()
10676 was not called previously). (Ilia)
10677- Fixed bug #31107, #31110, #31111, #31249 (Compile failure of zend_strtod.c).
10678 (Jani)
10679- Fixed bug #31110 (PHP 4.3.10 does not compile on Tru64 UNIX 5.1B). (Derick)
10680- Fixed bug #31107 (Compile failure on Solaris 9 (Intel) and gcc 3.4.3). (Derick)
10681- Fixed bug #31103 (Better error message when c-client cannot be found). (Ilia)
10682- Fixed bug #31101 (missing kerberos header file path with --with-openssl). (Jani)
10683- Fixed bug #31098 (isset() / empty() incorrectly return true in dereference of
10684 a string type). (Moriyoshi)
10685- Fixed bug #31087 (broken php_url_encode_hash macro). (Ilia)
10686- Fixed bug #31072 (var_export() does not output an array element with an empty
10687 string key). (Derick)
10688- Fixed bug #31060 (imageftbbox() does not use linespacing parameter). (Jani)
10689- Fixed bug #31056 (php_std_date() returns invalid formatted date if
10690 y2k_compliance is On). (Ilia)
10691- Fixed bug #31055 (apache2filter: per request leak proportional to the full
10692 path of the request URI). (kameshj at fastmail dot fm)
10693- Fixed bug #30901 (can't send cookies with soap envelop). (Dmitry)
10694- Fixed bug #30871 (Misleading warning message for array_combine()). (Andrey)
10695- Fixed bug #30868 (evaluated pointer comparison in mbregex causes compile
10696 failure). (Moriyoshi)
10697- Fixed bug #30862 (Static array with boolean indexes). (Marcus)
10698- Fixed bug #30726 (-.1 like numbers are not being handled correctly). (Ilia)
10699- Fixed bug #30725 (PHP segfaults when an exception is thrown in getIterator()
10700 within foreach). (Marcus)
10701- Fixed bug #30609 (cURL functions bypass open_basedir). (Jani)
10702- Fixed bug #30446 (apache2handler: virtual() includes files out of sequence)
10703- Fixed bug #30430 (odbc_next_result() doesn't bind values and that results
10704 in segfault). (pdan-php at esync dot org, Tony)
10705- Fixed bug #30266 (Invalid opcode 137/1/8). (Marcus)
10706- Fixed bug #30120 imagettftext() and imagettfbbox() accept too many
10707 parameters). (Jani)
10708- Fixed bug #30106 (SOAP cannot not parse 'ref' element. Causes Uncaught
10709 SoapFault exception). (Dmitry)
10710- Fixed bug #29989 (type re_registers redefined in oniguruma.h). (Moriyoshi)
10711- Fixed bug #28803 (enabled debug causes bailout errors with CLI on AIX
10712 because of fflush() called on already closed filedescriptor). (Tony)
10713- Fixed bug #29767 (Weird behaviour of __set($name, $value)). (Dmitry)
10714- Fixed bug #29733 (printf() handles repeated placeholders wrong).
10715 (bugs dot php dot net at bluetwanger dot de, Ilia)
10716- Fixed bug #29424 (width and height inverted for JPEG2000 files). (Ilia)
10717- Fixed bug #29329 (configure for mysqli with shared doesn't work). (Georg)
10718- Fixed bug #29136 (make test - libtool failure on MacOSX). (Jani)
10719- Fixed bug #28976 (mail(): use "From:" from headers if sendmail_from is empty).
10720 (Jani)
10721- Fixed bug #28930 (PHP sources pick wrong header files generated by bison).
10722 (eggert at gnu dot org, Jani)
10723- Fixed bug #28840 (__destruct of a class that extends mysqli not called).
10724 (Marcus)
10725- Fixed bug #28804 (ini-file section parsing pattern is buggy).
10726 (wendland at scan-plus dot de)
10727- Fixed bug #28451 (corrupt EXIF headers have unlimited recursive IFD directory
10728 entries). (Andrei)
10729- Fixed bug #28444 (Cannot access undefined property for object with overloaded
10730 property access). (Dmitry)
10731- Fixed bug #28442 (Changing a static variables in a class changes it across
10732 sub/super classes.) (Marcus)
10733- Fixed bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is
10734 Off). (Tony)
10735- Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream).
10736 (chris at ex-parrot dot com)
10737- Fixed bug #28067 (partially incorrect utf8 to htmlentities mapping). (Derick,
10738 Benjamin Greiner)
10739- Fixed bug #28041 (SOAP HTTP Digest Access Authentication). (Dmitry)
10740- Fixed bug #27633 (Double \r problem on ftp_get in ASCII mode on Win32). (Ilia)
10741- Fixed bug #18613 (Multiple OUs in x509 certificate not handled properly).
10742 (Jani)
10743
1074415 Dec 2004, PHP 5.0.3
10745- Added the %F modifier to *printf to render a non-locale-aware representation
10746 of a float with the . as decimal seperator. (Derick)
10747- Fixed error handling in mysqli_multi_query. (Georg)
10748- Extended the functionality of is_subclass_of() to accept either a class name
10749 or an object as first parameter. (Andrey)
10750- Fixed potential problems with unserializing invalid serialize data. (Marcus)
10751- Fixed bug #32076 (ReflectionMethod::isDestructor() always return true).
10752 (Derick, Tony)
10753- Fixed bug #31034 (Problem with non-existing iconv header file). (Derick)
10754- Fixed bug #30995 (snmp extension does not build with net-snmp 5.2). (Ilia)
10755- Fixed bug #30994 (SOAP server unable to handle request with references).
10756 (Dmitry)
10757- Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag). (Ilia)
10758- Fixed bug #30967 (properties in extended mysqli classes don't work). (Georg)
10759- Fixed bug #30928 (When Using WSDL, SoapServer doesn't handle private or
10760 protected properties). (Dmitry)
10761- Fixed bug #30922 (reflective functions crash PHP when interfaces extend
10762 themselves). (Tony, Dmitry)
10763- Fixed bug #30904 (segfault when recording soapclient into session). (Tony,
10764 Dmitry)
10765- Fixed bug #30890 (MySQLi testsuite)
10766- Fixed bug #30856 (ReflectionClass::getStaticProperties segfaults). (Marcus)
10767- Fixed bug #30832 ("!" stripped off comments in xml parser). (Rob)
10768- Fixed bug #30799 (SoapServer doesn't handle private or protected properties).
10769 (Dmitry)
10770- Fixed bug #30783 (Apache crash when using ReflectionFunction::
10771 getStaticVariables()). (Marcus)
10772- Fixed bug #30750 (Meaningful error message when upload directory is not
10773 accessible). (Ilia)
10774- Fixed bug #30685 (Malformed SOAPClient http header reequest). (Dmitry)
10775- Fixed bug #30672 (Problem handling exif data in jpeg images at unusual
10776 places). (Marcus)
10777- Fixed bug #30658 (Ensure that temporary files created by GD are removed).
10778 (Ilia)
10779- Fixed bug #30645 (def. multi result set support for mysql_connect). (Georg)
10780- Fixed bug #30637 (compile with pear error). (Antony)
10781- Fixed bug #30587 (array_multisort doesn't separate zvals before
10782 changing them). (Tony)
10783- Fixed bug #30572 (crash when comparing SimpleXML attribute to a boolean).
10784 (Andi)
10785- Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing).
10786 (Rob)
10787- Fixed bug #30490 (PEAR installation fails). (Antony)
10788- Fixed bug #30475 (curl_getinfo() may crash in some situations). (Ilia)
10789- Fixed bug #30442 (segfault when parsing ?getvariable[][ ). (Tony)
10790- Fixed bug #30388 (rename across filesystems loses ownership and
10791 permission info). (Tony)
10792- Fixed bug #30387 (stream_socket_client async connect was broken).
10793 (vnegrier at esds dot com, Wez).
10794- Fixed bug #30381 (Strange results with get_class_vars()). (Marcus)
10795- Fixed bug #30375 (cal_info() does not work without a parameter). (Ilia)
10796- Fixed bug #30362 (stream_get_line() not handling end string correctly).
10797 (Ilia)
10798- Fixed bug #30359 (SOAP client requests have no port in "Host" field).
10799 (Dmitry)
10800- Fixed bug #30356 (str_ireplace() does not work on all strings). (Ilia)
10801- Fixed bug #30344 (Reflection::getModifierNames() returns too long strings).
10802 (Marcus)
10803- Fixed bug #30329 (Error Fetching http body, No Content-Length, connection
10804 closed or chunked data). (Dmitry)
10805- Fixed bug #30282 (segfault when using unknown/unsupported
10806 session.save_handler and/or session.serialize_handler). (Tony)
10807- Fixed bug #30281 (Prevent non-wbmp images from being detected as such).
10808 (Ilia)
10809- Fixed bug #30276 (Possible crash in ctype_digit on large numbers). (Ilia)
10810- Fixed bug #30230 (exception handler not working with objects). (Marcus)
10811- Fixed bug #30224 (Sybase date strings are sometimes not null terminated).
10812 (Ilia)
10813- Fixed bug #30175 (SOAP results aren't parsed correctly). (Dmitry)
10814- Fixed bug #30147 (OO sqlite_fetch_object did not reset error handler). (Wez)
10815- Fixed bug #30133 (get_current_user() crashes on Windows). (Edin)
10816- Fixed bug #30061 (xml_set_start_namespace_decl_handler not called). (Rob)
10817- Fixed bug #30057 (did not detect IPV6 on FreeBSD 4.1). (Wez)
10818- Fixed bug #30042 (strtotime does not use second param). (Derick)
10819- Fixed bug #30027 (Possible crash inside ftp_get()).
10820 (cfield at affinitysolutions dot com)
10821- Fixed bug #29954 (array_reduce segfaults when initial value is array). (Tony)
10822- Fixed bug #29883 (isset gives invalid values on strings). (Tony, Dmitry)
10823- Fixed bug #29801 (Set limit on the size of mmapable data). (Ilia)
10824- Fixed bug #29557 (strtotime error). (Derick)
10825- Fixed bug #29418 (double free when openssl_csr_new fails).
10826 (Kamesh Jayachandran).
10827- Fixed bug #29385 (Soapserver always uses std class). (David, Dmitry)
10828- Fixed bug #29211 (SoapClient doesn't request wsdl through proxy). (Rob)
10829- Fixed bug #28817 (Var problem when extending domDocument). (Georg)
10830- Fixed bug #28599 (strtotime fails with zero base time). (Derick)
10831- Fixed bug #28598 (Lost support for MS Symbol fonts). (Pierre)
10832- Fixed bug #28220 (mb_strwidth() returns wrong width values for some hangul
10833 characters). (Moriyoshi)
10834- Fixed bug #28228 (NULL decimal separator is not being handled correctly).
10835 (Ilia)
10836- Fixed bug #28209 (strtotime("now")). (Derick)
10837- Fixed bug #27798 (private / protected variables not exposed by
10838 get_object_vars() inside class). (Marcus)
10839- Fixed bug #27728 (Can't return within a zend_try {} block or the previous
10840 bailout state isn't restored. (Andi)
10841- Fixed bug #27183 (Userland stream wrapper segfaults on stream_write).
10842 (Christian)
10843
1084423 Sep 2004, PHP 5.0.2
10845- Added new boolean (fourth) parameter to array_slice() that turns on the
10846 preservation of keys in the returned array. (Derick)
10847- Added the sorting flag SORT_LOCALE_STRING to the sort() functions which makes
10848 them sort based on the current locale. (Derick)
10849- Added interface_exists() and make class_exists() only return true for real
10850 classes. (Andrey)
10851- Added PHP_EOL constant that contains the OS way of representing newlines.
10852 (Paul Hudson, Derick)
10853- Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory
10854 exhaustion. (Andrei)
10855- Renamed SoapClient->__call() to SoapClinet->__soapCall(). (Dmitry)
10856- Fixed bug with raw_post_data not getting set (Brian)
10857- Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev)
10858- Fixed bug #30209 (ReflectionClass::getMethod() lowercases attribute).
10859 (Marcus)
10860- Fixed bug #30182 (SOAP module processing WSDL file dumps core). (Dmitry)
10861- Fixed bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests).
10862 (Dmitry)
10863- Fixed bug #29985 (unserialize()/ __PHP_Incomplete_class does not report
10864 correctly class name). (Marcus, Tony)
10865- Fixed bug #29945 (simplexml_load_file URL limitation 255 char). (Rob)
10866- Fixed bug #29873 (No defines around pcntl_*priority definitions). (Derick)
10867- Fixed bug #29844 (SOAP doesn't return the result of a valid SOAP request).
10868 (Dmitry)
10869- Fixed bug #29842 (soapclient return null value). (Dmitry)
10870- Fixed bug #29839 (incorrect convert (xml:lang to lang)). (Dmitry)
10871- Fixed bug #29830 (SoapServer::setClass() should not export non-public
10872 methods). (Dmitry)
10873- Fixed bug #29828 (Interfaces no longer work). (Marcus)
10874- Fixed bug #29821 (Fixed possible crashes in convert_uudecode() on invalid
10875 data). (Ilia)
10876- Fixed bug #29808 (array_count_values() breaks with numeric strings). (Ilia)
10877- Fixed bug #29805 (HTTP Authentication Issues). (Uwe Schindler)
10878- Fixed bug #29795 (SegFault with Soap and Amazon's Web Services). (Dmitry)
10879- Fixed bug #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE
10880 on error). (Tony)
10881- Fixed bug #29711 (Changed ext/xml to default to UTF-8 output). (Rob)
10882- Fixed bug #29678 (opendir() with ftp:// wrapper segfaults if path does not
10883 have trailing slash). (Ilia)
10884- Fixed bug #29657 (xml_* functions throw non descriptive error).
10885 (Christian, Rob)
10886- Fixed bug #29656 (segfault on result and statement properties). (Georg)
10887- Fixed bug #29566 (foreach/string handling strangeness (crash)). (Dmitry)
10888- Fixed bug #29447 (Reflection API issues). (Marcus)
10889- Fixed bug #29296 (Added sslv2 and sslv3 transports). (Wez)
10890- Fixed bug #29283 (Invalid statement handle in mysqli on execute). (Georg)
10891- Fixed bug #29913 (parse_url() is now binary safe). (Ilia)
10892- Fixed bug #27994 (segfault with Soapserver when WSDL-Cache is enabled).
10893 (Dmitry)
10894- Fixed bug #27791 (Apache 2.0 SAPI build against Apache 2 HEAD). (Joe Orton,
10895 Derick)
10896- Fixed bug #26737 (pr