@@ -11,6 +11,255 @@ function peclbugl($number) { echo "<a href=\"http://pecl.php.net/bugs/bug.php?
1111
1212<h1>PHP 5 ChangeLog</h1>
1313
14+ <a name="5.4.1"></a><!-- {{{ 5.4.1 -->
15+ <h3>Version 5.3.11</h3>
16+ <b>26-Apr-2012</b>
17+
18+ <li>CLI Server</li>
19+ <ul>
20+ <li><?php bugfix (61461 ); ?> (missing checks around malloc() calls).</li>
21+ <li>Implemented <?php bugl (60850 ); ?> (Built in web server does not set
22+ $_SERVER['SCRIPT_FILENAME'] when using router).</li>
23+ </ul>
24+
25+ <li>Core</li>
26+ <ul>
27+ <li>Fixed crash in ZTS using same class in many threads.</li>
28+ <li><?php bugfix (61374 ); ?> (html_entity_decode tries to decode code points that don't
29+ exist in ISO-8859-1).</li>
30+ <li><?php bugfix (61225 ); ?> (Incorrect lexing of 0b00*+<NUM>).</li>
31+ <li><?php bugfix (61106 ); ?> (Segfault when using header_register_callback).</li>
32+ <li><?php bugfix (61052 ); ?> (Missing error check in trait 'insteadof' clause).</li>
33+ <li><?php bugfix (61011 ); ?> (Crash when an exception is thrown by __autoload
34+ accessing a static property).</li>
35+ <li><?php bugfix (60978 ); ?> (exit code incorrect).</li>
36+ <li><?php bugfix (60911 ); ?> (Confusing error message when extending traits).</li>
37+ <li><?php bugfix (60717 ); ?> (Order of traits in use statement can cause a fatal
38+ error).</li>
39+ <li><?php bugfix (60573 ); ?> (type hinting with "self" keyword causes weird errors).</li>
40+ </ul>
41+
42+ <li>Fileinfo</li>
43+ <ul>
44+ <li>Fix fileinfo test problems.</li>
45+ </ul>
46+
47+ <li>Intl</li>
48+ <ul>
49+ <li><?php bugfix (61487 ); ?> (Incorrent bounds checking in grapheme_strpos).</li>
50+ </ul>
51+
52+ <li>mbstring</li>
53+ <ul>
54+ <li>MFH mb_ereg_replace_callback() for security enhancements.</li>
55+ </ul>
56+
57+ <li>mysqlnd</li>
58+ <ul>
59+ <li><?php bugfix (60948 ); ?> (mysqlnd FTBFS when -Wformat-security is enabled).</li>
60+ </ul>
61+
62+ <li>Standard</li>
63+ <ul>
64+ <li>Fixed memory leak in substr_replace.</li>
65+ <li>Make max_file_uploads ini directive settable outside of php.</li>
66+ <li><?php bugfix (61409 ); ?> (Bad formatting on phpinfo()).</li>
67+ <li><?php bugfix (60222 ); ?> (time_nanosleep() does validate input params).</li>
68+ <li><?php bugfix (60106 ); ?> (stream_socket_server silently truncates long unix socket
69+ paths).</li>
70+ </ul>
71+
72+ <a name="5.3.11"></a><!-- {{{ 5.3.11 -->
73+ <h3>Version 5.3.11</h3>
74+ <b>26-Apr-2012</b>
75+
76+ <li>Core</li>
77+ <ul>
78+ <li><?php bugfix (61650 ); ?> (ini parser crashes when using ${xxxx} ini variables
79+ (without apache2)).</li>
80+ <li><?php bugfix (61273 ); ?> (call_user_func_array with more than 16333 arguments
81+ leaks / crashes).</li>
82+ <li><?php bugfix (61165 ); ?> (Segfault - strip_tags()).</li>
83+ <li><?php bugfix (61095 ); ?> (Incorect lexing of 0x00*+<NUM>).</li>
84+ <li><?php bugfix (61087 ); ?> (Memory leak in parse_ini_file when specifying
85+ invalid scanner mode).</li>
86+ <li><?php bugfix (61072 ); ?> (Memory leak when restoring an exception handler).</li>
87+ <li><?php bugfix (61058 ); ?> (array_fill leaks if start index is PHP_INT_MAX).</li>
88+ <li><?php bugfix (61000 ); ?> (Exceeding max nesting level doesn't delete numerical
89+ vars).</li>
90+ <li><?php bugfix (60895 ); ?> (Possible invalid handler usage in windows random
91+ functions).</li>
92+ <li><?php bugfix (60825 ); ?> (Segfault when running symfony 2 tests).</li>
93+ <li><?php bugfix (60801 ); ?> (strpbrk() mishandles NUL byte).</li>
94+ <li><?php bugfix (60569 ); ?> (Nullbyte truncates Exception $message).</li>
95+ <li><?php bugfix (60227 ); ?> (header() cannot detect the multi-line header with CR).</li>
96+ <li><?php bugfix (60222 ); ?> (time_nanosleep() does validate input params).</li>
97+ <li><?php bugfix (54374 ); ?> (Insufficient validating of upload name leading to
98+ corrupted $_FILES indices). (CVE-2012-1172).</li>
99+ <li><?php bugfix (52719 ); ?> (array_walk_recursive crashes if third param of the
100+ function is by reference).</li>
101+ <li>Improve performance of set_exception_handler while doing reset.</li>
102+ <li><?php bugfix (51860 ); ?> (Include fails with toplevel symlink to /).</li>
103+ </ul>
104+
105+ <li>DOM</li>
106+ <ul>
107+ <li>Added debug info handler to DOM objects.</li>
108+ </ul>
109+
110+ <li>FPM</li>
111+ <ul>
112+ <li><?php bugfix (61430 ); ?> (Transposed memset() params in sapi/fpm/fpm/fpm_shm.)</li>
113+ <li><?php bugfix (60811 ); ?> (php-fpm compilation problem).</li>
114+ </ul>
115+
116+ <li>Fileinfo</li>
117+ <ul>
118+ <li>Upgraded libmagic to 5.</li>
119+ <li><?php bugfix (61565 ); ?> where php_stream_open_wrapper_ex tries to open a
120+ directory descriptor under windows.</li>
121+ <li><?php bugfix (61566 ); ?> failure caused by the posix lseek and read versions
122+ under windows in cdf_read().</li>
123+ <li><?php bugfix (61173 ); ?> (Unable to detect error from finfo constructor).</li>
124+ </ul>
125+
126+ <li>Firebird Database extension (ibase)</li>
127+ <ul>
128+ <li><?php bugfix (60802 ); ?> (ibase_trans() gives segfault when passing params).
129+ </ul>
130+
131+ <li>Ibase</li>
132+ <ul>
133+ <li><?php bugfix (60947 ); ?> (Segmentation fault while executing ibase_db_info).</li>
134+ </ul>
135+
136+ <li>Installation</li>
137+ <ul>
138+ <li><?php bugfix (61172 ); ?> (Add Apache 2.4 support).</li>
139+ </ul>
140+
141+ <li>mysqli</li>
142+ <ul>
143+ <li><?php bugfix (61003 ); ?> (mysql_stat() require a valid connection).</li>
144+ </ul>
145+
146+ <li>PDO_mysql</li>
147+ <ul>
148+ <li><?php bugfix (61207 ); ?> (PDO::nextRowset() after a multi-statement query doesn't
149+ always work).</li>
150+ <li><?php bugfix (61194 ); ?> (PDO should export compression flag with myslqnd).</ul>
151+ </ul>
152+
153+ <li>PDO_odbc</li>
154+ <ul>
155+ <li><?php bugfix (61212 ); ?> (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO).</li>
156+ </ul>
157+
158+ <li>PDO_pgsql</li>
159+ <ul>
160+ <li><?php bugfix (61267 ); ?> (pdo_pgsql's PDO::exec() returns the number of SELECTed
161+ rows on postgresql >= 9).</li>
162+ </ul>
163+
164+ <li>PDO_Sqlite extension</li>
165+ <ul>
166+ <li>Add createCollation support.</li>
167+ </ul>
168+
169+ <li>pgsql</li>
170+ <ul>
171+ <li><?php bugfix (60718 ); ?> (Compile problem with libpq (PostgreSQL 7.3 or less).</li>
172+ </ul>
173+
174+ <li>Phar</li>
175+ <ul>
176+ <li><?php bugfix (61184 ); ?> (Phar::webPhar() generates headers with trailing NUL
177+ bytes).</li>
178+ </ul>
179+
180+ <li>Readline</li>
181+ <ul>
182+ <li><?php bugfix (61088 ); ?> (Memory leak in readline_callback_handler_install).</li>
183+ <li>Add open_basedir checks to readline_write_history and readline_read_history.</li>
184+ </ul>
185+
186+ <li>Reflection</li>
187+ <ul>
188+ <li><?php bugfix (61388 ); ?> (ReflectionObject:getProperties() issues invalid reads
189+ when get_properties returns a hash table with (inaccessible) dynamic
190+ numeric properties).</li>
191+ <li><?php bugfix (60968 ); ?> (Late static binding doesn't work with
192+ ReflectionMethod::invokeArgs()).</li>
193+ </ul>
194+
195+ <li>Session</li>
196+ <ul>
197+ <li><?php bugfix (60860 ); ?> (session.save_handler=user without defined function core
198+ dumps).</li>
199+ <li><?php bugfix (60634 ); ?> (Segmentation fault when trying to die() in
200+ SessionHandler::write()).</li>
201+ </ul>
202+
203+ <li>SOAP</li>
204+ <ul>
205+ <li><?php bugfix (61423 ); ?> (gzip compression fails).</li>
206+ <li><?php bugfix (60887 ); ?> (SoapClient ignores user_agent option and sends no
207+ User-Agent header).</li>
208+ <li><?php bugfix (60842 ); ?> , <?php buigfix (51775 ); ?> (Chunked response parsing error when
209+ chunksize length line is > 10 bytes).</li>
210+ <li><?php bugfix (49853 ); ?> (Soap Client stream context header option ignored).</li>
211+ </ul>
212+
213+ <li>SPL</li>
214+ <ul>
215+ <li>Fixed memory leak when calling SplFileInfo's constructor twice.</li>
216+ <li><?php bugfix (61418 ); ?> (Segmentation fault when DirectoryIterator's or
217+ FilesystemIterator's iterators are requested more than once without
218+ having had its dtor callback called in between).</li>
219+ <li><?php bugfix (61347 ); ?> (inconsistent isset behavior of Arrayobject).</li>
220+ <li><?php bugfix (61326 ); ?> (ArrayObject comparison).</li>
221+ </ul>
222+
223+ <li>SQLite3 extension</li>
224+ <ul>
225+ <li>Add createCollation() method.</li>
226+ </ul>
227+
228+ <li>Streams</li>
229+ <ul>
230+ <li><?php bugfix (61371 ); ?> (stream_context_create() causes memory leaks on use
231+ streams_socket_create).</li>
232+ <li><?php bugfix (61253 ); ?> (Wrappers opened with errors concurrency problem on ZTS).</li>
233+ <li><?php bugfix (61115 ); ?> (stream related segfault on fatal error in
234+ php_stream_context_link).</li>
235+ <li><?php bugfix (60817 ); ?> (stream_get_line() reads from stream even when there is
236+ already sufficient data buffered). stream_get_line() now behaves more like
237+ fgets(), as is documented.</li>
238+ <li>Further fix for bug <?php bugfix (60455 ); ?> (stream_get_line misbehaves if EOF is not
239+ detected together with the last read).</li>
240+ <li><?php bugfix (60106 ); ?> (stream_socket_server silently truncates long unix
241+ socket paths).</li>
242+ </ul>
243+
244+ <li>Tidy</li>
245+ <ul>
246+ <li><?php bugfix (54682 ); ?> (tidy null pointer dereference).</li>
247+ </ul>
248+
249+ <li>XMLRPC</li>
250+ <ul>
251+ <li><?php bugfix (61264 ); ?> (xmlrpc_parse_method_descriptions leaks temporary
252+ variable).</li>
253+ <li><?php bugfix (61097 ); ?> (Memory leak in xmlrpc functions copying zvals).</li>
254+ </ul>
255+
256+ <li>Zlib</li>
257+ <ul>
258+ <li><?php bugfix (61306 ); ?> (initialization of global inappropriate for ZTS).</li>
259+ <li><?php bugfix (61287 ); ?> (A particular string fails to decompress).</li>
260+ <li><?php bugfix (61139 ); ?> (gzopen leaks when specifying invalid mode).</li>
261+ </ul>
262+
14263<a name="5.4.0"></a><!-- {{{ 5.3.10 -->
15264<h3>Version 5.4.0</h3>
16265<b>01-Mar-2012</b>
0 commit comments