Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 7474 lines (7030 sloc) 384.017 kb
f419839 - Getting rid of the BOM.
Derick Rethans authored
1 PHP NEWS
d3e8858 @zsuraski Please add in any changes/bug fixes you've made - we need to keep a deta...
zsuraski authored
2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ce92857 @smalyshev fix NEWS
smalyshev authored
3 ?? ??? 2012, PHP 5.4.7
4
d1f0662 @laruence Fixed bug #62725 (Calling exit() in a shutdown function does not return ...
laruence authored
5 - Core:
6 . Fixed bug #62725 (Calling exit() in a shutdown function does not return
7 the exit value). (Laruence)
8
53c8612 @laruence Fixed bug #62685 (Wrong return datatype in PDO::inTransaction())
laruence authored
9 - PDO:
10 . Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()). (Laruence)
11
ce92857 @smalyshev fix NEWS
smalyshev authored
12 - Reflection:
13 . Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong
14 result). (Laruence)
15
a213c10 @smalyshev Merge branch 'pull-request/112' into PHP-5.4
smalyshev authored
16 ?? ??? 2012, PHP 5.4.6
17
0988ae3 @laruence Implemented FR #62700 (have the console output 'Listening on http://loca...
laruence authored
18 - CLI Server:
19 . Implemented FR #62700 (have the console output 'Listening on
20 http://localhost:8000'). (pascal.chevrel@free.fr)
21
9c28393 @felipensp - BFN
felipensp authored
22 - Core:
b4b3a65 @laruence Fixed bug #62661 (Interactive php-cli crashes if include() is used in au...
laruence authored
23 . Fixed bug #62661 (Interactive php-cli crashes if include() is used in
24 auto_prepend_file). (Laruence)
eae0610 @laruence Fixed bug #62653: (unset($array[$float]) causes a crash)
laruence authored
25 . Fixed bug #62653: (unset($array[$float]) causes a crash). (Nikita Popov,
26 Laruence)
9c28393 @felipensp - BFN
felipensp authored
27 . Fixed bug #62565 (Crashes due non-initialized internal properties_table).
28 (Felipe)
ff729aa @smalyshev sync NEWS
smalyshev authored
29 . Fixed bug #60194 (--with-zend-multibyte and --enable-debug reports LEAK
30 with run-test.php). (Laruence)
9c28393 @felipensp - BFN
felipensp authored
31
4323a7a @laruence update NEWS
laruence authored
32 - CURL:
33 . Fixed bug #62499 (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).
34 (r.hampartsumyan@gmail.com, Laruence)
a213c10 @smalyshev Merge branch 'pull-request/112' into PHP-5.4
smalyshev authored
35
e3b9b1e @laruence Fixed Bug #62500 (Segfault in DateInterval class when extended)
laruence authored
36 - DateTime:
37 . Fixed Bug #62500 (Segfault in DateInterval class when extended). (Laruence)
9c28393 @felipensp - BFN
felipensp authored
38
1916bb2 @smalyshev Merge branch 'pull-request/91' into PHP-5.4
smalyshev authored
39 - Fileinfo:
40 . Fixed bug #61964 (finfo_open with directory causes invalid free).
c7c939b @laruence Bug doesn't exists in any release
laruence authored
41 (reeze.xia@gmail.com)
1916bb2 @smalyshev Merge branch 'pull-request/91' into PHP-5.4
smalyshev authored
42
9c28393 @felipensp - BFN
felipensp authored
43 - Intl:
44 . Fixed bug #62564 (Extending MessageFormatter and adding property causes
45 crash). (Felipe)
e3b9b1e @laruence Fixed Bug #62500 (Segfault in DateInterval class when extended)
laruence authored
46
25be12a @laruence Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode)
laruence authored
47 - MySQLnd:
48 . Fixed bug #62594 (segfault in mysqlnd_res_meta::set_mode). (Laruence)
49
860b3ff @johannes Fix Bug #62612 readline extension compilation fails
johannes authored
50 - readline:
51 . Fixed bug #62612 (readline extension compilation fails with
52 sapi/cli/cli.h: No such file). (Johannes)
53
f480942 @smalyshev Merge branch 'pull-request/96' into PHP-5.4
smalyshev authored
54 - Reflection:
c7614a8 @cataphract NEWS for b47d6b32
cataphract authored
55 . Implemented FR #61602 (Allow access to name of constant used as default
f480942 @smalyshev Merge branch 'pull-request/96' into PHP-5.4
smalyshev authored
56 value). (reeze.xia@gmail.com)
57
4323a7a @laruence update NEWS
laruence authored
58 - SimpleXML:
59 . Implemented FR #55218 Get namespaces from current node. (Lonny)
60
55dbd8c @smalyshev update NEWS
smalyshev authored
61 - SPL:
0c99661 @laruence Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance ...
laruence authored
62 . Fixed bug #62616 (ArrayIterator::count() from IteratorIterator instance
63 gives Segmentation fault). (Laruence, Gustavo)
55dbd8c @smalyshev update NEWS
smalyshev authored
64 . Fixed bug #61527 (ArrayIterator gives misleading notice on next() when
65 moved to the end). (reeze.xia@gmail.com)
66
2d9d2ca @laruence Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS buil...
laruence authored
67 - Streams:
68 . Fixed bug #62597 (segfault in php_stream_wrapper_log_error with ZTS build).
69 (Laruence)
70
a6f1533 @laruence Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compres...
laruence authored
71 - Zlib:
72 . Fixed bug #55544 (ob_gzhandler always conflicts with
73 zlib.output_compression). (Laruence)
74
7d890ee @smalyshev update 5.4.5 date
smalyshev authored
75 19 Jul 2012, PHP 5.4.5
db1e425 @smalyshev restore NEWS
smalyshev authored
76
77 - Core:
8992da2 @smalyshev fix NEWS order
smalyshev authored
78 . Fixed bug #62443 (Crypt SHA256/512 Segfaults With Malformed
79 Salt). (Anthony Ferrara)
dfce6bf @smalyshev update NEWS
smalyshev authored
80 . Fixed bug #62432 (ReflectionMethod random corrupt memory on high
81 concurrent). (Johannes)
82 . Fixed bug #62373 (serialize() generates wrong reference to the object).
83 (Moriyoshi)
a44a1dc @laruence Fixed bug #62357 (compile failure: (S) Arguments missing for built-in fu...
laruence authored
84 . Fixed bug #62357 (compile failure: (S) Arguments missing for built-in
85 function __memcmp). (Laruence)
db1e425 @smalyshev restore NEWS
smalyshev authored
86 . Fixed bug #61998 (Using traits with method aliases appears to result in
87 crash during execution). (Dmitry)
c4cc431 @smalyshev rearrange news
smalyshev authored
88 . Fixed bug #51094 (parse_ini_file() with INI_SCANNER_RAW cuts a value that
89 includes a semi-colon). (Pierrick)
f8cc363 @smalyshev add CVE
smalyshev authored
90 . Fixed potential overflow in _php_stream_scandir (CVE-2012-2688).
91 (Jason Powell, Stas)
db1e425 @smalyshev restore NEWS
smalyshev authored
92
93 - EXIF:
94 . Fixed information leak in ext exif (discovered by Martin Noga,
95 Matthew "j00ru" Jurczyk, Gynvael Coldwind)
96
503358c @cataphract Fix bug #62266
cataphract authored
97 - FPM:
db1e425 @smalyshev restore NEWS
smalyshev authored
98 . Fixed bug #62205 (php-fpm segfaults (null passed to strstr)). (fat)
99 . Fixed bug #62160 (Add process.priority to set nice(2) priorities). (fat)
100 . Fixed bug #62153 (when using unix sockets, multiples FPM instances
101 . Fixed bug #62033 (php-fpm exits with status 0 on some failures to start).
102 (fat)
103 . Fixed bug #61839 (Unable to cross-compile PHP with --enable-fpm). (fat)
104 . Fixed bug #61835 (php-fpm is not allowed to run as root). (fat)
105 . Fixed bug #61295 (php-fpm should not fail with commented 'user'
106 . Fixed bug #61218 (FPM drops connection while receiving some binary values
107 in FastCGI requests). (fat)
108 . Fixed bug #61045 (fpm don't send error log to fastcgi clients). (fat)
109 for non-root start). (fat)
110 . Fixed bug #61026 (FPM pools can listen on the same address). (fat)
111 can be launched without errors). (fat)
112
113 - Iconv:
114 . Fix bug #55042 (Erealloc in iconv.c unsafe). (Stas)
115
503358c @cataphract Fix bug #62266
cataphract authored
116 - Intl:
e118a07 @smalyshev merge 5.3 entries
smalyshev authored
117 . Fixed bug #62083 (grapheme_extract() memory leaks). (Gustavo)
db1e425 @smalyshev restore NEWS
smalyshev authored
118 . ResourceBundle constructor now accepts NULL for the first two arguments.
119 (Gustavo)
e118a07 @smalyshev merge 5.3 entries
smalyshev authored
120 . Fixed bug #62081 (IntlDateFormatter constructor leaks memory when called
121 twice). (Gustavo)
122 . Fixed bug #62070 (Collator::getSortKey() returns garbage). (Gustavo)
123 . Fixed bug #62017 (datefmt_create with incorrectly encoded timezone leaks
124 pattern). (Gustavo)
dfce6bf @smalyshev update NEWS
smalyshev authored
125 . Fixed bug #60785 (memory leak in IntlDateFormatter constructor). (Gustavo)
db1e425 @smalyshev restore NEWS
smalyshev authored
126
b741d33 @smalyshev fix bug #61359: json_encode() calls too many reallocs
smalyshev authored
127 - JSON:
128 . Fixed bug #61359 (json_encode() calls too many reallocs). (Stas)
129
503358c @cataphract Fix bug #62266
cataphract authored
130 - libxml:
131 . Fixed bug #62266 (Custom extension segfaults during xmlParseFile with FPM
132 SAPI). (Gustavo)
133
dfce6bf @smalyshev update NEWS
smalyshev authored
134 - Phar:
135 . Fixed bug #62227 (Invalid phar stream path causes crash). (Felipe)
136
db1e425 @smalyshev restore NEWS
smalyshev authored
137 - Readline:
138 . Fixed bug #62186 (readline fails to compile - void function should not
139 return a value). (Johannes)
140
141 - Reflection:
e886272 @felipensp - BFN
felipensp authored
142 . Fixed bug #62384 (Attempting to invoke a Closure more than once causes
143 segfault). (Felipe)
144 . Fixed bug #62202 (ReflectionParameter::getDefaultValue() memory leaks
145 with constant). (Laruence)
db1e425 @smalyshev restore NEWS
smalyshev authored
146
147 - Sockets:
148 . Fixed bug #62025 (__ss_family was changed on AIX 5.3). (Felipe)
149
dfce6bf @smalyshev update NEWS
smalyshev authored
150 - SPL:
be4053c @laruence Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to...
laruence authored
151 . Fixed bug #62433 (Inconsistent behavior of RecursiveDirectoryIterator to
152 dot files). (Laruence)
dfce6bf @smalyshev update NEWS
smalyshev authored
153 . Fixed bug #62262 (RecursiveArrayIterator does not implement Countable).
154 (Nikita Popov)
155
db1e425 @smalyshev restore NEWS
smalyshev authored
156 - XML Writer:
157 . Fixed bug #62064 (memory leak in the XML Writer module).
158 (jean-pierre dot lozi at lip6 dot fr)
c467e81 @adoy NEWS File
adoy authored
159
7907dc4 @weltling updated NEWS
weltling authored
160 - Zip:
161 . Upgraded libzip to 0.10.1 (Anatoliy)
db1e425 @smalyshev restore NEWS
smalyshev authored
162
7a0f4cf @smalyshev update NEWS
smalyshev authored
163 14 Jun 2012, PHP 5.4.4
d102030 @adoy Fixed memory leak in substr_replace
adoy authored
164
db1e425 @smalyshev restore NEWS
smalyshev authored
165 - COM:
166 . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
167
16748fe @rlerdorf CLI Server was sending "Connection: closed" instead of "Connection: clos...
rlerdorf authored
168 - CLI Server:
1e60d0c @laruence Implemented FR #61977 (Need CLI web-server support for files with .htm &...
laruence authored
169 . Implemented FR #61977 (Need CLI web-server support for files with .htm &
170 svg extensions). (Sixd, Laruence)
cc58373 @laruence Improved performance while sending error page
laruence authored
171 . Improved performance while sending error page, this also fixed
172 bug #61785 (Memory leak when access a non-exists file without router).
173 (Laruence)
a72b214 @smalyshev update NEWS/UPGRADING
smalyshev authored
174 . Fixed bug #61546 (functions related to current script failed when chdir()
175 in cli sapi). (Laruence, reeze.xia@gmail.com)
16748fe @rlerdorf CLI Server was sending "Connection: closed" instead of "Connection: clos...
rlerdorf authored
176
f7cd058 @adoy Fixed bug #61225 (Lexing 0b0*+<NUM> incorectly)
adoy authored
177 - Core:
a72b214 @smalyshev update NEWS/UPGRADING
smalyshev authored
178 . Fixed missing bound check in iptcparse(). (chris at chiappa.net)
db1e425 @smalyshev restore NEWS
smalyshev authored
179 . Fixed CVE-2012-2143. (Solar Designer)
180 . Fixed bug #62097 (fix for for bug #54547). (Gustavo)
3332943 @laruence Fixed Bug #62005 (unexpected behavior when incrementally assigning to a ...
laruence authored
181 . Fixed bug #62005 (unexpected behavior when incrementally assigning to a
182 member of a null object). (Laruence)
f46a064 @felipensp - BFN
felipensp authored
183 . Fixed bug #61978 (Object recursion not detected for classes that implement
184 JsonSerializable). (Felipe)
a72b214 @smalyshev update NEWS/UPGRADING
smalyshev authored
185 . Fixed bug #61991 (long overflow in realpath_cache_get()). (Anatoliy)
72f19e9 @laruence Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config)
laruence authored
186 . Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config).
187 (Laruence)
b336af2 @felipensp - BFN
felipensp authored
188 . Fixed bug #61827 (incorrect \e processing on Windows) (Anatoliy)
a72b214 @smalyshev update NEWS/UPGRADING
smalyshev authored
189 . Fixed bug #61782 (__clone/__destruct do not match other methods when checking
190 access controls). (Stas)
dfce6bf @smalyshev update NEWS
smalyshev authored
191 . Fixed bug #61764 ('I' unpacks n as signed if n > 2^31-1 on LP64). (Gustavo)
172aa3c @laruence update NEWS
laruence authored
192 . Fixed bug #61761 ('Overriding' a private static method with a different
193 signature causes crash). (Laruence)
a72b214 @smalyshev update NEWS/UPGRADING
smalyshev authored
194 . Fixed bug #61730 (Segfault from array_walk modifying an array passed by
195 reference). (Laruence)
172aa3c @laruence update NEWS
laruence authored
196 . Fixed bug #61728 (PHP crash when calling ob_start in request_shutdown
197 phase). (Laruence)
dfce6bf @smalyshev update NEWS
smalyshev authored
198 . Fixed bug #61713 (Logic error in charset detection for htmlentities).
199 (Anatoliy)
7ae93a2 @nikic Fix bug #61660: bin2hex(hex2bin($data)) != $data
nikic authored
200 . Fixed bug #61660 (bin2hex(hex2bin($data)) != $data). (Nikita Popov)
014ed76 @laruence Update NEWS
laruence authored
201 . Fixed bug #61650 (ini parser crashes when using ${xxxx} ini variables
202 (without apache2)). (Laruence)
7cccb6b @laruence fix typo
laruence authored
203 . Fixed bug #61605 (header_remove() does not remove all headers). (Laruence)
a72b214 @smalyshev update NEWS/UPGRADING
smalyshev authored
204 . Fixed bug #54547 (wrong equality of string numbers). (Gustavo)
b0e8be8 @smalyshev organize NEWS
smalyshev authored
205 . Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename
206 set to null). (Anatoliy)
df2a38e @smalyshev fd fix
smalyshev authored
207 . Changed php://fd to be available only for CLI.
208
dfce6bf @smalyshev update NEWS
smalyshev authored
209 - CURL:
210 . Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction).
211 (Laruence)
d1e529c - fix NEWS for bug #61812
Jerome Loyet authored
212
dce2590 - Fixed bug #61045 (fpm don't send error log to fastcgi clients)
Jerome Loyet authored
213 - Fileinfo
b0e8be8 @smalyshev organize NEWS
smalyshev authored
214 . Fixed bug #61812 (Uninitialised value used in libmagic).
215 (Laruence, Gustavo)
e118a07 @smalyshev merge 5.3 entries
smalyshev authored
216 . Fixed bug #61566 failure caused by the posix lseek and read versions
217 under windows in cdf_read(). (Anatoliy)
218 . Fixed bug #61565 where php_stream_open_wrapper_ex tries to open a
219 directory descriptor under windows. (Anatoliy)
b0e8be8 @smalyshev organize NEWS
smalyshev authored
220
92039fe @cataphract Changed ResourceBundle constructor behavior
cataphract authored
221 - Intl
db1e425 @smalyshev restore NEWS
smalyshev authored
222 . Fixed bug #62082 (Memory corruption in internal function
223 get_icu_disp_value_src_php()). (Gustavo)
92039fe @cataphract Changed ResourceBundle constructor behavior
cataphract authored
224
b0e8be8 @smalyshev organize NEWS
smalyshev authored
225 - Libxml:
226 . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
227 (Laruence)
228
dfce6bf @smalyshev update NEWS
smalyshev authored
229 - PDO:
230 . Fixed bug #61755 (A parsing bug in the prepared statements can lead to
231 access violations). (Johannes)
232
233 - Phar:
234 . Fixed bug #61065 (Secunia SA44335, CVE-2012-2386). (Rasmus)
235
236 - Pgsql:
237 . Added pg_escape_identifier/pg_escape_literal. (Yasuo Ohgaki)
238
239 - Streams:
240 . Fixed bug #61961 (file_get_contents leaks when access empty file with
241 maxlen set). (Reeze)
242
b0e8be8 @smalyshev organize NEWS
smalyshev authored
243 - Zlib:
244 . Fixed bug #61820 (using ob_gzhandler will complain about headers already
245 sent when no compression). (Mike)
246 . Fixed bug #61443 (can't change zlib.output_compression on the fly). (Mike)
956d745 @m6w6 BFN
m6w6 authored
247 . Fixed bug #60761 (zlib.output_compression fails on refresh). (Mike)
b0e8be8 @smalyshev organize NEWS
smalyshev authored
248
5848220 @smalyshev update NEWS
smalyshev authored
249 08 May 2012, PHP 5.4.3
250
251 - CGI
252 . Re-Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.
253 (Stas)
254 . Fix bug #61807 - Buffer Overflow in apache_request_headers.
255 (nyt-php at countercultured dot net).
256
257 03 May 2012, PHP 5.4.2
258
259 - Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823. (Rasmus)
260
b0e8be8 @smalyshev organize NEWS
smalyshev authored
261 26 Apr 2012, PHP 5.4.1
262
263 - CLI Server:
264 . Fixed bug #61461 (missing checks around malloc() calls). (Ilia)
265 . Implemented FR #60850 (Built in web server does not set
266 $_SERVER['SCRIPT_FILENAME'] when using router). (Laruence)
267 . "Connection: close" instead of "Connection: closed" (Gustavo)
268
269 - Core:
270 . Fixed crash in ZTS using same class in many threads. (Johannes)
ed98579 @cataphract - Fixed bug #61374: html_entity_decode tries to decode code points that ...
cataphract authored
271 . Fixed bug #61374 (html_entity_decode tries to decode code points that don't
272 exist in ISO-8859-1). (Gustavo)
b7ae5e0 @laruence Fixed bug #61273 (call_user_func_array with more than 16333 arguments le...
laruence authored
273 . Fixed bug #61273 (call_user_func_array with more than 16333 arguments
274 leaks / crashes). (Laruence)
9bfe801 Fixed typo
Ilia Alshanetsky authored
275 . Fixed bug #61225 (Incorrect lexing of 0b00*+<NUM>). (Pierrick)
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
276 . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
277 . Fixed bug #61106 (Segfault when using header_register_callback). (Nikita
278 Popov)
279 . Fixed bug #61087 (Memory leak in parse_ini_file when specifying
280 invalid scanner mode). (Nikic, Laruence)
281 . Fixed bug #61072 (Memory leak when restoring an exception handler).
282 (Nikic, Laruence)
283 . Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX).
046e3e3 @laruence MFH: Fixed bug #60573 (type hinting with "self" keyword causes weird err...
laruence authored
284 (Laruence)
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
285 . Fixed bug #61052 (Missing error check in trait 'insteadof' clause). (Stefan)
9ddf055 Reorder
Christopher Jones authored
286 . Fixed bug #61011 (Crash when an exception is thrown by __autoload
287 accessing a static property). (Laruence)
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
288 . Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical
289 vars). (Laruence)
290 . Fixed bug #60978 (exit code incorrect). (Laruence)
291 . Fixed bug #60911 (Confusing error message when extending traits). (Stefan)
292 . Fixed bug #60801 (strpbrk() mishandles NUL byte). (Adam)
293 . Fixed bug #60717 (Order of traits in use statement can cause a fatal
294 error). (Stefan)
295 . Fixed bug #60573 (type hinting with "self" keyword causes weird errors).
296 (Laruence)
3d9824a Fixed bug #60569 (Nullbyte truncates Exception $message).
Ilia Alshanetsky authored
297 . Fixed bug #60569 (Nullbyte truncates Exception $message). (Ilia)
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
298 . Fixed bug #52719 (array_walk_recursive crashes if third param of the
299 function is by reference). (Nikita Popov)
e3dc1d8 @laruence Typo
laruence authored
300 . Improve performance of set_exception_handler while doing reset (Laruence)
d102030 @adoy Fixed memory leak in substr_replace
adoy authored
301
b0e8be8 @smalyshev organize NEWS
smalyshev authored
302 - fileinfo:
303 . Fix fileinfo test problems. (Anatoliy Belsky)
304
edb5781 Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
Ilia Alshanetsky authored
305 - FPM
306 . Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
307 (michaelhood at gmail dot com, Ilia)
308
2dee9ec Fixed bug #60947 (Segmentation fault while executing ibase_db_info)
Ilia Alshanetsky authored
309 - Ibase
310 . Fixed bug #60947 (Segmentation fault while executing ibase_db_info).
311 (Ilia)
312
15cd45e Fixed bug #61172 (Add Apache 2.4 support)
Christopher Jones authored
313 - Installation
314 . Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
315
cdfef0a @smalyshev NEWS for bug #61487
smalyshev authored
316 - Intl:
317 . Fixed bug #61487 (Incorrent bounds checking in grapheme_strpos).
318 (Stas)
319
9ddf055 Reorder
Christopher Jones authored
320 - mbstring:
321 . MFH mb_ereg_replace_callback() for security enhancements. (Rui)
322
a845e7b @johannes Fix bug #61003 mysql_stat() require a valid connection
johannes authored
323 - mysqli
324 . Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
325
46608a0 @johannes Fix bug #61194 PDO should export compression flag with myslqnd
johannes authored
326 - mysqlnd
e8e6611 @johannes Fix #61704 (Crash apache, phpinfo() threading issue)
johannes authored
327 . Fixed bug #61704 (Crash apache, phpinfo() threading issue). (Johannes)
46608a0 @johannes Fix bug #61194 PDO should export compression flag with myslqnd
johannes authored
328 . Fixed bug #60948 (mysqlnd FTBFS when -Wformat-security is enabled).
329 (Johannes)
330
a32a199 @laruence Fixed bug #61292 (Segfault while calling a method on an overloaded PDO o...
laruence authored
331 - PDO
332 . Fixed bug #61292 (Segfault while calling a method on an overloaded PDO
333 object). (Laruence)
334
46608a0 @johannes Fix bug #61194 PDO should export compression flag with myslqnd
johannes authored
335 - PDO_mysql
bdf6c28 @laruence Re-order them according to README.SVN-RULES
laruence authored
336 . Fixed bug #61207 (PDO::nextRowset() after a multi-statement query doesn't
337 always work). (Johannes)
a3cd950 @laruence Same wrong order here
laruence authored
338 . Fixed bug #61194 (PDO should export compression flag with myslqnd).
339 (Johannes)
46608a0 @johannes Fix bug #61194 PDO should export compression flag with myslqnd
johannes authored
340
0af900f Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO).
Ilia Alshanetsky authored
341 - PDO_odbc
342 . Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). (Ilia)
343
d256caf @nikic Merge: Fix bug #61184 Phar::webPhar() generates headers with trailing NU...
nikic authored
344 - Phar
9ddf055 Reorder
Christopher Jones authored
345 . Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL
346 bytes). (Nikita Popov)
d256caf @nikic Merge: Fix bug #61184 Phar::webPhar() generates headers with trailing NU...
nikic authored
347
dfce6bf @smalyshev update NEWS
smalyshev authored
348 - Readline:
349 . Fixed bug #61088 (Memory leak in readline_callback_handler_install).
350 (Nikic, Laruence)
351
e83f026 @laruence MFH: Fixed bug #60968 (Late static binding doesn't work with ReflectionM...
laruence authored
352 - Reflection:
054f3e3 @reeze Implemented FR #61602 Allow access to name of constant used as default v...
reeze authored
353 . Implemented FR #61602 (Allow access to the name of constant
354 used as function/method parameter's default value). (reeze.xia@gmail.com)
e83f026 @laruence MFH: Fixed bug #60968 (Late static binding doesn't work with ReflectionM...
laruence authored
355 . Fixed bug #60968 (Late static binding doesn't work with
356 ReflectionMethod::invokeArgs()). (Laruence)
357
dfce6bf @smalyshev update NEWS
smalyshev authored
358 - Session
359 . Fixed bug #60634 (Segmentation fault when trying to die() in
360 SessionHandler::write()). (Ilia)
361
362 - SOAP
363 . Fixed bug #61423 (gzip compression fails). (Ilia)
364 . Fixed bug #60887 (SoapClient ignores user_agent option and sends no
365 User-Agent header). (carloschilazo at gmail dot com)
366 . Fixed bug #60842, #51775 (Chunked response parsing error when
367 chunksize length line is > 10 bytes). (Ilia)
368 . Fixed bug #49853 (Soap Client stream context header option ignored).
369 (Dmitry)
370
430486f @laruence Fixed bug #61347 (inconsist isset behavior of Arrayobject)
laruence authored
371 - SPL:
0f00170 @cataphract Fixed bug #61453.
cataphract authored
372 . Fixed bug #61453 (SplObjectStorage does not identify objects correctly).
373 (Gustavo)
4191d5f @laruence Oops, sorry for my poor english
laruence authored
374 . Fixed bug #61347 (inconsistent isset behavior of Arrayobject). (Laruence)
430486f @laruence Fixed bug #61347 (inconsist isset behavior of Arrayobject)
laruence authored
375
9ddf055 Reorder
Christopher Jones authored
376 - Standard:
377 . Fixed memory leak in substr_replace. (Pierrick)
378 . Make max_file_uploads ini directive settable outside of php.ini (Rasmus)
9aec9cc @LawnGnome Fix bug #61409 (Bad formatting on phpinfo()). Patch by Jakub Vrana.
LawnGnome authored
379 . Fixed bug #61409 (Bad formatting on phpinfo()). (Jakub Vrana)
4cccba0 Fixed bug #60222 (time_nanosleep() does validate input params).
Ilia Alshanetsky authored
380 . Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia)
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
381 . Fixed bug #60106 (stream_socket_server silently truncates long unix socket
382 paths). (Ilia)
fda8d2f @laruence MFH: Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
laruence authored
383
0dcff95 @nikic Merge: Fix bug #61097: Memory leak in xmlrpc functions copying zvals
nikic authored
384 - XMLRPC:
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
385 . Fixed bug #61264 (xmlrpc_parse_method_descriptions leaks temporary
386 variable). (Nikita Popov)
387 . Fixed bug #61097 (Memory leak in xmlrpc functions copying zvals). (Nikita
388 Popov)
0dcff95 @nikic Merge: Fix bug #61097: Memory leak in xmlrpc functions copying zvals
nikic authored
389
3748034 @nikic Merge: Fix bug #61139: gzopen leaks when specifying invalid mode
nikic authored
390 - Zlib:
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
391 . Fixed bug #61306 (initialization of global inappropriate for ZTS). (Gustavo)
39d2996 @m6w6 MFH: Fixed bug #61287 (A particular string fails to decompress)
m6w6 authored
392 . Fixed bug #61287 (A particular string fails to decompress). (Mike)
ac6ea3d @cataphract - Updated NEWS with news of bug #61306 having been resolved (see r323988...
cataphract authored
393 . Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikita Popov)
3748034 @nikic Merge: Fix bug #61139: gzopen leaks when specifying invalid mode
nikic authored
394
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
395 01 Mar 2012, PHP 5.4.0
d5cab14 @smalyshev split changes between alphas
smalyshev authored
396
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
397 - Installation:
398 . autoconf 2.59+ is now supported (and required) for generating the
399 configure script with ./buildconf. Autoconf 2.60+ is desirable
400 otherwise the configure help order may be incorrect. (Rasmus, Chris Jones)
6e92347 Upgraded bundled PCRE to version 8.02.
Ilia Alshanetsky authored
401
0a6bcd4 @felipensp - Removed allow_call_time_pass_reference (Pierrick)
felipensp authored
402 - Removed legacy features:
7628da9 Removed support for break/continue $var syntax
Dmitry Stogov authored
403 . break/continue $var syntax. (Dmitry)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
404 . Safe mode and all related php.ini options. (Kalle)
405 . register_globals and register_long_arrays php.ini options. (Kalle)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
406 . import_request_variables(). (Kalle)
dd8e59d @KalleZ Removed safe_mode
KalleZ authored
407 . allow_call_time_pass_reference. (Pierrick)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
408 . define_syslog_variables php.ini option and its associated function. (Kalle)
409 . highlight.bg php.ini option. (Kalle)
410 . safe_mode, safe_mode_gid, safe_mode_include_dir,
411 safe_mode_exec_dir, safe_mode_allowed_env_vars and
412 safe_mode_protected_env_vars php.ini options.
413 . zend.ze1_compatibility_mode php.ini option.
d4b0a38 @laruence Fix typo (as tyearl's ask)
laruence authored
414 . Session bug compatibility mode (session.bug_compat_42 and
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
415 session.bug_compat_warn php.ini options). (Kalle)
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
416 . session_is_registered(), session_register() and session_unregister()
0a6bcd4 @felipensp - Removed allow_call_time_pass_reference (Pierrick)
felipensp authored
417 functions. (Kalle)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
418 . y2k_compliance php.ini option. (Kalle)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
419 . magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
420 php.ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
421 but always return false, set_magic_quotes_runtime raises an
422 E_CORE_ERROR. (Pierrick, Pierre)
423 . Removed support for putenv("TZ=..") for setting the timezone. (Derick)
424 . Removed the timezone guessing algorithm in case the timezone isn't set with
425 date.timezone or date_default_timezone_set(). Instead of a guessed
426 timezone, "UTC" is now used instead. (Derick)
77b2e54 Fixed PDO objects binary incompatibility
Dmitry Stogov authored
427
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
428 - Moved extensions to PECL:
3c4bafc clarify sqlite deprecation
Christopher Jones authored
429 . ext/sqlite. (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
430 not affected) (Johannes)
a8a9314 @johannes Add entry for sqlite
johannes authored
431
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
432 - General improvements:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
433 . Added short array syntax support ([1,2,3]), see UPGRADING guide for full
434 details. (rsky0711 at gmail . com, sebastian.deutsch at 9elements . com,
435 Pierre)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
436 . Added binary number format (0b001010). (Jonah dot Harris at gmail dot com)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
437 . Added support for Class::{expr}() syntax (Pierrick)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
438 . Added multibyte support by default. Previously PHP had to be compiled
439 with --enable-zend-multibyte. Now it can be enabled or disabled through
440 the zend.multibyte directive in php.ini. (Dmitry)
755c2cd Removed compile time dependency from ext/mbstring
Dmitry Stogov authored
441 . Removed compile time dependency from ext/mbstring (Dmitry)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
442 . Added support for Traits. (Stefan, with fixes by Dmitry and Laruence)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
443 . Added closure $this support back. (Stas)
444 . Added array dereferencing support. (Felipe)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
445 . Added callable typehint. (Hannes)
66ac89a @felipensp - Added indirect method call through array variable (FR Bug #47160)
felipensp authored
446 . Added indirect method call through array. FR #47160. (Felipe)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
447 . Added DTrace support. (David Soria Parra)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
448 . Added class member access on instantiation (e.g. (new foo)->bar()) support.
449 (Felipe)
450 . <?= is now always available regardless of the short_open_tag setting. (Rasmus)
451 . Implemented Zend Signal Handling (configurable option --enable-zend-signals,
452 off by default). (Lucas Nealan, Arnaud Le Blanc, Brian Shire, Ilia)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
453 . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
454 . Improved UNIX build system to allow building multiple PHP binary SAPIs and
55acfdf @rlerdorf Had the wrong bug number there
rlerdorf authored
455 one SAPI module the same time. FR #53271, FR #52419. (Jani)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
456 . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes)
457 . Improved the warning message of incompatible arguments. (Laruence)
458 . Improved ternary operator performance when returning arrays. (Arnaud, Dmitry)
459 . Changed error handlers to only generate docref links when the docref_root
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
460 php.ini setting is not empty. (Derick)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
461 . Changed silent conversion of array to string to produce a notice. (Patrick)
79a06bf @rlerdorf Remove reference to "default_charset" here since the it isn't
rlerdorf authored
462 . Changed default encoding from ISO-8859-1 to UTF-8 when not specified in
463 htmlspecialchars and htmlentities. (Rasmus)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
464 . Changed casting of null/''/false into an Object when adding a property
465 from E_STRICT into a warning. (Scott)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
466 . Changed E_ALL to include E_STRICT. (Stas)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
467 . Disabled Windows CRT warning by default, can be enabled again using the
468 php.ini directive windows_show_crt_warnings. (Pierre)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
469 . Fixed bug #55378: Binary number literal returns float number though its
470 value is small enough. (Derick)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
471
472 - Improved Zend Engine memory usage: (Dmitry)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
473 . Improved parse error messages. (Felipe)
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
474 . Replaced zend_function.pass_rest_by_reference by
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
475 ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags.
476 . Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE
477 in zend_function.fn_flags.
478 . Removed zend_arg_info.required_num_args as it was only needed for internal
46ef2ed Some grammar tweaks
Christopher Jones authored
479 functions. Now the first arg_info for internal functions (which has special
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
480 meaning) is represented by the zend_internal_function_info structure.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
481 . Moved zend_op_array.size, size_var, size_literal, current_brk_cont,
482 backpatch_count into CG(context) as they are used only during compilation.
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
483 . Moved zend_op_array.start_op into EG(start_op) as it's used only for
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
484 'interactive' execution of a single top-level op-array.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
485 . Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in
486 zend_op_array.fn_flags.
487 . op_array.vars array is trimmed (reallocated) during pass_two.
488 . Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED
489 in zend_class_entry.ce_flags.
490 . Reduced the size of zend_class_entry by sharing the same memory space
491 by different information for internal and user classes.
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
492 See zend_class_entry.info union.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
493 . Reduced size of temp_variable.
13342af Prep news file for 5.2
Ilia Alshanetsky authored
494
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
495 - Improved Zend Engine - performance tweaks and optimizations: (Dmitry)
c270347 MFH: Arithmetic speedup. Inlined most probable code-paths for arithmetic...
Dmitry Stogov authored
496 . Inlined most probable code-paths for arithmetic operations directly into
7402853 @johannes - Minor NEWS cleanup
johannes authored
497 executor.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
498 . Eliminated unnecessary iterations during request startup/shutdown.
499 . Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used.
500 (this may affect opcode caches!)
501 . Improved performance of @ (silence) operator.
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
502 . Simplified string offset reading. Given $str="abc" then $str[1][0] is now
503 a legal construct.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
504 . Added caches to eliminate repeatable run-time bindings of functions,
505 classes, constants, methods and properties.
506 . Added concept of interned strings. All strings constants known at compile
507 time are allocated in a single copy and never changed.
508 . ZEND_RECV now always has IS_CV as its result.
509 . ZEND_CATCH now has to be used only with constant class names.
510 . ZEND_FETCH_DIM_? may fetch array and dimension operands in different order.
46ef2ed Some grammar tweaks
Christopher Jones authored
511 . Simplified ZEND_FETCH_*_R operations. They can't be used with the
512 EXT_TYPE_UNUSED flag any more. This is a very rare and useless case.
513 ZEND_FREE might be required after them instead.
514 . Split ZEND_RETURN into two new instructions ZEND_RETURN and
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
515 ZEND_RETURN_BY_REF.
516 . Optimized access to global constants using values with pre-calculated
46ef2ed Some grammar tweaks
Christopher Jones authored
517 hash_values from the literals table.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
518 . Optimized access to static properties using executor specialization.
519 A constant class name may be used as a direct operand of ZEND_FETCH_*
520 instruction without previous ZEND_FETCH_CLASS.
46ef2ed Some grammar tweaks
Christopher Jones authored
521 . zend_stack and zend_ptr_stack allocation is delayed until actual usage.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
522
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
523 - Other improvements to Zend Engine:
524 . Added an optimization which saves memory and emalloc/efree calls for empty
525 HashTables. (Stas, Dmitry)
526 . Added ability to reset user opcode handlers (Yoram).
527 . Changed the structure of op_array.opcodes. The constant values are moved from
528 opcode operands into a separate literal table. (Dmitry)
529 . Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods.
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
530 (Dmitry)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
531
532 - Improved core functions:
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
533 . Enforce an extended class' __construct arguments to match the
534 abstract constructor in the base class.
535 . Disallow reusing superglobal names as parameter names.
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
536 . Added optional argument to debug_backtrace() and debug_print_backtrace()
537 to limit the amount of stack frames returned. (Sebastian, Patrick)
538 . Added hex2bin() function. (Scott)
539 . number_format() no longer truncates multibyte decimal points and thousand
540 separators to the first byte. FR #53457. (Adam)
541 . Added support for object references in recursive serialize() calls.
542 FR #36424. (Mike)
543 . Added support for SORT_NATURAL and SORT_FLAG_CASE in array
544 sort functions (sort, rsort, ksort, krsort, asort, arsort and
545 array_multisort). FR#55158 (Arpad)
546 . Added stream metadata API support and stream_metadata() stream class
547 handler. (Stas)
548 . User wrappers can now define a stream_truncate() method that responds
549 to truncation, e.g. through ftruncate(). FR #53888. (Gustavo)
550 . Improved unserialize() performance.
551 (galaxy dot mipt at gmail dot com, Kalle)
552 . Changed array_combine() to return empty array instead of FALSE when both
553 parameter arrays are empty. FR #34857. (joel.perras@gmail.com)
554 . Fixed bug #61095 (Incorect lexing of 0x00*+<NUM>). (Etienne)
555 . Fixed bug #60965 (Buffer overflow on htmlspecialchars/entities with
556 $double=false). (Gustavo)
557 . Fixed bug #60895 (Possible invalid handler usage in windows random
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
558 functions). (Pierre)
559 . Fixed bug #60879 (unserialize() Does not invoke __wakeup() on object).
560 (Pierre, Steve)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
561 . Fixed bug #60825 (Segfault when running symfony 2 tests).
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
562 (Dmitry, Laruence)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
563 . Fixed bug #60627 (httpd.worker segfault on startup with php_value).
564 . Fixed bug #60613 (Segmentation fault with $cls->{expr}() syntax). (Dmitry)
565 . Fixed bug #60611 (Segmentation fault with Cls::{expr}() syntax). (Laruence)
566 (Laruence)
567 . Fixed bug #60558 (Invalid read and writes). (Laruence)
568 . Fixed bug #60444 (Segmentation fault with include & class extending).
569 (Laruence, Dmitry).
570 . Fixed bug #60362 (non-existent sub-sub keys should not have values).
571 (Laruence, alan_k, Stas)
572 . Fixed bug #60350 (No string escape code for ESC (ascii 27), normally \e).
573 (php at mickweiss dot com)
574 . Fixed bug #60321 (ob_get_status(true) no longer returns an array when
575 buffer is empty). (Pierrick)
576 . Fixed bug #60282 (Segfault when using ob_gzhandler() with open buffers).
577 (Laruence)
578 . Fixed bug #60240 (invalid read/writes when unserializing specially crafted
579 strings). (Mike)
580 . Fixed bug #60227 (header() cannot detect the multi-line header with
581 CR(0x0D)). (rui)
582 . Fixed bug #60174 (Notice when array in method prototype error).
583 (Laruence)
584 . Fixed bug #60169 (Conjunction of ternary and list crashes PHP).
585 (Laruence)
586 . Fixed bug #60038 (SIGALRM cause segfault in php_error_cb). (Laruence)
587 (klightspeed at netspace dot net dot au)
588 . Fixed bug #55871 (Interruption in substr_replace()). (Stas)
589 . Fixed bug #55801 (Behavior of unserialize has changed). (Mike)
590 . Fixed bug #55758 (Digest Authenticate missed in 5.4) . (Laruence)
591 . Fixed bug #55748 (multiple NULL Pointer Dereference with zend_strndup())
592 (CVE-2011-4153). (Stas)
593 . Fixed bug #55124 (recursive mkdir fails with current (dot) directory in path).
594 (Pierre)
595 . Fixed bug #55084 (Function registered by header_register_callback is
596 called only once per process). (Hannes)
597 . Implement FR #54514 (Get php binary path during script execution).
598 (Laruence)
599 . Fixed bug #52211 (iconv() returns part of string on error). (Felipe)
600 . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
601
602 - Improved generic SAPI support:
603 . Added $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision.
604 (Patrick)
605 . Added header_register_callback() which is invoked immediately
606 prior to the sending of headers and after default headers have
607 been added. (Scott)
608 . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle)
609 . Fixed bug #55500 (Corrupted $_FILES indices lead to security concern).
403110f @pierrejoye - add CVE
pierrejoye authored
610 (CVE-2012-1172). (Stas)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
611 . Fixed bug #54374 (Insufficient validating of upload name leading to
403110f @pierrejoye - add CVE
pierrejoye authored
612 corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at gmail dot com)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
613
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
614 - Improved CLI SAPI:
615 . Added built-in web server that is intended for testing purpose.
616 (Moriyoshi, Laruence, and fixes by Pierre, Derick, Arpad,
617 chobieee at gmail dot com)
46ef2ed Some grammar tweaks
Christopher Jones authored
618 . Added command line option --rz <name> which shows information of the
2c6b2f6 - Forgot to commit these.
Moriyoshi Koizumi authored
619 named Zend extension. (Johannes)
620 . Interactive readline shell improvements: (Johannes)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
621 . Added "cli.pager" php.ini setting to set a pager for output.
622 . Added "cli.prompt" php.ini setting to configure the shell prompt.
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
623 . Added shortcut #inisetting=value to change php.ini settings at run-time.
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
624 . Changed shell not to terminate on fatal errors.
6c734a6 @johannes - Implement FR#53878 Interactive shell should work with shared readline ...
johannes authored
625 . Interactive shell works with shared readline extension. FR #53878.
13342af Prep news file for 5.2
Ilia Alshanetsky authored
626
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
627 - Improved CGI/FastCGI SAPI: (Dmitry)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
628 . Added apache compatible functions: apache_child_terminate(),
629 getallheaders(), apache_request_headers() and apache_response_headers()
630 . Improved performance of FastCGI request parsing.
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
631 . Fixed reinitialization of SAPI callbacks after php_module_startup().
632 (Dmitry)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
633
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
634 - Improved PHP-FPM SAPI:
635 . Removed EXPERIMENTAL flag. (fat)
636 . Fixed bug #60659 (FPM does not clear auth_user on request accept).
637 (bonbons at linux-vserver dot org)
638
639 - Improved Litespeed SAPI:
640 . Fixed bug #55769 (Make Fails with "Missing Separator" error). (Adam)
641
8ece8ad - Added the + modifier to parseFromFormat to allow trailing text in the
Derick Rethans authored
642 - Improved Date extension:
643 . Added the + modifier to parseFromFormat to allow trailing text in the
644 string to parse without throwing an error. (Stas, Derick)
645
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
646 - Improved DBA extension:
647 . Added Tokyo Cabinet abstract DB support. (Michael Maclean)
648 . Added Berkeley DB 5 support. (Johannes, Chris Jones)
649
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
650 - Improved DOM extension:
651 . Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com)
652
9a1568c @LawnGnome Implemented FR #53407 (make scandir()'s directory sorting optional).
LawnGnome authored
653 - Improved filesystem functions:
654 . scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value.
655 FR #53407. (Adam)
656
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
657 - Improved HASH extension:
658 . Added Jenkins's one-at-a-time hash support. (Martin Jansen)
659 . Added FNV-1 hash support. (Michael Maclean)
660 . Made Adler32 algorithm faster. FR #53213. (zavasek at yandex dot ru)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
661 . Removed Salsa10/Salsa20, which are actually stream ciphers (Mike)
662 . Fixed bug #60221 (Tiger hash output byte order) (Mike)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
663
d903948 Add Spoofchecker to intl extension.
Scott MacVicar authored
664 - Improved intl extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
665 . Added Spoofchecker class, allows checking for visibly confusable characters and
d903948 Add Spoofchecker to intl extension.
Scott MacVicar authored
666 other security issues. (Scott)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
667 . Added Transliterator class, allowing transliteration of strings.
668 (Gustavo)
669 . Added support for UTS #46. (Gustavo)
670 . Fixed build on Fedora 15 / Ubuntu 11. (Hannes)
671 . Fixed bug #55562 (grapheme_substr() returns false on big length). (Stas)
d903948 Add Spoofchecker to intl extension.
Scott MacVicar authored
672
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
673 - Improved JSON extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
674 . Added new json_encode() option JSON_UNESCAPED_UNICODE. FR #53946.
675 (Alexander, Gwynne)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
676 . Added JsonSerializable interface. (Sara)
677 . Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options.
678 (Sara)
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
679 . Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
680 numeric strings to integers. (Ilia)
681 . Added new json_encode() option JSON_UNESCAPED_SLASHES. FR #49366. (Adam)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
682 . Added new json_encode() option JSON_PRETTY_PRINT. FR #44331. (Adam)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
683
684 - Improved LDAP extension:
685 . Added paged results support. FR #42060. (ando@OpenLDAP.org,
686 iarenuno@eteo.mondragon.edu, jeanseb@au-fil-du.net, remy.saissy@gmail.com)
b096a5d Fixed bug #37313 (sigemptyset() used without including <signal.h>). (jdo...
Dmitry Stogov authored
687
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
688 - Improved mbstring extension:
689 . Added Shift_JIS/UTF-8 Emoji (pictograms) support. (Rui)
690 . Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
691 support. (Rui)
692 . Ill-formed UTF-8 check for security enhancements. (Rui)
693 . Added MacJapanese (Shift_JIS) and gb18030 encoding support. (Rui)
694 . Added encode/decode in hex format to mb_[en|de]code_numericentity(). (Rui)
695 . Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
696 support. (Rui)
697 . Added the user defined area for CP936 and CP950 (Rui).
698 . Fixed bug #60306 (Characters lost while converting from cp936 to utf8).
699 (Laruence)
700
bbc898e - Keep extension order alphabetically
Derick Rethans authored
701 - Improved MySQL extensions:
702 . MySQL: Deprecated mysql_list_dbs(). FR #50667. (Andrey)
703 . mysqlnd: Added named pipes support. FR #48082. (Andrey)
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
704 . MySQLi: Added iterator support in MySQLi. mysqli_result implements
bbc898e - Keep extension order alphabetically
Derick Rethans authored
705 Traversable. (Andrey, Johannes)
706 . PDO_mysql: Removed support for linking with MySQL client libraries older
707 than 4.1. (Johannes)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
708 . ext/mysql, mysqli and pdo_mysql now use mysqlnd by default. (Johannes)
709 . Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect).
710 (Andrey, Laruence)
711 . Fixed bug #55653 (PS crash with libmysql when binding same variable as
712 param and out). (Laruence)
bbc898e - Keep extension order alphabetically
Derick Rethans authored
713
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
714 - Improved OpenSSL extension:
715 . Added AES support. FR #48632. (yonas dot y at gmail dot com, Pierre)
30f19bd Allow management of your own padding in openssl_encrypt/decrypt.
Scott MacVicar authored
716 . Added no padding option to openssl_encrypt()/openssl_decrypt(). (Scott)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
717 . Use php's implementation for Windows Crypto API in
718 openssl_random_pseudo_bytes. (Pierre)
719 . On error in openssl_random_pseudo_bytes() made sure we set strong result
720 to false. (Scott)
721 . Fixed possible attack in SSL sockets with SSL 3.0 / TLS 1.0.
722 CVE-2011-3389. (Scott)
723 . Fixed bug #61124 (Crash when decoding an invalid base64 encoded string).
724 (me at ktamura dot com, Scott)
e0ded79 Rolling 5.1.0
Ilia Alshanetsky authored
725
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
726 - Improved PDO:
727 . Fixed PDO objects binary incompatibility. (Dmitry)
728
729 - PDO DBlib driver:
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
730 . Added nextRowset support.
731 . Fixed bug #50755 (PDO DBLIB Fails with OOM).
e0ded79 Rolling 5.1.0
Ilia Alshanetsky authored
732
46ff954 Added support for "extra" parameter for PGNotify().
Ilia Alshanetsky authored
733 - Improved PostgreSQL extension:
734 . Added support for "extra" parameter for PGNotify().
735 (r dot i dot k at free dot fr, Ilia)
736
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
737 - Improved PCRE extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
738 . Changed third parameter of preg_match_all() to optional. FR #53238. (Adam)
739
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
740 - Improved Readline extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
741 . Fixed bug #54450 (Enable callback support when built against libedit).
742 (fedora at famillecollet dot com, Hannes)
743
744 - Improved Reflection extension:
745 . Added ReflectionClass::newInstanceWithoutConstructor() to create a new
746 instance of a class without invoking its constructor. FR #55490.
747 (Sebastian)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
748 . Added ReflectionExtension::isTemporary() and
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
749 ReflectionExtension::isPersistent() methods. (Johannes)
750 . Added ReflectionZendExtension class. (Johannes)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
751 . Added ReflectionClass::isCloneable(). (Felipe)
e0ded79 Rolling 5.1.0
Ilia Alshanetsky authored
752
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
753 - Improved Session extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
754 . Expose session status via new function, session_status (FR #52982) (Arpad)
755 . Added support for object-oriented session handlers. (Arpad)
55bb6fd - NEWS cleanup, please do not mess it anymore :)
Jani Taskinen authored
756 . Added support for storing upload progress feedback in session data. (Arnaud)
757 . Changed session.entropy_file to default to /dev/urandom or /dev/arandom if
758 either is present at compile time. (Rasmus)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
759 . Fixed bug #60860 (session.save_handler=user without defined function core
760 dumps). (Felipe)
761 . Implement FR #60551 (session_set_save_handler should support a core's
762 session handler interface). (Arpad)
763 . Fixed bug #60640 (invalid return values). (Arpad)
014a49f @andigutmans - Go with Beta 1
andigutmans authored
764
68c8c34 expand SNMP section
Boris Lytochkin authored
765 - Improved SNMP extension (Boris Lytochkin):
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
766 . Added OO API. FR #53594 (php-snmp rewrite).
5e82e33 Improved SNMP extension. FR #53594
Boris Lytochkin authored
767 . Sanitized return values of existing functions. Now it returns FALSE on
dc781e2 - Improved SNMP extension:
Boris Lytochkin authored
768 failure.
769 . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
770 upon request.
771 . Introducing unit tests for extension with ~full coverage.
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
772 . IPv6 support. (FR #42918)
cf7724d fix FR #54502: allow user to change OID value output mode when SNMP_VALU...
Boris Lytochkin authored
773 . Way of representing OID value can now be changed when SNMP_VALUE_OBJECT
774 is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if
775 not specified) or SNMP_VALUE_PLAIN. (FR #54502)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
776 . Fixed bug #60749 (SNMP module should not strip non-standard SNMP port
777 from hostname). (Boris Lytochkin)
778 . Fixed bug #60585 (php build fails with USE flag snmp when IPv6 support
779 is disabled). (Boris Lytochkin)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
780 . Fixed bug #53862 (snmp_set_oid_output_format does not allow returning to default)
781 . Fixed bug #46065 (snmp_set_quick_print() persists between requests)
782 . Fixed bug #45893 (Snmp buffer limited to 2048 char)
783 . Fixed bug #44193 (snmp v3 noAuthNoPriv doesn't work)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
784
785 - Improved SOAP extension:
786 . Added new SoapClient option "keep_alive". FR #60329. (Pierrick)
787 . Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
788
789 - Improved SPL extension:
790 . Added RegexIterator::getRegex() method. (Joshua Thijssen)
791 . Added SplObjectStorage::getHash() hook. (Etienne)
792 . Added CallbackFilterIterator and RecursiveCallbackFilterIterator. (Arnaud)
793 . Added missing class_uses(..) as pointed out by #55266 (Stefan)
794 . Immediately reject wrong usages of directories under Spl(Temp)FileObject
795 and friends. (Etienne, Pierre)
796 . FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use
797 the default stream context. (Hannes)
798 . Fixed bug #60201 (SplFileObject::setCsvControl does not expose third
799 argument via Reflection). (Peter)
800 . Fixed bug #55287 (spl_classes() not includes CallbackFilter classes)
801 (sasezaki at gmail dot com, salathe)
802
803 - Improved Sysvshm extension:
804 . Fixed bug #55750 (memory copy issue in sysvshm extension).
805 (Ilia, jeffhuang9999 at gmail dot com)
806
807 - Improved Tidy extension:
808 . Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference).
809 (Maksymilian Arciemowicz, Felipe)
810
811 - Improved Tokenizer extension:
812 . Fixed bug #54089 (token_get_all with regards to __halt_compiler is
813 not binary safe). (Nikita Popov)
814
815 - Improved XSL extension:
816 . Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to
817 define forbidden operations within XSLT stylesheets, default is not to
818 enable write operations from XSLT. Bug #54446 (Chregu, Nicolas Gregoire)
819 . XSL doesn't stop transformation anymore, if a PHP function can't be called
820 (Christian)
821
822 - Improved ZLIB extension:
823 . Re-implemented non-file related functionality. (Mike)
824 . Fixed bug #55544 (ob_gzhandler always conflicts with zlib.output_compression).
825 (Mike)
5e82e33 Improved SNMP extension. FR #53594
Boris Lytochkin authored
826
dfce6bf @smalyshev update NEWS
smalyshev authored
827 14 Jun 2012, PHP 5.3.14
828
829 - CLI SAPI:
830 . Fixed bug #61546 (functions related to current script failed when chdir()
831 in cli sapi). (Laruence, reeze.xia@gmail.com)
832
833 - CURL:
834 . Fixed bug #61948 (CURLOPT_COOKIEFILE '' raises open_basedir restriction).
835 (Laruence)
836
837 - COM:
838 . Fixed bug #62146 com_dotnet cannot be built shared. (Johannes)
839
840 - Core:
841 . Fixed CVE-2012-2143. (Solar Designer)
842 . Fixed missing bound check in iptcparse(). (chris at chiappa.net)
843 . Fixed bug #62373 (serialize() generates wrong reference to the object).
844 (Moriyoshi)
845 . Fixed bug #62005 (unexpected behavior when incrementally assigning to a
846 member of a null object). (Laruence)
847 . Fixed bug #61991 (long overflow in realpath_cache_get()). (Anatoliy)
848 . Fixed bug #61764 ('I' unpacks n as signed if n > 2^31-1 on LP64). (Gustavo)
849 . Fixed bug #61730 (Segfault from array_walk modifying an array passed by
850 reference). (Laruence)
851 . Fixed bug #61713 (Logic error in charset detection for htmlentities).
852 (Anatoliy)
853 . Fixed bug #54197 ([PATH=] sections incompatibility with user_ini.filename
854 set to null). (Anatoliy)
855 . Changed php://fd to be available only for CLI.
856
857 - Fileinfo:
858 . Fixed bug #61812 (Uninitialised value used in libmagic).
859 (Laruence, Gustavo)
860
861 - Iconv extension:
862 . Fixed a bug that iconv extension fails to link to the correct library
863 when another extension makes use of a library that links to the iconv
864 library. See https://bugs.gentoo.org/show_bug.cgi?id=364139 for detail.
865 (Moriyoshi)
866
867 - Intl:
868 . Fixed bug #62082 (Memory corruption in internal function
869 get_icu_disp_value_src_php()). (Gustavo)
870
871 - JSON
872 . Fixed bug #61537 (json_encode() incorrectly truncates/discards
873 information). (Adam)
874
875 - PDO:
876 . Fixed bug #61755 (A parsing bug in the prepared statements can lead to
877 access violations). (Johannes)
878
879 - Phar:
880 . Fix bug #61065 (Secunia SA44335). (Rasmus)
881
882 - Streams:
883 . Fixed bug #61961 (file_get_contents leaks when access empty file with
884 maxlen set). (Reeze)
885
e118a07 @smalyshev merge 5.3 entries
smalyshev authored
886 08 May 2012, PHP 5.3.13
887 - CGI
888 . Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.
889 (Stas)
890
891 03 May 2012, PHP 5.3.12
892 - Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823. (Rasmus)
893
e25eea8 @smalyshev merge 5.3.11 stuff
smalyshev authored
894 26 Apr 2012, PHP 5.3.11
895
896 - Core:
897 . Fixed bug #61605 (header_remove() does not remove all headers).
898 (Laruence)
899 . Fixed bug #61541 (Segfault when using ob_* in output_callback).
900 (reeze.xia@gmail.com)
901 . Fixed bug #61273 (call_user_func_array with more than 16333 arguments
902 leaks / crashes). (Laruence)
903 . Fixed bug #61165 (Segfault - strip_tags()). (Laruence)
904 . Improved max_input_vars directive to check nested variables (Dmitry).
905 . Fixed bug #61095 (Incorect lexing of 0x00*+<NUM>). (Etienne)
906 . Fixed bug #61087 (Memory leak in parse_ini_file when specifying
907 invalid scanner mode). (Nikic, Laruence)
908 . Fixed bug #61072 (Memory leak when restoring an exception handler).
909 (Nikic, Laruence)
910 . Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX).
911 (Laruence)
912 . Fixed bug #61043 (Regression in magic_quotes_gpc fix for CVE-2012-0831).
913 (Ondřej Surý)
914 . Fixed bug #61000 (Exceeding max nesting level doesn't delete numerical
915 vars). (Laruence)
916 . Fixed bug #60895 (Possible invalid handler usage in windows random
917 functions). (Pierre)
918 . Fixed bug #60825 (Segfault when running symfony 2 tests).
919 (Dmitry, Laruence)
920 . Fixed bug #60801 (strpbrk() mishandles NUL byte). (Adam)
921 . Fixed bug #60569 (Nullbyte truncates Exception $message). (Ilia)
922 . Fixed bug #60227 (header() cannot detect the multi-line header with CR).
923 (rui, Gustavo)
924 . Fixed bug #60222 (time_nanosleep() does validate input params). (Ilia)
925 . Fixed bug #54374 (Insufficient validating of upload name leading to
926 corrupted $_FILES indices). (CVE-2012-1172). (Stas, lekensteyn at
927 gmail dot com, Pierre)
928 . Fixed bug #52719 (array_walk_recursive crashes if third param of the
929 function is by reference). (Nikita Popov)
930 . Fixed bug #51860 (Include fails with toplevel symlink to /). (Dmitry)
931
932 - DOM
933 . Added debug info handler to DOM objects. (Gustavo, Joey Smith)
934
935 - FPM
936 . Fixed bug #61430 (Transposed memset() params in sapi/fpm/fpm/fpm_shm.c).
937 (michaelhood at gmail dot com, Ilia)
938
939 - Ibase
940 . Fixed bug #60947 (Segmentation fault while executing ibase_db_info).
941 (Ilia)
942
943 - Installation
944 . Fixed bug #61172 (Add Apache 2.4 support). (Chris Jones)
945
946 - Fileinfo
947 . Fixed bug #61173 (Unable to detect error from finfo constructor). (Gustavo)
948
949 - Firebird Database extension (ibase):
950 . Fixed bug #60802 (ibase_trans() gives segfault when passing params).
951
952 - Libxml:
953 . Fixed bug #61617 (Libxml tests failed(ht is already destroyed)).
954 (Laruence)
955 . Fixed bug #61367 (open_basedir bypass using libxml RSHUTDOWN).
956 (Tim Starling)
957
958 - mysqli
959 . Fixed bug #61003 (mysql_stat() require a valid connection). (Johannes).
960
961 - PDO_mysql
962 . Fixed bug #61207 (PDO::nextRowset() after a multi-statement query doesn't
963 always work). (Johannes)
964 . Fixed bug #61194 (PDO should export compression flag with myslqnd).
965 (Johannes)
966
967 - PDO_odbc
968 . Fixed bug #61212 (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO). (Ilia)
969
970 - PDO_pgsql
971 . Fixed bug #61267 (pdo_pgsql's PDO::exec() returns the number of SELECTed
972 rows on postgresql >= 9). (ben dot pineau at gmail dot com)
973
974 - PDO_Sqlite extension:
975 . Add createCollation support. (Damien)
976
977 - Phar:
978 . Fixed bug #61184 (Phar::webPhar() generates headers with trailing NUL
979 bytes). (Nikic)
980
981 - PHP-FPM SAPI:
982 . Fixed bug #60811 (php-fpm compilation problem). (rasmus)
983
984 - Readline:
985 . Fixed bug #61088 (Memory leak in readline_callback_handler_install).
986 (Nikic, Laruence)
987 . Add open_basedir checks to readline_write_history and readline_read_history.
988 (Rasmus, reported by Mateusz Goik)
989
990 - Reflection:
991 . Fixed bug #61388 (ReflectionObject:getProperties() issues invalid reads
992 when get_properties returns a hash table with (inaccessible) dynamic
993 numeric properties). (Gustavo)
994 . Fixed bug #60968 (Late static binding doesn't work with
995 ReflectionMethod::invokeArgs()). (Laruence)
996
997 - SOAP
998 . Fixed basic HTTP authentication for WSDL sub requests. (Dmitry)
999 . Fixed bug #60887 (SoapClient ignores user_agent option and sends no
1000 User-Agent header). (carloschilazo at gmail dot com)
1001 . Fixed bug #60842, #51775 (Chunked response parsing error when
1002 chunksize length line is > 10 bytes). (Ilia)
1003 . Fixed bug #49853 (Soap Client stream context header option ignored).
1004 (Dmitry)
1005
1006 - SPL
1007 . Fixed memory leak when calling SplFileInfo's constructor twice. (Felipe)
1008 . Fixed bug #61418 (Segmentation fault when DirectoryIterator's or
1009 FilesystemIterator's iterators are requested more than once without
1010 having had its dtor callback called in between). (Gustavo)
1011 . Fixed bug #61347 (inconsistent isset behavior of Arrayobject). (Laruence)
1012 . Fixed bug #61326 (ArrayObject comparison). (Gustavo)
1013
1014 - SQLite3 extension:
1015 . Add createCollation() method. (Brad Dewar)
1016
1017 - Session:
1018 . Fixed bug #60860 (session.save_handler=user without defined function core
1019 dumps). (Felipe)
1020 . Fixed bug #60634 (Segmentation fault when trying to die() in
1021 SessionHandler::write()). (Ilia)
1022
1023 - Streams:
1024 . Fixed bug #61371 (stream_context_create() causes memory leaks on use
1025 streams_socket_create). (Gustavo)
1026 . Fixed bug #61253 (Wrappers opened with errors concurrency problem on ZTS).
1027 (Gustavo)
1028 . Fixed bug #61115 (stream related segfault on fatal error in
1029 php_stream_context_link). (Gustavo)
1030 . Fixed bug #60817 (stream_get_line() reads from stream even when there is
1031 already sufficient data buffered). stream_get_line() now behaves more like
1032 fgets(), as is documented. (Gustavo)
1033 . Further fix for bug #60455 (stream_get_line misbehaves if EOF is not
1034 detected together with the last read). (Gustavo)
1035 . Fixed bug #60106 (stream_socket_server silently truncates long unix
1036 socket paths). (Ilia)
1037
1038 - Tidy:
1039 . Fixed bug #54682 (tidy null pointer dereference). (Tony, David Soria Parra)
1040
1041 - XMLRPC:
1042 . Fixed bug #61264 (xmlrpc_parse_method_descriptions leaks temporary
1043 variable). (Nikita Popov)
1044 . Fixed bug #61097 (Memory leak in xmlrpc functions copying zvals). (Nikic)
1045
1046 - Zlib:
1047 . Fixed bug #61139 (gzopen leaks when specifying invalid mode). (Nikic)
1048
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1049 02 Feb 2012, PHP 5.3.10
014a49f @andigutmans - Go with Beta 1
andigutmans authored
1050
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1051 - Core:
1052 . Fixed arbitrary remote code execution vulnerability reported by Stefan
1053 Esser, CVE-2012-0830. (Stas, Dmitry)
014a49f @andigutmans - Go with Beta 1
andigutmans authored
1054
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1055 10 Jan 2012, PHP 5.3.9
5956ba8 @smalyshev update NEWS
smalyshev authored
1056
748003b @smalyshev update NEWS
smalyshev authored
1057 - Core:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1058 . Added max_input_vars directive to prevent attacks based on hash collisions
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1059 (CVE-2011-4885) (Dmitry).
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1060 . Fixed bug #60205 (possible integer overflow in content_length). (Laruence)
1061 . Fixed bug #60139 (Anonymous functions create cycles not detected by the
1062 GC). (Dmitry)
1063 . Fixed bug #60138 (GC crash with referenced array in RecursiveArrayIterator)
1064 (Dmitry).
1065 . Fixed bug #60120 (proc_open's streams may hang with stdin/out/err when
1066 the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)
1067 . Fixed bug #60099 (__halt_compiler() works in braced namespaces). (Felipe)
1068 . Fixed bug #60019 (Function time_nanosleep() is undefined on OS X). (Ilia)
1069 . Fixed bug #55874 (GCC does not provide __sync_fetch_and_add on some archs).
1070 (klightspeed at netspace dot net dot au)
1071 . Fixed bug #55798 (serialize followed by unserialize with numeric object
1072 prop. gives integer prop). (Gustavo)
1073 . Fixed bug #55749 (TOCTOU issue in getenv() on Windows builds). (Pierre)
1074 . Fixed bug #55707 (undefined reference to `__sync_fetch_and_add_4' on Linux
1075 parisc). (Felipe)
1076 . Fixed bug #55674 (fgetcsv & str_getcsv skip empty fields in some
1077 tab-separated records). (Laruence)
1078 . Fixed bug #55649 (Undefined function Bug()). (Laruence)
1079 . Fixed bug #55622 (memory corruption in parse_ini_string). (Pierre)
1080 . Fixed bug #55576 (Cannot conditionally move uploaded file without race
1081 condition). (Gustavo)
748003b @smalyshev update NEWS
smalyshev authored
1082 . Fixed bug #55510: $_FILES 'name' missing first character after upload.
1083 (Arpad)
1084 . Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence)
1085 . Fixed bug #55504 (Content-Type header is not parsed correctly on
1086 HTTP POST request). (Hannes)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1087 . Fixed bug #55475 (is_a() triggers autoloader, new optional 3rd argument to
1088 is_a and is_subclass_of). (alan_k)
1089 . Fixed bug #52461 (Incomplete doctype and missing xmlns).
748003b @smalyshev update NEWS
smalyshev authored
1090 (virsacer at web dot de, Pierre)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1091 . Fixed bug #55366 (keys lost when using substr_replace an array). (Arpad)
1092 . Fixed bug #55273 (base64_decode() with strict rejects whitespace after
1093 pad). (Ilia)
1094 . Fixed bug #52624 (tempnam() by-pass open_basedir with nonnexistent
1095 directory). (Felipe)
1096 . Fixed bug #50982 (incorrect assumption of PAGE_SIZE size). (Dmitry)
1097 . Fixed invalid free in call_user_method() function. (Felipe)
1098 . Fixed bug #43200 (Interface implementation / inheritence not possible in
1099 abstract classes). (Felipe)
1100
748003b @smalyshev update NEWS
smalyshev authored
1101
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1102 - BCmath:
1103 . Fixed bug #60377 (bcscale related crashes on 64bits platforms). (shm)
1104
1105 - Calendar:
1106 . Fixed bug #55797 (Integer overflow in SdnToGregorian leads to segfault (in
1107 optimized builds). (Gustavo)
1108
1109 - cURL:
1110 . Fixed bug #60439 (curl_copy_handle segfault when used with
1111 CURLOPT_PROGRESSFUNCTION). (Pierrick)
748003b @smalyshev update NEWS
smalyshev authored
1112 . Fixed bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed
1113 before calling curl_exec). (Hannes)
1114 . Fixed issues were curl_copy_handle() would sometimes lose copied
1115 preferences. (Hannes)
1116
1117 - DateTime:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1118 . Fixed bug #60373 (Startup errors with log_errors on cause segfault).
1119 (Derick)
1120 . Fixed bug #60236 (TLA timezone dates are not converted properly from
1121 timestamp). (Derick)
1122 . Fixed bug #55253 (DateTime::add() and sub() result -1 hour on objects with
1123 time zone type 2). (Derick)
1124 . Fixed bug #54851 (DateTime::createFromFormat() doesn't interpret "D").
1125 (Derick)
1126 . Fixed bug #53502 (strtotime with timezone memory leak). (Derick)
1127 . Fixed bug #52062 (large timestamps with DateTime::getTimestamp and
1128 DateTime::setTimestamp). (Derick)
1129 . Fixed bug #51994 (date_parse_from_format is parsing invalid date using 'yz'
1130 format). (Derick)
1131 . Fixed bug #52113 (Seg fault while creating (by unserialization)
1132 DatePeriod). (Derick)
748003b @smalyshev update NEWS
smalyshev authored
1133 . Fixed bug #48476 (cloning extended DateTime class without calling
1134 parent::__constr crashed PHP). (Hannes)
1135
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1136 - EXIF:
1137 . Fixed bug #60150 (Integer overflow during the parsing of invalid exif
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1138 header). (CVE-2011-4566) (Stas, flolechaud at gmail dot com)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1139
1140 - Fileinfo:
1141 . Fixed bug #60094 (C++ comment fails in c89). (Laruence)
1142 . Fixed possible memory leak in finfo_open(). (Felipe)
1143 . Fixed memory leak when calling the Finfo constructor twice. (Felipe)
1144
1145 - Filter:
1146 . Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
1147 domain name addresses containing >1 -). (Ilia)
1148
1149 - FTP:
1150 . Fixed bug #60183 (out of sync ftp responses). (bram at ebskamp dot me,
1151 rasmus)
1152
1153 - Gd:
1154 . Fixed bug #60160 (imagefill() doesn't work correctly
1155 for small images). (Florian)
1156
1157 - Intl:
1158 . Fixed bug #60192 (SegFault when Collator not constructed
1159 properly). (Florian)
1160 . Fixed memory leak in several Intl locale functions. (Felipe)
1161
1162 - Json:
1163 . Fixed bug #55543 (json_encode() with JSON_NUMERIC_CHECK fails on objects
1164 with numeric string properties). (Ilia, dchurch at sciencelogic dot com)
1165
1166 - Mbstring:
1167 . Fixed possible crash in mb_ereg_search_init() using empty pattern. (Felipe)
1168
1169 - MS SQL:
1170 . Fixed bug #60267 (Compile failure with freetds 0.91). (Felipe)
1171
748003b @smalyshev update NEWS
smalyshev authored
1172 - MySQL:
1173 . Fixed bug #55550 (mysql.trace_mode miscounts result sets). (Johannes)
1174
1175 - MySQLi extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1176 . Fixed bug #55859 (mysqli->stat property access gives error). (Andrey)
748003b @smalyshev update NEWS
smalyshev authored
1177 . Fixed bug #55582 (mysqli_num_rows() returns always 0 for unbuffered, when
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1178 mysqlnd is used). (Andrey)
1179 . Fixed bug #55703 (PHP crash when calling mysqli_fetch_fields).
1180 (eran at zend dot com, Laruence)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1181
748003b @smalyshev update NEWS
smalyshev authored
1182 - mysqlnd
1183 . Fixed bug #55609 (mysqlnd cannot be built shared). (Johannes)
1184 . Fixed bug #55067 (MySQL doesn't support compression - wrong config option).
1185 (Andrey)
5956ba8 @smalyshev update NEWS
smalyshev authored
1186
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1187 - NSAPI SAPI:
1188 . Don't set $_SERVER['HTTPS'] on unsecure connection (bug #55403). (Uwe
1189 Schindler)
1190
1191 - OpenSSL:
1192 . Fixed bug #60279 (Fixed NULL pointer dereference in
1193 stream_socket_enable_crypto, case when ssl_handle of session_stream is not
1194 initialized.) (shm)
1195 . Fix segfault with older versions of OpenSSL. (Scott)
1196
1197 - Oracle Database extension (OCI8):
1198 . Fixed bug #59985 (show normal warning text for OCI_NO_DATA).
1199 (Chris Jones)
1200 . Increased maximum Oracle error message buffer length for new 11.2.0.3 size.
1201 (Chris Jones)
1202 . Improve internal initalization failure error messages. (Chris Jones)
1203
1204 - PDO
1205 . Fixed bug #55776 (PDORow to session bug). (Johannes)
1206
1207 - PDO Firebird:
1208 . Fixed bug #48877 ("bindValue" and "bindParam" do not work for PDO Firebird).
1209 (Mariuz)
1210 . Fixed bug #47415 (PDO_Firebird segfaults when passing lowercased column name to bindColumn).
1211 . Fixed bug #53280 (PDO_Firebird segfaults if query column count less than param count).
1212 (Mariuz)
1213
748003b @smalyshev update NEWS
smalyshev authored
1214 - PDO MySQL driver:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1215 . Fixed bug #60155 (pdo_mysql.default_socket ignored). (Johannes)
1216 . Fixed bug #55870 (PDO ignores all SSL parameters when used with mysql
1217 native driver). (Pierre)
1218 . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define
1219 MYSQL_OPT_LOCAL_INFILE). (Andrey)
1220
1221 - PDO OCI driver:
1222 . Fixed bug #55768 (PDO_OCI can't resume Oracle session after it's been
1223 killed). (mikhail dot v dot gavrilov at gmail dot com, Chris Jones, Tony)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1224
748003b @smalyshev update NEWS
smalyshev authored
1225 - Phar:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1226 . Fixed bug #60261 (NULL pointer dereference in phar). (Felipe)
1227 . Fixed bug #60164 (Stubs of a specific length break phar_open_from_fp
1228 scanning for __HALT_COMPILER). (Ralph Schindler)
1229 . Fixed bug #53872 (internal corruption of phar). (Hannes)
1230 . Fixed bug #52013 (Unable to decompress files in a compressed phar). (Hannes)
1231
1232 - PHP-FPM SAPI:
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1233 . Dropped restriction of not setting the same value multiple times, the last
1234 one holds. (giovanni at giacobbi dot net, fat)
1235 . Added .phar to default authorized extensions. (fat)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1236 . Fixed bug #60659 (FPM does not clear auth_user on request accept).
1237 (bonbons at linux-vserver dot org)
1238 . Fixed bug #60629 (memory corruption when web server closed the fcgi fd).
1239 (fat)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1240 . Enhance error log when the primary script can't be open. FR #60199. (fat)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1241 . Fixed bug #60179 (php_flag and php_value does not work properly). (fat)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1242 . Fixed bug #55577 (status.html does not install). (fat)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1243 . Fixed bug #55533 (The -d parameter doesn't work). (fat)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1244 . Fixed bug #55526 (Heartbeat causes a lot of unnecessary events). (fat)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1245 . Fixed bug #55486 (status show BIG processes number). (fat)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1246 . Enhanced security by limiting access to user defined extensions.
1247 FR #55181. (fat)
1248 . Added process.max to control the number of process FPM can fork. FR #55166.
1249 (fat)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1250 . Implemented FR #54577 (Enhanced status page with full status and details
1251 about each processes. Also provide a web page (status.html) for
1252 real-time FPM status. (fat)
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1253 . Lowered default value for Process Manager. FR #54098. (fat)
1254 . Implemented FR #52569 (Add the "ondemand" process-manager
1255 to allow zero children). (fat)
1256 . Added partial syslog support (on error_log only). FR #52052. (fat)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1257
1258 - Postgres:
1259 . Fixed bug #60244 (pg_fetch_* functions do not validate that row param
1260 is >0). (Ilia)
d6394e6 @yohgaki Add NEWS
yohgaki authored
1261 . Added PGSQL_LIBPQ_VERSION/PGSQL_LIBPQ_VERSION_STR constants. (Yasuo)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1262
1263 - Reflection:
1264 . Fixed bug #60367 (Reflection and Late Static Binding). (Laruence)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1265
748003b @smalyshev update NEWS
smalyshev authored
1266 - Session:
1267 . Fixed bug #55267 (session_regenerate_id fails after header sent). (Hannes)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1268
748003b @smalyshev update NEWS
smalyshev authored
1269 - SimpleXML:
1270 . Reverted the SimpleXML->query() behaviour to returning empty arrays
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1271 instead of false when no nodes are found as it was since 5.3.3
748003b @smalyshev update NEWS
smalyshev authored
1272 (bug #48601). (chregu, rrichards)
622412d @smalyshev implement the solution for isset/string offsets, fix bug #60362
smalyshev authored
1273
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1274 - SOAP
1275 . Fixed bug #54911 (Access to a undefined member in inherit SoapClient may
1276 cause Segmentation Fault). (Dmitry)
1277 . Fixed bug #48216 (PHP Fatal error: SOAP-ERROR: Parsing WSDL:
1278 Extra content at the end of the doc, when server uses chunked transfer
1279 encoding with spaces after chunk size). (Dmitry)
1280 . Fixed bug #44686 (SOAP-ERROR: Parsing WSDL with references). (Dmitry)
1281
1282 - Sockets:
1283 . Fixed bug #60048 (sa_len a #define on IRIX). (china at thewrittenword dot
1284 com)
1285
1286 - SPL:
1287 . Fixed bug #60082 (Crash in ArrayObject() when using recursive references).
1288 (Tony)
1289 . Fixed bug #55807 (Wrong value for splFileObject::SKIP_EMPTY).
1290 (jgotti at modedemploi dot fr, Hannes)
1291 . Fixed bug #54304 (RegexIterator::accept() doesn't work with scalar values).
1292 (Hannes)
1293
1294 - Streams:
1295 . Fixed bug #60455 (stream_get_line misbehaves if EOF is not detected together
1296 with the last read). (Gustavo)
1297
1298 - Tidy:
1299 . Fixed bug #54682 (Tidy::diagnose() NULL pointer dereference).
1300 (Maksymilian Arciemowicz, Felipe)
1301
1302 - XSL:
1303 . Added xsl.security_prefs ini option to define forbidden operations within
1304 XSLT stylesheets, default is not to enable write operations. This option
1305 won't be in 5.4, since there's a new method. Fixes Bug #54446. (Chregu,
1306 Nicolas Gregoire)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1307
748003b @smalyshev update NEWS
smalyshev authored
1308 23 Aug 2011, PHP 5.3.8
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1309
748003b @smalyshev update NEWS
smalyshev authored
1310 - Core:
1311 . Fixed bug #55439 (crypt() returns only the salt for MD5). (Stas)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1312
748003b @smalyshev update NEWS
smalyshev authored
1313 - OpenSSL:
1314 . Reverted a change in timeout handling restoring PHP 5.3.6 behavior,
1315 as the new behavior caused mysqlnd SSL connections to hang (#55283).
1316 (Pierre, Andrey, Johannes)
1317
1318 18 Aug 2011, PHP 5.3.7
1319 - Upgraded bundled SQLite to version 3.7.7.1. (Scott)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1320 - Upgraded bundled PCRE to version 8.12. (Scott)
014a49f @andigutmans - Go with Beta 1
andigutmans authored
1321
de52547 @smalyshev Integrate NEWS
smalyshev authored
1322 - Zend Engine:
748003b @smalyshev update NEWS
smalyshev authored
1323 . Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even
1324 though the class has none). (Felipe)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1325 . Fixed bug #55007 (compiler fail after previous fail). (Felipe)
1326 . Fixed bug #54910 (Crash when calling call_user_func with unknown function
1327 name). (Dmitry)
1328 . Fixed bug #54804 (__halt_compiler and imported namespaces).
1329 (Pierrick, Felipe)
1330 . Fixed bug #54624 (class_alias and type hint). (Felipe)
1331 . Fixed bug #54585 (track_errors causes segfault). (Dmitry)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1332 . Fixed bug #54423 (classes from dl()'ed extensions are not destroyed).
de52547 @smalyshev Integrate NEWS
smalyshev authored
1333 (Tony, Dmitry)
1334 . Fixed bug #54372 (Crash accessing global object itself returned from its
1335 __get() handle). (Dmitry)
1336 . Fixed bug #54367 (Use of closure causes problem in ArrayAccess). (Dmitry)
748003b @smalyshev update NEWS
smalyshev authored
1337 . Fixed bug #54358 (Closure, use and reference). (Dmitry)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1338 . Fixed bug #54262 (Crash when assigning value to a dimension in a non-array).
1339 (Dmitry)
748003b @smalyshev update NEWS
smalyshev authored
1340 . Fixed bug #54039 (use() of static variables in lambda functions can break
1341 staticness). (Dmitry)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1342
748003b @smalyshev update NEWS
smalyshev authored
1343 - Core
1344 . Updated crypt_blowfish to 1.2. ((CVE-2011-2483) (Solar Designer)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1345 . Removed warning when argument of is_a() or is_subclass_of() is not
748003b @smalyshev update NEWS
smalyshev authored
1346 a known class. (Stas)
1347 . Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.
de52547 @smalyshev Integrate NEWS
smalyshev authored
1348 . Added PHP_MANDIR constant telling where the manpages were installed into,
1349 and an --man-dir argument to php-config. (Hannes)
1350 . Fixed a crash inside dtor for error handling. (Ilia)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1351 . Fixed buffer overflow on overlog salt in crypt(). (Clément LECIGNE, Stas)
748003b @smalyshev update NEWS
smalyshev authored
1352 . Implemented FR #54459 (Range function accuracy). (Adam)
1353
1354 . Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path).
1355 (Ilia)
1356 . Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off).
1357 (Dmitry)
1358 . Fixed bug #55295 [NEW]: popen_ex on windows, fixed possible heap overflow
1359 (Pierre)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1360 . Fixed bug #55258 (Windows Version Detecting Error).
748003b @smalyshev update NEWS
smalyshev authored
1361 ( xiaomao5 at live dot com, Pierre)
1362 . Fixed bug #55187 (readlink returns weird characters when false result).
1363 (Pierre)
1364 . Fixed bug #55082 (var_export() doesn't escape properties properly).
1365 (Gustavo)
1366 . Fixed bug #55014 (Compile failure due to improper use of ctime_r()). (Ilia)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1367 . Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload
1368 filename). (Felipe) Reported by Krzysztof Kotowicz. (CVE-2011-2202)
1369 . Fixed bug #54935 php_win_err can lead to crash. (Pierre)
1370 . Fixed bug #54924 (assert.* is not being reset upon request shutdown). (Ilia)
1371 . Fixed bug #54895 (Fix compiling with older gcc version without need for
1372 membar_producer macro). (mhei at heimpold dot de)
748003b @smalyshev update NEWS
smalyshev authored
1373 . Fixed bug #54866 (incorrect accounting for realpath_cache_size).
1374 (Dustin Ward)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1375 . Fixed bug #54723 (getimagesize() doesn't check the full ico signature).
1376 (Scott)
748003b @smalyshev update NEWS
smalyshev authored
1377 . Fixed bug #54721 (Different Hashes on Windows, BSD and Linux on wrong Salt
1378 size). (Pierre, os at irj dot ru)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1379 . Fixed bug #54580 (get_browser() segmentation fault when browscap ini
1380 directive is set through php_admin_value). (Gustavo)
748003b @smalyshev update NEWS
smalyshev authored
1381 . Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption). (Dmitry)
1382 . Fixed bug #54305 (Crash in gc_remove_zval_from_buffer). (Dmitry)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1383 . Fixed bug #54238 (use-after-free in substr_replace()). (Stas)
1384 (CVE-2011-1148)
748003b @smalyshev update NEWS
smalyshev authored
1385 . Fixed bug #54204 (Can't set a value with a PATH section in php.ini).
1386 (Pierre)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1387 . Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment).
1388 (tomas dot brastavicius at quantum dot lt, Pierrick)
1389 . Fixed bug #54137 (file_get_contents POST request sends additional line
1390 break). (maurice-php at mertinkat dot net, Ilia)
1391 . Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). (Ilia)
1392 . Alternative fix for bug #52550, as applied to the round() function (signed
1393 overflow), as the old fix impacted the algorithm for numbers with magnitude
1394 smaller than 0. (Gustavo)
748003b @smalyshev update NEWS
smalyshev authored
1395 . Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces)
1396 (Ralph Schindler, Dmitry)
1397 . Fixed bug #52935 (call exit in user_error_handler cause stream relate
1398 core). (Gustavo)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1399 . Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning). (Ilia)
748003b @smalyshev update NEWS
smalyshev authored
1400 . Fixed bug #50816 (Using class constants in array definition fails).
1401 (Pierrick, Dmitry)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1402 . Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode
1403 filter). (slusarz at curecanti dot org)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1404 . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using
de52547 @smalyshev Integrate NEWS
smalyshev authored
1405 TMPDIR on Windows). (Pierre)
1406
1407 - Apache2 Handler SAPI:
1408 . Fixed bug #54529 (SAPI crashes on apache_config.c:197).
1409 (hebergement at riastudio dot fr)
1410
1411 - CLI SAPI:
1412 . Fixed bug #52496 (Zero exit code on option parsing failure). (Ilia)
1413
748003b @smalyshev update NEWS
smalyshev authored
1414 - cURL extension:
de52547 @smalyshev Integrate NEWS
smalyshev authored
1415 . Added ini option curl.cainfo (support for custom cert db). (Pierre)
1416 . Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1417 . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and
de52547 @smalyshev Integrate NEWS
smalyshev authored
1418 CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick)
1419
1420 - DateTime extension:
748003b @smalyshev update NEWS
smalyshev authored
1421 . Fixed bug where the DateTime object got changed while using date_diff().
1422 (Derick)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1423 . Fixed bug #54340 (DateTime::add() method bug). (Adam)
1424 . Fixed bug #54316 (DateTime::createFromFormat does not handle trailing '|'
1425 correctly). (Adam)
1426 . Fixed bug #54283 (new DatePeriod(NULL) causes crash). (Felipe)
1427 . Fixed bug #51819 (Case discrepancy in timezone names cause Uncaught
1428 exception and fatal error). (Hannes)
1429
1430 - DBA extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1431 . Supress warning on non-existent file open with Berkeley DB 5.2. (Chris Jones)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1432 . Fixed bug #54242 (dba_insert returns true if key already exists). (Felipe)
1433
1434 - Exif extesion:
1435 . Fixed bug #54121 (error message format string typo). (Ilia)
1436
1437 - Fileinfo extension:
1438 . Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11). (Felipe)
1439
1440 - Filter extension:
1441 . Added 3rd parameter to filter_var_array() and filter_input_array()
1442 functions that allows disabling addition of empty elements. (Ilia)
1443 . Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1444
de52547 @smalyshev Integrate NEWS
smalyshev authored
1445 - Interbase extension:
1446 . Fixed bug #54269 (Short exception message buffer causes crash). (Felipe)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1447
de52547 @smalyshev Integrate NEWS
smalyshev authored
1448 - intl extension:
748003b @smalyshev update NEWS
smalyshev authored
1449 . Implemented FR #54561 (Expose ICU version info). (David Zuelke, Ilia)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1450 . Implemented FR #54540 (Allow loading of arbitrary resource bundles when
1451 fallback is disabled). (David Zuelke, Stas)
748003b @smalyshev update NEWS
smalyshev authored
1452
1453 - Imap extension:
1454 . Fixed bug #55313 (Number of retries not set when params specified).
1455 (kevin at kevinlocke dot name)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1456
1457 - json extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1458 . Fixed bug #54484 (Empty string in json_decode doesn't reset
de52547 @smalyshev Integrate NEWS
smalyshev authored
1459 json_last_error()). (Ilia)
1460
1461 - LDAP extension:
1462 . Fixed bug #53339 (Fails to build when compilng with gcc 4.5 and DSO
1463 libraries). (Clint Byrum, Raphael)
1464
1465 - libxml extension:
1466 . Fixed bug #54601 (Removing the doctype node segfaults). (Hannes)
1467 . Fixed bug #54440 (libxml extension ignores default context). (Gustavo)
1468
1469 - mbstring extension:
1470 . Fixed bug #54494 (mb_substr() mishandles UTF-32LE and UCS-2LE). (Gustavo)
1471
748003b @smalyshev update NEWS
smalyshev authored
1472 - MCrypt extension:
1473 . Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data
1474 has been fetched (Windows). (Pierre)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1475 . Fixed bug #55169 (mcrypt_create_iv always fails to gather sufficient random
748003b @smalyshev update NEWS
smalyshev authored
1476 data on Windows). (Pierre)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1477
1478 - mysqlnd
1479 . Fixed crash when using more than 28,000 bound parameters. Workaround is to
1480 set mysqlnd.net_cmd_buffer_size to at least 9000. (Andrey)
1481 . Fixed bug #54674 mysqlnd valid_sjis_(head|tail) is using invalid operator
1482 and range). (nihen at megabbs dot com, Andrey)
1483
748003b @smalyshev update NEWS
smalyshev authored
1484 - MySQLi extension:
1485 . Fixed bug #55283 (SSL options set by mysqli_ssl_set ignored for MySQLi
1486 persistent connections). (Andrey)
1487 . Fixed Bug #54221 (mysqli::get_warnings segfault when used in multi queries).
1488 (Andrey)
1489
1490 - OpenSSL extension:
1491 . openssl_encrypt()/openssl_decrypt() truncated keys of variable length
1492 ciphers to the OpenSSL default for the algorithm. (Scott)
1493 . On blocking SSL sockets respect the timeout option where possible.
1494 (Scott)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1495 . Fixed bug #54992 (Stream not closed and error not returned when SSL
1496 CN_match fails). (Gustavo, laird_ngrps at dodo dot com dot au)
1497
1498 - Oracle Database extension (OCI8):
1499 . Added oci_client_version() returning the runtime Oracle client library
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1500 version. (Chris Jones)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1501
748003b @smalyshev update NEWS
smalyshev authored
1502 . PCRE extension:
1503 . Increased the backtrack limit from 100000 to 1000000 (Rasmus)
1504
de52547 @smalyshev Integrate NEWS
smalyshev authored
1505 - PDO extension:
1506 . Fixed bug #54929 (Parse error with single quote in sql comment). (Felipe)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1507 . Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE
de52547 @smalyshev Integrate NEWS
smalyshev authored
1508 settings). (Ilia)
748003b @smalyshev update NEWS
smalyshev authored
1509
de52547 @smalyshev Integrate NEWS
smalyshev authored
1510 - PDO DBlib driver:
748003b @smalyshev update NEWS
smalyshev authored
1511 . Fixed bug #54329 (MSSql extension memory leak).
1512 (dotslashpok at gmail dot com)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1513 . Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field).
1514 (mjh at hodginsmedia dot com, Felipe)
1515
748003b @smalyshev update NEWS
smalyshev authored
1516 - PDO ODBC driver:
1517 . Fixed data type usage in 64bit. (leocsilva at gmail dot com)
1518
de52547 @smalyshev Integrate NEWS
smalyshev authored
1519 - PDO MySQL driver:
1520 . Fixed bug #54644 (wrong pathes in php_pdo_mysql_int.h). (Tony, Johannes)
1521 . Fixed bug #53782 (foreach throws irrelevant exception). (Johannes, Andrey)
1522 . Implemented FR #48587 (MySQL PDO driver doesn't support SSL connections).
1523 (Rob)
1524
1525 - PDO PostgreSQL driver:
1526 . Fixed bug #54318 (Non-portable grep option used in PDO pgsql
1527 configuration). (bwalton at artsci dot utoronto dot ca)
1528
1529 - PDO Oracle driver:
1530 . Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci).
1531 (jbnance at tresgeek dot net)
1532
1533 - Phar extension:
1534 . Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters).
1535 (Felipe)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1536
1537 - PHP-FPM SAPI:
748003b @smalyshev update NEWS
smalyshev authored
1538 . Implemented FR #54499 (FPM ping and status_path should handle HEAD request). (fat)
1539 . Implemented FR #54172 (Overriding the pid file location of php-fpm). (fat)
1540 . Fixed missing Expires and Cache-Control headers for ping and status pages.
1541 (fat)
1542 . Fixed memory leak. (fat) Reported and fixed by Giovanni Giacobbi.
1543 . Fixed wrong value of log_level when invoking fpm with -tt. (fat)
61940e4 @smalyshev integrate 5.3 NEWS
smalyshev authored
1544 . Added xml format to the status page. (fat)
1545 . Removed timestamp in logs written by children processes. (fat)
1546 . Fixed exit at FPM startup on fpm_resources_prepare() errors. (fat)
1547 . Added master rlimit_files and rlimit_core in the global configuration
1548 settings. (fat)
1549 . Removed pid in debug logs written by chrildren processes. (fat)
1550 . Added custom access log (also added per request %CPU and memory
1551 mesurement). (fat)
1552 . Added a real scoreboard and several improvements to the status page. (fat)
1553
de52547 @smalyshev Integrate NEWS
smalyshev authored
1554 - Reflection extension:
1555 . Fixed bug #54347 (reflection_extension does not lowercase module function
1556 name). (Felipe, laruence at yahoo dot com dot cn)
1557
1558 - SOAP extension:
748003b @smalyshev update NEWS
smalyshev authored
1559 . Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION
1560 contains itself). (Dmitry)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1561 . Fixed bug #54312 (soap_version logic bug). (tom at samplonius dot org)
1562
1563 - Sockets extension:
1564 . Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938)
1565 Found by Mateusz Kocielski, Marek Kroemeke and Filip Palian. (Felipe)
1566 . Changed socket_set_block() and socket_set_nonblock() so they emit warnings
1567 on error. (Gustavo)
1568 . Fixed bug #51958 (socket_accept() fails on IPv6 server sockets). (Gustavo)
1569
1570 - SPL extension:
748003b @smalyshev update NEWS
smalyshev authored
1571 . Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys
1572 on true). (Pierrick)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1573 . Fixed bug #54970 (SplFixedArray::setSize() isn't resizing). (Felipe)
1574 . Fixed bug #54609 (Certain implementation(s) of SplFixedArray cause hard
1575 crash). (Felipe)
1576 . Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and
1577 SplTempFileObject crash when user-space classes don't call the paren
1578 constructor). (Gustavo)
1579 . Fixed bug #54292 (Wrong parameter causes crash in
1580 SplFileObject::__construct()). (Felipe)
1581 . Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting
1582 with \0). (Gustavo)
1583 . Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator).
1584 (Felipe)
1585
1586 - Streams:
1587 . Fixed bug #54946 (stream_get_contents infinite loop). (Hannes)
3f3ae34 @LawnGnome Fix bug #55066 (Missing linebreak in NEWS).
LawnGnome authored
1588 . Fixed bug #54623 (Segfault when writing to a persistent socket after
1589 closing a copy of the socket). (Gustavo)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1590 . Fixed bug #54681 (addGlob() crashes on invalid flags). (Felipe)
1591
748003b @smalyshev update NEWS
smalyshev authored
1592
de52547 @smalyshev Integrate NEWS
smalyshev authored
1593 17 Mar 2011, PHP 5.3.6
1594 - Upgraded bundled Sqlite3 to version 3.7.4. (Ilia)
1595 - Upgraded bundled PCRE to version 8.11. (Ilia)
1596
1597 - Zend Engine:
1598 . Indirect reference to $this fails to resolve if direct $this is never used
1599 in method. (Scott)
1600 . Added options to debug backtrace functions. (Stas)
1601 . Fixed bug numerous crashes due to setlocale (crash on error, pcre, mysql
1602 etc.) on Windows in thread safe mode. (Pierre)
1603 . Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime
1604 error). (Dmitry)
1605 . Fixed Bug #53958 (Closures can't 'use' shared variables by value and by
1606 reference). (Dmitry)
1607 . Fixed Bug #53629 (memory leak inside highlight_string()). (Hannes, Ilia)
1608 . Fixed Bug #51458 (Lack of error context with nested exceptions). (Stas)
1609 . Fixed Bug #47143 (Throwing an exception in a destructor causes a fatal
1610 error). (Stas)
1611 . Fixed bug #43512 (same parameter name can be used multiple times in
1612 method/function definition). (Felipe)
1613
1614 - Core:
1615 . Added ability to connect to HTTPS sites through proxy with basic
1616 authentication using stream_context/http/header/Proxy-Authorization (Dmitry)
1617 . Changed default value of ini directive serialize_precision from 100 to 17.
1618 (Gustavo)
1619 . Fixed bug #54055 (buffer overrun with high values for precision ini
1620 setting). (Gustavo)
1621 . Fixed bug #53959 (reflection data for fgetcsv out-of-date). (Richard)
1622 . Fixed bug #53577 (Regression introduced in 5.3.4 in open_basedir with a
1623 trailing forward slash). (lekensteyn at gmail dot com, Pierre)
1624 . Fixed bug #53682 (Fix compile on the VAX). (Rasmus, jklos)
1625 . Fixed bug #48484 (array_product() always returns 0 for an empty array).
1626 (Ilia)
1627 . Fixed bug #48607 (fwrite() doesn't check reply from ftp server before
1628 exiting). (Ilia)
1629
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1630
de52547 @smalyshev Integrate NEWS
smalyshev authored
1631 - Calendar extension:
1632 . Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to
1633 segfault). (Gustavo)
1634
1635 - DOM extension:
1636 . Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode
1637 like DOMDocument::saveXML). (Gustavo)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1638
de52547 @smalyshev Integrate NEWS
smalyshev authored
1639 - DateTime extension:
1640 . Fixed a bug in DateTime->modify() where absolute date/time statements had
1641 no effect. (Derick)
1642 . Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit
1643 big-endian systems). (Derick, rein@basefarm.no)
1644 . Fixed bug #52808 (Segfault when specifying interval as two dates). (Stas)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1645 . Fixed bug #52738 (Can't use new properties in class extended from
de52547 @smalyshev Integrate NEWS
smalyshev authored
1646 DateInterval). (Stas)
1647 . Fixed bug #52290 (setDate, setISODate, setTime works wrong when DateTime
1648 created from timestamp). (Stas)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1649 . Fixed bug #52063 (DateTime constructor's second argument doesn't have a
de52547 @smalyshev Integrate NEWS
smalyshev authored
1650 null default value). (Gustavo, Stas)
1651
1652 - Exif extension:
1653 . Fixed bug #54002 (crash on crafted tag, reported by Luca Carettoni).
1654 (Pierre) (CVE-2011-0708)
1655
1656 - Filter extension:
1657 . Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number).
1658 (Ilia, Gustavo)
1659 . Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges).
1660 (Ilia)
1661 . Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)). (Ilia)
1662 . Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6).
1663 (Ilia, valli at icsurselva dot ch)
1664
1665 - Fileinfo extension:
1666 . Fixed bug #54016 (finfo_file() Cannot determine filetype in archives).
1667 (Hannes)
1668
1669 - Gettext
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1670 . Fixed bug #53837 (_() crashes on Windows when no LANG or LANGUAGE
de52547 @smalyshev Integrate NEWS
smalyshev authored
1671 environment variable are set). (Pierre)
1672
1673 - IMAP extension:
1674 . Implemented FR #53812 (get MIME headers of the part of the email). (Stas)
1675 . Fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long
1676 MIME header unfolding). (Adam)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1677
de52547 @smalyshev Integrate NEWS
smalyshev authored
1678 - Intl extension:
1679 . Fixed bug #53612 (Segmentation fault when using cloned several intl
1680 objects). (Gustavo)
1681 . Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values).
1682 (Felipe)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1683 . Implemented clone functionality for number, date & message formatters.
de52547 @smalyshev Integrate NEWS
smalyshev authored
1684 (Stas).
1685
1686 - JSON extension:
1687 . Fixed bug #53963 (Ensure error_code is always set during some failed
1688 decodings). (Scott)
1689
1690 - mysqlnd
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1691 . Fixed problem with always returning 0 as num_rows for unbuffered sets.
de52547 @smalyshev Integrate NEWS
smalyshev authored
1692 (Andrey, Ulf)
1693
1694 - MySQL Improved extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1695 . Added 'db' and 'catalog' keys to the field fetching functions (FR #39847).
de52547 @smalyshev Integrate NEWS
smalyshev authored
1696 (Kalle)
1697 . Fixed buggy counting of affected rows when using the text protocol. The
1698 collected statistics were wrong when multi_query was used with mysqlnd
1699 (Andrey)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1700 . Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL).
de52547 @smalyshev Integrate NEWS
smalyshev authored
1701 (Kalle)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1702 . Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA
de52547 @smalyshev Integrate NEWS
smalyshev authored
1703 query). (Kalle, Andrey)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1704 . Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to
de52547 @smalyshev Integrate NEWS
smalyshev authored
1705 call libmysql). (Kalle, tre-php-net at crushedhat dot com)
1706
1707 - OpenSSL extension:
1708 . Fixed stream_socket_enable_crypto() not honoring the socket timeout in
1709 server mode. (Gustavo)
1710 . Fixed bug #54060 (Memory leaks when openssl_encrypt). (Pierre)
1711 . Fixed bug #54061 (Memory leaks when openssl_decrypt). (Pierre)
1712 . Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode).
1713 (Gustavo)
1714 . Implemented FR #53447 (Cannot disable SessionTicket extension for servers
1715 that do not support it) by adding a no_ticket SSL context option. (Adam,
1716 Tony)
1717
1718 - PDO MySQL driver:
1719 . Fixed bug #53551 (PDOStatement execute segfaults for pdo_mysql driver).
1720 (Johannes)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1721 . Implemented FR #47802 (Support for setting character sets in DSN strings).
de52547 @smalyshev Integrate NEWS
smalyshev authored
1722 (Kalle)
1723
1724 - PDO Oracle driver:
1725 . Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on
1726 ORACLE 10). (spatar at mail dot nnov dot ru)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1727
de52547 @smalyshev Integrate NEWS
smalyshev authored
1728 - PDO PostgreSQL driver:
1729 . Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down).
1730 (gyp at balabit dot hu)
1731
1732 - Phar extension:
1733 . Fixed bug #54247 (format-string vulnerability on Phar). (Felipe)
1734 (CVE-2011-1153)
1735 . Fixed bug #53541 (format string bug in ext/phar).
1736 (crrodriguez at opensuse dot org, Ilia)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1737 . Fixed bug #53898 (PHAR reports invalid error message, when the directory
de52547 @smalyshev Integrate NEWS
smalyshev authored
1738 does not exist). (Ilia)
1739
1740 - PHP-FPM SAPI:
1741 . Enforce security in the fastcgi protocol parsing.
1742 (ef-lists at email dotde)
1743 . Fixed bug #53777 (php-fpm log format now match php_error log format). (fat)
1744 . Fixed bug #53527 (php-fpm --test doesn't set a valuable return value). (fat)
1745 . Fixed bug #53434 (php-fpm slowlog now also logs the original request). (fat)
1746
1747 - Readline extension:
1748 . Fixed bug #53630 (Fixed parameter handling inside readline() function).
1749 (jo at feuersee dot de, Ilia)
1750
1751 - Reflection extension:
1752 . Fixed bug #53915 (ReflectionClass::getConstant(s) emits fatal error on
1753 constants with self::). (Gustavo)
1754
1755 - Shmop extension:
1756 . Fixed bug #54193 (Integer overflow in shmop_read()). (Felipe)
1757 Reported by Jose Carlos Norte <jose at eyeos dot org> (CVE-2011-1092)
1758
1759 - SNMP extension:
1760 . Fixed bug #51336 (snmprealwalk (snmp v1) does not handle end of OID tree
1761 correctly). (Boris Lytochkin)
1762
1763 - SOAP extension:
1764 . Fixed possible crash introduced by the NULL poisoning patch.
1765 (Mateusz Kocielski, Pierre)
1766
1767 - SPL extension:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1768 . Fixed memory leak in DirectoryIterator::getExtension() and
de52547 @smalyshev Integrate NEWS
smalyshev authored
1769 SplFileInfo::getExtension(). (Felipe)
1770 . Fixed bug #53914 (SPL assumes HAVE_GLOB is defined). (Chris Jones)
1771 . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0
1772 values). (Felipe)
1773 . Fixed bug #49608 (Using CachingIterator on DirectoryIterator instance
1774 segfaults). (Felipe)
1775
1776 . Added SplFileInfo::getExtension(). FR #48767. (Peter Cowburn)
1777
1778 - SQLite3 extension:
1779 . Fixed memory leaked introduced by the NULL poisoning patch.
1780 (Mateusz Kocielski, Pierre)
1781 . Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a
1782 reference. (Felipe)
1783 . Add SQlite3_Stmt::readonly() for checking if a statement is read only.
1784 (Scott)
1785 . Implemented FR #53466 (SQLite3Result::columnType() should return false after
1786 all of the rows have been fetched). (Scott)
1787
1788 - Streams:
1789 . Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP
1790 wrapper). (Gustavo)
1791 . Fixed bug #53913 (Streams functions assume HAVE_GLOB is defined). (Chris
1792 Jones)
1793 . Fixed bug #53903 (userspace stream stat callback does not separate the
1794 elements of the returned array before converting them). (Gustavo)
1795 . Implemented FR #26158 (open arbitrary file descriptor with fopen). (Gustavo)
1796
1797 - Tokenizer Extension
1798 . Fixed bug #54089 (token_get_all() does not stop after __halt_compiler).
bdc4a1c Tidy up PHP 5.4.0 section, incuding removing most (?) bugs in new
Christopher Jones authored
1799 (Nikita Popov, Ilia)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1800
1801 - XSL extension:
1802 . Fixed memory leaked introduced by the NULL poisoning patch.
1803 (Mateusz Kocielski, Pierre)
1804
1805 - Zip extension:
1806 . Added the filename into the return value of stream_get_meta_data(). (Hannes)
1807 . Fixed bug #53923 (Zip functions assume HAVE_GLOB is defined). (Adam)
1808 . Fixed bug #53893 (Wrong return value for ZipArchive::extractTo()). (Pierre)
1809 . Fixed bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive).
1810 (Stas, Maksymilian Arciemowicz). (CVE-2011-0421)
1811 . Fixed bug #53854 (Missing constants for compression type). (Richard, Adam)
1812 . Fixed bug #53603 (ZipArchive should quiet stat errors). (brad dot froehle at
1813 gmail dot com, Gustavo)
1814 . Fixed bug #53579 (stream_get_contents() segfaults on ziparchive streams).
1815 (Hannes)
1816 . Fixed bug #53568 (swapped memset arguments in struct initialization).
1817 (crrodriguez at opensuse dot org)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1818 . Fixed bug #53166 (Missing parameters in docs and reflection definition).
de52547 @smalyshev Integrate NEWS
smalyshev authored
1819 (Richard)
1820 . Fixed bug #49072 (feof never returns true for damaged file in zip).
1821 (Gustavo, Richard Quadling)
1822
1823 06 Jan 2011, PHP 5.3.5
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1824 - Fixed Bug #53632 (infinite loop with x87 fpu). (CVE-2010-4645) (Scott,
de52547 @smalyshev Integrate NEWS
smalyshev authored
1825 Rasmus)
1826
1827 09 Dec 2010, PHP 5.3.4
1828 - Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)
1829 - Upgraded bundled PCRE to version 8.10. (Ilia)
1830
1831 - Security enhancements:
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1832 . Fixed crash in zip extract method (possible CWE-170).
de52547 @smalyshev Integrate NEWS
smalyshev authored
1833 (Maksymilian Arciemowicz, Pierre)
1834 . Paths with NULL in them (foo\0bar.txt) are now considered as invalid.
1835 (Rasmus)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1836 . Fixed a possible double free in imap extension (Identified by Mateusz
de52547 @smalyshev Integrate NEWS
smalyshev authored
1837 Kocielski). (CVE-2010-4150). (Ilia)
1838 . Fixed NULL pointer dereference in ZipArchive::getArchiveComment.
1839 (CVE-2010-3709). (Maksymilian Arciemowicz)
1840 . Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre)
1841 . Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950). (Pierre)
1842 . Fixed symbolic resolution support when the target is a DFS share. (Pierre)
1843 . Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with
1844 large amount of data) (CVE-2010-3710). (Adam)
1845
1846 - General improvements:
1847 . Added stat support for zip stream. (Pierre)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1848 . Added follow_location (enabled by default) option for the http stream
de52547 @smalyshev Integrate NEWS
smalyshev authored
1849 support. (Pierre)
1850 . Improved support for is_link and related functions on Windows. (Pierre)
1851 . Added a 3rd parameter to get_html_translation_table. It now takes a charset
1852 hint, like htmlentities et al. (Gustavo)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1853
de52547 @smalyshev Integrate NEWS
smalyshev authored
1854 - Implemented feature requests:
1855 . Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect
1856 zend multibyte at runtime. (Kalle)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1857 . Implemented FR #52173, added functions pcntl_get_last_error() and
de52547 @smalyshev Integrate NEWS
smalyshev authored
1858 pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud)
1859 . Implemented symbolic links support for open_basedir checks. (Pierre)
1860 . Implemented FR #51804, SplFileInfo::getLinkTarget on Windows. (Pierre)
1861 . Implemented FR #50692, not uploaded files don't count towards
1862 max_file_uploads limit. As a side improvement, temporary files are not
1863 opened for empty uploads and, in debug mode, 0-length uploads. (Gustavo)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1864
de52547 @smalyshev Integrate NEWS
smalyshev authored
1865 - Improved MySQLnd:
1866 . Added new character sets to mysqlnd, which are available in MySQL 5.5
1867 (Andrey)
1868
1869 - Improved PHP-FPM SAPI:
1870 . Added '-p/--prefix' to php-fpm to use a custom prefix and run multiple
1871 instances. (fat)
1872 . Added custom process title for FPM. (fat)
1873 . Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat)
1874 . Added statistics about listening socket queue length for FPM.
1875 (andrei dot nigmatulin at gmail dot com, fat)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1876
de52547 @smalyshev Integrate NEWS
smalyshev authored
1877 - Core:
1878 . Fixed extract() to do not overwrite $GLOBALS and $this when using
1879 EXTR_OVERWRITE. (jorto at redhat dot com)
1880 . Fixed bug in the Windows implementation of dns_get_record, where the two
1881 last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).
1882 . Changed the $context parameter on copy() to actually have an effect. (Kalle)
1883 . Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8
1884 sequences. (Gustavo)
1885 . Fixed bug #53409 (sleep() returns NULL on Windows). (Pierre)
1886 . Fixed bug #53319 (strip_tags() may strip '<br />' incorrectly). (Felipe)
1887 . Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits).
1888 (Ilia, daniel dot mueller at inexio dot net)
1889 . Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char).
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1890 (Justin Martin)
de52547 @smalyshev Integrate NEWS
smalyshev authored
1891 . Fixed bug #53226 (file_exists fails on big filenames). (Adam)
1892 . Fixed bug #53198 (changing INI setting "from" with ini_set did not have any
1893 effect). (Gustavo)
1894 . Fixed bug #53180 (post_max_size=0 not disabling the limit when the content
1895 type is application/x-www-form-urlencoded or is not registered with PHP).
1896 (gm at tlink dot de, Gustavo)
1897 . Fixed bug #53141 (autoload misbehaves if called from closing session).
1898 (ladislav at marek dot su)
1899 . Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities
1900 with ENT_NOQUOTES and ISO-8859-1). Fixed and extended the fix of
1901 ENT_NOQUOTES in html_entity_decode that had introduced the bug (rev
1902 #185591) to other encodings. Additionaly, html_entity_decode() now doesn't
1903 decode &#34; if ENT_NOQUOTES is given. (Gustavo)
1904 . Fixed bug #52931 (strripos not overloaded with function overloading
1905 enabled). (Felipe)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1906 . Fixed bug #52772 (var_dump() doesn't check for the existence of
de52547 @smalyshev Integrate NEWS
smalyshev authored
1907 get_class_name before calling it). (Kalle, Gustavo)
1908 . Fixed bug #52534 (var_export array with negative key). (Felipe)
1909 . Fixed bug #52327 (base64_decode() improper handling of leading padding in
1910 strict mode). (Ilia)
1911 . Fixed bug #52260 (dns_get_record fails with non-existing domain on Windows).
1912 (a_jelly_doughnut at phpbb dot com, Pierre)
1913 . Fixed bug #50953 (socket will not connect to IPv4 address when the host has
1914 both IPv4 and IPv6 addresses, on Windows). (Gustavo, Pierre)
1915 . Fixed bug #50524 (proc_open on Windows does not respect cwd as it does on
1916 other platforms). (Pierre)
1917 . Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number
1918 of reported malformed sequences). (CVE-2010-3870) (Gustavo)
1919 . Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8).
1920 (Gustavo)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1921 . Fixed bug #48831 (php -i has different output to php --ini). (Richard,
de52547 @smalyshev Integrate NEWS
smalyshev authored
1922 Pierre)
1923 . Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4).
1924 (Felipe)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1925 . Fixed bug #47168 (printf of floating point variable prints maximum of 40
de52547 @smalyshev Integrate NEWS
smalyshev authored
1926 decimal places). (Ilia)
1927 . Fixed bug #46587 (mt_rand() does not check that max is greater than min).
1928 (Ilia)
1929 . Fixed bug #29085 (bad default include_path on Windows). (Pierre)
1930 . Fixed bug #25927 (get_html_translation_table calls the ' &#39; instead of
1931 &#039;). (Gustavo)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1932
de52547 @smalyshev Integrate NEWS
smalyshev authored
1933 - Zend engine:
1934 . Reverted fix for bug #51176 (Static calling in non-static method behaves
1935 like $this->). (Felipe)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1936 . Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.
de52547 @smalyshev Integrate NEWS
smalyshev authored
1937 (Kalle)
1938 . Fixed NULL dereference in lex_scan on zend multibyte builds where the script
1939 had a flex incompatible encoding and there was no converter. (Gustavo)
1940 . Fixed covariance of return-by-ref constraints. (Etienne)
1941 . Fixed bug #53305 (E_NOTICE when defining a constant starts with
1942 __COMPILER_HALT_OFFSET__). (Felipe)
1943 . Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF).
1944 (Dmitry)
1945 . Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset
1946 can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)
1947 . Fixed bug #52786 (PHP should reset section to [PHP] after ini sections).
1948 (Fedora at famillecollet dot com)
1949 . Fixed bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW).
1950 (Felipe)
1951 . Fixed bug #52484 (__set() ignores setting properties with empty names).
1952 (Felipe)
1953 . Fixed bug #52361 (Throwing an exception in a destructor causes invalid
1954 catching). (Dmitry)
1955 . Fixed bug #51008 (Zend/tests/bug45877.phpt fails). (Dmitry)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1956
de52547 @smalyshev Integrate NEWS
smalyshev authored
1957 - Build issues:
1958 . Fixed bug #52436 (Compile error if systems do not have stdint.h)
1959 (Sriram Natarajan)
1960 . Fixed bug #50345 (nanosleep not detected properly on some solaris versions).
1961 (Ulf, Tony)
1962 . Fixed bug #49215 (make fails on glob_wrapper). (Felipe)
1963
1964 - Calendar extension:
1965 . Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE).
1966 (gpap at internet dot gr, Adam)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored
1967
de52547 @smalyshev Integrate NEWS
smalyshev authored
1968 - cURL extension:
1969 . Fixed bug #52828 (curl_setopt does not accept persistent streams).
1970 (Gustavo, Ilia)
1971 . Fixed bug #52827 (cURL leaks handle and causes assertion error
1972 (CURLOPT_STDERR)). (Gustavo)
1973 . Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). (Ilia)
1974 . Fixed bug #50410 (curl extension slows down PHP on Windows). (Pierre)
5dd23ae @smalyshev prepare NEWS for 5.4.0
smalyshev authored