1<?php 2$_SERVER['BASE_PAGE'] = 'ChangeLog-5.php'; 3include_once __DIR__ . '/include/prepend.inc'; 4include_once __DIR__ . '/include/changelogs.inc'; 5 6$MINOR_VERSIONS = ['5.6', '5.5', '5.4', '5.3', '5.2', '5.1', '5.0']; 7changelog_header(5, $MINOR_VERSIONS); 8?> 9<a id="PHP_5_6"></a> 10<section class="version" id="5.6.40"><!-- {{{ 5.6.40 --> 11<h3>Version 5.6.40</h3> 12<b><?php release_date('10-Jan-2019'); ?></b> 13<ul><li>GD: 14<ul> 15 <li><?php bugfix(77269); ?> (efree() on uninitialized Heap data in imagescale leads to 16use-after-free). (CVE-2016-10166)</li> 17 <li><?php bugfix(77270); ?> (imagecolormatch Out Of Bounds Write on Heap). (CVE-2019-6977)</li> 18</ul></li> 19<li>Mbstring: 20<ul> 21 <li><?php bugfix(77370); ?> (Buffer overflow on mb regex functions - fetch_token). (CVE-2019-9023)</li> 22 <li><?php bugfix(77371); ?> (heap buffer overflow in mb regex functions - compile_string_node). (CVE-2019-9023)</li> 23 <li><?php bugfix(77381); ?> (heap buffer overflow in multibyte match_at). (CVE-2019-9023)</li> 24 <li><?php bugfix(77382); ?> (heap buffer overflow due to incorrect length in expand_case_fold_string). (CVE-2019-9023)</li> 25 <li><?php bugfix(77385); ?> (buffer overflow in fetch_token). (CVE-2019-9023)</li> 26 <li><?php bugfix(77394); ?> (Buffer overflow in multibyte case folding - unicode). (CVE-2019-9023)</li> 27 <li><?php bugfix(77418); ?> (Heap overflow in utf32be_mbc_to_code). (CVE-2019-9023)</li> 28</ul></li> 29<li>Phar: 30<ul> 31 <li><?php bugfix(77247); ?> (heap buffer overflow in phar_detect_phar_fname_ext). (CVE-2019-9021)</li> 32</ul></li> 33<li>Xmlrpc: 34<ul> 35 <li><?php bugfix(77242); ?> (heap out of bounds read in xmlrpc_decode()). (CVE-2019-9020)</li> 36 <li><?php bugfix(77380); ?> (Global out of bounds read in xmlrpc base64 code). (CVE-2019-9024)</li> 37</ul></li> 38</ul> 39<!-- }}} --></section> 40 41<section class="version" id="5.6.39"><!-- {{{ 5.6.39 --> 42<h3>Version 5.6.39</h3> 43<b><?php release_date('06-Dec-2018'); ?></b> 44<ul><li>Core: 45<ul> 46 <li><?php bugfix(77231); ?> (Segfault when using convert.quoted-printable-encode filter).</li> 47</ul></li> 48<li>IMAP: 49<ul> 50 <li><?php bugfix(77020); ?> (null pointer dereference in imap_mail).</li> 51 <li><?php bugfix(77153); ?> (imap_open allows to run arbitrary shell commands via mailbox parameter). (CVE-2018-19518)</li> 52</ul></li> 53<li>Phar: 54<ul> 55 <li><?php bugfix(77022); ?> (PharData always creates new files with mode 0666).</li> 56 <li><?php bugfix(77143); ?> (Heap Buffer Overflow (READ: 4) in phar_parse_pharfile). (CVE-2018-20783)</li> 57</ul></li> 58</ul> 59<!-- }}} --></section> 60 61<section class="version" id="5.6.38"><!-- {{{ 5.6.38 --> 62<h3>Version 5.6.38</h3> 63<b><?php release_date('13-Sep-2018'); ?></b> 64<ul><li>Apache2: 65<ul> 66 <li><?php bugfix(76582); ?> (XSS due to the header Transfer-Encoding: chunked). (CVE-2018-17082)</li> 67</ul></li> 68</ul> 69<!-- }}} --></section> 70 71<section class="version" id="5.6.37"><!-- {{{ 5.6.37 --> 72<h3>Version 5.6.37</h3> 73<b><?php release_date('19-Jul-2018'); ?></b> 74<ul><li>Exif: 75<ul> 76 <li><?php bugfix(76423); ?> (Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c). (CVE-2018-14883)</li> 77 <li><?php bugfix(76557); ?> (heap-buffer-overflow (READ of size 48) while reading exif data). (CVE-2018-14851)</li> 78</ul></li> 79<li>Win32: 80<ul> 81 <li><?php bugfix(76459); ?> (windows linkinfo lacks openbasedir check). (CVE-2018-15132)</li> 82</ul></li> 83</ul> 84<!-- }}} --></section> 85 86<section class="version" id="5.6.36"><!-- {{{ 5.6.36 --> 87<h3>Version 5.6.36</h3> 88<b><?php release_date('26-Apr-2018'); ?></b> 89<ul><li>Exif: 90<ul> 91 <li><?php bugfix(76130); ?> (Heap Buffer Overflow (READ: 1786) in exif_iif_add_value). (CVE-2018-10549)</li> 92</ul></li> 93<li>iconv: 94<ul> 95 <li><?php bugfix(76249); ?> (stream filter convert.iconv leads to infinite loop on invalid sequence). (CVE-2018-10546)</li> 96</ul></li> 97<li>LDAP: 98<ul> 99 <li><?php bugfix(76248); ?> (Malicious LDAP-Server Response causes Crash). (CVE-2018-10548)</li> 100</ul></li> 101<li>Phar: 102<ul> 103 <li><?php bugfix(76129); ?> (fix for CVE-2018-5712 may not be complete). (CVE-2018-10547)</li> 104</ul></li> 105</ul> 106<!-- }}} --></section> 107 108<section class="version" id="5.6.35"><!-- {{{ 5.6.35 --> 109<h3>Version 5.6.35</h3> 110<b><?php release_date('29-Mar-2018'); ?></b> 111<ul><li>FPM: 112<ul> 113 <li><?php bugfix(75605); ?> (Dumpable FPM child processes allow bypassing opcache access controls). (CVE-2018-10545)</li> 114</ul></li> 115</ul> 116<!-- }}} --></section> 117 118<section class="version" id="5.6.34"><!-- {{{ 5.6.34 --> 119<h3>Version 5.6.34</h3> 120<b><?php release_date('01-Mar-2018'); ?></b> 121<ul><li>Standard: 122<ul> 123 <li><?php bugfix(75981); ?> (stack-buffer-overflow while parsing HTTP response). (CVE-2018-7584)</li> 124</ul></li> 125</ul> 126<!-- }}} --></section> 127 128<section class="version" id="5.6.33"><!-- {{{ 5.6.33 --> 129<h3>Version 5.6.33</h3> 130<b><?php release_date('04-Jan-2018'); ?></b> 131<ul><li>GD: 132<ul> 133 <li><?php bugfix(75571); ?> (Potential infinite loop in gdImageCreateFromGifCtx). (CVE-2018-5711)</li> 134</ul></li> 135<li>Phar: 136<ul> 137 <li><?php bugfix(74782); ?> (Reflected XSS in .phar 404 page). (CVE-2018-5712)</li> 138</ul></li> 139</ul> 140<!-- }}} --></section> 141 142<section class="version" id="5.6.32"><!-- {{{ 5.6.32 --> 143<h3>Version 5.6.32</h3> 144<b><?php release_date('26-Oct-2017'); ?></b> 145<ul><li>Date: 146<ul> 147 <li><?php bugfix(75055); ?> (Out-Of-Bounds Read in timelib_meridian()). (CVE-2017-16642)</li> 148</ul></li> 149<li>mcrypt: 150<ul> 151 <li><?php bugfix(72535); ?> (arcfour encryption stream filter crashes php).</li> 152</ul></li> 153<li>PCRE: 154<ul> 155 <li><?php bugfix(75207); ?> (applied upstream patch for CVE-2016-1283).</li> 156</ul></li> 157</ul> 158<!-- }}} --></section> 159 160<section class="version" id="5.6.31"><!-- {{{ 5.6.31 --> 161<h3>Version 5.6.31</h3> 162<b><?php release_date('06-Jul-2017'); ?></b> 163<ul><li>Core: 164<ul> 165 <li><?php bugfix(73807); ?> (Performance problem with processing large post request). (CVE-2017-11142)</li> 166 <li><?php bugfix(74111); ?> (Heap buffer overread (READ: 1) finish_nested_data from unserialize). (CVE-2017-12933)</li> 167 <li><?php bugfix(74603); ?> (PHP INI Parsing Stack Buffer Overflow Vulnerability). (CVE-2017-11628)</li> 168 <li><?php bugfix(74819); ?> (wddx_deserialize() heap out-of-bound read via php_parse_date()). (CVE-2017-11145)</li> 169</ul></li> 170<li>GD: 171<ul> 172 <li><?php bugfix(74435); ?> (Buffer over-read into uninitialized memory). (CVE-2017-7890)</li> 173</ul></li> 174<li>mbstring: 175<ul> 176 <li>Add oniguruma upstream fix (CVE-2017-9224, CVE-2017-9226, CVE-2017-9227, CVE-2017-9228, CVE-2017-9229)</li> 177</ul></li> 178<li>OpenSSL: 179<ul> 180 <li><?php bugfix(74651); ?> (negative-size-param (-1) in memcpy in zif_openssl_seal()). (CVE-2017-11144)</li> 181</ul></li> 182<li>PCRE: 183<ul> 184 <li><?php bugfix(74087); ?> (Segmentation fault in PHP7.1.1(compiled using the bundled PCRE library)).</li> 185</ul></li> 186<li>WDDX: 187<ul> 188 <li><?php bugfix(74145); ?> (wddx parsing empty boolean tag leads to SIGSEGV). (CVE-2017-11143)</li> 189</ul></li> 190</ul> 191<!-- }}} --></section> 192 193<section class="version" id="5.6.30"><!-- {{{ 5.6.30 --> 194<h3>Version 5.6.30</h3> 195<b><?php release_date('19-Jan-2017'); ?></b> 196<ul><li>EXIF: 197<ul> 198 <li><?php bugfix(73737); ?> (FPE when parsing a tag format). (CVE-2016-10158)</li> 199</ul></li> 200<li>GD: 201<ul> 202 <li><?php bugfix(73549); ?> (Use after free when stream is passed to imagepng).</li> 203 <li><?php bugfix(73868); ?> (DOS vulnerability in gdImageCreateFromGd2Ctx()). (CVE-2016-10167)</li> 204 <li><?php bugfix(73869); ?> (Signed Integer Overflow gd_io.c). (CVE-2016-10168)</li> 205</ul></li> 206<li>Intl: 207<ul> 208 <li><?php bugfix(68447); ?> (grapheme_extract take an extra trailing character).</li> 209</ul></li> 210<li>Phar: 211<ul> 212 <li><?php bugfix(73764); ?> (Crash while loading hostile phar archive). (CVE-2016-10159)</li> 213 <li><?php bugfix(73768); ?> (Memory corruption when loading hostile phar). (CVE-2016-10160)</li> 214 <li><?php bugfix(73773); ?> (Seg fault when loading hostile phar). (CVE-2017-11147)</li> 215</ul></li> 216<li>SQLite3: 217<ul> 218 <li>Reverted fix for bug <?php bugl(73530); ?> (Unsetting result set may reset other result set).</li> 219</ul></li> 220<li>Standard: 221<ul> 222 <li><?php bugfix(70213); ?> (Unserialize context shared on double class lookup).</li> 223 <li><?php bugfix(73825); ?> (Heap out of bounds read on unserialize in finish_nested_data()). (CVE-2016-10161)</li> 224</ul></li> 225</ul> 226<!-- }}} --></section> 227 228<section class="version" id="5.6.29"><!-- {{{ 5.6.29 --> 229<h3>Version 5.6.29</h3> 230<b><?php release_date('08-Dec-2016'); ?></b> 231<ul><li>Mysqlnd: 232<ul> 233 <li><?php bugfix(64526); ?> (Add missing mysqlnd.* parameters to php.ini-*).</li> 234</ul></li> 235<li>Opcache: 236<ul> 237 <li><?php bugfix(73402); ?> (Opcache segfault when using class constant to call a method).</li> 238 <li><?php bugfix(69090); ?> (check cached files permissions)</li> 239</ul></li> 240<li>OpenSSL: 241<ul> 242 <li><?php bugfix(72776); ?> (Invalid parameter in memcpy function trough openssl_pbkdf2).</li> 243</ul></li> 244<li>Postgres: 245<ul> 246 <li><?php bugfix(73498); ?> (Incorrect SQL generated for pg_copy_to()).</li> 247</ul></li> 248<li>SOAP: 249<ul> 250 <li><?php bugfix(73452); ?> (Segfault (Regression for <?php bugl(69152); ?>)).</li> 251</ul></li> 252<li>SQLite3: 253<ul> 254 <li><?php bugfix(73530); ?> (Unsetting result set may reset other result set).</li> 255</ul></li> 256<li>Standard: 257<ul> 258 <li><?php bugfix(73297); ?> (HTTP stream wrapper should ignore HTTP 100 Continue).</li> 259</ul></li> 260<li>WDDX: 261<ul> 262 <li><?php bugfix(73631); ?> (Invalid read when wddx decodes empty boolean element). (CVE-2016-9935)</li> 263</ul></li> 264</ul> 265<!-- }}} --></section> 266 267<section class="version" id="5.6.28"><!-- {{{ 5.6.28 --> 268<h3>Version 5.6.28</h3> 269<b><?php release_date('10-Nov-2016'); ?></b> 270<ul><li>Core: 271<ul> 272 <li><?php bugfix(73337); ?> (try/catch not working with two exceptions inside a same operation).</li> 273</ul></li> 274<li>Bz2: 275<ul> 276 <li><?php bugfix(73356); ?> (crash in bzcompress function).</li> 277</ul></li> 278<li>GD: 279<ul> 280 <li><?php bugfix(73213); ?> (Integer overflow in imageline() with antialiasing).</li> 281 <li><?php bugfix(73272); ?> (imagescale() is not affected by, but affects imagesetinterpolation()).</li> 282 <li><?php bugfix(73279); ?> (Integer overflow in gdImageScaleBilinearPalette()).</li> 283 <li><?php bugfix(73280); ?> (Stack Buffer Overflow in GD dynamicGetbuf).</li> 284 <li><?php bugfix(72482); ?> (Illegal write/read access caused by gdImageAALine overflow).</li> 285 <li><?php bugfix(72696); ?> (imagefilltoborder stackoverflow on truecolor images). (CVE-2016-9933)</li> 286</ul></li> 287<li>Imap: 288<ul> 289 <li><?php bugfix(73418); ?> (Integer Overflow in "_php_imap_mail" leads Heap Overflow).</li> 290</ul></li> 291<li>SPL: 292<ul> 293 <li><?php bugfix(73144); ?> (Use-after-free in ArrayObject Deserialization).</li> 294</ul></li> 295<li>SOAP: 296<ul> 297 <li><?php bugfix(73037); ?> (SoapServer reports Bad Request when gzipped).</li> 298</ul></li> 299<li>SQLite3: 300<ul> 301 <li><?php bugfix(73333); ?> (2147483647 is fetched as string).</li> 302</ul></li> 303<li>Standard: 304<ul> 305 <li><?php bugfix(73203); ?> (passing additional_parameters causes mail to fail).</li> 306 <li><?php bugfix(73188); ?> (use after free in userspace streams).</li> 307 <li><?php bugfix(73192); ?> (parse_url return wrong hostname).</li> 308</ul></li> 309<li>Wddx: 310<ul> 311 <li><?php bugfix(73331); ?> (NULL Pointer Dereference in WDDX Packet Deserialization with PDORow). (CVE-2016-9934)</li> 312</ul></li> 313</ul> 314<!-- }}} --></section> 315 316<section class="version" id="5.6.27"><!-- {{{ 5.6.27 --> 317<h3>Version 5.6.27</h3> 318<?php release_date('13-Oct-2016'); ?> 319<ul><li>Core: 320<ul> 321 <li><?php bugfix(73025); ?> (Heap Buffer Overflow in virtual_popen of zend_virtual_cwd.c).</li> 322 <li><?php bugfix(73058); ?> (crypt broken when salt is 'too' long).</li> 323 <li><?php bugfix(72703); ?> (Out of bounds global memory read in BF_crypt triggered by 324password_verify).</li> 325 <li><?php bugfix(73189); ?> (Memcpy negative size parameter php_resolve_path).</li> 326 <li><?php bugfix(73147); ?> (Use After Free in unserialize()).</li> 327</ul></li> 328<li>BCmath: 329<ul> 330 <li><?php bugfix(73190); ?> (memcpy negative parameter _bc_new_num_ex).</li> 331</ul></li> 332<li>DOM: 333<ul> 334 <li><?php bugfix(73150); ?> (missing NULL check in dom_document_save_html).</li> 335</ul></li> 336<li>Ereg: 337<ul> 338 <li><?php bugfix(73284); ?> (heap overflow in php_ereg_replace function).</li> 339</ul></li> 340<li>Filter: 341<ul> 342 <li><?php bugfix(72972); ?> (Bad filter for the flags FILTER_FLAG_NO_RES_RANGE and 343FILTER_FLAG_NO_PRIV_RANGE).</li> 344 <li><?php bugfix(67167); ?> (Wrong return value from FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE).</li> 345 <li><?php bugfix(73054); ?> (default option ignored when object passed to int filter).</li> 346</ul></li> 347<li>GD: 348<ul> 349 <li><?php bugfix(67325); ?> (imagetruecolortopalette: white is duplicated in palette).</li> 350 <li><?php bugfix(50194); ?> (imagettftext broken on transparent background w/o alphablending).</li> 351 <li><?php bugfix(73003); ?> (Integer Overflow in gdImageWebpCtx of gd_webp.c).</li> 352 <li><?php bugfix(53504); ?> (imagettfbbox gives incorrect values for bounding box).</li> 353 <li><?php bugfix(73157); ?> (imagegd2() ignores 3rd param if 4 are given).</li> 354 <li><?php bugfix(73155); ?> (imagegd2() writes wrong chunk sizes on boundaries).</li> 355 <li><?php bugfix(73159); ?> (imagegd2(): unrecognized formats may result in corrupted files).</li> 356 <li><?php bugfix(73161); ?> (imagecreatefromgd2() may leak memory).</li> 357</ul></li> 358<li>Intl: 359<ul> 360 <li><?php bugfix(73218); ?> (add mitigation for ICU int overflow).</li> 361</ul></li> 362<li>Imap: 363<ul> 364 <li><?php bugfix(73208); ?> (integer overflow in imap_8bit caused heap corruption).</li> 365</ul></li> 366<li>Mbstring: 367<ul> 368 <li><?php bugfix(72994); ?> (mbc_to_code() out of bounds read).</li> 369 <li><?php bugfix(66964); ?> (mb_convert_variables() cannot detect recursion).</li> 370 <li><?php bugfix(72992); ?> (mbstring.internal_encoding doesn't inherit default_charset).</li> 371 <li><?php bugfix(73082); ?> (string length overflow in mb_encode_* function).</li> 372</ul></li> 373<li>PCRE: 374<ul> 375 <li><?php bugfix(73174); ?> (heap overflow in php_pcre_replace_impl).</li> 376</ul></li> 377<li>Opcache: 378<ul> 379 <li><?php bugfix(72590); ?> (Opcache restart with kill_all_lockers does not work).</li> 380</ul></li> 381<li>OpenSSL: 382<ul> 383 <li><?php bugfix(73072); ?> (Invalid path SNI_server_certs causes segfault).</li> 384 <li><?php bugfix(73275); ?> (crash in openssl_encrypt function).</li> 385 <li><?php bugfix(73276); ?> (crash in openssl_random_pseudo_bytes function).</li> 386</ul></li> 387<li>Session: 388<ul> 389 <li><?php bugfix(68015); ?> (Session does not report invalid uid for files save handler).</li> 390 <li><?php bugfix(73100); ?> (session_destroy null dereference in ps_files_path_create).</li> 391</ul></li> 392<li>SimpleXML: 393<ul> 394 <li><?php bugfix(73293); ?> (NULL pointer dereference in SimpleXMLElement::asXML()).</li> 395</ul></li> 396<li>SPL: 397<ul> 398 <li><?php bugfix(73073); ?> (CachingIterator null dereference when convert to string).</li> 399</ul></li> 400<li>Standard: 401<ul> 402 <li><?php bugfix(73240); ?> (Write out of bounds at number_format).</li> 403 <li><?php bugfix(73017); ?> (memory corruption in wordwrap function).</li> 404</ul></li> 405<li>Stream: 406<ul> 407 <li><?php bugfix(73069); ?> (readfile() mangles files larger than 2G).</li> 408</ul></li> 409<li>Zip: 410<ul> 411 <li><?php bugfix(70752); ?> (Depacking with wrong password leaves 0 length files).</li> 412</ul></li> 413</ul> 414<!-- }}} --></section> 415 416<section class="version" id="5.6.26"><!-- {{{ 5.6.26 --> 417<h3>Version 5.6.26</h3> 418<?php release_date('15-Sep-2016'); ?> 419<ul><li>Core: 420<ul> 421 <li><?php bugfix(72907); ?> (null pointer deref, segfault in gc_remove_zval_from_buffer (zend_gc.c:260)).</li> 422</ul></li> 423<li>Dba: 424<ul> 425 <li><?php bugfix(71514); ?> (Bad dba_replace condition because of wrong API usage).</li> 426 <li><?php bugfix(70825); ?> (Cannot fetch multiple values with group in ini file).</li> 427</ul></li> 428<li>EXIF: 429<ul> 430 <li><?php bugfix(72926); ?> (Uninitialized Thumbail Data Leads To Memory Leakage in exif_process_IFD_in_TIFF).</li> 431</ul></li> 432<li>FTP: 433<ul> 434 <li><?php bugfix(70195); ?> (Cannot upload file using ftp_put to FTPES with require_ssl_reuse).</li> 435</ul></li> 436<li>GD: 437<ul> 438 <li><?php bugfix(66005); ?> (imagecopy does not support 1bit transparency on truecolor images).</li> 439 <li><?php bugfix(72913); ?> (imagecopy() loses single-color transparency on palette images).</li> 440 <li><?php bugfix(68716); ?> (possible resource leaks in _php_image_convert()).</li> 441</ul></li> 442<li>Intl: 443<ul> 444 <li><?php bugfix(73007); ?> (add locale length check). (CVE-2016-7416)</li> 445</ul></li> 446<li>JSON: 447<ul> 448 <li><?php bugfix(72787); ?> (json_decode reads out of bounds).</li> 449</ul></li> 450<li>mbstring: 451<ul> 452 <li><?php bugfix(66797); ?> (mb_substr only takes 32-bit signed integer).</li> 453 <li><?php bugfix(72910); ?> (Out of bounds heap read in mbc_to_code() / triggered by mb_ereg_match()).</li> 454</ul></li> 455<li>MSSQL: 456<ul> 457 <li><?php bugfix(72039); ?> (Use of uninitialised value on mssql_guid_string).</li> 458</ul></li> 459<li>Mysqlnd: 460<ul> 461 <li><?php bugfix(72293); ?> (Heap overflow in mysqlnd related to BIT fields). (CVE-2016-7412)</li> 462</ul></li> 463<li>PDO: 464<ul> 465 <li><?php bugfix(60665); ?> (call to empty() on NULL result using PDO::FETCH_LAZY returns false).</li> 466</ul></li> 467<li>PDO_pgsql: 468<ul> 469 <li>Implemented FR <?php bugl(72633); ?> (Postgres PDO lastInsertId() should work without specifying a sequence).</li> 470 <li><?php bugfix(72759); ?> (Regression in pgo_pgsql).</li> 471</ul></li> 472<li>Phar: 473<ul> 474 <li><?php bugfix(72928); ?> (Out of bound when verify signature of zip phar in phar_parse_zipfile). (CVE-2016-7414)</li> 475 <li><?php bugfix(73035); ?> (Out of bound when verify signature of tar phar in phar_parse_tarfile).</li> 476</ul></li> 477<li>SPL: 478<ul> 479 <li><?php bugfix(73029); ?> (Missing type check when unserializing SplArray). (CVE-2016-7417)</li> 480</ul></li> 481<li>Standard: 482<ul> 483 <li><?php bugfix(72823); ?> (strtr out-of-bound access).</li> 484 <li><?php bugfix(72278); ?> (getimagesize returning FALSE on valid jpg).</li> 485 <li><?php bugfix(65550); ?> (get_browser() incorrectly parses entries with "+" sign).</li> 486 <li><?php bugfix(71882); ?> (Negative ftruncate() on php://memory exhausts memory).</li> 487 <li><?php bugfix(73011); ?> (integer overflow in fgets cause heap corruption).</li> 488 <li><?php bugfix(73017); ?> (memory corruption in wordwrap function).</li> 489 <li><?php bugfix(73045); ?> (integer overflow in fgetcsv caused heap corruption).</li> 490 <li><?php bugfix(73052); ?> (Memory Corruption in During Deserialized-object Destruction). (CVE-2016-7411)</li> 491</ul></li> 492<li>Streams: 493<ul> 494 <li><?php bugfix(72853); ?> (stream_set_blocking doesn't work).</li> 495</ul></li> 496<li>Wddx: 497<ul> 498 <li><?php bugfix(72860); ?> (wddx_deserialize use-after-free). (CVE-2016-7413)</li> 499 <li><?php bugfix(73065); ?> (Out-Of-Bounds Read in php_wddx_push_element). (CVE-2016-7418)</li> 500</ul></li> 501<li>XML: 502<ul> 503 <li><?php bugfix(72085); ?> (SEGV on unknown address zif_xml_parse).</li> 504 <li><?php bugfix(72927); ?> (integer overflow in xml_utf8_encode).</li> 505</ul></li> 506<li>ZIP: 507<ul> 508 <li><?php bugfix(68302); ?> (impossible to compile php with zip support).</li> 509</ul></li> 510</ul> 511<!-- }}} --></section> 512 513<section class="version" id="5.6.25"><!-- {{{ 5.6.25 --> 514<h3>Version 5.6.25</h3> 515<?php release_date('18-Aug-2016'); ?> 516<ul><li>Core: 517<ul> 518 <li><?php bugfix(70436); ?> (Use After Free Vulnerability in unserialize()).</li> 519 <li><?php bugfix(72024); ?> (microtime() leaks memory).</li> 520 <li><?php bugfix(72581); ?> (previous property undefined in Exception after deserialization).</li> 521 <li>Implemented FR <?php bugl(72614); ?> (Support "nmake test" on building extensions by phpize).</li> 522 <li><?php bugfix(72641); ?> (phpize (on Windows) ignores PHP_PREFIX).</li> 523 <li><?php bugfix(72663); ?> (Create an Unexpected Object and Don't Invoke __wakeup() in Deserialization). (CVE-2016-7124)</li> 524 <li><?php bugfix(72681); ?> (PHP Session Data Injection Vulnerability). (CVE-2016-7125)</li> 525</ul></li> 526<li>Bz2: 527<ul> 528 <li><?php bugfix(72837); ?> (integer overflow in bzdecompress caused heap corruption).</li> 529</ul></li> 530<li>Calendar: 531<ul> 532 <li><?php bugfix(67976); ?> (cal_days_month() fails for final month of the French calendar).</li> 533 <li><?php bugfix(71894); ?> (AddressSanitizer: global-buffer-overflow in zif_cal_from_jd).</li> 534</ul></li> 535<li>Curl: 536<ul> 537 <li><?php bugfix(71144); ?> (Segmentation fault when using cURL with ZTS).</li> 538 <li><?php bugfix(71929); ?> (Certification information (CERTINFO) data parsing error).</li> 539 <li><?php bugfix(72807); ?> (integer overflow in curl_escape caused heap corruption).</li> 540</ul></li> 541<li>DOM: 542<ul> 543 <li><?php bugfix(66502); ?> (DOM document dangling reference).</li> 544</ul></li> 545<li>Ereg: 546<ul> 547 <li><?php bugfix(72838); ?> (Integer overflow lead to heap corruption in sql_regcase).</li> 548</ul></li> 549<li>EXIF: 550<ul> 551 <li><?php bugfix(72627); ?> (Memory Leakage In exif_process_IFD_in_TIFF). (CVE-2016-7128)</li> 552 <li><?php bugfix(72735); ?> (Samsung picture thumb not read (zero size)).</li> 553</ul></li> 554<li>Filter: 555<ul> 556 <li><?php bugfix(71745); ?> (FILTER_FLAG_NO_RES_RANGE does not cover whole 127.0.0.0/8 range).</li> 557</ul></li> 558<li>FPM: 559<ul> 560 <li><?php bugfix(72575); ?> (using --allow-to-run-as-root should ignore missing user).</li> 561</ul></li> 562<li>GD: 563<ul> 564 <li><?php bugfix(43828); ?> (broken transparency of imagearc for truecolor in blendingmode).</li> 565 <li><?php bugfix(66555); ?> (Always false condition in ext/gd/libgd/gdkanji.c).</li> 566 <li><?php bugfix(68712); ?> (suspicious if-else statements).</li> 567 <li><?php bugfix(70315); ?> (500 Server Error but page is fully rendered).</li> 568 <li><?php bugfix(72596); ?> (imagetypes function won't advertise WEBP support).</li> 569 <li><?php bugfix(72604); ?> (imagearc() ignores thickness for full arcs).</li> 570 <li><?php bugfix(72697); ?> (select_colors write out-of-bounds). (CVE-2016-7126)</li> 571 <li><?php bugfix(72709); ?> (imagesetstyle() causes OOB read for empty $styles).</li> 572 <li><?php bugfix(72730); ?> (imagegammacorrect allows arbitrary write access). (CVE-2016-7127)</li> 573 <li><?php bugfix(72494); ?> (imagecropauto out-of-bounds access)</li> 574</ul></li> 575<li>Intl: 576<ul> 577 <li>Partially fixed <?php bugl(72506); ?> (idn_to_ascii for UTS #46 incorrect for long domain names).</li> 578</ul></li> 579<li>mbstring: 580<ul> 581 <li><?php bugfix(72691); ?> (mb_ereg_search raises a warning if a match zero-width).</li> 582 <li><?php bugfix(72693); ?> (mb_ereg_search increments search position when a match zero-width).</li> 583 <li><?php bugfix(72694); ?> (mb_ereg_search_setpos does not accept a string's last position).</li> 584 <li><?php bugfix(72710); ?> (`mb_ereg` causes buffer overflow on regexp compile error).</li> 585</ul></li> 586<li>PCRE: 587<ul> 588 <li><?php bugfix(72688); ?> (preg_match missing group names in matches).</li> 589</ul></li> 590<li>PDO_pgsql: 591<ul> 592 <li><?php bugfix(70313); ?> (PDO statement fails to throw exception).</li> 593</ul></li> 594<li>Reflection: 595<ul> 596 <li><?php bugfix(72222); ?> (ReflectionClass::export doesn't handle array constants).</li> 597</ul></li> 598<li>SNMP: 599<ul> 600 <li><?php bugfix(72708); ?> (php_snmp_parse_oid integer overflow in memory allocation).</li> 601</ul></li> 602<li>Standard: 603<ul> 604 <li><?php bugfix(72330); ?> (CSV fields incorrectly split if escape char followed by UTF chars).</li> 605 <li><?php bugfix(72836); ?> (integer overflow in base64_decode).</li> 606 <li><?php bugfix(72848); ?> (integer overflow in quoted_printable_encode).</li> 607 <li><?php bugfix(72849); ?> (integer overflow in urlencode).</li> 608 <li><?php bugfix(72850); ?> (integer overflow in php_uuencode).</li> 609 <li><?php bugfix(72716); ?> (initialize buffer before read).</li> 610</ul></li> 611<li>Streams: 612<ul> 613 <li><?php bugfix(41021); ?> (Problems with the ftps wrapper).</li> 614 <li><?php bugfix(54431); ?> (opendir() does not work with ftps:// wrapper).</li> 615 <li><?php bugfix(72667); ?> (opendir() with ftp:// attempts to open data stream for non-existent directories).</li> 616 <li><?php bugfix(72764); ?> (ftps:// opendir wrapper data channel encryption fails with IIS FTP 7.5, 8.5).</li> 617 <li><?php bugfix(72771); ?> (ftps:// wrapper is vulnerable to protocol downgrade attack).</li> 618</ul></li> 619<li>SPL: 620<ul> 621 <li><?php bugfix(72122); ?> (IteratorIterator breaks '@' error suppression).</li> 622 <li><?php bugfix(72646); ?> (SplFileObject::getCsvControl does not return the escape character).</li> 623 <li><?php bugfix(72684); ?> (AppendIterator segfault with closed generator).</li> 624</ul></li> 625<li>SQLite3: 626<ul> 627 <li>Implemented FR <?php bugl(72653); ?> (SQLite should allow opening with empty filename).</li> 628</ul></li> 629<li>Wddx: 630<ul> 631 <li><?php bugfix(72142); ?> (WDDX Packet Injection Vulnerability in wddx_serialize_value()).</li> 632 <li><?php bugfix(72749); ?> (wddx_deserialize allows illegal memory access). (CVE-2016-7129)</li> 633 <li><?php bugfix(72750); ?> (wddx_deserialize null dereference). (CVE-2016-7130)</li> 634 <li><?php bugfix(72790); ?> (wddx_deserialize null dereference with invalid xml). (CVE-2016-7131)</li> 635 <li><?php bugfix(72799); ?> (wddx_deserialize null dereference in php_wddx_pop_element). (CVE-2016-7132)</li> 636</ul></li> 637</ul> 638<!-- }}} --></section> 639 640<section class="version" id="5.6.24"><!-- {{{ 5.6.24 --> 641<h3>Version 5.6.24</h3> 642<?php release_date('21-Jul-2016'); ?> 643<ul><li>Core: 644<ul> 645 <li><?php bugfix(71936); ?> (Segmentation fault destroying HTTP_RAW_POST_DATA).</li> 646 <li><?php bugfix(72496); ?> (Cannot declare public method with signature incompatible with parent private method).</li> 647 <li><?php bugfix(72138); ?> (Integer Overflow in Length of String-typed ZVAL).</li> 648 <li><?php bugfix(72513); ?> (Stack-based buffer overflow vulnerability in virtual_file_ex). (CVE-2016-6289)</li> 649 <li><?php bugfix(72562); ?> (Use After Free in unserialize() with Unexpected Session Deserialization). (CVE-2016-6290)</li> 650 <li><?php bugfix(72573); ?> (HTTP_PROXY is improperly trusted by some PHP libraries and applications). (CVE-2016-5385)</li> 651</ul></li> 652<li>bz2: 653<ul> 654 <li><?php bugfix(72447); ?> (Type Confusion in php_bz2_filter_create()).</li> 655 <li><?php bugfix(72613); ?> (Inadequate error handling in bzread()). (CVE-2016-5399)</li> 656</ul></li> 657<li>Date: 658<ul> 659 <li><?php bugfix(66836); ?> (DateTime::createFromFormat 'U' with pre 1970 dates fails parsing).</li> 660</ul></li> 661<li>EXIF: 662<ul> 663 <li><?php bugfix(50845); ?> (exif_read_data() returns corrupted exif headers).</li> 664 <li><?php bugfix(72603); ?> (Out of bound read in exif_process_IFD_in_MAKERNOTE). (CVE-2016-6291)</li> 665 <li><?php bugfix(72618); ?> (NULL Pointer Dereference in exif_process_user_comment). (CVE-2016-6292)</li> 666</ul></li> 667<li>GD: 668<ul> 669 <li><?php bugfix(43475); ?> (Thick styled lines have scrambled patterns).</li> 670 <li><?php bugfix(53640); ?> (XBM images require width to be multiple of 8).</li> 671 <li><?php bugfix(64641); ?> (imagefilledpolygon doesn't draw horizontal line).</li> 672 <li><?php bugfix(72512); ?> (gdImageTrueColorToPaletteBody allows arbitrary write/read access).</li> 673 <li><?php bugfix(72519); ?> (imagegif/output out-of-bounds access).</li> 674 <li><?php bugfix(72558); ?> (Integer overflow error within _gdContributionsAlloc()). (CVE-2016-6207)</li> 675</ul></li> 676<li>Intl: 677<ul> 678 <li><?php bugfix(72533); ?> (locale_accept_from_http out-of-bounds access). (CVE-2016-6294)</li> 679</ul></li> 680<li>OpenSSL: 681<ul> 682 <li><?php bugfix(71915); ?> (openssl_random_pseudo_bytes is not fork-safe).</li> 683 <li><?php bugfix(72336); ?> (openssl_pkey_new does not fail for invalid DSA params).</li> 684</ul></li> 685<li>SNMP: 686<ul> 687 <li><?php bugfix(72479); ?> (Use After Free Vulnerability in SNMP with GC and unserialize()). (CVE-2016-6295)</li> 688</ul></li> 689<li>SPL: 690<ul> 691 <li><?php bugfix(55701); ?> (GlobIterator throws LogicException).</li> 692</ul></li> 693<li>SQLite3: 694<ul> 695 <li><?php bugfix(70628); ?> (Clearing bindings on an SQLite3 statement doesn't work).</li> 696</ul></li> 697<li>Streams: 698<ul> 699 <li><?php bugfix(72439); ?> (Stream socket with remote address leads to a segmentation fault).</li> 700</ul></li> 701<li>Xmlrpc: 702<ul> 703 <li><?php bugfix(72606); ?> (heap-buffer-overflow (write) simplestring_addn simplestring.c). (CVE-2016-6296)</li> 704</ul></li> 705<li>Zip: 706<ul> 707 <li><?php bugfix(72520); ?> (Stack-based buffer overflow vulnerability in php_stream_zip_opener). (CVE-2016-6297)</li> 708</ul></li> 709</ul> 710<!-- }}} --></section> 711 712<section class="version" id="5.6.23"><!-- {{{ 5.6.23 --> 713<h3>Version 5.6.23</h3> 714<?php release_date('23-Jun-2016'); ?> 715<ul><li>Core: 716<ul> 717 <li><?php bugfix(72268); ?> (Integer Overflow in nl2br()).</li> 718 <li><?php bugfix(72275); ?> (Integer Overflow in json_encode()/json_decode()/ json_utf8_to_utf16()).</li> 719 <li><?php bugfix(72400); ?> (Integer Overflow in addcslashes/addslashes).</li> 720 <li><?php bugfix(72403); ?> (Integer Overflow in Length of String-typed ZVAL).</li> 721</ul></li> 722<li>Date: 723<ul> 724 <li><?php bugfix(63740); ?> (strtotime seems to use both sunday and monday as start of week).</li> 725</ul></li> 726<li>GD: 727<ul> 728 <li><?php bugfix(72298); ?> (pass2_no_dither out-of-bounds access).</li> 729 <li><?php bugfix(72337); ?> (invalid dimensions can lead to crash).</li> 730 <li><?php bugfix(72339); ?> (Integer Overflow in _gd2GetHeader() resulting in heap overflow). (CVE-2016-5766)</li> 731 <li><?php bugfix(72407); ?> (NULL Pointer Dereference at _gdScaleVert).</li> 732 <li><?php bugfix(72446); ?> (Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow). (CVE-2016-5767)</li> 733</ul></li> 734<li>Intl: 735<ul> 736 <li><?php bugfix(70484); ?> (selectordinal doesn't work with named parameters).</li> 737</ul></li> 738<li>mbstring: 739<ul> 740 <li><?php bugfix(72402); ?> (_php_mb_regex_ereg_replace_exec - double free). (CVE-2016-5768)</li> 741</ul></li> 742<li>mcrypt: 743<ul> 744 <li><?php bugfix(72455); ?> (Heap Overflow due to integer overflows). (CVE-2016-5769)</li> 745</ul></li> 746<li>OpenSSL: 747<ul> 748 <li><?php bugfix(72140); ?> (segfault after calling ERR_free_strings()).</li> 749</ul></li> 750<li>Phar: 751<ul> 752 <li><?php bugfix(72321); ?> (invalid free in phar_extract_file()). (CVE-2016-4473)</li> 753</ul></li> 754<li>SPL: 755<ul> 756 <li><?php bugfix(72262); ?> (int/size_t confusion in SplFileObject::fread). (CVE-2016-5770)</li> 757 <li><?php bugfix(72433); ?> (Use After Free Vulnerability in PHP's GC algorithm and unserialize). (CVE-2016-5771)</li> 758</ul></li> 759<li>WDDX: 760<ul> 761 <li><?php bugfix(72340); ?> (Double Free Courruption in wddx_deserialize). (CVE-2016-5772)</li> 762</ul></li> 763<li>zip: 764<ul> 765 <li><?php bugfix(72434); ?> (ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize). (CVE-2016-5773)</li> 766</ul></li> 767</ul> 768<!-- }}} --></section> 769 770<section class="version" id="5.6.22"><!-- {{{ 5.6.22 --> 771<h3>Version 5.6.22</h3> 772<?php release_date('26-May-2016'); ?> 773<ul><li>Core: 774<ul> 775 <li><?php bugfix(72172); ?> (zend_hex_strtod should not use strlen).</li> 776 <li><?php bugfix(72114); ?> (Integer underflow / arbitrary null write in fread/gzread). (CVE-2016-5096)</li> 777 <li><?php bugfix(72135); ?> (Integer Overflow in php_html_entities). (CVE-2016-5094)</li> 778</ul></li> 779<li>GD: 780<ul> 781 <li><?php bugfix(72227); ?> (imagescale out-of-bounds read). (CVE-2013-7456)</li> 782</ul></li> 783<li>Intl: 784<ul> 785 <li><?php bugfix(64524); ?> (Add intl.use_exceptions to php.ini-*).</li> 786 <li><?php bugfix(72241); ?> (get_icu_value_internal out-of-bounds read). (CVE-2016-5093)</li> 787</ul></li> 788<li>Postgres: 789<ul> 790<li><?php bugfix(72151); ?> (mysqli_fetch_object changed behaviour). Patch to <?php bugl(71820) ?> is reverted.</li> 791</ul></li> 792</ul> 793<!-- }}} --></section> 794 795<section class="version" id="5.6.21"><!-- {{{ 5.6.21 --> 796<h3>Version 5.6.21</h3> 797<?php release_date('28-Apr-2016'); ?> 798<ul><li>Core: 799<ul> 800 <li><?php bugfix(69537); ?> (__debugInfo with empty string for key gives error).</li> 801 <li><?php bugfix(71841); ?> (EG(error_zval) is not handled well).</li> 802</ul></li> 803<li>BCmath: 804<ul> 805 <li><?php bugfix(72093); ?> (bcpowmod accepts negative scale and corrupts _one_ definition). (CVE-2016-4537, CVE-2016-4538)</li> 806</ul></li> 807<li>Curl: 808<ul> 809 <li><?php bugfix(71831); ?> (CURLOPT_NOPROXY applied as long instead of string).</li> 810</ul></li> 811<li>Date: 812<ul> 813 <li><?php bugfix(71889); ?> (DateInterval::format Segmentation fault).</li> 814</ul></li> 815<li>EXIF: 816<ul> 817 <li><?php bugfix(72094); ?> (Out of bounds heap read access in exif header processing). (CVE-2016-4542, CVE-2016-4543, CVE-2016-4544)</li> 818</ul></li> 819<li>GD: 820<ul> 821 <li><?php bugfix(71952); ?> (Corruption inside imageaffinematrixget).</li> 822 <li><?php bugfix(71912); ?> (libgd: signedness vulnerability). (CVE-2016-3074)</li> 823</ul></li> 824<li>Intl: 825<ul> 826 <li><?php bugfix(72061); ?> (Out-of-bounds reads in zif_grapheme_stripos with negative offset). (CVE-2016-4540, CVE-2016-4541)</li> 827</ul></li> 828<li>OCI8: 829<ul> 830 <li><?php bugfix(71422); ?> (Fix ORA-01438: value larger than specified precision allowed for this column).</li> 831</ul></li> 832<li>ODBC: 833<ul> 834 <li><?php bugfix(63171); ?> (Script hangs after max_execution_time).</li> 835</ul></li> 836<li>Opcache: 837<ul> 838 <li><?php bugfix(71843); ?> (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER).</li> 839</ul></li> 840<li>PDO: 841<ul> 842 <li><?php bugfix(52098); ?> (Own PDOStatement implementation ignore __call()).</li> 843 <li><?php bugfix(71447); ?> (Quotes inside comments not properly handled).</li> 844</ul></li> 845<li>Postgres: 846<ul> 847 <li><?php bugfix(71820); ?> (pg_fetch_object binds parameters before call constructor).</li> 848</ul></li> 849<li>SPL: 850<ul> 851 <li><?php bugfix(67582); ?> (Cloned SplObjectStorage with overwritten getHash fails offsetExists()).</li> 852</ul></li> 853<li>Standard: 854<ul> 855 <li><?php bugfix(71840); ?> (Unserialize accepts wrongly data).</li> 856 <li><?php bugfix(67512); ?> (php_crypt() crashes if crypt_r() does not exist or _REENTRANT is not defined).</li> 857</ul></li> 858<li>XML: 859<ul> 860 <li><?php bugfix(72099); ?> (xml_parse_into_struct segmentation fault). (CVE-2016-4539)</li> 861</ul></li> 862</ul> 863<!-- }}} --></section> 864 865<section class="version" id="5.6.20"><!-- {{{ 5.6.20 --> 866<h3>Version 5.6.20</h3> 867<?php release_date('31-Mar-2016'); ?> 868<ul><li>CLI Server: 869<ul> 870 <li><?php bugfix(69953); ?> (Support MKCALENDAR request method).</li> 871</ul></li> 872<li>Core: 873<ul> 874 <li><?php bugfix(71596); ?> (Segmentation fault on ZTS with date function (setlocale)).</li> 875</ul></li> 876<li>Curl: 877<ul> 878 <li><?php bugfix(71694); ?> (Support constant CURLM_ADDED_ALREADY).</li> 879</ul></li> 880<li>Date: 881<ul> 882 <li><?php bugfix(71635); ?> (DatePeriod::getEndDate segfault).</li> 883</ul></li> 884<li>Fileinfo: 885<ul> 886 <li><?php bugfix(71527); ?> (Buffer over-write in finfo_open with malformed magic file). (CVE-2015-8865)</li> 887</ul></li> 888<li>Mbstring: 889<ul> 890 <li><?php bugfix(71906); ?> (AddressSanitizer: negative-size-param (-1) in mbfl_strcut). (CVE-2016-4073)</li> 891</ul></li> 892<li>ODBC: 893<ul> 894 <li><?php bugfix(47803); ?>, <?php bugl(69526); ?> (Executing prepared statements is succesfull only for the first two statements).</li> 895 <li><?php bugfix(71860); ?> (Invalid memory write in phar on filename with \0 in name). (CVE-2016-4072)</li> 896</ul></li> 897<li>PDO_DBlib: 898<ul> 899 <li><?php bugfix(54648); ?> (PDO::MSSQL forces format of datetime fields).</li> 900</ul></li> 901<li>Phar: 902<ul> 903 <li><?php bugfix(71625); ?> (Crash in php7.dll with bad phar filename).</li> 904 <li><?php bugfix(71504); ?> (Parsing of tar file with duplicate filenames causes memory leak).</li> 905</ul></li> 906<li>SNMP: 907<ul> 908 <li><?php bugfix(71704); ?> (php_snmp_error() Format String Vulnerability). (CVE-2016-4071)</li> 909</ul></li> 910<li>Standard: 911<ul> 912 <li><?php bugfix(71798); ?> (Integer Overflow in php_raw_url_encode). (CVE-2016-4070)</li> 913</ul></li> 914</ul> 915<!-- }}} --></section> 916 917<section class="version" id="5.6.19"><!-- {{{ 5.6.19 --> 918<h3>Version 5.6.19</h3> 919<?php release_date('03-Mar-2016'); ?> 920<ul><li>CLI server: 921<ul> 922 <li><?php bugfix(71559); ?> (Built-in HTTP server, we can download file in web by bug).</li> 923</ul></li> 924<li>CURL: 925<ul> 926 <li><?php bugfix(71523); ?> (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec).</li> 927</ul></li> 928<li>Date: 929<ul> 930 <li><?php bugfix(68078); ?> (Datetime comparisons ignore microseconds).</li> 931 <li><?php bugfix(71525); ?> (Calls to date_modify will mutate timelib_rel_time, causing date_date_set issues).</li> 932</ul></li> 933<li>Fileinfo: 934<ul> 935 <li><?php bugfix(71434); ?> (finfo throws notice for specific python file).</li> 936</ul></li> 937<li>FPM: 938<ul> 939 <li><?php bugfix(62172); ?> (FPM not working with Apache httpd 2.4 balancer/fcgi setup).</li> 940</ul></li> 941<li>Opcache: 942<ul> 943 <li><?php bugfix(71584); ?> (Possible use-after-free of ZCG(cwd) in Zend Opcache).</li> 944</ul></li> 945<li>PDO MySQL: 946<ul> 947 <li><?php bugfix(71569); ?> (<?php bugl(70389); ?> fix causes segmentation fault).</li> 948</ul></li> 949<li>Phar: 950<ul> 951 <li><?php bugfix(71498); ?> (Out-of-Bound Read in phar_parse_zipfile()).</li> 952</ul></li> 953<li>Standard: 954<ul> 955 <li><?php bugfix(70720); ?> (strip_tags improper php code parsing).</li> 956</ul></li> 957<li>WDDX: 958<ul> 959 <li><?php bugfix(71587); ?> (Use-After-Free / Double-Free in WDDX Deserialize).</li> 960</ul></li> 961<li>XSL: 962<ul> 963 <li><?php bugfix(71540); ?> (NULL pointer dereference in xsl_ext_function_php()).</li> 964</ul></li> 965<li>Zip: 966<ul> 967 <li><?php bugfix(71561); ?> (NULL pointer dereference in Zip::ExtractTo).</li> 968</ul></li> 969</ul> 970<!-- }}} --></section> 971 972<section class="version" id="5.6.18"><!-- {{{ 5.6.18 --> 973<h3>Version 5.6.18</h3> 974<?php release_date('04-Feb-2016'); ?> 975<ul><li>Core: 976<ul> 977 <li>Added support for new HTTP 451 code.</li> 978 <li><?php bugfix(71039); ?> (exec functions ignore length but look for NULL termination).</li> 979 <li><?php bugfix(71089); ?> (No check to duplicate zend_extension).</li> 980 <li><?php bugfix(71201); ?> (round() segfault on 64-bit builds).</li> 981 <li><?php bugfix(71273); ?> (A wrong ext directory setup in php.ini leads to crash).</li> 982 <li><?php bugfix(71323); ?> (Output of stream_get_meta_data can be falsified by its input).</li> 983 <li><?php bugfix(71459); ?> (Integer overflow in iptcembed()).</li> 984</ul></li> 985<li>Apache2handler: 986<ul> 987 <li>Fix >2G Content-Length headers in apache2handler.</li> 988</ul></li> 989<li>FTP: 990<ul> 991 <li>Implemented FR <?php bugl(55651); ?> (Option to ignore the returned FTP PASV address).</li> 992</ul></li> 993<li>GD: 994<ul> 995 <li>Improved fix for bug <?php bugl(70976) ?>.</li> 996</ul></li> 997<li>Opcache: 998<ul> 999 <li><?php bugfix(71127); ?> (Define in auto_prepend_file is overwrite).</li> 1000 <li><?php bugfix(71024); ?> (Unable to use PHP 7.0 x64 side-by-side with PHP 5.6 x32 on the same server).</li> 1001</ul></li> 1002<li>PCRE: 1003<ul> 1004 <li>Upgraded bundled PCRE library to 8.38. (CVE-2015-8383, CVE-2015-8386, CVE-2015-8387, CVE-2015-8389, CVE-2015-8390, CVE-2015-8391, CVE-2015-8393, CVE-2015-8394)</li> 1005</ul></li> 1006<li>Phar: 1007<ul> 1008 <li><?php bugfix(71354); ?> (Heap corruption in tar/zip/phar parser). (CVE-2016-4342)</li> 1009 <li><?php bugfix(71331); ?> (Uninitialized pointer in phar_make_dirstream()). (CVE-2016-4343)</li> 1010 <li><?php bugfix(71391); ?> (NULL Pointer Dereference in phar_tar_setupmetadata()).</li> 1011 <li><?php bugfix(71488); ?> (Stack overflow when decompressing tar archives). (CVE-2016-2554)</li> 1012</ul></li> 1013<li>Session: 1014<ul> 1015 <li><?php bugfix(69111); ?> (Crash in SessionHandler::read()).</li> 1016</ul></li> 1017<li>SOAP: 1018<ul> 1019 <li><?php bugfix(70979); ?> (crash with bad soap request).</li> 1020</ul></li> 1021<li>SPL: 1022<ul> 1023 <li><?php bugfix(71204); ?> (segfault if clean spl_autoload_funcs while autoloading).</li> 1024</ul></li> 1025<li>WDDX: 1026<ul> 1027 <li><?php bugfix(71335); ?> (Type Confusion in WDDX Packet Deserialization).</li> 1028</ul></li> 1029</ul> 1030<!-- }}} --></section> 1031 1032<section class="version" id="5.6.17"><!-- {{{ 5.6.17 --> 1033<h3>Version 5.6.17</h3> 1034<?php release_date('07-Jan-2016'); ?> 1035<ul><li>Core: 1036<ul> 1037 <li><?php bugfix(66909); ?> (configure fails utf8_to_mutf7 test).</li> 1038 <li><?php bugfix(70958); ?> (Invalid opcode while using ::class as trait method paramater default value).</li> 1039 <li><?php bugfix(70957); ?> (self::class can not be resolved with reflection for abstract class).</li> 1040 <li><?php bugfix(70944); ?> (try{ } finally{} can create infinite chains of exceptions).</li> 1041 <li><?php bugfix(61751); ?> (SAPI build problem on AIX: Undefined symbol: php_register_internal_extensions).</li> 1042</ul></li> 1043<li>FPM: 1044<ul> 1045 <li><?php bugfix(70755); ?> (fpm_log.c memory leak and buffer overflow). (CVE-2016-5114)</li> 1046</ul></li> 1047<li>GD: 1048<ul> 1049 <li><?php bugfix(70976); ?> (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds). (CVE-2016-1903)</li> 1050</ul></li> 1051<li>Mysqlnd: 1052<ul> 1053 <li><?php bugfix(68077); ?> (LOAD DATA LOCAL INFILE / open_basedir restriction).</li> 1054</ul></li> 1055<li>SOAP: 1056<ul> 1057 <li><?php bugfix(70900); ?> (SoapClient systematic out of memory error).</li> 1058</ul></li> 1059<li>Standard: 1060<ul> 1061 <li><?php bugfix(70960); ?> (ReflectionFunction for array_unique returns wrong number of parameters).</li> 1062</ul></li> 1063<li>PDO_Firebird: 1064<ul> 1065 <li><?php bugfix(60052); ?> (Integer returned as a 64bit integer on X64_86).</li> 1066</ul></li> 1067<li>WDDX: 1068<ul> 1069 <li><?php bugfix(70661); ?> (Use After Free Vulnerability in WDDX Packet Deserialization).</li> 1070 <li><?php bugfix(70741); ?> (Session WDDX Packet Deserialization Type Confusion Vulnerability).</li> 1071</ul></li> 1072<li>XMLRPC: 1073<ul> 1074 <li><?php bugfix(70728); ?> (Type Confusion Vulnerability in PHP_to_XMLRPC_worker()).</li> 1075</ul></li> 1076</ul> 1077<!-- }}} --></section> 1078 1079<section class="version" id="5.6.16"><!-- {{{ 5.6.16 --> 1080<h3>Version 5.6.16</h3> 1081<?php release_date('26-Nov-2015'); ?> 1082<ul><li>Core: 1083<ul> 1084 <li><?php bugfix(70828); ?> (php-fpm 5.6 with opcache crashes when referencing a non-existent constant).</li> 1085 <li><?php bugfix(70748); ?> (Segfault in ini_lex () at Zend/zend_ini_scanner.l).</li> 1086</ul></li> 1087<li>Mysqlnd: 1088<ul> 1089 <li><?php bugfix(68344); ?> (MySQLi does not provide way to disable peer certificate validation) by introducing MYSQLI_CLIENT_SSL_DONT_VERIFY_SERVER_CERT connection flag.</li> 1090</ul></li> 1091<li>OCI8: 1092<ul> 1093 <li><?php bugfix(68298); ?> (OCI int overflow).</li> 1094</ul></li> 1095<li>PDO_DBlib: 1096<ul> 1097 <li><?php bugfix(69757); ?> (Segmentation fault on nextRowset).</li> 1098</ul></li> 1099<li>SOAP: 1100<ul> 1101 <li><?php bugfix(70875); ?> (Segmentation fault if wsdl has no targetNamespace attribute).</li> 1102</ul></li> 1103<li>SPL: 1104<ul> 1105 <li><?php bugfix(70852); ?> (Segfault getting NULL offset of an ArrayObject).</li> 1106</ul></li> 1107</ul> 1108<!-- }}} --></section> 1109 1110<section class="version" id="5.6.15"><!-- {{{ 5.6.15 --> 1111<h3>Version 5.6.15</h3> 1112<?php release_date('29-Oct-2015'); ?> 1113<ul><li>Core: 1114<ul> 1115 <li><?php bugfix(70681); ?> (Segfault when binding $this of internal instance method to null).</li> 1116 <li><?php bugfix(70685); ?> (Segfault for getClosure() internal method rebind with invalid $this).</li> 1117</ul></li> 1118<li>Date: 1119<ul> 1120 <li><?php bugfix(70619); ?> (DateTimeImmutable segfault).</li> 1121</ul></li> 1122<li>Mcrypt: 1123<ul> 1124 <li><?php bugfix(70625); ?> (mcrypt_encrypt() won't return data when no IV was specified under RC4).</li> 1125</ul></li> 1126<li>Mysqlnd: 1127<ul> 1128 <li><?php bugfix(70384); ?> (mysqli_real_query():Unknown type 245 sent by the server).</li> 1129 <li><?php bugfix(70572); ?> segfault in mysqlnd_connect.</li> 1130</ul></li> 1131<li>Opcache: 1132<ul> 1133 <li><?php bugfix(70632); ?> (Third one of segfault in gc_remove_from_buffer).</li> 1134 <li><?php bugfix(70631); ?> (Another Segfault in gc_remove_from_buffer()).</li> 1135 <li><?php bugfix(70601); ?> (Segfault in gc_remove_from_buffer()).</li> 1136 <li>Fixed compatibility with Windows 10 (see also <?php bugl(70652); ?>).</li> 1137</ul></li> 1138</ul> 1139<!-- }}} --></section> 1140 1141<section class="version" id="5.6.14"><!-- {{{ 5.6.14 --> 1142<h3>Version 5.6.14</h3> 1143<?php release_date('01-Oct-2015'); ?> 1144<ul><li>Core: 1145<ul> 1146 <li><?php bugfix(70370); ?> (Bundled libtool.m4 doesn't handle FreeBSD 10 when building extensions).</li> 1147</ul></li> 1148<li>CLI server: 1149<ul> 1150 <li><?php bugfix(68291); ?> (404 on urls with '+').</li> 1151</ul></li> 1152<li>DOM: 1153<ul> 1154 <li><?php bugfix(70001); ?> (Assigning to DOMNode::textContent does additional entity encoding).</li> 1155</ul></li> 1156<li>ldap: 1157<ul> 1158 <li><?php bugfix(70465); ?> (Bug in ldap_search() modifies LDAP_OPT_TIMELIMIT/DEREF's values). (Tyson Andre).</li> 1159 <li><?php bugfix(69574); ?> (ldap timeouts not enforced). (Côme Bernigaud).</li> 1160</ul></li> 1161<li>Mysqlnd: 1162<ul> 1163 <li><?php bugfix(70456); ?> (mysqlnd doesn't activate TCP keep-alive when connecting to a server).</li> 1164</ul></li> 1165<li>OpenSSL: 1166<ul> 1167 <li><?php bugfix(55259); ?> (openssl extension does not get the DH parameters from DH key resource).</li> 1168 <li><?php bugfix(70395); ?> (Missing ARG_INFO for openssl_seal()).</li> 1169 <li><?php bugfix(60632); ?> (openssl_seal fails with AES).</li> 1170 <li><?php bugfix(68312); ?> (Lookup for openssl.cnf causes a message box).</li> 1171</ul></li> 1172<li>PDO: 1173<ul> 1174 <li><?php bugfix(70389); ?> (PDO constructor changes unrelated variables).</li> 1175</ul></li> 1176<li>Phar: 1177<ul> 1178 <li><?php bugfix(69720); ?> (Null pointer dereference in phar_get_fp_offset()). (CVE-2015-7803)</li> 1179 <li><?php bugfix(70433); ?> (Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"). (CVE-2015-7804)</li> 1180</ul></li> 1181<li>Phpdbg: 1182<ul> 1183 <li>Fix phpdbg_break_next() sometimes not breaking.</li> 1184</ul></li> 1185<li>Standard: 1186<ul> 1187 <li><?php bugfix(67131); ?> (setcookie() conditional for empty values not met).</li> 1188</ul></li> 1189<li>Streams: 1190<ul> 1191 <li><?php bugfix(70361); ?> (HTTP stream wrapper doesn't close keep-alive connections).</li> 1192</ul></li> 1193<li>Zip: 1194<ul> 1195 <li><?php bugfix(70322); ?> (ZipArchive::close() doesn't indicate errors).</li> 1196</ul></li> 1197</ul> 1198<!-- }}} --></section> 1199 1200<section class="version" id="5.6.13"><!-- {{{ 5.6.13 --> 1201<h3>Version 5.6.13</h3> 1202<?php release_date('03-Sep-2015'); ?> 1203<ul><li>Core: 1204<ul> 1205 <li><?php bugfix(69900); ?> (Too long timeout on pipes).</li> 1206 <li><?php bugfix(69487); ?> (SAPI may truncate POST data).</li> 1207 <li><?php bugfix(70198); ?> (Checking liveness does not work as expected).</li> 1208 <li><?php bugfix(70172); ?> (Use After Free Vulnerability in unserialize()). (CVE-2015-6834)</li> 1209 <li><?php bugfix(70219); ?> (Use after free vulnerability in session deserializer). (CVE-2015-6835)</li> 1210</ul></li> 1211<li>CLI server: 1212<ul> 1213 <li><?php bugfix(66606); ?> (Sets HTTP_CONTENT_TYPE but not CONTENT_TYPE).</li> 1214 <li><?php bugfix(70264); ?> (CLI server directory traversal).</li> 1215</ul></li> 1216<li>Date: 1217<ul> 1218 <li><?php bugfix(70266); ?> (DateInterval::__construct.interval_spec is not supposed to be optional).</li> 1219 <li><?php bugfix(70277); ?> (new DateTimeZone($foo) is ignoring text after null byte).</li> 1220</ul></li> 1221<li>EXIF: 1222<ul> 1223 <li><?php bugfix(70385); ?> (Buffer over-read in exif_read_data with TIFF IFD tag byte value of 32 bytes).</li> 1224</ul></li> 1225<li>GMP: 1226<ul> 1227 <li><?php bugfix(70284); ?> (Use after free vulnerability in unserialize() with GMP).</li> 1228</ul></li> 1229<li>hash: 1230<ul> 1231 <li><?php bugfix(70312); ?> (HAVAL gives wrong hashes in specific cases).</li> 1232</ul></li> 1233<li>MCrypt: 1234<ul> 1235 <li><?php bugfix(69833); ?> (mcrypt fd caching not working).</li> 1236</ul></li> 1237<li>Opcache: 1238<ul> 1239 <li><?php bugfix(70237); ?> (Empty while and do-while segmentation fault with opcode on CLI enabled).</li> 1240</ul></li> 1241<li>PCRE: 1242<ul> 1243 <li><?php bugfix(70232); ?> (Incorrect bump-along behavior with \K and empty string match).</li> 1244 <li><?php bugfix(70345); ?> (Multiple vulnerabilities related to PCRE functions).</li> 1245</ul></li> 1246<li>SOAP: 1247<ul> 1248 <li><?php bugfix(70388); ?> (SOAP serialize_function_call() type confusion / RCE). (CVE-2015-6836)</li> 1249</ul></li> 1250<li>SPL: 1251<ul> 1252 <li><?php bugfix(70290); ?> (Null pointer deref (segfault) in spl_autoload via ob_start).</li> 1253 <li><?php bugfix(70303); ?> (Incorrect constructor reflection for ArrayObject).</li> 1254 <li><?php bugfix(70365); ?> (Use-after-free vulnerability in unserialize() with SplObjectStorage). (CVE-2015-6834)</li> 1255 <li><?php bugfix(70366); ?> (Use-after-free vulnerability in unserialize() with SplDoublyLinkedList). (CVE-2015-6834)</li> 1256</ul></li> 1257<li>Standard: 1258<ul> 1259 <li><?php bugfix(70052); ?> (getimagesize() fails for very large and very small WBMP).</li> 1260 <li><?php bugfix(70157); ?> (parse_ini_string() segmentation fault with INI_SCANNER_TYPED).</li> 1261</ul></li> 1262<li>XSLT: 1263<ul> 1264 <li><?php bugfix(69782); ?> (NULL pointer dereference). (CVE-2015-6837, CVE-2015-6838)</li> 1265</ul></li> 1266<li>ZIP: 1267<ul> 1268 <li><?php bugfix(70350); ?> (ZipArchive::extractTo allows for directory traversal when creating directories). (CVE-2014-9767)</li> 1269</ul></li> 1270</ul> 1271<!-- }}} --></section> 1272 1273<section class="version" id="5.6.12"><!-- {{{ 5.6.12 --> 1274<h3>Version 5.6.12</h3> 1275<?php release_date('06-Aug-2015'); ?> 1276<ul><li>Core: 1277<ul> 1278 <li><?php bugfix(70012); ?> (Exception lost with nested finally block).</li> 1279 <li><?php bugfix(70002); ?> (TS issues with temporary dir handling).</li> 1280 <li><?php bugfix(69793); ?> (Remotely triggerable stack exhaustion via recursive method calls).</li> 1281 <li><?php bugfix(69892); ?> (Different arrays compare indentical due to integer key truncation).</li> 1282 <li><?php bugfix(70121); ?> (unserialize() could lead to unexpected methods execution / NULL pointer deref).</li> 1283</ul></li> 1284<li>CLI server: 1285<ul> 1286 <li><?php bugfix(69655); ?> (php -S changes MKCALENDAR request method to MKCOL).</li> 1287 <li><?php bugfix(64878); ?> (304 responses return Content-Type header).</li> 1288</ul></li> 1289<li>GD: 1290<ul> 1291 <li><?php bugfix(53156); ?> (imagerectangle problem with point ordering).</li> 1292 <li><?php bugfix(66387); ?> (Stack overflow with imagefilltoborder). (CVE-2015-8874)</li> 1293 <li><?php bugfix(70102); ?> (imagecreatefromwebm() shifts colors).</li> 1294 <li><?php bugfix(66590); ?> (imagewebp() doesn't pad to even length).</li> 1295 <li><?php bugfix(66882); ?> (imagerotate by -90 degrees truncates image by 1px).</li> 1296 <li><?php bugfix(70064); ?> (imagescale(..., IMG_BICUBIC) leaks memory).</li> 1297 <li><?php bugfix(69024); ?> (imagescale segfault with palette based image).</li> 1298 <li><?php bugfix(53154); ?> (Zero-height rectangle has whiskers).</li> 1299 <li><?php bugfix(67447); ?> (imagecrop() add a black line when cropping).</li> 1300 <li><?php bugfix(68714); ?> (copy 'n paste error).</li> 1301 <li><?php bugfix(66339); ?> (PHP segfaults in imagexbm).</li> 1302 <li><?php bugfix(70047); ?> (gd_info() doesn't report WebP support).</li> 1303</ul></li> 1304<li>ODBC: 1305<ul> 1306 <li><?php bugfix(69975); ?> (PHP segfaults when accessing nvarchar(max) defined columns). (CVE-2015-8879)</li> 1307</ul></li> 1308<li>OpenSSL: 1309<ul> 1310 <li><?php bugfix(69882); ?> (OpenSSL error "key values mismatch" after openssl_pkcs12_read with extra cert).</li> 1311 <li><?php bugfix(70014); ?> (openssl_random_pseudo_bytes() is not cryptographically secure). (CVE-2015-8867)</li> 1312</ul></li> 1313<li>Phar: 1314<ul> 1315 <li>Improved fix for bug <?php bugl(69441) ?>.</li> 1316 <li><?php bugfix(70019); ?> (Files extracted from archive may be placed outside of destination directory). (CVE-2015-6833)</li> 1317</ul></li> 1318<li>SOAP: 1319<ul> 1320 <li><?php bugfix(70081); ?> (SoapClient info leak / null pointer dereference via multiple type confusions).</li> 1321</ul></li> 1322<li>SPL: 1323<ul> 1324 <li><?php bugfix(70068); ?> (Dangling pointer in the unserialization of ArrayObject items). (CVE-2015-6832)</li> 1325 <li><?php bugfix(70166); ?> (Use After Free Vulnerability in unserialize() with SPLArrayObject). (CVE-2015-6831)</li> 1326 <li><?php bugfix(70168); ?> (Use After Free Vulnerability in unserialize() with SplObjectStorage). (CVE-2015-6831)</li> 1327 <li><?php bugfix(70169); ?> (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList). (CVE-2015-6831)</li> 1328</ul></li> 1329<li>Standard: 1330<ul> 1331 <li><?php bugfix(70096); ?> (Repeated iptcembed() adds superfluous FF bytes).</li> 1332</ul></li> 1333</ul> 1334<!-- }}} --></section> 1335 1336<section class="version" id="5.6.11"><!-- {{{ 5.6.11 --> 1337<h3>Version 5.6.11</h3> 1338<?php release_date('10-Jul-2015'); ?> 1339<ul><li>Core: 1340<ul> 1341 <li><?php bugfix(69768); ?> (escapeshell*() doesn't cater to !).</li> 1342 <li><?php bugfix(69703); ?> (Use __builtin_clzl on PowerPC).</li> 1343 <li><?php bugfix(69732); ?> (can induce segmentation fault with basic php code).</li> 1344 <li><?php bugfix(69642); ?> (Windows 10 reported as Windows 8).</li> 1345 <li><?php bugfix(69551); ?> (parse_ini_file() and parse_ini_string() segmentation fault).</li> 1346 <li><?php bugfix(69781); ?> (phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business").</li> 1347 <li><?php bugfix(69740); ?> (finally in generator (yield) swallows exception in iteration).</li> 1348 <li><?php bugfix(69835); ?> (phpinfo() does not report many Windows SKUs).</li> 1349 <li><?php bugfix(69892); ?> (Different arrays compare indentical due to integer key truncation).</li> 1350 <li><?php bugfix(69874); ?> (Can't set empty additional_headers for mail()), regression from fix to bug <?php bugl(68776); ?>.</li> 1351</ul></li> 1352<li>GD: 1353<ul> 1354 <li><?php bugfix(61221); ?> (imagegammacorrect function loses alpha channel).</li> 1355</ul></li> 1356<li>GMP: 1357<ul> 1358 <li><?php bugfix(69803); ?> (gmp_random_range() modifies second parameter if GMP number).</li> 1359</ul></li> 1360<li>Mysqlnd: 1361<ul> 1362 <li><?php bugfix(69669); ?> (mysqlnd is vulnerable to BACKRONYM). (CVE-2015-3152)</li> 1363</ul></li> 1364<li>PCRE: 1365<ul> 1366 <li><?php bugfix(53823); ?> (preg_replace: * qualifier on unicode replace garbles the string).</li> 1367 <li><?php bugfix(69864); ?> (Segfault in preg_replace_callback).</li> 1368</ul></li> 1369<li>PDO_pgsql: 1370<ul> 1371 <li><?php bugfix(69752); ?> (PDOStatement::execute() leaks memory with DML Statements when closeCuror() is u).</li> 1372 <li><?php bugfix(69362); ?> (PDO-pgsql fails to connect if password contains a leading single quote).</li> 1373 <li><?php bugfix(69344); ?> (PDO PgSQL Incorrect binding numeric array with gaps).</li> 1374</ul></li> 1375<li>Phar: 1376<ul> 1377 <li><?php bugfix(69958); ?> (Segfault in Phar::convertToData on invalid file). (CVE-2015-5589)</li> 1378 <li><?php bugfix(69923); ?> (Buffer overflow and stack smashing error in phar_fix_filepath). (CVE-2015-5590)</li> 1379</ul></li> 1380<li>SimpleXML: 1381<ul> 1382 <li>Refactored the fix for bug <?php bugl(66084); ?> (simplexml_load_string() mangles empty node name).</li> 1383</ul></li> 1384<li>SPL: 1385<ul> 1386 <li><?php bugfix(69737); ?> (Segfault when SplMinHeap::compare produces fatal error).</li> 1387 <li><?php bugfix(67805); ?> (SplFileObject setMaxLineLength).</li> 1388 <li><?php bugfix(69970); ?> (Use-after-free vulnerability in spl_recursive_it_move_forward_ex()).</li> 1389</ul></li> 1390<li>Sqlite3: 1391<ul> 1392 <li><?php bugfix(69972); ?> (Use-after-free vulnerability in sqlite3SafetyCheckSickOrOk()).</li> 1393</ul></li> 1394</ul> 1395<!-- }}} --></section> 1396 1397<section class="version" id="5.6.10"><!-- {{{ 5.6.10 --> 1398<h3>Version 5.6.10</h3> 1399<?php release_date('11-Jun-2015'); ?> 1400<ul><li>Core: 1401<ul> 1402 <li><?php bugfix(66048); ?> (temp. directory is cached during multiple requests).</li> 1403 <li><?php bugfix(69566); ?> (Conditional jump or move depends on uninitialised value in extension trait).</li> 1404 <li><?php bugfix(69599); ?> (Strange generator+exception+variadic crash).</li> 1405 <li><?php bugfix(69628); ?> (complex GLOB_BRACE fails on Windows).</li> 1406 <li>Fixed POST data processing slowdown due to small input buffer size on Windows.</li> 1407 <li><?php bugfix(69646); ?> (OS command injection vulnerability in escapeshellarg). (CVE-2015-4642)</li> 1408 <li><?php bugfix(69719); ?> (Incorrect handling of paths with NULs). (CVE-2015-4598)</li> 1409</ul></li> 1410<li>FTP: 1411<ul> 1412 <li>Improved fix for bug <?php bugl(69545); ?> (Integer overflow in ftp_genlist() resulting in heap overflow). (CVE-2015-4643)</li> 1413</ul></li> 1414<li>GD: 1415<ul> 1416 <li><?php bugfix(69479); ?> (GD fails to build with newer libvpx).</li> 1417</ul></li> 1418<li>Iconv: 1419<ul> 1420 <li><?php bugfix(48147); ?> (iconv with //IGNORE cuts the string).</li> 1421</ul></li> 1422<li>Litespeed SAPI: 1423<ul> 1424 <li><?php bugfix(68812); ?> (Unchecked return value).</li> 1425</ul></li> 1426<li>Mail: 1427<ul> 1428 <li><?php bugfix(68776); ?> (mail() does not have mail header injection prevention for additional headers).</li> 1429</ul></li> 1430<li>MCrypt: 1431<ul> 1432 <li>Added file descriptor caching to mcrypt_create_iv().</li> 1433</ul></li> 1434<li>Opcache: 1435<ul> 1436 <li><?php bugfix(69549); ?> (Memory leak with opcache.optimization_level=0xFFFFFFFF).</li> 1437</ul></li> 1438<li>Phar: 1439<ul> 1440 <li><?php bugfix(69680); ?> (phar symlink in binary directory broken).</li> 1441</ul></li> 1442<li>Postgres: 1443<ul> 1444 <li><?php bugfix(69667); ?> (segfault in php_pgsql_meta_data). (CVE-2015-4644)</li> 1445</ul></li> 1446<li>Sqlite3: 1447<ul> 1448 <li>Upgrade bundled sqlite to 3.8.10.2. (CVE-2015-3414, CVE-2015-3415, 1449 CVE-2015-3416)</li> 1450</ul></li> 1451</ul> 1452<!-- }}} --></section> 1453 1454<section class="version" id="5.6.9"><!-- {{{ 5.6.9 --> 1455<h3>Version 5.6.9</h3> 1456<?php release_date('14-May-2015'); ?> 1457<ul><li>Core: 1458<ul> 1459 <li><?php bugfix(69467); ?> (Wrong checked for the interface by using Trait).</li> 1460 <li><?php bugfix(69420); ?> (Invalid read in zend_std_get_method).</li> 1461 <li><?php bugfix(60022); ?> ("use statement [...] has no effect" depends on leading backslash).</li> 1462 <li><?php bugfix(67314); ?> (Segmentation fault in gc_remove_zval_from_buffer).</li> 1463 <li><?php bugfix(68652); ?> (segmentation fault in destructor).</li> 1464 <li><?php bugfix(69419); ?> (Returning compatible sub generator produces a warning).</li> 1465 <li><?php bugfix(69472); ?> (php_sys_readlink ignores misc errors from GetFinalPathNameByHandleA).</li> 1466 <li><?php bugfix(69364); ?> (PHP Multipart/form-data remote dos Vulnerability). (CVE-2015-4024)</li> 1467 <li><?php bugfix(69403); ?> (str_repeat() sign mismatch based memory corruption).</li> 1468 <li><?php bugfix(69418); ?> (CVE-2006-7243 fix regressions in 5.4+). (CVE-2015-4025)</li> 1469 <li><?php bugfix(69522); ?> (heap buffer overflow in unpack()).</li> 1470</ul></li> 1471<li>FTP: 1472<ul> 1473 <li><?php bugfix(69545); ?> (Integer overflow in ftp_genlist() resulting in heap overflow). (CVE-2015-4022)</li> 1474</ul></li> 1475<li>ODBC: 1476<ul> 1477 <li><?php bugfix(69354); ?> (Incorrect use of SQLColAttributes with ODBC 3.0).</li> 1478 <li><?php bugfix(69474); ?> (ODBC: Query with same field name from two tables returns incorrect result).</li> 1479 <li><?php bugfix(69381); ?> (out of memory with sage odbc driver).</li> 1480</ul></li> 1481<li>OpenSSL: 1482<ul> 1483 <li><?php bugfix(69402); ?> (Reading empty SSL stream hangs until timeout).</li> 1484</ul></li> 1485<li>PCNTL: 1486<ul> 1487 <li><?php bugfix(68598); ?> (pcntl_exec() should not allow null char). (CVE-2015-4026)</li> 1488</ul></li> 1489<li>PCRE: 1490<ul> 1491 <li>Upgraded pcrelib to 8.37. (CVE-2015-2325, CVE-2015-2326)</li> 1492</ul></li> 1493<li>Phar: 1494<ul> 1495 <li><?php bugfix(69453); ?> (Memory Corruption in phar_parse_tarfile when entry filename starts with null). (CVE-2015-4021)</li> 1496</ul></li> 1497</ul> 1498<!-- }}} --></section> 1499 1500<section class="version" id="5.6.8"><!-- {{{ 5.6.8 --> 1501<h3>Version 5.6.8</h3> 1502<?php release_date('16-Apr-2015'); ?> 1503<ul><li>Core: 1504<ul> 1505 <li><?php bugfix(66609); ?> (php crashes with __get() and ++ operator in some cases).</li> 1506 <li><?php bugfix(68021); ?> (get_browser() browser_name_regex returns non-utf-8 characters).</li> 1507 <li><?php bugfix(68917); ?> (parse_url fails on some partial urls).</li> 1508 <li><?php bugfix(69134); ?> (Per Directory Values overrides PHP_INI_SYSTEM configuration options).</li> 1509 <li>Additional fix for bug <?php bugl(69152); ?> (Type confusion vulnerability in exception::getTraceAsString).</li> 1510 <li><?php bugfix(69210); ?> (serialize function return corrupted data when sleep has non-string values).</li> 1511 <li><?php bugfix(69212); ?> (Leaking VIA_HANDLER func when exception thrown in __call/... arg passing).</li> 1512 <li><?php bugfix(69221); ?> (Segmentation fault when using a generator in combination with an Iterator).</li> 1513 <li><?php bugfix(69337); ?> (php_stream_url_wrap_http_ex() type-confusion vulnerability).</li> 1514 <li><?php bugfix(69353); ?> (Missing null byte checks for paths in various PHP extensions). (CVE-2015-3411, CVE-2015-3412)</li> 1515</ul></li> 1516<li>Apache2handler: 1517<ul> 1518 <li><?php bugfix(69218); ?> (potential remote code execution with apache 2.4 apache2handler). (CVE-2015-3330)</li> 1519</ul></li> 1520<li>cURL: 1521<ul> 1522 <li><?php implemented(69278); ?> (HTTP2 support).</li> 1523 <li><?php bugfix(68739); ?> (Missing break / control flow).</li> 1524 <li><?php bugfix(69316); ?> (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER).</li> 1525</ul></li> 1526<li>Date: 1527<ul> 1528 <li><?php bugfix(69336); ?> (Issues with "last day of <monthname>").</li> 1529</ul></li> 1530<li>Enchant: 1531<ul> 1532 <li><?php bugfix(65406); ?> (Enchant broker plugins are in the wrong place in windows builds).</li> 1533</ul></li> 1534<li>Ereg: 1535<ul> 1536 <li><?php bugfix(68740); ?> (NULL Pointer Dereference).</li> 1537</ul></li> 1538<li>Fileinfo: 1539<ul> 1540 <li><?php bugfix(68819); ?> (Fileinfo on specific file causes spurious OOM and/or segfault). (CVE-2015-4604, CVE-2015-4605)</li> 1541</ul></li> 1542<li>Filter: 1543<ul> 1544 <li><?php bugfix(69202); ?> (FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used).</li> 1545 <li><?php bugfix(69203); ?> (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127).</li> 1546</ul></li> 1547<li>Mbstring: 1548<ul> 1549 <li><?php bugfix(68846); ?> (False detection of CJK Unified Ideographs Extension E).</li> 1550</ul></li> 1551<li>OPCache: 1552<ul> 1553 <li><?php bugfix(69297); ?> (function_exists strange behavior with OPCache on disabled function).</li> 1554 <li><?php bugfix(69281); ?> (opcache_is_script_cached no longer works).</li> 1555 <li><?php bugfix(68677); ?> (Use After Free). (CVE-2015-1351)</li> 1556</ul></li> 1557<li>OpenSSL: 1558<ul> 1559 <li><?php bugfix(68853); ?>, <?php bugl(65137); ?> (Buffered crypto stream data breaks IO polling in stream_select() contexts).</li> 1560 <li><?php bugfix(69197); ?> (openssl_pkcs7_sign handles default value incorrectly).</li> 1561 <li><?php bugfix(69215); ?> (Crypto servers should send client CA list).</li> 1562 <li>Add a check for RAND_egd to allow compiling against LibreSSL.</li> 1563</ul></li> 1564<li>Phar: 1565<ul> 1566 <li><?php bugfix(64343); ?> (PharData::extractTo fails for tarball created by BSD tar).</li> 1567 <li><?php bugfix(64931); ?> (phar_add_file is too restrictive on filename).</li> 1568 <li><?php bugfix(65467); ?> (Call to undefined method cli_arg_typ_string).</li> 1569 <li><?php bugfix(67761); ?> (Phar::mapPhar fails for Phars inside a path containing ".tar").</li> 1570 <li><?php bugfix(69324); ?> (Buffer Over-read in unserialize when parsing Phar). (CVE-2015-2783, CVE-2015-3307)</li> 1571 <li><?php bugfix(69441); ?> (Buffer Overflow when parsing tar/zip/phar in phar_set_inode). (CVE-2015-3329)</li> 1572</ul></li> 1573<li>Postgres: 1574<ul> 1575 <li><?php bugfix(68741); ?> (Null pointer dereference). (CVE-2015-1352)</li> 1576</ul></li> 1577<li>SOAP: 1578<ul> 1579 <li><?php bugfix(69152); ?> (Type Confusion Infoleak Vulnerability in unserialize() with SoapFault). (CVE-2015-4599)</li> 1580 <li><?php bugfix(69293); ?> (NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)).</li> 1581</ul></li> 1582<li>SPL: 1583<ul> 1584 <li><?php bugfix(69227); ?> (Use after free in zval_scan caused by spl_object_storage_get_gc).</li> 1585</ul></li> 1586<li>Sqlite3: 1587<ul> 1588 <li><?php bugfix(68760); ?> (SQLITE segfaults if custom collator throws an exception).</li> 1589 <li><?php bugfix(69287); ?> (Upgrade bundled libsqlite to 3.8.8.3).</li> 1590 <li><?php bugfix(66550); ?> (SQLite prepared statement use-after-free).</li> 1591</ul></li> 1592</ul> 1593<!-- }}} --></section> 1594 1595<section class="version" id="5.6.7"><!-- {{{ 5.6.7 --> 1596<h3>Version 5.6.7</h3> 1597<?php release_date('19-Mar-2015'); ?> 1598<ul><li>Core: 1599<ul> 1600 <li><?php bugfix(69174); ?> (leaks when unused inner class use traits precedence).</li> 1601 <li><?php bugfix(69139); ?> (Crash in gc_zval_possible_root on unserialize).</li> 1602 <li><?php bugfix(69121); ?> (Segfault in get_current_user when script owner is not in passwd with ZTS build).</li> 1603 <li><?php bugfix(65593); ?> (Segfault when calling ob_start from output buffering callback).</li> 1604 <li><?php bugfix(68986); ?> (pointer returned by php_stream_fopen_temporary_file not validated in memory.c).</li> 1605 <li><?php bugfix(68166); ?> (Exception with invalid character causes segv).</li> 1606 <li><?php bugfix(69141); ?> (Missing arguments in reflection info for some builtin functions).</li> 1607 <li><?php bugfix(68976); ?> (Use After Free Vulnerability in unserialize()). (CVE-2015-2787)</li> 1608 <li><?php bugfix(69134); ?> (Per Directory Values overrides PHP_INI_SYSTEM configuration options).</li> 1609 <li><?php bugfix(69207); ?> (move_uploaded_file allows nulls in path). (CVE-2015-2348)</li> 1610</ul></li> 1611<li>CGI: 1612<ul> 1613 <li><?php bugfix(69015); ?> (php-cgi's getopt does not see $argv).</li> 1614</ul></li> 1615<li>CLI: 1616<ul> 1617 <li><?php bugfix(67741); ?> (auto_prepend_file messes up __LINE__).</li> 1618</ul></li> 1619<li>cURL: 1620<ul> 1621 <li><?php bugfix(69088); ?> (PHP_MINIT_FUNCTION does not fully initialize cURL on Win32).</li> 1622 <li>Add CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME constants if supported by libcurl.</li> 1623</ul></li> 1624<li>Ereg: 1625<ul> 1626 <li><?php bugfix(69248); ?> (heap overflow vulnerability in regcomp.c). (CVE-2015-2305)</li> 1627</ul></li> 1628<li>FPM: 1629<ul> 1630 <li><?php bugfix(68822); ?> (request time is reset too early).</li> 1631</ul></li> 1632<li>ODBC: 1633<ul> 1634 <li><?php bugfix(68964); ?> (Allowed memory size exhausted with odbc_exec).</li> 1635</ul></li> 1636<li>Opcache: 1637<ul> 1638 <li><?php bugfix(69159); ?> (Opcache causes problem when passing a variable variable to a function).</li> 1639 <li><?php bugfix(69125); ?> (Array numeric string as key).</li> 1640 <li><?php bugfix(69038); ?> (switch(SOMECONSTANT) misbehaves).</li> 1641</ul></li> 1642<li>OpenSSL: 1643<ul> 1644 <li><?php bugfix(68912); ?> (Segmentation fault at openssl_spki_new).</li> 1645 <li><?php bugfix(61285); ?>, <?php bugl(68329); ?>, <?php bugl(68046); ?>, <?php bugl(41631); ?> (encrypted streams don't observe socket timeouts).</li> 1646 <li><?php bugfix(68920); ?> (use strict peer_fingerprint input checks) (Daniel Lowrey)</li> 1647 <li><?php bugfix(68879); ?> (IP Address fields in subjectAltNames not used) (Daniel Lowrey)</li> 1648 <li><?php bugfix(68265); ?> (SAN match fails with trailing DNS dot) (Daniel Lowrey)</li> 1649 <li><?php bugfix(67403); ?> (Add signatureType to openssl_x509_parse) (Daniel Lowrey)</li> 1650 <li><?php bugfix(69195); ?> (Inconsistent stream crypto values across versions) (Daniel Lowrey)</li> 1651</ul></li> 1652<li>pgsql: 1653<ul> 1654 <li><?php bugfix(68638); ?> (pg_update() fails to store infinite values).</li> 1655</ul></li> 1656<li>Readline: 1657<ul> 1658 <li><?php bugfix(69054); ?> (Null dereference in readline_(read|write)_history() without parameters).</li> 1659</ul></li> 1660<li>SOAP: 1661<ul> 1662 <li><?php bugfix(69085); ?> (SoapClient's __call() type confusion through unserialize()). (CVE-2015-4147, CVE-2015-4148)</li> 1663</ul></li> 1664<li>SPL: 1665<ul> 1666 <li><?php bugfix(69108); ?> ("Segmentation fault" when (de)serializing SplObjectStorage).</li> 1667 <li><?php bugfix(68557); ?> (RecursiveDirectoryIterator::seek(0) broken after calling getChildren()).</li> 1668</ul></li> 1669<li>ZIP: 1670<ul> 1671 <li><?php bugfix(69253); ?> (ZIP Integer Overflow leads to writing past heap boundary). (CVE-2015-2331)</li> 1672</ul></li> 1673</ul> 1674<!-- }}} --></section> 1675 1676<section class="version" id="5.6.6"><!-- {{{ 5.6.6 --> 1677<h3>Version 5.6.6</h3> 1678<?php release_date('19-Feb-2015'); ?> 1679<ul><li>Core: 1680<ul> 1681 <li>Removed support for multi-line headers, as they are deprecated by RFC 7230.</li> 1682 <li><?php bugfix(67068); ?> (getClosure returns somethings that's not a closure).</li> 1683 <li><?php bugfix(68942); ?> (Use after free vulnerability in unserialize() with DateTimeZone). (CVE-2015-0273)</li> 1684 <li><?php bugfix(68925); ?> (Mitigation for CVE-2015-0235 – GHOST: glibc gethostbyname buffer overflow).</li> 1685 <li><?php bugfix(67988); ?> (htmlspecialchars() does not respect default_charset specified by ini_set).</li> 1686 <li>Added NULL byte protection to exec, system and passthru.</li> 1687</ul></li> 1688<li>Dba: 1689<ul> 1690 <li><?php bugfix(68711); ?> (useless comparisons).</li> 1691</ul></li> 1692<li>Enchant: 1693<ul> 1694 <li><?php bugfix(68552); ?> (heap buffer overflow in enchant_broker_request_dict()). (CVE-2014-9705)</li> 1695</ul></li> 1696<li>Fileinfo: 1697<ul> 1698 <li><?php bugfix(68827); ?> (Double free with disabled ZMM).</li> 1699 <li><?php bugfix(67647); ?> (Bundled libmagic 5.17 does not detect quicktime files correctly).</li> 1700 <li><?php bugfix(68731); ?> (finfo_buffer doesn't extract the correct mime with some gifs).</li> 1701</ul></li> 1702<li>FPM: 1703<ul> 1704 <li><?php bugfix(66479); ?> (Wrong response to FCGI_GET_VALUES).</li> 1705 <li><?php bugfix(68571); ?> (core dump when webserver close the socket).</li> 1706</ul></li> 1707<li>JSON: 1708<ul> 1709 <li><?php bugfix(50224); ?> (json_encode() does not always encode a float as a float) by adding JSON_PRESERVE_ZERO_FRACTION.</li> 1710</ul></li> 1711<li>LIBXML: 1712<ul> 1713 <li><?php bugfix(64938); ?> (libxml_disable_entity_loader setting is shared between threads). (CVE-2015-8866)</li> 1714</ul></li> 1715<li>Mysqli: 1716<ul> 1717 <li><?php bugfix(68114); ?> (linker error on some OS X machines with fixed width decimal support).</li> 1718 <li><?php bugfix(68657); ?> (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).</li> 1719</ul></li> 1720<li>Opcache: 1721<ul> 1722 <li>Fixed bug with try blocks being removed when extended_info opcode generation is turned on.</li> 1723</ul></li> 1724<li>PDO_mysql: 1725<ul> 1726 <li><?php bugfix(68750); ?> (PDOMysql with mysqlnd does not allow the usage of named pipes).</li> 1727</ul></li> 1728<li>Phar: 1729<ul> 1730 <li><?php bugfix(68901); ?> (use after free). (CVE-2015-2301)</li> 1731</ul></li> 1732<li>Pgsql: 1733<ul> 1734 <li><?php bugfix(65199); ?> (pg_copy_from() modifies input array variable).</li> 1735</ul></li> 1736<li>Session: 1737<ul> 1738 <li><?php bugfix(68941); ?> (mod_files.sh is a bash-script).</li> 1739 <li><?php bugfix(66623); ?> (no EINTR check on flock).</li> 1740 <li><?php bugfix(68063); ?> (Empty session IDs do still start sessions).</li> 1741</ul></li> 1742<li>Sqlite3: 1743<ul> 1744 <li><?php bugfix(68260); ?> (SQLite3Result::fetchArray declares wrong required_num_args).</li> 1745</ul></li> 1746<li>Standard: 1747<ul> 1748 <li><?php bugfix(65272); ?> (flock() out parameter not set correctly in windows).</li> 1749 <li><?php bugfix(69033); ?> (Request may get env. variables from previous requests if PHP works as FastCGI).</li> 1750</ul></li> 1751<li>Streams: 1752<ul> 1753 <li>Fixed bug which caused call after final close on streams filter.</li> 1754</ul></li> 1755</ul> 1756<!-- }}} --></section> 1757 1758<section class="version" id="5.6.5"><!-- {{{ 5.6.5 --> 1759<h3>Version 5.6.5</h3> 1760<?php release_date('22-Jan-2015'); ?> 1761<ul><li>Core: 1762<ul> 1763 <li>Upgraded crypt_blowfish to version 1.3.</li> 1764 <li><?php bugfix(60704); ?> (unlink() bug with some files path).</li> 1765 <li><?php bugfix(65419); ?> (Inside trait, self::class != __CLASS__).</li> 1766 <li><?php bugfix(68536); ?> (pack for 64bits integer is broken on bigendian).</li> 1767 <li><?php bugfix(55541); ?> (errors spawn MessageBox, which blocks test automation).</li> 1768 <li><?php bugfix(68297); ?> (Application Popup provides too few information).</li> 1769 <li><?php bugfix(65769); ?> (localeconv() broken in TS builds).</li> 1770 <li><?php bugfix(65230); ?> (setting locale randomly broken).</li> 1771 <li><?php bugfix(66764); ?> (configure doesn't define EXPANDED_DATADIR / PHP_DATADIR correctly).</li> 1772 <li><?php bugfix(68583); ?> (Crash in timeout thread).</li> 1773 <li><?php bugfix(65576); ?> (Constructor from trait conflicts with inherited constructor).</li> 1774 <li><?php bugfix(68676); ?> (Explicit Double Free). (CVE-2014-9425)</li> 1775 <li><?php bugfix(68710); ?> (Use After Free Vulnerability in PHP's unserialize()). (CVE-2015-0231)</li> 1776</ul></li> 1777<li>CGI: 1778<ul> 1779 <li><?php bugfix(68618); ?> (out of bounds read crashes php-cgi). (CVE-2014-9427)</li> 1780</ul></li> 1781<li>CLI server: 1782<ul> 1783 <li><?php bugfix(68745); ?> (Invalid HTTP requests make web server segfault).</li> 1784</ul></li> 1785<li>cURL: 1786<ul> 1787 <li><?php bugfix(67643); ?> (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set).</li> 1788</ul></li> 1789<li>Date: 1790<ul> 1791 <li><?php implemented(68268); ?> (DatePeriod: Getter for start date, end date and interval).</li> 1792</ul></li> 1793<li>EXIF: 1794<ul> 1795 <li><?php bugfix(68799); ?> (Free called on uninitialized pointer). (CVE-2015-0232)</li> 1796</ul></li> 1797<li>Fileinfo: 1798<ul> 1799 <li><?php bugfix(68398); ?> (msooxml matches too many archives).</li> 1800 <li><?php bugfix(68665); ?> (invalid free in libmagic).</li> 1801 <li><?php bugfix(68671); ?> (incorrect expression in libmagic).</li> 1802 <li>Removed readelf.c and related code from libmagic sources.</li> 1803 <li><?php bugfix(68735); ?> (fileinfo out-of-bounds memory access). (CVE-2014-9652)</li> 1804</ul></li> 1805<li>FPM: 1806<ul> 1807 <li><?php implemented(68526); ?> (Implement POSIX Access Control List for UDS).</li> 1808 <li><?php bugfix(68751); ?> (listen.allowed_clients is broken).</li> 1809</ul></li> 1810<li>GD: 1811<ul> 1812 <li><?php bugfix(68601); ?> (buffer read overflow in gd_gif_in.c). (CVE-2014-9709)</li> 1813 <li><?php implemented(68656); ?> (Report gd library version).</li> 1814</ul></li> 1815<li>mbstring: 1816<ul> 1817 <li><?php bugfix(68504); ?> (--with-libmbfl configure option not present on Windows).</li> 1818</ul></li> 1819<li>Opcache: 1820<ul> 1821 <li><?php bugfix(68644); ?> (strlen incorrect : mbstring + func_overload=2 +UTF-8 + Opcache).</li> 1822 <li><?php bugfix(67111); ?> (Memory leak when using "continue 2" inside two foreach loops).</li> 1823</ul></li> 1824<li>OpenSSL: 1825<ul> 1826 <li>Improved handling of OPENSSL_KEYTYPE_EC keys.</li> 1827</ul></li> 1828<li>pcntl: 1829<ul> 1830 <li><?php bugfix(60509); ?> (pcntl_signal doesn't decrease ref-count of old handler when setting SIG_DFL).</li> 1831</ul></li> 1832<li>PCRE: 1833<ul> 1834 <li><?php bugfix(66679); ?> (Alignment Bug in PCRE 8.34 upstream).</li> 1835</ul></li> 1836<li>pgsql: 1837<ul> 1838 <li><?php bugfix(68697); ?> (lo_export return -1 on failure).</li> 1839</ul></li> 1840<li>PDO: 1841<ul> 1842 <li><?php bugfix(68371); ?> (PDO#getAttribute() cannot be called with platform-specifi attribute names).</li> 1843</ul></li> 1844<li>PDO_mysql: 1845<ul> 1846 <li><?php bugfix(68424); ?> (Add new PDO mysql connection attr to control multi statements option).</li> 1847</ul></li> 1848<li>SPL: 1849<ul> 1850 <li><?php bugfix(66405); ?> (RecursiveDirectoryIterator::CURRENT_AS_PATHNAME breaks the RecursiveIterator).</li> 1851 <li><?php bugfix(68479); ?> (Added escape parameter to SplFileObject::fputcsv).</li> 1852</ul></li> 1853<li>SQLite: 1854<ul> 1855 <li><?php bugfix(68120); ?> (Update bundled libsqlite to 3.8.7.2).</li> 1856</ul></li> 1857<li>Streams: 1858<ul> 1859 <li><?php bugfix(68532); ?> (convert.base64-encode omits padding bytes).</li> 1860</ul></li> 1861</ul> 1862<!-- }}} --></section> 1863 1864<section class="version" id="5.6.4"><!-- {{{ 5.6.4 --> 1865<h3>Version 5.6.4</h3> 1866<?php release_date('18-Dec-2014'); ?> 1867<ul><li>Core: 1868<ul> 1869 <li><?php bugfix(68091); ?> (Some Zend headers lack appropriate extern "C" blocks).</li> 1870 <li><?php bugfix(68104); ?> (Segfault while pre-evaluating a disabled function).</li> 1871 <li><?php bugfix(68185); ?> ("Inconsistent insteadof definition."- incorrectly triggered).</li> 1872 <li><?php bugfix(68355); ?> (Inconsistency in example php.ini comments).</li> 1873 <li><?php bugfix(68370); ?> ("unset($this)" can make the program crash).</li> 1874 <li><?php bugfix(68422); ?> (Incorrect argument reflection info for array_multisort()).</li> 1875 <li><?php bugfix(68545); ?> (NULL pointer dereference in unserialize.c).</li> 1876 <li><?php bugfix(68446); ?> (Array constant not accepted for array parameter default).</li> 1877 <li><?php bugfix(68594); ?> (Use after free vulnerability in unserialize()). (CVE-2014-8142)</li> 1878</ul></li> 1879<li>Date: 1880<ul> 1881 <li>Fixed day_of_week function as it could sometimes return negative values internally.</li> 1882</ul></li> 1883<li>FPM: 1884<ul> 1885 <li><?php bugfix(68381); ?> (fpm_unix_init_main ignores log_level).</li> 1886 <li><?php bugfix(68420); ?> (listen=9000 listens to ipv6 localhost instead of all addresses).</li> 1887 <li><?php bugfix(68421); ?> (access.format='%R' doesn't log ipv6 address).</li> 1888 <li><?php bugfix(68423); ?> (PHP-FPM will no longer load all pools).</li> 1889 <li><?php bugfix(68428); ?> (listen.allowed_clients is IPv4 only).</li> 1890 <li><?php bugfix(68452); ?> (php-fpm man page is oudated).</li> 1891 <li><?php implemented(68458); ?> (Change pm.start_servers default warning to notice).</li> 1892 <li><?php bugfix(68463); ?> (listen.allowed_clients can silently result in no allowed access).</li> 1893 <li><?php implemented(68391); ?> (php-fpm conf files loading order).</li> 1894 <li><?php bugfix(68478); ?> (access.log don't use prefix).</li> 1895</ul></li> 1896<li>Mcrypt: 1897<ul> 1898 <li>Fixed possible read after end of buffer and use after free.</li> 1899</ul></li> 1900<li>GMP: 1901<ul> 1902 <li><?php bugfix(68419); ?> (build error with gmp 4.1).</li> 1903</ul></li> 1904<li>PDO_pgsql: 1905<ul> 1906 <li><?php bugfix(67462); ?> (PDO_PGSQL::beginTransaction() wrongly throws exception when not in transaction).</li> 1907 <li><?php bugfix(68351); ?> (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving).</li> 1908</ul></li> 1909<li>Session: 1910<ul> 1911 <li><?php bugfix(68331); ?> (Session custom storage callable functions not being called).</li> 1912</ul></li> 1913<li>SOAP: 1914<ul> 1915 <li><?php bugfix(68361); ?> (Segmentation fault on SoapClient::__getTypes).</li> 1916</ul></li> 1917<li>zlib: 1918<ul> 1919 <li><?php bugfix(53829); ?> (Compiling PHP with large file support will replace function gzopen by gzopen64).</li> 1920</ul></li> 1921</ul> 1922<!-- }}} --></section> 1923 1924<section class="version" id="5.6.3"><!-- {{{ 5.6.3 --> 1925<h3>Version 5.6.3</h3> 1926<?php release_date('13-Nov-2014'); ?> 1927<ul><li>Core: 1928<ul> 1929 <li>Implemented 64-bit format codes for pack() and unpack().</li> 1930 <li><?php bugfix(51800); ?> (proc_open on Windows hangs forever).</li> 1931 <li><?php bugfix(67633); ?> (A foreach on an array returned from a function not doing copy-on-write).</li> 1932 <li><?php bugfix(67739); ?> (Windows 8.1/Server 2012 R2 OS build number reported as 6.2 (instead of 6.3)).</li> 1933 <li><?php bugfix(67949); ?> (DOMNodeList elements should be accessible through array notation).</li> 1934 <li><?php bugfix(68095); ?> (AddressSanitizer reports a heap buffer overflow in php_getopt()).</li> 1935 <li><?php bugfix(68118); ?> ($a->foo .= 'test'; can leave $a->foo undefined).</li> 1936 <li><?php bugfix(68129); ?> (parse_url() - incomplete support for empty usernames and passwords).</li> 1937 <li><?php bugfix(68365); ?> (zend_mm_heap corrupted after memory overflow in zend_hash_copy).</li> 1938</ul></li> 1939<li>CURL: 1940<ul> 1941 <li>Add CURL_SSLVERSION_TLSv1_0, CURL_SSLVERSION_TLSv1_1, and CURL_SSLVERSION_TLSv1_2 constants if supported by libcurl.</li> 1942</ul></li> 1943<li>Fileinfo: 1944<ul> 1945 <li><?php bugfix(66242); ?> (libmagic: don't assume char is signed).</li> 1946 <li><?php bugfix(68224); ?> (buffer-overflow in libmagic/readcdf.c caught by AddressSanitizer).</li> 1947 <li><?php bugfix(68283); ?> (fileinfo: out-of-bounds read in elf note headers). (CVE-2014-3710)</li> 1948</ul></li> 1949<li>FPM: 1950<ul> 1951 <li><?php bugfix(65641); ?> (PHP-FPM incorrectly defines the SCRIPT_NAME variable when using Apache, mod_proxy-fcgi and ProxyPass).</li> 1952 <li><?php implemented(55508); ?> (listen and listen.allowed_clients should take IPv6 addresses).</li> 1953</ul></li> 1954<li>GD: 1955<ul> 1956 <li><?php bugfix(65171); ?> (imagescale() fails without height param).</li> 1957</ul></li> 1958<li>GMP: 1959<ul> 1960 <li>Implemented gmp_random_range() and gmp_random_bits().</li> 1961 <li><?php bugfix(63595); ?> (GMP memory management conflicts with other libraries using GMP).</li> 1962</ul></li> 1963<li>Mysqli: 1964<ul> 1965 <li><?php bugfix(68114); ?> (linker error on some OS X machines with fixed width decimal support).</li> 1966</ul></li> 1967<li>ODBC: 1968<ul> 1969 <li><?php bugfix(68087); ?> (ODBC not correctly reading DATE column when preceded by a VARCHAR column).</li> 1970</ul></li> 1971<li>OpenSSL: 1972<ul> 1973 <li><?php bugfix(68074); ?> (Allow to use system cipher list instead of hardcoded value).</li> 1974</ul></li> 1975<li>PDO_pgsql: 1976<ul> 1977 <li><?php bugfix(68199); ?> (PDO::pgsqlGetNotify doesn't support NOTIFY payloads).</li> 1978 <li><?php bugfix(66584); ?> (Segmentation fault on statement deallocation).</li> 1979</ul></li> 1980<li>Reflection: 1981<ul> 1982 <li><?php bugfix(68103); ?> (Duplicate entry in Reflection for class alias).</li> 1983</ul></li> 1984<li>SPL: 1985<ul> 1986 <li><?php bugfix(68128); ?> (Regression in RecursiveRegexIterator).</li> 1987</ul></li> 1988</ul> 1989<!-- }}} --></section> 1990 1991<section class="version" id="5.6.2"><!-- {{{ 5.6.2 --> 1992<h3>Version 5.6.2</h3> 1993<?php release_date('16-Oct-2014'); ?> 1994<ul><li>Core: 1995<ul> 1996 <li><?php bugfix(68044); ?> (Integer overflow in unserialize() (32-bits only)). (CVE-2014-3669)</li> 1997</ul></li> 1998<li>cURL: 1999<ul> 2000 <li><?php bugfix(68089); ?> (NULL byte injection - cURL lib).</li> 2001</ul></li> 2002<li>EXIF: 2003<ul> 2004 <li><?php bugfix(68113); ?> (Heap corruption in exif_thumbnail()). (CVE-2014-3670)</li> 2005</ul></li> 2006<li>XMLRPC: 2007<ul> 2008 <li><?php bugfix(68027); ?> (Global buffer overflow in mkgmtime() function). (CVE-2014-3668)</li> 2009</ul></li> 2010</ul> 2011<!-- }}} --></section> 2012 2013<section class="version" id="5.6.1"><!-- {{{ 5.6.1 --> 2014<h3>Version 5.6.1</h3> 2015<?php release_date('02-Oct-2014'); ?> 2016<ul><li>Core: 2017<ul> 2018 <li><?php implemented(38409); ?> (parse_ini_file() loses the type of booleans).</li> 2019 <li><?php bugfix(65463); ?> (SIGSEGV during zend_shutdown()).</li> 2020 <li><?php bugfix(66036); ?> (Crash on SIGTERM in apache process).</li> 2021 <li><?php bugfix(67878); ?> (program_prefix not honoured in man pages).</li> 2022 <li><?php bugfix(67938); ?> (Segfault when extending interface method with variadic).</li> 2023 <li><?php bugfix(67985); ?> (Incorrect last used array index copied to new array after unset).</li> 2024 <li><?php bugfix(68088); ?> (New Posthandler Potential Illegal efree() vulnerability). (CVE-2014-3622)</li> 2025</ul></li> 2026<li>DOM: 2027<ul> 2028 <li>Made DOMNode::textContent writeable.</li> 2029</ul></li> 2030<li>Fileinfo: 2031<ul> 2032 <li><?php bugfix(67731); ?> (finfo::file() returns invalid mime type for binary files).</li> 2033</ul></li> 2034<li>GD: 2035<ul> 2036 <li>Made fontFetch's path parser thread-safe.</li> 2037</ul></li> 2038<li>GMP: 2039<ul> 2040 <li><?php bugfix(67917); ?> (Using GMP objects with overloaded operators can cause memory exhaustion).</li> 2041 <li><?php bugfix(50175); ?> (gmp_init() results 0 on given base and number starting with 0x or 0b).</li> 2042 <li>Implemented gmp_import() and gmp_export().</li> 2043</ul></li> 2044<li>MySQLi: 2045<ul> 2046 <li><?php bugfix(67839); ?> (mysqli does not handle 4-byte floats correctly).</li> 2047</ul></li> 2048<li>OpenSSL: 2049<ul> 2050 <li><?php bugfix(67850); ?> (extension won't build if openssl compiled without SSLv3).</li> 2051</ul></li> 2052<li>phpdbg: 2053<ul> 2054 <li><?php githubissue('krakjoe/phpdbg', 111); ?> (compile error without ZEND_SIGNALS).</li> 2055</ul></li> 2056<li>SOAP: 2057<ul> 2058 <li><?php bugfix(67955); ?> (SoapClient prepends 0-byte to cookie names).</li> 2059</ul></li> 2060<li>Session: 2061<ul> 2062 <li><?php bugfix(67972); ?> (SessionHandler Invalid memory read create_sid()).</li> 2063</ul></li> 2064<li>Sysvsem: 2065<ul> 2066 <li><?php implemented(67990); ?> (Add optional nowait argument to sem_acquire).</li> 2067</ul></li> 2068</ul> 2069<!-- }}} --></section> 2070 2071<section class="version" id="5.6.0"><!-- {{{ 5.6.0 --> 2072<h3>Version 5.6.0</h3> 2073<?php release_date('28-Aug-2014'); ?> 2074<ul> 2075<li>General improvements: 2076<ul> 2077 <li>Added constant scalar expressions syntax.</li> 2078 <li>Added dedicated syntax for variadic functions.</li> 2079 <li>Added support for argument unpacking to complement the variadic syntax.</li> 2080 <li>Added an exponentiation operator (**).</li> 2081 <li>Added phpdbg SAPI.</li> 2082 <li>Added unified default encoding.</li> 2083 <li>The php://input stream is now re-usable and can be used concurrently with enable_post_data_reading=0.</li> 2084 <li>Added use function and use const..</li> 2085 <li>Added a function for timing attack safe string comparison.</li> 2086 <li>Added the __debugInfo() magic method to allow userland classes to implement the get_debug_info API previously available only to extensions.</li> 2087 <li>Added gost-crypto (CryptoPro S-box) hash algorithm.</li> 2088 <li>Stream wrappers verify peer certificates and host names by default in encrypted client streams.</li> 2089 <li>Uploads equal or greater than 2GB in size are now accepted.</li> 2090</ul> 2091</li> 2092<li>Core: 2093<ul> 2094 <li><?php bugfix(67693); ?> (incorrect push to the empty array).</li> 2095 <li>Removed inconsistency regarding behaviour of array in constants at run-time.</li> 2096 <li><?php bugfix(67497); ?> (eval with parse error causes segmentation fault in generator).</li> 2097 <li><?php bugfix(67151); ?> (strtr with empty array crashes).</li> 2098 <li><?php bugfix(67407); ?> (Windows 8.1/Server 2012 R2 reported as Windows 8/Server 2012).</li> 2099 <li><?php bugfix(66608); ?> (Incorrect behavior with nested "finally" blocks).</li> 2100 <li><?php implemented(34407); ?> (ucwords and Title Case).</li> 2101 <li><?php bugfix(67091); ?> (make install fails to install libphp5.so on FreeBSD 10.0).</li> 2102 <li><?php bugfix(67368); ?> (Memory leak with immediately dereferenced array in class constant).</li> 2103 <li><?php bugfix(67468); ?> (Segfault in highlight_file()/highlight_string()).</li> 2104 <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability). (CVE-2014-4721)</li> 2105 <li><?php bugfix(67551); ?> (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir).</li> 2106 <li><?php bugfix(67169); ?> (array_splice all elements, then []= gives wrong index).</li> 2107 <li><?php bugfix(67198); ?> (php://input regression).</li> 2108 <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li> 2109 <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li> 2110 <li><?php bugfix(67252); ?> (convert_uudecode out-of-bounds read).</li> 2111 <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li> 2112 <li><?php implemented(64744); ?> (Differentiate between member function call on a null and non-null, non-objects).</li> 2113 <li><?php bugfix(67436); ?> (Autoloader isn't called if two method definitions don't match).</li> 2114 <li><?php bugfix(66622); ?> (Closures do not correctly capture the late bound class (static::) in some cases).</li> 2115 <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script). (CVE-2014-3981)</li> 2116 <li><?php bugfix(67392); ?> (dtrace breaks argument unpack).</li> 2117 <li><?php bugfix(67428); ?> (header('Location: foo') will override a 308-399 response code).</li> 2118 <li><?php bugfix(67433); ?> (SIGSEGV when using count() on an object implementing Countable).</li> 2119 <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li> 2120 <li>Expose get_debug_info class hook as __debugInfo() magic method.</li> 2121 <li>Implemented unified default encoding (RFC: https://wiki.php.net/rfc/default_encoding).</li> 2122 <li>Added T_POW (**) operator (RFC: https://wiki.php.net/rfc/pow-operator).</li> 2123 <li>Improved IS_VAR operands fetching.</li> 2124 <li>Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time.</li> 2125 <li>Implemented internal operator overloading (RFC: https://wiki.php.net/rfc/operator_overloading_gmp).</li> 2126 <li>Made calls from incompatible context issue an E_DEPRECATED warning instead of E_STRICT (phase 1 of RFC: https://wiki.php.net/rfc/incompat_ctx).</li> 2127 <li>Uploads equal or greater than 2GB in size are now accepted.</li> 2128 <li>Reduced POST data memory usage by 200-300%. Changed INI setting always_populate_raw_post_data to throw a deprecation warning when enabling and to accept -1 for never populating the $HTTP_RAW_POST_DATA global variable, which will be the default in future PHP versions.</li> 2129 <li>Implemented dedicated syntax for variadic functions (RFC: https://wiki.php.net/rfc/variadics).</li> 2130 <li><?php bugfix(50333); ?> Improving multi-threaded scalability by using emalloc/efree/estrdup (Anatol, Dmitry)</li> 2131 <li>Implemented constant scalar expressions (with support for constants) (RFC: https://wiki.php.net/rfc/const_scalar_exprs).</li> 2132 <li><?php bugfix(65784); ?> (Segfault with finally).</li> 2133 <li><?php bugfix(66509); ?> (copy() arginfo has changed starting from 5.4).</li> 2134 <li>Allow zero length comparison in substr_compare() (Tjerk)</li> 2135 <li><?php bugfix(60602); ?> (proc_open() changes environment array) (Tjerk)</li> 2136 <li><?php bugfix(61019); ?> (Out of memory on command stream_get_contents).</li> 2137 <li><?php bugfix(64330); ?> (stream_socket_server() creates wrong Abstract Namespace UNIX sockets).</li> 2138 <li><?php bugfix(66182); ?> (exit in stream filter produces segfault).</li> 2139 <li><?php bugfix(66736); ?> (fpassthru broken).</li> 2140 <li><?php bugfix(66822); ?> (Cannot use T_POW in const expression) (Tjerk)</li> 2141 <li><?php bugfix(67043); ?> (substr_compare broke by previous change) (Tjerk)</li> 2142 <li><?php bugfix(65701); ?> (copy() doesn't work when destination filename is created by tempnam()).</li> 2143 <li><?php bugfix(66015); ?> (Unexpected array indexing in class's static property).</li> 2144 <li>Added (constant) string/array dereferencing to static scalar expressions to complete the set; now possible thanks to <?php bugl(66015); ?> being fixed.</li> 2145 <li><?php bugfix(66568); ?> (Update reflection information for unserialize() function).</li> 2146 <li><?php bugfix(66660); ?> (Composer.phar install/update fails).</li> 2147 <li><?php bugfix(67024); ?> (getimagesize should recognize BMP files with negative height).</li> 2148 <li><?php bugfix(67064); ?> (Countable interface prevents using 2nd parameter ($mode) of count() function).</li> 2149 <li><?php bugfix(67072); ?> (Echoing unserialized "SplFileObject" crash).</li> 2150 <li><?php bugfix(67033); ?> (Remove reference to Windows 95).</li> 2151</ul></li> 2152<li>Apache2 Handler SAPI: 2153<ul> 2154 <li>Fixed Apache log issue caused by APR's lack of support for %zu (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120).</li> 2155</ul></li> 2156<li>CLI server: 2157<ul> 2158 <li>Added some MIME types to the CLI web server.</li> 2159 <li><?php bugfix(67079); ?> (Missing MIME types for XML/XSL files).</li> 2160 <li><?php bugfix(66830); ?> (Empty header causes PHP built-in web server to hang).</li> 2161 <li><?php bugfix(67594); ?> (Unable to access to apache_request_headers() elements).</li> 2162 <li><?php implemented(67429); ?> (CLI server is missing some new HTTP response codes).</li> 2163 <li><?php bugfix(67406); ?> (built-in web-server segfaults on startup).</li> 2164</ul></li> 2165<li>COM: 2166<ul> 2167 <li><?php bugfix(41577); ?> (DOTNET is successful once per server run) (Aidas Kasparas)</li> 2168 <li>Fixed missing type checks in com_event_sink (Yussuf Khalil, Stas).</li> 2169 <li><?php bugfix(66431); ?> (Special Character via COM Interface (CP_UTF8)).</li> 2170</ul></li> 2171<li>Curl: 2172<ul> 2173 <li><?php implemented(65646); ?> (re-enable CURLOPT_FOLLOWLOCATION with open_basedir or safe_mode).</li> 2174 <li>Check for openssl.cafile ini directive when loading CA certs.</li> 2175 <li>Remove cURL close policy related constants as these have no effect and are no longer used in libcurl.</li> 2176 <li><?php bugfix(66109); ?> (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour) (Tjerk)</li> 2177 <li>Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive.</li> 2178 <li><?php bugfix(64247); ?> (CURLOPT_INFILE doesn't allow reset).</li> 2179 <li><?php bugfix(66562); ?> (curl_exec returns differently than curl_multi_getcontent).</li> 2180</ul></li> 2181<li>Date: 2182<ul> 2183 <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval). (CVE-2013-6712)</li> 2184 <li><?php bugfix(66091); ?> (memory leaks in DateTime constructor) (Tjerk).</li> 2185 <li><?php bugfix(67308); ?> (Serialize of DateTime truncates fractions of second).</li> 2186 <li>Fixed regression in fix for <?php bugl(67118); ?> (constructor can't be called twice).</li> 2187 <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li> 2188 <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li> 2189 <li>Added DateTimeImmutable::createFromMutable to create a DateTimeImmutable object from an existing DateTime (mutable) object (Derick)</li> 2190 <li><?php bugfix(66721); ?> (__wakeup of DateTime segfaults when invalid object data is supplied).</li> 2191 <li><?php bugfix(67118); ?> (DateTime constructor crash with invalid data).</li> 2192</ul></li> 2193<li>DOM: 2194<ul> 2195 <li><?php bugfix(67081); ?> (DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset).</li> 2196</ul></li> 2197<li>Embed: 2198<ul> 2199 <li><?php bugfix(65715); ?> (php5embed.lib isn't provided anymore). (Anatol).</li> 2200</ul></li> 2201<li>Fileinfo: 2202<ul> 2203 <li><?php bugfix(67716); ?> (Segfault in cdf.c). (CVE-2014-3587)</li> 2204 <li><?php bugfix(67705); ?> (extensive backtracking in rule regular expression). (CVE-2014-3538)</li> 2205 <li><?php bugfix(67327); ?> (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238)</li> 2206 <li><?php bugfix(67328); ?> (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237)</li> 2207 <li><?php bugfix(67326); ?> (fileinfo: cdf_read_short_sector insufficient boundary check). (CVE-2014-0207)</li> 2208 <li><?php bugfix(67329); ?> (fileinfo: NULL pointer deference flaw by processing certain CDF files). (CVE-2014-0236)</li> 2209 <li><?php bugfix(67410); ?> (fileinfo: mconvert incorrect handling of truncated pascal string size). (CVE-2014-3478)</li> 2210 <li><?php bugfix(67411); ?> (fileinfo: cdf_check_stream_offset insufficient boundary check). (CVE-2014-3479)</li> 2211 <li><?php bugfix(67412); ?> (fileinfo: cdf_count_chain insufficient boundary check). (CVE-2014-3480)</li> 2212 <li><?php bugfix(67413); ?> (fileinfo: cdf_read_property_info insufficient boundary check). (CVE-2014-3487)</li> 2213 <li>Upgraded to libmagic-5.17 (Anatol)</li> 2214 <li><?php bugfix(66731); ?> (file: infinite recursion). (CVE-2014-1943)</li> 2215 <li><?php bugfix(66820); ?> (out-of-bounds memory access in fileinfo). (CVE-2014-2270)</li> 2216 <li><?php bugfix(66946); ?> (fileinfo: extensive backtracking in awk rule regular expression). (CVE-2013-7345)</li> 2217 <li><?php bugfix(66987); ?> (Memory corruption in fileinfo ext / bigendian).</li> 2218 <li><?php bugfix(66907); ?> (Solaris 10 is missing strcasestr and needs substitute).</li> 2219 <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li> 2220</ul></li> 2221<li>FPM: 2222<ul> 2223 <li><?php bugfix(67606); ?> (revised fix 67541, broke mod_fastcgi BC).</li> 2224 <li><?php bugfix(67530); ?> (error_log=syslog ignored).</li> 2225 <li><?php bugfix(67635); ?> (php links to systemd libraries without using pkg-config).</li> 2226 <li><?php bugfix(67531); ?> (syslog cannot be set in pool configuration).</li> 2227 <li><?php bugfix(67541); ?> (Fix Apache 2.4.10+ SetHandler proxy:fcgi:// incompatibilities).</li> 2228 <li>Included apparmor support in fpm (RFC: https://wiki.php.net/rfc/fpm_change_hat).</li> 2229 <li>Added clear_env configuration directive to disable clearenv() call.</li> 2230 <li><?php bugfix(66482); ?> (unknown entry 'priority' in php-fpm.conf).</li> 2231 <li><?php bugfix(66908); ?> (php-fpm reload leaks epoll_create() file descriptor).</li> 2232 <li><?php bugfix(67060); ?> (sapi/fpm: possible privilege escalation due to insecure default configuration). (CVE-2014-0185)</li> 2233</ul></li> 2234<li>GD: 2235<ul> 2236 <li><?php bugfix(67730); ?> (Null byte injection possible with imagexxx functions). (CVE-2014-5120)</li> 2237 <li><?php bugfix(66901); ?> (php-gd 'c_color' NULL pointer dereference). (CVE-2014-2497)</li> 2238 <li><?php bugfix(67248); ?> (imageaffinematrixget missing check of parameters).</li> 2239 <li>Fixed imagettftext to load the correct character map rather than the last one.</li> 2240 <li><?php bugfix(66356); ?> (Heap Overflow Vulnerability in imagecrop()). (CVE-2013-7226)</li> 2241 <li><?php bugfix(66815); ?> (imagecrop(): insufficient fix for NULL defer). (CVE-2013-7327)</li> 2242 <li><?php bugfix(66869); ?> (Invalid 2nd argument crashes imageaffinematrixget).</li> 2243 <li><?php bugfix(66887); ?> (imagescale - poor quality of scaled image).</li> 2244 <li><?php bugfix(66890); ?> (imagescale segfault).</li> 2245 <li><?php bugfix(66893); ?> (imagescale ignore method argument).</li> 2246</ul></li> 2247<li>GMP: 2248<ul> 2249 <li><?php bugfix(66872); ?> (invalid argument crashes gmp_testbit) (Pierre)</li> 2250 <li>Fixed crashes in serialize/unserialize.</li> 2251 <li>Moved GMP to use object as the underlying structure and implemented various improvements based on this.</li> 2252 <li>Added gmp_root() and gmp_rootrem() functions for calculating nth roots.</li> 2253</ul></li> 2254<li>Hash: 2255<ul> 2256 <li>Added gost-crypto (CryptoPro S-box) GOST hash algo.</li> 2257 <li><?php bugfix(66698); ?> (Missing FNV1a32 and FNV1a64 hash functions). (Michael M Slusarz).</li> 2258 <li>Implemented timing attack safe string comparison function (RFC: https://wiki.php.net/rfc/timing_attack).</li> 2259 <li>hash_pbkdf2() now works correctly if the $length argument is not specified.</li> 2260</ul></li> 2261<li>Intl: 2262<ul> 2263 <li><?php bugfix(66873); ?> (A reproductible crash in UConverter when given invalid encoding) (Stas)</li> 2264 <li><?php bugfix(66921); ?> (Wrong argument type hint for function intltz_from_date_time_zone).</li> 2265 <li><?php bugfix(67052); ?> (NumberFormatter::parse() resets LC_NUMERIC setting).</li> 2266 <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li> 2267 <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and uloc_getDisplayName (libicu 4.8.1)).</li> 2268</ul></li> 2269<li>JSON: 2270<ul> 2271 <li>Fixed case part of bug <?php bugl(64874); ?> ("json_decode handles whitespace and case-sensitivity incorrectly")</li> 2272 <li><?php bugfix(65753); ?> (JsonSerializeable couldn't implement on module extension) (chobieeee@php.net)</li> 2273 <li><?php bugfix(66021); ?> (Blank line inside empty array/object when JSON_PRETTY_PRINT is set).</li> 2274</ul></li> 2275<li>ldap: 2276<ul> 2277 <li>Added new function ldap_modify_batch().</li> 2278 <li>Fixed issue with null bytes in LDAP bindings.</li> 2279</ul></li> 2280<li>litespeed: 2281<ul> 2282 <li><?php bugfix(63228); ?> (-Werror=format-security error in lsapi code).</li> 2283</ul></li> 2284<li>Mail: 2285<ul> 2286 <li><?php bugfix(66535); ?> (Don't add newline after X-PHP-Originating-Script) (Tjerk)</li> 2287</ul></li> 2288<li>Mcrypt: 2289<ul> 2290 <li>No longer allow invalid key sizes, invalid IV sizes or missing required IV in mcrypt_encrypt, mcrypt_decrypt and the deprecated mode functions.</li> 2291 <li>Use /dev/urandom as the default source for mcrypt_create_iv().</li> 2292</ul></li> 2293<li>Mbstring: 2294<ul> 2295 <li>Upgraded to oniguruma 5.9.5 (Anatol)</li> 2296 <li><?php bugfix(67199); ?> (mb_regex_encoding mismatch).</li> 2297</ul></li> 2298<li>Milter: 2299<ul> 2300 <li><?php bugfix(67715); ?> (php-milter does not build and crashes randomly).</li> 2301</ul></li> 2302<li>mysqli: 2303<ul> 2304 <li>Added new function mysqli_get_links_stats() as well as new INI variable mysqli.rollback_on_cached_plink of type bool (Andrey)</li> 2305 <li><?php bugfix(66762); ?> (Segfault in mysqli_stmt::bind_result() when link closed) (Remi)</li> 2306 <li>Fixed building against an external libmysqlclient.</li> 2307</ul></li> 2308<li>mysqlnd: 2309<ul> 2310 <li>Disabled flag for SP OUT variables for 5.5+ servers as they are not natively supported by the overlying APIs.</li> 2311 <li>Added a new fetching mode to mysqlnd.</li> 2312 <li>Added support for gb18030 from MySQL 5.7.</li> 2313</ul></li> 2314<li>Network: 2315<ul> 2316 <li><?php bugfix(67717); ?> (segfault in dns_get_record). (CVE-2014-3597)</li> 2317 <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()). (CVE-2014-4049)</li> 2318</ul></li> 2319<li>OCI8: 2320<ul> 2321 <li><?php bugfix(66875); ?> (Improve performance of multi-row OCI_RETURN_LOB queries) (Perrier, Chris Jones)</li> 2322</ul></li> 2323<li>ODBC: 2324<ul> 2325 <li><?php bugfix(60616); ?> (odbc_fetch_into returns junk at end of multi-byte char fields).</li> 2326</ul></li> 2327<li>OpenSSL: 2328<ul> 2329 <li>Fixed missing type checks in OpenSSL options (Yussuf Khalil, Stas).</li> 2330 <li><?php bugfix(67609); ?> (TLS connections fail behind HTTP proxy).</li> 2331 <li>Fixed broken build against OpenSSL older than 0.9.8 where ECDH unavailable.</li> 2332 <li><?php bugfix(67666); ?> (Subject altNames doesn't support wildcard matching).</li> 2333 <li><?php bugfix(67224); ?> (Fall back to crypto_type from context if not specified explicitly in stream_socket_enable_crypto).</li> 2334 <li><?php bugfix(65698); ?> (certificates validity parsing does not work past 2050).</li> 2335 <li><?php bugfix(66636); ?> (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).</li> 2336 <li>Peer certificates now verified by default in client socket operations (RFC: https://wiki.php.net/rfc/tls-peer-verification).</li> 2337 <li>New openssl.cafile and openssl.capath ini directives.</li> 2338 <li>Added crypto_method option for the ssl stream context.</li> 2339 <li>Added certificate fingerprint support.</li> 2340 <li>Added explicit TLSv1.1 and TLSv1.2 stream transports.</li> 2341 <li><?php bugfix(65729); ?> (CN_match gives false positive).</li> 2342 <li>Peer name verification matches SAN DNS names for certs using the Subject Alternative Name x509 extension.</li> 2343 <li>Fixed segfault when built against OpenSSL>=1.0.1 (Daniel Lowrey)</li> 2344 <li>Added SPKAC support.</li> 2345 <li>Fallback to Windows CA cert store for peer verification if no openssl.cafile ini directive or "cafile" SSL context option specified in Windows.</li> 2346 <li>The openssl.cafile and openssl.capath ini directives introduced in alpha2 now have PHP_INI_PERDIR accessibility (was PHP_INI_ALL).</li> 2347 <li>New "peer_name" SSL context option replaces "CN_match" (which still works as before but triggers E_DEPRECATED).</li> 2348 <li>Fixed segfault when accessing non-existent context for client SNI use (Daniel Lowrey)</li> 2349 <li><?php bugfix(66501); ?> (Add EC key support to php_openssl_is_private_key).</li> 2350 <li><?php bugfix(47030); ?> (add new boolean "verify_peer_name" SSL context option allowing clients to verify cert names separately from the cert itself). "verify_peer_name" is enabled by default for client streams.</li> 2351 <li><?php bugfix(65538); ?> ("cafile" SSL context option now supports stream wrappers).</li> 2352 <li>New openssl_get_cert_locations() function to aid CA file and peer verification debugging.</li> 2353 <li>Encrypted stream wrappers now disable TLS compression by default.</li> 2354 <li>New "capture_session_meta" SSL context option allows encrypted client and server streams access to negotiated protocol/cipher information.</li> 2355 <li>New "honor_cipher_order" SSL context option allows servers to prioritize cipher suites of their choosing when negotiating SSL/TLS handshakes.</li> 2356 <li>New "single_ecdh_use" and "single_dh_use" SSL context options allow for improved forward secrecy in encrypted stream servers.</li> 2357 <li>New "dh_param" SSL context option allows stream servers control over the parameters when negotiating DHE cipher suites.</li> 2358 <li>New "ecdh_curve" SSL context option allowing stream servers to specify the curve to use when negotiating ephemeral ECDHE ciphers (defaults to NIST P-256).</li> 2359 <li>New "rsa_key_size" SSL context option gives stream servers control over the key size (in bits) used for RSA key agreements.</li> 2360 <li>Crypto methods for encrypted client and server streams now use bitwise flags for fine-grained protocol support.</li> 2361 <li>Added new tlsv1.0 stream wrapper to specify TLSv1 client/server method. tls wrapper now negotiates TLSv1, TLSv1.1 or TLSv1.2.</li> 2362 <li>Encrypted client streams now enable SNI by default.</li> 2363 <li>Encrypted streams now prioritize ephemeral key agreement and high strength ciphers by default.</li> 2364 <li>New OPENSSL_DEFAULT_STREAM_CIPHERS constant exposes default cipher list.</li> 2365 <li>New STREAM_CRYPTO_METHOD_* constants for enhanced control over the crypto methods negotiated encrypted server/client sessions.</li> 2366 <li>Encrypted stream servers now automatically mitigate potential DoS vector arising from client-initiated TLS renegotiation. New "reneg_limit", "reneg_window" and "reneg_limit_callback" SSL context options for custom renegotiation limiting control.</li> 2367 <li>Fixed memory leak in windows cert verification on verify failure.</li> 2368 <li>Peer certificate capturing via SSL context options now functions even if peer verification fails.</li> 2369 <li>Encrypted TLS servers now support the server name indication TLS extension via the new "SNI_server_certs" SSL context option.</li> 2370 <li><?php bugfix(66833); ?> (Default disgest algo is still MD5, switch to SHA1).</li> 2371 <li><?php bugfix(66942); ?> (memory leak in openssl_seal()).</li> 2372 <li><?php bugfix(66952); ?> (memory leak in openssl_open()).</li> 2373 <li><?php bugfix(66840); ?> (Fix broken build when extension built separately).</li> 2374</ul></li> 2375<li>OPcache: 2376<ul> 2377 <li>Added an optimization of class constants and constant calls to some internal functions (Laruence, Dmitry)</li> 2378 <li>Added an optimization pass to convert FCALL_BY_NAME into DO_FCALL.</li> 2379 <li>Added an optimization pass to merged identical constants (and related cache_slots) in op_array->literals table.</li> 2380 <li>Added script level constant replacement optimization pass.</li> 2381 <li>Added function opcache_is_script_cached().</li> 2382 <li>Added information about interned strings usage.</li> 2383 <li><?php bugfix(67215); ?> (php-cgi work with opcache, may be segmentation fault happen) (Dmitry, Laruence)</li> 2384</ul></li> 2385<li>PCRE: 2386<ul> 2387 <li><?php bugfix(67238); ?> (Ungreedy and min/max quantifier bug, applied patch from the upstream).</li> 2388 <li>Upgraded to PCRE 8.34.</li> 2389 <li>Added support for (*MARK) backtracking verbs.</li> 2390</ul></li> 2391<li>pgsql: 2392<ul> 2393 <li><?php bugfix(67550); ?> (Error in code "form" instead of "from", pgsql.c, line 756), which affected builds against libpq < 7.3.</li> 2394 <li>pg_insert()/pg_select()/pg_update()/pg_delete() are no longer EXPERIMENTAL.</li> 2395 <li><?php implemented(25854); ?> (Return value for pg_insert should be resource instead of bool).</li> 2396 <li><?php implemented(41146); ?> (Add "description" with exteneded flag pg_meta_data(). pg_meta_data(resource $conn, string $table [, bool extended]) It also made pg_meta_data() return "is enum" always).</li> 2397 <li>Read-only access to the socket stream underlying database connections is exposed via a new pg_socket() function to allow read/write polling when establishing asynchronous connections and executing queries in non-blocking applications.</li> 2398 <li>Asynchronous connections are now possible using the PGSQL_CONNECT_ASYNC flag in conjunction with a new pg_connect_poll() function and connection polling status constants.</li> 2399 <li>New pg_flush() and pg_consume_input() functions added to manually complete non-blocking reads/writes to underlying connection sockets.</li> 2400 <li>pg_version() returns full report which obtained by PQparameterStatus().</li> 2401 <li>Added pg_lo_truncate().</li> 2402 <li>Added 64bit large object support for PostgreSQL 9.3 and later.</li> 2403 <li><?php bugfix(67555); ?> (Cannot build against libpq 7.3).</li> 2404</ul></li> 2405<li>phpdbg: 2406<ul> 2407 <li><?php bugfix(67575); ?> (Compilation fails for phpdbg when the build directory != src directory).</li> 2408 <li><?php bugfix(67499); ?> (readline feature not enabled when build with libedit).</li> 2409 <li><?php githubissue('krakjoe/phpdbg', 94); ?> (List behavior is inconsistent).</li> 2410 <li><?php githubissue('krakjoe/phpdbg', 97); ?> (The prompt should always ensure it is on a newline).</li> 2411 <li><?php githubissue('krakjoe/phpdbg', 98); ?> (break if does not seem to work).</li> 2412 <li><?php githubissue('krakjoe/phpdbg', 99); ?> (register function has the same behavior as run).</li> 2413 <li><?php githubissue('krakjoe/phpdbg', 100); ?> (No way to list the current stack/frames) (Help entry was missing).</li> 2414 <li>Fixed bug which caused phpdbg to fail immediately on startup in non-debug builds.</li> 2415 <li><?php bugfix(67212); ?> (phpdbg uses non-standard TIOCGWINSZ).</li> 2416 <li>Included phpdbg sapi (RFC: https://wiki.php.net/rfc/phpdbg).</li> 2417 <li>Added watchpoints (watch command).</li> 2418 <li>Renamed some commands (next => continue and how to step).</li> 2419 <li><?php githubissue('krakjoe/phpdbg', 85); ?> (Added stdin/stdout/stderr constants and their php:// wrappers).</li> 2420</ul></li> 2421<li>PDO: 2422<ul> 2423 <li><?php bugfix(66604); ?> ('pdo/php_pdo_error.h' not copied to the include dir).</li> 2424</ul></li> 2425<li>PDO-ODBC: 2426<ul> 2427 <li><?php bugfix(50444); ?> (PDO-ODBC changes for 64-bit).</li> 2428</ul></li> 2429<li>PDO_pgsql: 2430<ul> 2431 <li><?php bugfix(42614); ?> (PDO_pgsql: add pg_get_notify support).</li> 2432 <li><?php bugfix(63657); ?> (pgsqlCopyFromFile, pgsqlCopyToArray use Postgres < 7.3 syntax).</li> 2433 <li>Cleaned up code by increasing the requirements to libpq versions providing PQexecParams, PQprepare, PQescapeStringConn, PQescapeByteaConn. According to the release notes that means 8.0.8+ or 8.1.4+.</li> 2434 <li>Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT, an undocument constant effectively equivalent to PDO::ATTR_EMULATE_PREPARES.</li> 2435 <li>Added PDO::PGSQL_ATTR_DISABLE_PREPARES constant to execute the queries without preparing them, while still passing parameters separately from the command text using PQexecParams.</li> 2436</ul></li> 2437<li>PDO_firebird: 2438<ul> 2439 <li><?php bugfix(66071); ?> (memory corruption in error handling) (Popa)</li> 2440</ul></li> 2441<li>Phar: 2442<ul> 2443 <li><?php bugfix(64498); ?> ($phar->buildFromDirectory can't compress file with an accent in its name).</li> 2444 <li><?php bugfix(67587); ?> (Redirection loop on nginx with FPM).</li> 2445</ul></li> 2446<li>readline: 2447<ul> 2448 <li><?php bugfix(55496); ?> (Interactive mode doesn't force a newline before the prompt).</li> 2449 <li><?php bugfix(67496); ?> (Save command history when exiting interactive shell with control-c).</li> 2450</ul></li> 2451<li>Reflection: 2452<ul> 2453 <li><?php implemented(67713); ?> (loosen the restrictions on ReflectionClass::newInstanceWithoutConstructor()).</li> 2454</ul></li> 2455<li>Session: 2456<ul> 2457 <li><?php bugfix(67694); ?> (Regression in session_regenerate_id()).</li> 2458 <li>Fixed missing type checks in php_session_create_id (Yussuf Khalil, Stas).</li> 2459 <li><?php bugfix(66827); ?> (Session raises E_NOTICE when session name variable is array).</li> 2460 <li><?php bugfix(65315); ?> (session.hash_function silently fallback to default md5) (Yasuo)</li> 2461 <li><?php implemented(17860); ?> (Session write short circuit).</li> 2462 <li><?php implemented(20421); ?> (session_abort() and session_reset() function).</li> 2463 <li>Remove session_gc() and session_serializer_name() wich were introduced in the first 5.6.0 alpha.</li> 2464</ul></li> 2465<li>SimpleXML: 2466<ul> 2467 <li><?php bugfix(66084); ?> (simplexml_load_string() mangles empty node name) (Anatol)</li> 2468</ul></li> 2469<li>SQLite: 2470<ul> 2471 <li>Updated the bundled libsqlite to the version 3.8.3.1 (Anatol)</li> 2472 <li><?php bugfix(66967); ?> (Updated bundled libsqlite to 3.8.4.3).</li> 2473</ul></li> 2474<li>SOAP: 2475<ul> 2476 <li><?php implemented(49898); ?> (Add SoapClient::__getCookies()).</li> 2477</ul></li> 2478<li>SPL: 2479<ul> 2480 <li>Revert fix for <?php bugl(67064); ?> (BC issues).</li> 2481 <li><?php bugfix(67539); ?> (ArrayIterator use-after-free due to object change during sorting). (CVE-2014-4698)</li> 2482 <li><?php bugfix(67538); ?> (SPL Iterators use-after-free). (CVE-2014-4670)</li> 2483 <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion). (CVE-2014-3515)</li> 2484 <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li> 2485 <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li> 2486 <li><?php implemented(67453); ?> (Allow to unserialize empty data).</li> 2487 <li><?php bugfix(66834); ?> (empty() does not work on classes that extend ArrayObject) (Tjerk)</li> 2488 <li><?php bugfix(66702); ?> (RegexIterator::INVERT_MATCH does not invert).</li> 2489</ul></li> 2490<li>Standard: 2491<ul> 2492 <li><?php implemented(65634); ?> (HTTP wrapper is very slow with protocol_version 1.1).</li> 2493 <li>Implemented Change crypt() behavior w/o salt RFC. (Yasuo) https://wiki.php.net/rfc/crypt_function_salt</li> 2494 <li><?php implemented(49824); ?> (Change array_fill() to allow creating empty array).</li> 2495</ul></li> 2496<li>Streams: 2497<ul> 2498 <li><?php bugfix(67430); ?> (http:// wrapper doesn't follow 308 redirects).</li> 2499</ul></li> 2500<li>Tokenizer: 2501<ul> 2502 <li><?php bugfix(67395); ?> (token_name() does not return name for T_POW and T_POW_EQUAL token).</li> 2503</ul></li> 2504<li>XMLReader: 2505<ul> 2506 <li><?php bugfix(55285); ?> (XMLReader::getAttribute/No/Ns methods inconsistency).</li> 2507</ul></li> 2508<li>XSL: 2509<ul> 2510 <li><?php bugfix(53965); ?> (<xsl:include> cannot find files with relative paths when loaded with "file://").</li> 2511</ul></li> 2512<li>Zip: 2513<ul> 2514 <li>update libzip to version 0.11.2. PHP doesn't use any ilibzip private symbol anymore.</li> 2515 <li>new method ZipArchive::setPassword($password).</li> 2516 <li>add --with-libzip option to build with system libzip.</li> 2517 <li>new methods: ZipArchive::setExternalAttributesName($name, $opsys, $attr [, $flags]) ZipArchive::setExternalAttributesIndex($idx, $opsys, $attr [, $flags]) ZipArchive::getExternalAttributesName($name, &$opsys, &$attr [, $flags]) ZipArchive::getExternalAttributesIndex($idx, &$opsys, &$attr [, $flags])</li> 2518</ul></li> 2519<li>Zlib: 2520<ul> 2521 <li><?php bugfix(67865); ?> (internal corruption phar error). Mike</li> 2522 <li><?php bugfix(67724); ?> (chained zlib filters silently fail with large amounts of data).</li> 2523</ul></li> 2524</ul> 2525<!-- }}} --></section> 2526 2527<a id="PHP_5_5"></a> 2528<section class="version" id="5.5.38"><!-- {{{ 5.5.38 --> 2529<h3>Version 5.5.38</h3> 2530<?php release_date('21-Jul-2016'); ?> 2531<ul><li>Core: 2532<ul> 2533 <li><?php bugfix(70480); ?> (php_url_parse_ex() buffer overflow read). (CVE-2016-6288)</li> 2534 <li><?php bugfix(72513); ?> (Stack-based buffer overflow vulnerability in virtual_file_ex). (CVE-2016-6289)</li> 2535 <li><?php bugfix(72562); ?> (Use After Free in unserialize() with Unexpected Session Deserialization). (CVE-2016-6290)</li> 2536 <li><?php bugfix(72573); ?> (HTTP_PROXY is improperly trusted by some PHP libraries and applications). (CVE-2016-5385)</li> 2537</ul></li> 2538<li>BZip2: 2539<ul> 2540 <li><?php bugfix(72613); ?> (Inadequate error handling in bzread()). (CVE-2016-5399)</li> 2541</ul></li> 2542<li>EXIF: 2543<ul> 2544 <li><?php bugfix(72603); ?> (Out of bound read in exif_process_IFD_in_MAKERNOTE). (CVE-2016-6291)</li> 2545 <li><?php bugfix(72618); ?> (NULL Pointer Dereference in exif_process_user_comment). (CVE-2016-6292)</li> 2546</ul></li> 2547<li>GD: 2548<ul> 2549 <li><?php bugfix(72512); ?> (gdImageTrueColorToPaletteBody allows arbitrary write/read access).</li> 2550 <li><?php bugfix(72519); ?> (imagegif/output out-of-bounds access).</li> 2551 <li><?php bugfix(72558); ?> (Integer overflow error within _gdContributionsAlloc()). (CVE-2016-6207)</li> 2552</ul></li> 2553<li>Intl: 2554<ul> 2555 <li><?php bugfix(72533); ?> (locale_accept_from_http out-of-bounds access). (CVE-2016-6294)</li> 2556</ul></li> 2557<li>ODBC: 2558<ul> 2559 <li><?php bugfix(69975); ?> (PHP segfaults when accessing nvarchar(max) defined columns). (CVE-2015-8879)</li> 2560</ul></li> 2561<li>SNMP: 2562<ul> 2563 <li><?php bugfix(72479); ?> (Use After Free Vulnerability in SNMP with GC and unserialize()). (CVE-2016-6295)</li> 2564</ul></li> 2565<li>Xmlrpc: 2566<ul> 2567 <li><?php bugfix(72606); ?> (heap-buffer-overflow (write) simplestring_addn simplestring.c). (CVE-2016-6296)</li> 2568</ul></li> 2569<li>Zip: 2570<ul> 2571 <li><?php bugfix(72520); ?> (Stack-based buffer overflow vulnerability in php_stream_zip_opener). (CVE-2016-6297)</li> 2572</ul></li> 2573</ul> 2574<!-- }}} --></section> 2575 2576<section class="version" id="5.5.37"><!-- {{{ 5.5.37 --> 2577<h3>Version 5.5.37</h3> 2578<?php release_date('23-Jun-2016'); ?> 2579<ul><li>Core: 2580<ul> 2581 <li><?php bugfix(72268); ?> (Integer Overflow in nl2br()).</li> 2582 <li><?php bugfix(72275); ?> (Integer Overflow in json_encode()/json_decode()/ json_utf8_to_utf16()).</li> 2583 <li><?php bugfix(72400); ?> (Integer Overflow in addcslashes/addslashes).</li> 2584 <li><?php bugfix(72403); ?> (Integer Overflow in Length of String-typed ZVAL).</li> 2585</ul></li> 2586<li>GD: 2587<ul> 2588 <li><?php bugfix(66387); ?> (Stack overflow with imagefilltoborder). (CVE-2015-8874)</li> 2589 <li><?php bugfix(72298); ?> (pass2_no_dither out-of-bounds access).</li> 2590 <li><?php bugfix(72339); ?> (Integer Overflow in _gd2GetHeader() resulting in heap overflow). (CVE-2016-5766)</li> 2591 <li><?php bugfix(72407); ?> (NULL Pointer Dereference at _gdScaleVert).</li> 2592 <li><?php bugfix(72446); ?> (Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow). (CVE-2016-5767)</li> 2593</ul></li> 2594<li>mbstring: 2595<ul> 2596 <li><?php bugfix(72402); ?> (_php_mb_regex_ereg_replace_exec - double free). (CVE-2016-5768)</li> 2597</ul></li> 2598<li>mcrypt: 2599<ul> 2600 <li><?php bugfix(72455); ?> (Heap Overflow due to integer overflows). (CVE-2016-5769)</li> 2601</ul></li> 2602<li>SPL: 2603<ul> 2604 <li><?php bugfix(72262); ?> (int/size_t confusion in SplFileObject::fread). (CVE-2016-5770)</li> 2605 <li><?php bugfix(72433); ?> (Use After Free Vulnerability in PHP's GC algorithm and unserialize). (CVE-2016-5771)</li> 2606</ul></li> 2607<li>WDDX: 2608<ul> 2609 <li><?php bugfix(72340); ?> (Double Free Courruption in wddx_deserialize). (CVE-2016-5772)</li> 2610</ul></li> 2611<li>zip: 2612<ul> 2613 <li><?php bugfix(72434); ?> (ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize). (CVE-2016-5773)</li> 2614</ul></li> 2615</ul> 2616<!-- }}} --></section> 2617 2618<section class="version" id="5.5.36"><!-- {{{ 5.5.36 --> 2619<h3>Version 5.5.36</h3> 2620<?php release_date('26-May-2016'); ?> 2621<ul><li>Core: 2622<ul> 2623 <li><?php bugfix(72114); ?> (Integer underflow / arbitrary null write in fread/gzread). (CVE-2016-5096)</li> 2624 <li><?php bugfix(72135); ?> (Integer Overflow in php_html_entities). (CVE-2016-5094)</li> 2625</ul></li> 2626<li>GD: 2627<ul> 2628 <li><?php bugfix(72227); ?> (imagescale out-of-bounds read). (CVE-2013-7456)</li> 2629</ul></li> 2630<li>Intl: 2631<ul> 2632 <li><?php bugfix(72241); ?> (get_icu_value_internal out-of-bounds read). (CVE-2016-5093)</li> 2633</ul></li> 2634<li>Phar: 2635<ul> 2636 <li><?php bugfix(71331); ?> (Uninitialized pointer in phar_make_dirstream()). (CVE-2016-4343)</li> 2637</ul></li> 2638</ul> 2639<!-- }}} --></section> 2640 2641<section class="version" id="5.5.35"><!-- {{{ 5.5.35 --> 2642<h3>Version 5.5.35</h3> 2643<?php release_date('28-Apr-2016'); ?> 2644<ul><li>BCMath: 2645<ul> 2646 <li><?php bugfix(72093); ?> (bcpowmod accepts negative scale and corrupts _one_ definition). (CVE-2016-4537, CVE-2016-4538)</li> 2647</ul></li> 2648<li>Exif: 2649<ul> 2650 <li><?php bugfix(72094); ?> (Out of bounds heap read access in exif header processing). (CVE-2016-4542, CVE-2016-4543, CVE-2016-4544)</li> 2651</ul></li> 2652<li>GD: 2653<ul> 2654 <li><?php bugfix(71912); ?> (libgd: signedness vulnerability). (CVE-2016-3074)</li> 2655</ul></li> 2656<li>Intl: 2657<ul> 2658 <li><?php bugfix(72061); ?> (Out-of-bounds reads in zif_grapheme_stripos with negative offset). (CVE-2016-4540, CVE-2016-4541)</li> 2659</ul></li> 2660<li>XML: 2661<ul> 2662 <li><?php bugfix(72099); ?> (xml_parse_into_struct segmentation fault). (CVE-2016-4539)</li> 2663</ul></li> 2664</ul> 2665<!-- }}} --></section> 2666 2667<section class="version" id="5.5.34"><!-- {{{ 5.5.34 --> 2668<h3>Version 5.5.34</h3> 2669<?php release_date('31-Mar-2016'); ?> 2670<ul><li>Fileinfo: 2671<ul> 2672 <li><?php bugfix(71527); ?> (Buffer over-write in finfo_open with malformed magic file). (CVE-2015-8865)</li> 2673</ul></li> 2674<li>Mbstring: 2675<ul> 2676 <li><?php bugfix(71906); ?> (AddressSanitizer: negative-size-param (-1) in mbfl_strcut). (CVE-2016-4073)</li> 2677</ul></li> 2678<li>ODBC: 2679<ul> 2680 <li><?php bugfix(71860); ?> (Invalid memory write in phar on filename with \0 in name). (CVE-2016-4072)</li> 2681</ul></li> 2682<li>SNMP: 2683<ul> 2684 <li><?php bugfix(71704); ?> (php_snmp_error() Format String Vulnerability). (CVE-2016-4071)</li> 2685</ul></li> 2686<li>Standard: 2687<ul> 2688 <li><?php bugfix(71798); ?> (Integer Overflow in php_raw_url_encode). (CVE-2016-4070)</li> 2689</ul></li> 2690</ul> 2691<!-- }}} --></section> 2692 2693<section class="version" id="5.5.33"><!-- {{{ 5.5.33 --> 2694<h3>Version 5.5.33</h3> 2695<?php release_date('03-Mar-2016'); ?> 2696<ul><li>Phar: 2697<ul> 2698 <li><?php bugfix(71498); ?> (Out-of-Bound Read in phar_parse_zipfile()).</li> 2699</ul></li> 2700<li>WDDX: 2701<ul> 2702 <li><?php bugfix(71587); ?> (Use-After-Free / Double-Free in WDDX Deserialize).</li> 2703</ul></li> 2704</ul> 2705<!-- }}} --></section> 2706 2707<section class="version" id="5.5.32"><!-- {{{ 5.5.32 --> 2708<h3>Version 5.5.32</h3> 2709<?php release_date('04-Feb-2016'); ?> 2710<ul><li>Core: 2711<ul> 2712 <li><?php bugfix(71039); ?> (exec functions ignore length but look for NULL termination).</li> 2713 <li><?php bugfix(71323); ?> (Output of stream_get_meta_data can be falsified by its input).</li> 2714 <li><?php bugfix(71459); ?> (Integer overflow in iptcembed()).</li> 2715</ul></li> 2716<li>GD: 2717<ul> 2718 <li>Improved fix for bug <?php bugl(70976) ?>.</li> 2719</ul></li> 2720<li>PCRE: 2721<ul> 2722 <li>Upgraded bundled PCRE library to 8.38. (CVE-2015-8383, CVE-2015-8386, CVE-2015-8387, CVE-2015-8389, CVE-2015-8390, CVE-2015-8391, CVE-2015-8393, CVE-2015-8394)</li> 2723</ul></li> 2724<li>Phar: 2725<ul> 2726 <li><?php bugfix(71354); ?> (Heap corruption in tar/zip/phar parser). (CVE-2016-4342)</li> 2727 <li><?php bugfix(71391); ?> (NULL Pointer Dereference in phar_tar_setupmetadata()).</li> 2728 <li><?php bugfix(71488); ?> (Stack overflow when decompressing tar archives). (CVE-2016-2554)</li> 2729</ul></li> 2730<li>WDDX: 2731<ul> 2732 <li><?php bugfix(71335); ?> (Type Confusion in WDDX Packet Deserialization).</li> 2733</ul></li> 2734</ul> 2735<!-- }}} --></section> 2736 2737<section class="version" id="5.5.31"><!-- {{{ 5.5.31 --> 2738<h3>Version 5.5.31</h3> 2739<?php release_date('07-Jan-2016'); ?> 2740<ul><li>FPM: 2741<ul> 2742 <li><?php bugfix(70755); ?> (fpm_log.c memory leak and buffer overflow). (CVE-2016-5114)</li> 2743</ul></li> 2744<li>GD: 2745<ul> 2746 <li><?php bugfix(70976); ?> (Memory Read via gdImageRotateInterpolated Array Index Out of Bounds). (CVE-2016-1903)</li> 2747</ul></li> 2748<li>WDDX: 2749<ul> 2750 <li><?php bugfix(70661); ?> (Use After Free Vulnerability in WDDX Packet Deserialization).</li> 2751 <li><?php bugfix(70741); ?> (Session WDDX Packet Deserialization Type Confusion Vulnerability).</li> 2752</ul></li> 2753<li>XMLRPC: 2754<ul> 2755 <li><?php bugfix(70728); ?> (Type Confusion Vulnerability in PHP_to_XMLRPC_worker()).</li> 2756</ul></li> 2757</ul> 2758<!-- }}} --></section> 2759 2760<section class="version" id="5.5.30"> 2761<h3>Version 5.5.30</h3> 2762<?php release_date('01-Oct-2015'); ?> 2763<ul><li>Phar: 2764<ul> 2765 <li><?php bugfix(69720); ?> (Null pointer dereference in phar_get_fp_offset()). (CVE-2015-7803)</li> 2766 <li><?php bugfix(70433); ?> (Uninitialized pointer in phar_make_dirstream when zip entry filename is "/"). (CVE-2015-7804)</li> 2767</ul></li> 2768</ul> 2769</section> 2770 2771<section class="version" id="5.5.29"><!-- {{{ 5.5.29 --> 2772<h3>Version 5.5.29</h3> 2773<?php release_date('03-Sep-2015'); ?> 2774<ul><li>Core: 2775<ul> 2776 <li><?php bugfix(70172); ?> (Use After Free Vulnerability in unserialize()). (CVE-2015-6834)</li> 2777 <li><?php bugfix(70219); ?> (Use after free vulnerability in session deserializer). (CVE-2015-6835)</li> 2778</ul></li> 2779<li>EXIF: 2780<ul> 2781 <li><?php bugfix(70385); ?> (Buffer over-read in exif_read_data with TIFF IFD tag byte value of 32 bytes).</li> 2782</ul></li> 2783<li>hash: 2784<ul> 2785 <li><?php bugfix(70312); ?> (HAVAL gives wrong hashes in specific cases).</li> 2786</ul></li> 2787<li>PCRE: 2788<ul> 2789 <li><?php bugfix(70345); ?> (Multiple vulnerabilities related to PCRE functions).</li> 2790</ul></li> 2791<li>SOAP: 2792<ul> 2793 <li><?php bugfix(70388); ?> (SOAP serialize_function_call() type confusion / RCE). (CVE-2015-6836)</li> 2794</ul></li> 2795<li>SPL: 2796<ul> 2797 <li><?php bugfix(70365); ?> (Use-after-free vulnerability in unserialize() with SplObjectStorage). (CVE-2015-6834)</li> 2798 <li><?php bugfix(70366); ?> (Use-after-free vulnerability in unserialize() with SplDoublyLinkedList). (CVE-2015-6834)</li> 2799</ul></li> 2800<li>XSLT: 2801<ul> 2802 <li><?php bugfix(69782); ?> (NULL pointer dereference). (CVE-2015-6837, CVE-2015-6838)</li> 2803</ul></li> 2804<li>ZIP: 2805<ul> 2806 <li><?php bugfix(70350); ?> (ZipArchive::extractTo allows for directory traversal when creating directories). (CVE-2014-9767)</li> 2807</ul></li> 2808</ul> 2809<!-- }}} --></section> 2810 2811<section class="version" id="5.5.28"><!-- {{{ 5.5.28 --> 2812<h3>Version 5.5.28</h3> 2813<?php release_date('06-Aug-2015'); ?> 2814<ul><li>Core: 2815<ul> 2816 <li><?php bugfix(69793); ?> (Remotely triggerable stack exhaustion via recursive method calls).</li> 2817 <li><?php bugfix(69892); ?> (Different arrays compare indentical due to integer key truncation).</li> 2818 <li><?php bugfix(70002); ?> (TS issues with temporary dir handling).</li> 2819 <li><?php bugfix(70121); ?> (unserialize() could lead to unexpected methods execution / NULL pointer deref).</li> 2820</ul></li> 2821<li>OpenSSL: 2822<ul> 2823 <li><?php bugfix(70014); ?> (openssl_random_pseudo_bytes() is not cryptographically secure). (CVE-2015-8867)</li> 2824</ul></li> 2825<li>Phar: 2826<ul> 2827 <li>Improved fix for bug <?php bugl(69441) ?>.</li> 2828 <li><?php bugfix(70019); ?> (Files extracted from archive may be placed outside of destination directory). (CVE-2015-6833)</li> 2829</ul></li> 2830<li>SOAP: 2831<ul> 2832 <li><?php bugfix(70081); ?> (SoapClient info leak / null pointer dereference via multiple type confusions).</li> 2833</ul></li> 2834<li>SPL: 2835<ul> 2836 <li><?php bugfix(70068); ?> (Dangling pointer in the unserialization of ArrayObject items). (CVE-2015-6832)</li> 2837 <li><?php bugfix(70166); ?> (Use After Free Vulnerability in unserialize() with SPLArrayObject). (CVE-2015-6831)</li> 2838 <li><?php bugfix(70168); ?> (Use After Free Vulnerability in unserialize() with SplObjectStorage). (CVE-2015-6831)</li> 2839 <li><?php bugfix(70169); ?> (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList). (CVE-2015-6831)</li> 2840</ul></li> 2841</ul> 2842<!-- }}} --></section> 2843 2844<section class="version" id="5.5.27"><!-- {{{ 5.5.27 --> 2845<h3>Version 5.5.27</h3> 2846<?php release_date('09-Jul-2015'); ?> 2847<ul><li>Core: 2848<ul> 2849 <li><?php bugfix(69768); ?> (escapeshell*() doesn't cater to !).</li> 2850 <li><?php bugfix(69703); ?> (Use __builtin_clzl on PowerPC).</li> 2851 <li><?php bugfix(69732); ?> (can induce segmentation fault with basic php code).</li> 2852 <li><?php bugfix(69642); ?> (Windows 10 reported as Windows 8).</li> 2853 <li><?php bugfix(69551); ?> (parse_ini_file() and parse_ini_string() segmentation fault).</li> 2854 <li><?php bugfix(69781); ?> (phpinfo() reports Professional Editions of Windows 7/8/8.1/10 as "Business").</li> 2855 <li><?php bugfix(69835); ?> (phpinfo() does not report many Windows SKUs).</li> 2856 <li><?php bugfix(69892); ?> (Different arrays compare indentical due to integer key truncation).</li> 2857 <li><?php bugfix(69874); ?> (Can't set empty additional_headers for mail()), regression from fix to bug <?php bugl(68776); ?>.</li> 2858</ul></li> 2859<li>GD: 2860<ul> 2861 <li><?php bugfix(61221); ?> (imagegammacorrect function loses alpha channel).</li> 2862</ul></li> 2863<li>Mysqlnd: 2864<ul> 2865 <li><?php bugfix(69669); ?> (mysqlnd is vulnerable to BACKRONYM). (CVE-2015-3152)</li> 2866</ul></li> 2867<li>PCRE: 2868<ul> 2869 <li><?php bugfix(53823); ?> (preg_replace: * qualifier on unicode replace garbles the string).</li> 2870 <li><?php bugfix(69864); ?> (Segfault in preg_replace_callback).</li> 2871</ul></li> 2872<li>PDO_pgsql: 2873<ul> 2874 <li><?php bugfix(69752); ?> (PDOStatement::execute() leaks memory with DML Statements when closeCuror() is u).</li> 2875 <li><?php bugfix(69362); ?> (PDO-pgsql fails to connect if password contains a leading single quote).</li> 2876 <li><?php bugfix(69344); ?> (PDO PgSQL Incorrect binding numeric array with gaps).</li> 2877</ul></li> 2878<li>Phar: 2879<ul> 2880 <li><?php bugfix(69958); ?> (Segfault in Phar::convertToData on invalid file). (CVE-2015-5589)</li> 2881 <li><?php bugfix(69923); ?> (Buffer overflow and stack smashing error in phar_fix_filepath). (CVE-2015-5590)</li> 2882</ul></li> 2883<li>SimpleXML: 2884<ul> 2885 <li>Refactored the fix for bug <?php bugl(66084); ?> (simplexml_load_string() mangles empty node name).</li> 2886</ul></li> 2887<li>SPL: 2888<ul> 2889 <li><?php bugfix(69737); ?> (Segfault when SplMinHeap::compare produces fatal error).</li> 2890 <li><?php bugfix(67805); ?> (SplFileObject setMaxLineLength).</li> 2891</ul></li> 2892</ul> 2893<!-- }}} --></section> 2894 2895<section class="version" id="5.5.26"><!-- {{{ 5.5.26 --> 2896<h3>Version 5.5.26</h3> 2897<?php release_date('11-Jun-2015'); ?> 2898<ul><li>Core: 2899<ul> 2900 <li><?php bugfix(69566); ?> (Conditional jump or move depends on uninitialised value in extension trait).</li> 2901 <li><?php bugfix(66048); ?> (temp. directory is cached during multiple requests).</li> 2902 <li><?php bugfix(69628); ?> (complex GLOB_BRACE fails on Windows).</li> 2903 <li><?php bugfix(69646); ?> (OS command injection vulnerability in escapeshellarg). (CVE-2015-4642)</li> 2904 <li><?php bugfix(69719); ?> (Incorrect handling of paths with NULs). (CVE-2015-4598)</li> 2905</ul></li> 2906<li>FTP: 2907<ul> 2908 <li>Improved fix for bug <?php bugl(69545); ?> (Integer overflow in ftp_genlist() resulting in heap overflow). (CVE-2015-4643)</li> 2909</ul></li> 2910<li>GD: 2911<ul> 2912 <li><?php bugfix(69479); ?> (GD fails to build with newer libvpx).</li> 2913</ul></li> 2914<li>Iconv: 2915<ul> 2916 <li><?php bugfix(48147); ?> (iconv with //IGNORE cuts the string).</li> 2917</ul></li> 2918<li>Litespeed SAPI: 2919<ul> 2920 <li><?php bugfix(68812); ?> (Unchecked return value).</li> 2921</ul></li> 2922<li>Mail: 2923<ul> 2924 <li><?php bugfix(68776); ?> (mail() does not have mail header injection prevention for additional headers).</li> 2925</ul></li> 2926<li>MCrypt: 2927<ul> 2928 <li>Added file descriptor caching to mcrypt_create_iv().</li> 2929</ul></li> 2930<li>Opcache: 2931<ul> 2932 <li><?php bugfix(69549); ?> (Memory leak with opcache.optimization_level=0xFFFFFFFF).</li> 2933</ul></li> 2934<li>PCRE: 2935<ul> 2936 <li>Upgraded pcrelib to 8.37. (CVE-2015-2325, CVE-2015-2326)</li> 2937</ul></li> 2938<li>Phar: 2939<ul> 2940 <li><?php bugfix(69680); ?> (phar symlink in binary directory broken).</li> 2941</ul></li> 2942<li>Postgres: 2943<ul> 2944 <li><?php bugfix(69667); ?> (segfault in php_pgsql_meta_data). (CVE-2015-4644)</li> 2945</ul></li> 2946<li>Sqlite3: 2947<ul> 2948 <li>Upgrade bundled sqlite to 3.8.10.2. (CVE-2015-3414, CVE-2015-3415, 2949 CVE-2015-3416)</li> 2950</ul></li> 2951</ul> 2952<!-- }}} --></section> 2953 2954<section class="version" id="5.5.25"><!-- {{{ 5.5.25 --> 2955<h3>Version 5.5.25</h3> 2956<?php release_date('14-May-2015'); ?> 2957<ul><li>Core: 2958<ul> 2959 <li><?php bugfix(69364); ?> (PHP Multipart/form-data remote dos Vulnerability). (CVE-2015-4024)</li> 2960 <li><?php bugfix(69403); ?> (str_repeat() sign mismatch based memory corruption).</li> 2961 <li><?php bugfix(69418); ?> (CVE-2006-7243 fix regressions in 5.4+). (CVE-2015-4025)</li> 2962 <li><?php bugfix(69522); ?> (heap buffer overflow in unpack()).</li> 2963 <li><?php bugfix(69467); ?> (Wrong checked for the interface by using Trait).</li> 2964 <li><?php bugfix(69420); ?> (Invalid read in zend_std_get_method).</li> 2965 <li><?php bugfix(60022); ?> ("use statement [...] has no effect" depends on leading backslash).</li> 2966 <li><?php bugfix(67314); ?> (Segmentation fault in gc_remove_zval_from_buffer).</li> 2967 <li><?php bugfix(68652); ?> (segmentation fault in destructor).</li> 2968 <li><?php bugfix(69419); ?> (Returning compatible sub generator produces a warning).</li> 2969 <li><?php bugfix(69472); ?> (php_sys_readlink ignores misc errors from GetFinalPathNameByHandleA).</li> 2970</ul></li> 2971<li>FTP: 2972<ul> 2973 <li><?php bugfix(69545); ?> (Integer overflow in ftp_genlist() resulting in heap overflow). (CVE-2015-4022)</li> 2974</ul></li> 2975<li>ODBC: 2976<ul> 2977 <li><?php bugfix(69354); ?> (Incorrect use of SQLColAttributes with ODBC 3.0).</li> 2978 <li><?php bugfix(69474); ?> (ODBC: Query with same field name from two tables returns incorrect result).</li> 2979 <li><?php bugfix(69381); ?> (out of memory with sage odbc driver).</li> 2980</ul></li> 2981<li>OpenSSL: 2982<ul> 2983 <li><?php bugfix(69402); ?> (Reading empty SSL stream hangs until timeout).</li> 2984</ul></li> 2985<li>PCNTL: 2986<ul> 2987 <li><?php bugfix(68598); ?> (pcntl_exec() should not allow null char). (CVE-2015-4026)</li> 2988</ul></li> 2989<li>Phar: 2990<ul> 2991 <li><?php bugfix(69453); ?> (Memory Corruption in phar_parse_tarfile when entry filename starts with null). (CVE-2015-4021)</li> 2992</ul></li> 2993</ul> 2994<!-- }}} --></section> 2995 2996<section class="version" id="5.5.24"><!-- {{{ 5.5.24 --> 2997<h3>Version 5.5.24</h3> 2998<?php release_date('16-Apr-2015'); ?> 2999<ul><li>Apache2handler: 3000<ul> 3001 <li><?php bugfix(69218); ?> (potential remote code execution with apache 2.4 apache2handler). (CVE-2015-3330)</li> 3002</ul></li> 3003<li>Core: 3004<ul> 3005 <li><?php bugfix(66609); ?> (php crashes with __get() and ++ operator in some cases).</li> 3006 <li><?php bugfix(67626); ?> (User exceptions not properly handled in streams).</li> 3007 <li><?php bugfix(68021); ?> (get_browser() browser_name_regex returns non-utf-8 characters).</li> 3008 <li><?php bugfix(68917); ?> (parse_url fails on some partial urls).</li> 3009 <li><?php bugfix(69134); ?> (Per Directory Values overrides PHP_INI_SYSTEM configuration options).</li> 3010 <li>Additional fix for bug <?php bugl(69152); ?> (Type confusion vulnerability in exception::getTraceAsString).</li> 3011 <li><?php bugfix(69212); ?> (Leaking VIA_HANDLER func when exception thrown in __call/... arg passing).</li> 3012 <li><?php bugfix(69221); ?> (Segmentation fault when using a generator in combination with an Iterator).</li> 3013 <li><?php bugfix(69337); ?> (php_stream_url_wrap_http_ex() type-confusion vulnerability).</li> 3014 <li><?php bugfix(69353); ?> (Missing null byte checks for paths in various PHP extensions). (CVE-2015-3411, CVE-2015-3412)</li> 3015</ul></li> 3016<li>cURL: 3017<ul> 3018 <li><?php implemented(69278); ?> (HTTP2 support).</li> 3019 <li><?php bugfix(68739); ?> (Missing break / control flow).</li> 3020 <li><?php bugfix(69316); ?> (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER).</li> 3021</ul></li> 3022<li>Date: 3023<ul> 3024 <li>Export date_get_immutable_ce so that it can be used by extensions.</li> 3025 <li><?php bugfix(69336); ?> (Issues with "last day of <monthname>").</li> 3026</ul></li> 3027<li>Enchant: 3028<ul> 3029 <li><?php bugfix(65406); ?> (Enchant broker plugins are in the wrong place in windows builds).</li> 3030</ul></li> 3031<li>Ereg: 3032<ul> 3033 <li><?php bugfix(68740); ?> (NULL Pointer Dereference).</li> 3034</ul></li> 3035<li>Fileinfo: 3036<ul> 3037 <li><?php bugfix(68819); ?> (Fileinfo on specific file causes spurious OOM and/or segfault). (CVE-2015-4604, CVE-2015-4605)</li> 3038</ul></li> 3039<li>Filter: 3040<ul> 3041 <li><?php bugfix(69202); ?> (FILTER_FLAG_STRIP_BACKTICK ignored unless other flags are used).</li> 3042 <li><?php bugfix(69203); ?> (FILTER_FLAG_STRIP_HIGH doesn't strip ASCII 127).</li> 3043</ul></li> 3044<li>Mbstring: 3045<ul> 3046 <li><?php bugfix(68846); ?> (False detection of CJK Unified Ideographs Extension E).</li> 3047</ul></li> 3048<li>ODBC: 3049<ul> 3050 <li><?php bugfix(69354); ?> (Incorrect use of SQLColAttributes with ODBC 3.0).</li> 3051</ul></li> 3052<li>OPCache: 3053<ul> 3054 <li><?php bugfix(69281); ?> (opcache_is_script_cached no longer works).</li> 3055 <li><?php bugfix(68677); ?> (Use After Free). (CVE-2015-1351)</li> 3056</ul></li> 3057<li>OpenSSL: 3058<ul> 3059 <li><?php bugfix(67403); ?> (Add signatureType to openssl_x509_parse).</li> 3060 <li>Add a check for RAND_egd to allow compiling against LibreSSL.</li> 3061</ul></li> 3062<li>Phar: 3063<ul> 3064 <li><?php bugfix(64343); ?> (PharData::extractTo fails for tarball created by BSD tar).</li> 3065 <li><?php bugfix(64931); ?> (phar_add_file is too restrictive on filename).</li> 3066 <li><?php bugfix(65467); ?> (Call to undefined method cli_arg_typ_string).</li> 3067 <li><?php bugfix(67761); ?> (Phar::mapPhar fails for Phars inside a path containing ".tar").</li> 3068 <li><?php bugfix(69324); ?> (Buffer Over-read in unserialize when parsing Phar). (CVE-2015-2783, CVE-2015-3307)</li> 3069 <li><?php bugfix(69441); ?> (Buffer Overflow when parsing tar/zip/phar in phar_set_inode). (CVE-2015-3329)</li> 3070</ul></li> 3071<li>Postgres: 3072<ul> 3073 <li><?php bugfix(68741); ?> (Null pointer dereference). (CVE-2015-1352)</li> 3074</ul></li> 3075<li>SOAP: 3076<ul> 3077 <li><?php bugfix(69152); ?> (Type Confusion Infoleak Vulnerability in unserialize() with SoapFault). (CVE-2015-4599)</li> 3078 <li><?php bugfix(69293); ?> (NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)).</li> 3079</ul></li> 3080<li>SPL: 3081<ul> 3082 <li><?php bugfix(69227); ?> (Use after free in zval_scan caused by spl_object_storage_get_gc).</li> 3083</ul></li> 3084<li>SQLITE: 3085<ul> 3086 <li><?php bugfix(68760); ?> (SQLITE segfaults if custom collator throws an exception).</li> 3087 <li><?php bugfix(69287); ?> (Upgrade bundled sqlite to 3.8.8.3).</li> 3088 <li><?php bugfix(66550); ?> (SQLite prepared statement use-after-free).</li> 3089</ul></li> 3090</ul> 3091<!-- }}} --></section> 3092 3093 3094<section class="version" id="5.5.23"><!-- {{{ 5.5.23 --> 3095<h3>Version 5.5.23</h3> 3096<?php release_date('19-Mar-2015'); ?> 3097<ul><li>Core: 3098<ul> 3099 <li><?php bugfix(69174); ?> (leaks when unused inner class use traits precedence).</li> 3100 <li><?php bugfix(69139); ?> (Crash in gc_zval_possible_root on unserialize).</li> 3101 <li><?php bugfix(69121); ?> (Segfault in get_current_user when script owner is not in passwd with ZTS build).</li> 3102 <li><?php bugfix(65593); ?> (Segfault when calling ob_start from output buffering callback).</li> 3103 <li><?php bugfix(69017); ?> (Fail to push to the empty array with the constant value defined in class scope).</li> 3104 <li><?php bugfix(68986); ?> (pointer returned by php_stream_fopen_temporary_file not validated in memory.c).</li> 3105 <li><?php bugfix(68166); ?> (Exception with invalid character causes segv).</li> 3106 <li><?php bugfix(69141); ?> (Missing arguments in reflection info for some builtin functions).</li> 3107 <li><?php bugfix(68976); ?> (Use After Free Vulnerability in unserialize()). (CVE-2015-2787)</li> 3108 <li><?php bugfix(69134); ?> (Per Directory Values overrides PHP_INI_SYSTEM configuration options).</li> 3109 <li><?php bugfix(69207); ?> (move_uploaded_file allows nulls in path). (CVE-2015-2348)</li> 3110</ul></li> 3111<li>CGI: 3112<ul> 3113 <li><?php bugfix(69015); ?> (php-cgi's getopt does not see $argv).</li> 3114</ul></li> 3115<li>CLI: 3116<ul> 3117 <li><?php bugfix(67741); ?> (auto_prepend_file messes up __LINE__).</li> 3118</ul></li> 3119<li>cURL: 3120<ul> 3121 <li><?php bugfix(69088); ?> (PHP_MINIT_FUNCTION does not fully initialize cURL on Win32).</li> 3122 <li>Add CURLPROXY_SOCKS4A and CURLPROXY_SOCKS5_HOSTNAME constants if supported by libcurl.</li> 3123</ul></li> 3124<li>Ereg: 3125<ul> 3126 <li><?php bugfix(69248); ?> (heap overflow vulnerability in regcomp.c). (CVE-2015-2305)</li> 3127</ul></li> 3128<li>FPM: 3129<ul> 3130 <li><?php bugfix(68822); ?> (request time is reset too early).</li> 3131</ul></li> 3132<li>JSON : 3133<ul> 3134 <li><?php bugfix(64695); ?> (JSON_NUMERIC_CHECK has issues with strings that are 3135 numbers plus the letter e).</li> 3136</ul></li> 3137<li>ODBC: 3138<ul> 3139 <li><?php bugfix(68964); ?> (Allowed memory size exhausted with odbc_exec).</li> 3140</ul></li> 3141<li>Opcache: 3142<ul> 3143 <li><?php bugfix(69125); ?> (Array numeric string as key).</li> 3144 <li><?php bugfix(69038); ?> (switch(SOMECONSTANT) misbehaves).</li> 3145</ul></li> 3146<li>OpenSSL: 3147<ul> 3148 <li><?php bugfix(61285); ?>, <?php bugl(68329); ?>, <?php bugl(68046); ?>, <?php bugl(41631); ?> (encrypted streams don't observe socket timeouts).</li> 3149</ul></li> 3150<li>pgsql: 3151<ul> 3152 <li><?php bugfix(68638); ?> (pg_update() fails to store infinite values).</li> 3153</ul></li> 3154<li>Readline: 3155<ul> 3156 <li><?php bugfix(69054); ?> (Null dereference in readline_(read|write)_history() without parameters).</li> 3157</ul></li> 3158<li>SOAP: 3159<ul> 3160 <li><?php bugfix(69085); ?> (SoapClient's __call() type confusion through unserialize()). (CVE-2015-4147, CVE-2015-4148)</li> 3161</ul></li> 3162<li>SPL: 3163<ul> 3164 <li><?php bugfix(69108); ?> ("Segmentation fault" when (de)serializing SplObjectStorage).</li> 3165 <li><?php bugfix(68557); ?> (RecursiveDirectoryIterator::seek(0) broken after calling getChildren()).</li> 3166</ul></li> 3167<li>ZIP: 3168<ul> 3169 <li><?php bugfix(69253); ?> (ZIP Integer Overflow leads to writing past heap boundary). (CVE-2015-2331)</li> 3170</ul></li> 3171</ul> 3172<!-- }}} --></section> 3173 3174<section class="version" id="5.5.22"><!-- {{{ 5.5.22 --> 3175<h3>Version 5.5.22</h3> 3176<?php release_date('19-Feb-2015'); ?> 3177<ul><li>Core: 3178<ul> 3179 <li><?php bugfix(67068); ?> (getClosure returns somethings that's not a closure).</li> 3180 <li><?php bugfix(68925); ?> (Mitigation for CVE-2015-0235 – GHOST: glibc gethostbyname buffer overflow).</li> 3181 <li><?php bugfix(68942); ?> (Use after free vulnerability in unserialize() with DateTimeZone). (CVE-2015-0273)</li> 3182 <li>Added NULL byte protection to exec, system and passthru.</li> 3183 <li>Removed support for multi-line headers, as they are deprecated by RFC 7230.</li> 3184</ul></li> 3185<li>Date: 3186<ul> 3187 <li><?php bugfix(45081); ?> (strtotime incorrectly interprets SGT time zone).</li> 3188</ul></li> 3189<li>Dba: 3190<ul> 3191 <li><?php bugfix(68711); ?> (useless comparisons).</li> 3192</ul></li> 3193<li>Enchant: 3194<ul> 3195 <li><?php bugfix(68552); ?> (heap buffer overflow in enchant_broker_request_dict()). (CVE-2014-9705)</li> 3196</ul></li> 3197<li>Fileinfo: 3198<ul> 3199 <li><?php bugfix(68827); ?> (Double free with disabled ZMM).</li> 3200</ul></li> 3201<li>FPM: 3202<ul> 3203 <li><?php bugfix(66479); ?> (Wrong response to FCGI_GET_VALUES).</li> 3204 <li><?php bugfix(68571); ?> (core dump when webserver close the socket).</li> 3205</ul></li> 3206<li>Libxml: 3207<ul> 3208 <li><?php bugfix(64938); ?> (libxml_disable_entity_loader setting is shared between threads). (CVE-2015-8866)</li> 3209</ul></li> 3210<li>PDO_mysql: 3211<ul> 3212 <li><?php bugfix(68750); ?> (PDOMysql with mysqlnd does not allow the usage of named pipes).</li> 3213</ul></li> 3214<li>Phar: 3215<ul> 3216 <li><?php bugfix(68901); ?> (use after free). (CVE-2015-2301)</li> 3217</ul></li> 3218<li>Pgsql: 3219<ul> 3220 <li><?php bugfix(65199); ?> (pg_copy_from() modifies input array variable).</li> 3221</ul></li> 3222<li>Sqlite3: 3223<ul> 3224 <li><?php bugfix(68260); ?> (SQLite3Result::fetchArray declares wrong required_num_args).</li> 3225</ul></li> 3226<li>Mysqli: 3227<ul> 3228 <li><?php bugfix(68114); ?> (linker error on some OS X machines with fixed width decimal support).</li> 3229 <li><?php bugfix(68657); ?> (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors).</li> 3230</ul></li> 3231<li>Session: 3232<ul> 3233 <li><?php bugfix(68941); ?> (mod_files.sh is a bash-script).</li> 3234 <li><?php bugfix(66623); ?> (no EINTR check on flock).</li> 3235 <li><?php bugfix(68063); ?> (Empty session IDs do still start sessions).</li> 3236</ul></li> 3237<li>Standard: 3238<ul> 3239 <li><?php bugfix(65272); ?> (flock() out parameter not set correctly in windows).</li> 3240 <li><?php bugfix(69033); ?> (Request may get env. variables from previous requests if PHP works as FastCGI).</li> 3241</ul></li> 3242<li>Streams: 3243<ul> 3244 <li>Fixed bug which caused call after final close on streams filter.</li> 3245</ul></li> 3246</ul> 3247<!-- }}} --></section> 3248 3249<section class="version" id="5.5.21"><!-- {{{ 5.5.21 --> 3250<h3>Version 5.5.21</h3> 3251<?php release_date('22-Jan-2015'); ?> 3252<ul><li>Core: 3253<ul> 3254 <li>Upgraded crypt_blowfish to version 1.3.</li> 3255 <li><?php bugfix(60704); ?> (unlink() bug with some files path).</li> 3256 <li><?php bugfix(65419); ?> (Inside trait, self::class != __CLASS__).</li> 3257 <li><?php bugfix(65576); ?> (Constructor from trait conflicts with inherited constructor).</li> 3258 <li><?php bugfix(55541); ?> (errors spawn MessageBox, which blocks test automation).</li> 3259 <li><?php bugfix(68297); ?> (Application Popup provides too few information).</li> 3260 <li><?php bugfix(65769); ?> (localeconv() broken in TS builds).</li> 3261 <li><?php bugfix(65230); ?> (setting locale randomly broken).</li> 3262 <li><?php bugfix(66764); ?> (configure doesn't define EXPANDED_DATADIR / PHP_DATADIR correctly).</li> 3263 <li><?php bugfix(68583); ?> (Crash in timeout thread).</li> 3264 <li><?php bugfix(68676); ?> (Explicit Double Free). (CVE-2014-9425)</li> 3265 <li><?php bugfix(68710); ?> (Use After Free Vulnerability in PHP's unserialize()). (CVE-2015-0231)</li> 3266</ul></li> 3267<li>CGI: 3268<ul> 3269 <li><?php bugfix(68618); ?> (out of bounds read crashes php-cgi). (CVE-2014-9427)</li> 3270</ul></li> 3271<li>CLI server: 3272<ul> 3273 <li><?php bugfix(68745); ?> (Invalid HTTP requests make web server segfault).</li> 3274</ul></li> 3275<li>cURL: 3276<ul> 3277 <li><?php bugfix(67643); ?> (curl_multi_getcontent returns '' when CURLOPT_RETURNTRANSFER isn't set).</li> 3278</ul></li> 3279<li>EXIF: 3280<ul> 3281 <li><?php bugfix(68799); ?> (Free called on uninitialized pointer). (CVE-2015-0232)</li> 3282</ul></li> 3283<li>Fileinfo: 3284<ul> 3285 <li><?php bugfix(68671); ?> (incorrect expression in libmagic).</li> 3286 <li><?php bugfix(68735); ?> (fileinfo out-of-bounds memory access). (CVE-2014-9652)</li> 3287 <li>Removed readelf.c and related code from libmagic sources.</li> 3288</ul></li> 3289<li>FPM: 3290<ul> 3291 <li><?php bugfix(68751); ?> (listen.allowed_clients is broken).</li> 3292</ul></li> 3293<li>GD: 3294<ul> 3295 <li><?php bugfix(68601); ?> (buffer read overflow in gd_gif_in.c). (CVE-2014-9709)</li> 3296</ul></li> 3297<li>Mbstring: 3298<ul> 3299 <li><?php bugfix(68504); ?> (--with-libmbfl configure option not present on Windows).</li> 3300</ul></li> 3301<li>Mcrypt: 3302<ul> 3303 <li>Fixed possible read after end of buffer and use after free.</li> 3304</ul></li> 3305<li>Opcache: 3306<ul> 3307 <li><?php bugfix(67111); ?> (Memory leak when using "continue 2" inside two foreach loops).</li> 3308</ul></li> 3309<li>OpenSSL: 3310<ul> 3311 <li><?php bugfix(55618); ?> (use case-insensitive cert name matching).</li> 3312</ul></li> 3313<li>Pcntl: 3314<ul> 3315 <li><?php bugfix(60509); ?> (pcntl_signal doesn't decrease ref-count of old handler 3316 when setting SIG_DFL).</li> 3317</ul></li> 3318<li>PCRE: 3319<ul> 3320 <li><?php bugfix(66679); ?> (Alignment Bug in PCRE 8.34 upstream).</li> 3321</ul></li> 3322<li>pgsql: 3323<ul> 3324 <li><?php bugfix(68697); ?> (lo_export return -1 on failure).</li> 3325</ul></li> 3326<li>PDO: 3327<ul> 3328 <li><?php bugfix(68371); ?> (PDO#getAttribute() cannot be called with platform-specific 3329 attribute names).</li> 3330</ul></li> 3331<li>PDO_mysql: 3332<ul> 3333 <li><?php bugfix(68424); ?> (Add new PDO mysql connection attr to control multi 3334 statements option).</li> 3335</ul></li> 3336<li>SPL: 3337<ul> 3338 <li><?php bugfix(66405); ?> (RecursiveDirectoryIterator::CURRENT_AS_PATHNAME 3339 breaks the RecursiveIterator).</li> 3340 <li><?php bugfix(65213); ?> (cannot cast SplFileInfo to boolean).</li> 3341 <li><?php bugfix(68479); ?> (Added escape parameter to SplFileObject::fputcsv).</li> 3342</ul></li> 3343<li>SQLite: 3344<ul> 3345 <li><?php bugfix(68120); ?> (Update bundled libsqlite to 3.8.7.2).</li> 3346</ul></li> 3347<li>Streams: 3348<ul> 3349 <li><?php bugfix(68532); ?> (convert.base64-encode omits padding bytes).</li> 3350</ul></li> 3351</ul> 3352<!-- }}} --></section> 3353 3354 3355<section class="version" id="5.5.20"><!-- {{{ 5.5.20 --> 3356<h3>Version 5.5.20</h3> 3357<?php release_date('18-Dec-2014'); ?> 3358<ul><li>Core: 3359<ul> 3360 <li><?php bugfix(68091); ?> (Some Zend headers lack appropriate extern "C" blocks).</li> 3361 <li><?php bugfix(68185); ?> ("Inconsistent insteadof definition."- incorrectly triggered).</li> 3362 <li><?php bugfix(68370); ?> ("unset($this)" can make the program crash).</li> 3363 <li><?php bugfix(68545); ?> (NULL pointer dereference in unserialize.c).</li> 3364 <li><?php bugfix(68594); ?> (Use after free vulnerability in unserialize()). (CVE-2014-8142)</li> 3365</ul></li> 3366<li>Date: 3367<ul> 3368 <li>Fixed day_of_week function as it could sometimes return negative values internally.</li> 3369</ul></li> 3370<li>FPM: 3371<ul> 3372 <li><?php bugfix(68381); ?> (fpm_unix_init_main ignores log_level).</li> 3373 <li><?php bugfix(68420); ?> (listen=9000 listens to ipv6 localhost instead of all addresses).</li> 3374 <li><?php bugfix(68421); ?> (access.format='%R' doesn't log ipv6 address).</li> 3375 <li><?php bugfix(68423); ?> (PHP-FPM will no longer load all pools).</li> 3376 <li><?php bugfix(68428); ?> (listen.allowed_clients is IPv4 only).</li> 3377 <li><?php bugfix(68452); ?> (php-fpm man page is oudated).</li> 3378 <li><?php bugfix(68458); ?> (Change pm.start_servers default warning to notice).</li> 3379 <li><?php bugfix(68463); ?> (listen.allowed_clients can silently result in no allowed access).</li> 3380 <li><?php bugfix(68391); ?> (php-fpm conf files loading order).</li> 3381 <li><?php bugfix(68478); ?> (access.log don't use prefix).</li> 3382</ul></li> 3383<li>Mcrypt: 3384<ul> 3385 <li>Fixed possible read after end of buffer and use after free.</li> 3386</ul></li> 3387<li>PDO_pgsql: 3388<ul> 3389 <li><?php bugfix(66584); ?> (Segmentation fault on statement deallocation).</li> 3390 <li><?php bugfix(67462); ?> (PDO_PGSQL::beginTransaction() wrongly throws exception 3391 when not in transaction).</li> 3392 <li><?php bugfix(68351); ?> (PDO::PARAM_BOOL and ATTR_EMULATE_PREPARES misbehaving).</li> 3393</ul></li> 3394<li>SOAP: 3395<ul> 3396 <li><?php bugfix(68361); ?> (Segmentation fault on SoapClient::__getTypes).</li> 3397</ul></li> 3398<li>zlib: 3399<ul> 3400 <li><?php bugfix(53829); ?> (Compiling PHP with large file support will replace 3401 function gzopen by gzopen64).</li> 3402</ul></li> 3403</ul> 3404<!-- }}} --></section> 3405 3406<section class="version" id="5.5.19"><!-- {{{ 5.5.19 --> 3407<h3>Version 5.5.19</h3> 3408<?php release_date('13-Nov-2014'); ?> 3409<ul><li>Core: 3410<ul> 3411 <li><?php bugfix(68095); ?> (AddressSanitizer reports a heap buffer overflow in 3412 php_getopt()).</li> 3413 <li><?php bugfix(68118); ?> ($a->foo .= 'test'; can leave $a->foo undefined).</li> 3414 <li><?php bugfix(68129); ?> (parse_url() - incomplete support for empty usernames 3415 and passwords).</li> 3416 <li><?php bugfix(68365); ?> (zend_mm_heap corrupted after memory overflow in 3417 zend_hash_copy).</li> 3418</ul></li> 3419<li>cURL: 3420<ul> 3421 <li>Add CURL_SSLVERSION_TLSv1_0, CURL_SSLVERSION_TLSv1_1, and 3422 CURL_SSLVERSION_TLSv1_2 constants if supported by libcurl.</li> 3423</ul></li> 3424<li>Fileinfo: 3425<ul> 3426 <li><?php bugfix(66242); ?> (libmagic: don't assume char is signed).</li> 3427 <li><?php bugfix(68283); ?> (fileinfo: out-of-bounds read in elf note headers). 3428 (CVE-2014-3710)</li> 3429</ul></li> 3430<li>FPM: 3431<ul> 3432 <li><?php implemented(55508); ?> (listen and listen.allowed_clients should take IPv6 3433 addresses.</li> 3434</ul></li> 3435<li>GD: 3436<ul> 3437 <li><?php bugfix(65171); ?>imagescale() fails without height param</li> 3438</ul></li> 3439<li>GMP: 3440<ul> 3441 <li><?php bugfix(63595); ?> (GMP memory management conflicts with other libraries 3442 using GMP).</li> 3443</ul></li> 3444<li>Mysqli: 3445<ul> 3446 <li><?php bugfix(68114); ?> (linker error on some OS X machines with fixed width 3447 decimal support).</li> 3448</ul></li> 3449<li>ODBC: 3450<ul> 3451 <li><?php bugfix(68087); ?> (ODBC not correctly reading DATE column when preceded by 3452 a VARCHAR column)</li> 3453</ul></li> 3454<li>SPL: 3455<ul> 3456 <li><?php bugfix(68128); ?> (Regression in RecursiveRegexIterator)</li> 3457</ul></li> 3458</ul> 3459<!-- }}} --></section> 3460 3461<section class="version" id="5.5.18"><!-- {{{ 5.5.18 --> 3462<h3>Version 5.5.18</h3> 3463<?php release_date('16-Oct-2014'); ?> 3464<ul><li>Core: 3465<ul> 3466 <li><?php bugfix(67985); ?> (Incorrect last used array index copied to new array after 3467 unset).</li> 3468 <li><?php bugfix(67739); ?> (Windows 8.1/Server 2012 R2 OS build number reported 3469 as 6.2 (instead of 6.3)).</li> 3470 <li><?php bugfix(67633); ?> (A foreach on an array returned from a function not doing 3471 copy-on-write).</li> 3472 <li><?php bugfix(51800); ?> (proc_open on Windows hangs forever).</li> 3473 <li><?php bugfix(68044); ?> (Integer overflow in unserialize() (32-bits only)). 3474 (CVE-2014-3669)</li> 3475</ul></li> 3476<li>cURL: 3477<ul> 3478 <li><?php bugfix(68089); ?> (NULL byte injection - cURL lib).</li> 3479</ul></li> 3480<li>Exif: 3481<ul> 3482 <li><?php bugfix(68113); ?> (Heap corruption in exif_thumbnail()). (CVE-2014-3670)</li> 3483</ul></li> 3484<li>FPM: 3485<ul> 3486 <li><?php bugfix(65641); ?> (PHP-FPM incorrectly defines the SCRIPT_NAME variable 3487 when using Apache, mod_proxy-fcgi and ProxyPass).</li> 3488</ul></li> 3489<li>OpenSSL: 3490<ul> 3491 <li>Revert regression introduced by fix of bug <?php bugl(41631); ?>.</li> 3492</ul></li> 3493<li>Reflection: 3494<ul> 3495 <li><?php bugfix(68103); ?> (Duplicate entry in Reflection for class alias).</li> 3496</ul></li> 3497<li>Session: 3498<ul> 3499 <li><?php bugfix(67972); ?> (SessionHandler Invalid memory read create_sid()).</li> 3500</ul></li> 3501<li>XMLRPC: 3502<ul> 3503 <li><?php bugfix(68027); ?> (Global buffer overflow in mkgmtime() function). 3504 (CVE-2014-3668)</li> 3505</ul></li> 3506</ul> 3507<!-- }}} --></section> 3508 3509<section class="version" id="5.5.17"><!-- {{{ 5.5.17 --> 3510<h3>Version 5.5.17</h3> 3511<?php release_date('18-Sep-2014'); ?> 3512<ul><li>Core: 3513<ul> 3514 <li><?php bugfix(47358); ?> (glob returns error, should be empty array()).</li> 3515 <li><?php bugfix(65463); ?> (SIGSEGV during zend_shutdown()).</li> 3516 <li><?php bugfix(66036); ?> (Crash on SIGTERM in apache process).</li> 3517 <li><?php bugfix(67878); ?> (program_prefix not honoured in man pages).</li> 3518</ul></li> 3519<li>COM: 3520<ul> 3521 <li><?php bugfix(41577); ?> (DOTNET is successful once per server run).</li> 3522</ul></li> 3523<li>Date: 3524<ul> 3525 <li><?php bugfix(66091); ?> (memory leaks in DateTime constructor).</li> 3526 <li><?php bugfix(66985); ?> (Some timezones are no longer valid in PHP 5.5.10).</li> 3527 <li><?php bugfix(67109); ?> (First uppercase letter breaks date string parsing).</li> 3528</ul></li> 3529<li>FPM: 3530<ul> 3531 <li><?php bugfix(67606); ?> (FPM with mod_fastcgi/apache2.4 is broken).</li> 3532</ul></li> 3533<li>GD: 3534<ul> 3535 <li>Made fontFetch's path parser thread-safe.</li> 3536</ul></li> 3537<li>MySQLi: 3538<ul> 3539 <li><?php bugfix(67839); ?> (mysqli does not handle 4-byte floats correctly).</li> 3540</ul></li> 3541<li>OpenSSL: 3542<ul> 3543 <li><?php bugfix(41631); ?> (socket timeouts not honored in blocking SSL reads).</li> 3544 <li><?php bugfix(67850); ?> (extension won't build if openssl compiled without SSLv3).</li> 3545</ul></li> 3546<li>SPL: 3547<ul> 3548 <li><?php bugfix(67813); ?> (CachingIterator::__construct InvalidArgumentException 3549 wrong message).</li> 3550</ul></li> 3551<li>Zlib: 3552<ul> 3553 <li><?php bugfix(67724); ?> (chained zlib filters silently fail with large amounts of 3554 data).</li> 3555 <li><?php bugfix(67865); ?> (internal corruption phar error).</li> 3556</ul></li> 3557</ul> 3558<!-- }}} --></section> 3559 3560<section class="version" id="5.5.16"><!-- {{{ 5.5.16 --> 3561<h3>Version 5.5.16</h3> 3562<?php release_date('21-Aug-2014'); ?> 3563<ul><li>COM: 3564<ul> 3565 <li>Fixed missing type checks in com_event_sink.</li> 3566</ul></li> 3567<li>Core: 3568<ul> 3569 <li><?php bugfix(67693); ?> (incorrect push to the empty array).</li> 3570</ul></li> 3571<li>Fileinfo: 3572<ul> 3573 <li><?php bugfix(67705); ?> (extensive backtracking in rule regular expression). (CVE-2014-3538)</li> 3574 <li><?php bugfix(67716); ?> (Segfault in cdf.c). (CVE-2014-3587).</li> 3575</ul></li> 3576<li>FPM: 3577<ul> 3578 <li><?php bugfix(67635); ?> (php links to systemd libraries without using pkg-config).</li> 3579</ul></li> 3580<li>GD: 3581<ul> 3582 <li><?php bugfix(66901); ?> (php-gd 'c_color' NULL pointer dereference). (CVE-2014-2497)</li> 3583 <li><?php bugfix(67730); ?> (Null byte injection possible with imagexxx functions). 3584 (CVE-2014-5120).</li> 3585</ul></li> 3586<li>Milter: 3587<ul> 3588 <li><?php bugfix(67715); ?> (php-milter does not build and crashes randomly).</li> 3589</ul></li> 3590<li>Network: 3591<ul> 3592 <li><?php bugfix(67717); ?> (segfault in dns_get_record). (CVE-2014-3597).</li> 3593</ul></li> 3594<li>OpenSSL: 3595<ul> 3596 <li>Fixed missing type checks in OpenSSL options.</li> 3597</ul></li> 3598<li>readline: 3599<ul> 3600 <li><?php bugfix(55496); ?> (Interactive mode doesn't force a newline before the 3601 prompt).</li> 3602 <li><?php bugfix(67496); ?> (Save command history when exiting interactive shell 3603 with control-c).</li> 3604</ul></li> 3605<li>Sessions: 3606<ul> 3607 <li>Fixed missing type checks in php_session_create_id.</li> 3608</ul></li> 3609<li>ODBC: 3610<ul> 3611 <li><?php bugfix(60616); ?> (odbc_fetch_into returns junk data at end of multi-byte 3612 char fields).</li> 3613</ul></li> 3614</ul> 3615<!-- }}} --></section> 3616 3617<section class="version" id="5.5.15"><!-- {{{ 5.5.15 --> 3618<h3>Version 5.5.15</h3> 3619<?php release_date('24-Jul-2014'); ?> 3620<ul><li>CLI server: 3621<ul> 3622 <li><?php bugfix(67429); ?> (CLI server is missing some new HTTP response codes).</li> 3623 <li><?php bugfix(66830); ?> (Empty header causes PHP built-in web server to hang).</li> 3624</ul></li> 3625<li>Core: 3626<ul> 3627 <li><?php bugfix(67428); ?> (header('Location: foo') will override a 308-399 response 3628 code).</li> 3629 <li><?php bugfix(67436); ?> (Autoloader isn't called if two method definitions don't 3630 match).</li> 3631 <li><?php bugfix(67091); ?> (make install fails to install libphp5.so on FreeBSD 10.0).</li> 3632 <li><?php bugfix(67497); ?> eval with parse error causes segmentation fault in 3633 generator).</li> 3634 <li><?php bugfix(67151); ?> (strtr with empty array crashes).</li> 3635 <li><?php bugfix(67407); ?> (Windows 8.1/Server 2012 R2 reported as Windows 8/Server 3636 2012).</li> 3637</ul></li> 3638<li>FPM: 3639<ul> 3640 <li><?php bugfix(67530); ?> (error_log=syslog ignored).</li> 3641 <li><?php bugfix(67531); ?> (syslog cannot be set in pool configuratio).</li> 3642</ul></li> 3643<li>Intl: 3644<ul> 3645 <li><?php bugfix(66921); ?> (Wrong argument type hint for function 3646 intltz_from_date_time_zone).</li> 3647 <li><?php bugfix(67052); ?> (NumberFormatter::parse() resets LC_NUMERIC setting).</li> 3648</ul></li> 3649<li>OPCache: 3650<ul> 3651 <li><?php bugfix(67215); ?> (php-cgi work with opcache, may be segmentation fault 3652 happen).</li> 3653</ul></li> 3654<li>pgsql: 3655<ul> 3656 <li><?php bugfix(67550); ?> (Error in code "form" instead of "from", pgsql.c, line 756), 3657 which affected builds against libpq < 7.3).</li> 3658</ul></li> 3659<li>Phar: 3660<ul> 3661 <li><?php bugfix(67587); ?> (Redirection loop on nginx with FPM).</li> 3662</ul></li> 3663<li>SPL: 3664<ul> 3665 <li><?php bugfix(67539); ?> (ArrayIterator use-after-free due to object change during 3666 sorting). (CVE-2014-4698)</li> 3667 <li><?php bugfix(67538); ?> (SPL Iterators use-after-free) (CVE-2014-4670).</li> 3668</ul></li> 3669<li>Streams: 3670<ul> 3671 <li><?php bugfix(67430); ?> (http:// wrapper doesn't follow 308 redirects).</li> 3672</ul></li> 3673</ul> 3674<!-- }}} --></section> 3675<section class="version" id="5.5.14"><!-- {{{ 5.5.14 --> 3676<h3>Version 5.5.14</h3> 3677<?php release_date('26-Jun-2014'); ?> 3678<ul><li>CLI server: 3679<ul> 3680 <li><?php bugfix(67406); ?> (built-in web-server segfaults on startup).</li> 3681</ul></li> 3682<li>Core: 3683<ul> 3684 <li><?php bugfix(66622); ?> (Closures do not correctly capture the late bound class 3685 (static::) in some cases).</li> 3686 <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script). 3687 (CVE-2014-3981).</li> 3688 <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li> 3689 <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability). (CVE-2014-4721)</li> 3690 <li>Fixed BC break introduced by patch for bug <?php bugl(67072); ?>.</li> 3691</ul></li> 3692<li>Date: 3693<ul> 3694 <li><?php bugfix(67308); ?> (Serialize of DateTime truncates fractions of second).</li> 3695 <li>Fixed regression in fix for bug <?php bugl(67118) ?> (constructor can't be called twice).</li> 3696</ul></li> 3697<li>Fileinfo: 3698<ul> 3699 <li><?php bugfix(67326); ?> (cdf_read_short_sector insufficient boundary check). 3700 (CVE-2014-0207)).</li> 3701 <li><?php bugfix(67410); ?> (mconvert incorrect handling of truncated pascal 3702 string size). (CVE-2014-3478).</li> 3703 <li><?php bugfix(67411); ?> (cdf_check_stream_offset insufficient boundary 3704 check). (CVE-2014-3479).</li> 3705 <li><?php bugfix(67412); ?> (cdf_count_chain insufficient boundary check). 3706 (CVE-2014-3480).</li> 3707 <li><?php bugfix(67413); ?> (cdf_read_property_info insufficient boundary 3708 check). (CVE-2014-3487).</li> 3709</ul></li> 3710<li>Intl: 3711<ul> 3712 <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li> 3713 <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and 3714 uloc_getDisplayName (libicu 4.8.1)).</li> 3715</ul></li> 3716<li>Network: 3717<ul> 3718 <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()). 3719 (CVE-2014-4049)).</li> 3720</ul></li> 3721<li>OPCache: 3722<ul> 3723 <li><?php githubissue('zendtech/ZendOptimizerPlus', 183); ?> (TMP_VAR is not only used once).</li> 3724</ul></li> 3725<li>OpenSSL: 3726<ul> 3727 <li><?php bugfix(65698); ?> (certificates validity parsing does not work past 2050).</li> 3728 <li><?php bugfix(66636); ?> (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).</li> 3729</ul></li> 3730<li>PDO-ODBC: 3731<ul> 3732 <li><?php bugfix(50444); ?> (PDO-ODBC changes for 64-bit).</li> 3733</ul></li> 3734<li>SOAP: 3735<ul> 3736 <li><?php implemented(49898); ?> (Add SoapClient::__getCookies()).</li> 3737</ul></li> 3738<li>SPL: 3739<ul> 3740 <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li> 3741 <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li> 3742 <li><?php bugfix(67360); ?> (Missing element after ArrayObject::getIterator).</li> 3743 <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type 3744 Confusion). (CVE-2014-3515).</li> 3745</ul></li> 3746</ul> 3747<!-- }}} --></section> 3748 3749<section class="version" id="5.5.13"><!-- {{{ 5.5.13 --> 3750<h3>Version 5.5.13</h3> 3751<?php release_date('29-May-2014'); ?> 3752<ul><li>CLI server: 3753<ul> 3754 <li><?php bugfix(67079); ?> (Missing MIME types for XML/XSL files).</li> 3755</ul></li> 3756<li>COM: 3757<ul> 3758 <li><?php bugfix(66431); ?> (Special Character via COM Interface (CP_UTF8)).</li> 3759</ul></li> 3760<li>Core: 3761<ul> 3762 <li><?php bugfix(65701); ?> (copy() doesn't work when destination filename is created 3763 by tempnam()).</li> 3764 <li><?php bugfix(67072); ?> (Echoing unserialized "SplFileObject" crash).</li> 3765 <li><?php bugfix(67245); ?> (usage of memcpy() with overlapping src and dst in 3766 zend_exceptions.c).</li> 3767 <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li> 3768 <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li> 3769 <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li> 3770</ul></li> 3771<li>cURL: 3772<ul> 3773 <li><?php bugfix(64247); ?> (CURLOPT_INFILE doesn't allow reset).</li> 3774</ul></li> 3775<li>Date: 3776<ul> 3777 <li><?php bugfix(67118); ?> (DateTime constructor crash with invalid data).</li> 3778 <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li> 3779 <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li> 3780</ul></li> 3781<li>DOM: 3782<ul> 3783 <li><?php bugfix(67081); ?> (DOMDocumentType->internalSubset returns entire DOCTYPE tag, 3784 not only the subset).</li> 3785</ul></li> 3786<li>Fileinfo: 3787<ul> 3788 <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li> 3789 <li><?php bugfix(67327); ?> (CDF infinite loop in nelements DoS) (CVE-2014-0238).</li> 3790 <li><?php bugfix(67328); ?> (numerous file_printf calls resulting in 3791 performance degradation) (CVE-2014-0237).</li> 3792</ul></li> 3793<li>FPM: 3794<ul> 3795 <li><?php bugfix(66908); ?> (php-fpm reload leaks epoll_create() file descriptor).</li> 3796</ul></li> 3797<li>GD: 3798<ul> 3799 <li><?php bugfix(67248); ?> (imageaffinematrixget missing check of parameters).</li> 3800</ul></li> 3801<li>PCRE: 3802<ul> 3803 <li><?php bugfix(67248); ?> Ungreedy and min/max quantifier bug, applied patch 3804 from the upstream.</li> 3805</ul></li> 3806<li>Phar: 3807<ul> 3808 <li><?php bugfix(64498); ?> ($phar->buildFromDirectory can't compress file with an accent 3809 in its name).</li> 3810</ul></li> 3811</ul> 3812<!-- }}} --></section> 3813 3814<section class="version" id="5.5.12"><!-- {{{ 5.5.12 --> 3815<h3>Version 5.5.12</h3> 3816<?php release_date('01-May-2014'); ?> 3817<ul><li>Core: 3818<ul> 3819 <li><?php bugfix(61019); ?> (Out of memory on command stream_get_contents).</li> 3820 <li><?php bugfix(64330); ?> (stream_socket_server() creates wrong Abstract Namespace 3821 UNIX sockets).</li> 3822 <li><?php bugfix(66182); ?> (exit in stream filter produces segfault).</li> 3823 <li><?php bugfix(66736); ?> (fpassthru broken).</li> 3824 <li><?php bugfix(67024); ?> (getimagesize should recognize BMP files with negative 3825 heighty).</li> 3826 <li><?php bugfix(67043); ?> (substr_compare broke by previous change).</li> 3827</ul></li> 3828<li>cURL: 3829<ul> 3830 <li><?php bugfix(66562); ?> (curl_exec returns differently than curl_multi_getcontent).</li> 3831</ul></li> 3832<li>Date: 3833<ul> 3834 <li><?php bugfix(66721); ?> (__wakeup of DateTime segfaults when invalid object data is 3835 supplied).</li> 3836</ul></li> 3837<li>Embed: 3838<ul> 3839 <li><?php bugfix(65715); ?> (php5embed.lib isn't provided anymore).</li> 3840</ul></li> 3841<li>Fileinfo: 3842<ul> 3843 <li><?php bugfix(66987); ?> (Memory corruption in fileinfo ext / bigendian).</li> 3844</ul></li> 3845<li>FPM: 3846<ul> 3847 <li><?php bugfix(66482); ?> (unknown entry 'priority' in php-fpm.conf).</li> 3848 <li><?php bugfix(67060); ?> (possible privilege escalation due to insecure default configuration). (CVE-2014-0185)).</li> 3849</ul></li> 3850<li>Json: 3851<ul> 3852 <li><?php bugfix(66021); ?> (Blank line inside empty array/object when 3853 JSON_PRETTY_PRINT is set).</li> 3854</ul></li> 3855<li>LDAP: 3856<ul> 3857 <li>Fixed issue with null bytes in LDAP bindings.</li> 3858</ul></li> 3859<li>mysqli: 3860<ul> 3861 <li>Fixed problem in mysqli_commit()/mysqli_rollback() with second parameter 3862 (extra comma) and third parameters (lack of escaping).</li> 3863</ul></li> 3864<li>Openssl: 3865<ul> 3866 <li><?php bugfix(66942); ?> (memory leak in openssl_seal()).</li> 3867 <li><?php bugfix(66952); ?> (memory leak in openssl_open()).</li> 3868</ul></li> 3869<li>SimpleXML: 3870<ul> 3871 <li><?php bugfix(66084); ?> (simplexml_load_string() mangles empty node name).</li> 3872</ul></li> 3873<li>SQLite: 3874<ul> 3875 <li><?php bugfix(66967); ?> (Updated bundled libsqlite to 3.8.4.3)</li> 3876</ul></li> 3877<li>XSL: 3878<ul> 3879 <li><?php bugfix(53965); ?> (<xsl:include> cannot find files with relative paths 3880 when loaded with "file://")</li> 3881</ul></li> 3882<li>Apache2 Handler SAPI: 3883<ul> 3884 <li>Fixed Apache log issue caused by APR's lack of support for %zu 3885 (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120)</li> 3886</ul></li> 3887</ul> 3888<!-- }}} --></section> 3889 3890<section class="version" id="5.5.11"><!-- {{{ 5.5.11 --> 3891<h3>Version 5.5.11</h3> 3892<?php release_date('03-Apr-2014'); ?> 3893<ul><li>Core: 3894<ul> 3895 <li><?php bugfix(60602); ?> (proc_open() changes environment array).</li> 3896 <li>Allow zero length comparison in substr_compare().</li> 3897</ul></li> 3898<li>cURL: 3899<ul> 3900 <li><?php bugfix(66109); ?> (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour).</li> 3901 <li>Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive.</li> 3902</ul></li> 3903<li>Fileinfo: 3904<ul> 3905 <li><?php bugfix(66946); ?> (fileinfo: extensive backtracking in awk rule regular expression). (CVE-2013-7345)</li> 3906</ul></li> 3907<li>FPM: 3908<ul> 3909 <li>Added clear_env configuration directive to disable clearenv() call.</li> 3910</ul></li> 3911<li>GD: 3912<ul> 3913 <li><?php bugfix(66714); ?> (imageconvolution breakage).</li> 3914 <li><?php bugfix(66869); ?> (Invalid 2nd argument crashes imageaffinematrixget).</li> 3915 <li><?php bugfix(66887); ?> (imagescale - poor quality of scaled image).</li> 3916 <li><?php bugfix(66890); ?> (imagescale segfault).</li> 3917 <li><?php bugfix(66893); ?> (imagescale ignore method argument).</li> 3918</ul></li> 3919<li>GMP: 3920<ul> 3921 <li><?php bugfix(66872); ?> (invalid argument crashes gmp_testbit).</li> 3922</ul></li> 3923<li>Hash: 3924<ul> 3925 <li>hash_pbkdf2() now works correctly if the $length argument is not specified.</li> 3926</ul></li> 3927<li>Intl: 3928<ul> 3929 <li><?php bugfix(66873); ?> A reproductible crash in UConverter when given invalid encoding.</li> 3930</ul></li> 3931<li>Mail: 3932<ul> 3933 <li><?php bugfix(66535); ?> (Don't add newline after X-PHP-Originating-Script).</li> 3934</ul></li> 3935<li>MySQLi: 3936<ul> 3937 <li><?php bugfix(66762); ?> (Segfault in mysqli_stmt::bind_result() when link closed).</li> 3938</ul></li> 3939<li>OPCache: 3940<ul> 3941 <li>Added function opcache_is_script_cached().</li> 3942 <li>Added information about interned strings usage.</li> 3943</ul></li> 3944<li>Openssl: 3945<ul> 3946 <li><?php bugfix(66833); ?> (Default disgest algo is still MD5, switch to SHA1).</li> 3947</ul></li> 3948<li>SQLite: 3949<ul> 3950 <li>Updated bundled libsqlite to 3.8.3.1.</li> 3951</ul></li> 3952<li>SPL: 3953<ul> 3954 <li>Added feature <?php bugl(65545); ?> (SplFileObject::fread()).</li> 3955</ul></li> 3956</ul> 3957<!-- }}} --></section> 3958 3959<section class="version" id="5.5.10"><!-- {{{ 5.5.10 --> 3960<h3>Version 5.5.10</h3> 3961<?php release_date('06-Mar-2014'); ?> 3962<ul><li>Core: 3963<ul> 3964 <li><?php bugfix(66574); ?> (Allow multiple paths in php_ini_scanned_path).</li> 3965</ul></li> 3966<li>Date: 3967<ul> 3968 <li><?php bugfix(45528); ?> (Allow the DateTimeZone constructor to accept timezones 3969 per offset too).</li> 3970 <li><?php bugfix(44780); ?> (some time zone offsets not recognized by timezone_name_from_abbr)</li> 3971 <li><?php bugfix(45543); ?> (DateTime::setTimezone can not set timezones without ID)</li> 3972</ul></li> 3973<li>Fileinfo: 3974<ul> 3975 <li><?php bugfix(66731); ?> (file: infinite recursion (CVE-2014-1943)).</li> 3976 <li><?php bugfix(66820); ?> (out-of-bounds memory access in fileinfo (CVE-2014-2270)).</li> 3977</ul></li> 3978<li>GD: 3979<ul> 3980 <li><?php bugfix(66815); ?> (imagecrop(): insufficient fix for NULL defer (CVE-2013-7327)).</li> 3981</ul></li> 3982<li>JSON: 3983<ul> 3984 <li><?php bugfix(65753); ?> (JsonSerializeable couldn't implement on module extension).</li> 3985</ul></li> 3986<li>LDAP: 3987<ul> 3988 <li>Implemented ldap_modify_batch (https://wiki.php.net/rfc/ldap_modify_batch).</li> 3989</ul></li> 3990<li>Openssl: 3991<ul> 3992 <li><?php bugfix(66501); ?> (Add EC key support to php_openssl_is_private_key).</li> 3993</ul></li> 3994<li>PCRE: 3995<ul> 3996 <li>Upgraded to PCRE 8.34.</li> 3997</ul></li> 3998<li>Pgsql: 3999<ul> 4000 <li>Added warning for dangerous client encoding and remove possible injections 4001 for pg_insert()/pg_update()/pg_delete()/pg_select().</li> 4002</ul></li> 4003</ul> 4004<!-- }}} --></section> 4005 4006<section class="version" id="5.5.9"><!-- {{{ 5.5.9 --> 4007<h3>Version 5.5.9</h3> 4008<?php release_date('06-Feb-2014'); ?> 4009<ul><li>Core: 4010<ul> 4011 <li><?php bugfix(66509); ?> (copy() arginfo has changed starting from 5.4).</li> 4012</ul></li> 4013<li>GD: 4014<ul> 4015 <li><?php bugfix(66356); ?> (Heap Overflow Vulnerability in imagecrop(), CVE-2013-7226).</li> 4016</ul></li> 4017<li>OPCache: 4018<ul> 4019 <li><?php bugfix(66474); ?> (Optimizer bug in constant string to boolean conversion).</li> 4020 <li><?php bugfix(66461); ?> (PHP crashes if opcache.interned_strings_buffer=0).</li> 4021 <li><?php bugfix(66298); ?> (ext/opcache/Optimizer/zend_optimizer.c has dos-style ^M as lineend).</li> 4022</ul></li> 4023<li>PDO_pgsql: 4024<ul> 4025 <li><?php bugfix(62479); ?> (PDO-pgsql cannot connect if password contains spaces).</li> 4026</ul></li> 4027<li>Readline: 4028<ul> 4029 <li><?php bugfix(66412); ?> (readline_clear_history() with libedit causes segfault after <?php bugl(65714); ?>).</li> 4030</ul></li> 4031<li>Session: 4032<ul> 4033 <li><?php bugfix(66469); ?> (Session module is sending multiple set-cookie headers when session.use_strict_mode=1).</li> 4034 <li><?php bugfix(66481); ?> (Segfaults on session_name()).</li> 4035</ul></li> 4036<li>Standard: 4037<ul> 4038 <li><?php bugfix(66395); ?> (basename function doesn't remove drive letter).</li> 4039</ul></li> 4040<li>Sockets: 4041<ul> 4042 <li><?php bugfix(66381); ?> (__ss_family was changed on AIX 5.3).</li> 4043</ul></li> 4044<li>Zend Engine: 4045<ul> 4046 <li><?php bugfix(66009); ?> (Failed compilation of PHP extension with C++ std library using VS 2012).</li> 4047</ul></li> 4048</ul> 4049<!-- }}} --></section> 4050 4051<section class="version" id="5.5.8"><!-- {{{ 5.5.8 --> 4052<h3>Version 5.5.8</h3> 4053<?php release_date('09-Jan-2014'); ?> 4054<ul><li>Core: 4055<ul> 4056 <li>Disallowed JMP into a finally block.</li> 4057 <li>Added validation of class names in the autoload process.</li> 4058 <li>Fixed invalid C code in zend_strtod.c.</li> 4059 <li><?php bugfix(66041); ?> (list() fails to unpack yielded ArrayAccess object).</li> 4060 <li><?php bugfix(65764); ?> (generators/throw_rethrow FAIL with ZEND_COMPILE_EXTENDED_INFO).</li> 4061 <li><?php bugfix(61645); ?> (fopen and O_NONBLOCK).</li> 4062 <li><?php bugfix(66218); ?> (zend_register_functions breaks reflection).</li> 4063</ul></li> 4064<li>Date: 4065<ul> 4066 <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval, CVE-2013-6712).</li> 4067 <li><?php bugfix(65768); ?> (DateTimeImmutable::diff does not work).</li> 4068</ul></li> 4069<li>DOM: 4070<ul> 4071 <li><?php bugfix(65196); ?> (Passing DOMDocumentFragment to DOMDocument::saveHTML() 4072 Produces invalid Markup).</li> 4073</ul></li> 4074<li>Exif: 4075<ul> 4076 <li><?php bugfix(65873); ?> (Integer overflow in exif_read_data()).</li> 4077</ul></li> 4078<li>Filter: 4079<ul> 4080 <li><?php bugfix(66229); ?> (128.0.0.0/16 isn't reserved any longer).</li> 4081</ul></li> 4082<li>GD: 4083<ul> 4084 <li><?php bugfix(64405); ?> (Use freetype-config for determining freetype2 dir(s)).</li> 4085</ul></li> 4086<li>PDO_odbc: 4087<ul> 4088 <li><?php bugfix(66311); ?> (Stack smashing protection kills PDO/ODBC queries).</li> 4089</ul></li> 4090<li>MySQLi: 4091<ul> 4092 <li><?php bugfix(65486); ?> (mysqli_poll() is broken on win x64).</li> 4093</ul></li> 4094<li>OPCache: 4095<ul> 4096 <li>Fixed revalidate_path=1 behavior to avoid caching of symlinks values.</li> 4097 <li><?php githubissue('zendtech/ZendOptimizerPlus', 140); ?> ("opcache.enable_file_override" doesn't respect 4098 "opcache.revalidate_freq".)</li> 4099</ul></li> 4100<li>SNMP: 4101<ul> 4102 <li>Fixed SNMP_ERR_TOOBIG handling for bulk walk operations.</li> 4103</ul></li> 4104<li>SOAP: 4105<ul> 4106 <li><?php bugfix(66112); ?> (Use after free condition in SOAP extension).</li> 4107</ul></li> 4108<li>Sockets: 4109<ul> 4110 <li><?php bugfix(65923); ?> (ext/socket assumes AI_V4MAPPED is defined).</li> 4111</ul></li> 4112<li>XSL: 4113<ul> 4114 <li><?php bugfix(49634); ?> (Segfault throwing an exception in a XSL registered function).</li> 4115</ul></li> 4116<li>ZIP: 4117<ul> 4118 <li><?php bugfix(66321); ?> (ZipArchive::open() ze_obj->filename_len not real).</li> 4119</ul></li> 4120</ul> 4121<!-- }}} --></section> 4122 4123<section class="version" id="5.5.7"><!-- {{{ 5.5.7 --> 4124<h3>Version 5.5.7</h3> 4125<?php release_date('12-Dec-2013'); ?> 4126<ul><li>Core: 4127<ul> 4128 <li><?php bugfix(66094); ?> (unregister_tick_function tries to cast a Closure to a string).</li> 4129 <li><?php bugfix(65969); ?> (Chain assignment with T_LIST failure).</li> 4130</ul></li> 4131<li>CLI server: 4132<ul> 4133 <li>Added some MIME types to the CLI web server.</li> 4134 <li><?php implemented(65917); ?> (getallheaders() is not supported by the built-in web 4135 server) - also implements apache_response_headers()</li> 4136</ul></li> 4137<li>OPCache: 4138<ul> 4139 <li><?php bugfix(66176); ?> (Invalid constant substitution).</li> 4140 <li><?php bugfix(65915); ?> (Inconsistent results with require return value).</li> 4141 <li><?php bugfix(65559); ?> (Opcache: cache not cleared if changes occur while running).</li> 4142</ul></li> 4143<li>readline: 4144<ul> 4145 <li><?php bugfix(65714); ?> (PHP cli forces the tty to cooked mode).</li> 4146</ul></li> 4147<li>Openssl: 4148<ul> 4149 <li>Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420).</li> 4150</ul></li> 4151</ul> 4152<!-- }}} --></section> 4153 4154<section class="version" id="5.5.6"><!-- {{{ 5.5.6 --> 4155<h3>Version 5.5.6</h3> 4156<?php release_date('14-Nov-2013'); ?> 4157<ul><li>Core: 4158<ul> 4159 <li>Improved performance of array_merge() and func_get_args() by eliminating useless copying.</li> 4160 <li><?php bugfix(65947); ?> (basename is no more working after fgetcsv in certain situation).</li> 4161 <li><?php bugfix(65939); ?> (Space before ";" breaks php.ini parsing).</li> 4162 <li><?php bugfix(65911); ?> (scope resolution operator - strange behavior with $this).</li> 4163 <li><?php bugfix(65936); ?> (dangling context pointer causes crash).</li> 4164</ul></li> 4165<li>FPM: 4166<ul> 4167 <li>Changed default listen() backlog to 65535.</li> 4168</ul></li> 4169<li>JSON: 4170<ul> 4171 <li><?php bugfix(64874); ?> (json_decode handles whitespace incorrectly).</li> 4172</ul></li> 4173<li>MySQLi: 4174<ul> 4175 <li><?php bugfix(66043); ?> (Segfault calling bind_param() on mysqli).</li> 4176</ul></li> 4177<li>OPCache: 4178<ul> 4179 <li>Increased limit for opcache.max_accelerated_files to 1,000,000.</li> 4180 <li><?php githubissue('zendtech/ZendOptimizerPlus', 115); ?> (path issue when using phar).</li> 4181 <li><?php githubissue('zendtech/ZendOptimizerPlus', 149); ?> (Phar mount points not working with OPcache enabled).</li> 4182</ul></li> 4183<li>ODBC: 4184<ul> 4185 <li><?php bugfix(65950); ?> (Field name truncation if the field name is bigger than 32 characters).</li> 4186</ul></li> 4187<li>PDO: 4188<ul> 4189 <li><?php bugfix(66033); ?> (Segmentation Fault when constructor of PDO statement throws an exception).</li> 4190 <li><?php bugfix(65946); ?> (sql_parser permanently converts values bound to strings).</li> 4191</ul></li> 4192<li>Standard: 4193<ul> 4194 <li><?php bugfix(64760); ?> (var_export() does not use full precision for floating-point numbers).</li> 4195</ul></li> 4196</ul> 4197<!-- }}} --></section> 4198 4199<section class="version" id="5.5.5"><!-- {{{ 5.5.5 --> 4200<h3>Version 5.5.5</h3> 4201<?php release_date('17-Oct-2013'); ?> 4202<ul><li>Core: 4203<ul> 4204 <li><?php bugfix(64979); ?> (Wrong behavior of static variables in closure generators).</li> 4205 <li><?php bugfix(65322); ?> (compile time errors won't trigger auto loading).</li> 4206 <li><?php bugfix(65821); ?> (By-ref foreach on property access of string offset segfaults).</li> 4207</ul></li> 4208<li>CLI Server: 4209<ul> 4210 <li><?php bugfix(65633); ?> (built-in server treat some http headers as case-sensitive).</li> 4211 <li><?php bugfix(65818); ?> (Segfault with built-in webserver and chunked transfer encoding).</li> 4212 <li>Added application/pdf to PHP CLI Web Server mime types</li> 4213</ul></li> 4214<li>Datetime: 4215<ul> 4216 <li><?php bugfix(64157); ?> (DateTime::createFromFormat() reports confusing error message).</li> 4217 <li><?php bugfix(65502); ?> (DateTimeImmutable::createFromFormat returns DateTime).</li> 4218 <li><?php bugfix(65548); ?> (Comparison for DateTimeImmutable doesn't work).</li> 4219</ul></li> 4220<li>DBA: 4221<ul> 4222 <li><?php bugfix(65708); ?> (dba functions cast $key param to string in-place, bypassing copy on write).</li> 4223</ul></li> 4224<li>Filter: 4225<ul> 4226 <li>Add RFC 6598 IPs to reserved addresses.</li> 4227 <li><?php bugfix(64441); ?> (FILTER_VALIDATE_URL rejects fully qualified domain names).</li> 4228</ul></li> 4229<li>FTP: 4230<ul> 4231 <li><?php bugfix(65667); ?> (ftp_nb_continue produces segfault).</li> 4232</ul></li> 4233<li>GD: 4234<ul> 4235 <li>Ensure that the defined interpolation method is used with the generic scaling methods.</li> 4236</ul></li> 4237<li>IMAP: 4238<ul> 4239 <li><?php bugfix(65721); ?> (configure script broken in 5.5.4 and 5.4.20 when enabling imap).</li> 4240</ul></li> 4241<li>OPCache: 4242<ul> 4243 <li><?php bugfix(65845); ?> (Error when Zend Opcache Optimizer is fully enabled).</li> 4244 <li><?php bugfix(65665); ?> (Exception not properly caught when opcache enabled).</li> 4245 <li><?php bugfix(65510); ?> (5.5.2 crashes in _get_zval_ptr_ptr_var).</li> 4246 <li><?php githubissue('zendtech/ZendOptimizerPlus', 135); ?> (segfault in interned strings if initial memory is too low).</li> 4247 <li>Added function opcache_compile_file() to load PHP scripts into cache without execution.</li> 4248 <li>Added support for GNU Hurd.</li> 4249</ul></li> 4250<li>Sockets: 4251<ul> 4252 <li><?php bugfix(65808); ?> (the socket_connect() won't work with IPv6 address).</li> 4253</ul></li> 4254<li>SPL: 4255<ul> 4256 <li><?php bugfix(64782); ?> (SplFileObject constructor make $context optional / give it a default value).</li> 4257</ul></li> 4258<li>Standard: 4259<ul> 4260 <li><?php bugfix(61548); ?> content-type must appear at the end of headers for 201 Location to work in http.</li> 4261</ul></li> 4262<li>XMLReader: 4263<ul> 4264 <li><?php bugfix(51936); ?> Crash with clone XMLReader.</li> 4265 <li><?php bugfix(64230); ?> XMLReader does not suppress errors.</li> 4266</ul></li> 4267<li>Build system: 4268<ul> 4269 <li><?php bugfix(51076); ?> Race condition in shtool's mkdir -p implementation.</li> 4270 <li><?php bugfix(62396); ?> 'make test' crashes starting with 5.3.14 (missing gzencode()).</li> 4271</ul></li> 4272</ul> 4273<!-- }}} --></section> 4274 4275<section class="version" id="5.5.4"><!-- {{{ 5.5.4 --> 4276<h3>Version 5.5.4</h3> 4277<?php release_date('19-Sep-2013'); ?> 4278<ul><li>Core: 4279<ul> 4280 <li><?php bugfix(60598); ?> (cli/apache sapi segfault on objects manipulation).</li> 4281 <li>Improved fputcsv() to allow specifying escape character.</li> 4282 <li><?php bugfix(65483); ?> (quoted-printable encode stream filter incorrectly encoding spaces).</li> 4283 <li><?php bugfix(65470); ?> (Segmentation fault in zend_error() with --enable-dtrace).</li> 4284 <li><?php bugfix(65490); ?> (Duplicate calls to get lineno & filename for DTRACE_FUNCTION_*).</li> 4285 <li><?php bugfix(65225); ?> (PHP_BINARY incorrectly set).</li> 4286 <li><?php bugfix(62692); ?> (PHP fails to build with DTrace). </li> 4287 <li><?php bugfix(61759); ?> (class_alias() should accept classes with leading backslashes). </li> 4288 <li><?php bugfix(46311); ?> (Pointer aliasing issue results in miscompile on gcc4.4). </li> 4289</ul></li> 4290<li>cURL: 4291<ul> 4292 <li><?php bugfix(65458); ?> (curl memory leak).</li> 4293</ul></li> 4294<li>Datetime: 4295<ul> 4296 <li><?php bugfix(65554); ?> (createFromFormat broken when weekday name is followed by some delimiters).</li> 4297 <li><?php bugfix(65564); ?> (stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer).</li> 4298</ul></li> 4299<li>OPCache: 4300<ul> 4301 <li><?php bugfix(65561); ?> (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4).</li> 4302</ul></li> 4303<li>Openssl: 4304<ul> 4305 <li><?php bugfix(64802); ?> (openssl_x509_parse fails to parse subject properly in some cases).</li> 4306</ul></li> 4307<li>Session: 4308<ul> 4309 <li><?php bugfix(65475); ?> (Session ID is not initialized properly when strict session is enabled).</li> 4310 <li><?php bugfix(51127); ?> and <?php bugl(65359); ?>, FR <?php bugl(25630); ?>/<?php bugl(43980); ?>/<?php bugl(54383); ?> (Added php_serialize session serialize handler that uses plain serialize())</li> 4311</ul></li> 4312<li>Standard: 4313<ul> 4314 <li> Fix issue with return types of password API helper functions. Found via static analysis by cjones.</li> 4315</ul></li> 4316</ul> 4317<!-- }}} --></section> 4318 4319<section class="version" id="5.5.3"><!-- {{{ 5.5.3 --> 4320<h3>Version 5.5.3</h3> 4321<?php release_date('22-Aug-2013'); ?> 4322<ul><li>Openssl: 4323<ul> 4324 <li>Fixed UMR in fix for CVE-2013-4248.</li> 4325</ul></li> 4326</ul> 4327<!-- }}} --></section> 4328 4329<section class="version" id="5.5.2"><!-- {{{ 5.5.2 --> 4330<h3>Version 5.5.2</h3> 4331<?php release_date('15-Aug-2013'); ?> 4332<ul><li>Core: 4333<ul> 4334 <li><?php bugfix(65372); ?> (Segfault in gc_zval_possible_root when return reference fails).</li> 4335 <li>Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). </li> 4336 <li><?php bugfix(65304); ?> (Use of max int in array_sum).</li> 4337 <li><?php bugfix(65291); ?> (get_defined_constants() causes PHP to crash in a very limited case).</li> 4338 <li><?php bugfix(62691); ?> (solaris sed has no -i switch).</li> 4339 <li><?php bugfix(61345); ?> (CGI mode - make install don't work).</li> 4340 <li><?php bugfix(61268); ?> (--enable-dtrace leads make to clobber Zend/zend_dtrace.d).</li> 4341</ul></li> 4342<li>DOM: 4343<ul> 4344 <li>Added flags option to DOMDocument::schemaValidate() and DOMDocument::schemaValidateSource(). Added LIBXML_SCHEMA_CREATE flag.</li> 4345</ul></li> 4346<li>OPcache: 4347<ul> 4348 <li>Added opcache.restrict_api configuration directive that may limit usage of OPcahce API functions only to patricular script(s).</li> 4349 <li>Added support for glob symbols in blacklist entries (?, *, **).</li> 4350 <li><?php bugfix(65338); ?> (Enabling both php_opcache and php_wincache AVs on shutdown).</li> 4351</ul></li> 4352<li>Openssl: 4353<ul> 4354 <li>Fixed handling null bytes in subjectAltName (CVE-2013-4248).</li> 4355</ul></li> 4356<li>PDO_mysql: 4357<ul> 4358 <li><?php bugfix(65299); ?> (pdo mysql parsing errors).</li> 4359</ul></li> 4360<li>Phar: 4361<ul> 4362 <li><?php bugfix(65028); ?> (Phar::buildFromDirectory creates corrupt archives for some specific contents).</li> 4363</ul></li> 4364<li>Pgsql: 4365<ul> 4366 <li><?php bugfix(62978); ?> (Disallow possible SQL injections with pg_select()/pg_update() /pg_delete()/pg_insert()).</li> 4367 <li><?php bugfix(65336); ?> (pg_escape_literal/identifier() silently returns false).</li> 4368</ul></li> 4369<li>Sessions: 4370<ul> 4371 <li>Implemented strict sessions RFC (https://wiki.php.net/rfc/strict_sessions) which protects against session fixation attacks and session collisions (CVE-2011-4718).</li> 4372 <li>Fixed possible buffer overflow under Windows. Note: Not a security fix.</li> 4373 <li>Changed session.auto_start to PHP_INI_PERDIR.</li> 4374</ul></li> 4375<li>SOAP: 4376<ul> 4377 <li><?php bugfix(65018); ?> (SoapHeader problems with SoapServer).</li> 4378</ul></li> 4379<li>SPL: 4380<ul> 4381 <li><?php bugfix(65328); ?> (Segfault when getting SplStack object Value).</li> 4382 <li>Added RecursiveTreeIterator setPostfix and getPostifx methods.</li> 4383 <li><?php bugfix(61697); ?> (spl_autoload_functions returns lambda functions incorrectly).</li> 4384</ul></li> 4385<li>Streams: 4386<ul> 4387 <li><?php bugfix(65268); ?> (select() implementation uses outdated tick API).</li> 4388</ul></li> 4389</ul> 4390<!-- }}} --></section> 4391 4392<section class="version" id="5.5.1"><!-- {{{ 5.5.1 --> 4393<h3>Version 5.5.1</h3> 4394<?php release_date('18-Jul-2013'); ?> 4395<ul><li>Core: 4396<ul> 4397 <li><?php bugfix(65254); ?> (Exception not catchable when exception thrown in autoload with a namespace).</li> 4398 <li><?php bugfix(65088); ?> (Generated configure script is malformed on OpenBSD).</li> 4399 <li><?php bugfix(65108); ?> (is_callable() triggers Fatal Error).</li> 4400 <li><?php bugfix(65035); ?> (yield / exit segfault).</li> 4401 <li><?php bugfix(65161); ?> (Generator + autoload + syntax error = segfault).</li> 4402 <li><?php bugfix(65226); ?> (chroot() does not get enabled).</li> 4403 <li>hex2bin() raises E_WARNING for invalid hex string.</li> 4404</ul></li> 4405<li>OPcache: 4406<ul> 4407 <li><?php bugfix(64827); ?> (Segfault in zval_mark_grey (zend_gc.c)).</li> 4408 <li>OPcache is now compatible with LiteSpeed SAPI.</li> 4409</ul></li> 4410<li>CGI: 4411<ul> 4412 <li><?php bugfix(65143); ?> (Missing php-cgi man page).</li> 4413</ul></li> 4414<li>CLI server: 4415<ul> 4416 <li><?php bugfix(65066); ?> (Cli server not responsive when responding with 422 http status code).</li> 4417</ul></li> 4418<li>DateTime: 4419<ul> 4420 <li><?php bugfix(65184); ?> (strftime() returns insufficient-length string under multibyte locales).</li> 4421</ul></li> 4422<li>GD: 4423<ul> 4424 <li><?php bugfix(65070); ?> (bgcolor does not use the same format as the input image with imagerotate).</li> 4425 <li><?php bugfix(65060); ?> (imagecreatefrom... crashes with user streams).</li> 4426 <li><?php bugfix(65084); ?> (imagecreatefromjpeg fails with URL).</li> 4427 <li>Fix gdImageCreateFromWebpCtx and use same logic to load WebP image that other formats.</li> 4428</ul></li> 4429<li>Intl: 4430<ul> 4431 <li>Add IntlCalendar::setMinimalDaysInFirstWeek()/intlcal_set_minimal_days_in_first_week().</li> 4432 <li>Fixed trailing space in name of constant IntlCalendar::FIELD_FIELD_COUNT.</li> 4433 <li><?php bugfix(62759); ?> (Buggy grapheme_substr() on edge case).</li> 4434 <li><?php bugfix(61860); ?> (Offsets may be wrong for grapheme_stri* functions).</li> 4435</ul></li> 4436<li>OCI8: 4437<ul> 4438 <li>Bump PECL package info version check to allow PECL installs with PHP 5.5+.</li> 4439</ul></li> 4440<li>PDO: 4441<ul> 4442 <li>Allowed PDO_OCI to compile with Oracle Database 12c client libraries.</li> 4443</ul></li> 4444<li>Pgsql: 4445<ul> 4446 <li>pg_unescape_bytea() raises E_WARNING for invalid inputs.</li> 4447</ul></li> 4448<li>Phar: 4449<ul> 4450 <li><?php bugfix(65142); ?> (Missing phar man page).</li> 4451</ul></li> 4452<li>Session: 4453<ul> 4454 <li>Added optional create_sid() argument to session_set_save_handler(), SessionHandler and new SessionIdInterface.</li> 4455</ul></li> 4456<li>Sockets: 4457<ul> 4458 <li><?php bugl(63472); ?>Setting SO_BINDTODEVICE with socket_set_option.</li> 4459 <li>Allowed specifying paths in the abstract namespace for the functions socket_bind(), socket_connect() and socket_sendmsg().</li> 4460 <li><?php bugfix(65260); ?>sendmsg() ancillary data construction for SCM_RIGHTS is faulty.</li> 4461</ul></li> 4462<li>SPL: 4463<ul> 4464 <li><?php bugfix(65136); ?>RecursiveDirectoryIterator segfault.</li> 4465 <li><?php bugfix(61828); ?>Memleak when calling Directory(Recursive)Iterator/Spl(Temp)FileObject ctor twice.</li> 4466</ul></li> 4467<li>CGI/FastCGI SAPI: 4468<ul> 4469 <li>Added PHP_FCGI_BACKLOG, overrides the default listen backlog.</li> 4470</ul></li> 4471</ul> 4472<!-- }}} --></section> 4473 4474<section class="version" id="5.5.0"><!-- {{{ 5.5.0 --> 4475<h3>Version 5.5.0</h3> 4476<?php release_date('20-Jun-2013'); ?> 4477<ul> 4478<li>Drop support for bison < 2.4 when building PHP from GIT source</li> 4479</ul> 4480 4481<ul> 4482<li>Improved Zend Engine: 4483<ul> 4484 <li>Added ARMv7/v8 versions of various Zend arithmetic functions that are implemented using inline assembler</li> 4485 <li>Added systemtap support by enabling systemtap compatible dtrace probes on linux</li> 4486 <li>Optimized access to temporary and compiled VM variables. 8% less memory reads</li> 4487 <li>The VM stacks for passing function arguments and syntaticaly nested calls 4488 were merged into a single stack. The stack size needed for op_array 4489 execution is calculated at compile time and preallocated at once. As result 4490 all the stack push operations don't require checks for stack overflow 4491 any more</li> 4492</ul></li> 4493</ul> 4494 4495<ul> 4496<li>General improvements: 4497<ul> 4498 <li>Added generators and coroutines.</li> 4499 <li>Added "finally" keyword. </li> 4500 <li>Added simplified password hashing API.</li> 4501 <li>Added support for constant array/string dereferencing.</li> 4502 <li>Added Class Name Resolution As Scalar Via "class" Keyword</li> 4503 <li>Added support for using empty() on the result of function calls and other expressions</li> 4504 <li>Added support for non-scalar Iterator keys in foreach</li> 4505 <li>Added support for list in foreach</li> 4506</ul></li> 4507</ul> 4508 4509<ul> 4510<li>Core: 4511<ul> 4512 <li>Added Zend Opcache extension and enable building it by default.</li> 4513 <li>Added array_column function which returns a column in a multidimensional array</li> 4514 <li>Added boolval()</li> 4515 <li>Added "Z" option to pack/unpack</li> 4516 <li>Added optional second argument for assert() to specify custom message</li> 4517 <li>Added support for changing the process's title in CLI/CLI-Server SAPIs. The implementation is more robust that the proctitle PECL module</li> 4518 <li>Improve set_exception_handler while doing reset</li> 4519 <li>Return previous handler when passing NULL to set_error_handler and set_exception_handler</li> 4520 <li><?php implemented(64175); ?> (Added HTTP codes as of RFC 6585)</li> 4521 <li><?php implemented(60738); ?> (Allow 'set_error_handler' to handle NULL)</li> 4522 <li><?php implemented(60524); ?> (specify temp dir by php.ini)</li> 4523 <li><?php implemented(46487); ?> (Dereferencing process-handles no longer waits on those processes)</li> 4524 <li><?php bugfix(65051); ?> (count() off by one inside unset())</li> 4525 <li><?php bugfix(64988); ?> (Class loading order affects E_STRICT warning)</li> 4526 <li><?php bugfix(64966); ?> (segfault in zend_do_fcall_common_helper_SPEC)</li> 4527 <li><?php bugfix(64960); ?> (Segfault in gc_zval_possible_root)</li> 4528 <li><?php bugfix(64936); ?> (doc comments picked up from previous scanner run)</li> 4529 <li><?php bugfix(64934); ?> (Apache2 TS crash with get_browser())</li> 4530 <li><?php bugfix(64879); ?> (Heap based buffer overflow in quoted_printable_encode, CVE 2013-2110)</li> 4531 <li><?php bugfix(64853); ?> (Use of no longer available ini directives causes crash on TS build)</li> 4532 <li><?php bugfix(64821); ?> (Custom Exceptions crash when internal properties overridden)</li> 4533 <li><?php bugfix(64720); ?> (SegFault on zend_deactivate).</li> 4534 <li><?php bugfix(64677); ?> (execution operator `` stealing surrounding arguments)</li> 4535 <li><?php bugfix(64660); ?> (Segfault on memory exhaustion within function definition)</li> 4536 <li><?php bugfix(64578); ?> (debug_backtrace in set_error_handler corrupts zend heap: segfault)</li> 4537 <li><?php bugfix(64565); ?> (copy doesn't report failure on partial copy)</li> 4538 <li><?php bugfix(64555); ?> (foreach no longer copies keys if they are interned)</li> 4539 <li><?php bugfix(47675); ?> and <?php bugfix(64577); ?> (fd leak on Solaris)</li> 4540 <li><?php bugfix(64544); ?> (Valgrind warnings after using putenv)</li> 4541 <li><?php bugfix(64515); ?> (Memoryleak when using the same variablename 2times in function declaration)</li> 4542 <li><?php bugfix(64503); ?> (Compilation fails with error: conflicting types for 'zendparse')</li> 4543 <li><?php bugfix(64239); ?> (Debug backtrace changed behavior since 5.4.10 or 5.4.11)</li> 4544 <li><?php bugfix(64523); ?> allow XOR in php.ini</li> 4545 <li><?php bugfix(64354); ?> (Unserialize array of objects whose class can't be autoloaded fail)</li> 4546 <li><?php bugfix(64370); ?> (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT'])</li> 4547 <li><?php bugfix(64166); ?> (quoted-printable-encode stream filter incorrectly discarding whitespace)</li> 4548 <li><?php bugfix(64142); ?> (dval to lval different behavior on ppc64)</li> 4549 <li><?php bugfix(64135); ?> (Exceptions from set_error_handler are not always propagated)</li> 4550 <li><?php bugfix(63980); ?> (object members get trimmed by zero bytes)</li> 4551 <li><?php bugfix(63874); ?> (Segfault if php_strip_whitespace has heredoc)</li> 4552 <li><?php bugfix(63830); ?> (Segfault on undefined function call in nested generator)</li> 4553 <li><?php bugfix(63822); ?> (Crash when using closures with ArrayAccess)</li> 4554 <li><?php bugfix(61681); ?> (Malformed grammar)</li> 4555 <li><?php bugfix(61038); ?> (unpack("a5", "str\0\0") does not work as expected)</li> 4556 <li><?php bugfix(61025); ?> (__invoke() visibility not honored)</li> 4557 <li><?php bugfix(60833); ?> (self, parent, static behave inconsistently case-sensitive)</li> 4558 <li><?php bugfix(52126); ?> timestamp for mail.log</li> 4559 <li><?php bugfix(49348); ?> (Uninitialized ++$foo->bar; does not cause a notice)</li> 4560 <li><?php bugfix(23955); ?> allow specifying Max-Age attribute in setcookie()</li> 4561 <li><?php bugfix(18556); ?> (Engine uses locale rules to handle class names)</li> 4562 <li>Fix undefined behavior when converting double variables to integers. The double is now always rounded towards zero, the remainder of its division by 2^32 or 2^64 (depending on sizeof(long)) is calculated and it's made signed assuming a two's complement representation</li> 4563</ul></li> 4564</ul> 4565 4566<ul> 4567<li>Removed legacy features: 4568<ul> 4569 <li>Remove php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid(), zend_logo_guid()</li> 4570 <li>Drop Windows XP and 2003 support</li> 4571</ul></li> 4572</ul> 4573 4574<ul> 4575<li>Apache2 Handler SAPI: 4576<ul> 4577 <li>Enabled Apache 2.4 configure option for Windows.</li> 4578</ul></li> 4579</ul> 4580 4581<ul> 4582<li>Calendar: 4583<ul> 4584 <li><?php bugfix(64895); ?> (Integer overflow in SndToJewish).</li> 4585 <li><?php bugfix(54254); ?> (cal_from_jd returns month = 6 when there is only one Adar).</li> 4586</ul></li> 4587</ul> 4588 4589<ul> 4590<li>CLI server: 4591<ul> 4592 <li><?php bugfix(64128); ?> (buit-in web server is broken on ppc64).</li> 4593</ul></li> 4594</ul> 4595 4596<ul> 4597<li>CURL: 4598<ul> 4599 <li>Remove curl stream wrappers.</li> 4600 <li><?php implemented(46439); ?> (added CURLFile for safer file uploads).</li> 4601 <li>Added support for CURLOPT_FTP_RESPONSE_TIMEOUT, CURLOPT_APPEND, 4602 CURLOPT_DIRLISTONLY, CURLOPT_NEW_DIRECTORY_PERMS, CURLOPT_NEW_FILE_PERMS, 4603 CURLOPT_NETRC_FILE, CURLOPT_PREQUOTE, CURLOPT_KRBLEVEL, CURLOPT_MAXFILESIZE, 4604 CURLOPT_FTP_ACCOUNT, CURLOPT_COOKIELIST, CURLOPT_IGNORE_CONTENT_LENGTH, 4605 CURLOPT_CONNECT_ONLY, CURLOPT_LOCALPORT, CURLOPT_LOCALPORTRANGE, 4606 CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_SSL_SESSIONID_CACHE, 4607 CURLOPT_FTP_SSL_CCC, CURLOPT_HTTP_CONTENT_DECODING, 4608 CURLOPT_HTTP_TRANSFER_DECODING, CURLOPT_PROXY_TRANSFER_MODE, 4609 CURLOPT_ADDRESS_SCOPE, CURLOPT_CRLFILE, CURLOPT_ISSUERCERT, 4610 CURLOPT_USERNAME, CURLOPT_PASSWORD, CURLOPT_PROXYUSERNAME, 4611 CURLOPT_PROXYPASSWORD, CURLOPT_NOPROXY, CURLOPT_SOCKS5_GSSAPI_NEC, 4612 CURLOPT_SOCKS5_GSSAPI_SERVICE, CURLOPT_TFTP_BLKSIZE, 4613 CURLOPT_SSH_KNOWNHOSTS, CURLOPT_FTP_USE_PRET, CURLOPT_MAIL_FROM, 4614 CURLOPT_MAIL_RCPT, CURLOPT_RTSP_CLIENT_CSEQ, CURLOPT_RTSP_SERVER_CSEQ, 4615 CURLOPT_RTSP_SESSION_ID, CURLOPT_RTSP_STREAM_URI, CURLOPT_RTSP_TRANSPORT, 4616 CURLOPT_RTSP_REQUEST, CURLOPT_RESOLVE, CURLOPT_ACCEPT_ENCODING, 4617 CURLOPT_TRANSFER_ENCODING, CURLOPT_DNS_SERVERS and CURLOPT_USE_SSL</li> 4618 <li><?php bugfix(55635); ?> (CURLOPT_BINARYTRANSFER no longer used. The constant 4619 still exists for backward compatibility but is doing nothing)</li> 4620 <li><?php bugfix(54995); ?> (Missing CURLINFO_RESPONSE_CODE support)</li> 4621 <li>Added new functions curl_escape, curl_multi_setopt, curl_multi_strerror 4622 curl_pause, curl_reset, curl_share_close, curl_share_init, 4623 curl_share_setopt curl_strerror and curl_unescape</li> 4624 <li>Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION, 4625 CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE, 4626 CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL</li> 4627</ul></li> 4628</ul> 4629 4630<ul> 4631<li>DateTime: 4632<ul> 4633 <li>Added DateTimeImmutable - a variant of DateTime that only returns the 4634 modified state instead of changing itself.</li> 4635 <li><?php bugfix(64825); ?> (Invalid free when unserializing DateTimeZone).</li> 4636 <li><?php bugfix(64359); ?> (strftime crash with VS2012)</li> 4637 <li><?php bugfix(62852); ?> (Unserialize Invalid Date causes crash)</li> 4638 <li><?php bugfix(61642); ?> (modify("+5 weekdays") returns Sunday)</li> 4639 <li><?php bugfix(60774); ?> (DateInterval::format("%a") is always zero when an 4640 interval is created using the createFromDateString method)</li> 4641 <li><?php bugfix(54567); ?> (DateTimeZone serialize/unserialize)</li> 4642 <li><?php bugfix(53437); ?> (Crash when using unserialized DatePeriod instance)</li> 4643</ul></li> 4644</ul> 4645 4646<ul> 4647<li>dba: 4648<ul> 4649 <li><?php bugfix(62489); ?> (dba_insert not working as expected)</li> 4650</ul></li> 4651</ul> 4652 4653<ul> 4654<li>Filter: 4655<ul> 4656 <li><?php implemented(49180); ?> (added MAC address validation)</li> 4657</ul></li> 4658</ul> 4659 4660<ul> 4661<li>Fileinfo: 4662<ul> 4663 <li>Upgraded libmagic to 5.14.</li> 4664 <li><?php bugfix(64830); ?> (mimetype detection segfaults on mp3 file)</li> 4665 <li><?php bugfix(63590); ?> (Different results in TS and NTS under Windows)</li> 4666 <li><?php bugfix(63248); ?> (Load multiple magic files from a directory under Windows)</li> 4667</ul></li> 4668</ul> 4669 4670<ul> 4671<li>FPM: 4672<ul> 4673 <li>Add --with-fpm-systemd option to report health to systemd, and 4674 systemd_interval option to configure this. The service can now use 4675 Type=notify in the systemd unit file.</li> 4676 <li>Ignore QUERY_STRING when sent in SCRIPT_FILENAME</li> 4677 <li>Log a warning when a syscall fails</li> 4678 <li><?php implemented(64764); ?> (add support for FPM init.d script)</li> 4679 <li><?php bugfix(64915); ?> (error_log ignored when daemonize=0)</li> 4680 <li><?php bugfix(63999); ?> (php with fpm fails to build on Solaris 10 or 11)</li> 4681 <li>Fixed some possible memory or resource leaks and possible null dereference 4682 detected by code coverity scan</li> 4683</ul></li> 4684</ul> 4685 4686<ul> 4687<li>GD: 4688<ul> 4689 <li><?php bugfix(64962); ?> (imagerotate produces corrupted image).</li> 4690 <li><?php bugfix(64961); ?> (segfault in imagesetinterpolation)</li> 4691 <li>Fix build with system libgd >= 2.1 which is now the minimal 4692 version required (as build with previous version is broken). 4693 No change when bundled libgd is used</li> 4694 <li>Upgraded libgd to 2.1</li> 4695</ul></li> 4696</ul> 4697 4698<ul> 4699<li>hash: 4700<ul> 4701 <li>Added support for PBKDF2 via hash_pbkdf2().</li> 4702 <li><?php bugfix(64745); ?> (hash_pbkdf2() truncates data when using default length 4703 and hex output)</li> 4704</ul></li> 4705</ul> 4706 4707<ul> 4708<li>intl: 4709<ul> 4710 <li>Added UConverter wrapper.</li> 4711 <li>The intl extension now requires ICU 4.0+</li> 4712 <li>Added intl.use_exceptions INI directive, which controls what happens when 4713 global errors are set together with intl.error_level</li> 4714 <li>MessageFormatter::format() and related functions now accepted named 4715 arguments and mixed numeric/named arguments in ICU 4.8+</li> 4716 <li>MessageFormatter::format() and related functions now don't error out when 4717 an insufficient argument count is provided. Instead, the placeholders will 4718 remain unsubstituted</li> 4719 <li>MessageFormatter::parse() and MessageFormat::format() (and their static 4720 equivalents) don't throw away better than second precision in the arguments</li> 4721 <li>IntlDateFormatter::__construct and datefmt_create() now accept for the 4722 $timezone argument time zone identifiers, IntlTimeZone objects, DateTimeZone 4723 objects and NULL</li> 4724 <li>IntlDateFormatter::__construct and datefmt_create() no longer accept invalid 4725 timezone identifiers or empty strings</li> 4726 <li>The default time zone used in IntlDateFormatter::__construct and 4727 datefmt_create() (when the corresponding argument is not passed or NULL is 4728 passed) is now the one given by date_default_timezone_get(), not the 4729 default ICU time zone</li> 4730 <li>The time zone passed to the IntlDateFormatter is ignored if it is NULL and 4731 if the calendar passed is an IntlCalendar object -- in this case, the 4732 IntlCalendar's time zone will be used instead. Otherwise, the time zone 4733 specified in the $timezone argument is used instead. This does not affect 4734 old code, as IntlCalendar was introduced in this version</li> 4735 <li>IntlDateFormatter::__construct and datefmt_create() now accept for the 4736 $calendar argument also IntlCalendar objects</li> 4737 <li>IntlDateFormatter::getCalendar() and datefmt_get_calendar() return false 4738 if the IntlDateFormatter was set up with an IntlCalendar instead of the 4739 constants IntlDateFormatter::GREGORIAN/TRADITIONAL. IntlCalendar did not 4740 exist before this version</li> 4741 <li>IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also accept 4742 an IntlCalendar object, in which case its time zone is taken. Passing a 4743 constant is still allowed, and still keeps the time zone</li> 4744 <li>IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are 4745 deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone() 4746 instead</li> 4747 <li>IntlDateFormatter::format() and datefmt_format() now also accept an 4748 IntlCalendar object for formatting</li> 4749 <li>Added the classes: IntlCalendar, IntlGregorianCalendar, IntlTimeZone, 4750 IntlBreakIterator, IntlRuleBasedBreakIterator and 4751 IntlCodePointBreakIterator</li> 4752 <li>Added the functions: intlcal_get_keyword_values_for_locale(), 4753 intlcal_get_now(), intlcal_get_available_locales(), intlcal_get(), 4754 intlcal_get_time(), intlcal_set_time(), intlcal_add(), 4755 intlcal_set_time_zone(), intlcal_after(), intlcal_before(), intlcal_set(), 4756 intlcal_roll(), intlcal_clear(), intlcal_field_difference(), 4757 intlcal_get_actual_maximum(), intlcal_get_actual_minimum(), 4758 intlcal_get_day_of_week_type(), intlcal_get_first_day_of_week(), 4759 intlcal_get_greatest_minimum(), intlcal_get_least_maximum(), 4760 intlcal_get_locale(), intlcal_get_maximum(), 4761 intlcal_get_minimal_days_in_first_week(), intlcal_get_minimum(), 4762 intlcal_get_time_zone(), intlcal_get_type(), 4763 intlcal_get_weekend_transition(), intlcal_in_daylight_time(), 4764 intlcal_is_equivalent_to(), intlcal_is_lenient(), intlcal_is_set(), 4765 intlcal_is_weekend(), intlcal_set_first_day_of_week(), 4766 intlcal_set_lenient(), intlcal_equals(), 4767 intlcal_get_repeated_wall_time_option(), 4768 intlcal_get_skipped_wall_time_option(), 4769 intlcal_set_repeated_wall_time_option(), 4770 intlcal_set_skipped_wall_time_option(), intlcal_from_date_time(), 4771 intlcal_to_date_time(), intlcal_get_error_code(), 4772 intlcal_get_error_message(), intlgregcal_create_instance(), 4773 intlgregcal_set_gregorian_change(), intlgregcal_get_gregorian_change() and 4774 intlgregcal_is_leap_year()</li> 4775 <li>Added the functions: intltz_create_time_zone(), intltz_create_default(), 4776 intltz_get_id(), intltz_get_gmt(), intltz_get_unknown(), 4777 intltz_create_enumeration(), intltz_count_equivalent_ids(), 4778 intltz_create_time_zone_id_enumeration(), intltz_get_canonical_id(), 4779 intltz_get_region(), intltz_get_tz_data_version(), 4780 intltz_get_equivalent_id(), intltz_use_daylight_time(), intltz_get_offset(), 4781 intltz_get_raw_offset(), intltz_has_same_rules(), intltz_get_display_name(), 4782 intltz_get_dst_savings(), intltz_from_date_time_zone(), 4783 intltz_to_date_time_zone(), intltz_get_error_code(), 4784 intltz_get_error_message()</li> 4785 <li>Added the methods: IntlDateFormatter::formatObject(), 4786 IntlDateFormatter::getCalendarObject(), IntlDateFormatter::getTimeZone(), 4787 IntlDateFormatter::setTimeZone()</li> 4788 <li>Added the functions: datefmt_format_object(), datefmt_get_calendar_object(), 4789 datefmt_get_timezone(), datefmt_set_timezone(), 4790 datefmt_get_calendar_object(), intlcal_create_instance()</li> 4791</ul></li> 4792</ul> 4793 4794<ul> 4795<li>mbstring: 4796<ul> 4797 <li><?php bugfix(64769); ?> (mbstring PHPTs crash on Windows x64).</li> 4798</ul></li> 4799</ul> 4800 4801<ul> 4802<li>MCrypt: 4803<ul> 4804 <li>mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw E_DEPRECATED.</li> 4805</ul></li> 4806</ul> 4807 4808<ul> 4809<li>mysql: 4810<ul> 4811 <li>This extension is now deprecated, and deprecation warnings will be generated 4812 when connections are established to databases via mysql_connect(), 4813 mysql_pconnect(), or through implicit connection: use MySQLi or PDO_MySQL 4814 instead</li> 4815 <li>Dropped support for LOAD DATA LOCAL INFILE handlers when using libmysql. 4816 Known for stability problems</li> 4817 <li>Added support for SHA256 authentication available with MySQL 5.6.6+</li> 4818</ul></li> 4819</ul> 4820 4821<ul> 4822<li>mysqli: 4823<ul> 4824 <li>Added mysqli_begin_transaction()/mysqli::begin_transaction(). Implemented 4825 all options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT 4826 and ROLLBACK through options to mysqli_commit()/mysqli_rollback() and their 4827 respective OO counterparts. They work in libmysql and mysqlnd mode</li> 4828 <li>Added mysqli_savepoint(), mysqli_release_savepoint()</li> 4829 <li><?php bugfix(64726); ?> (Segfault when calling fetch_object on a use_result and DB 4830 pointer has closed)</li> 4831 <li><?php bugfix(64394); ?> (MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS undeclared when 4832 using Connector/C)</li> 4833</ul></li> 4834</ul> 4835 4836<ul> 4837<li>mysqlnd: 4838<ul> 4839 <li>Add new begin_transaction() call to the connection object. Implemented all 4840 options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT 4841 and ROLLBACK</li> 4842 <li>Added mysqlnd_savepoint(), mysqlnd_release_savepoint()</li> 4843 <li><?php bugfix(63530); ?> (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc 4844 for stmt->param_bind)</li> 4845 <li>Fixed return value of mysqli_stmt_affected_rows() in the time after 4846 prepare() and before execute()</li> 4847</ul></li> 4848</ul> 4849 4850<ul> 4851<li>PCRE: 4852<ul> 4853 <li>Merged PCRE 8.32</li> 4854 <li>Deprecated the /e modifier</li> 4855 <li><?php bugfix(63284); ?> (Upgrade PCRE to 8.31)</li> 4856</ul></li> 4857</ul> 4858 4859<ul> 4860<li>PDO: 4861<ul> 4862 <li><?php bugfix(63176); ?> (Segmentation fault when instantiate 2 persistent PDO to the same db server)</li> 4863</ul></li> 4864</ul> 4865 4866<ul> 4867<li>PDO_DBlib: 4868<ul> 4869 <li><?php bugfix(63638); ?> (Cannot connect to SQL Server 2008 with PDO dblib)</li> 4870 <li><?php bugfix(64338); ?> (pdo_dblib can't connect to Azure SQL)</li> 4871 <li><?php bugfix(64808); ?> (FreeTDS PDO getColumnMeta on a prepared but not executed statement crashes)</li> 4872</ul></li> 4873</ul> 4874 4875<ul> 4876<li>PDO_pgsql: 4877<ul> 4878 <li><?php bugfix(64949); ?> (Buffer overflow in _pdo_pgsql_error)</li> 4879</ul></li> 4880</ul> 4881 4882<ul> 4883<li>PDO_mysql: 4884<ul> 4885 <li><?php bugfix(48724); ?> (getColumnMeta() doesn't return native_type for BIT, TINYINT and YEAR)</li> 4886</ul></li> 4887</ul> 4888 4889<ul> 4890<li>pgsql: 4891<ul> 4892 <li>Added pg_escape_literal() and pg_escape_identifier()</li> 4893 <li><?php bugfix(46408); ?> Locale number format settings can cause pg_query_params to break with numerics</li> 4894</ul></li> 4895</ul> 4896 4897<ul> 4898<li>Phar: 4899<ul> 4900 <li>Fixed timestamp update on Phar contents modification</li> 4901</ul></li> 4902</ul> 4903 4904<ul> 4905<li>readline: 4906<ul> 4907 <li><?php bugfix(55694); ?> (Expose additional readline variable to prevent default filename completion)</li> 4908</ul></li> 4909</ul> 4910 4911<ul> 4912<li>Reflection: 4913<ul> 4914 <li><?php bugfix(64007); ?> (There is an ability to create instance of Generator by hand)</li> 4915</ul></li> 4916</ul> 4917 4918<ul> 4919<li>Sockets: 4920<ul> 4921 <li>Added socket_cmsg_space(), socket_sendmsg(), and socket_recvmsg() functions</li> 4922 <li><?php bugfix(64508); ?> (Fails to build with --disable-ipv6)</li> 4923 <li><?php bugfix(64287); ?> (sendmsg/recvmsg shutdown handler causes segfault)</li> 4924</ul></li> 4925</ul> 4926 4927<ul> 4928<li>SPL: 4929<ul> 4930 <li><?php bugfix(64997); ?> (Segfault while using RecursiveIteratorIterator on 64-bits systems)</li> 4931 <li><?php bugfix(64264); ?> (SPLFixedArray toArray problem)</li> 4932 <li><?php bugfix(64228); ?> (RecursiveDirectoryIterator always assumes SKIP_DOTS)</li> 4933 <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended)</li> 4934 <li><?php bugfix(60560); ?> (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings)</li> 4935 <li><?php bugfix(52861); ?> (unset fails with ArrayObject and deep arrays)</li> 4936 <li>Implement <?php bugl(48358); ?> (Add SplDoublyLinkedList::add() to insert an element at a given offset)</li> 4937</ul></li> 4938</ul> 4939 4940<ul> 4941<li>SNMP: 4942<ul> 4943 <li><?php bugfix(64765); ?> (Some IPv6 addresses get interpreted wrong)</li> 4944 <li><?php bugfix(64159); ?> (Truncated snmpget)</li> 4945 <li><?php bugfix(64124); ?> (IPv6 malformed)</li> 4946 <li><?php bugfix(61981); ?> (OO API, walk: $suffix_as_key is not working correctly)</li> 4947</ul></li> 4948</ul> 4949 4950<ul> 4951<li>SOAP: 4952<ul> 4953 <li>Added SoapClient constructor option 'ssl_method' to specify ssl method</li> 4954</ul></li> 4955</ul> 4956 4957<ul> 4958<li>Streams: 4959<ul> 4960 <li><?php bugfix(64770); ?> (stream_select() fails with pipes returned by proc_open() on Windows x64)</li> 4961 <li>Fixed Windows x64 version of stream_socket_pair() and improved error handling</li> 4962</ul></li> 4963</ul> 4964 4965<ul> 4966<li>Tokenizer: 4967<ul> 4968 <li><?php bugfix(60097); ?> (token_get_all fails to lex nested heredoc)</li> 4969</ul></li> 4970</ul> 4971 4972<ul> 4973<li>Zip: 4974<ul> 4975 <li>Upgraded libzip to 0.10.1</li> 4976 <li><?php bugfix(64452); ?> (Zip crash intermittently)</li> 4977 <li><?php bugfix(64342); ?> (ZipArchive::addFile() has to check for file existence)</li> 4978</ul></li> 4979</ul> 4980 4981<!-- }}} --></section> 4982 4983<a id="PHP_5_4"></a> 4984<section class="version" id="5.4.45"><!-- {{{ 5.4.45 --> 4985<h3>Version 5.4.45</h3> 4986<?php release_date('03-Sep-2015'); ?> 4987<ul><li>Core: 4988<ul> 4989 <li><?php bugfix(70172); ?> (Use After Free Vulnerability in unserialize()). (CVE-2015-6834)</li> 4990 <li><?php bugfix(70219); ?> (Use after free vulnerability in session deserializer). (CVE-2015-6835)</li> 4991</ul></li> 4992<li>EXIF: 4993<ul> 4994 <li><?php bugfix(70385); ?> (Buffer over-read in exif_read_data with TIFF IFD tag byte value of 32 bytes).</li> 4995</ul></li> 4996<li>hash: 4997<ul> 4998 <li><?php bugfix(70312); ?> (HAVAL gives wrong hashes in specific cases).</li> 4999</ul></li> 5000<li>PCRE: 5001<ul> 5002 <li><?php bugfix(70345); ?> (Multiple vulnerabilities related to PCRE functions).</li> 5003</ul></li> 5004<li>SOAP: 5005<ul> 5006 <li><?php bugfix(70388); ?> (SOAP serialize_function_call() type confusion / RCE). (CVE-2015-6836)</li> 5007</ul></li> 5008<li>SPL: 5009<ul> 5010 <li><?php bugfix(70365); ?> (Use-after-free vulnerability in unserialize() with SplObjectStorage). (CVE-2015-6834)</li> 5011 <li><?php bugfix(70366); ?> (Use-after-free vulnerability in unserialize() with SplDoublyLinkedList). (CVE-2015-6834)</li> 5012</ul></li> 5013<li>XSLT: 5014<ul> 5015 <li><?php bugfix(69782); ?> (NULL pointer dereference). (CVE-2015-6837, CVE-2015-6838)</li> 5016</ul></li> 5017<li>ZIP: 5018<ul> 5019 <li><?php bugfix(70350); ?> (ZipArchive::extractTo allows for directory traversal when creating directories). (CVE-2014-9767)</li> 5020</ul></li> 5021</ul> 5022<!-- }}} --></section> 5023 5024 5025<section class="version" id="5.4.44"><!-- {{{ 5.4.44 --> 5026<h3>Version 5.4.44</h3> 5027<?php release_date('06-Aug-2015'); ?> 5028<ul><li>Core: 5029<ul> 5030 <li><?php bugfix(69793); ?> (Remotely triggerable stack exhaustion via recursive method calls).</li> 5031 <li><?php bugfix(69892); ?> (Different arrays compare indentical due to integer key truncation).</li> 5032 <li><?php bugfix(70121); ?> (unserialize() could lead to unexpected methods execution / NULL pointer deref).</li> 5033</ul></li> 5034<li>OpenSSL: 5035<ul> 5036 <li><?php bugfix(70014); ?> (openssl_random_pseudo_bytes() is not cryptographically secure). (CVE-2015-8867)</li> 5037</ul></li> 5038<li>Phar: 5039<ul> 5040 <li>Improved fix for bug <?php bugl(69441) ?>.</li> 5041 <li><?php bugfix(70019); ?> (Files extracted from archive may be placed outside of destination directory). (CVE-2015-6833)</li> 5042</ul></li> 5043<li>SOAP: 5044<ul> 5045 <li><?php bugfix(70081); ?> (SoapClient info leak / null pointer dereference via multiple type confusions).</li> 5046</ul></li> 5047<li>SPL: 5048<ul> 5049 <li><?php bugfix(70068); ?> (Dangling pointer in the unserialization of ArrayObject items). (CVE-2015-6832)</li> 5050 <li><?php bugfix(70166); ?> (Use After Free Vulnerability in unserialize() with SPLArrayObject). (CVE-2015-6831)</li> 5051 <li><?php bugfix(70168); ?> (Use After Free Vulnerability in unserialize() with SplObjectStorage). (CVE-2015-6831)</li> 5052 <li><?php bugfix(70169); ?> (Use After Free Vulnerability in unserialize() with SplDoublyLinkedList). (CVE-2015-6831)</li> 5053</ul></li> 5054</ul> 5055<!-- }}} --></section> 5056 5057<section class="version" id="5.4.43"><!-- {{{ 5.4.43 --> 5058<h3>Version 5.4.43</h3> 5059<?php release_date('09-Jul-2015'); ?> 5060<ul><li>Core: 5061<ul> 5062 <li><?php bugfix(69768); ?> (escapeshell*() doesn't cater to !).</li> 5063 <li><?php bugfix(69874); ?> (Can't set empty additional_headers for mail()), regression from fix to bug <?php bugl(68776); ?>.</li> 5064</ul></li> 5065<li>Mysqlnd: 5066<ul> 5067 <li><?php bugfix(69669); ?> (mysqlnd is vulnerable to BACKRONYM). (CVE-2015-3152)</li> 5068</ul></li> 5069<li>Phar: 5070<ul> 5071 <li><?php bugfix(69958); ?> (Segfault in Phar::convertToData on invalid file). (CVE-2015-5589)</li> 5072 <li><?php bugfix(69923); ?> (Buffer overflow and stack smashing error in phar_fix_filepath). (CVE-2015-5590)</li> 5073</ul></li> 5074</ul> 5075<!-- }}} --></section> 5076 5077<section class="version" id="5.4.42"><!-- {{{ 5.4.42 --> 5078<h3>Version 5.4.42</h3> 5079<?php release_date('11-Jun-2015'); ?> 5080<ul><li>Core: 5081<ul> 5082 <li>Improved fix for bug <?php bugl(69545); ?> (Integer overflow in ftp_genlist() resulting in heap overflow). (CVE-2015-4643)</li> 5083 <li><?php bugfix(69646); ?> (OS command injection vulnerability in escapeshellarg). (CVE-2015-4642)</li> 5084 <li><?php bugfix(69719); ?> (Incorrect handling of paths with NULs). (CVE-2015-4598)</li> 5085</ul></li> 5086<li>Litespeed SAPI: 5087<ul> 5088 <li><?php bugfix(68812); ?> (Unchecked return value).</li> 5089</ul></li> 5090<li>Mail: 5091<ul> 5092 <li><?php bugfix(68776); ?> (mail() does not have mail header injection prevention for additional headers).</li> 5093</ul></li> 5094<li>Postgres: 5095<ul> 5096 <li><?php bugfix(69667); ?> (segfault in php_pgsql_meta_data). (CVE-2015-4644)</li> 5097</ul></li> 5098<li>Sqlite3: 5099<ul> 5100 <li>Upgrade bundled sqlite to 3.8.10.2. (CVE-2015-3414, CVE-2015-3415, CVE-2015-3416)</li> 5101</ul></li> 5102</ul> 5103<!-- }}} --></section> 5104 5105<section class="version" id="5.4.41"><!-- {{{ 5.4.41 --> 5106<h3>Version 5.4.41</h3> 5107<?php release_date('14-May-2015'); ?> 5108<ul><li>Core: 5109<ul> 5110 <li><?php bugfix(69364); ?> (PHP Multipart/form-data remote dos Vulnerability). (CVE-2015-4024)</li> 5111 <li><?php bugfix(69403); ?> (str_repeat() sign mismatch based memory corruption).</li> 5112 <li><?php bugfix(69418); ?> (CVE-2006-7243 fix regressions in 5.4+). (CVE-2015-4025)</li> 5113 <li><?php bugfix(69522); ?> (heap buffer overflow in unpack()).</li> 5114</ul></li> 5115<li>FTP: 5116<ul> 5117 <li><?php bugfix(69545); ?> (Integer overflow in ftp_genlist() resulting in heap overflow). (CVE-2015-4022)</li> 5118</ul></li> 5119<li>PCNTL: 5120<ul> 5121 <li><?php bugfix(68598); ?> (pcntl_exec() should not allow null char). (CVE-2015-4026)</li> 5122</ul></li> 5123<li>PCRE: 5124<ul> 5125 <li>Upgraded pcrelib to 8.37. (CVE-2015-2325, CVE-2015-2326)</li> 5126</ul></li> 5127<li>Phar: 5128<ul> 5129 <li><?php bugfix(69453); ?> (Memory Corruption in phar_parse_tarfile when entry filename starts with null). (CVE-2015-4021)</li> 5130</ul></li> 5131</ul> 5132<!-- }}} --></section> 5133 5134<section class="version" id="5.4.40"><!-- {{{ 5.4.40 --> 5135<h3>Version 5.4.40</h3> 5136<?php release_date('16-Apr-2015'); ?> 5137<ul><li>Apache2handler: 5138<ul> 5139 <li><?php bugfix(69218); ?> (potential remote code execution with apache 2.4 apache2handler). (CVE-2015-3330)</li> 5140</ul></li> 5141<li>Core: 5142<ul> 5143 <li>Additional fix for bug <?php bugl(69152); ?> (Type confusion vulnerability in exception::getTraceAsString).</li> 5144 <li><?php bugfix(69337); ?> (php_stream_url_wrap_http_ex() type-confusion vulnerability).</li> 5145 <li><?php bugfix(69353); ?> (Missing null byte checks for paths in various PHP extensions). (CVE-2015-3411, CVE-2015-3412)</li> 5146</ul></li> 5147<li>cURL: 5148<ul> 5149 <li><?php bugfix(69316); ?> (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER).</li> 5150</ul></li> 5151<li>Ereg: 5152<ul> 5153 <li><?php bugfix(68740); ?> (NULL Pointer Dereference).</li> 5154</ul></li> 5155<li>Fileinfo: 5156<ul> 5157 <li><?php bugfix(68819); ?> (Fileinfo on specific file causes spurious OOM and/or segfault). (CVE-2015-4604, CVE-2015-4605)</li> 5158</ul></li> 5159<li>GD: 5160<ul> 5161 <li><?php bugfix(68601); ?> (buffer read overflow in gd_gif_in.c). (CVE-2014-9709)</li> 5162</ul></li> 5163<li>Phar: 5164<ul> 5165 <li><?php bugfix(68901); ?> (use after free). (CVE-2015-2301)</li> 5166 <li><?php bugfix(69324); ?> (Buffer Over-read in unserialize when parsing Phar). (CVE-2015-2783, CVE-2015-3307)</li> 5167 <li><?php bugfix(69441); ?> (Buffer Overflow when parsing tar/zip/phar in phar_set_inode). (CVE-2015-3329)</li> 5168</ul></li> 5169<li>Postgres: 5170<ul> 5171 <li><?php bugfix(68741); ?> (Null pointer deference). (CVE-2015-1352)</li> 5172</ul></li> 5173<li>SOAP: 5174<ul> 5175 <li><?php bugfix(69152); ?> (Type Confusion Infoleak Vulnerability in unserialize() with SoapFault). (CVE-2015-4599)</li> 5176 <li><?php bugfix(69293); ?> (NEW segfault when using SoapClient::__setSoapHeader (bisected, regression)).</li> 5177</ul></li> 5178<li>Sqlite3: 5179<ul> 5180 <li><?php bugfix(66550); ?> (SQLite prepared statement use-after-free).</li> 5181</ul></li> 5182</ul> 5183<!-- }}} --></section> 5184 5185<section class="version" id="5.4.39"><!-- {{{ 5.4.39 --> 5186<h3>Version 5.4.39</h3> 5187<?php release_date('19-Mar-2015'); ?> 5188<ul><li>Core: 5189<ul> 5190 <li><?php bugfix(68976); ?> (Use After Free Vulnerability in unserialize()). (CVE-2015-2787)</li> 5191 <li><?php bugfix(69134); ?> (Per Directory Values overrides PHP_INI_SYSTEM configuration options).</li> 5192 <li><?php bugfix(69207); ?> (move_uploaded_file allows nulls in path). (CVE-2015-2348)</li> 5193</ul></li> 5194<li>Ereg: 5195<ul> 5196 <li><?php bugfix(69248); ?> (heap overflow vulnerability in regcomp.c). (CVE-2015-2305)</li> 5197</ul></li> 5198<li>SOAP: 5199<ul> 5200 <li><?php bugfix(69085); ?> (SoapClient's __call() type confusion through unserialize()). (CVE-2015-4147, CVE-2015-4148)</li> 5201</ul></li> 5202<li>ZIP: 5203<ul> 5204 <li><?php bugfix(69253); ?> (ZIP Integer Overflow leads to writing past heap boundary). (CVE-2015-2331)</li> 5205</ul></li> 5206</ul> 5207<!-- }}} --></section> 5208 5209<section class="version" id="5.4.38"><!-- {{{ 5.4.38 --> 5210<h3>Version 5.4.38</h3> 5211<?php release_date('19-Feb-2015'); ?> 5212<ul><li>Core: 5213<ul> 5214 <li>Removed support for multi-line headers, as they are deprecated by RFC 7230.</li> 5215 <li>Added NULL byte protection to exec, system and passthru.</li> 5216 <li><?php bugfix(68925); ?> (Mitigation for CVE-2015-0235 – GHOST: glibc gethostbyname buffer overflow).</li> 5217 <li><?php bugfix(67827); ?> (broken detection of system crypt sha256/sha512 support).</li> 5218 <li><?php bugfix(68942); ?> (Use after free vulnerability in unserialize() with DateTimeZone). (CVE-2015-0273)</li> 5219</ul></li> 5220<li>Enchant: 5221<ul> 5222 <li><?php bugfix(68552); ?> (heap buffer overflow in enchant_broker_request_dict()). (CVE-2014-9705)</li> 5223</ul></li> 5224<li>SOAP: 5225<ul> 5226 <li><?php bugfix(67427); ?> (SoapServer cannot handle large messages).</li> 5227</ul></li> 5228</ul> 5229<!-- }}} --></section> 5230 5231<section class="version" id="5.4.37"><!-- {{{ 5.4.37 --> 5232<h3>Version 5.4.37</h3> 5233<?php release_date('22-Jan-2015'); ?> 5234<ul><li>Core: 5235<ul> 5236 <li><?php bugfix(68710); ?> (Use After Free Vulnerability in PHP's unserialize()). (CVE-2015-0231)</li> 5237</ul></li> 5238<li>CGI: 5239<ul> 5240 <li><?php bugfix(68618); ?> (out of bounds read crashes php-cgi). (CVE-2014-9427)</li> 5241</ul></li> 5242<li>EXIF: 5243<ul> 5244 <li><?php bugfix(68799); ?> (Free called on uninitialized pointer). (CVE-2015-0232)</li> 5245</ul></li> 5246<li>Fileinfo: 5247<ul> 5248 <li>Removed readelf.c and related code from libmagic sources.</li> 5249 <li><?php bugfix(68735); ?> (fileinfo out-of-bounds memory access). (CVE-2014-9652)</li> 5250</ul></li> 5251<li>OpenSSL: 5252<ul> 5253 <li><?php bugfix(55618); ?> (use case-insensitive cert name matching).</li> 5254</ul></li> 5255</ul> 5256<!-- }}} --></section> 5257 5258 5259<section class="version" id="5.4.36"><!-- {{{ 5.4.36 --> 5260<h3>Version 5.4.36</h3> 5261<?php release_date('18-Dec-2014'); ?> 5262<ul><li>Core: 5263<ul> 5264 <li>Upgraded crypt_blowfish to version 1.3.</li> 5265 <li><?php bugfix(68545); ?> (NULL pointer dereference in unserialize.c).</li> 5266 <li><?php bugfix(68594); ?> (Use after free vulnerability in unserialize()). (CVE-2014-8142)</li> 5267</ul> 5268<li>Mcrypt: 5269<ul> 5270 <li>Fixed possible read after end of buffer and use after free.</li> 5271</ul></li> 5272</ul> 5273<!-- }}} --></section> 5274 5275<section class="version" id="5.4.35"><!-- {{{ 5.4.35 --> 5276<h3>Version 5.4.35</h3> 5277<?php release_date('13-Nov-2014'); ?> 5278<ul><li>Core: 5279<ul> 5280 <li><?php bugfix(68365); ?> (zend_mm_heap corrupted after memory overflow in zend_hash_copy).</li> 5281</ul></li> 5282<li>Fileinfo: 5283<ul> 5284 <li><?php bugfix(68283); ?> (fileinfo: out-of-bounds read in elf note headers). (CVE-2014-3710)</li> 5285</ul></li> 5286<li>GMP: 5287<ul> 5288 <li><?php bugfix(63595); ?> (GMP memory management conflicts with other libraries using GMP).</li> 5289</ul></li> 5290<li>PDO_pgsql: 5291<ul> 5292 <li><?php bugfix(66584); ?> (Segmentation fault on statement deallocation).</li> 5293</ul></li> 5294</ul> 5295<!-- }}} --></section> 5296 5297<section class="version" id="5.4.34"><!-- {{{ 5.4.34 --> 5298<h3>Version 5.4.34</h3> 5299<?php release_date('16-Oct-2014'); ?> 5300<ul><li>Fileinfo: 5301<ul> 5302 <li><?php bugfix(66242); ?> (libmagic: don't assume char is signed).</li> 5303</ul></li> 5304<li>Core: 5305<ul> 5306 <li><?php bugfix(67985); ?> (Incorrect last used array index copied to new array after unset).</li> 5307 <li><?php bugfix(68044); ?> (Integer overflow in unserialize() (32-bits only)). (CVE-2014-3669)</li> 5308</ul></li> 5309<li>cURL: 5310<ul> 5311 <li><?php bugfix(68089); ?> (NULL byte injection - cURL lib).</li> 5312</ul></li> 5313<li>EXIF: 5314<ul> 5315 <li><?php bugfix(68113); ?> (Heap corruption in exif_thumbnail()). (CVE-2014-3670)</li> 5316</ul></li> 5317<li>OpenSSL: 5318<ul> 5319 <li>Reverted fixes for bug <?php bugl(41631); ?>, due to regressions.</li> 5320</ul></li> 5321<li>XMLRPC: 5322<ul> 5323 <li><?php bugfix(68027); ?> (Global buffer overflow in mkgmtime() function). (CVE-2014-3668)</li> 5324</ul></li> 5325</ul> 5326<!-- }}} --></section> 5327 5328<section class="version" id="5.4.33"><!-- {{{ 5.4.33 --> 5329<h3>Version 5.4.33</h3> 5330<?php release_date('18-Sep-2014'); ?> 5331<ul><li>Core: 5332<ul> 5333 <li><?php bugfix(47358); ?> (glob returns error, should be empty array()).</li> 5334 <li><?php bugfix(65463); ?> (SIGSEGV during zend_shutdown()).</li> 5335 <li><?php bugfix(66036); ?> (Crash on SIGTERM in apache process).</li> 5336</ul></li> 5337<li>OpenSSL: 5338<ul> 5339 <li><?php bugfix(41631); ?> (socket timeouts not honored in blocking SSL reads).</li> 5340</ul></li> 5341<li>Date: 5342<ul> 5343 <li><?php bugfix(66091); ?> (memory leaks in DateTime constructor).</li> 5344</ul></li> 5345<li>FPM: 5346<ul> 5347 <li><?php bugfix(67606); ?> (FPM with mod_fastcgi/apache2.4 is broken).</li> 5348</ul></li> 5349<li>GD: 5350<ul> 5351 <li>Made fontFetch's path parser thread-safe.</li> 5352</ul></li> 5353<li>Wddx: 5354<ul> 5355 <li><?php bugfix(67873); ?> (Segfaults in php_wddx_serialize_var).</li> 5356</ul></li> 5357<li>Zlib: 5358<ul> 5359 <li><?php bugfix(67724); ?> (chained zlib filters silently fail with large amounts of data).</li> 5360 <li><?php bugfix(67865); ?> (internal corruption phar error).</li> 5361</ul></li> 5362</ul> 5363<!-- }}} --></section> 5364 5365<section class="version" id="5.4.32"><!-- {{{ 5.4.32 --> 5366<h3>Version 5.4.32</h3> 5367<?php release_date('21-Aug-2014'); ?> 5368<ul><li>Core: 5369<ul> 5370 <li><?php bugfix(67717); ?> (segfault in dns_get_record) (CVE-2014-3597).</li> 5371 <li><?php bugfix(67693); ?> (incorrect push to the empty array)</li> 5372</ul></li> 5373<li>COM: 5374<ul> 5375 <li>Fixed missing type checks in com_event_sink.</li> 5376</ul></li> 5377<li>Fileinfo: 5378<ul> 5379 <li><?php bugfix(67705); ?> (extensive backtracking in rule regular expression). (CVE-2014-3538)</li> 5380 <li><?php bugfix(67716); ?> (Segfault in cdf.c) (CVE-2014-3587).</li> 5381</ul></li> 5382<li>GD: 5383<ul> 5384 <li><?php bugfix(66901); ?> (php-gd 'c_color' NULL pointer dereference). (CVE-2014-2497)</li> 5385 <li><?php bugfix(67730); ?> (Null byte injection possible with imagexxx functions) (CVE-2014-5120).</li> 5386</ul></li> 5387<li>Milter: 5388<ul> 5389 <li><?php bugfix(67715); ?> (php-milter does not build and crashes randomly).</li> 5390</ul></li> 5391<li>OpenSSL: 5392<ul> 5393 <li>Fixed missing type checks in OpenSSL options (Yussuf Khalil, Stas).</li> 5394</ul></li> 5395<li>Readline: 5396<ul> 5397 <li><?php bugfix(55496); ?> (Interactive mode doesn't force a newline before the prompt).</li> 5398 <li><?php bugfix(67496); ?> (Save command history when exiting interactive shell with control-c).</li> 5399</ul></li> 5400<li>Sessions: 5401<ul> 5402 <li>Fixed missing type checks in php_session_create_id.</li> 5403</ul></li> 5404<li>SPL: 5405<ul> 5406 <li><?php bugfix(67539); ?> (ArrayIterator use-after-free due to object change during sorting) (CVE-2014-4698).</li> 5407 <li><?php bugfix(67538); ?> (SPL Iterators use-after-free) (CVE-2014-4670).</li> 5408</ul></li> 5409<li>ODBC: 5410<ul> 5411 <li><?php bugfix(60616); ?> (odbc_fetch_into returns junk data at end of multi-byte char fields).</li> 5412</ul></li> 5413</ul> 5414<!-- }}} --></section> 5415 5416<section class="version" id="5.4.31"><!-- {{{ 5.4.31 --> 5417<h3>Version 5.4.31</h3> 5418<?php release_date('24-Jul-2014'); ?> 5419<ul><li>Core: 5420<ul> 5421 <li><?php bugfix(67428); ?> (header('Location: foo') will override a 308-399 response code).</li> 5422 <li><?php bugfix(67436); ?> (Autoloader isn't called if two method definitions don't match).</li> 5423 <li><?php bugfix(67091); ?> (make install fails to install libphp5.so on FreeBSD 10.0).</li> 5424 <li><?php bugfix(67151); ?> (strtr with empty array crashes).</li> 5425 <li><?php bugfix(67407); ?> (Windows 8.1/Server 2012 R2 reported as Windows 8/Server 2012).</li> 5426</ul></li> 5427<li>CLI server: 5428<ul> 5429 <li><?php implemented(67429); ?> (CLI server is missing some new HTTP response codes).</li> 5430 <li><?php bugfix(66830); ?> (Empty header causes PHP built-in web server to hang).</li> 5431</ul></li> 5432<li>FPM: 5433<ul> 5434 <li><?php bugfix(67530); ?> (error_log=syslog ignored).</li> 5435 <li><?php bugfix(67531); ?> (syslog cannot be set in pool configuration).</li> 5436</ul></li> 5437<li>Intl: 5438<ul> 5439 <li><?php bugfix(67052); ?> (NumberFormatter::parse() resets LC_NUMERIC setting).</li> 5440</ul></li> 5441<li>pgsql: 5442<ul> 5443 <li><?php bugfix(67550); ?> (Error in code "form" instead of "from", pgsql.c, line 756), which affected builds against libpq < 7.3.</li> 5444</ul></li> 5445<li>Phar: 5446<ul> 5447 <li><?php bugfix(67587); ?> (Redirection loop on nginx with FPM).</li> 5448</ul></li> 5449<li>Streams: 5450<ul> 5451 <li><?php bugfix(67430); ?> (http:// wrapper doesn't follow 308 redirects).</li> 5452</ul></li> 5453</ul> 5454<!-- }}} --></section> 5455 5456 5457<section class="version" id="5.4.30"><!-- {{{ 5.4.30 --> 5458<h3>Version 5.4.30</h3> 5459<?php release_date('26-Jun-2014'); ?> 5460<ul><li>Core: 5461<ul> 5462 <li>Fixed BC break introduced by patch for bug <?php bugl(67072); ?>.</li> 5463 <li><?php bugfix(66622); ?> (Closures do not correctly capture the late bound class (static::) in some cases).</li> 5464 <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script) (CVE-2014-3981).</li> 5465 <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li> 5466 <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability). (CVE-2014-4721)</li> 5467</ul></li> 5468<li>CLI server: 5469<ul> 5470 <li><?php bugfix(67406); ?> (built-in web-server segfaults on startup).</li> 5471</ul></li> 5472<li>Date: 5473<ul> 5474 <li><?php bugfix(67308); ?> (Serialize of DateTime truncates fractions of second).</li> 5475 <li>Fixed regression in fix for bug <?php bugl(67118); ?> (constructor can't be called twice).</li> 5476</ul></li> 5477<li>Fileinfo: 5478<ul> 5479 <li><?php bugfix(67326); ?> (fileinfo: cdf_read_short_sector insufficient boundary check) (CVE-2014-0207).</li> 5480 <li><?php bugfix(67410); ?> (fileinfo: mconvert incorrect handling of truncated pascal string size) (CVE-2014-3478).</li> 5481 <li><?php bugfix(67411); ?> (fileinfo: cdf_check_stream_offset insufficient boundary check) (CVE-2014-3479).</li> 5482 <li><?php bugfix(67412); ?> (fileinfo: cdf_count_chain insufficient boundary check) (CVE-2014-3480).</li> 5483 <li><?php bugfix(67413); ?> (fileinfo: cdf_read_property_info insufficient boundary check) (CVE-2014-3487).</li> 5484</ul></li> 5485<li>Intl: 5486<ul> 5487 <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li> 5488 <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and uloc_getDisplayName (libicu 4.8.1)).</li> 5489</ul></li> 5490<li>Network: 5491<ul> 5492 <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()) (CVE-2014-4049).</li> 5493</ul></li> 5494<li>OpenSSL: 5495<ul> 5496 <li><?php bugfix(65698); ?> (certificates validity parsing does not work past 2050).</li> 5497 <li><?php bugfix(66636); ?> (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).</li> 5498</ul></li> 5499<li>SOAP: 5500<ul> 5501 <li><?php implemented(49898); ?> (Add SoapClient::__getCookies()).</li> 5502</ul></li> 5503<li>SPL: 5504<ul> 5505 <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li> 5506 <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li> 5507 <li><?php bugfix(67360); ?> (Missing element after ArrayObject::getIterator).</li> 5508 <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion) (CVE-2014-3515).</li> 5509</ul></li> 5510</ul> 5511<!-- }}} --></section> 5512 5513<section class="version" id="5.4.29"><!-- {{{ 5.4.29 --> 5514<h3>Version 5.4.29</h3> 5515<?php release_date('29-May-2014'); ?> 5516<ul><li>COM: 5517<ul> 5518 <li><?php bugfix(66431); ?> (Special Character via COM Interface (CP_UTF8)).</li> 5519</ul></li> 5520<li>Core: 5521<ul> 5522 <li><?php bugfix(65701); ?> (copy() doesn't work when destination filename is created by tempnam()).</li> 5523 <li><?php bugfix(67072); ?> (Echoing unserialized "SplFileObject" crash).</li> 5524 <li><?php bugfix(67245); ?> (usage of memcpy() with overlapping src and dst in zend_exceptions.c).</li> 5525 <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li> 5526 <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li> 5527 <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li> 5528 <li><?php bugfix(67252); ?> (convert_uudecode out-of-bounds read). (Stas)</li> 5529</ul></li> 5530<li>Fileinfo: 5531<ul> 5532 <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li> 5533 <li><?php bugfix(67327); ?> (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238)</li> 5534 <li><?php bugfix(67328); ?> (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237)</li> 5535</ul></li> 5536<li>Date: 5537<ul> 5538 <li><?php bugfix(67118); ?> (DateTime constructor crash with invalid data).</li> 5539 <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li> 5540 <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li> 5541</ul></li> 5542<li>DOM: 5543<ul> 5544 <li><?php bugfix(67081); ?> (DOMDocumentType->internalSubset returns entire DOCTYPE tag, not only the subset).</li> 5545</ul></li> 5546<li>FPM: 5547<ul> 5548 <li><?php bugfix(66908); ?> (php-fpm reload leaks epoll_create() file descriptor).</li> 5549</ul></li> 5550<li>Phar: 5551<ul> 5552 <li><?php bugfix(64498); ?> ($phar->buildFromDirectory can't compress file with an accent in its name).</li> 5553</ul></li> 5554</ul> 5555<!-- }}} --></section> 5556 5557<section class="version" id="5.4.28"><!-- {{{ 5.4.28 --> 5558<h3>Version 5.4.28</h3> 5559<?php release_date('01-May-2014'); ?> 5560<ul><li>Core: 5561<ul> 5562 <li><?php bugfix(61019); ?> (Out of memory on command stream_get_contents).</li> 5563 <li><?php bugfix(64330); ?> (stream_socket_server() creates wrong Abstract Namespace UNIX sockets).</li> 5564 <li><?php bugfix(66171); ?> (Symlinks and session handler allow open_basedir bypass).</li> 5565 <li><?php bugfix(66182); ?> (exit in stream filter produces segfault).</li> 5566 <li><?php bugfix(66736); ?> (fpassthru broken).</li> 5567 <li><?php bugfix(67024); ?> (getimagesize should recognize BMP files with negative height).</li> 5568</ul></li> 5569<li>cURL: 5570<ul> 5571 <li><?php bugfix(66562); ?> (curl_exec returns differently than curl_multi_getcontent).</li> 5572</ul></li> 5573<li>Date: 5574<ul> 5575 <li><?php bugfix(66721); ?> (__wakeup of DateTime segfaults when invalid object data is supplied).</li> 5576</ul></li> 5577<li>Embed: 5578<ul> 5579 <li><?php bugfix(65715); ?> (php5embed.lib isn't provided anymore).</li> 5580</ul></li> 5581<li>Fileinfo: 5582<ul> 5583 <li><?php bugfix(66987); ?> (Memory corruption in fileinfo ext / bigendian).</li> 5584</ul></li> 5585<li>FPM: 5586<ul> 5587 <li><?php bugfix(66482); ?> (unknown entry 'priority' in php-fpm.conf).</li> 5588 <li><?php bugfix(67060); ?> (sapi/fpm: possible privilege escalation due to insecure default configuration) (CVE-2014-0185).</li> 5589</ul></li> 5590<li>JSON: 5591<ul> 5592 <li><?php bugfix(66021); ?> (Blank line inside empty array/object when JSON_PRETTY_PRINT is set).</li> 5593</ul></li> 5594<li>LDAP: 5595<ul> 5596 <li>Fixed issue with null bytes in LDAP bindings.</li> 5597</ul></li> 5598<li>OpenSSL: 5599<ul> 5600 <li><?php bugfix(66942); ?> (memory leak in openssl_seal()).</li> 5601 <li><?php bugfix(66952); ?> (memory leak in openssl_open()).</li> 5602</ul></li> 5603<li>SimpleXML: 5604<ul> 5605 <li><?php bugfix(66084); ?> (simplexml_load_string() mangles empty node name) (Anatol)</li> 5606</ul></li> 5607<li>XSL: 5608<ul> 5609 <li><?php bugfix(53965); ?> (<xsl:include> cannot find files with relative paths when loaded with "file://").</li> 5610</ul></li> 5611<li>Apache2 Handler SAPI: 5612<ul> 5613 <li>Fixed Apache log issue caused by APR's lack of support for %zu (APR issue <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=56120">56120</a>).</li> 5614</ul></li> 5615</ul> 5616<!-- }}} --></section> 5617 5618<section class="version" id="5.4.27"><!-- {{{ 5.4.27 --> 5619<h3>Version 5.4.27</h3> 5620<?php release_date('03-Apr-2014'); ?> 5621<ul><li>Core: 5622<ul> 5623 <li><?php bugfix(60602); ?> (proc_open() changes environment array)</li> 5624</ul></li> 5625<li>Fileinfo: 5626<ul> 5627 <li><?php bugfix(66946); ?> (fileinfo: extensive backtracking in awk rule regular expression). (CVE-2013-7345)</li> 5628</ul></li> 5629<li>FPM: 5630<ul> 5631 <li>Added clear_env configuration directive to disable clearenv() call.</li> 5632</ul></li> 5633<li>GMP: 5634<ul> 5635 <li><?php bugfix(66872); ?> (invalid argument crashes gmp_testbit)</li> 5636</ul></li> 5637<li>Mail: 5638<ul> 5639 <li><?php bugfix(66535); ?> (Don't add newline after X-PHP-Originating-Script)</li> 5640</ul></li> 5641<li>MySQLi: 5642<ul> 5643 <li><?php bugfix(66762); ?> (Segfault in mysqli_stmt::bind_result() when link closed)</li> 5644</ul></li> 5645<li>Openssl: 5646<ul> 5647 <li><?php bugfix(66833); ?> (Default disgest algo is still MD5, switch to SHA1)</li> 5648</ul></li> 5649</ul> 5650<!-- }}} --></section> 5651 5652<section class="version" id="5.4.26"><!-- {{{ 5.4.26 --> 5653<h3>Version 5.4.26</h3> 5654<?php release_date('06-Mar-2014'); ?> 5655<ul><li>Date: 5656<ul> 5657 <li><?php bugfix(44780); ?> (some time zone offsets not recognized by timezone_name_from_abbr)</li> 5658 <li><?php bugfix(45543); ?> (DateTime::setTimezone can not set timezones without ID)</li> 5659</ul></li> 5660<li>JSON: 5661<ul> 5662 <li><?php bugfix(65753); ?> (JsonSerializeable couldn't implement on module extension)</li> 5663</ul></li> 5664<li>Fileinfo: 5665<ul> 5666 <li><?php bugfix(66731); ?> (file: infinite recursion) (CVE-2014-1943).</li> 5667 <li><?php bugfix(66820); ?> (out-of-bounds memory access in fileinfo) (CVE-2014-2270).</li> 5668</ul></li> 5669<li>LDAP: 5670<ul> 5671 <li>Implemented ldap_modify_batch (https://wiki.php.net/rfc/ldap_modify_batch).</li> 5672</ul></li> 5673<li>Openssl: 5674<ul> 5675 <li><?php bugfix(66501); ?> (Add EC key support to php_openssl_is_private_key).</li> 5676</ul></li> 5677<li>Pgsql: 5678<ul> 5679 <li>Added warning for dangerous client encoding and remove possible injections for pg_insert()/pg_update()/pg_delete()/pg_select().</li> 5680</ul></li> 5681</ul> 5682<!-- }}} --></section> 5683 5684 5685<section class="version" id="5.4.25"><!-- {{{ 5.4.25 --> 5686<h3>Version 5.4.25</h3> 5687<?php release_date('06-Feb-2014'); ?> 5688<ul><li>Core: 5689<ul> 5690 <li><?php bugfix(66286); ?> (Incorrect object comparison with inheritance).</li> 5691 <li><?php bugfix(66509); ?> (copy() arginfo has changed starting from 5.4).</li> 5692</ul></li> 5693<li>mysqlnd: 5694<ul> 5695 <li><?php bugfix(66283); ?> (Segmentation fault after memory_limit).</li> 5696</ul></li> 5697<li>PDO_pgsql: 5698<ul> 5699 <li><?php bugfix(62479); ?> (PDO-psql cannot connect if password contains spaces).</li> 5700</ul></li> 5701<li>Session: 5702<ul> 5703 <li><?php bugfix(66481); ?> (Calls to session_name() segfault when session.name is null).</li> 5704</ul></li> 5705</ul> 5706<!-- }}} --></section> 5707 5708<section class="version" id="5.4.24"><!-- {{{ 5.4.24 --> 5709<h3>Version 5.4.24</h3> 5710<?php release_date('09-Jan-2014'); ?> 5711<ul><li>Core: 5712<ul> 5713 <li>Added validation of class names in the autoload process.</li> 5714 <li>Fixed invalid C code in zend_strtod.c.</li> 5715 <li><?php bugfix(61645); ?> (fopen and O_NONBLOCK).</li> 5716</ul></li> 5717<li>Date: 5718<ul> 5719 <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval, CVE-2013-6712).</li> 5720 <li><?php bugfix(63391); ?> (Incorrect/inconsistent day of week prior to the year 1600).</li> 5721 <li><?php bugfix(61599); ?> (Wrong Day of Week).</li> 5722</ul></li> 5723<li>DOM: 5724<ul> 5725 <li><?php bugfix(65196); ?> (Passing DOMDocumentFragment to DOMDocument::saveHTML() Produces invalid Markup).</li> 5726</ul></li> 5727<li>Exif: 5728<ul> 5729 <li><?php bugfix(65873); ?> (Integer overflow in exif_read_data()).</li> 5730</ul></li> 5731<li>Filter: 5732<ul> 5733 <li><?php bugfix(66229); ?> (128.0.0.0/16 isn't reserved any longer).</li> 5734</ul></li> 5735<li>GD: 5736<ul> 5737 <li><?php bugfix(64405); ?> (Use freetype-config for determining freetype2 dir(s)).</li> 5738</ul></li> 5739<li>PDO_odbc: 5740<ul> 5741 <li><?php bugfix(66311); ?> (Stack smashing protection kills PDO/ODBC queries).</li> 5742</ul></li> 5743<li>SNMP: 5744<ul> 5745 <li>Fixed SNMP_ERR_TOOBIG handling for bulk walk operations.</li> 5746</ul></li> 5747<li>XSL: 5748<ul> 5749 <li><?php bugfix(49634); ?> (Segfault throwing an exception in a XSL registered function).</li> 5750</ul></li> 5751<li>ZIP: 5752<ul> 5753 <li><?php bugfix(66321); ?> (ZipArchive::open() ze_obj->filename_len not real).</li> 5754</ul></li> 5755</ul> 5756<!-- }}} --></section> 5757 5758<section class="version" id="5.4.23"><!-- {{{ 5.4.23 --> 5759<h3>Version 5.4.23</h3> 5760<?php release_date('12-Dec-2013'); ?> 5761<ul><li>Core: 5762<ul> 5763 <li><?php bugfix(66094); ?> (unregister_tick_function tries to cast a Closure to a string).</li> 5764 <li><?php bugfix(65947); ?> (basename is no more working after fgetcsv in certain situation).</li> 5765</ul></li> 5766<li>JSON: 5767<ul> 5768 <li>Fixed whitespace part of <?php bugl(64874); ?> ("json_decode handles whitespace and case-sensitivity incorrectly").</li> 5769</ul></li> 5770<li>MySQLi: 5771<ul> 5772 <li><?php bugfix(66043); ?> (Segfault calling bind_param() on mysqli).</li> 5773</ul></li> 5774<li>mysqlnd: 5775<ul> 5776 <li><?php bugfix(66124); ?> (mysqli under mysqlnd loses precision when bind_param with 'i').</li> 5777 <li><?php bugfix(66141); ?> (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query).</li> 5778</ul></li> 5779<li>OpenSSL: 5780<ul> 5781 <li>Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420). (Stefan Esser).</li> 5782</ul></li> 5783<li>PDO: 5784<ul> 5785 <li><?php bugfix(65946); ?> (sql_parser permanently converts values bound to strings).</li> 5786</ul></li> 5787</ul> 5788<!-- }}} --></section> 5789 5790<section class="version" id="5.4.22"><!-- {{{ 5.4.22 --> 5791<h3>Version 5.4.22</h3> 5792<?php release_date('14-Nov-2013'); ?> 5793<ul><li>Core: 5794<ul> 5795 <li><?php bugfix(65911); ?> (scope resolution operator - strange behavior with $this).</li> 5796</ul></li> 5797<li>CLI server: 5798<ul> 5799 <li><?php bugfix(65818); ?> (Segfault with built-in webserver and chunked transfer encoding).</li> 5800</ul></li> 5801<li>Exif: 5802<ul> 5803 <li>Fixed crash on unknown encoding.</li> 5804</ul></li> 5805<li>FTP: 5806<ul> 5807 <li><?php bugfix(65667); ?> (ftp_nb_continue produces segfault).</li> 5808</ul></li> 5809<li>ODBC: 5810<ul> 5811 <li><?php bugfix(65950); ?> (Field name truncation if the field name is bigger than 32 characters).</li> 5812</ul></li> 5813<li>Sockets: 5814<ul> 5815 <li><?php bugfix(65808); ?> (the socket_connect() won't work with IPv6 address).</li> 5816</ul></li> 5817<li>Standard: 5818<ul> 5819 <li><?php bugfix(64760); ?> (var_export() does not use full precision for floating-point numbers).</li> 5820</ul></li> 5821<li>XMLReader: 5822<ul> 5823 <li><?php bugfix(51936); ?> (Crash with clone XMLReader).</li> 5824 <li><?php bugfix(64230); ?> (XMLReader does not suppress errors).</li> 5825</ul></li> 5826</ul> 5827<!-- }}} --></section> 5828 5829<section class="version" id="5.4.21"><!-- {{{ 5.4.21 --> 5830<h3>Version 5.4.21</h3> 5831<?php release_date('17-Oct-2013'); ?> 5832<ul><li>Core: 5833<ul> 5834 <li><?php bugfix(65322); ?> (compile time errors won't trigger auto loading).</li> 5835</ul></li> 5836<li>CLI server: 5837<ul> 5838 <li><?php bugfix(65633); ?> (built-in server treat some http headers as case-sensitive).</li> 5839</ul></li> 5840<li>Datetime: 5841<ul> 5842 <li><?php bugfix(64157); ?> (DateTime::createFromFormat() reports confusing error message).</li> 5843</ul></li> 5844<li>DBA extension: 5845<ul> 5846 <li><?php bugfix(65708); ?> (dba functions cast $key param to string in-place, bypassing copy on write).</li> 5847</ul></li> 5848<li>Filter: 5849<ul> 5850 <li>Add RFC 6598 IPs to reserved addresses.</li> 5851 <li><?php bugfix(64441); ?> (FILTER_VALIDATE_URL rejects fully qualified domain names).</li> 5852</ul></li> 5853<li>IMAP: 5854<ul> 5855 <li><?php bugfix(65721); ?> (configure script broken in 5.5.4 and 5.4.20 when enabling imap).</li> 5856</ul></li> 5857<li>Standard: 5858<ul> 5859 <li><?php bugfix(61548); ?> (content-type must appear at the end of headers for 201 Location to work in http).</li> 5860</ul></li> 5861<li>Build system: 5862<ul> 5863 <li><?php bugfix(62396); ?> ('make test' crashes starting with 5.3.14 (missing gzencode())).</li> 5864</ul></li> 5865</ul> 5866<!-- }}} --> 5867</section> 5868 5869<section class="version" id="5.4.20"><!-- {{{ 5.4.20 --> 5870<h3>Version 5.4.20</h3> 5871<?php release_date('19-Sep-2013'); ?> 5872<ul><li>Core: 5873<ul> 5874 <li><?php bugfix(60598); ?> (cli/apache sapi segfault on objects manipulation).</li> 5875 <li><?php bugfix(65579); ?> (Using traits with get_class_methods causes segfault).</li> 5876 <li><?php bugfix(65490); ?> (Duplicate calls to get lineno & filename for DTRACE_FUNCTION_*).</li> 5877 <li><?php bugfix(65483); ?> (quoted-printable encode stream filter incorrectly encoding spaces).</li> 5878 <li><?php bugfix(65481); ?> (shutdown segfault due to serialize).</li> 5879 <li><?php bugfix(65470); ?> (Segmentation fault in zend_error() with --enable-dtrace).</li> 5880 <li><?php bugfix(65372); ?> (Segfault in gc_zval_possible_root when return reference fails).</li> 5881 <li><?php bugfix(65304); ?> (Use of max int in array_sum).</li> 5882 <li><?php bugfix(65291); ?> (get_defined_constants() causes PHP to crash in a very limited case).</li> 5883 <li><?php bugfix(65225); ?> (PHP_BINARY incorrectly set).</li> 5884 <li>Improved fix for bug <?php bugl(63186); ?> (compile failure on netbsd).</li> 5885 <li><?php bugfix(62692); ?> (PHP fails to build with DTrace).</li> 5886 <li><?php bugfix(61759); ?> (class_alias() should accept classes with leading backslashes).</li> 5887 <li><?php bugfix(61345); ?> (CGI mode - make install don't work).</li> 5888 <li>Cherry-picked some DTrace build commits (allowing builds on Linux, bug <?php bugl(62691); ?> and bug <?php bugl(63706); ?>) from PHP 5.5 branch.</li> 5889 <li><?php bugfix(61268); ?> (--enable-dtrace leads make to clobber Zend/zend_dtrace.d)</li> 5890</ul></li> 5891<li>cURL: 5892<ul> 5893 <li><?php bugfix(65458); ?> (curl memory leak).</li> 5894</ul></li> 5895<li>Datetime: 5896<ul> 5897 <li><?php bugfix(65554); ?> (createFromFormat broken when weekday name is followed by some delimiters)</li> 5898 <li><?php bugfix(65564); ?> (stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer)</li> 5899</ul></li> 5900<li>Openssl: 5901<ul> 5902 <li><?php bugfix(64802); ?> (openssl_x509_parse fails to parse subject properly in some cases).</li> 5903</ul></li> 5904<li>Session: 5905<ul> 5906 <li><?php bugfix(62129); ?> (rfc1867 crashes php even though turned off).</li> 5907 <li><?php bugfix(50308); ?> (session id not appended properly for empty anchor tags).</li> 5908 <li>Fixed possible buffer overflow under Windows. Note: Not a security fix.</li> 5909 <li>Changed session.auto_start to PHP_INI_PERDIR.</li> 5910</ul></li> 5911<li>SOAP: 5912<ul> 5913 <li><?php bugfix(65018); ?> (SoapHeader problems with SoapServer).</li> 5914</ul></li> 5915<li>SPL: 5916<ul> 5917 <li><?php bugfix(65328); ?> (Segfault when getting SplStack object Value).</li> 5918</ul></li> 5919<li>PDO: 5920<ul> 5921 <li><?php bugfix(64953); ?> (Postgres prepared statement positional parameter casting).</li> 5922</ul></li> 5923<li>Phar: 5924<ul> 5925 <li><?php bugfix(65028); ?> (Phar::buildFromDirectory creates corrupt archives for some specific contents).</li> 5926</ul></li> 5927<li>Pgsql: 5928<ul> 5929 <li><?php bugfix(65336); ?> (pg_escape_literal/identifier() silently returns false).</li> 5930 <li><?php bugfix(62978); ?> (Disallow possible SQL injections with pg_select()/pg_update() /pg_delete()/pg_insert()).</li> 5931</ul></li> 5932<li>Zlib: 5933<ul> 5934 <li><?php bugfix(65391); ?> (Unable to send vary header user-agent when ob_start('ob_gzhandler') is called).</li> 5935</ul></li> 5936</ul> 5937<!-- }}} --></section> 5938 5939<section class="version" id="5.4.19"><!-- {{{ 5.4.19 --> 5940<h3>Version 5.4.19</h3> 5941<?php release_date('22-Aug-2013'); ?> 5942<ul><li>Core: 5943<ul> 5944 <li><?php bugfix(64503); ?> (Compilation fails with error: conflicting types for 'zendparse').</li> 5945</ul></li> 5946<li>Openssl: 5947<ul> 5948 <li>Fixed UMR in fix for CVE-2013-4248.</li> 5949</ul></li> 5950</ul> 5951<!-- }}} --></section> 5952 5953<section class="version" id="5.4.18"><!-- {{{ 5.4.18 --> 5954<h3>Version 5.4.18</h3> 5955<?php release_date('15-Aug-2013'); ?> 5956<ul><li>Core: 5957<ul> 5958 <li>Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value).</li> 5959 <li><?php bugfix(65254); ?> (Exception not catchable when exception thrown in autoload with a namespace).</li> 5960 <li><?php bugfix(65108); ?> (is_callable() triggers Fatal Error).</li> 5961 <li><?php bugfix(65088); ?> (Generated configure script is malformed on OpenBSD).</li> 5962 <li><?php bugfix(62964); ?> (Possible XSS on "Registered stream filters" info).</li> 5963 <li><?php bugfix(62672); ?> (Error on serialize of ArrayObject).</li> 5964 <li><?php bugfix(62475); ?> (variant_* functions causes crash when null given as an argument).</li> 5965 <li><?php bugfix(60732); ?> (php_error_docref links to invalid pages).</li> 5966 <li><?php bugfix(65226); ?> (chroot() does not get enabled).</li> 5967</ul></li> 5968<li>CGI: 5969<ul> 5970 <li><?php bugfix(65143); ?> (Missing php-cgi man page).</li> 5971</ul></li> 5972<li>CLI server: 5973<ul> 5974 <li><?php bugfix(65066); ?> (Cli server not responsive when responding with 422 http status code).</li> 5975</ul></li> 5976<li>CURL: 5977<ul> 5978 <li><?php bugfix(62665); ?> (curl.cainfo doesn't appear in php.ini).</li> 5979</ul></li> 5980<li>FPM: 5981<ul> 5982 <li><?php bugfix(63983); ?> (enabling FPM borks compile on FreeBSD).</li> 5983</ul></li> 5984<li>FTP: 5985<ul> 5986 <li><?php bugfix(65228); ?> (FTPs memory leak with SSL).</li> 5987</ul></li> 5988<li>GMP: 5989<ul> 5990 <li><?php bugfix(65227); ?> (Memory leak in gmp_cmp second parameter).</li> 5991</ul></li> 5992<li>Imap: 5993<ul> 5994 <li><?php bugfix(64467); ?> (Segmentation fault after imap_reopen failure).</li> 5995</ul></li> 5996<li>Intl: 5997<ul> 5998 <li><?php bugfix(62759); ?> (Buggy grapheme_substr() on edge case).</li> 5999 <li><?php bugfix(61860); ?> (Offsets may be wrong for grapheme_stri* functions).</li> 6000</ul></li> 6001<li>mysqlnd: 6002<ul> 6003 <li>Fixed segfault in mysqlnd when doing long prepare. </li> 6004</ul></li> 6005<li>ODBC: 6006<ul> 6007 <li><?php bugfix(61387); ?> (NULL valued anonymous column causes segfault in odbc_fetch_array).</li> 6008</ul></li> 6009<li>Openssl: 6010<ul> 6011 <li>Fixed handling null bytes in subjectAltName (CVE-2013-4248).</li> 6012</ul></li> 6013<li>PDO: 6014<ul> 6015 <li>Allowed PDO_OCI to compile with Oracle Database 12c client libraries.</li> 6016</ul></li> 6017<li>PDO_dblib: 6018<ul> 6019 <li><?php bugfix(65219); ?> (PDO/dblib not working anymore ("use dbName" not sent)).</li> 6020</ul></li> 6021<li>PDO_pgsql: 6022<ul> 6023 <li>Fixed meta data retrieve when OID is larger than 2^31.</li> 6024</ul></li> 6025<li>Phar: 6026<ul> 6027 <li><?php bugfix(65142); ?> (Missing phar man page).</li> 6028</ul></li> 6029<li>Session: 6030<ul> 6031 <li><?php bugfix(62535); ?> ($_SESSION[$key]["cancel_upload"] doesn't work as documented).</li> 6032 <li><?php bugfix(35703); ?> (when session_name("123") consist only digits, should warning).</li> 6033 <li><?php bugfix(49175); ?> (mod_files.sh does not support hash bits).</li> 6034</ul></li> 6035<li>Sockets: 6036<ul> 6037 <li><?php implemented(63472); ?> (Setting SO_BINDTODEVICE with socket_set_option).</li> 6038</ul></li> 6039<li>SPL: 6040<ul> 6041 <li><?php bugfix(65136); ?> (RecursiveDirectoryIterator segfault).</li> 6042 <li><?php bugfix(61828); ?> (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice).</li> 6043 <li><?php bugfix(60560); ?> (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings).</li> 6044</ul></li> 6045<li>XML: 6046<ul> 6047 <li><?php bugfix(65236); ?> (heap corruption in xml parser). (CVE-2013-4113)</li> 6048</ul></li> 6049</ul> 6050<!-- }}} --></section> 6051 6052 6053<section class="version" id="5.4.17"><!-- {{{ 5.4.17 --> 6054<h3>Version 5.4.17</h3> 6055<?php release_date('04-Jul-2013'); ?> 6056<ul><li>Core: 6057<ul> 6058 <li><?php bugfix(64988); ?> (Class loading order affects E_STRICT warning).</li> 6059 <li><?php bugfix(64966); ?> (segfault in zend_do_fcall_common_helper_SPEC).</li> 6060 <li><?php bugfix(64960); ?> (Segfault in gc_zval_possible_root).</li> 6061 <li><?php bugfix(64936); ?> (doc comments picked up from previous scanner run).</li> 6062 <li><?php bugfix(64934); ?> (Apache2 TS crash with get_browser()).</li> 6063 <li><?php bugfix(64166); ?> (quoted-printable-encode stream filter incorrectly discarding whitespace).</li> 6064</ul></li> 6065<li>DateTime: 6066<ul> 6067 <li><?php bugfix(53437); ?> (Crash when using unserialized DatePeriod instance).</li> 6068</ul></li> 6069<li>FPM: 6070<ul> 6071 <li><?php bugfix(64915); ?> (error_log ignored when daemonize=0).</li> 6072 <li><?php implemented(64764); ?> (add support for FPM init.d script).</li> 6073</ul></li> 6074<li>PDO: 6075<ul> 6076 <li><?php bugfix(63176); ?> (Segmentation fault when instantiate 2 persistent PDO to the same db server).</li> 6077</ul></li> 6078<li>PDO_DBlib: 6079<ul> 6080 <li><?php bugfix(63638); ?> (Cannot connect to SQL Server 2008 with PDO dblib).</li> 6081 <li><?php bugfix(64338); ?> (pdo_dblib can't connect to Azure SQL).</li> 6082 <li><?php bugfix(64808); ?> (FreeTDS PDO getColumnMeta on a prepared but not executed statement crashes).</li> 6083</ul></li> 6084<li>PDO_firebird: 6085<ul> 6086 <li><?php bugfix(64037); ?> (Firebird return wrong value for numeric field).</li> 6087 <li><?php bugfix(62024); ?> (Cannot insert second row with null using parametrized query).</li> 6088</ul></li> 6089<li>PDO_mysql: 6090<ul> 6091 <li><?php bugfix(48724); ?> (getColumnMeta() doesn't return native_type for BIT, TINYINT and YEAR).</li> 6092</ul></li> 6093<li>PDO_pgsql: 6094<ul> 6095 <li><?php bugfix(64949); ?> (Buffer overflow in _pdo_pgsql_error).</li> 6096</ul></li> 6097<li>pgsql: 6098<ul> 6099 <li><?php bugfix(64609); ?> (pg_convert enum type support).</li> 6100</ul></li> 6101<li>Readline: 6102<ul> 6103 <li>Implement FR <?php bugl(55694); ?> (Expose additional readline variable to prevent default filename completion).</li> 6104</ul></li> 6105<li>SPL: 6106<ul> 6107 <li><?php bugfix(64997); ?> (Segfault while using RecursiveIteratorIterator on 64-bits systems).</li> 6108</ul></li> 6109</ul> 6110<!-- }}} --></section> 6111 6112<section class="version" id="5.4.16"><!-- {{{ 5.4.16 --> 6113<h3>Version 5.4.16</h3> 6114<?php release_date('06-Jun-2013'); ?> 6115<ul> 6116<li>Core: 6117<ul> 6118 <li><?php bugfix(64879); ?> (Heap based buffer overflow in quoted_printable_encode, CVE-2013-2110).</li> 6119 <li><?php bugfix(64853); ?> (Use of no longer available ini directives causes crash on TS build).</li> 6120 <li><?php bugfix(64729); ?> (compilation failure on x32). </li> 6121 <li><?php bugfix(64720); ?> (SegFault on zend_deactivate). </li> 6122 <li><?php bugfix(64660); ?> (Segfault on memory exhaustion within function definition).</li> 6123</ul> 6124</li> 6125<li>Calendar: 6126<ul> 6127 <li><?php bugfix(64895); ?> (Integer overflow in SndToJewish).</li> 6128</ul> 6129</li> 6130<li>Fileinfo: 6131<ul> 6132 <li><?php bugfix(64830); ?> (mimetype detection segfaults on mp3 file).</li> 6133</ul> 6134</li> 6135<li>FPM: 6136<ul> 6137 <li>Ignore QUERY_STRING when sent in SCRIPT_FILENAME.</li> 6138 <li>Fixed some possible memory or resource leaks and possible null dereference detected by code coverity scan.</li> 6139 <li>Log a warning when a syscall fails.</li> 6140 <li>Add --with-fpm-systemd option to report health to systemd, and systemd_interval option to configure this. The service can now use Type=notify in the systemd unit file.</li> 6141</ul> 6142</li> 6143<li>MySQLi 6144<ul> 6145 <li><?php bugfix(64726); ?> (Segfault when calling fetch_object on a use_result and DB pointer has closed).</li> 6146</ul> 6147</li> 6148<li>Phar: 6149<ul> 6150 <li><?php bugfix(64214); ?> (PHAR PHPTs intermittently crash when run on DFS, SMB or with non std tmp dir).</li> 6151</ul> 6152</li> 6153<li>SNMP: 6154<ul> 6155 <li><?php bugfix(64765); ?> (Some IPv6 addresses get interpreted wrong).</li> 6156 <li><?php bugfix(64159); ?> (Truncated snmpget).</li> 6157</ul> 6158</li> 6159<li>Streams: 6160<ul> 6161 <li><?php bugfix(64770); ?> (stream_select() fails with pipes returned by proc_open() on Windows x64).</li> 6162</ul> 6163</li> 6164<li>Zend Engine: 6165<ul> 6166 <li><?php bugfix(64821); ?> (Custom Exceptions crash when internal properties overridden).</li> 6167</ul> 6168</li> 6169</ul> 6170<!-- }}} --></section> 6171 6172<section class="version" id="5.4.15"><!-- {{{ 5.4.15 --> 6173<h3>Version 5.4.15</h3> 6174<?php release_date('09-May-2013'); ?> 6175<ul> 6176<li>Core: 6177<ul> 6178 <li> <?php bugfix(64578); ?> (debug_backtrace in set_error_handler corrupts zend heap: segfault). </li> 6179 <li> <?php bugfix(64458); ?> (dns_get_record result with string of length -1). </li> 6180 <li> <?php bugfix(64433); ?> (follow_location parameter of context is ignored for most response codes). </li> 6181 <li> <?php bugfix(47675); ?> (fd leak on Solaris).</li> 6182 <li> <?php bugfix(64577); ?> (fd leak on Solaris).</li> 6183</ul></li> 6184<li>Fileinfo: 6185<ul> 6186 <li> Upgraded libmagic to 5.14. </li> 6187</ul></li> 6188<li>Streams: 6189<ul> 6190 <li> Fixed Windows x64 version of stream_socket_pair() and improved error handling.</li> 6191</ul></li> 6192<li>Zip: 6193<ul> 6194 <li> <?php bugfix(64342); ?> (ZipArchive::addFile() has to check for file existence).</li> 6195</ul></li> 6196</ul> 6197<!-- }}} --></section> 6198 6199<section class="version" id="5.4.14"><!-- {{{ 5.4.14 --> 6200<h3>Version 5.4.14</h3> 6201<?php release_date('11-April-2013'); ?> 6202<ul> 6203<li>Core: 6204<ul> 6205 <li><?php bugfix(64529); ?> (Ran out of opcode space).</li> 6206 <li><?php bugfix(64515); ?> (Memoryleak when using the same variablename two times in function declaration).</li> 6207 <li><?php bugfix(64432); ?> (more empty delimiter warning in strX methods).</li> 6208 <li><?php bugfix(64417); ?> (ArrayAccess::&offsetGet() in a trait causes fatal error).</li> 6209 <li><?php bugfix(64370); ?> (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).</li> 6210 <li><?php bugfix(64239); ?> (Debug backtrace changed behavior since 5.4.10 or 5.4.11).</li> 6211 <li><?php bugfix(63976); ?> (Parent class incorrectly using child constant in class property).</li> 6212 <li><?php bugfix(63914); ?> (zend_do_fcall_common_helper_SPEC does not handle exceptions properly).</li> 6213 <li><?php bugfix(62343); ?> (Show class_alias In get_declared_classes()).</li> 6214</ul></li> 6215 6216<li>PCRE: 6217<ul> 6218 <li>Merged PCRE 8.32.</li> 6219</ul></li> 6220 6221<li>SNMP: 6222<ul> 6223 <li><?php bugfix(61981); ?> (OO API, walk: $suffix_as_key is not working correctly).</li> 6224</ul></li> 6225 6226<li>Zip: 6227<ul> 6228 <li><?php bugfix(64452); ?> (Zip crash intermittently). (Anatol)</li> 6229</ul></li> 6230</ul> 6231<!-- }}} --></section> 6232 6233<section class="version" id="5.4.13"><!-- {{{ 5.4.13 --> 6234<h3>Version 5.4.13</h3> 6235<?php release_date('14-March-2013'); ?> 6236<ul> 6237<li>Core: 6238<ul> 6239 <li><?php bugfix(64235); ?> (Insteadof not work for class method in 5.4.11).</li> 6240 <li><?php implemented(64175); ?> (Added HTTP codes as of RFC 6585).</li> 6241 <li><?php bugfix(64142); ?> (dval to lval different behavior on ppc64). </li> 6242 <li><?php bugfix(64070); ?> (Inheritance with Traits failed with error).</li> 6243</ul></li> 6244<li>CLI server: 6245<ul> 6246 <li><?php bugfix(64128); ?> (buit-in web server is broken on ppc64).</li> 6247</ul></li> 6248<li>Mbstring: 6249<ul> 6250 <li>mb_split() can now handle empty matches like preg_split() does.</li> 6251</ul></li> 6252<li>OpenSSL: 6253<ul> 6254 <li><?php bugfix(61930); ?> (openssl corrupts ssl key resource when using 6255 openssl_get_publickey()). </li> 6256</ul></li> 6257<li>PDO_mysql: 6258<ul> 6259 <li><?php bugfix(60840); ?> (undefined symbol: mysqlnd_debug_std_no_trace_funcs).</li> 6260</ul></li> 6261<li>Phar: 6262<ul> 6263 <li>Fixed timestamp update on Phar contents modification.</li> 6264</ul></li> 6265<li>SOAP: 6266<ul> 6267 <li>Added check that soap.wsdl_cache_dir conforms to open_basedir 6268 (CVE-2013-1635). </li> 6269 <li>Disabled external entities loading (CVE-2013-1643, CVE-2013-1824).</li> 6270</ul></li> 6271<li>SPL: 6272<ul> 6273 <li><?php bugfix(64264); ?> (SPLFixedArray toArray problem). </li> 6274 <li><?php bugfix(64228); ?> (RecursiveDirectoryIterator always assumes SKIP_DOTS).</li> 6275 <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended). </li> 6276 <li><?php bugfix(52861); ?> (unset fails with ArrayObject and deep arrays).</li> 6277</ul></li> 6278<li>SNMP: 6279<ul> 6280 <li><?php bugfix(64124); ?> (IPv6 malformed).</li> 6281</ul></li> 6282</ul> 6283<!-- }}} --></section> 6284 6285<section class="version" id="5.4.12"><!-- {{{ 5.4.12 --> 6286<h3>Version 5.4.12</h3> 6287<?php release_date('21-February-2013'); ?> 6288<ul> 6289<li>Core: 6290<ul> 6291 <li><?php bugfix(64099); ?> (Wrong TSRM usage in zend_register_class alias).</li> 6292 <li><?php bugfix(64011); ?> (get_html_translation_table() output incomplete with HTML_ENTITIES and ISO-8859-1).</li> 6293 <li><?php bugfix(63982); ?> (isset() inconsistently produces a fatal error on protected property).</li> 6294 <li><?php bugfix(63943); ?> (Bad warning text from strpos() on empty needle).</li> 6295 <li><?php bugfix(63899); ?> (Use after scope error in zend_compile).</li> 6296 <li><?php bugfix(63893); ?> (Poor efficiency of strtr() using array with keys of very different length).</li> 6297 <li><?php bugfix(63882); ?> (zend_std_compare_objects crash on recursion).</li> 6298 <li><?php bugfix(63462); ?> (Magic methods called twice for unset protected properties).</li> 6299 <li><?php bugfix(62524); ?> (fopen follows redirects for non-3xx statuses).</li> 6300 <li>Support BITMAPV5HEADER in getimagesize().</li> 6301</ul></li> 6302</ul> 6303 6304<ul> 6305<li>Date: 6306<ul> 6307 <li><?php bugfix(63699); ?> (Performance improvements for various ext/date functions).</li> 6308 <li><?php bugfix(55397); ?> Comparsion of incomplete DateTime causes SIGSEGV.</li> 6309</ul></li> 6310</ul> 6311 6312<ul> 6313<li>FPM: 6314<ul> 6315 <li><?php bugfix(63999); ?> (php with fpm fails to build on Solaris 10 or 11).</li> 6316</ul></li> 6317</ul> 6318 6319<ul> 6320<li>Litespeed: 6321<ul> 6322 <li><?php bugfix(63228); ?> (-Werror=format-security error in lsapi code).</li> 6323</ul></li> 6324</ul> 6325 6326<ul> 6327<li>sqlite3: 6328<ul> 6329 <li><?php bugfix(63921); ?> (sqlite3::bindvalue and relative PHP functions aren't using sqlite3_*_int64 API).</li> 6330</ul></li> 6331</ul> 6332 6333<ul> 6334<li>PDO_OCI: 6335<ul> 6336 <li><?php bugfix(57702); ?> (Multi-row BLOB fetches).</li> 6337 <li><?php bugfix(52958); ?> (Segfault in PDO_OCI on cleanup after running a long testsuite).</li> 6338</ul></li> 6339</ul> 6340 6341<ul> 6342<li>PDO_sqlite: 6343<ul> 6344 <li><?php bugfix(63916); ?> (PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite).</li> 6345</ul></li> 6346</ul> 6347<!-- }}} --></section> 6348 6349 6350<section class="version" id="5.4.11"><!-- {{{ 5.4.11 --> 6351<h3>Version 5.4.11</h3> 6352<?php release_date('17-January-2013'); ?> 6353<ul> 6354<li>Core: 6355<ul> 6356 <li><?php bugfix(63762); ?> (Sigsegv when Exception::$trace is changed by user).</li> 6357 <li><?php bugfix(43177); ?> (Errors in eval()'ed code produce status code 500).</li> 6358</ul></li> 6359</ul> 6360 6361<ul> 6362<li>Filter: 6363<ul> 6364 <li><?php bugfix(63757); ?> (getenv() produces memory leak with CGI SAPI).</li> 6365 <li><?php bugfix(54096); ?> (FILTER_VALIDATE_INT does not accept +0 and -0).</li> 6366</ul></li> 6367</ul> 6368 6369<ul> 6370<li>JSON: 6371<ul> 6372 <li><?php bugfix(63737); ?> (json_decode does not properly decode with options parameter).</li> 6373</ul></li> 6374</ul> 6375 6376<ul> 6377<li>CLI server: 6378<ul> 6379 <li>Update list of common mime types. Added webm, ogv, ogg.</li> 6380</ul></li> 6381</ul> 6382 6383<ul> 6384<li>cURL extension: 6385<ul> 6386 <li>Fixed bug (segfault due to libcurl connection caching).</li> 6387 <li><?php bugfix(63859); ?> (Memory leak when reusing curl-handle).</li> 6388 <li><?php bugfix(63795); ?> (CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST).</li> 6389 <li><?php bugfix(63352); ?> (Can't enable hostname validation when using curl stream wrappers).</li> 6390 <li><?php bugfix(55438); ?> (Curlwapper is not sending http header randomly).</li> 6391</ul></li> 6392</ul> 6393<!-- }}} --></section> 6394 6395 6396<section class="version" id="5.4.10"><!-- {{{ 5.4.10 --> 6397<h3>Version 5.4.10</h3> 6398<?php release_date('20-December-2012'); ?> 6399<ul> 6400<li>Core: 6401<ul> 6402 <li><?php bugfix(63635); ?> (Segfault in gc_collect_cycles).</li> 6403 <li><?php bugfix(63512); ?> (parse_ini_file() with INI_SCANNER_RAW removes quotes from value).</li> 6404 <li><?php bugfix(63468); ?> (wrong called method as callback with inheritance).</li> 6405 <li><?php bugfix(63451); ?> (config.guess file does not have AIX 7 defined, shared objects are not created).</li> 6406 <li><?php bugfix(61557); ?> (Crasher in tt-rss backend.php).</li> 6407 <li><?php bugfix(61272); ?> (ob_start callback gets passed empty string).</li> 6408</ul></li> 6409</ul> 6410 6411<ul> 6412<li>Date: 6413<ul> 6414 <li><?php bugfix(63666); ?> (Poor date() performance).</li> 6415 <li><?php bugfix(63435); ?> (Datetime::format('u') sometimes wrong by 1 microsecond).</li> 6416</ul></li> 6417</ul> 6418 6419<ul> 6420<li>Imap: 6421<ul> 6422 <li><?php bugfix(63126); ?> (DISABLE_AUTHENTICATOR ignores array).</li> 6423</ul></li> 6424</ul> 6425 6426<ul> 6427<li>Json: 6428<ul> 6429 <li><?php bugfix(63588); ?> (use php_next_utf8_char and remove duplicate implementation).</li> 6430</ul></li> 6431</ul> 6432 6433<ul> 6434<li>MySQLi: 6435<ul> 6436 <li><?php bugfix(63361); ?> (missing header).</li> 6437</ul></li> 6438</ul> 6439 6440<ul> 6441<li>MySQLnd: 6442<ul> 6443 <li><?php bugfix(63398); ?> (Segfault when polling closed link).</li> 6444</ul></li> 6445</ul> 6446 6447<ul> 6448<li>Fileinfo: 6449<ul> 6450 <li><?php bugfix(63590); ?> (Different results in TS and NTS under Windows).</li> 6451</ul></li> 6452</ul> 6453 6454<ul> 6455<li>FPM: 6456<ul> 6457 <li><?php bugfix(63581); ?> Possible null dereference and buffer overflow.</li> 6458</ul></li> 6459</ul> 6460 6461<ul> 6462<li>Pdo_sqlite: 6463<ul> 6464 <li><?php bugfix(63149); ?> getColumnMeta should return the table name when system SQLite used.</li> 6465</ul></li> 6466</ul> 6467 6468<ul> 6469<li>Apache2 Handler SAPI: 6470<ul> 6471 <li>Enabled Apache 2.4 configure option for Windows.</li> 6472</ul></li> 6473</ul> 6474 6475<ul> 6476<li>Reflection: 6477<ul> 6478 <li><?php bugfix(63614); ?> (Fatal error on Reflection).</li> 6479</ul></li> 6480</ul> 6481 6482<ul> 6483<li>SOAP: 6484<ul> 6485 <li><?php bugfix(63271); ?> (SOAP wsdl cache is not enabled after initial requests).</li> 6486</ul></li> 6487</ul> 6488 6489<ul> 6490<li>Sockets: 6491<ul> 6492 <li><?php bugfix(49341); ?> (Add SO_REUSEPORT support for socket_set_option()).</li> 6493</ul></li> 6494</ul> 6495<!-- }}} --></section> 6496 6497 6498<section class="version" id="5.4.9"><!-- {{{ 5.4.9 --> 6499<h3>Version 5.4.9</h3> 6500<?php release_date('22-November-2012'); ?> 6501<ul> 6502<li>Core: 6503<ul> 6504 <li><?php bugfix(63305); ?> (zend_mm_heap corrupted with traits).</li> 6505 <li><?php bugfix(63369); ?> ((un)serialize() leaves dangling pointers, causes crashes).</li> 6506 <li><?php bugfix(63241); ?> (PHP fails to open Windows deduplicated files).</li> 6507 <li><?php bugfix(62444); ?> (Handle leak in is_readable on windows). </li> 6508</ul></li> 6509</ul> 6510 6511<ul> 6512<li>Curl: 6513<ul> 6514 <li><?php bugfix(63363); ?> (Curl silently accepts boolean true for SSL_VERIFYHOST).</li> 6515</ul></li> 6516</ul> 6517 6518<ul> 6519<li>Fileinfo: 6520<ul> 6521 <li><?php bugfix(63248); ?> (Load multiple magic files from a directory under Windows).</li> 6522</ul></li> 6523</ul> 6524 6525<ul> 6526<li>Libxml 6527<ul> 6528 <li><?php bugfix(63389); ?> (Missing context check on libxml_set_streams_context() 6529 causes memleak).</li> 6530</ul></li> 6531</ul> 6532 6533<ul> 6534<li>Mbstring: 6535<ul> 6536 <li><?php bugfix(63447); ?> (max_input_vars doesn't filter variables when 6537 mbstring.encoding_translation = On).</li> 6538</ul></li> 6539</ul> 6540 6541<ul> 6542<li>OCI8: 6543<ul> 6544 <li><?php bugfix(63265); ?> (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)</li> 6545</ul></li> 6546</ul> 6547 6548<ul> 6549<li>PCRE: 6550<ul> 6551 <li><?php bugfix(63180); ?> (Corruption of hash tables).</li> 6552 <li><?php bugfix(63055); ?> (Segfault in zend_gc with SF2 testsuite).</li> 6553 <li><?php bugfix(63284); ?> (Upgrade PCRE to 8.31).</li> 6554</ul></li> 6555</ul> 6556 6557<ul> 6558<li>PDO: 6559<ul> 6560 <li><?php bugfix(63235); ?> (buffer overflow in use of SQLGetDiagRec).</li> 6561</ul></li> 6562</ul> 6563 6564<ul> 6565<li>PDO_pgsql: 6566<ul> 6567 <li><?php bugfix(62593); ?> (Emulate prepares behave strangely with PARAM_BOOL).</li> 6568</ul></li> 6569</ul> 6570 6571<ul> 6572<li>Phar: 6573<ul> 6574 <li><?php bugfix(63297); ?> (Phar fails to write an openssl based signature).</li> 6575</ul></li> 6576</ul> 6577 6578<ul> 6579<li>Streams: 6580<ul> 6581 <li><?php bugfix(63240); ?> (stream_get_line() return contains delimiter string).</li> 6582</ul></li> 6583</ul> 6584 6585<ul> 6586<li>Reflection: 6587<ul> 6588 <li><?php bugfix(63399); ?> (ReflectionClass::getTraitAliases() incorrectly resolves traitnames).</li> 6589</ul></li> 6590</ul> 6591<!-- }}} --></section> 6592 6593<section class="version" id="5.4.8"><!-- {{{ 5.4.8 --> 6594<h3>Version 5.4.8</h3> 6595<?php release_date('18-October-2012'); ?> 6596<ul> 6597<li>CLI server 6598<ul> 6599 <li>Changed response to unknown HTTP method to 501 according to RFC.</li> 6600 <li>Support HTTP PATCH method.</li> 6601</ul></li> 6602</ul> 6603 6604<ul> 6605<li>Core 6606<ul> 6607 <li>Added optional second argument for assert() to specify custom message.</li> 6608 <li>Support building PHP with the native client toolchain.</li> 6609 <li>Added --offline option for tests.</li> 6610 <li><?php bugfix(63162); ?> (parse_url does not match password component).</li> 6611 <li><?php bugfix(63111); ?> (is_callable() lies for abstract static method).</li> 6612 <li><?php bugfix(63093); ?> (Segfault while load extension failed in zts-build).</li> 6613 <li><?php bugfix(62976); ?> (Notice: could not be converted to int when comparing some builtin classes).</li> 6614 <li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry).</li> 6615 <li><?php bugfix(62907); ?> (Double free when use traits).</li> 6616 <li><?php bugfix(61767); ?> (Shutdown functions not called in certain error situation).</li> 6617 <li><?php bugfix(60909); ?> (custom error handler throwing Exception + fatal error = no shutdown function).</li> 6618 <li><?php bugfix(60723); ?> (error_log error time has changed to UTC ignoring default timezone).</li> 6619</ul></li> 6620</ul> 6621 6622<ul> 6623<li>cURL 6624<ul> 6625 <li><?php bugfix(62085); ?> (file_get_contents a remote file by Curl wrapper will cause cpu Soaring).</li> 6626</ul></li> 6627</ul> 6628 6629<ul> 6630<li>Date 6631<ul> 6632 <li><?php bugfix(62896); ?> ("DateTime->modify('+0 days')" modifies DateTime object)</li> 6633 <li><?php bugfix(62561); ?> (DateTime add 'P1D' adds 25 hours).</li> 6634</ul></li> 6635</ul> 6636 6637<ul> 6638<li>DOM 6639<ul> 6640 <li><?php bugfix(63015); ?> (Incorrect arginfo for DOMErrorHandler).</li> 6641</ul></li> 6642</ul> 6643 6644<ul> 6645<li>FPM 6646<ul> 6647 <li><?php bugfix(62954); ?> (startup problems fpm / php-fpm).</li> 6648 <li><?php bugfix(62886); ?> (PHP-FPM may segfault/hang on startup).</li> 6649 <li><?php bugfix(63085); ?> (Systemd integration and daemonize).</li> 6650 <li><?php bugfix(62947); ?> (Unneccesary warnings on FPM).</li> 6651 <li><?php bugfix(62887); ?> (Only /status?plain&full gives "last request cpu").</li> 6652 <li><?php bugfix(62216); ?> (Add PID to php-fpm init.d script).</li> 6653</ul></li> 6654</ul> 6655 6656<ul> 6657<li>OpenSSL 6658<ul> 6659 <li><?php implemented(61421); ?> (OpenSSL signature verification missing RMD160, SHA224, SHA256, SHA384, SHA512).</li> 6660</ul></li> 6661</ul> 6662 6663<ul> 6664<li>SOA 6665<ul> 6666 <li><?php bugfix(50997); ?> (SOAP Error when trying to submit 2nd Element of a choice).</li> 6667</ul></li> 6668</ul> 6669 6670<ul> 6671<li>SPL 6672<ul> 6673 <li><?php bugfix(62987); ?> (Assigning to ArrayObject[null][something] overrides all undefined variables).</li> 6674</ul></li> 6675</ul> 6676 6677<ul> 6678<li>mbstring 6679<ul> 6680 <li>Allow passing null as a default value to mb_substr() and mb_strcut(). Patch by Alexander Moskaliov via GitHub PR <?php githubissuel('php/php-src', 133); ?>.</li> 6681</ul></li> 6682</ul> 6683 6684<ul> 6685<li>Filter extension 6686<ul> 6687 <li><?php bugfix(49510); ?> (Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false.)</li> 6688</ul></li> 6689</ul> 6690 6691<ul> 6692<li>Socket 6693<ul> 6694 <li><?php bugfix(63000); ?> (MCAST_JOIN_GROUP on OSX is broken, merge of PR 185 by Igor Wiedler).</li> 6695</ul></li> 6696</ul> 6697<!-- }}} --></section> 6698 6699<section class="version" id="5.4.7"><!-- {{{ 5.4.7 --> 6700<h3>Version 5.4.7</h3> 6701<?php release_date('13-September-2012'); ?> 6702<ul> 6703<li>Core 6704<ul> 6705 <li>Fixed bug (segfault while build with zts and GOTO vm-kind)</li> 6706 <li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry)</li> 6707 <li><?php bugfix(62844); ?> (parse_url() does not recognize //)</li> 6708 <li><?php bugfix(62829); ?> (stdint.h included on platform where HAVE_STDINT_H is not set)</li> 6709 <li><?php bugfix(62763); ?> (register_shutdown_function and extending class)</li> 6710 <li><?php bugfix(62725); ?> (Calling exit() in a shutdown function does not return the exit value)</li> 6711 <li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class)</li> 6712 <li><?php bugfix(62716); ?> (munmap() is called with the incorrect length)</li> 6713 <li><?php bugfix(62358); ?> (Segfault when using traits a lot)</li> 6714 <li><?php bugfix(62328); ?> (implementing __toString and a cast to string fails)</li> 6715 <li><?php bugfix(51363); ?> (Fatal error raised by var_export() not caught by error handler)</li> 6716 <li><?php bugfix(40459); ?> (Stat and Dir stream wrapper methods do not call constructor)</li> 6717</ul></li> 6718</ul> 6719 6720<ul> 6721<li>CURL 6722<ul> 6723 <li><?php bugfix(62912); ?> (CURLINFO_PRIMARY_* AND CURLINFO_LOCAL_* not exposed)</li> 6724 <li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE)</li> 6725</ul></li> 6726</ul> 6727 6728<ul> 6729<li>DateTime 6730<ul> 6731 <li><?php bugfix(62852); ?> (Unserialize invalid DateTime causes crash)</li> 6732</ul></li> 6733</ul> 6734 6735<ul> 6736<li>Intl 6737<ul> 6738 <li>Fixed Spoofchecker not being registered on ICU 49.1</li> 6739 <li><?php bugfix(62933); ?> (ext/intl compilation error on icu 3.4.1)</li> 6740 <li><?php bugfix(62915); ?> (defective cloning in several intl classes)</li> 6741</ul></li> 6742</ul> 6743 6744<ul> 6745<li>Installation 6746<ul> 6747 <li><?php bugfix(62460); ?> (php binaries installed as binary.dSYM)</li> 6748</ul></li> 6749</ul> 6750 6751<ul> 6752<li>PCRE 6753<ul> 6754 <li><?php bugfix(55856); ?> (preg_replace should fail on trailing garbage)</li> 6755</ul></li> 6756</ul> 6757 6758<ul> 6759<li>PDO 6760<ul> 6761 <li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction())</li> 6762</ul></li> 6763</ul> 6764 6765<ul> 6766<li>Reflection 6767<ul> 6768 <li><?php bugfix(62892); ?> (ReflectionClass::getTraitAliases crashes on importing trait methods as private)</li> 6769 <li><?php bugfix(62715); ?> (ReflectionParameter::isDefaultValueAvailable() wrong result)</li> 6770</ul></li> 6771</ul> 6772 6773<ul> 6774<li>Session 6775<ul> 6776 <li>Fixed bug (segfault due to retval is not initialized)</li> 6777 <li>Fixed bug (segfault due to PS(mod_user_implemented) not be reseted when close handler call exit)</li> 6778</ul></li> 6779</ul> 6780 6781<ul> 6782<li>SPL 6783<ul> 6784 <li><?php bugfix(62904); ?> (Crash when cloning an object which inherits SplFixedArray)</li> 6785 <li><?php implemented(62840); ?> (Add sort flag to ArrayObject::ksort)</li> 6786</ul></li> 6787</ul> 6788 6789<ul> 6790<li>Standard 6791<ul> 6792 <li><?php bugfix(62836); ?> (Seg fault or broken object references on unserialize())</li> 6793</ul></li> 6794</ul> 6795 6796<ul> 6797<li>FPM 6798<ul> 6799 <li>Merged PR 121 by minitux to add support for slow request counting on PHP FPM status page</li> 6800</ul></li> 6801</ul> 6802<!-- }}} --></section> 6803 6804<section class="version" id="5.4.6"><!-- {{{ 5.4.6 --> 6805<h3>Version 5.4.6</h3> 6806<?php release_date('16-August-2012'); ?> 6807<ul> 6808<li>CLI Server 6809<ul> 6810 <li><?php implemented(62700); ?> (have the console output 'Listening on http://localhost:8000').</li> 6811</ul></li> 6812</ul> 6813 6814<ul> 6815<li>Core 6816<ul> 6817 <li><?php bugfix(62661); ?> (Interactive php-cli crashes if include() is used in auto_prepend_file).</li> 6818 <li><?php bugfix(62653); ?>: (unset($array[$float]) causes a crash).</li> 6819 <li><?php bugfix(62565); ?> (Crashes due non-initialized internal properties_table).</li> 6820 <li><?php bugfix(60194); ?> (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).</li> 6821</ul></li> 6822</ul> 6823 6824<ul> 6825<li>CURL 6826<ul> 6827 <li><?php bugfix(62499); ?> (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).</li> 6828</ul></li> 6829</ul> 6830 6831<ul> 6832<li>DateTime 6833<ul> 6834 <li><?php bugfix(62500); ?> (Segfault in DateInterval class when extended).</li> 6835</ul></li> 6836</ul> 6837 6838<ul> 6839<li>Fileinfo 6840<ul> 6841 <li><?php bugfix(61964); ?> (finfo_open with directory causes invalid free).</li> 6842</ul></li> 6843</ul> 6844 6845<ul> 6846<li>Intl 6847<ul> 6848 <li><?php bugfix(62564); ?> (Extending MessageFormatter and adding property causes crash).</li> 6849</ul></li> 6850</ul> 6851 6852<ul> 6853<li>MySQLnd 6854<ul> 6855 <li><?php bugfix(62594); ?> (segfault in mysqlnd_res_meta::set_mode).</li> 6856</ul></li> 6857</ul> 6858 6859<ul> 6860<li>readline 6861<ul> 6862 <li><?php bugfix(62612); ?> (readline extension compilation fails with sapi/cli/cli.h: No such file).</li> 6863</ul></li> 6864</ul> 6865 6866<ul> 6867<li>Reflection 6868<ul> 6869 <li><?php implemented(61602); ?> (Allow access to name of constant used as default value).</li> 6870</ul></li> 6871</ul> 6872 6873<ul> 6874<li>SimpleXML 6875<ul> 6876 <li><?php implemented(55218); ?> (Get namespaces from current node).</li> 6877</ul></li> 6878</ul> 6879 6880<ul> 6881<li>SPL 6882<ul> 6883 <li><?php bugfix(62616); ?> (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).</li> 6884 <li><?php bugfix(61527); ?> (ArrayIterator gives misleading notice on next() when moved to the end).</li> 6885</ul></li> 6886</ul> 6887 6888<ul> 6889<li>Streams 6890<ul> 6891 <li><?php bugfix(62597); ?> (segfault in php_stream_wrapper_log_error with ZTS build).</li> 6892</ul></li> 6893</ul> 6894 6895<ul> 6896<li>Zlib 6897<ul> 6898 <li><?php bugfix(55544); ?> (ob_gzhandler always conflicts with zlib.output_compression).</li> 6899</ul></li> 6900</ul> 6901<!-- }}} --></section> 6902 6903<section class="version" id="5.4.5"><!-- {{{ 5.4.5 --> 6904<h3>Version 5.4.5</h3> 6905<?php release_date('19-July-2012'); ?> 6906<ul> 6907<li>Core 6908<ul> 6909 <li><?php bugfix(62443); ?> (Crypt SHA256/512 Segfaults With Malformed Salt)</li> 6910 <li><?php bugfix(62432); ?> (ReflectionMethod random corrupt memory on high concurrent)</li> 6911 <li><?php bugfix(62373); ?> (serialize() generates wrong reference to the object).</li> 6912 <li><?php bugfix(62357); ?> (compile failure: (S) Arguments missing for built-in function __memcmp)</li> 6913 <li><?php bugfix(61998); ?> (Using traits with method aliases appears to result in crash during execution)</li> 6914 <li><?php bugfix(51094); ?> (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)</li> 6915 <li>Fixed potential overflow in _php_stream_scandir (CVE-2012-2688)</li> 6916</ul></li> 6917</ul> 6918 6919<ul> 6920<li>EXIF 6921<ul> 6922 <li>Fixed information leak in ext exif</li> 6923</ul></li> 6924</ul> 6925 6926<ul> 6927<li>FPM 6928<ul> 6929 <li><?php bugfix(62205); ?> (php-fpm segfaults (null passed to strstr)</li> 6930 <li><?php bugfix(62160); ?> (Add process.priority to set nice(2) priorities)</li> 6931 <li><?php bugfix(62153); ?> (when using unix sockets, multiples FPM instances)</li> 6932 <li><?php bugfix(62033); ?> (php-fpm exits with status 0 on some failures to start)</li> 6933 <li><?php bugfix(61839); ?> (Unable to cross-compile PHP with --enable-fpm)</li> 6934 <li><?php bugfix(61835); ?> (php-fpm is not allowed to run as root)</li> 6935 <li><?php bugfix(61295); ?> (php-fpm should not fail with commented 'user'</li> 6936 <li><?php bugfix(61218); ?> (FPM drops connection while receiving some binary values in FastCGI requests)</li> 6937 <li><?php bugfix(61045); ?> (fpm don't send error log to fastcgi clients). (fat) for non-root start)</li> 6938 <li><?php bugfix(61026); ?> (FPM pools can listen on the same address). (fat) can be launched without errors)</li> 6939</ul></li> 6940</ul> 6941 6942<ul> 6943<li>Iconv 6944<ul> 6945<li><?php bugfix(55042); ?> (Erealloc in iconv.c unsafe)</li> 6946</ul></li> 6947</ul> 6948 6949<ul> 6950<li>Intl 6951<ul> 6952 <li><?php bugfix(62083); ?> (grapheme_extract() memory leaks)</li> 6953 <li><?php bugfix(62081); ?> (IntlDateFormatter constructor leaks memory when called twice)</li> 6954 <li><?php bugfix(62070); ?> (Collator::getSortKey() returns garbage)</li> 6955 <li><?php bugfix(62017); ?> (datefmt_create with incorrectly encoded timezone leaks pattern)</li> 6956 <li><?php bugfix(60785); ?> (memory leak in IntlDateFormatter constructor)</li> 6957 <li>ResourceBundle constructor now accepts NULL for the first two arguments</li> 6958</ul></li> 6959</ul> 6960 6961<ul> 6962<li>JSON 6963<ul> 6964 <li><?php bugfix(61359); ?> (json_encode() calls too many reallocs)</li> 6965</ul></li> 6966</ul> 6967 6968<ul> 6969<li>libxml 6970<ul> 6971 <li><?php bugfix(62266); ?> (Custom extension segfaults during xmlParseFile with FPM SAPI)</li> 6972</ul></li> 6973</ul> 6974 6975<ul> 6976<li>Phar 6977<ul> 6978 <li><?php bugfix(62227); ?> (Invalid phar stream path causes crash)</li> 6979</ul></li> 6980</ul> 6981 6982<ul> 6983<li>Readline 6984<ul> 6985 <li><?php bugfix(62186); ?> (readline fails to compile - void function should not return a value)</li> 6986</ul></li> 6987</ul> 6988 6989<ul> 6990<li>Reflection 6991<ul> 6992 <li><?php bugfix(62384); ?> (Attempting to invoke a Closure more than once causes segfault)</li> 6993 <li><?php bugfix(62202); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant)</li> 6994</ul></li> 6995</ul> 6996 6997<ul> 6998<li>Sockets 6999<ul> 7000 <li><?php bugfix(62025); ?> (__ss_family was changed on AIX 5.3)</li> 7001</ul></li> 7002</ul> 7003 7004<ul> 7005<li>SPL 7006<ul> 7007 <li><?php bugfix(62433); ?> (Inconsistent behavior of RecursiveDirectoryIterator to dot files)</li> 7008 <li><?php bugfix(62262); ?> (RecursiveArrayIterator does not implement Countable)</li> 7009</ul></li> 7010</ul> 7011 7012<ul> 7013<li>XML Writer 7014<ul> 7015 <li><?php bugfix(62064); ?> (memory leak in the XML Writer module)</li> 7016</ul></li> 7017</ul> 7018 7019<ul> 7020<li>Zip 7021<ul> 7022 <li>Upgraded libzip to 0.10.</li> 7023</ul></li> 7024</ul> 7025<!-- }}} --></section> 7026 7027<section class="version" id="5.4.4"><!-- {{{ 5.4.4 --> 7028<h3>Version 5.4.4</h3> 7029<?php release_date('06-June-2012'); ?> 7030<ul> 7031<li>CLI SAPI 7032<ul> 7033 <li><?php implemented(61977); ?> (Need CLI web-server support for files with .htm & svg extensions)</li> 7034 <li>Improved performance while sending error page, this also fixed bug <?php bugfix(61785); ?> 7035 (Memory leak when access a non-exists file without router)</li> 7036 <li><?php bugfix(61546); ?> (functions related to current script failed when chdir() in cli sapi)</li> 7037</ul></li> 7038</ul> 7039 7040<ul> 7041<li>Core 7042<ul> 7043 <li>Fixed missing bound check in iptcparse()</li> 7044 <li>Fixed CVE-2012-2143</li> 7045 <li><?php bugfix(62097); ?> (fix for bug <?php bugl(54547); ?>)</li> 7046 <li><?php bugfix(62005); ?> (unexpected behavior when incrementally assigning to a member of a null object)</li> 7047 <li><?php bugfix(61978); ?> (Object recursion not detected for classes that implement JsonSerializable)</li> 7048 <li><?php bugfix(61991); ?> (long overflow in realpath_cache_get())</li> 7049 <li><?php bugfix(61922); ?> (ZTS build doesn't accept zend.script_encoding config)</li> 7050 <li><?php bugfix(61827); ?> (incorrect \e processing on Windows)</li> 7051 <li><?php bugfix(61782); ?> (__clone/__destruct do not match other methods when checking access controls)</li> 7052 <li><?php bugfix(61761); ?> ('Overriding' a private static method with a different signature causes crash)</li> 7053 <li><?php bugfix(61730); ?> (Segfault from array_walk modifying an array passed by reference)</li> 7054 <li><?php bugfix(61728); ?> (PHP crash when calling ob_start in request_shutdown phase)</li> 7055 <li><?php bugfix(61660); ?> (bin2hex(hex2bin($data)) != $data)</li> 7056 <li><?php bugfix(61650); ?> (ini parser crashes when using ${xxxx} ini variables (without apache2))</li> 7057 <li><?php bugfix(61605); ?> (header_remove() does not remove all headers)</li> 7058 <li><?php bugfix(54547); ?> (wrong equality of string numbers)</li> 7059 <li><?php bugfix(54197); ?> ([PATH=] sections incompatibility with user_ini.filename set to null)</li> 7060 <li>Changed php://fd to be available only for CLI</li> 7061</ul></li> 7062</ul> 7063 7064<ul> 7065<li>CURL 7066<ul> 7067 <li><?php bugfix(61948); ?> (CURLOPT_COOKIEFILE '' raises open_basedir restriction)</li> 7068</ul></li> 7069</ul> 7070 7071<ul> 7072<li>COM 7073<ul> 7074 <li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li> 7075</ul></li> 7076</ul> 7077 7078<ul> 7079<li>Fileinfo 7080<ul> 7081 <li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li> 7082</ul></li> 7083</ul> 7084 7085<ul> 7086<li>FPM 7087<ul> 7088 <li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li> 7089 <li><?php bugfix(61565); ?> where php_stream_open_wrapper_ex tries to open a directory descriptor under windows</li> 7090 <li><?php bugfix(61566); ?> failure caused by the posix lseek and read versions under windows in cdf_read()</li> 7091</ul></li> 7092</ul> 7093 7094<ul> 7095<li>Iconv 7096<ul> 7097 <li>Fixed a bug that iconv extension fails to link to the correct library when another extension makes use of a library that links to the iconv library. See <a href="https://bugs.gentoo.org/show_bug.cgi?id=364139">https://bugs.gentoo.org/show_bug.cgi?id=364139</a> for detail</li> 7098</ul></li> 7099</ul> 7100 7101<ul> 7102<li>Intl 7103<ul> 7104 <li><?php bugfix(62082); ?> (Memory corruption in internal function get_icu_disp_value_src_php()</li> 7105</ul></li> 7106</ul> 7107 7108<ul> 7109<li>JSON 7110<ul> 7111 <li><?php bugfix(61537); ?> (json_encode() incorrectly truncates/discards information)</li> 7112</ul></li> 7113</ul> 7114 7115<ul> 7116<li>LibXML 7117<ul> 7118 <li><?php bugfix(61617); ?> (Libxml tests failed(ht is already destroyed))</li> 7119</ul></li> 7120</ul> 7121 7122<ul> 7123<li>PDO 7124<ul> 7125 <li><?php bugfix(61755); ?> (A parsing bug in the prepared statements can lead to access violations). (CVE-2012-3450)</li> 7126</ul></li> 7127</ul> 7128 7129<ul> 7130<li>Phar 7131<ul> 7132<li><?php bugfix(61065); ?> (Secunia SA44335) (CVE-2012-2386)</li> 7133</ul></li> 7134</ul> 7135 7136<ul> 7137<li>Streams 7138<ul> 7139 <li><?php bugfix(61961); ?> (file_get_contents leaks when access empty file with maxlen set)</li> 7140</ul></li> 7141</ul> 7142 7143<ul> 7144<li>zlib 7145<ul> 7146 <li><?php bugfix(61820); ?> (using ob_gzhandler will complain about headers already sent when no compression)</li> 7147 <li><?php bugfix(61443); ?> (can't change zlib.output_compression on the fly)</li> 7148 <li><?php bugfix(60761); ?> (zlib.output_compression fails on refresh)</li> 7149</ul></li> 7150</ul> 7151<!-- }}} --></section> 7152 7153<section class="version" id="5.4.3"><!-- {{{ 5.4.3 --> 7154<h3>Version 5.4.3</h3> 7155<?php release_date('08-May-2012'); ?> 7156 7157<ul> 7158 <li><?php bugfix(61807); ?> Buffer Overflow in apache_request_headers, CVE-2012-2329.</li> 7159 <li><?php bugfix(61910); ?> Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.</li> 7160</ul> 7161<!-- }}} --></section> 7162 7163<section class="version" id="5.4.2"><!-- {{{ 5.4.2 --> 7164<h3>Version 5.4.2</h3> 7165<?php release_date('03-May-2012'); ?> 7166 7167<ul> 7168 <li><?php bugfix(61910); ?> Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.</li> 7169</ul> 7170<!-- }}} --></section> 7171 7172 7173 7174<section class="version" id="5.4.1"><!-- {{{ 5.4.1 --> 7175<h3>Version 5.4.1</h3> 7176<?php release_date('26-Apr-2012'); ?> 7177 7178<ul> 7179<li>CLI Server 7180<ul> 7181 <li><?php bugfix(61461); ?> (missing checks around malloc() calls).</li> 7182 <li><?php implemented(60850); ?> (Built in web server does not set 7183 $_SERVER['SCRIPT_FILENAME'] when using router).</li> 7184</ul></li> 7185</ul> 7186 7187<ul> 7188<li>Core 7189<ul> 7190 <li>Fixed crash in ZTS using same class in many threads.</li> 7191 <li><?php bugfix(61374); ?> (html_entity_decode tries to decode code points that don't 7192 exist in ISO-8859-1).</li> 7193 <li><?php bugfix(61225); ?> (Incorrect lexing of 0b00*+<NUM>).</li> 7194 <li><?php bugfix(61106); ?> (Segfault when using header_register_callback).</li> 7195 <li><?php bugfix(61052); ?> (Missing error check in trait 'insteadof' clause).</li> 7196 <li><?php bugfix(61011); ?> (Crash when an exception is thrown by __autoload 7197 accessing a static property).</li> 7198 <li><?php bugfix(60978); ?> (exit code incorrect).</li> 7199 <li><?php bugfix(60911); ?> (Confusing error message when extending traits).</li> 7200 <li><?php bugfix(60717); ?> (Order of traits in use statement can cause a fatal 7201 error).</li> 7202 <li><?php bugfix(60573); ?> (type hinting with "self" keyword causes weird errors).</li> 7203</ul></li> 7204</ul> 7205 7206<ul> 7207<li>Fileinfo 7208<ul> 7209 <li>Fix fileinfo test problems.</li> 7210</ul></li> 7211</ul> 7212 7213<ul> 7214<li>Intl 7215<ul> 7216 <li><?php bugfix(61487); ?> (Incorrent bounds checking in grapheme_strpos).</li> 7217</ul></li> 7218</ul> 7219 7220<ul> 7221<li>mbstring 7222<ul> 7223 <li>MFH mb_ereg_replace_callback() for security enhancements.</li> 7224</ul></li> 7225</ul> 7226 7227<ul> 7228<li>mysqlnd 7229<ul> 7230 <li><?php bugfix(60948); ?> (mysqlnd FTBFS when -Wformat-security is enabled).</li> 7231</ul></li> 7232</ul> 7233 7234<ul> 7235<li>Standard 7236<ul> 7237 <li>Fixed memory leak in substr_replace.</li> 7238 <li>Make max_file_uploads ini directive settable outside of php.</li> 7239 <li><?php bugfix(61409); ?> (Bad formatting on phpinfo()).</li> 7240 <li><?php bugfix(60222); ?> (time_nanosleep() does validate input params).</li> 7241 <li><?php bugfix(60106); ?> (stream_socket_server silently truncates long unix socket 7242 paths).</li> 7243</ul></li> 7244</ul> 7245<!-- }}} --></section> 7246 7247<section class="version" id="5.4.0"><!-- {{{ 5.4.0 --> 7248<h3>Version 5.4.0</h3> 7249<?php release_date('01-Mar-2012'); ?> 7250 7251<ul> 7252<li>autoconf 2.59+ is now supported (and required) for generating the 7253 configure script with ./buildconf. Autoconf 2.60+ is desirable 7254 otherwise the configure help order may be incorrect.</li> 7255</ul> 7256<ul> 7257 <li>Removed legacy features 7258<ul> 7259 <li>break/continue $var syntax.</li> 7260 <li>Safe mode and all related ini options.</li> 7261 <li>register_globals and register_long_arrays ini options.</li> 7262 <li>import_request_variables().</li> 7263 <li>allow_call_time_pass_reference.</li> 7264 <li>define_syslog_variables ini option and its associated function.</li> 7265 <li>highlight.bg ini option.</li> 7266 <li>Session bug compatibility mode (session.bug_compat_42 and 7267 session.bug_compat_warn ini options).</li> 7268 <li>session_is_registered(), session_register() and session_unregister() 7269 functions.</li> 7270 <li>y2k_compliance ini option.</li> 7271 <li>magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase 7272 ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept 7273 but always return false, set_magic_quotes_runtime raises an 7274 E_CORE_ERROR.</li> 7275 <li>Removed support for putenv("TZ=..") for setting the timezone.</li> 7276 <li>Removed the timezone guessing algorithm in case the timezone isn't set with 7277 date.timezone or date_default_timezone_set(). Instead of a guessed 7278 timezone, "UTC" is now used instead.</li> 7279</ul></li> 7280</ul> 7281 7282<ul> 7283<li>Moved extensions to PECL 7284<ul> 7285 <li>ext/sqlite. (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are 7286 not affected)</li> 7287</ul></li> 7288</ul> 7289 7290<ul> 7291<li>General improvements 7292<ul> 7293 <li>Added short array syntax support ([1,2,3]), see UPGRADING guide for full 7294 details.</li> 7295 <li>Added binary numbers format (0b001010).</li> 7296 <li>Added support for Class::{expr}() syntax.</li> 7297 <li>Added multibyte support by default. Previously php had to be compiled 7298 with --enable-zend-multibyte. Now it can be enabled or disabled through 7299 zend.multibyte directive in php.ini.</li> 7300 <li>Removed compile time dependency from ext/mbstring.</li> 7301 <li>Added support for Traits.</li> 7302 <li>Added closure $this support back.</li> 7303 <li>Added array dereferencing support.</li> 7304 <li>Added callable typehint.</li> 7305 <li>Added indirect method call through array. <?php bugl(47160); ?>.</li> 7306 <li>Added DTrace support.</li> 7307 <li>Added class member access on instantiation (e.g. (new foo)->bar()) support.</li> 7308 <li><?= is now always available regardless of the short_open_tag setting.</li> 7309 <li>Implemented Zend Signal Handling (configurable option --enable-zend-signals, 7310 off by default).</li> 7311 <li>Improved output layer, see README.NEW-OUTPUT-API for internals.</li> 7312 <li>Improved unix build system to allow building multiple PHP binary SAPIs and 7313 one SAPI module the same time. <?php bugl(53271); ?>, <?php bugl(52419); ?>.</li> 7314 <li>Implemented closure rebinding as parameter to bindTo.</li> 7315 <li>Improved the warning message of incompatible arguments.</li> 7316 <li>Improved ternary operator performance when returning arrays. 7317 <li>Changed error handlers to only generate docref links when the docref_root 7318 INI setting is not empty.</li> 7319 <li>Changed silent conversion of array to string to produce a notice.</li> 7320 <li>Changed default value of "default_charset" php.ini option from ISO-8859-1 to 7321 UTF-8.</li> 7322 <li>Changed silent casting of null/''/false into an Object when adding 7323 a property into a warning.</li> 7324 <li>Changed E_ALL to include E_STRICT.</li> 7325 <li>Disabled windows CRT warning by default, can be enabled again using the ini 7326 directive windows_show_crt_warnings.</li> 7327 <li><?php bugfix(55378); ?>: Binary number literal returns float number though its 7328 value is small enough.</li> 7329</ul></li> 7330</ul> 7331 7332<ul> 7333<li>Improved Zend Engine memory usage 7334<ul> 7335 <li>Improved parse error messages.</li> 7336 <li>Replaced zend_function.pass_rest_by_reference by 7337 ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags.</li> 7338 <li>Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE 7339 in zend_function.fn_flags.</li> 7340 <li>Removed zend_arg_info.required_num_args as it was only needed for internal 7341 functions. Now the first arg_info for internal functions (which has special 7342 meaning) is represented by zend_internal_function_info structure.</li> 7343 <li>Moved zend_op_array.size, size_var, size_literal, current_brk_cont, 7344 backpatch_count into CG(context) as they are used only during compilation.</li> 7345 <li>Moved zend_op_array.start_op into EG(start_op) as it's used only for 7346 'interactive' execution of single top-level op-array.</li> 7347 <li>Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in 7348 zend_op_array.fn_flags.</li> 7349 <li>op_array.vars array is trimmed (reallocated) during pass_two. 7350 <li>Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED 7351 in zend_class_entry.ce_flags.</li> 7352 <li>Reduced the size of zend_class_entry by sharing the same memory space 7353 by different information for internal and user classes. 7354 See zend_class_entry.info union.</li> 7355 <li>Reduced size of temp_variable.</li> 7356</ul></li> 7357</ul> 7358 7359<ul> 7360<li>Improved Zend Engine, performance tweaks and optimizations 7361<ul> 7362 <li>Inlined most probable code-paths for arithmetic operations directly into 7363 executor.</li> 7364 <li>Eliminated unnecessary iterations during request startup/shutdown.</li> 7365 <li>Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used. 7366 (this may affect opcode caches!)</li> 7367 <li>Improved performance of @ (silence) operator.</li> 7368 <li>Simplified string offset reading. $str[1][0] is now a legal construct.</li> 7369 <li>Added caches to eliminate repeatable run-time bindings of functions, 7370 classes, constants, methods and properties.</li> 7371 <li>Added concept of interned strings. All strings constants known at compile 7372 time are allocated in a single copy and never changed.</li> 7373 <li>ZEND_RECV now always has IS_CV as its result.</li> 7374 <li>ZEND_CATCH now has to be used only with constant class names.</li> 7375 <li>ZEND_FETCH_DIM_? may fetch array and dimension operands in different order.</li> 7376 <li>Simplified ZEND_FETCH_*_R operations. They can't be used with the 7377 EXT_TYPE_UNUSED flag any more. This is a very rare and useless case. 7378 ZEND_FREE might be required after them instead.</li> 7379 <li>Split ZEND_RETURN into two new instructions ZEND_RETURN and 7380 ZEND_RETURN_BY_REF.</li> 7381 <li>Optimized access to global constants using values with pre-calculated 7382 hash_values from the literals table.</li> 7383 <li>Optimized access to static properties using executor specialization. 7384 A constant class name may be used as a direct operand of ZEND_FETCH_* 7385 instruction without previous ZEND_FETCH_CLASS.</li> 7386 <li>zend_stack and zend_ptr_stack allocation is delayed until actual usage.</li> 7387</ul></li> 7388</ul> 7389 7390<ul> 7391<li>Other improvements to Zend Engine 7392<ul> 7393 <li>Added an optimization which saves memory and emalloc/efree calls for empty 7394 HashTables.</li> 7395 <li>Added ability to reset user opcode handlers.</li> 7396 <li>Changed the structure of op_array.opcodes. The constant values are moved from 7397 opcode operands into a separate literal table.</li> 7398 <li>Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods.</li> 7399 <li><?php bugfix(43200); ?> (Interface implementation / inheritence not possible in 7400 abstract classes).</li> 7401</ul></li> 7402</ul> 7403 7404<ul> 7405<li>Improved core functions 7406<ul> 7407 <li>Added optional argument to debug_backtrace() and debug_print_backtrace() 7408 to limit the amount of stack frames returned.</li> 7409 <li>Added hex2bin() function.</li> 7410 <li>number_format() no longer truncates multibyte decimal points and thousand 7411 separators to the first byte. <?php bugl(53457); ?>.</li> 7412 <li>Added support for object references in recursive serialize() calls. 7413 <?php bugl(36424); ?>.</li> 7414 <li>Added support for SORT_NATURAL and SORT_FLAG_CASE in array 7415 sort functions (sort, rsort, ksort, krsort, asort, arsort and 7416 array_multisort). <?php bugl(55158); ?>.</li> 7417 <li>Added stream metadata API support and stream_metadata() stream class 7418 handler.</li> 7419 <li>User wrappers can now define a stream_truncate() method that responds 7420 to truncation, e.g. through ftruncate(). <?php bugl(53888); ?>.</li> 7421 <li>Improved unserialize() performance.</li> 7422 <li>Changed array_combine() to return empty array instead of FALSE when both 7423 parameter arrays are empty. <?php bugl(34857); ?>.</li> 7424 <li>Fixed invalid free in call_user_method() function.</li> 7425 <li>Fixed crypt_blowfish handling of 8-bit characters. (CVE-2011-2483).</li> 7426 <li><?php bugfix(61095); ?> (Incorect lexing of 0x00*+<NUM>).</li> 7427 <li><?php bugfix(60965); ?> (Buffer overflow on htmlspecialchars/entities with 7428 $double=false).</li> 7429 <li><?php bugfix(60895); ?> (Possible invalid handler usage in windows random 7430 functions).</li> 7431 <li><?php bugfix(60879); ?> (unserialize() Does not invoke __wakeup() on object).</li> 7432 <li><?php bugfix(60825); ?> (Segfault when running symfony 2 tests).</li> 7433 <li><?php bugfix(60809); ?> (TRAITS - PHPDoc Comment Style Bug).</li> 7434 <li><?php bugfix(60627); ?> (httpd.worker segfault on startup with php_value).</li> 7435 <li><?php bugfix(60613); ?> (Segmentation fault with $cls->{expr}() syntax).</li> 7436 <li><?php bugfix(60611); ?> (Segmentation fault with Cls::{expr}() syntax).</li> 7437 <li><?php bugfix(60558); ?> (Invalid read and writes).</li> 7438 <li><?php bugfix(60536); ?> (Traits Segfault).</li> 7439 <li><?php bugfix(60444); ?> (Segmentation fault with include & class extending).</li> 7440 <li><?php bugfix(60362); ?> (non-existent sub-sub keys should not have values).</li> 7441 <li><?php bugfix(60350); ?> (No string escape code for ESC (ascii 27), normally \e).</li> 7442 <li><?php bugfix(60321); ?> (ob_get_status(true) no longer returns an array when 7443 buffer is empty).</li> 7444 <li><?php bugfix(60282); ?> (Segfault when using ob_gzhandler() with open buffers).</li> 7445 <li><?php bugfix(60240); ?> (invalid read/writes when unserializing specially crafted 7446 strings).</li> 7447 <li><?php bugfix(60227); ?> (header() cannot detect the multi-line header with 7448 CR(0x0D)).</li> 7449 <li><?php bugfix(60174); ?> (Notice when array in method prototype error).</li> 7450 <li><?php bugfix(60169); ?> (Conjunction of ternary and list crashes PHP).</li> 7451 <li><?php bugfix(60120); ?> (proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes). 7452 <li><?php bugfix(60099); ?> (__halt_compiler() works in braced namespaces).</li> 7453 <li><?php bugfix(60038); ?> (SIGALRM cause segfault in php_error_cb).</li> 7454 <li><?php bugfix(55874); ?> (GCC does not provide __sync_fetch_and_add on some archs).</li> 7455 <li><?php bugfix(55871); ?> (Interruption in substr_replace()).</li> 7456 <li><?php bugfix(55825); ?> (Missing initial value of static locals in trait methods).</li> 7457 <li><?php bugfix(55801); ?> (Behavior of unserialize has changed).</li> 7458 <li><?php bugfix(55622); ?> (memory corruption in parse_ini_string).</li> 7459 <li><?php bugfix(55758); ?> (Digest Authenticate missed in 5.4) .</li> 7460 <li><?php bugfix(55748); ?> (multiple NULL Pointer Dereference with zend_strndup()) 7461 (CVE-2011-4153).</li> 7462 <li><?php bugfix(55749); ?> (TOCTOU issue in getenv() on Windows builds).</li> 7463 <li><?php bugfix(55707); ?> (undefined reference to `__sync_fetch_and_add_4' on Linux 7464 parisc).</li> 7465 <li><?php bugfix(55705); ?> (Omitting a callable typehinted argument causes a segfault).</li> 7466 <li><?php bugfix(55475); ?> (is_a() triggers autoloader, new optional 3rd argument to 7467 is_a and is_subclass_of).</li> 7468 <li><?php bugfix(55471); ?> (ZTS build broken with dtrace).</li> 7469 <li><?php bugfix(55124); ?> (recursive mkdir fails with current (dot) directory in path).</li> 7470 <li><?php bugfix(55084); ?> (Function registered by header_register_callback is 7471 called only once per process).</li> 7472 <li>Implement <?php bugl(54514); ?> (Get php binary path during script execution).</li> 7473 <li><?php bugfix(52624); ?> (tempnam() by-pass open_basedir with nonexistent 7474 directory).</li> 7475 <li><?php bugfix(52211); ?> (iconv() returns part of string on error).</li> 7476 <li><?php bugfix(51860); ?> (Include fails with toplevel symlink to /).</li> 7477</ul></li> 7478</ul> 7479 7480<ul> 7481<li>Improved generic SAPI support 7482<ul> 7483 <li>Added $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision.</li> 7484 <li>Added max_input_vars directive to prevent attacks based on hash collisions.</li> 7485 <li>Added header_register_callback() which is invoked immediately 7486 prior to the sending of headers and after default headers have 7487 been added.</li> 7488 <li>Added http_response_code() function. <?php bugl(52555); ?>.</li> 7489 <li><?php bugfix(55500); ?> (Corrupted $_FILES indices lead to security concern).</li> 7490 <li><?php bugfix(54374); ?> (Insufficient validating of upload name leading to 7491 corrupted $_FILES indices).</li> 7492</ul></li> 7493</ul> 7494 7495<ul> 7496<li>Improved Apache SAPI 7497<ul> 7498 <li><?php bugfix(60205); ?> (possible integer overflow in content_length).</li> 7499</ul></li> 7500</ul> 7501 7502<ul> 7503<li>Improved CLI SAPI 7504<ul> 7505 <li>Added friendly log messages. <?php bugl(55109); ?>.</li> 7506 <li>Added built-in web server that is intended for testing purpose.</li> 7507 <li>Added command line option --rz <name> which shows information of the 7508 named Zend extension.</li> 7509 <li>Interactive readline shell improvements 7510 <ul> 7511 <li>Added "cli.pager" php.ini setting to set a pager for output.</li> 7512 <li>Added "cli.prompt" php.ini setting to configure the shell prompt.</li> 7513 <li>Added shortcut #inisetting=value to change ini settings at run-time.</li> 7514 <li>Changed shell not to terminate on fatal errors.</li> 7515 <li>Interactive shell works with shared readline extension. <?php bugl(53878); ?>.</li> 7516 </ul></li> 7517 <li><?php bugfix(60591); ?> (Memory leak when access a non-exists file).</li> 7518 <li><?php bugfix(60523); ?> (PHP Errors are not reported in browsers using built-in 7519 SAPI).</li> 7520 <li><?php bugfix(60477); ?> (Segfault after two multipart/form-data POST requests, 7521 one 200 RQ and one 404).</li> 7522 <li>Implement <?php bugl(60390); ?> (Missing $_SERVER['SERVER_PORT']).</li> 7523 <li><?php bugfix(60180); ?> ($_SERVER["PHP_SELF"] incorrect).</li> 7524 <li><?php bugfix(60159); ?> (Router returns false, but POST is not passed to requested 7525 resource).</li> 7526 <li><?php bugfix(60146); ?> (Last 2 lines of page not being output).</li> 7527 <li><?php bugfix(60115); ?> (memory definitely lost in cli server).</li> 7528 <li><?php bugfix(60112); ?> (If URI does not contain a file, index.php is not served).</li> 7529 <li><?php bugfix(55759); ?> (memory leak when using built-in server).</li> 7530 <li><?php bugfix(55755); ?> (SegFault when outputting header WWW-Authenticate).</li> 7531 <li><?php bugfix(55747); ?> (request headers missed in $_SERVER).</li> 7532 <li><?php bugfix(55726); ?> (Changing the working directory makes router script 7533 inaccessible).</li> 7534 <li><?php bugfix(55463); ?> (cli-server missing _SERVER[REMOTE_ADDR]).</li> 7535 <li><?php bugfix(55450); ?> (Built in web server not accepting file uploads).</li> 7536 <li><?php bugfix(55423); ?> (cli-server could not output correctly in some case).</li> 7537</ul></li> 7538</ul> 7539 7540<ul> 7541<li>Improved CGI/FastCGI SAPI 7542<ul> 7543 <li>Added apache compatible functions: apache_child_terminate(), 7544 getallheaders(), apache_request_headers() and apache_response_headers().</li> 7545 <li>Improved performance of FastCGI request parsing.</li> 7546 <li>Fixed reinitialization of SAPI callbacks after php_module_startup().</li> 7547</ul></li> 7548</ul> 7549 7550<ul> 7551<li>Improved PHP-FPM SAPI 7552<ul> 7553 <li>Added partial syslog support (on error_log only). <?php bugl(52052); ?>.</li> 7554 <li>Added .phar to default authorized extensions.</li> 7555 <li>Added process.max to control the number of process FPM can fork. <?php bugl(55166); ?>.</li> 7556 <li>Dropped restriction of not setting the same value multiple times, the last 7557 one holds.</li> 7558 <li>Lowered default value for Process Manager. <?php bugl(54098); ?>.</li> 7559 <li>Enhanced security by limiting access to user defined extensions. 7560 <?php bugl(55181); ?>.</li> 7561 <li>Enhanced error log when the primary script can't be open. <?php bugl(60199); ?>.</li> 7562 <li>Removed EXPERIMENTAL flag.</li> 7563 <li><?php bugfix(60659); ?> (FPM does not clear auth_user on request accept).</li> 7564 <li><?php bugfix(60629); ?> (memory corruption when web server closed the fcgi fd).</li> 7565</ul></li> 7566</ul> 7567 7568<ul> 7569<li>Improved Litespeed SAPI 7570<ul> 7571 <li><?php bugfix(55769); ?> (Make Fails with "Missing Separator" error).</li> 7572</ul></li> 7573</ul> 7574 7575<ul> 7576<li>Improved BCmath extension 7577<ul> 7578 <li><?php bugfix(60377); ?> (bcscale related crashes on 64bits platforms).</li> 7579</ul></li> 7580</ul> 7581<ul> 7582<li>Improved CURL extension 7583<ul> 7584 <li>Added support for CURLOPT_MAX_RECV_SPEED_LARGE and 7585 CURLOPT_MAX_SEND_SPEED_LARGE. <?php bugl(51815); ?>.</li> 7586 <li><?php bugfix(60439); ?> (curl_copy_handle segfault when used with 7587 CURLOPT_PROGRESSFUNCTION).</li> 7588</ul></li> 7589</ul> 7590<ul> 7591<li>Improved Date extension 7592<ul> 7593 <li>Added the + modifier to parseFromFormat to allow trailing text in the 7594 string to parse without throwing an error.</li> 7595</ul></li> 7596</ul> 7597<ul> 7598<li>Improved DBA extension 7599<ul> 7600 <li>Added Tokyo Cabinet abstract DB support.</li> 7601 <li>Added Berkeley DB 5 support.</li> 7602</ul></li> 7603</ul> 7604<ul> 7605<li>Improved DOM extension 7606<ul> 7607 <li>Added the ability to pass options to loadHTML.</li> 7608</ul></li> 7609</ul> 7610<ul> 7611<li>Improved filesystem functions 7612<ul> 7613 <li>scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value. 7614 <?php bugl(53407); ?>.</li> 7615</ul></li> 7616</ul> 7617<ul> 7618<li>Improved fileinfo extension 7619<ul> 7620 <li>Fixed possible memory leak in finfo_open().</li> 7621 <li>Fixed memory leak when calling the Finfo constructor twice.</li> 7622 <li><?php bugfix(60094); ?> (C++ comment fails in c89).</li> 7623</ul></li> 7624</ul> 7625<ul> 7626<li>Improved HASH extension 7627<ul> 7628 <li>Added Jenkins's one-at-a-time hash support.</li> 7629 <li>Added FNV-1 hash support.</li> 7630 <li>Made Adler32 algorithm faster. <?php bugl(53213); ?>.</li> 7631 <li>Removed Salsa10/Salsa20, which are actually stream ciphers.</li> 7632 <li><?php bugfix(60221); ?> (Tiger hash output byte order).</li> 7633</ul></li> 7634</ul> 7635<ul> 7636<li>Improved intl extension 7637<ul> 7638 <li>Added Spoofchecker class, allows checking for visibly confusable characters and 7639 other security issues.</li> 7640 <li>Added Transliterator class, allowing transliteration of strings. </li> 7641 <li>Added support for UTS #46.</li> 7642 <li>Fixed memory leak in several Intl locale functions.</li> 7643 <li>Fixed build on Fedora 15 / Ubuntu 11.</li> 7644 <li><?php bugfix(55562); ?> (grapheme_substr() returns false on big length).</li> 7645</ul></li> 7646</ul> 7647<ul> 7648<li>Improved JSON extension 7649<ul> 7650 <li>Added new json_encode() option JSON_UNESCAPED_UNICODE. <?php bugl(53946); ?>.</li> 7651 <li>Added JsonSerializable interface.</li> 7652 <li>Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options.</li> 7653 <li>Added support for JSON_NUMERIC_CHECK option in json_encode() that converts 7654 numeric strings to integers.</li> 7655 <li>Added new json_encode() option JSON_UNESCAPED_SLASHES. <?php bugl(49366); ?>.</li> 7656 <li>Added new json_encode() option JSON_PRETTY_PRINT. <?php bugl(44331); ?>.</li> 7657</ul></li> 7658</ul> 7659<ul> 7660<li>Improved LDAP extension 7661<ul> 7662 <li>Added paged results support. <?php bugl(42060); ?>.</li> 7663</ul></li> 7664</ul> 7665<ul> 7666<li>Improved mbstring extension 7667<ul> 7668 <li>Added Shift_JIS/UTF-8 Emoji (pictograms) support.</li> 7669 <li>Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004) 7670 support.</li> 7671 <li>Ill-formed UTF-8 check for security enhancements.</li> 7672 <li>Added MacJapanese (Shift_JIS) and gb18030 encoding support.</li> 7673 <li>Added encode/decode in hex format to mb_[en|de]code_numericentity().</li> 7674 <li>Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004) 7675 support.</li> 7676 <li>Added the user defined area for CP936 and CP950.</li> 7677 <li>Fixed possible crash in mb_ereg_search_init() using empty pattern.</li> 7678 <li><?php bugfix(60306); ?> (Characters lost while converting from cp936 to utf8).</li> 7679</ul></li> 7680</ul> 7681<ul> 7682<li>Improved MS SQL extension 7683<ul> 7684 <li><?php bugfix(60267); ?> (Compile failure with freetds 0.91).</li> 7685</ul></li> 7686</ul> 7687<ul> 7688<li>Improved MySQL extensions 7689<ul> 7690 <li>MySQL: Deprecated mysql_list_dbs(). <?php bugl(50667); ?>.</li> 7691 <li>mysqlnd: Added named pipes support. <?php bugl(48082); ?>.</li> 7692 <li>MySQLi: Added iterator support in MySQLi. mysqli_result implements 7693 Traversable.</li> 7694 <li>PDO_mysql: Removed support for linking with MySQL client libraries older 7695 than 4.1.</li> 7696 <li>ext/mysql, mysqli and pdo_mysql now use mysqlnd by default.</li> 7697 <li><?php bugfix(55473); ?> (mysql_pconnect leaks file descriptors on reconnect). </li> 7698 <li><?php bugfix(55653); ?> (PS crash with libmysql when binding same variable as 7699 param and out).</li> 7700</ul></li> 7701</ul> 7702<ul> 7703<li>Improved OpenSSL extension 7704<ul> 7705 <li>Added AES support. <?php bugl(48632); ?>.</li> 7706 <li>Added a "no_ticket" SSL context option to disable the SessionTicket TLS 7707 extension. <?php bugl(53447); ?>.</li> 7708 <li>Added no padding option to openssl_encrypt()/openssl_decrypt().</li> 7709 <li>Use php's implementation for Windows Crypto API in 7710 openssl_random_pseudo_bytes.</li> 7711 <li>On error in openssl_random_pseudo_bytes() made sure we set strong result 7712 to false.</li> 7713 <li>Fixed segfault with older versions of OpenSSL.</li> 7714 <li>Fixed possible attack in SSL sockets with SSL 3.0 / TLS 1.0. 7715 CVE-2011-3389.</li> 7716 <li><?php bugfix(61124); ?> (Crash when decoding an invalid base64 encoded string).</li> 7717 <li><?php bugfix(60279); ?> (Fixed NULL pointer dereference in 7718 stream_socket_enable_crypto, case when ssl_handle of session_stream is not 7719 initialized.</li> 7720</ul></li> 7721</ul> 7722<ul> 7723<li>Improved Oracle Database extension (OCI8) 7724<ul> 7725 <li>Increased maximum Oracle error message buffer length for new 11.2.0.3 size.</li> 7726 <li>Improved internal initalization failure error messages.</li> 7727 <li><?php bugfix(59985); ?> (show normal warning text for OCI_NO_DATA).</li> 7728</ul></li> 7729</ul> 7730<ul> 7731<li>Improved PDO 7732<ul> 7733 <li>Fixed PDO objects binary incompatibility.</li> 7734</ul></li> 7735</ul> 7736<ul> 7737<li>PDO DBlib driver 7738<ul> 7739 <li>Added nextRowset support.</li> 7740 <li><?php bugfix(60033); ?> (Incorrectly merged PDO dblib patches break 7741 uniqueidentifier column type).</li> 7742 <li><?php bugfix(50755); ?> (PDO DBLIB Fails with OOM).</li> 7743</ul></li> 7744</ul> 7745<ul> 7746<li>Improved Pdo Firebird driver 7747<ul> 7748 <li><?php bugfix(53280); ?> (segfaults if query column count less than param count). </li> 7749 <li><?php bugfix(48877); ?> ("bindValue" and "bindParam" do not work for PDO Firebird).</li> 7750 <li><?php bugfix(47415); ?> (segfaults when passing lowercased column name to 7751 bindColumn).</li> 7752</ul></li> 7753</ul> 7754<ul> 7755<li>Improved PostgreSQL extension 7756<ul> 7757 <li>Added support for "extra" parameter for PGNotify().</li> 7758</ul></li> 7759</ul> 7760<ul> 7761<li>Improved preg extension 7762<ul> 7763 <li>Changed third parameter of preg_match_all() to optional. <?php bugl(53238); ?>.</li> 7764</ul></li> 7765</ul> 7766<ul> 7767<li>Improved readline extension 7768<ul> 7769 <li><?php bugfix(54450); ?> (Enable callback support when built against libedit).</li> 7770</ul></li> 7771</ul> 7772<ul> 7773<li>Improved Reflection extension 7774<ul> 7775 <li>Added ReflectionClass::newInstanceWithoutConstructor() to create a new 7776 instance of a class without invoking its constructor. <?php bugl(55490); ?>.</li> 7777 <li>Added ReflectionExtension::isTemporary() and 7778 ReflectionExtension::isPersistent() methods.</li> 7779 <li>Added ReflectionZendExtension class.</li> 7780 <li>Added ReflectionClass::isCloneable().</li> 7781 <li><?php bugfix(60367); ?> (Reflection and Late Static Binding).</li> 7782 <li><?php bugfix(60357); ?> (__toString() method triggers E_NOTICE "Array to string 7783 conversion").</li> 7784</ul></li> 7785</ul> 7786<ul> 7787<li>Improved Session extension 7788<ul> 7789 <li>Expose session status via new function, session_status. <?php bugl(52982); ?>.</li> 7790 <li>Added support for object-oriented session handlers.</li> 7791 <li>Added support for storing upload progress feedback in session data.</li> 7792 <li>Changed session.entropy_file to default to /dev/urandom or /dev/arandom if 7793 either is present at compile time.</li> 7794 <li><?php bugfix(60860); ?> (session.save_handler=user without defined function core 7795 dumps).</li> 7796 <li>Implement <?php bugl(60551); ?> (session_set_save_handler should support a core's 7797 session handler interface).</li> 7798 <li><?php bugfix(60640); ?> (invalid return values).</li> 7799</ul></li> 7800</ul> 7801<ul> 7802<li>Improved SNMP extension 7803<ul> 7804 <li>Added OO API. <?php bugl(53594); ?> (php-snmp rewrite).</li> 7805 <li>Sanitized return values of existing functions. Now it returns FALSE on 7806 failure.</li> 7807 <li>Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids 7808 upon request.</li> 7809 <li>Introducing unit tests for extension with ~full coverage. 7810 IPv6 support. (<?php bugl(42918); ?>)</li> 7811 <li>Way of representing OID value can now be changed when SNMP_VALUE_OBJECT 7812 is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if 7813 not specified) or SNMP_VALUE_PLAIN. (<?php bugl(54502); ?>)</li> 7814 <li><?php bugfix(60749); ?> (SNMP module should not strip non-standard SNMP port 7815 from hostname).</li> 7816 <li><?php bugfix(60585); ?> (php build fails with USE flag snmp when IPv6 support 7817 is disabled).</li> 7818 <li><?php bugfix(53862); ?> (snmp_set_oid_output_format does not allow returning to default).</li> 7819 <li><?php bugfix(51336); ?> (snmprealwalk (snmp v1) does not handle end of OID tree correctly).</li> 7820 <li><?php bugfix(46065); ?> (snmp_set_quick_print() persists between requests).</li> 7821 <li><?php bugfix(45893); ?> (Snmp buffer limited to 2048 char).</li> 7822 <li><?php bugfix(44193); ?> (snmp v3 noAuthNoPriv doesn't work).</li> 7823</ul></li> 7824</ul> 7825<ul> 7826<li>Improved SOAP extension 7827<ul> 7828 <li>Added new SoapClient option "keep_alive". <?php bugl(60329); ?>.</li> 7829 <li>Fixed basic HTTP authentication for WSDL sub requests.</li> 7830</ul></li> 7831</ul> 7832<ul> 7833<li>Improved SPL extension 7834<ul> 7835 <li>Added RegexIterator::getRegex() method.</li> 7836 <li>Added SplObjectStorage::getHash() hook.</li> 7837 <li>Added CallbackFilterIterator and RecursiveCallbackFilterIterator.</li> 7838 <li>Added missing class_uses(..) as pointed out by <?php bugl(55266); ?>.</li> 7839 <li>Immediately reject wrong usages of directories under Spl(Temp)FileObject 7840 and friends.</li> 7841 <li>FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use 7842 the default stream context.</li> 7843 <li><?php bugfix(60201); ?> (SplFileObject::setCsvControl does not expose third 7844 argument via Reflection).</li> 7845 <li><?php bugfix(55807); ?> (Wrong value for splFileObject::SKIP_EMPTY).</li> 7846 <li><?php bugfix(55287); ?> (spl_classes() not includes CallbackFilter classes)</li> 7847</ul></li> 7848</ul> 7849<ul> 7850<li>Improved Sysvshm extension 7851<ul> 7852 <li><?php bugfix(55750); ?> (memory copy issue in sysvshm extension).</li> 7853</ul></li> 7854</ul> 7855<ul> 7856<li>Improved Tidy extension 7857<ul> 7858 <li><?php bugfix(54682); ?> (Tidy::diagnose() NULL pointer dereference).</li> 7859</ul></li> 7860</ul> 7861<ul> 7862<li>Improved Tokenizer extension 7863<ul> 7864 <li><?php bugfix(54089); ?> (token_get_all with regards to __halt_compiler is 7865 not binary safe).</li> 7866</ul></li> 7867</ul> 7868<ul> 7869<li>Improved XSL extension 7870<ul> 7871 <li>Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to 7872 define forbidden operations within XSLT stylesheets, default is not to 7873 enable write operations from XSLT. <?php bugfix(54446); ?>.</li> 7874 <li>XSL doesn't stop transformation anymore, if a PHP function can't be called</li> 7875</ul></li> 7876</ul> 7877<ul> 7878<li>Improved ZLIB extension 7879<ul> 7880 <li>Re-implemented non-file related functionality.</li> 7881 <li><?php bugfix(55544); ?> (ob_gzhandler always conflicts with zlib.output_compression).</li> 7882</ul></li> 7883</ul> 7884 7885<!-- }}} --></section> 7886 7887<a id="PHP_5_3"></a> 7888<section class="version" id="5.3.29"><!-- {{{ 5.3.29 --> 7889<h3>Version 5.3.29</h3> 7890<?php release_date('14-Aug-2014'); ?> 7891<ul><li>Core: 7892<ul> 7893 <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li> 7894 <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li> 7895 <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li> 7896 <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li> 7897 <li><?php bugfix(67252); ?> (convert_uudecode out-of-bounds read).</li> 7898 <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li> 7899 <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script). (CVE-2014-3981)</li> 7900 <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li> 7901 <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion) (CVE-2014-3515).</li> 7902 <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability). (CVE-2014-4721)</li> 7903</ul></li> 7904<li>COM: 7905<ul> 7906 <li>Fixed missing type checks in com_event_sink.</li> 7907</ul></li> 7908<li>Date: 7909<ul> 7910 <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval). (CVE-2013-6712)</li> 7911 <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li> 7912 <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li> 7913</ul></li> 7914<li>Exif: 7915<ul> 7916 <li><?php bugfix(65873); ?> (Integer overflow in exif_read_data()).</li> 7917</ul></li> 7918<li>Fileinfo: 7919<ul> 7920 <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li> 7921 <li><?php bugfix(67326); ?> (fileinfo: cdf_read_short_sector insufficient boundary check). (CVE-2014-0207)</li> 7922 <li><?php bugfix(67327); ?> (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238)</li> 7923 <li><?php bugfix(67328); ?> (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237)</li> 7924 <li><?php bugfix(67410); ?> (fileinfo: mconvert incorrect handling of truncated pascal string size) (CVE-2014-3478).</li> 7925 <li><?php bugfix(67411); ?> (fileinfo: cdf_check_stream_offset insufficient boundary check) (CVE-2014-3479).</li> 7926 <li><?php bugfix(67412); ?> (fileinfo: cdf_count_chain insufficient boundary check) (CVE-2014-3480).</li> 7927 <li><?php bugfix(67413); ?> (fileinfo: cdf_read_property_info insufficient boundary check) (CVE-2014-3487).</li> 7928</ul></li> 7929<li>Intl: 7930<ul> 7931 <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li> 7932 <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and uloc_getDisplayName (libicu 4.8.1)).</li> 7933</ul></li> 7934<li>Network: 7935<ul> 7936 <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()). (CVE-2014-4049)</li> 7937</ul></li> 7938<li>OpenSSL: 7939<ul> 7940 <li>Fixed missing type checks in OpenSSL options.</li> 7941</ul></li> 7942<li>Session: 7943<ul> 7944 <li>Fixed missing type checks in php_session_create_id.</li> 7945</ul></li> 7946</ul> 7947<!-- }}} --></section> 7948 7949<section class="version" id="5.3.28"><!-- {{{ 5.3.28 --> 7950<h3>Version 5.3.28</h3> 7951<?php release_date('12-Dec-2013'); ?> 7952<ul><li>Openssl: 7953<ul> 7954 <li>Fixed handling null bytes in subjectAltName (CVE-2013-4248).</li> 7955 <li>Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420). (Stefan Esser).</li> 7956</ul></li> 7957</ul> 7958<!-- }}} --></section> 7959 7960<section class="version" id="5.3.27"><!-- {{{ 5.3.27 --> 7961<h3>Version 5.3.27</h3> 7962<?php release_date('11-Jul-2013'); ?> 7963<ul><li>Core: 7964<ul> 7965 <li><?php bugfix(64966); ?> (segfault in zend_do_fcall_common_helper_SPEC).</li> 7966 <li><?php bugfix(64960); ?> (Segfault in gc_zval_possible_root).</li> 7967 <li><?php bugfix(64934); ?> (Apache2 TS crash with get_browser()).</li> 7968 <li><?php bugfix(63186); ?> (compile failure on netbsd).</li> 7969</ul></li> 7970<li>DateTime: 7971<ul> 7972 <li><?php bugfix(53437); ?> (Crash when using unserialized DatePeriod instance).</li> 7973</ul></li> 7974<li>PDO_firebird: 7975<ul> 7976 <li><?php bugfix(64037); ?> (Firebird return wrong value for numeric field).</li> 7977 <li><?php bugfix(62024); ?> (Cannot insert second row with null using parametrized query).</li> 7978</ul></li> 7979<li>PDO_pgsql: 7980<ul> 7981 <li><?php bugfix(64949); ?> (Buffer overflow in _pdo_pgsql_error).</li> 7982</ul></li> 7983<li>pgsql: 7984<ul> 7985 <li><?php bugfix(64609); ?> (pg_convert enum type support).</li> 7986</ul></li> 7987<li>SPL: 7988<ul> 7989 <li><?php bugfix(64997); ?> (Segfault while using RecursiveIteratorIterator on 64-bits systems).</li> 7990</ul></li> 7991<li>XML: 7992<ul> 7993 <li><?php bugfix(65236); ?> (heap corruption in xml parser). (CVE-2013-4113)</li> 7994</ul></li> 7995</ul> 7996<!-- }}} --></section> 7997 7998<section class="version" id="5.3.26"><!-- {{{ 5.3.26 --> 7999<h3>Version 5.3.26</h3> 8000<?php release_date('06-Jun-2013'); ?> 8001<ul> 8002<li>Core: 8003<ul> 8004 <li><?php bugfix(64879); ?> (Heap based buffer overflow in quoted_printable_encode, CVE-2013-2110).</li> 8005</ul> 8006</li> 8007<li>Calendar: 8008<ul> 8009 <li><?php bugfix(64895); ?> (Integer overflow in SndToJewish).</li> 8010</ul> 8011</li> 8012<li>FPM: 8013<ul> 8014 <li>Fixed some possible memory or resource leaks and possible null dereference detected by code coverity scan.</li> 8015 <li>Log a warning when a syscall fails.</li> 8016</ul> 8017</li> 8018<li>MySQLi: 8019<ul> 8020 <li><?php bugfix(64726); ?> (Segfault when calling fetch_object on a use_result and DB pointer has closed).</li> 8021</ul> 8022</li> 8023<li>Phar: 8024<ul> 8025 <li><?php bugfix(64214); ?> (PHAR PHPTs intermittently crash when run on DFS, SMB or with non std tmp dir).</li> 8026</ul> 8027</li> 8028<li>Streams: 8029<ul> 8030 <li><?php bugfix(64770); ?> (stream_select() fails with pipes returned by proc_open() on Windows x64).</li> 8031</ul> 8032</li> 8033<li>Zend Engine: 8034<ul> 8035 <li><?php bugfix(64821); ?> (Custom Exception crash when internal properties overridden).</li> 8036</ul> 8037</li> 8038</ul> 8039<!-- }}} --></section> 8040 8041<section class="version" id="5.3.25"><!-- {{{ 5.3.25 --> 8042<h3>Version 5.3.25</h3> 8043<?php release_date('09-May-2013'); ?> 8044<ul> 8045<li>Core: 8046<ul> 8047 <li> <?php bugfix(64578); ?> (debug_backtrace in set_error_handler corrupts zend heap: segfault). </li> 8048 <li> <?php bugfix(64458); ?> (dns_get_record result with string of length -1). </li> 8049 <li> <?php bugfix(47675); ?> (fd leak on Solaris).</li> 8050 <li> <?php bugfix(64577); ?> (fd leak on Solaris).</li> 8051</ul></li> 8052<li>Streams: 8053<ul> 8054 <li> Fixed Windows x64 version of stream_socket_pair() and improved error handling.</li> 8055</ul></li> 8056<li>Zip: 8057<ul> 8058 <li> <?php bugfix(64342); ?> (ZipArchive::addFile() has to check for file existence).</li> 8059</ul></li> 8060</ul> 8061<!-- }}} --></section> 8062 8063<section class="version" id="5.3.24"><!-- {{{ 5.3.24 --> 8064<h3>Version 5.3.24</h3> 8065<?php release_date('11-Apr-2013'); ?> 8066<ul> 8067<li>Core: 8068<ul> 8069 <li><?php bugfix(64370); ?> (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).</li> 8070 <li><?php bugfix(63914); ?> (zend_do_fcall_common_helper_SPEC does not handle exceptions properly).</li> 8071 <li><?php bugfix(62343); ?> (Show class_alias In get_declared_classes()).</li> 8072</ul></li> 8073 8074<li>PCRE: 8075<ul> 8076 <li>Merged PCRE 8.32.</li> 8077</ul></li> 8078 8079<li>mysqlnd: 8080<ul> 8081 <li><?php bugfix(63530); ?> (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc for stmt->param_bind).</li> 8082</ul></li> 8083 8084<li>DateTime: 8085<ul> 8086 <li><?php bugfix(62852); ?> (Unserialize Invalid Date causes crash).</li> 8087</ul></li> 8088 8089<li>Zip: 8090<ul> 8091 <li><?php bugfix(64452); ?> (Zip crash intermittently).</li> 8092</ul></li> 8093</ul> 8094<!-- }}} --></section> 8095 8096<section class="version" id="5.3.23"><!-- {{{ 5.3.23 --> 8097<h3>Version 5.3.23</h3> 8098<?php release_date('14-March-2013'); ?> 8099<ul> 8100<li>Phar: 8101<ul> 8102 <li>Fixed timestamp update on Phar contents modification.</li> 8103</ul></li> 8104<li>SOAP 8105<ul> 8106 <li>Added check that soap.wsdl_cache_dir conforms to open_basedir 8107 (CVE-2013-1635). </li> 8108 <li>Disabled external entities loading (CVE-2013-1643, CVE-2013-1824).</li> 8109</ul></li> 8110<li>SPL: 8111<ul> 8112 <li><?php bugfix(64264); ?> (SPLFixedArray toArray problem). </li> 8113 <li><?php bugfix(64228); ?> (RecursiveDirectoryIterator always assumes SKIP_DOTS).</li> 8114 <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended). </li> 8115 <li><?php bugfix(52861); ?> (unset fails with ArrayObject and deep arrays).</li> 8116</ul></li> 8117</ul> 8118<!-- }}} --></section> 8119 8120<section class="version" id="5.3.22"><!-- {{{ 5.3.22 --> 8121<h3>Version 5.3.22</h3> 8122<?php release_date('21-February-2013'); ?> 8123<ul> 8124<li>Zend Engine: 8125<ul> 8126 <li><?php bugfix(64099); ?> (Wrong TSRM usage in zend_Register_class alias).</li> 8127 <li><?php bugfix(63899); ?> (Use after scope error in zend_compile).</li> 8128</ul></li> 8129</ul> 8130 8131<ul> 8132<li>Core: 8133<ul> 8134 <li><?php bugfix(63943); ?> (Bad warning text from strpos() on empty needle).</li> 8135</ul></li> 8136</ul> 8137 8138<ul> 8139<li>Date: 8140<ul> 8141 <li><?php bugfix(55397); ?> (comparsion of incomplete DateTime causes SIGSEGV).</li> 8142</ul></li> 8143</ul> 8144 8145<ul> 8146<li>FPM: 8147<ul> 8148 <li><?php bugfix(63999); ?> (php with fpm fails to build on Solaris 10 or 11).</li> 8149</ul></li> 8150</ul> 8151 8152<ul> 8153<li>SPL: 8154<ul> 8155 <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended). </li> 8156</ul></li> 8157</ul> 8158<!-- }}} --></section> 8159 8160<section class="version" id="5.3.21"><!-- {{{ 5.3.21 --> 8161<h3>Version 5.3.21</h3> 8162<?php release_date('17-January-2013'); ?> 8163<ul> 8164<li>Zend Engine: 8165<ul> 8166 <li><?php bugfix(63762); ?> (Sigsegv when Exception::$trace is changed by user).</li> 8167</ul></li> 8168</ul> 8169 8170<ul> 8171<li>cURL extension: 8172<ul> 8173 <li>Fixed bug (segfault due to libcurl connection caching).</li> 8174 <li><?php bugfix(63795); ?> (CURL >= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST).</li> 8175 <li><?php bugfix(63352); ?> (Can't enable hostname validation when using curl stream wrappers).</li> 8176 <li><?php bugfix(55438); ?> (Curlwapper is not sending http header randomly).</li> 8177</ul></li> 8178</ul> 8179<!-- }}} --></section> 8180 8181<section class="version" id="5.3.20"><!-- {{{ 5.3.20 --> 8182<h3>Version 5.3.20</h3> 8183<?php release_date('20-December-2012'); ?> 8184<ul> 8185<li>Zend Engine: 8186<ul> 8187 <li><?php bugfix(63635); ?> (Segfault in gc_collect_cycles).</li> 8188 <li><?php bugfix(63512); ?> (parse_ini_file() with INI_SCANNER_RAW removes quotes from value).</li> 8189 <li><?php bugfix(63468); ?> (wrong called method as callback with inheritance).</li> 8190</ul></li> 8191</ul> 8192 8193<ul> 8194<li>Core: 8195<ul> 8196 <li><?php bugfix(63451); ?> (config.guess file does not have AIX 7 defined, shared objects are not created).</li> 8197 <li><?php bugfix(63377); ?> (Segfault on output buffer).</li> 8198</ul></li> 8199</ul> 8200 8201<ul> 8202<li>Apache2 Handler SAPI: 8203<ul> 8204 <li>Enabled Apache 2.4 configure option for Windows.</li> 8205</ul></li> 8206</ul> 8207 8208<ul> 8209<li>Date: 8210<ul> 8211 <li><?php bugfix(63435); ?> (Datetime::format('u') sometimes wrong by 1 microsecond).</li> 8212</ul></li> 8213</ul> 8214 8215<ul> 8216<li>Fileinfo: 8217<ul> 8218 <li><?php bugfix(63248); ?> (Load multiple magic files from a directory under Windows).</li> 8219 <li><?php bugfix(63590); ?> (Different results in TS and NTS under Windows).</li> 8220</ul></li> 8221</ul> 8222 8223<ul> 8224<li>FPM: 8225<ul> 8226 <li><?php bugfix(63581); ?> (Possible null dereference and buffer overflow).</li> 8227</ul></li> 8228</ul> 8229 8230<ul> 8231<li>Imap: 8232<ul> 8233 <li><?php bugfix(63126); ?> (DISABLE_AUTHENTICATOR ignores array).</li> 8234</ul></li> 8235</ul> 8236 8237<ul> 8238<li>MySQLnd: 8239<ul> 8240 <li><?php bugfix(63398); ?> (Segfault when polling closed link).</li> 8241</ul></li> 8242</ul> 8243 8244<ul> 8245<li>Reflection: 8246<ul> 8247 <li><?php bugfix(63614); ?> (Fatal error on Reflection).</li> 8248</ul></li> 8249</ul> 8250 8251<ul> 8252<li>SOAP: 8253<ul> 8254 <li><?php bugfix(63271); ?> (SOAP wsdl cache is not enabled after initial requests).</li> 8255</ul></li> 8256</ul> 8257 8258<!-- }}} --></section> 8259 8260<section class="version" id="5.3.19"><!-- {{{ 5.3.19 --> 8261<h3>Version 5.3.19</h3> 8262<?php release_date('22-November-2012'); ?> 8263<ul> 8264<li>Core: 8265<ul> 8266 <li><?php bugfix(63241); ?> (PHP fails to open Windows deduplicated files).</li> 8267 <li><?php bugfix(62444); ?> (Handle leak in is_readable on windows).</li> 8268</ul></li> 8269</ul> 8270 8271<ul> 8272<li>Libxml: 8273<ul> 8274 <li><?php bugfix(63389); ?> (Missing context check on libxml_set_streams_context() causes memleak).</li> 8275</ul></li> 8276</ul> 8277 8278<ul> 8279<li>Mbstring: 8280<ul> 8281 <li><?php bugfix(63447); ?> (max_input_vars doesn't filter variables when 8282 mbstring.encoding_translation = On).</li> 8283</ul></li> 8284</ul> 8285 8286<ul> 8287<li>MySQL: 8288<ul> 8289 <li>Fixed compilation failure on mixed 32/64 bit systems.</li> 8290</ul></li> 8291</ul> 8292 8293<ul> 8294<li>OCI8: 8295<ul> 8296 <li><?php bugfix(63265); ?> (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)</li> 8297</ul></li> 8298</ul> 8299 8300<ul> 8301<li>PCRE: 8302<ul> 8303 <li><?php bugfix(63055); ?> (Segfault in zend_gc with SF2 testsuite).</li> 8304 <li><?php bugfix(63284); ?> (Upgrade PCRE to 8.31).</li> 8305</ul></li> 8306</ul> 8307 8308<ul> 8309<li>PDO: 8310<ul> 8311 <li><?php bugfix(63235); ?> (buffer overflow in use of SQLGetDiagRec).</li> 8312</ul></li> 8313</ul> 8314 8315<ul> 8316<li>PDO_pgsql: 8317<ul> 8318 <li><?php bugfix(62593); ?> (Emulate prepares behave strangely with PARAM_BOOL).</li> 8319</ul></li> 8320</ul> 8321 8322<ul> 8323<li>Phar: 8324<ul> 8325 <li><?php bugfix(63297); ?> (Phar fails to write an openssl based signature).</li> 8326</ul></li> 8327</ul> 8328 8329<ul> 8330<li>Streams: 8331<ul> 8332 <li><?php bugfix(63240); ?> (stream_get_line() return contains delimiter string).</li> 8333</ul></li> 8334</ul> 8335<!-- }}} --></section> 8336 8337<section class="version" id="5.3.18"><!-- {{{ 5.3.18 --> 8338<h3>Version 5.3.18</h3> 8339<?php release_date('18-October-2012'); ?> 8340<ul> 8341<li>Core 8342<ul> 8343 <li><?php bugfix(63111); ?> (is_callable() lies for abstract static method).</li> 8344 <li><?php bugfix(63093); ?> (Segfault while load extension failed in zts-build).</li> 8345 <li><?php bugfix(62976); ?> (Notice: could not be converted to int when comparing some builtin classes).</li> 8346 <li><?php bugfix(61767); ?> (Shutdown functions not called in certain error situation).</li> 8347 <li><?php bugfix(61442); ?> (exception threw in __autoload can not be catched).</li> 8348 <li><?php bugfix(60909); ?> (custom error handler throwing Exception + fatal error = no shutdown function).</li> 8349</ul></li> 8350</ul> 8351 8352<ul> 8353<li>cURL 8354<ul> 8355 <li><?php bugfix(62085); ?> (file_get_contents a remote file by Curl wrapper will cause cpu Soaring).</li> 8356</ul></li> 8357</ul> 8358 8359<ul> 8360<li>FPM 8361<ul> 8362 <li><?php bugfix(62954); ?> (startup problems fpm / php-fpm).</li> 8363 <li><?php bugfix(62886); ?> (PHP-FPM may segfault/hang on startup).</li> 8364 <li><?php bugfix(63085); ?> (Systemd integration and daemonize).</li> 8365 <li><?php bugfix(62947); ?> (Unneccesary warnings on FPM).</li> 8366 <li><?php bugfix(62887); ?> (Only /status?plain&full gives "last request cpu").</li> 8367 <li><?php bugfix(62216); ?> (Add PID to php-fpm init.d script).</li> 8368</ul></li> 8369</ul> 8370 8371<ul> 8372<li>Intl 8373<ul> 8374 <li><?php bugfix(62915); ?> (defective cloning in several intl classes).</li> 8375</ul></li> 8376</ul> 8377 8378<ul> 8379<li>SOAP 8380<ul> 8381 <li><?php bugfix(50997); ?> (SOAP Error when trying to submit 2nd Element of a choice).</li> 8382</ul></li> 8383</ul> 8384 8385<ul> 8386<li>SPL 8387<ul> 8388 <li><?php bugfix(62987) ?> (Assigning to ArrayObject[null][something] overrides all undefined variables).</li> 8389</ul></li> 8390</ul> 8391<!-- }}} --></section> 8392 8393<section class="version" id="5.3.17"><!-- {{{ 5.3.17 --> 8394<h3>Version 5.3.17</h3> 8395<?php release_date('13-September-2012'); ?> 8396<ul> 8397<li>Core 8398<ul> 8399 <li>Fixed bug (segfault while build with zts and GOTO vm-kind)</li> 8400 <li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry)</li> 8401 <li><?php bugfix(62763); ?> (register_shutdown_function and extending class)</li> 8402 <li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class)</li> 8403 <li><?php bugfix(62716); ?> (munmap() is called with the incorrect length)</li> 8404 <li><?php bugfix(62460); ?> (php binaries installed as binary.dSYM)</li> 8405</ul></li> 8406</ul> 8407 8408<ul> 8409<li>CURL 8410<ul> 8411 <li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE)</li> 8412</ul></li> 8413</ul> 8414 8415<ul> 8416<li>DateTime 8417<ul> 8418 <li><?php bugfix(62852); ?> (Unserialize invalid DateTime causes crash)</li> 8419</ul></li> 8420</ul> 8421 8422<ul> 8423<li>Intl 8424<ul> 8425 <li>Fix null pointer dereferences in some classes of ext/intl</li> 8426</ul></li> 8427</ul> 8428 8429<ul> 8430<li>MySQLnd 8431<ul> 8432 <li><?php bugfix(62885); ?> (mysqli_poll - Segmentation fault)</li> 8433</ul></li> 8434</ul> 8435 8436<ul> 8437<li>PDO 8438<ul> 8439 <li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction())</li> 8440</ul></li> 8441</ul> 8442 8443<ul> 8444<li>Session 8445<ul> 8446 <li>Fixed bug (segfault due to retval is not initialized)</li> 8447</ul></li> 8448</ul> 8449 8450<ul> 8451<li>SPL 8452<ul> 8453 <li><?php bugfix(62904); ?> (Crash when cloning an object which inherits SplFixedArray)</li> 8454</ul></li> 8455</ul> 8456 8457<ul> 8458<li>Enchant 8459<ul> 8460 <li><?php bugfix(62838); ?> (enchant_dict_quick_check() destroys zval, but fails to initialize it)</li> 8461</ul></li> 8462</ul> 8463<!-- }}} --></section> 8464 8465<section class="version" id="5.3.16"><!-- {{{ 5.3.16 --> 8466<h3>Version 5.3.16</h3> 8467<?php release_date('16-August-2012'); ?> 8468<ul> 8469<li>Core 8470<ul> 8471 <li><?php bugfix(62763); ?> (register_shutdown_function and extending class).</li> 8472 <li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class).</li> 8473 <li><?php bugfix(62716); ?> (munmap() is called with the incorrect length).</li> 8474 <li><?php bugfix(62460); ?> (php binaries installed as binary.dSYM).</li> 8475 <li><?php bugfix(60194); ?> (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).</li> 8476</ul></li> 8477</ul> 8478 8479<ul> 8480<li>CURL 8481<ul> 8482 <li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE).</li> 8483 <li><?php bugfix(62499); ?> (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).</li> 8484</ul></li> 8485</ul> 8486 8487<ul> 8488<li>DateTime 8489<ul> 8490 <li><?php bugfix(62500); ?> (Segfault in DateInterval class when extended).</li> 8491</ul></li> 8492</ul> 8493 8494<ul> 8495<li>Enchant 8496<ul> 8497 <li><?php bugfix(62838); ?> (enchant_dict_quick_check() destroys zval, but fails to initialize it).</li> 8498</ul></li> 8499</ul> 8500 8501<ul> 8502<li>PDO 8503<ul> 8504 <li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction()).</li> 8505</ul></li> 8506</ul> 8507 8508<ul> 8509<li>Reflection 8510<ul> 8511 <li><?php bugfix(62715); ?> (ReflectionParameter::isDefaultValueAvailable() wrong result).</li> 8512</ul></li> 8513</ul> 8514 8515<ul> 8516<li>Session 8517<ul> 8518 <li>Fixed bug (segfault due to retval is not initialized).</li> 8519</ul></li> 8520</ul> 8521 8522<ul> 8523<li>SPL 8524<ul> 8525 <li><?php bugfix(62616); ?> (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).</li> 8526</ul></li> 8527</ul> 8528<!-- }}} --></section> 8529 8530<section class="version" id="5.3.15"><!-- {{{ 5.3.15 --> 8531<h3>Version 5.3.15</h3> 8532<?php release_date('19-July-2012'); ?> 8533<ul> 8534<li>Zend Engine 8535<ul> 8536 <li><?php bugfix(51094); ?> (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)</li> 8537</ul></li> 8538</ul> 8539 8540<ul> 8541<li>COM 8542<ul> 8543 <li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li> 8544</ul></li> 8545</ul> 8546 8547<ul> 8548<li>Core 8549<ul> 8550 <li>Fixed potential overflow in _php_stream_scandir, CVE-2012-2688</li> 8551 <li><?php bugfix(62432); ?> (ReflectionMethod random corrupt memory on high concurrent)</li> 8552 <li><?php bugfix(62443); ?> (Crypt SHA256/512 Segfaults With Malformed Salt)</li> 8553</ul></li> 8554</ul> 8555 8556<ul> 8557<li>Fileinfo 8558<ul> 8559 <li>Fixed magic file regex support</li> 8560</ul></li> 8561</ul> 8562 8563<ul> 8564<li>FPM 8565<ul> 8566 <li><?php bugfix(61045); ?> (fpm don't send error log to fastcgi clients)</li> 8567 <li><?php bugfix(61835); ?> (php-fpm is not allowed to run as root)</li> 8568 <li><?php bugfix(61295); ?> (php-fpm should not fail with commented 'user' for non-root start)</li> 8569 <li><?php bugfix(61026); ?> (FPM pools can listen on the same address)</li> 8570 <li><?php bugfix(62033); ?> (php-fpm exits with status 0 on some failures to start)</li> 8571 <li><?php bugfix(62153); ?> (when using unix sockets, multiples FPM instances can be launched without errors)</li> 8572 <li><?php bugfix(62160); ?> (Add process.priority to set nice(2) priorities)</li> 8573 <li><?php bugfix(61218); ?> (FPM drops connection while receiving some binary values in FastCGI requests)</li> 8574 <li><?php bugfix(62205); ?> (php-fpm segfaults (null passed to strstr))</li> 8575</ul></li> 8576</ul> 8577 8578<ul> 8579<li>Intl 8580<ul> 8581 <li><?php bugfix(62083); ?> (grapheme_extract() memory leaks)</li> 8582 <li><?php bugfix(62081); ?> (IntlDateFormatter constructor leaks memory when called twice)</li> 8583 <li><?php bugfix(62070); ?> (Collator::getSortKey() returns garbage)</li> 8584 <li><?php bugfix(62017); ?> (datefmt_create with incorrectly encoded timezone leaks pattern)</li> 8585 <li><?php bugfix(60785); ?> (memory leak in IntlDateFormatter constructor)</li> 8586</ul></li> 8587</ul> 8588 8589<ul> 8590<li>JSON 8591<ul> 8592 <li>Reverted fix for bug <?php bugl(61537); ?></li> 8593</ul></li> 8594</ul> 8595 8596<ul> 8597<li>Phar 8598<ul> 8599 <li><?php bugfix(62227); ?> (Invalid phar stream path causes crash)</li> 8600</ul></li> 8601</ul> 8602 8603<ul> 8604<li>Reflection 8605<ul> 8606 <li><?php bugfix(62384); ?> (Attempting to invoke a Closure more than once causes segfault)</li> 8607 <li><?php bugfix(62202); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant)</li> 8608</ul></li> 8609</ul> 8610 8611<ul> 8612<li>SPL 8613<ul> 8614 <li><?php bugfix(62262); ?> (RecursiveArrayIterator does not implement Countable)</li> 8615</ul></li> 8616</ul> 8617 8618<ul> 8619<li>SQLite 8620<ul> 8621 <li>Fixed open_basedir bypass, CVE-2012-3365</li> 8622</ul></li> 8623</ul> 8624 8625<ul> 8626<li>XML Write 8627<ul> 8628 <li><?php bugfix(62064); ?> (memory leak in the XML Writer module)</li> 8629</ul></li> 8630</ul> 8631 8632<ul> 8633<li>Zip 8634<ul> 8635 <li>Upgraded libzip to 0.10</li> 8636</ul></li> 8637</ul> 8638<!-- }}} --></section> 8639 8640<section class="version" id="5.3.14"><!-- {{{ 5.3.14 --> 8641<h3>Version 5.3.14</h3> 8642<?php release_date('06-June-2012'); ?> 8643<ul> 8644<li>CLI SAPI 8645<ul> 8646 <li><?php bugfix(61546); ?> (functions related to current script failed when chdir() in cli sapi)</li> 8647</ul></li> 8648</ul> 8649 8650<ul> 8651<li>Core 8652<ul> 8653 <li>Fixed CVE-2012-2143</li> 8654 <li><?php bugfix(62005); ?> (unexpected behavior when incrementally assigning to a member of a null object)</li> 8655 <li><?php bugfix(61730); ?> (Segfault from array_walk modifying an array passed by reference)</li> 8656 <li>Fixed missing bound check in iptcparse()</li> 8657 <li><?php bugfix(61764); ?> ('I' unpacks n as signed if n > 2^31-1 on LP64)</li> 8658 <li><?php bugfix(54197); ?> ([PATH=] sections incompatibility with user_ini.filename set to null)</li> 8659 <li><?php bugfix(61713); ?> (Logic error in charset detection for htmlentities)</li> 8660 <li><?php bugfix(61991); ?> (long overflow in realpath_cache_get())</li> 8661 <li>Changed php://fd to be available only for CLI.</li> 8662</ul></li> 8663</ul> 8664 8665<ul> 8666<li>CURL 8667<ul> 8668 <li><?php bugfix(61948); ?> (CURLOPT_COOKIEFILE '' raises open_basedir restriction)</li> 8669</ul></li> 8670</ul> 8671 8672<ul> 8673<li>COM 8674<ul> 8675 <li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li> 8676</ul></li> 8677</ul> 8678 8679<ul> 8680<li>Fileinfo 8681<ul> 8682 <li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li> 8683</ul></li> 8684</ul> 8685 8686<ul> 8687<li>Iconv 8688<ul> 8689 <li>Fixed a bug that iconv extension fails to link to the correct library when another extension makes use of a library that links to the iconv library. See <a href="https://bugs.gentoo.org/show_bug.cgi?id=364139">https://bugs.gentoo.org/show_bug.cgi?id=364139</a> for detail</li> 8690</ul></li> 8691</ul> 8692 8693<ul> 8694<li>Intl 8695<ul> 8696 <li><?php bugfix(62082); ?> (Memory corruption in internal function get_icu_disp_value_src_php()</li> 8697</ul></li> 8698</ul> 8699 8700<ul> 8701<li>JSON 8702<ul> 8703 <li><?php bugfix(61537); ?> (json_encode() incorrectly truncates/discards information)</li> 8704</ul></li> 8705</ul> 8706 8707<ul> 8708<li>PDO 8709<ul> 8710 <li><?php bugfix(61755); ?> (A parsing bug in the prepared statements can lead to access violations). (CVE-2012-3450)</li> 8711</ul></li> 8712</ul> 8713 8714<ul> 8715<li>Phar 8716<ul> 8717<li><?php bugfix(61065); ?> (Secunia SA44335) (CVE-2012-2386)</li> 8718</ul></li> 8719</ul> 8720 8721<ul> 8722<li>Streams 8723<ul> 8724 <li><?php bugfix(61961); ?> (file_get_contents leaks when access empty file with maxlen set)</li> 8725</ul></li> 8726</ul> 8727<!-- }}} --></section> 8728 8729<section class="version" id="5.3.13"><!-- {{{ 5.3.13 --> 8730<h3>Version 5.3.13</h3> 8731<?php release_date('08-May-2012'); ?> 8732 8733<ul> 8734 <li><?php bugfix(61910); ?> Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.</li> 8735</ul> 8736<!-- }}} --></section> 8737 8738<section class="version" id="5.3.12"><!-- {{{ 5.3.12 --> 8739<h3>Version 5.3.12</h3> 8740<?php release_date('03-May-2012'); ?> 8741 8742<ul> 8743 <li><?php bugfix(61910); ?> Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.</li> 8744</ul> 8745<!-- }}} --></section> 8746 8747<section class="version" id="5.3.11"><!-- {{{ 5.3.11 --> 8748<h3>Version 5.3.11</h3> 8749<?php release_date('26-Apr-2012'); ?> 8750 8751<ul> 8752<li>Core 8753<ul> 8754 <li><?php bugfix(61650); ?> (ini parser crashes when using ${xxxx} ini variables 8755 (without apache2)).</li> 8756 <li><?php bugfix(61273); ?> (call_user_func_array with more than 16333 arguments 8757 leaks / crashes).</li> 8758 <li><?php bugfix(61165); ?> (Segfault - strip_tags()).</li> 8759 <li><?php bugfix(61095); ?> (Incorect lexing of 0x00*+<NUM>).</li> 8760 <li><?php bugfix(61087); ?> (Memory leak in parse_ini_file when specifying 8761 invalid scanner mode).</li> 8762 <li><?php bugfix(61072); ?> (Memory leak when restoring an exception handler).</li> 8763 <li><?php bugfix(61058); ?> (array_fill leaks if start index is PHP_INT_MAX).</li> 8764 <li><?php bugfix(61000); ?> (Exceeding max nesting level doesn't delete numerical 8765 vars).</li> 8766 <li><?php bugfix(60895); ?> (Possible invalid handler usage in windows random 8767 functions).</li> 8768 <li><?php bugfix(60825); ?> (Segfault when running symfony 2 tests).</li> 8769 <li><?php bugfix(60801); ?> (strpbrk() mishandles NUL byte).</li> 8770 <li><?php bugfix(60569); ?> (Nullbyte truncates Exception $message).</li> 8771 <li><?php bugfix(60227); ?> (header() cannot detect the multi-line header with CR).</li> 8772 <li><?php bugfix(60222); ?> (time_nanosleep() does validate input params).</li> 8773 <li><?php bugfix(54374); ?> (Insufficient validating of upload name leading to 8774 corrupted $_FILES indices). (CVE-2012-1172).</li> 8775 <li><?php bugfix(52719); ?> (array_walk_recursive crashes if third param of the 8776 function is by reference).</li> 8777 <li>Improve performance of set_exception_handler while doing reset.</li> 8778 <li><?php bugfix(51860); ?> (Include fails with toplevel symlink to /).</li> 8779</ul></li> 8780</ul> 8781 8782<ul> 8783<li>DOM 8784<ul> 8785 <li>Added debug info handler to DOM objects.</li> 8786</ul></li> 8787</ul> 8788 8789<ul> 8790<li>FPM 8791<ul> 8792 <li><?php bugfix(61430); ?> (Transposed memset() params in sapi/fpm/fpm/fpm_shm.)</li> 8793 <li><?php bugfix(60811); ?> (php-fpm compilation problem).</li> 8794</ul></li> 8795</ul> 8796 8797<ul> 8798<li>Fileinfo 8799<ul> 8800 <li>Upgraded libmagic to 5.</li> 8801 <li><?php bugfix(61565); ?> where php_stream_open_wrapper_ex tries to open a 8802 directory descriptor under windows.</li> 8803 <li><?php bugfix(61566); ?> failure caused by the posix lseek and read versions 8804 under windows in cdf_read().</li> 8805 <li><?php bugfix(61173); ?> (Unable to detect error from finfo constructor).</li> 8806</ul></li> 8807</ul> 8808 8809<ul> 8810<li>Firebird Database extension (ibase) 8811<ul> 8812 <li><?php bugfix(60802); ?> (ibase_trans() gives segfault when passing params).</li> 8813</ul></li> 8814</ul> 8815 8816<ul> 8817<li>Ibase 8818<ul> 8819 <li><?php bugfix(60947); ?> (Segmentation fault while executing ibase_db_info).</li> 8820</ul></li> 8821</ul> 8822 8823<ul> 8824<li>Installation 8825<ul> 8826 <li><?php bugfix(61172); ?> (Add Apache 2.4 support).</li> 8827</ul></li> 8828</ul> 8829 8830<ul> 8831<li>mysqli 8832<ul> 8833 <li><?php bugfix(61003); ?> (mysql_stat() require a valid connection).</li> 8834</ul></li> 8835</ul> 8836 8837<ul> 8838<li>PDO_mysql 8839<ul> 8840 <li><?php bugfix(61207); ?> (PDO::nextRowset() after a multi-statement query doesn't 8841 always work).</li> 8842 <li><?php bugfix(61194); ?> (PDO should export compression flag with myslqnd).</li> 8843</ul></li> 8844</ul> 8845 8846<ul> 8847<li>PDO_odbc 8848<ul> 8849 <li><?php bugfix(61212); ?> (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO).</li> 8850</ul></li> 8851</ul> 8852 8853<ul> 8854<li>PDO_pgsql 8855<ul> 8856 <li><?php bugfix(61267); ?> (pdo_pgsql's PDO::exec() returns the number of SELECTed 8857 rows on postgresql >= 9).</li> 8858</ul></li> 8859</ul> 8860 8861<ul> 8862<li>PDO_Sqlite extension 8863<ul> 8864 <li>Add createCollation support.</li> 8865</ul></li> 8866</ul> 8867 8868<ul> 8869<li>pgsql 8870<ul> 8871 <li><?php bugfix(60718); ?> (Compile problem with libpq (PostgreSQL 7.3 or less).</li> 8872</ul></li> 8873</ul> 8874 8875<ul> 8876<li>Phar 8877<ul> 8878 <li><?php bugfix(61184); ?> (Phar::webPhar() generates headers with trailing NUL 8879 bytes).</li> 8880</ul></li> 8881</ul> 8882 8883<ul> 8884<li>Readline 8885<ul> 8886 <li><?php bugfix(61088); ?> (Memory leak in readline_callback_handler_install).</li> 8887 <li>Add open_basedir checks to readline_write_history and readline_read_history.</li> 8888</ul></li> 8889</ul> 8890 8891<ul> 8892<li>Reflection 8893<ul> 8894 <li><?php bugfix(61388); ?> (ReflectionObject:getProperties() issues invalid reads 8895 when get_properties returns a hash table with (inaccessible) dynamic 8896 numeric properties).</li> 8897 <li><?php bugfix(60968); ?> (Late static binding doesn't work with 8898 ReflectionMethod::invokeArgs()).</li> 8899</ul></li> 8900</ul> 8901 8902<ul> 8903<li>Session 8904<ul> 8905 <li><?php bugfix(60860); ?> (session.save_handler=user without defined function core 8906 dumps).</li> 8907 <li><?php bugfix(60634); ?> (Segmentation fault when trying to die() in 8908 SessionHandler::write()).</li> 8909</ul></li> 8910</ul> 8911 8912<ul> 8913<li>SOAP 8914<ul> 8915 <li><?php bugfix(61423); ?> (gzip compression fails).</li> 8916 <li><?php bugfix(60887); ?> (SoapClient ignores user_agent option and sends no 8917 User-Agent header).</li> 8918 <li><?php bugfix(60842); ?>, <?php bugfix(51775); ?> (Chunked response parsing error when 8919 chunksize length line is > 10 bytes).</li> 8920 <li><?php bugfix(49853); ?> (Soap Client stream context header option ignored).</li> 8921</ul></li> 8922</ul> 8923 8924<ul> 8925<li>SPL 8926<ul> 8927 <li>Fixed memory leak when calling SplFileInfo's constructor twice.</li> 8928 <li><?php bugfix(61418); ?> (Segmentation fault when DirectoryIterator's or 8929 FilesystemIterator's iterators are requested more than once without 8930 having had its dtor callback called in between).</li> 8931 <li><?php bugfix(61347); ?> (inconsistent isset behavior of Arrayobject).</li> 8932 <li><?php bugfix(61326); ?> (ArrayObject comparison).</li> 8933</ul></li> 8934</ul> 8935 8936<ul> 8937<li>SQLite3 extension 8938<ul> 8939 <li>Add createCollation() method.</li> 8940</ul></li> 8941</ul> 8942 8943<ul> 8944<li>Streams 8945<ul> 8946 <li><?php bugfix(61371); ?> (stream_context_create() causes memory leaks on use 8947 streams_socket_create).</li> 8948 <li><?php bugfix(61253); ?> (Wrappers opened with errors concurrency problem on ZTS).</li> 8949 <li><?php bugfix(61115); ?> (stream related segfault on fatal error in 8950 php_stream_context_link).</li> 8951 <li><?php bugfix(60817); ?> (stream_get_line() reads from stream even when there is 8952 already sufficient data buffered). stream_get_line() now behaves more like 8953 fgets(), as is documented.</li> 8954 <li>Further fix for bug <?php bugfix(60455); ?> (stream_get_line misbehaves if EOF is not 8955 detected together with the last read).</li> 8956 <li><?php bugfix(60106); ?> (stream_socket_server silently truncates long unix 8957 socket paths).</li> 8958</ul></li> 8959</ul> 8960 8961<ul> 8962<li>Tidy 8963<ul> 8964 <li><?php bugfix(54682); ?> (tidy null pointer dereference).</li> 8965</ul></li> 8966</ul> 8967 8968<ul> 8969<li>XMLRPC 8970<ul> 8971 <li><?php bugfix(61264); ?> (xmlrpc_parse_method_descriptions leaks temporary 8972 variable).</li> 8973 <li><?php bugfix(61097); ?> (Memory leak in xmlrpc functions copying zvals).</li> 8974</ul></li> 8975</ul> 8976 8977<ul> 8978<li>Zlib 8979<ul> 8980 <li><?php bugfix(61306); ?> (initialization of global inappropriate for ZTS).</li> 8981 <li><?php bugfix(61287); ?> (A particular string fails to decompress).</li> 8982 <li><?php bugfix(61139); ?> (gzopen leaks when specifying invalid mode).</li> 8983</ul></li> 8984</ul> 8985<!-- }}} --></section> 8986 8987<section class="version" id="5.3.10"><!-- {{{ 5.3.10 --> 8988<h3>Version 5.3.10</h3> 8989<?php release_date('02-Feb-2012'); ?> 8990 8991<ul> 8992<li>Core: 8993<ul> 8994 <li>Fixed arbitrary remote code execution vulnerability reported by Stefan 8995 Esser, CVE-2012-0830.</li> 8996</ul> 8997</li> 8998</ul> 8999 9000<!-- }}} --></section> 9001 9002<section class="version" id="5.3.9"><!-- {{{ 5.3.9 --> 9003<h3>Version 5.3.9</h3> 9004<?php release_date('10-Jan-2012'); ?> 9005 9006<ul> 9007<li>Core: 9008<ul> 9009 <li>Added max_input_vars directive to prevent attacks based on hash collisions 9010 (Dmitry).</li> 9011 <li><?php bugfix(60205); ?> (possible integer overflow in content_length). (Laruence)</li> 9012 <li><?php bugfix(60139); ?> (Anonymous functions create cycles not detected by the 9013 GC). (Dmitry)</li> 9014 <li><?php bugfix(60138); ?> (GC crash with referenced array in RecursiveArrayIterator) 9015 (Dmitry).</li> 9016 <li><?php bugfix(60120); ?> (proc_open's streams may hang with stdin/out/err when 9017 the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)</li> 9018 <li><?php bugfix(60099); ?> (__halt_compiler() works in braced namespaces). (Felipe)</li> 9019 <li><?php bugfix(60019); ?> (Function time_nanosleep() is undefined on OS X). (Ilia)</li> 9020 <li><?php bugfix(55874); ?> (GCC does not provide __sync_fetch_and_add on some archs). 9021 (klightspeed at netspace dot net dot au)</li> 9022 <li><?php bugfix(55798); ?> (serialize followed by unserialize with numeric object 9023 prop. gives integer prop). (Gustavo)</li> 9024 <li><?php bugfix(55749); ?> (TOCTOU issue in getenv() on Windows builds). (Pierre)</li> 9025 <li><?php bugfix(55707); ?> (undefined reference to `__sync_fetch_and_add_4' on Linux 9026 parisc). (Felipe)</li> 9027 <li><?php bugfix(55674); ?> (fgetcsv & str_getcsv skip empty fields in some 9028 tab-separated records). (Laruence)</li> 9029 <li><?php bugfix(55649); ?> (Undefined function Bug()). (Laruence)</li> 9030 <li><?php bugfix(55622); ?> (memory corruption in parse_ini_string). (Pierre)</li> 9031 <li><?php bugfix(55576); ?> (Cannot conditionally move uploaded file without race 9032 condition). (Gustavo)</li> 9033 <li><?php bugfix(55510); ?>: $_FILES 'name' missing first character after upload. 9034 (Arpad)</li> 9035 <li><?php bugfix(55509); ?> (segfault on x86_64 using more than 2G memory). (Laruence)</li> 9036 <li><?php bugfix(55504); ?> (Content-Type header is not parsed correctly on 9037 HTTP POST request). (Hannes)</li> 9038 <li><?php bugfix(55475); ?> (is_a() triggers autoloader, new optional 3rd argument to 9039 is_a and is_subclass_of). (alan_k)</li> 9040 <li><?php bugfix(52461); ?> (Incomplete doctype and missing xmlns). 9041 (virsacer at web dot de, Pierre)</li> 9042 <li><?php bugfix(55366); ?> (keys lost when using substr_replace an array). (Arpad)</li> 9043 <li><?php bugfix(55273); ?> (base64_decode() with strict rejects whitespace after 9044 pad). (Ilia)</li> 9045 <li><?php bugfix(52624); ?> (tempnam() by-pass open_basedir with nonnexistent 9046 directory). (Felipe)</li> 9047 <li><?php bugfix(50982); ?> (incorrect assumption of PAGE_SIZE size). (Dmitry)</li> 9048 <li>Fixed invalid free in call_user_method() function. (Felipe)</li> 9049 <li><?php bugfix(43200); ?> (Interface implementation / inheritence not possible in 9050 abstract classes). (Felipe)</li> 9051</ul> 9052</li> 9053<li>BCmath: 9054<ul> 9055 <li><?php bugfix(60377); ?> (bcscale related crashes on 64bits platforms). (shm)</li> 9056</ul> 9057</li> 9058<li>Calendar: 9059<ul> 9060 <li><?php bugfix(55797); ?> (Integer overflow in SdnToGregorian leads to segfault (in 9061 optimized builds). (Gustavo)</li> 9062</ul> 9063</li> 9064<li>cURL: 9065<ul> 9066 <li><?php bugfix(60439); ?> (curl_copy_handle segfault when used with 9067 CURLOPT_PROGRESSFUNCTION). (Pierrick)</li> 9068 <li><?php bugfix(54798); ?> (Segfault when CURLOPT_STDERR file pointer is closed 9069 before calling curl_exec). (Hannes)</li> 9070 <li>Fixed issues were curl_copy_handle() would sometimes lose copied 9071 preferences. (Hannes)</li> 9072</ul> 9073</li> 9074<li>DateTime: 9075<ul> 9076 <li><?php bugfix(60373); ?> (Startup errors with log_errors on cause segfault). 9077 (Derick)</li> 9078 <li><?php bugfix(60236); ?> (TLA timezone dates are not converted properly from 9079 timestamp). (Derick)</li> 9080 <li><?php bugfix(55253); ?> (DateTime::add() and sub() result -1 hour on objects with 9081 time zone type 2). (Derick)</li> 9082 <li><?php bugfix(54851); ?> (DateTime::createFromFormat() doesn't interpret "D"). 9083 (Derick)</li> 9084 <li><?php bugfix(53502); ?> (strtotime with timezone memory leak). (Derick)</li> 9085 <li><?php bugfix(52062); ?> (large timestamps with DateTime::getTimestamp and 9086 DateTime::setTimestamp). (Derick)</li> 9087 <li><?php bugfix(51994); ?> (date_parse_from_format is parsing invalid date using 'yz' 9088 format). (Derick)</li> 9089 <li><?php bugfix(52113); ?> (Seg fault while creating (by unserialization) 9090 DatePeriod). (Derick)</li> 9091 <li><?php bugfix(48476); ?> (cloning extended DateTime class without calling 9092 parent::__constr crashed PHP). (Hannes)</li> 9093</ul> 9094</li> 9095<li>EXIF: 9096<ul> 9097 <li><?php bugfix(60150); ?> (Integer overflow during the parsing of invalid exif 9098 header). (Stas, flolechaud at gmail dot com)</li> 9099</ul> 9100</li> 9101<li>Fileinfo: 9102<ul> 9103 <li><?php bugfix(60094); ?> (C++ comment fails in c89). (Laruence)</li> 9104 <li>Fixed possible memory leak in finfo_open(). (Felipe)</li> 9105 <li>Fixed memory leak when calling the Finfo constructor twice. (Felipe)</li> 9106</ul> 9107</li> 9108<li>Filter: 9109<ul> 9110 <li><?php bugfix(55478); ?> (FILTER_VALIDATE_EMAIL fails with internationalized 9111 domain name addresses containing >1 -). (Ilia)</li> 9112</ul> 9113</li> 9114<li>FTP: 9115<ul> 9116 <li><?php bugfix(60183); ?> (out of sync ftp responses). (bram at ebskamp dot me, 9117 rasmus)</li> 9118</ul> 9119</li> 9120<li>Gd: 9121<ul> 9122 <li><?php bugfix(60160); ?> (imagefill() doesn't work correctly 9123 for small images). (Florian)</li> 9124</ul> 9125</li> 9126<li>Intl: 9127<ul> 9128 <li><?php bugfix(60192); ?> (SegFault when Collator not constructed 9129 properly). (Florian)</li> 9130 <li>Fixed memory leak in several Intl locale functions. (Felipe)</li> 9131</ul> 9132</li> 9133<li>JSON: 9134<ul> 9135 <li><?php bugfix(55543); ?> (json_encode() with JSON_NUMERIC_CHECK fails on objects 9136 with numeric string properties). (Ilia, dchurch at sciencelogic dot com)</li> 9137</ul> 9138</li> 9139<li>mbstring: 9140<ul> 9141 <li>Fixed possible crash in mb_ereg_search_init() using empty pattern. (Felipe)</li> 9142</ul> 9143</li> 9144<li>MS SQL: 9145<ul> 9146 <li><?php bugfix(60267); ?> (Compile failure with freetds 0.91). (Felipe)</li> 9147</ul> 9148</li> 9149<li>MySQL: 9150<ul> 9151 <li><?php bugfix(55550); ?> (mysql.trace_mode miscounts result sets). (Johannes)</li> 9152</ul> 9153</li> 9154<li>MySQLi extension: 9155<ul> 9156 <li><?php bugfix(55859); ?> (mysqli->stat property access gives error). (Andrey)</li> 9157 <li><?php bugfix(55582); ?> (mysqli_num_rows() returns always 0 for unbuffered, when 9158 mysqlnd is used). (Andrey)</li> 9159 <li><?php bugfix(55703); ?> (PHP crash when calling mysqli_fetch_fields). 9160 (eran at zend dot com, Laruence)</li> 9161</ul> 9162</li> 9163<li>mysqlnd: 9164<ul> 9165 <li><?php bugfix(55609); ?> (mysqlnd cannot be built shared). (Johannes)</li> 9166 <li><?php bugfix(55067); ?> (MySQL doesn't support compression - wrong config option). 9167 (Andrey)</li> 9168</ul> 9169</li> 9170<li>NSAPI SAPI: 9171<ul> 9172 <li>Don't set $_SERVER['HTTPS'] on unsecure connection (bug <?php bugl(55403); ?>). (Uwe 9173 Schindler)</li> 9174</ul> 9175</li> 9176<li>OpenSSL: 9177<ul> 9178 <li><?php bugfix(60279); ?> (Fixed NULL pointer dereference in 9179 stream_socket_enable_crypto, case when ssl_handle of session_stream is not 9180 initialized.) (shm)</li> 9181 <li>Fix segfault with older versions of OpenSSL. (Scott)</li> 9182</ul> 9183</li> 9184<li>Oracle Database extension (OCI8): 9185<ul> 9186 <li><?php bugfix(59985); ?> (show normal warning text for OCI_NO_DATA). 9187 (Chris Jones)</li> 9188 <li>Increased maximum Oracle error message buffer length for new 11.2.0.3 size. 9189 (Chris Jones)</li> 9190 <li>Improve internal initalization failure error messages. (Chris Jones)</li> 9191</ul> 9192</li> 9193<li>PDO 9194<ul> 9195 <li><?php bugfix(55776); ?> (PDORow to session bug). (Johannes)</li> 9196</ul> 9197</li> 9198<li>PDO Firebird: 9199<ul> 9200 <li><?php bugfix(48877); ?> ("bindValue" and "bindParam" do not work for PDO Firebird). 9201 (Mariuz)</li> 9202 <li><?php bugfix(47415); ?> (PDO_Firebird segfaults when passing lowercased column name to bindColumn).</li> 9203 <li><?php bugfix(53280); ?> (PDO_Firebird segfaults if query column count less than param count). 9204 (Mariuz)</li> 9205</ul> 9206</li> 9207<li>PDO MySQL driver: 9208<ul> 9209 <li><?php bugfix(60155); ?> (pdo_mysql.default_socket ignored). (Johannes)</li> 9210 <li><?php bugfix(55870); ?> (PDO ignores all SSL parameters when used with mysql 9211 native driver). (Pierre)</li> 9212 <li><?php bugfix(54158); ?> (MYSQLND+PDO MySQL requires #define 9213 MYSQL_OPT_LOCAL_INFILE). (Andrey)</li> 9214</ul> 9215</li> 9216<li>PDO OCI driver: 9217<ul> 9218 <li><?php bugfix(55768); ?> (PDO_OCI can't resume Oracle session after it's been 9219 killed). (mikhail dot v dot gavrilov at gmail dot com, Chris Jones, Tony)</li> 9220</ul> 9221</li> 9222<li>Phar: 9223<ul> 9224 <li><?php bugfix(60261); ?> (NULL pointer dereference in phar). (Felipe)</li> 9225 <li><?php bugfix(60164); ?> (Stubs of a specific length break phar_open_from_fp 9226 scanning for __HALT_COMPILER). (Ralph Schindler)</li> 9227 <li><?php bugfix(53872); ?> (internal corruption of phar). (Hannes)</li> 9228 <li><?php bugfix(52013); ?> (Unable to decompress files in a compressed phar). (Hannes)</li> 9229</ul> 9230</li> 9231<li>PHP-FPM SAPI: 9232<ul> 9233 <li><?php bugfix(60659); ?> (FPM does not clear auth_user on request accept). 9234 (bonbons at linux-vserver dot org)</li> 9235 <li><?php bugfix(60629); ?> (memory corruption when web server closed the fcgi fd). 9236 (fat)</li> 9237 <li><?php bugfix(60179); ?> (php_flag and php_value does not work properly). (fat)</li> 9238 <li><?php bugfix(55526); ?> (Heartbeat causes a lot of unnecessary events). (fat)</li> 9239 <li><?php bugfix(55533); ?> (The -d parameter doesn't work). (fat)</li> 9240 <li><?php implemented(52569); ?> (Add the "ondemand" process-manager 9241 to allow zero children). (fat)</li> 9242 <li><?php bugfix(55486); ?> (status show BIG processes number). (fat)</li> 9243 <li><?php bugfix(55577); ?> (status.html does not install). (fat)</li> 9244 <li>Backported from 5.4 branch (Dropped restriction of not setting the same 9245 value multiple times, the last one holds). 9246 (giovanni at giacobbi dot net, fat)</li> 9247 <li>Backported FR <?php bugl(55166); ?> from 5.4 branch (Added process.max to control 9248 the number of process FPM can fork). (fat)</li> 9249 <li>Backported FR <?php bugl(55181); ?> from 5.4 branch (Enhance security by limiting access 9250 to user defined extensions). (fat)</li> 9251 <li>Backported FR <?php bugl(54098); ?> from 5.4 branch (Lowered process manager 9252 default value). (fat)</li> 9253 <li>Backported FR <?php bugl(52052); ?> from 5.4 branch (Added partial syslog support). (fat)</li> 9254 <li><?php implemented(54577); ?> (Enhanced status page with full status and details 9255 about each processes. Also provide a web page (status.html) for 9256 real-time FPM status. (fat)</li> 9257 <li>Enhance error log when the primary script can't be open. FR <?php bugl(60199); ?>. (fat)</li> 9258 <li>Added .phar to default authorized extensions. (fat)</li> 9259</ul> 9260</li> 9261<li>Postgres: 9262<ul> 9263 <li><?php bugfix(60244); ?> (pg_fetch_* functions do not validate that row param 9264 is >0). (Ilia)</li> 9265</ul> 9266</li> 9267<li>Reflection: 9268<ul> 9269 <li><?php bugfix(60367); ?> (Reflection and Late Static Binding). (Laruence)</li> 9270</ul> 9271</li> 9272<li>Session: 9273<ul> 9274 <li><?php bugfix(55267); ?> (session_regenerate_id fails after header sent). (Hannes)</li> 9275</ul> 9276</li> 9277<li>SimpleXML: 9278<ul> 9279 <li>Reverted the SimpleXML->query() behaviour to returning empty arrays 9280 instead of false when no nodes are found as it was since 5.3.3 9281 (bug <?php bugl(48601); ?>). (chregu, rrichards)</li> 9282</ul> 9283</li> 9284<li>SOAP 9285<ul> 9286 <li><?php bugfix(54911); ?> (Access to a undefined member in inherit SoapClient may 9287 cause Segmentation Fault). (Dmitry)</li> 9288 <li><?php bugfix(48216); ?> (PHP Fatal error: SOAP-ERROR: Parsing WSDL: 9289 Extra content at the end of the doc, when server uses chunked transfer 9290 encoding with spaces after chunk size). (Dmitry)</li> 9291 <li><?php bugfix(44686); ?> (SOAP-ERROR: Parsing WSDL with references). (Dmitry)</li> 9292</ul> 9293</li> 9294<li>Sockets: 9295<ul> 9296 <li><?php bugfix(60048); ?> (sa_len a #define on IRIX). (china at thewrittenword dot 9297 com)</li> 9298</ul> 9299</li> 9300<li>SPL: 9301<ul> 9302 <li><?php bugfix(60082); ?> (Crash in ArrayObject() when using recursive references). 9303 (Tony)</li> 9304 <li><?php bugfix(55807); ?> (Wrong value for splFileObject::SKIP_EMPTY). 9305 (jgotti at modedemploi dot fr, Hannes)</li> 9306 <li><?php bugfix(54304); ?> (RegexIterator::accept() doesn't work with scalar values). 9307 (Hannes)</li> 9308</ul> 9309</li> 9310<li>Streams: 9311<ul> 9312 <li><?php bugfix(60455); ?> (stream_get_line misbehaves if EOF is not detected together 9313 with the last read). (Gustavo)</li> 9314</ul> 9315</li> 9316<li>Tidy: 9317<ul> 9318 <li><?php bugfix(54682); ?> (Tidy::diagnose() NULL pointer dereference). 9319 (Maksymilian Arciemowicz, Felipe)</li> 9320</ul> 9321</li> 9322<li>XSL: 9323<ul> 9324 <li>Added xsl.security_prefs ini option to define forbidden operations within 9325 XSLT stylesheets, default is not to enable write operations. This option 9326 won't be in 5.4, since there's a new method. Fixes Bug <?php bugl(54446); ?>. (Chregu, 9327 Nicolas Gregoire)</li> 9328</ul> 9329</li> 9330</ul> 9331 9332<!-- }}} --></section> 9333 9334<section class="version" id="5.3.8"><!-- {{{ 5.3.8 --> 9335<h3>Version 5.3.8</h3> 9336<?php release_date('23-Aug-2011'); ?> 9337 9338<ul> 9339<li>Core: 9340<ul> 9341 <li><?php bugfix(55439); ?> (crypt() returns only the salt for MD5). (Stas)</li> 9342</ul> 9343</li> 9344<li>OpenSSL: 9345<ul> 9346 <li>Reverted a change in timeout handling restoring PHP 5.3.6 behavior, 9347 as the new behavior caused mysqlnd SSL connections to hang ( 9348 bug <?php bugl(55283); ?>). 9349 (Pierre, Andrey, Johannes)</li> 9350</ul> 9351</li> 9352</ul> 9353 9354<!-- }}} --></section> 9355 9356<section class="version" id="5.3.7"><!-- {{{ 5.3.7 --> 9357<h3>Version 5.3.7</h3> 9358<?php release_date('18-Aug-2011'); ?> 9359 9360<ul> 9361<li>Upgraded bundled SQLite to version 3.7.7.1. (Scott)</li> 9362<li>Upgraded bundled PCRE to version 8.12. (Scott)</li> 9363 9364<li>Zend Engine: 9365<ul> 9366 <li><?php bugfix(55156); ?> (ReflectionClass::getDocComment() returns comment even though the class has none). (Felipe)</li> 9367 <li><?php bugfix(55007); ?> (compiler fail after previous fail). (Felipe)</li> 9368 <li><?php bugfix(54910); ?> (Crash when calling call_user_func with unknown function name). (Dmitry)</li> 9369 <li><?php bugfix(54804); ?> (__halt_compiler and imported namespaces). (Pierrick, Felipe)</li> 9370 <li><?php bugfix(54624); ?> (class_alias and type hint). (Felipe)</li> 9371 <li><?php bugfix(54585); ?> (track_errors causes segfault). (Dmitry)</li> 9372 <li><?php bugfix(54423); ?> (classes from dl()'ed extensions are not destroyed). (Tony, Dmitry)</li> 9373 <li><?php bugfix(54372); ?> (Crash accessing global object itself returned from its __get() handle). (Dmitry)</li> 9374 <li><?php bugfix(54367); ?> (Use of closure causes problem in ArrayAccess). (Dmitry)</li> 9375 <li><?php bugfix(54358); ?> (Closure, use and reference). (Dmitry)</li> 9376 <li><?php bugfix(54262); ?> (Crash when assigning value to a dimension in a non-array). (Dmitry)</li> 9377 <li><?php bugfix(54039); ?> (use() of static variables in lambda functions can break staticness). (Dmitry)</li> 9378</ul> 9379</li> 9380 9381<li>Core: 9382<ul> 9383 <li>Updated crypt_blowfish to 1.2. (CVE-2011-2483) (Solar Designer) <a href="http://php.net/security/crypt_blowfish">(more info)</a></li> 9384 <li>Removed warning when argument of is_a() or is_subclass_of() is not a known class. (Stas)</li> 9385 <li>Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.</li> 9386 <li>Added PHP_MANDIR constant telling where the manpages were installed into, and an --man-dir argument to php-config. (Hannes)</li> 9387 <li>Fixed a crash inside dtor for error handling. (Ilia)</li> 9388 <li>Fixed buffer overflow on overlog salt in crypt(). (Clément LECIGNE, Stas</li> 9389 <li><?php implemented(54459); ?> (Range function accuracy). (Adam)</li> 9390 9391 <li><?php bugfix(55399); ?> (parse_url() incorrectly treats ':' as a valid path). (Ilia)</li> 9392 <li><?php bugfix(55339); ?> (Segfault with allow_call_time_pass_reference = Off). (Dmitry)</li> 9393 <li><?php bugfix(55295); ?> [NEW]: popen_ex on windows, fixed possible heap overflow (Pierre)</li> 9394 <li><?php bugfix(55258); ?> (Windows Version Detecting Error). ( xiaomao5 at live dot com, Pierre)</li> 9395 <li><?php bugfix(55187); ?> (readlink returns weird characters when false result). (Pierre)</li> 9396 <li><?php bugfix(55082); ?> (var_export() doesn't escape properties properly). (Gustavo)</li> 9397 <li><?php bugfix(55014); ?> (Compile failure due to improper use of ctime_r()). (Ilia)</li> 9398 <li><?php bugfix(54939); ?> (File path injection vulnerability in RFC1867 File upload filename). (Felipe) Reported by Krzysztof Kotowicz. (CVE-2011-2202)</li> 9399 <li><?php bugfix(54935); ?> php_win_err can lead to crash. (Pierre)</li> 9400 <li><?php bugfix(54924); ?> (assert.* is not being reset upon request shutdown). (Ilia)</li> 9401 <li><?php bugfix(54895); ?> (Fix compiling with older gcc version without need for membar_producer macro). (mhei at heimpold dot de)</li> 9402 <li><?php bugfix(54866); ?> (incorrect accounting for realpath_cache_size). (Dustin Ward)</li> 9403 <li><?php bugfix(54723); ?> (getimagesize() doesn't check the full ico signature). (Scott)</li> 9404 <li><?php bugfix(54721); ?> (Different Hashes on Windows, BSD and Linux on wrong Salt size). (Pierre, os at irj dot ru)</li> 9405 <li><?php bugfix(54580); ?> (get_browser() segmentation fault when browscap ini directive is set through php_admin_value). (Gustavo)</li> 9406 <li><?php bugfix(54332); ?> (Crash in zend_mm_check_ptr // Heap corruption). (Dmitry)</li> 9407 <li><?php bugfix(54305); ?> (Crash in gc_remove_zval_from_buffer). (Dmitry)</li> 9408 <li><?php bugfix(54238); ?> (use-after-free in substr_replace()). (Stas) (CVE-2011-1148)</li> 9409 <li><?php bugfix(54204); ?> (Can't set a value with a PATH section in php.ini). (Pierre)</li> 9410 <li><?php bugfix(54180); ?> (parse_url() incorrectly parses path when ? in fragment). (tomas dot brastavicius at quantum dot lt, Pierrick)</li> 9411 <li><?php bugfix(54137); ?> (file_get_contents POST request sends additional line break). (maurice-php at mertinkat dot net, Ilia)</li> 9412 <li><?php bugfix(53848); ?> (fgetcsv() ignores spaces at beginnings of fields). (Ilia)</li> 9413 <li>Alternative fix for bug <?php bugfix(52550); ?>, as applied to the round() function (signed overflow), as the old fix impacted the algorithm for numbers with magnitude smaller than 0. (Gustavo)</li> 9414 <li><?php bugfix(53727); ?> (Inconsistent behavior of is_subclass_of with interfaces) (Ralph Schindler, Dmitry)</li> 9415 <li><?php bugfix(52935); ?> (call exit in user_error_handler cause stream relate core). (Gustavo)</li> 9416 <li><?php bugfix(51997); ?> (SEEK_CUR with 0 value, returns a warning). (Ilia)</li> 9417 <li><?php bugfix(50816); ?> (Using class constants in array definition fails). (Pierrick, Dmitry)</li> 9418 <li><?php bugfix(50363); ?> (Invalid parsing in convert.quoted-printable-decode filter). (slusarz at curecanti dot org)</li> 9419 <li><?php bugfix(48465); ?> (sys_get_temp_dir() possibly inconsistent when using TMPDIR on Windows). (Pierre)</li> 9420</ul> 9421</li> 9422 9423<li>Apache2 Handler SAPI: 9424<ul> 9425 <li><?php bugfix(54529); ?> (SAPI crashes on apache_config.c:197). (hebergement at riastudio dot fr)</li> 9426</ul> 9427</li> 9428 9429<li>CLI SAPI: 9430<ul> 9431 <li><?php bugfix(52496); ?> (Zero exit code on option parsing failure). (Ilia)</li> 9432</ul> 9433</li> 9434 9435<li>cURL extension: 9436<ul> 9437 <li>Added ini option curl.cainfo (support for custom cert db). (Pierre)</li> 9438 <li>Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)</li> 9439 <li>Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE. FR <?php bugfix(51815); ?>. (Pierrick)</li> 9440</ul> 9441</li> 9442 9443<li>DateTime extension: 9444<ul> 9445 <li>Fixed bug where the DateTime object got changed while using date_diff(). (Derick)</li> 9446 <li><?php bugfix(54340); ?> (DateTime::add() method bug). (Adam)</li> 9447 <li><?php bugfix(54316); ?> (DateTime::createFromFormat does not handle trailing '|' correctly). (Adam)</li> 9448 <li><?php bugfix(54283); ?> (new DatePeriod(NULL) causes crash). (Felipe)</li> 9449 <li><?php bugfix(51819); ?> (Case discrepancy in timezone names cause Uncaught exception and fatal error). (Hannes)</li> 9450</ul> 9451</li> 9452 9453<li>DBA extension: 9454<ul> 9455 <li>Supress warning on non-existent file open with Berkeley DB 5.2 (Chris Jones)</li> 9456 <li><?php bugfix(54242); ?> (dba_insert returns true if key already exists). (Felipe)</li> 9457</ul> 9458</li> 9459 9460<li>Exif extesion: 9461<ul> 9462 <li><?php bugfix(54121); ?> (error message format string typo). (Ilia)</li> 9463</ul> 9464</li> 9465 9466<li>Fileinfo extension: 9467<ul> 9468 <li><?php bugfix(54934); ?> (Unresolved symbol strtoull in HP-UX 11.11). (Felipe)</li> 9469</ul> 9470</li> 9471 9472<li>Filter extension: 9473<ul> 9474 <li>Added 3rd parameter to filter_var_array() and filter_input_array() functions that allows disabling addition of empty elements. (Ilia)</li> 9475 <li><?php bugfix(53037); ?> (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)</li> 9476</ul> 9477</li> 9478 9479<li>Interbase extension: 9480<ul> 9481 <li><?php bugfix(54269); ?> (Short exception message buffer causes crash). (Felipe)</li> 9482</ul> 9483</li> 9484 9485<li>intl extension: 9486<ul> 9487 <li><?php implemented(54561); ?> (Expose ICU version info). (David Zuelke, Ilia)</li> 9488 <li><?php implemented(54540); ?> (Allow loading of arbitrary resource bundles when fallback is disabled). (David Zuelke, Stas)</li> 9489</ul> 9490</li> 9491 9492<li>Imap extension: 9493<ul> 9494 <li><?php bugfix(55313); ?> (Number of retries not set when params specified). (kevin at kevinlocke dot name)</li> 9495</ul> 9496</li> 9497 9498<li>json extension: 9499<ul> 9500 <li><?php bugfix(54484); ?> (Empty string in json_decode doesn't reset json_last_error()). (Ilia)</li> 9501</ul> 9502</li> 9503 9504<li>LDAP extension: 9505<ul> 9506 <li><?php bugfix(53339); ?> (Fails to build when compilng with gcc 4.5 and DSO libraries). (Clint Byrum, Raphael)</li> 9507</ul> 9508</li> 9509 9510<li>libxml extension: 9511<ul> 9512 <li><?php bugfix(54601); ?> (Removing the doctype node segfaults). (Hannes)</li> 9513 <li><?php bugfix(54440); ?> (libxml extension ignores default context). (Gustavo)</li> 9514</ul> 9515</li> 9516 9517<li>mbstring extension: 9518<ul> 9519 <li><?php bugfix(54494); ?> (mb_substr() mishandles UTF-32LE and UCS-2LE). (Gustavo)</li> 9520</ul> 9521</li> 9522 9523<li>MCrypt extension: 9524<ul> 9525 <li>Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data has been fetched (Windows). (Pierre)</li> 9526 <li><?php bugfix(55169); ?> (mcrypt_create_iv always fails to gather sufficient random data on Windows). (Pierre)</li> 9527</ul> 9528</li> 9529 9530<li>MySQL Improved extension: 9531<ul> 9532 <li>Fixed Bug <?php bugfix(54221); ?> (mysqli::get_warnings segfault when used in multi queries). (Andrey)</li> 9533</ul> 9534</li> 9535 9536<li>mysqlnd 9537<ul> 9538 <li>Fixed crash when using more than 28,000 bound parameters. Workaround is to set mysqlnd.net_cmd_buffer_size to at least 9000. (Andrey)</li> 9539 <li><?php bugfix(54674); ?> mysqlnd valid_sjis_(head|tail) is using invalid operator and range). (nihen at megabbs dot com, Andrey)</li> 9540</ul> 9541</li> 9542 9543<li>MySQLi extension: 9544<ul> 9545 <li><?php bugfix(55283); ?> (SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections). (Andrey)</li> 9546</ul> 9547</li> 9548 9549<li>OpenSSL extension: 9550<ul> 9551 <li>openssl_encrypt()/openssl_decrypt() truncated keys of variable length ciphers to the OpenSSL default for the algorithm. (Scott)</li> 9552 <li>On blocking SSL sockets respect the timeout option where possible. (Scott)</li> 9553 <li><?php bugfix(54992); ?> (Stream not closed and error not returned when SSL CN_match fails). (Gustavo, laird_ngrps at dodo dot com dot au)</li> 9554</ul> 9555</li> 9556 9557<li>Oracle Database extension (OCI8): 9558<ul> 9559 <li>Added oci_client_version() returning the runtime Oracle client library version (Chris Jones)</li> 9560</ul> 9561</li> 9562 9563<li>PCRE extension: 9564<ul> 9565 <li>Increased the backtrack limit from 100000 to 1000000 (Rasmus)</li> 9566</ul> 9567</li> 9568 9569<li>PDO extension: 9570<ul> 9571 <li><?php bugfix(54929); ?> (Parse error with single quote in sql comment). (Felipe)</li> 9572 <li><?php bugfix(52104); ?> (bindColumn creates Warning regardless of ATTR_ERRMODE settings). (Ilia)</li> 9573</ul> 9574</li> 9575 9576<li>PDO DBlib driver: 9577<ul> 9578 <li><?php bugfix(54329); ?> (MSSql extension memory leak). (dotslashpok at gmail dot com)</li> 9579 <li><?php bugfix(54167); ?> (PDO_DBLIB returns null on SQLUNIQUE field). (mjh at hodginsmedia dot com, Felipe)</li> 9580</ul> 9581</li> 9582 9583<li>PDO ODBC driver: 9584<ul> 9585 <li>Fixed data type usage in 64bit. (leocsilva at gmail dot com)</li> 9586</ul> 9587</li> 9588 9589<li>PDO MySQL driver: 9590<ul> 9591 <li><?php bugfix(54644); ?> (wrong pathes in php_pdo_mysql_int.h). (Tony, Johannes)</li> 9592 <li><?php bugfix(53782); ?> (foreach throws irrelevant exception). (Johannes, Andrey)</li> 9593 <li><?php implemented(48587); ?> (MySQL PDO driver doesn't support SSL connections). (Rob)</li> 9594</ul> 9595</li> 9596 9597<li>PDO PostgreSQL driver: 9598<ul> 9599 <li><?php bugfix(54318); ?> (Non-portable grep option used in PDO pgsql configuration). (bwalton at artsci dot utoronto dot ca)</li> 9600</ul> 9601</li> 9602 9603<li>PDO Oracle driver: 9604<ul> 9605 <li><?php bugfix(44989); ?> (64bit Oracle RPMs still not supported by pdo-oci). (jbnance at tresgeek dot net)</li> 9606</ul> 9607</li> 9608 9609<li>Phar extension: 9610<ul> 9611 <li><?php bugfix(54395); ?> (Phar::mount() crashes when calling with wrong parameters). (Felipe)</li> 9612</ul> 9613</li> 9614 9615<li>PHP-FPM SAPI: 9616<ul> 9617 <li><?php implemented(54499); ?> (FPM ping and status_path should handle HEAD request). (fat)</li> 9618 <li><?php implemented(54172); ?> (Overriding the pid file location of php-fpm). (fat)</li> 9619 <li>Fixed missing Expires and Cache-Control headers for ping and status pages. (fat)</li> 9620 <li>Fixed memory leak. (fat) Reported and fixed by Giovanni Giacobbi. 9621 <li>Fixed wrong value of log_level when invoking fpm with -tt. (fat)</li> 9622 <li>Added xml format to the status page. (fat)</li> 9623 <li>Removed timestamp in logs written by children processes. (fat)</li> 9624 <li>Fixed exit at FPM startup on fpm_resources_prepare() errors. (fat)</li> 9625 <li>Added master rlimit_files and rlimit_core in the global configuration settings. (fat)</li> 9626 <li>Removed pid in debug logs written by chrildren processes. (fat)</li> 9627 <li>Added custom access log (also added per request %CPU and memory mesurement). (fat)</li> 9628 <li>Added a real scoreboard and several improvements to the status page. (fat)</li> 9629</ul> 9630</li> 9631 9632<li>Reflection extension: 9633<ul> 9634 <li><?php bugfix(54347); ?> (reflection_extension does not lowercase module function name). (Felipe, laruence at yahoo dot com dot cn)</li> 9635</ul> 9636</li> 9637 9638<li>SOAP extension: 9639<ul> 9640 <li><?php bugfix(55323); ?> (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself). (Dmitry)</li> 9641 <li><?php bugfix(54312); ?> (soap_version logic bug). (tom at samplonius dot org)</li> 9642</ul> 9643</li> 9644 9645<li>Sockets extension: 9646<ul> 9647 <li>Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938) Found by Mateusz Kocielski, Marek Kroemeke and Filip Palian. (Felipe)</li> 9648 <li>Changed socket_set_block() and socket_set_nonblock() so they emit warnings on error. (Gustavo)</li> 9649 <li><?php bugfix(51958); ?> (socket_accept() fails on IPv6 server sockets). (Gustavo)</li> 9650</ul> 9651</li> 9652 9653<li>SPL extension: 9654<ul> 9655 <li><?php bugfix(54971); ?> (Wrong result when using iterator_to_array with use_keys on true). (Pierrick)</li> 9656 <li><?php bugfix(54970); ?> (SplFixedArray::setSize() isn't resizing). (Felipe)</li> 9657 <li><?php bugfix(54609); ?> (Certain implementation(s) of SplFixedArray cause hard crash). (Felipe)</li> 9658 <li><?php bugfix(54384); ?> (Dual iterators, GlobIterator, SplFileObject and SplTempFileObject crash when user-space classes don't call the paren constructor). (Gustavo)</li> 9659 <li><?php bugfix(54292); ?> (Wrong parameter causes crash in SplFileObject::__construct()). (Felipe)</li> 9660 <li><?php bugfix(54291); ?> (Crash iterating DirectoryIterator for dir name starting with \0). (Gustavo)</li> 9661 <li><?php bugfix(54281); ?> (Crash in non-initialized RecursiveIteratorIterator). (Felipe)</li> 9662</ul> 9663</li> 9664 9665<li>Streams: 9666<ul> 9667 <li><?php bugfix(54946); ?> (stream_get_contents infinite loop). (Hannes)</li> 9668 <li><?php bugfix(54623); ?> (Segfault when writing to a persistent socket after closing a copy of the socket). (Gustavo)</li> 9669 <li><?php bugfix(54681); ?> (addGlob() crashes on invalid flags). (Felipe)</li> 9670</ul> 9671</li> 9672</ul> 9673 9674<!-- }}} --></section> 9675 9676<section class="version" id="5.3.6"><!-- {{{ 5.3.6 --> 9677<h3>Version 5.3.6</h3> 9678<?php release_date('17-Mar-2011'); ?> 9679 9680<ul> 9681<li>Upgraded bundled Sqlite3 to version 3.7.4. (Ilia)</li> 9682<li>Upgraded bundled PCRE to version 8.11. (Ilia)</li> 9683 9684<li>Zend Engine: 9685<ul> 9686 <li>Indirect reference to $this fails to resolve if direct $this is never used in method. (Scott)</li> 9687 <li>Fixed bug numerous crashes due to setlocale (crash on error, pcre, mysql etc.) on Windows in thread safe mode. (Pierre)</li> 9688 <li>Added options to debug backtrace functions. (Stas)</li> 9689 <li><?php bugfix(53971); ?> (isset() and empty() produce apparently spurious runtime error). (Dmitry)</li> 9690 <li><?php bugfix(53958); ?> (Closures can't 'use' shared variables by value and by reference). (Dmitry)</li> 9691 <li><?php bugfix(53629); ?> (memory leak inside highlight_string()). (Hannes, Ilia)</li> 9692 <li><?php bugfix(51458); ?> (Lack of error context with nested exceptions). (Stas)</li> 9693 <li><?php bugfix(47143); ?> (Throwing an exception in a destructor causes a fatal error). (Stas)</li> 9694 <li><?php bugfix(43512); ?> (same parameter name can be used multiple times in method/function definition). (Felipe)</li> 9695</ul> 9696</li> 9697 9698<li>Core: 9699<ul> 9700 <li>Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization (Dmitry)</li> 9701 <li>Changed default value of ini directive serialize_precision from 100 to 17. (Gustavo)</li> 9702 <li><?php bugfix(54055); ?> (buffer overrun with high values for precision ini setting). (Gustavo)</li> 9703 <li><?php bugfix(53959); ?> (reflection data for fgetcsv out-of-date). (Richard)</li> 9704 <li><?php bugfix(53577); ?> (Regression introduced in 5.3.4 in open_basedir with a trailing forward slash). (lekensteyn at gmail dot com, Pierre)</li> 9705 <li><?php bugfix(53682); ?> (Fix compile on the VAX). (Rasmus, jklos)</li> 9706 <li><?php bugfix(48484); ?> (array_product() always returns 0 for an empty array). (Ilia)</li> 9707 <li><?php bugfix(48607); ?> (fwrite() doesn't check reply from ftp server before exiting). (Ilia)</li> 9708</ul> 9709</li> 9710 9711<li>Calendar extension: 9712<ul> 9713 <li><?php bugfix(53574); ?> (Integer overflow in SdnToJulian, sometimes leading to segfault). (Gustavo)</li> 9714</ul> 9715</li> 9716 9717<li>DOM extension: 9718<ul> 9719 <li><?php implemented(39771); ?> (Made DOMDocument::saveHTML accept an optional DOMNode like DOMDocument::saveXML). (Gustavo)</li> 9720</ul> 9721</li> 9722 9723<li>DateTime extension: 9724<ul> 9725 <li>Fixed a bug in DateTime->modify() where absolute date/time statements had no effect. (Derick)</li> 9726 <li><?php bugfix(53729); ?> (DatePeriod fails to initialize recurrences on 64bit big-endian systems). (Derick, rein@basefarm.no)</li> 9727 <li><?php bugfix(52808); ?> (Segfault when specifying interval as two dates). (Stas)</li> 9728 <li><?php bugfix(52738); ?> (Can't use new properties in class extended from DateInterval). (Stas)</li> 9729 <li><?php bugfix(52290); ?> (setDate, setISODate, setTime works wrong when DateTime created from timestamp). (Stas)</li> 9730 <li><?php bugfix(52063); ?> (DateTime constructor's second argument doesn't have a null default value). (Gustavo, Stas)</li> 9731</ul> 9732</li> 9733 9734<li>Exif extension: 9735<ul> 9736 <li><?php bugfix(54002); ?> (crash on crafted tag, reported by Luca Carettoni). (Pierre) (CVE-2011-0708)</li> 9737</ul> 9738</li> 9739 9740<li>Filter extension: 9741<ul> 9742 <li><?php bugfix(53924); ?> (FILTER_VALIDATE_URL doesn't validate port number). (Ilia, Gustavo)</li> 9743 <li><?php bugfix(53150); ?> (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges). (Ilia)</li> 9744 <li><?php bugfix(52209); ?> (INPUT_ENV returns NULL for set variables (CLI)). (Ilia)</li> 9745 <li><?php bugfix(47435); ?> (FILTER_FLAG_NO_RES_RANGE don't work with ipv6). (Ilia, valli at icsurselva dot ch)</li> 9746</ul> 9747</li> 9748 9749<li>Fileinfo extension: 9750<ul> 9751 <li><?php bugfix(54016); ?> (finfo_file() Cannot determine filetype in archives). (Hannes)</li> 9752</ul> 9753</li> 9754 9755<li>Gettext 9756<ul> 9757 <li><?php bugfix(53837); ?> (_() crashes on Windows when no LANG or LANGUAGE environment variable are set). (Pierre)</li> 9758</ul> 9759</li> 9760 9761<li>IMAP extension: 9762<ul> 9763 <li><?php implemented(53812); ?> (get MIME headers of the part of the email). (Stas)</li> 9764 <li><?php bugfix(53377); ?> (imap_mime_header_decode() doesn't ignore \t during long MIME header unfolding). (Adam)</li> 9765</ul> 9766</li> 9767 9768<li>Intl extension: 9769<ul> 9770 <li><?php bugfix(53612); ?> (Segmentation fault when using cloned several intl objects). (Gustavo)</li> 9771 <li><?php bugfix(53512); ?> (NumberFormatter::setSymbol crash on bogus $attr values). (Felipe)</li> 9772 <li>Implemented clone functionality for number, date & message formatters. (Stas).</li> 9773</ul> 9774</li> 9775 9776<li>JSON extension: 9777<ul> 9778 <li><?php bugfix(53963); ?> (Ensure error_code is always set during some failed decodings). (Scott)</li> 9779</ul> 9780</li> 9781 9782<li>mysqlnd 9783<ul> 9784 <li>Fixed problem with always returning 0 as num_rows for unbuffered sets. (Andrey, Ulf)</li> 9785</ul> 9786</li> 9787 9788<li>MySQL Improved extension: 9789<ul> 9790 <li>Added 'db' and 'catalog' keys to the field fetching functions (FR <?php bugl(39847); ?>). (Kalle)</li> 9791 <li>Fixed buggy counting of affected rows when using the text protocol. The collected statistics were wrong when multi_query was used with mysqlnd (Andrey)</li> 9792 <li><?php bugfix(53795); ?> (Connect Error from MySqli (mysqlnd) when using SSL). (Kalle)</li> 9793 <li><?php bugfix(53503); ?> (mysqli::query returns false after successful LOAD DATA query). (Kalle, Andrey)</li> 9794 <li><?php bugfix(53425); ?> (mysqli_real_connect() ignores client flags when built to call libmysql). (Kalle, tre-php-net at crushedhat dot com)</li> 9795</ul> 9796</li> 9797 9798<li>OpenSSL extension: 9799<ul> 9800 <li>Fixed stream_socket_enable_crypto() not honoring the socket timeout in server mode. (Gustavo)</li> 9801 <li><?php bugfix(54060); ?> (Memory leaks when openssl_encrypt). (Pierre)</li> 9802 <li><?php bugfix(54061); ?> (Memory leaks when openssl_decrypt). (Pierre)</li> 9803 <li><?php bugfix(53592); ?> (stream_socket_enable_crypto() busy-waits in client mode). (Gustavo)</li> 9804 <li><?php implemented(53447); ?> (Cannot disable SessionTicket extension for servers that do not support it) by adding a no_ticket SSL context option. (Adam, Tony)</li> 9805</ul> 9806</li> 9807 9808<li>PDO MySQL driver: 9809<ul> 9810 <li><?php bugfix(53551); ?> (PDOStatement execute segfaults for pdo_mysql driver). (Johannes)</li> 9811 <li><?php implemented(47802); ?> (Support for setting character sets in DSN strings). (Kalle)</li> 9812</ul> 9813</li> 9814 9815<li>PDO Oracle driver: 9816<ul> 9817 <li><?php bugfix(39199); ?> (Cannot load Lob data with more than 4000 bytes on ORACLE 10). (spatar at mail dot nnov dot ru)</li> 9818</ul> 9819</li> 9820 9821<li>PDO PostgreSQL driver: 9822<ul> 9823 <li><?php bugfix(53517); ?> (segfault in pgsql_stmt_execute() when postgres is down). (gyp at balabit dot hu)</li> 9824</ul> 9825 9826<li>Phar extension: 9827<ul> 9828 <li><?php bugfix(54247); ?> (format-string vulnerability on Phar). (Felipe) (CVE-2011-1153)</li> 9829 <li><?php bugfix(53541); ?> (format string bug in ext/phar). (crrodriguez at opensuse dot org, Ilia)</li> 9830 <li><?php bugfix(53898); ?> (PHAR reports invalid error message, when the directory does not exist). (Ilia)</li> 9831</ul> 9832</li> 9833 9834<li>PHP-FPM SAPI: 9835<ul> 9836 <li>Enforce security in the fastcgi protocol parsing. (ef-lists at email dotde)</li> 9837 <li><?php bugfix(53777); ?> (php-fpm log format now match php_error log format). (fat)</li> 9838 <li><?php bugfix(53527); ?> (php-fpm --test doesn't set a valuable return value). (fat)</li> 9839 <li><?php bugfix(53434); ?> (php-fpm slowlog now also logs the original request). (fat)</li> 9840</ul> 9841</li> 9842 9843<li>Readline extension: 9844<ul> 9845 <li><?php bugfix(53630); ?> (Fixed parameter handling inside readline() function). (jo at feuersee dot de, Ilia)</li> 9846</ul> 9847</li> 9848 9849<li>Reflection extension: 9850<ul> 9851 <li><?php bugfix(53915); ?> (ReflectionClass::getConstant(s) emits fatal error on constants with self::). (Gustavo)</li> 9852</ul> 9853</li> 9854 9855<li>Shmop extension: 9856<ul> 9857 <li><?php bugfix(54193); ?> (Integer overflow in shmop_read()). (Felipe) Reported by Jose Carlos Norte (CVE-2011-1092)</li> 9858</ul> 9859</li> 9860 9861<li>SNMP extension: 9862<ul> 9863 <li><?php bugfix(51336); ?> (snmprealwalk (snmp v1) does not handle end of OID tree correctly). (Boris Lytochkin)</li> 9864</ul> 9865</li> 9866 9867<li>SOAP extension: 9868<ul> 9869 <li>Fixed possible crash introduced by the NULL poisoning patch. (Mateusz Kocielski, Pierre)</li> 9870</ul> 9871</li> 9872 9873<li>SPL extension: 9874<ul> 9875 <li>Fixed memory leak in DirectoryIterator::getExtension() and SplFileInfo::getExtension(). (Felipe)</li> 9876 <li><?php bugfix(53914); ?> (SPL assumes HAVE_GLOB is defined). (Chris Jones)</li> 9877 <li><?php bugfix(53515); ?> (property_exists incorrect on ArrayObject null and 0 values). (Felipe)</li> 9878 <li>Added SplFileInfo::getExtension(). FR <?php bugl(48767); ?>. (Peter Cowburn)</li> 9879</ul> 9880</li> 9881 9882<li>SQLite3 extension: 9883<ul> 9884 <li>Fixed memory leaked introduced by the NULL poisoning patch. (Mateusz Kocielski, Pierre)</li> 9885 <li>Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference. (Felipe)</li> 9886 <li>Add SQlite3_Stmt::readonly() for checking if a statement is read only. (Scott)</li> 9887 <li><?php implemented(53466); ?> (SQLite3Result::columnType() should return false after all of the rows have been fetched). (Scott)</li> 9888</ul> 9889</li> 9890 9891<li>Streams: 9892<ul> 9893 <li><?php bugfix(54092); ?> (Segmentation fault when using HTTP proxy with the FTP wrapper). (Gustavo)</li> 9894 <li><?php bugfix(53913); ?> (Streams functions assume HAVE_GLOB is defined). (Chris Jones)</li> 9895 <li><?php bugfix(53903); ?> (userspace stream stat callback does not separate the elements of the returned array before converting them). (Gustavo)</li> 9896 <li><?php implemented(26158); ?> (open arbitrary file descriptor with fopen). (Gustavo)</li> 9897</ul> 9898</li> 9899 9900<li>Tokenizer Extension 9901<ul> 9902 <li><?php bugfix(54089); ?> (token_get_all() does not stop after __halt_compiler). (Ilia)</li> 9903</ul> 9904</li> 9905 9906<li>XSL extension: 9907<ul> 9908 <li>Fixed memory leaked introduced by the NULL poisoning patch. (Mateusz Kocielski, Pierre)</li> 9909</ul> 9910</li> 9911 9912<li>Zip extension: 9913<ul> 9914 <li>Added the filename into the return value of stream_get_meta_data(). (Hannes)</li> 9915 <li><?php bugfix(53923); ?> (Zip functions assume HAVE_GLOB is defined). (Adam)</li> 9916 <li><?php bugfix(53893); ?> (Wrong return value for ZipArchive::extractTo()). (Pierre)</li> 9917 <li><?php bugfix(53885); ?> (ZipArchive segfault with FL_UNCHANGED on empty archive). (Stas, Maksymilian Arciemowicz). (CVE-2011-0421)</li> 9918 <li><?php bugfix(53854); ?> (Missing constants for compression type). (Richard, Adam)</li> 9919 <li><?php bugfix(53603); ?> (ZipArchive should quiet stat errors). (brad dot froehle at gmail dot com, Gustavo)</li> 9920 <li><?php bugfix(53579); ?> (stream_get_contents() segfaults on ziparchive streams). (Hannes)</li> 9921 <li><?php bugfix(53568); ?> (swapped memset arguments in struct initialization). (crrodriguez at opensuse dot org)</li> 9922 <li><?php bugfix(53166); ?> (Missing parameters in docs and reflection definition). (Richard)</li> 9923 <li><?php bugfix(49072); ?> (feof never returns true for damaged file in zip). (Gustavo, Richard Quadling)</li> 9924</ul> 9925</li> 9926 9927</ul> 9928 9929<!-- }}} --></section> 9930 9931<section class="version" id="5.3.5"><!-- {{{ 5.3.5 --> 9932<h3>Version 5.3.5</h3> 9933<?php release_date('06-Jan-2011'); ?> 9934<ul> 9935 9936<li><?php bugfix(53632); ?> (PHP hangs on numeric value 2.2250738585072011e-308). (CVE-2010-4645) (Rasmus, Scott)</li> 9937 9938</ul> 9939 9940<!-- }}} --></section> 9941 9942<section class="version" id="5.3.4"><!-- {{{ 5.3.4 --> 9943<h3>Version 5.3.4</h3> 9944<?php release_date('09-Dec-2010'); ?> 9945 9946<ul> 9947<li>Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)</li> 9948<li>Upgraded bundled PCRE to version 8.10. (Ilia)</li> 9949 9950<li>Security enhancements: 9951<ul> 9952 <li>Fixed crash in zip extract method (possible CWE-170). 9953 (Maksymilian Arciemowicz, Pierre)</li> 9954 <li>Paths with NULL in them (foo\0bar.txt) are now considered as invalid. (Rasmus)</li> 9955 <li>Fixed a possible double free in imap extension (Identified by Mateusz 9956 Kocielski). (CVE-2010-4150). (Ilia)</li> 9957 <li>Fixed NULL pointer dereference in ZipArchive::getArchiveComment. 9958 (CVE-2010-3709). (Maksymilian Arciemowicz)</li> 9959 <li>Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre)</li> 9960 <li>Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950). (Pierre)</li> 9961 <li>Fixed symbolic resolution support when the target is a DFS share. (Pierre)</li> 9962 <li><?php bugfix(52929); ?> (Segfault in filter_var with FILTER_VALIDATE_EMAIL with 9963 large amount of data) (CVE-2010-3710). (Adam)</li> 9964</ul> 9965</li> 9966 9967<li>General improvements: 9968<ul> 9969 <li>Added stat support for zip stream. (Pierre)</li> 9970 <li>Added follow_location (enabled by default) option for the http stream 9971 support. (Pierre)</li> 9972 <li>Improved support for is_link and related functions on Windows. (Pierre)</li> 9973 <li>Added a 3rd parameter to get_html_translation_table. It now takes a charset 9974 hint, like htmlentities et al. (Gustavo)</li> 9975</ul> 9976</li> 9977<li>Implemented feature requests: 9978<ul> 9979 <li><?php implemented(52348); ?>, added new constant ZEND_MULTIBYTE to detect 9980 zend multibyte at runtime. (Kalle)</li> 9981 <li><?php implemented(52173); ?>, added functions pcntl_get_last_error() and 9982 pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud)</li> 9983 <li>Implemented symbolic links support for open_basedir checks. (Pierre)</li> 9984 <li><?php implemented(51804); ?>, SplFileInfo::getLinkTarget on Windows. (Pierre)</li> 9985 <li><?php implemented(50692); ?>, not uploaded files don't count towards 9986 max_file_uploads limit. As a side improvement, temporary files are not opened 9987 for empty uploads and, in debug mode, 0-length uploads. (Gustavo)</li> 9988</ul> 9989</li> 9990<li>Improved MySQLnd: 9991<ul> 9992 <li>Added new character sets to mysqlnd, which are available in MySQL 5.5 9993 (Andrey)</li> 9994</ul> 9995</li> 9996<li>Improved PHP-FPM SAPI: 9997<ul> 9998 <li>Added '-p/--prefix' to php-fpm to use a custom prefix and run multiple 9999 instances. (fat)</li> 10000 <li>Added custom process title for FPM. (fat)</li> 10001 <li>Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat)</li> 10002 <li>Added statistics about listening socket queue length for FPM. 10003 (andrei dot nigmatulin at gmail dot com, fat)</li> 10004</ul> 10005</li> 10006<li>Core: 10007<ul> 10008 <li>Fixed extract() to do not overwrite $GLOBALS and $this when using 10009 EXTR_OVERWRITE. (jorto at redhat dot com)</li> 10010 <li>Fixed bug in the Windows implementation of dns_get_record, where the two 10011 last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).</li> 10012 <li>Changed the $context parameter on copy() to actually have an effect. (Kalle)</li> 10013 <li>Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8 10014 sequences. (Gustavo)</li> 10015 <li><?php bugfix(53409); ?> (sleep() returns NULL on Windows). (Pierre)</li> 10016 <li><?php bugfix(53319); ?> (strip_tags() may strip '<br />' incorrectly). (Felipe)</li> 10017 <li><?php bugfix(53304); ?> (quot_print_decode does not handle lower-case hex digits). 10018 (Ilia, daniel dot mueller at inexio dot net)</li> 10019 <li><?php bugfix(53248); ?> (rawurlencode RFC 3986 EBCDIC support misses tilde char). 10020 (Justin Martin) </li> 10021 <li><?php bugfix(53226); ?> (file_exists fails on big filenames). (Adam)</li> 10022 <li><?php bugfix(53198); ?> (changing INI setting "from" with ini_set did not have any 10023 effect). (Gustavo)</li> 10024 <li><?php bugfix(53180); ?> (post_max_size=0 not disabling the limit when the content 10025 type is application/x-www-form-urlencoded or is not registered with PHP). 10026 (gm at tlink dot de, Gustavo)</li> 10027 <li><?php bugfix(53141); ?> (autoload misbehaves if called from closing session). 10028 (ladislav at marek dot su)</li> 10029 <li><?php bugfix(53021); ?> (In html_entity_decode, failure to convert numeric entities 10030 with ENT_NOQUOTES and ISO-8859-1). Fixed and extended the fix of ENT_NOQUOTES 10031 in html_entity_decode that had introduced the bug (rev #185591) to other 10032 encodings. Additionaly, html_entity_decode() now doesn't decode &#34; if 10033 ENT_NOQUOTES is given. (Gustavo)</li> 10034 <li><?php bugfix(52931); ?> (strripos not overloaded with function overloading enabled). 10035 (Felipe)</li> 10036 <li><?php bugfix(52772); ?> (var_dump() doesn't check for the existence of 10037 get_class_name before calling it). (Kalle, Gustavo)</li> 10038 <li><?php bugfix(52534); ?> (var_export array with negative key). (Felipe)</li> 10039 <li><?php bugfix(52327); ?> (base64_decode() improper handling of leading padding in 10040 strict mode). (Ilia)</li> 10041 <li><?php bugfix(52260); ?> (dns_get_record fails with non-existing domain on Windows). 10042 (a_jelly_doughnut at phpbb dot com, Pierre)</li> 10043 <li><?php bugfix(50953); ?> (socket will not connect to IPv4 address when the host has 10044 both IPv4 and IPv6 addresses, on Windows). (Gustavo, Pierre)</li> 10045 <li><?php bugfix(50524); ?> (proc_open on Windows does not respect cwd as it does on 10046 other platforms). (Pierre)</li> 10047 <li><?php bugfix(49687); ?> (utf8_decode vulnerabilities and deficiencies in the number 10048 of reported malformed sequences). (CVE-2010-3870) (Gustavo)</li> 10049 <li><?php bugfix(49407); ?> (get_html_translation_table doesn't handle UTF-8). (Gustavo)</li> 10050 <li><?php bugfix(48831); ?> (php -i has different output to php --ini). (Richard, 10051 Pierre)</li> 10052 <li><?php bugfix(47643); ?> (array_diff() takes over 3000 times longer than php 5.2.4). 10053 (Felipe)</li> 10054 <li><?php bugfix(47168); ?> (printf of floating point variable prints maximum of 40 10055 decimal places). (Ilia)</li> 10056 <li><?php bugfix(46587); ?> (mt_rand() does not check that max is greater than min). 10057 (Ilia)</li> 10058 <li><?php bugfix(29085); ?> (bad default include_path on Windows). (Pierre)</li> 10059 <li><?php bugfix(25927); ?> (get_html_translation_table calls the ' &#39; instead of 10060 &#039;). (Gustavo)</li> 10061</ul> 10062</li> 10063<li>Zend engine: 10064<ul> 10065 <li>Reverted fix for bug <?php bugl(51176); ?> (Static calling in non-static method behaves 10066 like $this->). (Felipe)</li> 10067 <li>Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED. 10068 (Kalle)</li> 10069 <li>Fixed NULL dereference in lex_scan on zend multibyte builds where the script 10070 had a flex incompatible encoding and there was no converter. (Gustavo)</li> 10071 <li>Fixed covariance of return-by-ref constraints. (Etienne)</li> 10072 <li><?php bugfix(53305); ?> (E_NOTICE when defining a constant starts with 10073 __COMPILER_HALT_OFFSET__). (Felipe)</li> 10074 <li><?php bugfix(52939); ?> (zend_call_function does not respect ZEND_SEND_PREFER_REF). 10075 (Dmitry)</li> 10076 <li><?php bugfix(52879); ?> (Objects unreferenced in __get, __set, __isset or __unset 10077 can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)</li> 10078 <li><?php bugfix(52786); ?> (PHP should reset section to [PHP] after ini sections). 10079 (Fedora at famillecollet dot com)</li> 10080 <li><?php bugfix(52508); ?> (newline problem with parse_ini_file+INI_SCANNER_RAW). 10081 (Felipe)</li> 10082 <li><?php bugfix(52484); ?> (__set() ignores setting properties with empty names). 10083 (Felipe)</li> 10084 <li><?php bugfix(52361); ?> (Throwing an exception in a destructor causes invalid 10085 catching). (Dmitry)</li> 10086 <li><?php bugfix(51008); ?> (Zend/tests/bug45877.phpt fails). (Dmitry)</li> 10087</ul> 10088</li> 10089<li>Build issues: 10090<ul> 10091 <li><?php bugfix(52436); ?> (Compile error if systems do not have stdint.h) 10092 (Sriram Natarajan)</li> 10093 <li><?php bugfix(50345); ?> (nanosleep not detected properly on some solaris versions). 10094 (Ulf, Tony)</li> 10095 <li><?php bugfix(49215); ?> (make fails on glob_wrapper). (Felipe)</li> 10096</ul> 10097</li> 10098<li>Calendar extension: 10099<ul> 10100 <li><?php bugfix(52744); ?> (cal_days_in_month incorrect for December 1 BCE). 10101 (gpap at internet dot gr, Adam)</li> 10102</ul> 10103</li> 10104<li>cURL extension: 10105<ul> 10106 <li><?php bugfix(52828); ?> (curl_setopt does not accept persistent streams). 10107 (Gustavo, Ilia)</li> 10108 <li><?php bugfix(52827); ?> (cURL leaks handle and causes assertion error 10109 (CURLOPT_STDERR)). (Gustavo)</li> 10110 <li><?php bugfix(52202); ?> (CURLOPT_PRIVATE gets corrupted). (Ilia)</li> 10111 <li><?php bugfix(50410); ?> (curl extension slows down PHP on Windows). (Pierre)</li> 10112</ul> 10113</li> 10114<li>DateTime extension: 10115<ul> 10116 <li><?php bugfix(53297); ?> (gettimeofday implementation in php/win32/time.c can return 10117 1 million microsecs). (ped at 7gods dot org)</li> 10118 <li><?php bugfix(52668); ?> (Iterating over a dateperiod twice is broken). (Derick)</li> 10119 <li><?php bugfix(52454); ?> (Relative dates and getTimestamp increments by one day). 10120 (Derick)</li> 10121 <li><?php bugfix(52430); ?> (date_parse parse 24:xx:xx as valid time). (Derick)</li> 10122 <li>Added support for the ( and ) delimiters/separators to 10123 DateTime::createFromFormat(). (Derick)</li> 10124</ul> 10125</li> 10126<li>DBA extension: 10127<ul> 10128 <li>Added Berkeley DB 5.1 support to the DBA extension. (Oracle Corp.)</li> 10129</ul> 10130</li> 10131<li>DOM extension: 10132<ul> 10133 <li><?php bugfix(52656); ?> (DOMCdataSection does not work with splitText). (Ilia)</li> 10134</ul> 10135</li> 10136<li>Filter extension: 10137<ul> 10138 <li>Fixed the filter extension accepting IPv4 octets with a leading 0 as that 10139 belongs to the unsupported "dotted octal" representation. (Gustavo)</li> 10140 <li><?php bugfix(53236); ?> (problems in the validation of IPv6 addresses with leading 10141 and trailing :: in the filter extension). (Gustavo)</li> 10142 <li><?php bugfix(50117); ?> (problems in the validation of IPv6 addresses with IPv4 10143 addresses and ::). (Gustavo)</li> 10144</ul> 10145</li> 10146<li>GD extension: 10147<ul> 10148 <li><?php bugfix(53492); ?> (fix crash if anti-aliasing steps are invalid). (Pierre)</li> 10149</ul> 10150</li> 10151<li>GMP extension: 10152<ul> 10153 <li><?php bugfix(52906); ?> (gmp_mod returns negative result when non-negative is 10154 expected). (Stas)</li> 10155 <li><?php bugfix(52849); ?> (GNU MP invalid version match). (Adam)</li> 10156</ul> 10157</li> 10158<li>Hash extension: 10159<ul> 10160 <li><?php bugfix(51003); ?> (unaligned memory access in ext/hash/hash_tiger.c). 10161 (Mike, Ilia)</li> 10162</ul> 10163</li> 10164<li>Iconv extension: 10165<ul> 10166 <li><?php bugfix(52941); ?> (The 'iconv_mime_decode_headers' function is skipping 10167 headers). (Adam)</li> 10168 <li><?php bugfix(52599); ?> (iconv output handler outputs incorrect content type 10169 when flags are used). (Ilia)</li> 10170 <li><?php bugfix(51250); ?> (iconv_mime_decode() does not ignore malformed Q-encoded 10171 words). (Ilia)</li> 10172</ul> 10173</li> 10174<li>Intl extension: 10175<ul> 10176 <li>Fixed crashes on invalid parameters in intl extension. (CVE-2010-4409). (Stas, Maksymilian 10177 Arciemowicz)</li> 10178 <li>Added support for formatting the timestamp stored in a DateTime object. 10179 (Stas)</li> 10180 <li><?php bugfix(50590); ?> (IntlDateFormatter::parse result is limited to the integer 10181 range). (Stas)</li> 10182</ul> 10183</li> 10184<li>Mbstring extension: 10185<ul> 10186 <li><?php bugfix(53273); ?> (mb_strcut() returns garbage with the excessive length 10187 parameter). (CVE-2010-4156) (Mateusz Kocielski, Pierre, Moriyoshi)</li> 10188 <li><?php bugfix(52981); ?> (Unicode casing table was out-of-date. Updated with 10189 UnicodeData-6.0.0d7.txt and included the source of the generator program with 10190 the distribution) (Gustavo).</li> 10191 <li><?php bugfix(52681); ?> (mb_send_mail() appends an extra MIME-Version header). 10192 (Adam)</li> 10193</ul> 10194</li> 10195<li>MSSQL extension: 10196<ul> 10197 <li>Fixed possible crash in mssql_fetch_batch(). (Kalle)</li> 10198 <li><?php bugfix(52843); ?> (Segfault when optional parameters are not passed in to 10199 mssql_connect). (Felipe)</li> 10200</ul> 10201</li> 10202<li>MySQL extension: 10203<ul> 10204 <li><?php bugfix(52636); ?> (php_mysql_fetch_hash writes long value into int). 10205 (Kalle, rein at basefarm dot no)</li> 10206</ul> 10207</li> 10208<li>MySQLi extension: 10209<ul> 10210 <li><?php bugfix(52891); ?> (Wrong data inserted with mysqli/mysqlnd when using 10211 mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey)</li> 10212 <li><?php bugfix(52686); ?> (mysql_stmt_attr_[gs]et argument points to incorrect type). 10213 (rein at basefarm dot no)</li> 10214 <li><?php bugfix(52654); ?> (mysqli doesn't install headers with structures it uses). 10215 (Andrey)</li> 10216 <li><?php bugfix(52433); ?> (Call to undefined method mysqli::poll() - must be static). 10217 (Andrey)</li> 10218 <li><?php bugfix(52417); ?> (MySQLi build failure with mysqlnd on MacOS X). (Andrey)</li> 10219 <li><?php bugfix(52413); ?> (MySQLi/libmysql build failure on OS X, FreeBSD). (Andrey)</li> 10220 <li><?php bugfix(52390); ?> (mysqli_report() should be per-request setting). (Kalle)</li> 10221 <li><?php bugfix(52302); ?> (mysqli_fetch_all does not work with MYSQLI_USE_RESULT). 10222 (Andrey)</li> 10223 <li><?php bugfix(52221); ?> (Misbehaviour of magic_quotes_runtime (get/set)). (Andrey)</li> 10224 <li><?php bugfix(45921); ?> (Can't initialize character set hebrew). (Andrey)</li> 10225</ul> 10226</li> 10227<li>MySQLnd: 10228<ul> 10229 <li><?php bugfix(52613); ?> (crash in mysqlnd after hitting memory limit). (Andrey)</li> 10230</ul> 10231</li> 10232<li>ODBC extension: 10233<ul> 10234<li><?php bugfix(52512); ?> (Broken error handling in odbc_execute). 10235 (mkoegler at auto dot tuwien dot ac dot at)</li> 10236</ul> 10237</li> 10238<li>Openssl extension: 10239<ul> 10240 <li>Fixed possible blocking behavior in openssl_random_pseudo_bytes on Windows. 10241 (Pierre)</li> 10242 <li><?php bugfix(53136); ?> (Invalid read on openssl_csr_new()). (Felipe)</li> 10243 <li><?php bugfix(52947); ?> (segfault when ssl stream option capture_peer_cert_chain 10244 used). (Felipe)</li> 10245</ul> 10246</li> 10247<li>Oracle Database extension (OCI8): 10248<ul> 10249 <li><?php bugfix(53284); ?> (Valgrind warnings in oci_set_* functions) (Oracle Corp.)</li> 10250 <li><?php bugfix(51610); ?> (Using oci_connect causes PHP to take a long time to 10251 exit). Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix 10252 9891199) for this patch to have an effect. (Oracle Corp.)</li> 10253</ul> 10254</li> 10255<li>PCNTL extension: 10256<ul> 10257 <li><?php bugfix(52784); ?> (Race condition when handling many concurrent signals). 10258 (nick dot telford at gmail dot com, Arnaud)</li> 10259</ul> 10260</li> 10261<li>PCRE extension: 10262<ul> 10263 <li><?php bugfix(52971); ?> (PCRE-Meta-Characters not working with utf-8). (Felipe)</li> 10264 <li><?php bugfix(52732); ?> (Docs say preg_match() returns FALSE on error, but it 10265 returns int(0)). (slugonamission at gmail dot com)</li> 10266</ul> 10267</li> 10268<li>PHAR extension: 10269<ul> 10270 <li><?php bugfix(50987); ?> (unaligned memory access in phar.c). 10271 (geissert at debian dot org, Ilia)</li> 10272</ul> 10273</li> 10274<li>PHP-FPM SAPI: 10275<ul> 10276 <li><?php bugfix(53412); ?> (segfault when using -y). (fat)</li> 10277 <li>Fixed inconsistent backlog default value (-1) in FPM on many systems. (fat)</li> 10278 <li><?php bugfix(52501); ?> (libevent made FPM crashed when forking - libevent has 10279 been removed). (fat)</li> 10280 <li><?php bugfix(52725); ?> (gcc builtin atomic functions were sometimes used when they 10281 were not available). (fat)</li> 10282 <li><?php bugfix(52693); ?> (configuration file errors are not logged to stderr). (fat)</li> 10283 <li><?php bugfix(52674); ?> (FPM Status page returns inconsistent Content-Type headers). 10284 (fat)</li> 10285 <li><?php bugfix(52498); ?> (libevent was not only linked to php-fpm). (fat)</li> 10286</ul> 10287</li> 10288<li>PDO: 10289<ul> 10290 <li><?php bugfix(52699); ?> (PDO bindValue writes long int 32bit enum). 10291 (rein at basefarm dot no) </li> 10292 <li><?php bugfix(52487); ?> (PDO::FETCH_INTO leaks memory). (Felipe)</li> 10293</ul> 10294</li> 10295<li>PDO DBLib driver: 10296<ul> 10297 <li><?php bugfix(52546); ?> (pdo_dblib segmentation fault when iterating MONEY values). 10298 (Felipe)</li> 10299</ul> 10300</li> 10301<li>PDO Firebird driver: 10302<ul> 10303 <li>Restored firebird support (VC9 builds only). (Pierre)</li> 10304 <li><?php bugfix(53335); ?> (pdo_firebird did not implement rowCount()). 10305 (preeves at ibphoenix dot com)</li> 10306 <li><?php bugfix(53323); ?> (pdo_firebird getAttribute() crash). 10307 (preeves at ibphoenix dot com)</li> 10308</ul> 10309</li> 10310<li>PDO MySQL driver: 10311<ul> 10312 <li><?php bugfix(52745); ?> (Binding params doesn't work when selecting a date inside a 10313 CASE-WHEN). (Andrey)</li> 10314</ul> 10315</li> 10316<li>PostgreSQL extension: 10317<ul> 10318 <li><?php bugfix(47199); ?> (pg_delete() fails on NULL). (ewgraf at gmail dot com)</li> 10319</ul> 10320</li> 10321<li>Reflection extension: 10322<ul> 10323 <li>Fixed ReflectionProperty::isDefault() giving a wrong result for properties 10324 obtained with ReflectionClass::getProperties(). (Gustavo)</li> 10325 <li><?php bugfix(53366); ?> (Reflection doesnt get dynamic property value from 10326 getProperty()). (Felipe)</li> 10327 <li><?php bugfix(52854); ?> (ReflectionClass::newInstanceArgs does not work for classes 10328 without constructors). (Johannes)</li> 10329</ul> 10330</li> 10331<li>SOAP extension: 10332<ul> 10333 <li><?php bugfix(44248); ?> (RFC2616 transgression while HTTPS request through proxy 10334 with SoapClient object). (Dmitry)</li> 10335</ul> 10336</li> 10337<li>SPL extension: 10338<ul> 10339 <li><?php bugfix(53362); ?> (Segmentation fault when extending SplFixedArray). (Felipe)</li> 10340 <li><?php bugfix(53279); ?> (SplFileObject doesn't initialise default CSV escape 10341 character). (Adam)</li> 10342 <li><?php bugfix(53144); ?> (Segfault in SplObjectStorage::removeAll()). (Felipe)</li> 10343 <li><?php bugfix(53071); ?> (SPLObjectStorage defeats gc_collect_cycles). (Gustavo)</li> 10344 <li><?php bugfix(52573); ?> (SplFileObject::fscanf Segmentation fault). (Felipe)</li> 10345 <li><?php bugfix(51763); ?> (SplFileInfo::getType() does not work symbolic link 10346 and directory). (Pierre)</li> 10347 <li><?php bugfix(50481); ?> (Storing many SPLFixedArray in an array crashes). (Felipe)</li> 10348 <li><?php bugfix(50579); ?> (RegexIterator::REPLACE doesn't work). (Felipe)</li> 10349</ul> 10350</li> 10351<li>SQLite3 extension: 10352<ul> 10353 <li><?php bugfix(53463); ?> (sqlite3 columnName() segfaults on bad column_number). 10354 (Felipe)</li> 10355</ul> 10356</li> 10357<li>Streams: 10358<ul> 10359 <li>Fixed forward stream seeking emulation in streams that don't support seeking 10360 in situations where the read operation gives back less data than requested 10361 and when there was data in the buffer before the emulation started. Also made 10362 more consistent its behavior -- should return failure every time less data 10363 than was requested was skipped. (Gustavo)</li> 10364 <li><?php bugfix(53241); ?> (stream casting that relies on fdopen/fopencookie fails 10365 with streams opened with, inter alia, the 'xb' mode). (Gustavo)</li> 10366 <li><?php bugfix(53006); ?> (stream_get_contents has an unpredictable behavior when the 10367 underlying stream does not support seeking). (Gustavo)</li> 10368 <li><?php bugfix(52944); ?> (Invalid write on second and subsequent reads with an 10369 inflate filter fed invalid data). (Gustavo)</li> 10370 <li><?php bugfix(52820); ?> (writes to fopencookie FILE* not commited when seeking the 10371 stream). (Gustavo)</li> 10372</ul> 10373</li> 10374<li>WDDX extension: 10375<ul> 10376 <li><?php bugfix(52468); ?> (wddx_deserialize corrupts integer field value when left 10377 empty). (Felipe)</li> 10378</ul> 10379</li> 10380<li>Zlib extension: 10381<ul> 10382 <li><?php bugfix(52926); ?> (zlib fopen wrapper does not use context). (Gustavo)</li> 10383</ul> 10384</li> 10385</ul> 10386 10387<!-- }}} --></section> 10388 10389<section class="version" id="5.3.3"><!-- {{{ 5.3.3 --> 10390<h3>Version 5.3.3</h3> 10391<?php release_date('22-Jul-2010'); ?> 10392<ul> 10393<li>Upgraded bundled sqlite to version 3.6.23.1. (Ilia)</li> 10394<li>Upgraded bundled PCRE to version 8.02. (Ilia)</li> 10395</ul> 10396<ul> 10397<li>Added support for JSON_NUMERIC_CHECK option in json_encode() that converts numeric strings to integers. (Ilia)</li> 10398<li>Added stream_set_read_buffer, allows to set the buffer for read operation. (Pierre)</li> 10399<li>Added stream filter support to mcrypt extension (ported from mcrypt_filter). (Stas)</li> 10400<li>Added full_special_chars filter to ext/filter. (Rasmus)</li> 10401<li>Added backlog socket context option for stream_socket_server(). (Mike)</li> 10402<li>Added fifth parameter to openssl_encrypt()/openssl_decrypt() (string $iv) to use non-NULL IV. 10403 Made implicit use of NULL IV a warning. (Sara)</li> 10404<li>Added openssl_cipher_iv_length(). (Sara)</li> 10405<li>Added FastCGI Process Manager (FPM) SAPI. (Tony)</li> 10406<li>Added recent Windows versions to php_uname and fix undefined windows version support. (Pierre)</li> 10407<li>Added Berkeley DB 5 support to the DBA extension. (Johannes, Chris Jones)</li> 10408<li>Added support for copy to/from array/file for pdo_pgsql extension. (Denis Gasparin, Ilia)</li> 10409<li>Added inTransaction() method to PDO, with specialized support for Postgres. (Ilia, Denis Gasparin)</li> 10410</ul> 10411<ul> 10412<li>Changed namespaced classes so that the ctor can only be named __construct now. (Stas)</li> 10413<li>Reset error state in PDO::beginTransaction() reset error state. (Ilia)</li> 10414</ul> 10415<ul> 10416<li><?php implemented(51295); ?> (SQLite3::busyTimeout not existing). (Mark)</li> 10417<li><?php implemented(35638); ?> (Adding udate to imap_fetch_overview results). (Charles_Duffy at dell dot com )</li> 10418<li>Rewrote var_export() to use smart_str rather than output buffering, prevents data disclosure if a fatal error occurs (CVE-2010-2531). (Scott)</li> 10419<li>Fixed possible buffer overflows in mysqlnd_list_fields, mysqlnd_change_user. (Andrey)</li> 10420<li>Fixed possible buffer overflows when handling error packets in mysqlnd. Reported by Stefan Esser. (Andrey)</li> 10421<li>Fixed very rare memory leak in mysqlnd, when binding thousands of columns. (Andrey)</li> 10422<li>Fixed a crash when calling an inexistent method of a class that inherits PDOStatement if instantiated directly instead of doing by the PDO methods. (Felipe)</li> 10423</ul> 10424<ul> 10425<li>Fixed memory leak on error in mcrypt_create_iv on Windows. (Pierre)</li> 10426<li>Fixed a possible crash because of recursive GC invocation. (Dmitry)</li> 10427<li>Fixed a possible resource destruction issues in shm_put_var(). Reported by Stefan Esser. (Dmitry)</li> 10428<li>Fixed a possible information leak because of interruption of XOR operator. Reported by Stefan Esser. (Dmitry)</li> 10429<li>Fixed a possible memory corruption because of unexpected call-time pass by refernce and following memory clobbering through callbacks. 10430 Reported by Stefan Esser. (Dmitry)</li> 10431<li>Fixed a possible memory corruption in ArrayObject::uasort(). Reported by Stefan Esser. (Dmitry)</li> 10432<li>Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser. (Dmitry)</li> 10433<li>Fixed a possible memory corruption in pack(). Reported by Stefan Esser. (Dmitry)</li> 10434<li>Fixed a possible memory corruption in substr_replace(). Reported by Stefan Esser. (Dmitry)</li> 10435<li>Fixed a possible memory corruption in addcslashes(). Reported by Stefan Esser. (Dmitry)</li> 10436<li>Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan Esser. (Ilia)</li> 10437<li>Fixed a possible dechunking filter buffer overflow. Reported by Stefan Esser. (Pierre)</li> 10438<li>Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski. (Ilia)</li> 10439<li>Fixed string format validation inside phar extension. Reported by Stefan Esser. (Ilia)</li> 10440<li>Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser. (Ilia)</li> 10441<li>Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug <?php bugl(51288); ?>). (Raphael Geissert)</li> 10442<li>Fixed 64-bit integer overflow in mhash_keygen_s2k(). (Clément LECIGNE, Stas)</li> 10443<li>Fixed SplObjectStorage unserialization problems (CVE-2010-2225). (Stas)</li> 10444<li>Fixed the mail.log ini setting when no filename was given. (Johannes)</li> 10445</ul> 10446<ul> 10447<li><?php bugfix(52317); ?> (Segmentation fault when using mail() on a rhel 4.x (only 64 bit)). (Adam)</li> 10448<li><?php bugfix(52262); ?> (json_decode() shows no errors on invalid UTF-8). (Scott)</li> 10449<li><?php bugfix(52240); ?> (hash_copy() does not copy the HMAC key, causes wrong results and PHP crashes). (Felipe)</li> 10450<li><?php bugfix(52238); ?> (Crash when an Exception occured in iterator_to_array). (Johannes)</li> 10451<li><?php bugfix(52193); ?> (converting closure to array yields empty array). (Felipe)</li> 10452<li><?php bugfix(52183); ?> (Reflectionfunction reports invalid number of arguments for function aliases). (Felipe)</li> 10453<li><?php bugfix(52162); ?> (custom request header variables with numbers are removed). (Sriram Natarajan)</li> 10454<li><?php bugfix(52160); ?> (Invalid E_STRICT redefined constructor error). (Felipe)</li> 10455<li><?php bugfix(52138); ?> (Constants are parsed into the ini file for section names). (Felipe)</li> 10456<li><?php bugfix(52115); ?> (mysqli_result::fetch_all returns null, not an empty array). (Andrey)</li> 10457<li><?php bugfix(52101); ?> (dns_get_record() garbage in 'ipv6' field on Windows). (Pierre)</li> 10458<li><?php bugfix(52082); ?> (character_set_client & character_set_connection reset after mysqli_change_user()). (Andrey)</li> 10459<li><?php bugfix(52043); ?> (GD doesn't recognize latest libJPEG versions). (php at group dot apple dot com, Pierre) </li> 10460<li><?php bugfix(52041); ?> (Memory leak when writing on uninitialized variable returned from function). (Dmitry)</li> 10461<li><?php bugfix(52060); ?> (Memory leak when passing a closure to method_exists()). (Felipe)</li> 10462<li><?php bugfix(52057); ?> (ReflectionClass fails on Closure class). (Felipe)</li> 10463<li><?php bugfix(52051); ?> (handling of case sensitivity of old-style constructors changed in 5.3+). (Felipe)</li> 10464<li><?php bugfix(52037); ?> (Concurrent builds fail in install-programs). (seanius at debian dot org, Kalle)</li> 10465<li><?php bugfix(52019); ?> (make lcov doesn't support TESTS variable anymore). (Patrick)</li> 10466<li><?php bugfix(52010); ?> (open_basedir restrictions mismatch on vacuum command). (Ilia)</li> 10467<li><?php bugfix(52001); ?> (Memory allocation problems after using variable variables). (Dmitry)</li> 10468<li><?php bugfix(51991); ?> (spl_autoload and *nix support with namespace). (Felipe)</li> 10469<li><?php bugfix(51943); ?> (AIX: Several files are out of ANSI spec). (Kalle, coreystup at gmail dot com)</li> 10470<li><?php bugfix(51911); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant array). (Felipe)</li> 10471<li><?php bugfix(51905); ?> (ReflectionParameter fails if default value is an array with an access to self::). (Felipe)</li> 10472<li><?php bugfix(51899); ?> (Parse error in parse_ini_file() function when empy value followed by no newline). (Felipe)</li> 10473<li><?php bugfix(51844); ?> (checkdnsrr does not support types other than MX). (Pierre)</li> 10474<li><?php bugfix(51827); ?> (Bad warning when register_shutdown_function called with wrong num of parameters). (Felipe)</li> 10475<li><?php bugfix(51822); ?> (Segfault with strange __destruct() for static class variables). (Dmitry)</li> 10476<li><?php bugfix(51791); ?> (constant() aborts execution when fail to check undefined constant). (Felipe)</li> 10477<li><?php bugfix(51732); ?> (Fileinfo __construct or open does not work with NULL). (Pierre)</li> 10478<li><?php bugfix(51725); ?> (xmlrpc_get_type() returns true on invalid dates). (Mike)</li> 10479<li><?php bugfix(51723); ?> (Content-length header is limited to 32bit integer with Apache2 on Windows). (Pierre)</li> 10480<li><?php bugfix(51721); ?> (mark DOMNodeList and DOMNamedNodeMap as Traversable). (David Zuelke)</li> 10481<li><?php bugfix(51712); ?> (Test mysql_mysqlnd_read_timeout_long must fail on MySQL4). (Andrey)</li> 10482<li><?php bugfix(51697); ?> (Unsafe operations in free_storage of SPL iterators, causes crash during shutdown). (Etienne)</li> 10483<li><?php bugfix(51690); ?> (Phar::setStub looks for case-sensitive __HALT_COMPILER()). (Ilia)</li> 10484<li><?php bugfix(51688); ?> (ini per dir crashes when invalid document root are given). (Pierre)</li> 10485<li><?php bugfix(51671); ?> (imagefill does not work correctly for small images). (Pierre)</li> 10486<li><?php bugfix(51670); ?> (getColumnMeta causes segfault when re-executing query after calling nextRowset). (Pierrick)</li> 10487<li><?php bugfix(51647); ?> Certificate file without private key (pk in another file) doesn't work. (Andrey)</li> 10488<li><?php bugfix(51629); ?> (CURLOPT_FOLLOWLOCATION error message is misleading). (Pierre)</li> 10489<li><?php bugfix(51627); ?> (script path not correctly evaluated). (russell dot tempero at rightnow dot com)</li> 10490<li><?php bugfix(51624); ?> (Crash when calling mysqli_options()). (Felipe)</li> 10491<li><?php bugfix(51615); ?> (PHP crash with wrong HTML in SimpleXML). (Felipe)</li> 10492<li><?php bugfix(51609); ?> (pg_copy_to: Invalid results when using fourth parameter). (Felipe)</li> 10493<li><?php bugfix(51608); ?> (pg_copy_to: WARNING: nonstandard use of \\ in a string literal). (cbandy at jbandy dot com)</li> 10494<li><?php bugfix(51607); ?> (pg_copy_from does not allow schema in the tablename argument). (cbandy at jbandy dot com)</li> 10495<li><?php bugfix(51605); ?> (Mysqli - zombie links). (Andrey)</li> 10496<li><?php bugfix(51604); ?> (newline in end of header is shown in start of message). (Daniel Egeberg)</li> 10497<li><?php bugfix(51590); ?> (JSON_ERROR_UTF8 is undefined). (Felipe)</li> 10498<li><?php bugfix(51583); ?> (Bus error due to wrong alignment in mysqlnd). (Rainer Jung)</li> 10499<li><?php bugfix(51582); ?> (Don't assume UINT64_C it's ever available). (reidrac at usebox dot net, Pierre)</li> 10500<li><?php bugfix(51577); ?> (Uninitialized memory reference with oci_bind_array_by_name) (Oracle Corp.)</li> 10501<li><?php bugfix(51562); ?> (query timeout in mssql can not be changed per query). (ejsmont dot artur at gmail dot com)</li> 10502<li><?php bugfix(51552); ?> (debug_backtrace() causes segmentation fault and/or memory issues). (Dmitry)</li> 10503<li><?php bugfix(51445); ?> (var_dump() invalid/slow *RECURSION* detection). (Felipe)</li> 10504<li><?php bugfix(51435); ?> (Missing ifdefs / logic bug in crypt code cause compile errors). (Felipe)</li> 10505<li><?php bugfix(51424); ?> (crypt() function hangs after 3rd call). (Pierre, Sriram)</li> 10506<li><?php bugfix(51394); ?> (Error line reported incorrectly if error handler throws an exception). (Stas)</li> 10507<li><?php bugfix(51393); ?> (DateTime::createFromFormat() fails if format string contains timezone). (Adam)</li> 10508<li><?php bugfix(51347); ?> (mysqli_close / connection memory leak). (Andrey, Johannes)</li> 10509<li><?php bugfix(51338); ?> (URL-Rewriter is still enabled if use_only_cookies is on). (Ilia, j dot jeising at gmail dot com)</li> 10510<li><?php bugfix(51291); ?> (oci_error doesn't report last error when called two times) (Oracle Corp.)</li> 10511<li><?php bugfix(51276); ?> (php_load_extension() is missing when HAVE_LIBDL is undefined). (Tony)</li> 10512<li><?php bugfix(51273); ?> (Faultstring property does not exist when the faultstring is empty) (Ilia, dennis at transip dot nl)</li> 10513<li><?php bugfix(51269); ?> (zlib.output_compression Overwrites Vary Header). (Adam)</li> 10514<li><?php bugfix(51257); ?> (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1). (aron dot ujvari at microsec dot hu)</li> 10515<li><?php bugfix(51242); ?> (Empty mysql.default_port does not default to 3306 anymore, but 0). (Adam)</li> 10516<li><?php bugfix(51237); ?> (milter SAPI crash on startup). (igmar at palsenberg dot com)</li> 10517<li><?php bugfix(51213); ?> (pdo_mssql is trimming value of the money column). (Ilia, alexr at oplot dot com)</li> 10518<li><?php bugfix(51190); ?> (ftp_put() returns false when transfer was successful). (Ilia)</li> 10519<li><?php bugfix(51183); ?> (ext/date/php_date.c fails to compile with Sun Studio). (Sriram Natarajan)</li> 10520<li><?php bugfix(51176); ?> (Static calling in non-static method behaves like $this->). (Felipe)</li> 10521<li><?php bugfix(51171); ?> (curl_setopt() doesn't output any errors or warnings when an invalid option is provided). (Ilia)</li> 10522<li><?php bugfix(51128); ?> (imagefill() doesn't work with large images). (Pierre)</li> 10523<li><?php bugfix(51096); ?> ('last day' and 'first day' are handled incorrectly when parsing date strings). (Derick)</li> 10524<li><?php bugfix(51086); ?> (DBA DB4 doesn't work with Berkeley DB 4.8). (Chris Jones)</li> 10525<li><?php bugfix(51062); ?> (DBA DB4 uses mismatched headers and libraries). (Chris Jones)</li> 10526<li><?php bugfix(51026); ?> (mysqli_ssl_set not working). (Andrey)</li> 10527<li><?php bugfix(51023); ?> (filter doesn't detect int overflows with GCC 4.4). (Raphael Geissert)</li> 10528<li><?php bugfix(50999); ?> (unaligned memory access in dba_fetch()). (Felipe)</li> 10529<li><?php bugfix(50976); ?> (Soap headers Authorization not allowed). (Brain France, Dmitry)</li> 10530<li><?php bugfix(50828); ?> (DOMNotation is not subclass of DOMNode). (Rob)</li> 10531<li><?php bugfix(50810); ?> (property_exists does not work for private). (Felipe)</li> 10532<li><?php bugfix(50762); ?> (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)</li> 10533<li><?php bugfix(50731); ?> (Inconsistent namespaces sent to functions registered with spl_autoload_register). (Felipe)</li> 10534<li><?php bugfix(50563); ?> (removing E_WARNING from parse_url). (ralph at smashlabs dot com, Pierre)</li> 10535<li><?php bugfix(50578); ?> (incorrect shebang in phar.phar). (Fedora at FamilleCollet dot com)</li> 10536<li><?php bugfix(50392); ?> (date_create_from_format enforces 6 digits for 'u' format character). (Derick)</li> 10537<li><?php bugfix(50383); ?> (Exceptions thrown in __call / __callStatic do not include file and line in trace). (Felipe)</li> 10538<li><?php bugfix(50358); ?> (Compile failure compiling ext/phar/util.lo). (Felipe)</li> 10539<li><?php bugfix(50101); ?> (name clash between global and local variable). (patch by yoarvi at gmail dot com)</li> 10540<li><?php bugfix(50055); ?> (DateTime::sub() allows 'relative' time modifications). (Derick)</li> 10541<li><?php bugfix(51002); ?> (fix possible memory corruption with very long names). (Pierre)</li> 10542<li><?php bugfix(49893); ?> (Crash while creating an instance of Zend_Mail_Storage_Pop3). (Dmitry)</li> 10543<li><?php bugfix(49819); ?> (STDOUT losing data with posix_isatty()). (Mike)</li> 10544<li><?php bugfix(49778); ?> (DateInterval::format("%a") is always zero when an interval is created from an ISO string). (Derick)</li> 10545<li><?php bugfix(49700); ?> (memory leaks in php_date.c if garbage collector is enabled). (Dmitry)</li> 10546<li><?php bugfix(49576); ?> (FILTER_VALIDATE_EMAIL filter needs updating) (Rasmus)</li> 10547<li><?php bugfix(49490); ?> (XPath namespace prefix conflict). (Rob)</li> 10548<li><?php bugfix(49429); ?> (odbc_autocommit doesn't work). (Felipe)</li> 10549<li><?php bugfix(49320); ?> (PDO returns null when SQLite connection fails). (Felipe)</li> 10550<li><?php bugfix(49234); ?> (mysqli_ssl_set not found). (Andrey)</li> 10551<li><?php bugfix(49216); ?> (Reflection doesn't seem to work properly on MySqli). (Andrey)</li> 10552<li><?php bugfix(49192); ?> (PHP crashes when GC invoked on COM object). (Stas)</li> 10553<li><?php bugfix(49081); ?> (DateTime::diff() mistake if start in January and interval > 28 days). (Derick)</li> 10554<li><?php bugfix(49059); ?> (DateTime::diff() repeats previous sub() operation). (yoarvi@gmail.com, Derick)</li> 10555<li><?php bugfix(48983); ?> (DomDocument : saveHTMLFile wrong charset). (Rob)</li> 10556<li><?php bugfix(48930); ?> (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3). (Felipe)</li> 10557<li><?php bugfix(48902); ?> (Timezone database fallback map is outdated). (Derick)</li> 10558<li><?php bugfix(48781); ?> (Cyclical garbage collector memory leak). (Dmitry)</li> 10559<li><?php bugfix(48601); ?> (xpath() returns FALSE for legitimate query). (Rob)</li> 10560<li><?php bugfix(48361); ?> (SplFileInfo::getPathInfo should return the parent dir). (Etienne)</li> 10561<li><?php bugfix(48289); ?> (iconv_mime_encode() quoted-printable scheme is broken). (Adam, patch from hiroaki dot kawai at gmail dot com).</li> 10562<li><?php bugfix(47842); ?> (sscanf() does not support 64-bit values). (Mike)</li> 10563<li><?php bugfix(46111); ?> (Some timezone identifiers can not be parsed). (Derick)</li> 10564<li><?php bugfix(45808); ?> (stream_socket_enable_crypto() blocks and eats CPU). (vincent at optilian dot com)</li> 10565<li><?php bugfix(43233); ?> (sasl support for ldap on Windows). (Pierre)</li> 10566<li><?php bugfix(35673); ?> (formatOutput does not work with saveHTML). (Rob)</li> 10567<li><?php bugfix(33210); ?> (getimagesize() fails to detect width/height on certain JPEGs). (Ilia)</li> 10568</ul> 10569 10570<!-- }}} --></section> 10571 10572<section class="version" id="5.3.2"><!-- {{{ 5.3.2 --> 10573<h3>Version 5.3.2</h3> 10574<?php release_date('04-Mar-2010'); ?> 10575<ul> 10576<li>Security Fixes 10577 <ul> 10578 <li>Improved LCG entropy. (Rasmus, Samy Kamkar)</li> 10579 <li>Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)</li> 10580 <li>Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia)</li> 10581 </ul> 10582</li> 10583 10584 10585<li>Upgraded bundled sqlite to version 3.6.22. (Ilia)</li> 10586<li>Upgraded bundled libmagic to version 5.03. (Mikko)</li> 10587<li>Upgraded bundled PCRE to version 8.00. (Scott)</li> 10588<li>Updated timezone database to version 2010.3. (Derick)</li> 10589 10590<li>Improved LCG entropy. (Rasmus, Samy Kamkar)</li> 10591<li>Improved crypt support for edge cases (UFC compatibility). (Solar Designer, Joey, Pierre)</li> 10592 10593<li>Changed gmp_strval() to use full range from 2 to 62, and -2 to -36. FR <?php bugl(50283); ?> (David Soria Parra)</li> 10594<li>Changed "post_max_size" php.ini directive to allow unlimited post size by setting it to 0. (Rasmus)</li> 10595<li>Changed tidyNode class to disallow manual node creation. (Pierrick)</li> 10596 10597<li>Removed automatic file descriptor unlocking happening on shutdown and/or stream close (on all OSes). (Tony, Ilia)</li> 10598 10599<li>Added libpng 1.4.0 support. (Pierre)</li> 10600<li>Added support for DISABLE_AUTHENTICATOR for imap_open. (Pierre)</li> 10601<li>Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL. (Ilia)</li> 10602<li>Added stream_resolve_include_path(). (Mikko)</li> 10603<li>Added INTERNALDATE support to imap_append. (nick at mailtrust dot com)</li> 10604<li>Added support for SHA-256 and SHA-512 to php's crypt. (Pierre)</li> 10605<li>Added realpath_cache_size() and realpath_cache_get() functions. (Stas)</li> 10606<li>Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia)</li> 10607<li>Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check. (Stas)</li> 10608<li>Added LIBXML_PARSEHUGE constant to override the maximum text size of a single text node when using libxml2.7.3+. (Kalle)</li> 10609<li>Added ReflectionMethod::setAccessible() for invoking non-public methods through the Reflection API. (Sebastian)</li> 10610<li>Added Collator::getSortKey for intl extension. (Stas)</li> 10611<li>Added support for CURLOPT_POSTREDIR. FR <?php bugl(49571); ?>. (Sriram Natarajan)</li> 10612<li>Added support for CURLOPT_CERTINFO. FR <?php bugl(49253); ?>. (Linus Nielsen Feltzing <linus@haxx.se>)</li> 10613<li>Added client-side server name indication support in openssl. (Arnaud)</li> 10614 10615<li>Improved fix for bug <?php bugl(50006); ?> (Segfault caused by uksort()). (Stas)</li> 10616 10617<li>Fixed mysqlnd hang when queries exactly 16777214 bytes long are sent. (Andrey)</li> 10618<li>Fixed incorrect decoding of 5-byte BIT sequences in mysqlnd. (Andrey)</li> 10619<li>Fixed error_log() to be binary safe when using message_type 3. (Jani)</li> 10620<li>Fixed unnecessary invocation of setitimer when timeouts have been disabled. (Arvind Srinivasan)</li> 10621<li>Fixed memory leak in extension loading when an error occurs on Windows. (Pierre)</li> 10622<li>Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)</li> 10623<li>Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak. (Ilia)</li> 10624<li>Fixed possible crash when a error/warning is raised during php startup. (Pierre)</li> 10625<li>Fixed possible bad behavior of rename on windows when used with symbolic links or invalid paths. (Pierre)</li> 10626<li>Fixed error output to stderr on Windows. (Pierre)</li> 10627<li>Fixed memory leaks in is_writable/readable/etc on Windows. (Pierre)</li> 10628<li>Fixed memory leaks in the ACL function on Windows. (Pierre)</li> 10629<li>Fixed memory leak in the realpath cache on Windows. (Pierre)</li> 10630<li>Fixed memory leak in zip_close. (Pierre)</li> 10631<li>Fixed crypt's blowfish sanity check of the "setting" string, to reject iteration counts encoded as 36 through 39. (Solar Designer, Joey, Pierre)</li> 10632 10633<li><?php bugfix(51059); ?> (crypt crashes when invalid salt are given). (Pierre)</li> 10634<li><?php bugfix(50952); ?> (allow underscore _ in constants parsed in php.ini files). (Jani)</li> 10635<li><?php bugfix(50940); ?> (Custom content-length set incorrectly in Apache SAPIs). (Brian France, Rasmus)</li> 10636<li><?php bugfix(50930); ?> (Wrong date by php_date.c patch with ancient gcc/glibc versions). (Derick)</li> 10637<li><?php bugfix(50907); ?> (X-PHP-Originating-Script adding two new lines in *NIX). (Ilia)</li> 10638<li><?php bugfix(50859); ?> (build fails with openssl 1.0 due to md2 deprecation). (Ilia, hanno at hboeck dot de)</li> 10639<li><?php bugfix(50847); ?> (strip_tags() removes all tags greater then 1023 bytes long). (Ilia)</li> 10640<li><?php bugfix(50829); ?> (php.ini directive pdo_mysql.default_socket is ignored). (Ilia)</li> 10641<li><?php bugfix(50832); ?> (HTTP fopen wrapper does not support passwordless HTTP authentication). (Jani)</li> 10642<li><?php bugfix(50787); ?> (stream_set_write_buffer() has no effect on socket streams). (vnegrier at optilian dot com, Ilia)</li> 10643<li><?php bugfix(50761); ?> (system.multiCall crashes in xmlrpc extension). (hiroaki dot kawai at gmail dot com, Ilia)</li> 10644<li><?php bugfix(50756); ?> (CURLOPT_FTP_SKIP_PASV_IP does not exist). (Sriram)</li> 10645<li><?php bugfix(50732); ?> (exec() adds single byte twice to $output array). (Ilia)</li> 10646<li><?php bugfix(50728); ?> (All PDOExceptions hardcode 'code' property to 0). (Joey, Ilia)</li> 10647<li><?php bugfix(50723); ?> (Bug in garbage collector causes crash). (Dmitry)</li> 10648<li><?php bugfix(50690); ?> (putenv does not set ENV when the value is only one char). (Pierre)</li> 10649<li><?php bugfix(50680); ?> (strtotime() does not support eighth ordinal number). (Ilia)</li> 10650<li><?php bugfix(50661); ?> (DOMDocument::loadXML does not allow UTF-16). (Rob)</li> 10651<li><?php bugfix(50657); ?> (copy() with an empty (zero-byte) HTTP source succeeds but returns false). (Ilia)</li> 10652<li><?php bugfix(50632); ?> (filter_input() does not return default value if the variable does not exist). (Ilia)</li> 10653<li><?php bugfix(50576); ?> (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick)</li> 10654<li><?php bugfix(50558); ?> (Broken object model when extending tidy). (Pierrick)</li> 10655<li><?php bugfix(50540); ?> (Crash while running ldap_next_reference test cases). (Sriram)</li> 10656<li><?php bugfix(50519); ?> (segfault in garbage collection when using set_error_handler and DomDocument). (Dmitry)</li> 10657<li><?php bugfix(50508); ?> (compile failure: Conflicting HEADER type declarations). (Jani)</li> 10658<li><?php bugfix(50496); ?> (Use of <stdbool.h> is valid only in a c99 compilation environment. (Sriram)</li> 10659<li><?php bugfix(50464); ?> (declare encoding doesn't work within an included file). (Felipe)</li> 10660<li><?php bugfix(50458); ?> (PDO::FETCH_FUNC fails with Closures). (Felipe, Pierrick)</li> 10661<li><?php bugfix(50445); ?> (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault). (davbrown4 at yahoo dot com, Felipe)</li> 10662<li><?php bugfix(50416); ?> (PROCEDURE db.myproc can't return a result set in the given context). (Andrey)</li> 10663<li><?php bugfix(50394); ?> (Reference argument converted to value in __call). (Stas)</li> 10664<li><?php bugfix(50351); ?> (performance regression handling objects, ten times slowerin 5.3 than in 5.2). (Dmitry)</li> 10665<li><?php bugfix(50392); ?> (date_create_from_format() enforces 6 digits for 'u' format character). (Ilia)</li> 10666<li><?php bugfix(50345); ?> (nanosleep not detected properly on some solaris versions). (Jani)</li> 10667<li><?php bugfix(50340); ?> (php.ini parser does not allow spaces in ini keys). (Jani)</li> 10668<li><?php bugfix(50334); ?> (crypt ignores sha512 prefix). (Pierre)</li> 10669<li><?php bugfix(50323); ?> (Allow use of ; in values via ;; in PDO DSN). (Ilia, Pierrick)</li> 10670<li><?php bugfix(50285); ?> (xmlrpc does not preserve keys in encoded indexed arrays). (Felipe)</li> 10671<li><?php bugfix(50282); ?> (xmlrpc_encode_request() changes object into array in calling function). (Felipe)</li> 10672<li><?php bugfix(50267); ?> (get_browser(null) does not use HTTP_USER_AGENT). (Jani)</li> 10673<li><?php bugfix(50266); ?> (conflicting types for llabs). (Jani)</li> 10674<li><?php bugfix(50261); ?> (Crash When Calling Parent Constructor with call_user_func()). (Dmitry)</li> 10675<li><?php bugfix(50255); ?> (isset() and empty() silently casts array to object). (Felipe)</li> 10676<li><?php bugfix(50240); ?> (pdo_mysql.default_socket in php.ini shouldn't used if it is empty). (foutrelis at gmail dot com, Ilia)</li> 10677<li><?php bugfix(50231); ?> (Socket path passed using --with-mysql-sock is ignored when mysqlnd is enabled). (Jani)</li> 10678<li><?php bugfix(50219); ?> (soap call Segmentation fault on a redirected url). (Pierrick)</li> 10679<li><?php bugfix(50212); ?> (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT). (Ilia, shigeru_kitazaki at cybozu dot co dot jp)</li> 10680<li><?php bugfix(50209); ?> (Compiling with libedit cannot find readline.h). (tcallawa at redhat dot com)</li> 10681<li><?php bugfix(50207); ?> (segmentation fault when concatenating very large strings on 64bit linux). (Ilia)</li> 10682<li><?php bugfix(50196); ?> (stream_copy_to_stream() produces warning when source is not file). (Stas)</li> 10683<li><?php bugfix(50195); ?> (pg_copy_to() fails when table name contains schema. (Ilia)</li> 10684<li><?php bugfix(50185); ?> (ldap_get_entries() return false instead of an empty array when there is no error). (Jani)</li> 10685<li><?php bugfix(50174); ?> (Incorrectly matched docComment). (Felipe)</li> 10686<li><?php bugfix(50168); ?> (FastCGI fails with wrong error on HEAD request to non-existant file). (Dmitry)</li> 10687<li><?php bugfix(50162); ?> (Memory leak when fetching timestamp column from Oracle database). (Felipe)</li> 10688<li><?php bugfix(50159); ?> (wrong working directory in symlinked files). (Dmitry)</li> 10689<li><?php bugfix(50158); ?> (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?). (Pierrick)</li> 10690<li><?php bugfix(50152); ?> (ReflectionClass::hasProperty behaves like isset() not property_exists). (Felipe)</li> 10691<li><?php bugfix(50146); ?> (property_exists: Closure object cannot have properties). (Felipe)</li> 10692<li><?php bugfix(50145); ?> (crash while running bug35634.phpt). (Felipe)</li> 10693<li><?php bugfix(50140); ?> (With default compilation option, php symbols are unresolved for nsapi). (Uwe Schindler)</li> 10694<li><?php bugfix(50087); ?> (NSAPI performance improvements). (Uwe Schindler)</li> 10695<li><?php bugfix(50073); ?> (parse_url() incorrect when ? in fragment). (Ilia)</li> 10696<li><?php bugfix(50023); ?> (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR). (Ilia)</li> 10697<li><?php bugfix(50005); ?> (Throwing through Reflection modified Exception object makes segmentation fault). (Felipe)</li> 10698<li><?php bugfix(49990); ?> (SNMP3 warning message about security level printed twice). (Jani)</li> 10699<li><?php bugfix(49985); ?> (pdo_pgsql prepare() re-use previous aborted transaction). (ben dot pineau at gmail dot com, Ilia, Matteo) </li> 10700<li><?php bugfix(49938); ?> (Phar::isBuffering() returns inverted value). (Greg)</li> 10701<li><?php bugfix(49936); ?> (crash with ftp stream in php_stream_context_get_option()). (Pierrick)</li> 10702<li><?php bugfix(49921); ?> (Curl post upload functions changed). (Ilia)</li> 10703<li><?php bugfix(49866); ?> (Making reference on string offsets crashes PHP). (Dmitry)</li> 10704<li><?php bugfix(49855); ?> (import_request_variables() always returns NULL). (Ilia, sjoerd at php dot net)</li> 10705<li><?php bugfix(49851); ?>, <?php bugl(50451); ?> (http wrapper breaks on 1024 char long headers). (Ilia)</li> 10706<li><?php bugfix(49800); ?> (SimpleXML allow (un)serialize() calls without warning). (Ilia, wmeler at wp-sa dot pl)</li> 10707<li><?php bugfix(49719); ?> (ReflectionClass::hasProperty returns true for a private property in base class). (Felipe)</li> 10708<li><?php bugfix(49677); ?> (ini parser crashes with apache2 and using ${something} ini variables). (Jani)</li> 10709<li><?php bugfix(49660); ?> (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)</li> 10710<li><?php bugfix(49647); ?> (DOMUserData does not exist). (Rob)</li> 10711<li><?php bugfix(49600); ?> (imageTTFText text shifted right). (Takeshi Abe)</li> 10712<li><?php bugfix(49585); ?> (date_format buffer not long enough for >4 digit years). (Derick, Adam)</li> 10713<li><?php bugfix(49560); ?> (oci8: using LOBs causes slow PHP shutdown). (Oracle Corp.)</li> 10714<li><?php bugfix(49521); ?> (PDO fetchObject sets values before calling constructor). (Pierrick)</li> 10715<li><?php bugfix(49472); ?> (Constants defined in Interfaces can be overridden). (Felipe)</li> 10716<li><?php bugfix(49463); ?> (setAttributeNS fails setting default namespace). (Rob)</li> 10717<li><?php bugfix(49244); ?> (Floating point NaN cause garbage characters). (Sjoerd)</li> 10718<li><?php bugfix(49224); ?> (Compile error due to old DNS functions on AIX systems). (Scott)</li> 10719<li><?php bugfix(49174); ?> (crash when extending PDOStatement and trying to set queryString property). (Felipe)</li> 10720<li><?php bugfix(48811); ?> (Directives in PATH section do not get applied to subdirectories). (Patch by: ct at swin dot edu dot au)</li> 10721<li><?php bugfix(48590); ?> (SoapClient does not honor max_redirects). (Sriram)</li> 10722<li><?php bugfix(48190); ?> (Content-type parameter "boundary" is not case-insensitive in HTTP uploads). (Ilia)</li> 10723<li><?php bugfix(47848); ?> (importNode doesn't preserve attribute namespaces). (Rob)</li> 10724<li><?php bugfix(47409); ?> (extract() problem with array containing word "this"). (Ilia, chrisstocktonaz at gmail dot com)</li> 10725<li><?php bugfix(47281); ?> ($php_errormsg is limited in size of characters) (Oracle Corp.)</li> 10726<li><?php bugfix(46478); ?> (htmlentities() uses obsolete mapping table for character entity references). (Moriyoshi)</li> 10727<li><?php bugfix(45599); ?> (strip_tags() truncates rest of string with invalid attribute). (Ilia, hradtke)</li> 10728<li><?php bugfix(45120); ?> (PDOStatement->execute() returns true then false for same statement). (Pierrick)</li> 10729<li><?php bugfix(44827); ?> (define() allows :: in constant names). (Ilia)</li> 10730<li><?php bugfix(44098); ?> (imap_utf8() returns only capital letters). (steffen at dislabs dot de, Pierre)</li> 10731<li><?php bugfix(34852); ?> (Failure in odbc_exec() using oracle-supplied odbc driver). (tim dot tassonis at trivadis dot com)</li> 10732</ul> 10733<!-- }}} --></section> 10734 10735<section class="version" id="5.3.1"><!-- {{{ 5.3.1 --> 10736<h3>Version 5.3.1</h3> 10737<?php release_date('19-Nov-2009'); ?> 10738<ul> 10739<li>Security Fixes 10740 <ul> 10741 <li>Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion. (Ilia)</li> 10742 <li>Added missing sanity checks around exif processing. (Ilia)</li> 10743 <li>Fixed a safe_mode bypass in tempnam(). (Rasmus)</li> 10744 <li>Fixed a open_basedir bypass in posix_mkfifo(). (Rasmus)</li> 10745 <li><?php bugfix(50063); ?> (safe_mode_include_dir fails). (Johannes, christian at elmerot dot se)</li> 10746 </ul> 10747</li> 10748 10749<li>Added error constant when json_encode() detects an invalid UTF-8 sequence. (Scott)</li> 10750<li>Added support for ACL on Windows for thread safe SAPI (Apache2 for example) and fix its support on NTS. (Pierre)</li> 10751 10752<li>Upgraded bundled sqlite to version 3.6.19. (Scott)</li> 10753<li>Updated timezone database to version 2009.17 (2009q). (Derick)</li> 10754 10755<li>Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)</li> 10756<li>Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. (Rasmus)</li> 10757<li>Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak. (Rasmus)</li> 10758<li>Fixed certificate validation inside php_openssl_apply_verification_policy (Ryan Sleevi, Ilia)</li> 10759<li>Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() when calling using Reflection. (Felipe)</li> 10760<li>Fixed crash when instantiating PDORow and PDOStatement through Reflection. (Felipe)</li> 10761<li>Fixed sanity check for the color index in imagecolortransparent. (Pierre)</li> 10762<li>Fixed scandir/readdir when used mounted points on Windows. (Pierre)</li> 10763<li>Fixed zlib.deflate compress filter to actually accept level parameter. (Jani)</li> 10764<li>Fixed leak on error in popen/exec (and related functions) on Windows. (Pierre)</li> 10765<li>Fixed possible bad caching of symlinked directories in the realpath cache on Windows. (Pierre)</li> 10766<li>Fixed atime and mtime in stat related functions on Windows. (Pierre)</li> 10767<li>Fixed spl_autoload_unregister/spl_autoload_functions wrt. Closures and Functors. (Christian Seiler)</li> 10768<li>Fixed open_basedir circumvention for "mail.log" ini directive. (Maksymilian Arciemowicz, Stas)</li> 10769<li>Fixed signature generation/validation for zip archives in ext/phar. (Greg)</li> 10770<li>Fixed memory leak in stream_is_local(). (Felipe, Tony)</li> 10771<li>Fixed BC break in mime_content_type(), removes the content encoding. (Scott) </li> 10772 10773<li>Changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts)</li> 10774<li>Restored shebang line check to CGI sapi (not checked by scanner anymore). (Jani)</li> 10775 10776<li>Improve symbolic, mounted volume and junctions support for realpath on Windows. (Pierre)</li> 10777<li>Improved readlink on Windows, suppress \??\ and use the drive syntax only. (Pierre)</li> 10778<li>Improved dns_get_record() AAAA support on windows. Always available when IPv6 is support is installed, format is now the same than on unix. (Pierre)</li> 10779<li>Improved the DNS functions on OSX to use newer APIs, also use Bind 9 API where available on other platforms. (Scott)</li> 10780<li>Improved shared extension loading on OSX to use the standard Unix dlopen() API. (Scott)</li> 10781<li><?php bugfix(50063); ?> (safe_mode_include_dir fails). (Johannes, christian at elmerot dot se)</li> 10782<li><?php bugfix(50052); ?> (Different Hashes on Windows and Linux on wrong Salt size). (Pierre)</li> 10783<li><?php bugfix(49910); ?> (no support for ././@LongLink for long filenames in phar tar support). (Greg)</li> 10784<li><?php bugfix(49908); ?> (throwing exception in __autoload crashes when interface is not defined). (Felipe)</li> 10785<li><?php bugfix(49847); ?> (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes). (Ilia)</li> 10786<li><?php bugfix(49809); ?> (time_sleep_until() is not available on OpenSolaris). (Jani)</li> 10787<li><?php bugfix(49757); ?> (long2ip() can return wrong value in a multi-threaded applications). (Ilia, Florian Anderiasch)</li> 10788<li><?php bugfix(49738); ?> (calling mcrypt after mcrypt_generic_deinit crashes). (Sriram Natarajan)</li> 10789<li><?php bugfix(49732); ?> (crashes when using fileinfo when timestamp conversion fails). (Pierre)</li> 10790<li><?php bugfix(49698); ?> (Unexpected change in strnatcasecmp()). (Rasmus)</li> 10791<li><?php bugfix(49630); ?> (imap_listscan function missing). (Felipe)</li> 10792<li><?php bugfix(49572); ?> (use of C++ style comments causes build failure). (Sriram Natarajan)</li> 10793<li><?php bugfix(49531); ?> (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set"). (Felipe)</li> 10794<li><?php bugfix(49517); ?> (cURL's CURLOPT_FILE prevents file from being deleted after fclose). (Ilia)</li> 10795<li><?php bugfix(49470); ?> (FILTER_SANITIZE_EMAIL allows disallowed characters). (Ilia)</li> 10796<li><?php bugfix(49447); ?> (php engine need to correctly check for socket API return status on windows). (Sriram Natarajan)</li> 10797<li><?php bugfix(49391); ?> (ldap.c utilizing deprecated ldap_modify_s). (Ilia)</li> 10798<li><?php bugfix(49361); ?> (wordwrap() wraps incorrectly on end of line boundaries). (Ilia, code-it at mail dot ru)</li> 10799<li><?php bugfix(49372); ?> (segfault in php_curl_option_curl). (Pierre)</li> 10800<li><?php bugfix(49306); ?> (inside pdo_mysql default socket settings are ignored). (Ilia)</li> 10801<li><?php bugfix(49289); ?> (bcmath module doesn't compile with phpize configure). (Jani)</li> 10802<li><?php bugfix(49286); ?> (php://input (php_stream_input_read) is broken). (Jani)</li> 10803<li><?php bugfix(49269); ?> (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry)</li> 10804<li><?php bugfix(49236); ?> (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)</li> 10805<li><?php bugfix(49223); ?> (Inconsistency using get_defined_constants). (Garrett)</li> 10806<li><?php bugfix(49193); ?> (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration). (Ilia)</li> 10807<li><?php bugfix(49183); ?> (dns_get_record does not return NAPTR records). (Pierre)</li> 10808<li><?php bugfix(49144); ?> (Import of schema from different host transmits original authentication details). (Dmitry)</li> 10809<li><?php bugfix(49142); ?> (crash when exception thrown from __tostring()). (David Soria Parra)</li> 10810<li><?php bugfix(49986); ?> (Missing ICU DLLs on windows package). (Pierre)</li> 10811<li><?php bugfix(49132); ?> (posix_times returns false without error). (phpbugs at gunnu dot us)</li> 10812<li><?php bugfix(49125); ?> (Error in dba_exists C code). (jdornan at stanford dot edu)</li> 10813<li><?php bugfix(49122); ?> (undefined reference to mysqlnd_stmt_next_result on compile with --with-mysqli and MySQL 6.0). (Jani)</li> 10814<li><?php bugfix(49108); ?> (2nd scan_dir produces segfault). (Felipe)</li> 10815<li><?php bugfix(49098); ?> (mysqli segfault on error). (Rasmus)</li> 10816<li><?php bugfix(49095); ?> (proc_get_status['exitcode'] fails on win32). (Felipe)</li> 10817<li><?php bugfix(49092); ?> (ReflectionFunction fails to work with functions in fully qualified namespaces). (Kalle, Jani)</li> 10818<li><?php bugfix(49074); ?> (private class static fields can be modified by using reflection). (Jani)</li> 10819<li><?php bugfix(49072); ?> (feof never returns true for damaged file in zip). (Pierre)</li> 10820<li><?php bugfix(49065); ?> ("disable_functions" php.ini option does not work on Zend extensions). (Stas)</li> 10821<li><?php bugfix(49064); ?> (--enable-session=shared does not work: undefined symbol: php_url_scanner_reset_vars). (Jani)</li> 10822<li><?php bugfix(49056); ?> (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys). (Jani)</li> 10823<li><?php bugfix(49052); ?> (context option headers freed too early when using --with-curlwrappers). (Jani)</li> 10824<li><?php bugfix(49047); ?> (The function touch() fails on directories on Windows). (Pierre)</li> 10825<li><?php bugfix(49032); ?> (SplFileObject::fscanf() variables passed by reference). (Jani)</li> 10826<li><?php bugfix(49027); ?> (mysqli_options() doesn't work when using mysqlnd). (Andrey)</li> 10827<li><?php bugfix(49026); ?> (proc_open() can bypass safe_mode_protected_env_vars restrictions). (Ilia)</li> 10828<li><?php bugfix(49012); ?> (phar tar signature algorithm reports as Unknown (0) in getSignature() call). (Greg)</li> 10829<li><?php bugfix(49020); ?> (phar misinterprets ustar long filename standard). (Greg)</li> 10830<li><?php bugfix(49018); ?> (phar tar stores long filenames wit prefix/name reversed). (Greg)</li> 10831<li><?php bugfix(49014); ?> (dechunked filter broken when serving more than 8192 bytes in a chunk). (andreas dot streichardt at globalpark dot com, Ilia)</li> 10832<li><?php bugfix(49000); ?> (PHP CLI in Interactive mode (php -a) crashes when including files from function). (Stas)</li> 10833<li><?php bugfix(48994); ?> (zlib.output_compression does not output HTTP headers when set to a string value). (Jani)</li> 10834<li><?php bugfix(48980); ?> (Crash when compiling with pdo_firebird). (Felipe)</li> 10835<li><?php bugfix(48962); ?> (cURL does not upload files with specified filename). (Ilia)</li> 10836<li><?php bugfix(48929); ?> (Double \r\n after HTTP headers when "header" context option is an array). (David Zülke)</li> 10837<li><?php bugfix(48913); ?> (Too long error code strings in pdo_odbc driver). (naf at altlinux dot ru, Felipe)</li> 10838<li><?php bugfix(48912); ?> (Namespace causes unexpected strict behaviour with extract()). (Dmitry)</li> 10839<li><?php bugfix(48909); ?> (Segmentation fault in mysqli_stmt_execute()). (Andrey)</li> 10840<li><?php bugfix(48899); ?> (is_callable returns true even if method does not exist in parent class). (Felipe)</li> 10841<li><?php bugfix(48893); ?> (Problems compiling with Curl). (Felipe)</li> 10842<li><?php bugfix(48872); ?> (string.c: errors: duplicate case values). (Kalle)</li> 10843<li><?php bugfix(48854); ?> (array_merge_recursive modifies arrays after first one). (Felipe)</li> 10844<li><?php bugfix(48805); ?> (IPv6 socket transport is not working). (Ilia)</li> 10845<li><?php bugfix(48802); ?> (printf() returns incorrect outputted length). (Jani)</li> 10846<li><?php bugfix(48880); ?> (Random Appearing open_basedir problem). (Rasmus, Gwynne)</li> 10847<li><?php bugfix(48791); ?> (open office files always reported as corrupted). (Greg)</li> 10848<li><?php bugfix(48788); ?> (RecursiveDirectoryIterator doesn't descend into symlinked directories). (Ilia)</li> 10849<li><?php bugfix(48783); ?> (make install will fail saying phar file exists). (Greg)</li> 10850<li><?php bugfix(48774); ?> (SIGSEGVs when using curl_copy_handle()). (Sriram Natarajan)</li> 10851<li><?php bugfix(48771); ?> (rename() between volumes fails and reports no error on Windows). (Pierre)</li> 10852<li><?php bugfix(48768); ?> (parse_ini_*() crash with INI_SCANNER_RAW). (Jani)</li> 10853<li><?php bugfix(48763); ?> (ZipArchive produces corrupt archive). (dani dot church at gmail dot com, Pierre)</li> 10854<li><?php bugfix(48762); ?> (IPv6 address filter still rejects valid address). (Felipe)</li> 10855<li><?php bugfix(48757); ?> (ReflectionFunction::invoke() parameter issues). (Kalle)</li> 10856<li><?php bugfix(48754); ?> (mysql_close() crash php when no handle specified). (Johannes, Andrey)</li> 10857<li><?php bugfix(48752); ?> (Crash during date parsing with invalid date). (Pierre)</li> 10858<li><?php bugfix(48746); ?> (Unable to browse directories within Junction Points). (Pierre, Kanwaljeet Singla)</li> 10859<li><?php bugfix(48745); ?> (mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields). (Andrey)</li> 10860<li><?php bugfix(48740); ?> (PHAR install fails when INSTALL_ROOT is not the final install location). (james dot cohen at digitalwindow dot com, Greg)</li> 10861<li><?php bugfix(48733); ?> (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on files that have been opened with r+). (Ilia)</li> 10862<li><?php bugfix(48719); ?> (parse_ini_*(): scanner_mode parameter is not checked for sanity). (Jani)</li> 10863<li><?php bugfix(48718); ?> (FILTER_VALIDATE_EMAIL does not allow numbers in domain components). (Ilia)</li> 10864<li><?php bugfix(48681); ?> (openssl signature verification for tar archives broken). (Greg)</li> 10865<li><?php bugfix(48660); ?> (parse_ini_*(): dollar sign as last character of value fails). (Jani)</li> 10866<li><?php bugfix(48645); ?> (mb_convert_encoding() doesn't understand hexadecimal html-entities). (Moriyoshi)</li> 10867<li><?php bugfix(48637); ?> ("file" fopen wrapper is overwritten when using --with-curlwrappers). (Jani)</li> 10868<li><?php bugfix(48608); ?> (Invalid libreadline version not detected during configure). (Jani)</li> 10869<li><?php bugfix(48400); ?> (imap crashes when closing stream opened with OP_PROTOTYPE flag). (Jani)</li> 10870<li><?php bugfix(48377); ?> (error message unclear on converting phar with existing file). (Greg)</li> 10871<li><?php bugfix(48247); ?> (Infinite loop and possible crash during startup with errors when errors are logged). (Jani)</li> 10872<li><?php bugfix(48198); ?> error: 'MYSQLND_LLU_SPEC' undeclared. Cause for <?php bugl(48780); ?> and <?php bugl(46952); ?> - both fixed too. (Andrey)</li> 10873<li><?php bugfix(48189); ?> (ibase_execute error in return param). (Kalle)</li> 10874<li><?php bugfix(48182); ?> (ssl handshake fails during asynchronous socket connection). (Sriram Natarajan)</li> 10875<li><?php bugfix(48116); ?> (Fixed build with Openssl 1.0). (Pierre, Al dot Smith at aeschi dot ch dot eu dot org)</li> 10876<li><?php bugfix(48057); ?> (Only the date fields of the first row are fetched, others are empty). (info at programmiernutte dot net)</li> 10877<li><?php bugfix(47481); ?> (natcasesort() does not sort extended ASCII characters correctly). (Herman Radtke)</li> 10878<li><?php bugfix(47351); ?> (Memory leak in DateTime). (Derick, Tobias John)</li> 10879<li><?php bugfix(47273); ?> (Encoding bug in SoapServer->fault). (Dmitry)</li> 10880<li><?php bugfix(46682); ?> (touch() afield returns different values on windows). (Pierre)</li> 10881<li><?php bugfix(46614); ?> (Extended MySQLi class gives incorrect empty() result). (Andrey)</li> 10882<li><?php bugfix(46020); ?> (with Sun Java System Web Server 7.0 on HPUX, #define HPUX). (Uwe Schindler)</li> 10883<li><?php bugfix(45905); ?> (imagefilledrectangle() clipping error). (markril at hotmail dot com, Pierre)</li> 10884<li><?php bugfix(45554); ?> (Inconsistent behavior of the u format char). (Derick)</li> 10885<li><?php bugfix(45141); ?> (setcookie will output expires years of >4 digits). (Ilia)</li> 10886<li><?php bugfix(44683); ?> (popen crashes when an invalid mode is passed). (Pierre)</li> 10887<li><?php bugfix(43510); ?> (stream_get_meta_data() does not return same mode as used in fopen). (Jani)</li> 10888<li><?php bugfix(42434); ?> (ImageLine w/ antialias = 1px shorter). (wojjie at gmail dot com, Kalle)</li> 10889<li><?php bugfix(40013); ?> (php_uname() does not return nodename on Netware (Guenter Knauf)</li> 10890<li><?php bugfix(38091); ?> (Mail() does not use FQDN when sending SMTP helo). (Kalle, Rick Yorgason)</li> 10891<li><?php bugfix(28038); ?> (Sent incorrect RCPT TO commands to SMTP server) (Garrett)</li> 10892<li><?php bugfix(27051); ?> (Impersonation with FastCGI does not exec process as impersonated user). (Pierre)</li> 10893<li><?php peclbugfix(16842) ?> (oci_error return false when NO_DATA_FOUND is raised). (Chris Jones)</li> 10894 10895</ul> 10896<!-- }}} --></section> 10897 10898<section class="version" id="5.3.0"><!-- {{{ 5.3.0 --> 10899<h3>Version 5.3.0</h3> 10900<?php release_date('30-Jun-2009'); ?> 10901<ul> 10902 10903 <li>Upgraded bundled PCRE to version 7.9. (Nuno)</li> 10904 <li>Upgraded bundled sqlite to version 3.6.15. (Scott)</li> 10905 10906 <li>Moved extensions to PECL (Derick, Lukas, Pierre, Scott): 10907 <ul> 10908 <li>ext/dbase</li> 10909 <li>ext/fbsql</li> 10910 <li>ext/fdf</li> 10911 <li>ext/ncurses</li> 10912 <li>ext/mhash (BC layer is now entirely within ext/hash)</li> 10913 <li>ext/ming</li> 10914 <li>ext/msql</li> 10915 <li>ext/sybase (not maintained anymore, sybase_ct has to be used instead)</li> 10916 </ul> 10917 </li> 10918 10919 <li>Removed the experimental RPL (master/slave) functions from mysqli. (Andrey)</li> 10920 <li>Removed zend.ze1_compatibility_mode. (Dmitry)</li> 10921 <li>Removed all zend_extension_* php.ini directives. Zend extensions are now 10922 always loaded using zend_extension directive. (Derick)</li> 10923 <li>Removed special treatment of "/tmp" in sessions for open_basedir. 10924 Note: This undocumented behaviour was introduced in 5.2.2. (Alexey)</li> 10925 <li>Removed shebang line check from CGI sapi (checked by scanner). (Dmitry)</li> 10926 10927 <li>Changed PCRE, Reflection and SPL extensions to be always enabled. (Marcus)</li> 10928 <li>Changed md5() to use improved implementation. (Solar Designer, Dmitry)</li> 10929 <li>Changed HTTP stream wrapper to accept any code between and including 10930 200 to 399 as successful. (Mike, Noah Fontes)</li> 10931 <li>Changed __call() to be invoked on private/protected method access, similar to 10932 properties and __get(). (Andrei)</li> 10933 <li>Changed dl() to be disabled by default. Enabled only when explicitly 10934 registered by the SAPI. Currently enabled with cli, cgi and embed SAPIs. 10935 (Dmitry)</li> 10936 <li>Changed opendir(), dir() and scandir() to use default context when no context 10937 argument is passed. (Sara)</li> 10938 <li>Changed open_basedir to allow tightening in runtime contexts. (Sara)</li> 10939 <li>Changed PHP/Zend extensions to use flexible build IDs. (Stas)</li> 10940 <li>Changed error level E_ERROR into E_WARNING in Soap extension methods 10941 parameter validation. (Felipe)</li> 10942 <li>Changed openssl info to show the shared library version number. (Scott)</li> 10943 <li>Changed floating point behaviour to consistently use double precision on all 10944 platforms and with all compilers. (Christian Seiler)</li> 10945 <li>Changed round() to act more intuitively when rounding to a certain precision 10946 and round very large and very small exponents correctly. (Christian Seiler)</li> 10947 <li>Changed session_start() to return false when session startup fails. (Jani)</li> 10948 <li>Changed property_exists() to check the existence of a property independent of 10949 accessibility (like method_exists()). (Felipe)</li> 10950 <li>Changed array_reduce() to allow mixed $initial (Christian Seiler)</li> 10951 10952 <li>Improved PHP syntax and semantics: 10953 <ul> 10954 <li>Added lambda functions and closures. (Christian Seiler, Dmitry)</li> 10955 <li>Added "jump label" operator (limited "goto"). (Dmitry, Sara)</li> 10956 <li>Added NOWDOC syntax. (Gwynne Raskind, Stas, Dmitry)</li> 10957 <li>Added HEREDOC syntax with double quotes. (Lars Strojny, Felipe)</li> 10958 <li>Added support for using static HEREDOCs to initialize static variables and 10959 class members or constants. (Matt)</li> 10960 <li>Improved syntax highlighting and consistency for variables in double-quoted 10961 strings and literal text in HEREDOCs and backticks. (Matt)</li> 10962 <li>Added "?:" operator. (Marcus)</li> 10963 <li>Added support for namespaces. (Dmitry, Stas, Gregory, Marcus)</li> 10964 <li>Added support for Late Static Binding. (Dmitry, Etienne Kneuss)</li> 10965 <li>Added support for __callStatic() magic method. (Sara)</li> 10966 <li>Added forward_static_call(_array) to complete LSB. (Mike Lively)</li> 10967 <li>Added support for dynamic access of static members using $foo::myFunc(). 10968 (Etienne Kneuss)</li> 10969 <li>Improved checks for callbacks. (Marcus)</li> 10970 <li>Added __DIR__ constant. (Lars Strojny)</li> 10971 <li>Added new error modes E_USER_DEPRECATED and E_DEPRECATED. 10972 E_DEPRECATED is used to inform about stuff being scheduled for removal 10973 in future PHP versions. (Lars Strojny, Felipe, Marcus)</li> 10974 <li>Added "request_order" INI variable to control specifically $_REQUEST 10975 behavior. (Stas)</li> 10976 <li>Added support for exception linking. (Marcus)</li> 10977 <li>Added ability to handle exceptions in destructors. (Marcus)</li> 10978 </ul> 10979 </li> 10980 10981 <li>Improved PHP runtime speed and memory usage: 10982 <ul> 10983 <li>Substitute global-scope, persistent constants with their values at compile 10984 time. (Matt)</li> 10985 <li>Optimized ZEND_SIGNED_MULTIPLY_LONG(). (Matt)</li> 10986 <li>Removed direct executor recursion. (Dmitry)</li> 10987 <li>Use fastcall calling convention in executor on x86. (Dmitry)</li> 10988 <li>Use IS_CV for direct access to $this variable. (Dmitry)</li> 10989 <li>Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR). (Dmitry)</li> 10990 <li>Lazy EG(active_symbol_table) initialization. (Dmitry)</li> 10991 <li>Optimized ZEND_RETURN opcode to not allocate and copy return value if it is 10992 not used. (Dmitry)</li> 10993 <li>Replaced all flex based scanners with re2c based scanners. 10994 (Marcus, Nuno, Scott)</li> 10995 <li>Added garbage collector. (David Wang, Dmitry).</li> 10996 <li>Improved PHP binary size and startup speed with GCC4 visibility control. 10997 (Nuno)</li> 10998 <li>Improved engine stack implementation for better performance and stability. 10999 (Dmitry)</li> 11000 <li>Improved memory usage by moving constants to read only memory. 11001 (Dmitry, Pierre)</li> 11002 <li>Changed exception handling. Now each op_array doesn't contain 11003 ZEND_HANDLE_EXCEPTION opcode in the end. (Dmitry)</li> 11004 <li>Optimized require_once() and include_once() by eliminating fopen(3) on 11005 second usage. (Dmitry)</li> 11006 <li>Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single 11007 ZEND_ADD_INTERFACE opcode. (Dmitry)</li> 11008 <li>Optimized string searching for a single character. 11009 (Michal Dziemianko, Scott)</li> 11010 <li>Optimized interpolated strings to use one less opcode. (Matt)</li> 11011 </ul> 11012 </li> 11013 11014 <li>Improved php.ini handling: (Jani) 11015 <ul> 11016 <li>Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI.</li> 11017 <li>Added support for special [PATH=/opt/httpd/www.example.com/] and 11018 [HOST=www.example.com] sections. Directives set in these sections can 11019 not be overridden by user-defined ini-files or during runtime.</li> 11020 <li>Added better error reporting for php.ini syntax errors.</li> 11021 <li>Allowed using full path to load modules using "extension" directive.</li> 11022 <li>Allowed "ini-variables" to be used almost everywhere ini php.ini files.</li> 11023 <li>Allowed using alphanumeric/variable indexes in "array" ini options.</li> 11024 <li>Added 3rd optional parameter to parse_ini_file() to specify the scanning 11025 mode of INI_SCANNER_NORMAL or INI_SCANNER_RAW. In raw mode option values 11026 and section values are treated as-is.</li> 11027 <li>Fixed get_cfg_var() to be able to return "array" ini options.</li> 11028 <li>Added optional parameter to ini_get_all() to only retrieve the current 11029 value. (Hannes)</li> 11030 </ul> 11031 </li> 11032 11033 <li>Improved Windows support: 11034 <ul> 11035 <li>Update all libraries to their latest stable version. (Pierre, Rob, Liz, 11036 Garrett).</li> 11037 <li>Added Windows support for stat(), touch(), filemtime(), filesize() and 11038 related functions. (Pierre)</li> 11039 <li>Re-added socket_create_pair() for Windows in sockets extension. (Kalle)</li> 11040 <li>Added inet_pton() and inet_ntop() also for Windows platforms. 11041 (Kalle, Pierre)</li> 11042 <li>Added mcrypt_create_iv() for Windows platforms. (Pierre)</li> 11043 <li>Added ACL Cache support on Windows. 11044 (Kanwaljeet Singla, Pierre, Venkat Raman Don)</li> 11045 <li>Added constants based on Windows' GetVersionEx information. 11046 PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)</li> 11047 <li>Added support for ACL (is_writable, is_readable, reports now correct 11048 results) on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)</li> 11049 <li>Added support for fnmatch() on Windows. (Pierre)</li> 11050 <li>Added support for time_nanosleep() and time_sleep_until() on Windows. 11051 (Pierre)</li> 11052 <li>Added support for symlink(), readlink(), linkinfo() and link() on Windows. 11053 They are available only when the running platform supports them. (Pierre)</li> 11054 <li>the GMP extension now relies on MPIR instead of the GMP library. (Pierre)</li> 11055 <li>Added Windows support for stream_socket_pair(). (Kalle)</li> 11056 <li>Drop all external dependencies for the core features. (Pierre)</li> 11057 <li>Drastically improve the build procedure (Pierre, Kalle, Rob): 11058 <ul> 11059 <li>VC9 (Visual C++ 2008) or later support</li> 11060 <li>Initial experimental x64 support</li> 11061 </ul> 11062 </li> 11063 <li>MSI installer now supports all recent Windows versions, including 11064 Windows 7. (John, Kanwaljeet Singla)</li> 11065 </ul> 11066 </li> 11067 11068 <li>Improved and cleaned CGI code: 11069 <ul> 11070 <li>FastCGI is now always enabled and cannot be disabled. 11071 See sapi/cgi/CHANGES for more details. (Dmitry)</li> 11072 <li>Added CGI SAPI -T option which can be used to measure execution 11073 time of script repeated several times. (Dmitry)</li> 11074 </ul> 11075 </li> 11076 11077 <li>Improved streams: 11078 <ul> 11079 <li>Fixed confusing error message on failure when no errors are logged. (Greg)</li> 11080 <li>Added stream_supports_lock() function. (Benjamin Schulz)</li> 11081 <li>Added context parameter for copy() function. (Sara)</li> 11082 <li>Added "glob://" stream wrapper. (Marcus)</li> 11083 <li>Added "params" as optional parameter for stream_context_create(). (Sara)</li> 11084 <li>Added ability to use stream wrappers in include_path. (Gregory, Dmitry)</li> 11085 </ul> 11086 </li> 11087 11088 <li>Improved DNS API 11089 <ul> 11090 <li>Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and 11091 getmxrr(). (Pierre)</li> 11092 <li>Added support for old style DNS functions (supports OSX and FBSD). (Scott)</li> 11093 <li>Added a new "entries" array in dns_check_record() containing the TXT 11094 elements. (Felipe, Pierre)</li> 11095 </ul> 11096 </li> 11097 11098 <li>Improved hash extension: 11099 <ul> 11100 <li>Changed mhash to be a wrapper layer around the hash extension. (Scott)</li> 11101 <li>Added hash_copy() function. (Tony)</li> 11102 <li>Added sha224 hash algorithm to the hash extension. (Scott)</li> 11103 </ul> 11104 </li> 11105 11106 <li>Improved IMAP support (Pierre): 11107 <ul> 11108 <li>Added imap_gc() to clear the imap cache</li> 11109 <li>Added imap_utf8_to_mutf7() and imap_mutf7_to_utf8()</li> 11110 </ul> 11111 </li> 11112 11113 <li>Improved mbstring extension: 11114 <ul> 11115 <li>Added "mbstring.http_output_conv_mimetypes" INI directive that allows 11116 common non-text types such as "application/xhtml+xml" to be converted 11117 by mb_output_handler(). (Moriyoshi)</li> 11118 </ul> 11119 </li> 11120 11121 <li>Improved OCI8 extension (Chris Jones/Oracle Corp.): 11122 <ul> 11123 <li>Added Database Resident Connection Pooling (DRCP) and Fast 11124 Application Notification (FAN) support.</li> 11125 <li>Added support for Oracle External Authentication (not supported 11126 on Windows).</li> 11127 <li>Improve persistent connection handling of restarted DBs.</li> 11128 <li>Added SQLT_AFC (aka CHAR datatype) support to oci_bind_by_name.</li> 11129 <li><?php bugfix(45458); ?> (Numeric keys for associative arrays are not 11130 handled properly)</li> 11131 <li><?php bugfix(41069); ?> (Segmentation fault with query over DB link).</li> 11132 <li>Fixed define of SQLT_BDOUBLE and SQLT_BFLOAT constants with Oracle 11133 10g ORACLE_HOME builds.</li> 11134 <li>Changed default value of oci8.default_prefetch from 10 to 100.</li> 11135 <li><?php peclbugfix(16035); ?> (OCI8: oci_connect without ORACLE_HOME defined causes 11136 segfault) (Chris Jones/Oracle Corp.)</li> 11137 <li><?php peclbugfix(15988); ?> (OCI8: sqlnet.ora isn't read with older Oracle 11138 libraries) (Chris Jones/Oracle Corp.)</li> 11139 <li><?php peclbugfix(14268); ?> (Allow "pecl install oci8" command to "autodetect" an 11140 Instant Client RPM install) (Chris Jones/Oracle Corp.)</li> 11141 <li><?php peclbugfix(12431); ?> (OCI8 ping functionality is broken).</li> 11142 <li>Allow building (e.g from PECL) the PHP 5.3-based OCI8 code with 11143 PHP 4.3.9 onwards.</li> 11144 <li>Provide separate extensions for Oracle 11g and 10g on Windows. 11145 (Pierre, Chris)</li> 11146 </ul> 11147 </li> 11148 11149 <li>Improved OpenSSL extension: 11150 <ul> 11151 <li>Added support for OpenSSL digest and cipher functions. (Dmitry)</li> 11152 <li>Added access to internal values of DSA, RSA and DH keys. (Dmitry)</li> 11153 <li>Fixed a memory leak on openssl_decrypt(). (Henrique)</li> 11154 <li>Fixed segfault caused by openssl_pkey_new(). (Henrique)</li> 11155 <li>Fixed bug caused by uninitilized variables in openssl_pkcs7_encrypt() and 11156 openssl_pkcs7_sign(). (Henrique)</li> 11157 <li>Fixed error message in openssl_seal(). (Henrique)</li> 11158 </ul> 11159 </li> 11160 11161 <li>Improved pcntl extension: (Arnaud) 11162 <ul> 11163 <li>Added pcntl_signal_dispatch().</li> 11164 <li>Added pcntl_sigprocmask().</li> 11165 <li>Added pcntl_sigwaitinfo().</li> 11166 <li>Added pcntl_sigtimedwait().</li> 11167 </ul> 11168 </li> 11169 11170 <li>Improved SOAP extension: 11171 <ul> 11172 <li>Added support for element names in context of XMLSchema's <any>. (Dmitry)</li> 11173 <li>Added ability to use Traversable objects instead of plain arrays. 11174 (Joshua Reese, Dmitry)</li> 11175 <li>Fixed possible crash bug caused by an uninitialized value. (Zdash Urf)</li> 11176 </ul> 11177 </li> 11178 11179 <li>Improved SPL extension: 11180 <ul> 11181 <li>Added SPL to list of standard extensions that cannot be disabled. (Marcus)</li> 11182 <li>Added ability to store associative information with objects in 11183 SplObjectStorage. (Marcus)</li> 11184 <li>Added ArrayAccess support to SplObjectStorage. (Marcus)</li> 11185 <li>Added SplDoublyLinkedList, SplStack, SplQueue classes. (Etienne)</li> 11186 <li>Added FilesystemIterator. (Marcus)</li> 11187 <li>Added GlobIterator. (Marcus)</li> 11188 <li>Added SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue classes. (Etienne)</li> 11189 <li>Added new parameter $prepend to spl_autoload_register(). (Etienne)</li> 11190 <li>Added SplFixedArray. (Etienne, Tony)</li> 11191 <li>Added delaying exceptions in SPL's autoload mechanism. (Marcus)</li> 11192 <li>Added RecursiveTreeIterator. (Arnaud, Marcus)</li> 11193 <li>Added MultipleIterator. (Arnaud, Marcus, Johannes)</li> 11194 </ul> 11195 </li> 11196 11197 <li>Improved Zend Engine: 11198 <ul> 11199 <li>Added "compact" handler for Zend MM storage. (Dmitry)</li> 11200 <li>Added "+" and "*" specifiers to zend_parse_parameters(). (Andrei)</li> 11201 <li>Added concept of "delayed early binding" that allows opcode caches to 11202 perform class declaration (early and/or run-time binding) in exactly 11203 the same order as vanilla PHP. (Dmitry)</li> 11204 </ul> 11205 </li> 11206 11207 <li>Improved crypt() function: (Pierre) 11208 <ul> 11209 <li>Added Blowfish and extended DES support. (Using Blowfish implementation 11210 from Solar Designer).</li> 11211 <li>Made crypt features portable by providing our own implementations 11212 for crypt_r and the algorithms which are used when OS does not provide 11213 them. PHP implementations are always used for Windows builds.</li> 11214 </ul> 11215 </li> 11216 11217 <li>Deprecated session_register(), session_unregister() and 11218 session_is_registered(). (Hannes)</li> 11219 <li>Deprecated define_syslog_variables(). (Kalle)</li> 11220 <li>Deprecated ereg extension. (Felipe)</li> 11221 11222 <li>Added new extensions: 11223 <ul> 11224 <li>Added Enchant extension as a way to access spell checkers. (Pierre)</li> 11225 <li>Added fileinfo extension as replacement for mime_magic extension. (Derick)</li> 11226 <li>Added intl extension for Internationalization. (Ed B., Vladimir I., 11227 Dmitry L., Stanislav M., Vadim S., Kirti V.)</li> 11228 <li>Added mysqlnd extension as replacement for libmysql for ext/mysql, mysqli 11229 and PDO_mysql. (Andrey, Johannes, Ulf)</li> 11230 <li>Added phar extension for handling PHP Archives. (Greg, Marcus, Steph)</li> 11231 <li>Added SQLite3 extension. (Scott)</li> 11232 </ul> 11233 </li> 11234 11235 <li>Added new date/time functionality: (Derick) 11236 <ul> 11237 <li>date_parse_from_format(): Parse date/time strings according to a format.</li> 11238 <li>date_create_from_format()/DateTime::createFromFormat(): Create a date/time 11239 object by parsing a date/time string according to a given format.</li> 11240 <li>date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings 11241 and errors that were found while parsing a date/time string through: 11242 <ul> 11243 <li>strtotime() / new DateTime</li> 11244 <li>date_create_from_format() / DateTime::createFromFormat()</li> 11245 <li>date_parse_from_format().</li> 11246 </ul> 11247 </li> 11248 <li>support for abbreviation and offset based timezone specifiers for 11249 the 'e' format specifier, DateTime::__construct(), DateTime::getTimeZone() 11250 and DateTimeZone::getName().</li> 11251 <li>support for selectively listing timezone identifiers by continent or 11252 country code through timezone_identifiers_list() / DateTimezone::listIdentifiers().</li> 11253 <li>timezone_location_get() / DateTimezone::getLocation() for retrieving 11254 location information from timezones.</li> 11255 <li>date_timestamp_set() / DateTime::setTimestamp() to set a Unix timestamp 11256 without invoking the date parser. (Scott, Derick)</li> 11257 <li>date_timestamp_get() / DateTime::getTimestamp() to retrieve the Unix 11258 timestamp belonging to a date object.</li> 11259 <li>two optional parameters to timezone_transitions_get() / 11260 DateTimeZone::getTranstions() to limit the range of transitions being 11261 returned.</li> 11262 <li>support for "first/last day of <month>" style texts.</li> 11263 <li>support for date/time strings returned by MS SQL.</li> 11264 <li>support for serialization and unserialization of DateTime objects.</li> 11265 <li>support for diffing date/times through date_diff() / DateTime::diff().</li> 11266 <li>support for adding/subtracting weekdays with strtotime() and 11267 DateTime::modify().</li> 11268 <li>DateInterval class to represent the difference between two date/times.</li> 11269 <li>support for parsing ISO intervals for use with DateInterval.</li> 11270 <li>date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an 11271 interval to an existing date/time.</li> 11272 <li>proper support for "this week", "previous week"/"last week" and "next week" 11273 phrases so that they actually mean the week and not a seven day period 11274 around the current day.</li> 11275 <li>support for "<xth> <weekday> of" and "last <weekday> of" phrases to be used 11276 with months - like in "last saturday of februari 2008".</li> 11277 <li>support for "back of <hour>" and "front of <hour>" phrases that are used in 11278 Scotland.</li> 11279 <li>DatePeriod class which supports iterating over a DateTime object applying 11280 DateInterval on each iteration, up to an end date or limited by maximum 11281 number of occurences.</li> 11282 </ul> 11283 </li> 11284 11285 <li>Added compatibility mode in GD, imagerotate, image(filled)ellipse 11286 imagefilter, imageconvolution and imagecolormatch are now always enabled. 11287 (Pierre)</li> 11288 <li>Added array_replace() and array_replace_recursive() functions. (Matt)</li> 11289 <li>Added ReflectionProperty::setAccessible() method that allows non-public 11290 property's values to be read through ::getValue() and set through 11291 ::setValue(). (Derick, Sebastian)</li> 11292 <li>Added msg_queue_exists() function to sysvmsg extension. (Benjamin Schulz)</li> 11293 <li>Added Firebird specific attributes that can be set via PDO::setAttribute() 11294 to control formatting of date/timestamp columns: PDO::FB_ATTR_DATE_FORMAT, 11295 PDO::FB_ATTR_TIME_FORMAT and PDO::FB_ATTR_TIMESTAMP_FORMAT. (Lars W)</li> 11296 <li>Added gmp_testbit() function. (Stas)</li> 11297 <li>Added icon format support to getimagesize(). (Scott)</li> 11298 <li>Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow 11299 setting network timeout (FR <?php bugl(42837); ?>). (Jani)</li> 11300 <li>Added optional escape character parameter to fgetcsv(). (David Soria Parra)</li> 11301 <li>Added an optional parameter to strstr() and stristr() for retrieval of either 11302 the part of haystack before or after first occurrence of needle. 11303 (Johannes, Felipe)</li> 11304 <li>Added xsl->setProfiling() for profiling stylesheets. (Christian)</li> 11305 <li>Added long-option feature to getopt() and made getopt() available also on 11306 win32 systems by adding a common getopt implementation into core. 11307 (David Soria Parra, Jani)</li> 11308 <li>Added support for optional values, and = as separator, in getopt(). (Hannes)</li> 11309 <li>Added lcfirst() function. (David C)</li> 11310 <li>Added PREG_BAD_UTF8_OFFSET_ERROR constant. (Nuno)</li> 11311 <li>Added native support for asinh(), acosh(), atanh(), log1p() and expm1(). 11312 (Kalle)</li> 11313 <li>Added LIBXML_LOADED_VERSION constant (libxml2 version currently used). (Rob)</li> 11314 <li>Added JSON_FORCE_OBJECT flag to json_encode(). (Scott, Richard Quadling)</li> 11315 <li>Added timezone_version_get() to retrieve the version of the used timezone 11316 database. (Derick)</li> 11317 <li>Added 'n' flag to fopen to allow passing O_NONBLOCK to the underlying 11318 open(2) system call. (Mikko)</li> 11319 <li>Added "dechunk" filter which can decode HTTP responses with chunked 11320 transfer-encoding. HTTP streams use this filter automatically in case 11321 "Transfer-Encoding: chunked" header is present in response. It's possible to 11322 disable this behaviour using "http"=>array("auto_decode"=>0) in stream 11323 context. (Dmitry)</li> 11324 <li>Added support for CP850 encoding in mbstring extension. 11325 (Denis Giffeler, Moriyoshi)</li> 11326 <li>Added stream_cast() and stream_set_options() to user-space stream wrappers, 11327 allowing stream_select(), stream_set_blocking(), stream_set_timeout() and 11328 stream_set_write_buffer() to work with user-space stream wrappers. (Arnaud)</li> 11329 <li>Added header_remove() function. (chsc at peytz dot dk, Arnaud)</li> 11330 <li>Added stream_context_get_params() function. (Arnaud)</li> 11331 <li>Added optional parameter "new" to sybase_connect(). (Timm)</li> 11332 <li>Added parse_ini_string() function. (grange at lemonde dot fr, Arnaud)</li> 11333 <li>Added str_getcsv() function. (Sara)</li> 11334 <li>Added openssl_random_pseudo_bytes() function. (Scott)</li> 11335 <li>Added ability to send user defined HTTP headers with SOAP request. 11336 (Brian J.France, Dmitry)</li> 11337 <li>Added concatenation option to bz2.decompress stream filter. 11338 (Keisial at gmail dot com, Greg)</li> 11339 <li>Added support for using compressed connections with PDO_mysql. (Johannes)</li> 11340 <li>Added the ability for json_decode() to take a user specified depth. (Scott)</li> 11341 <li>Added support for the mysql_stmt_next_result() function from libmysql. 11342 (Andrey)</li> 11343 <li>Added function preg_filter() that does grep and replace in one go. (Marcus)</li> 11344 <li>Added system independent realpath() implementation which caches intermediate 11345 directories in realpath-cache. (Dmitry)</li> 11346 <li>Added optional clear_realpath_cache and filename parameters to 11347 clearstatcache(). (Jani, Arnaud)</li> 11348 <li>Added litespeed SAPI module. (George Wang)</li> 11349 <li>Added ext/hash support to ext/session's ID generator. (Sara)</li> 11350 <li>Added quoted_printable_encode() function. (Tony)</li> 11351 <li>Added stream_context_set_default() function. (Davey Shafik)</li> 11352 <li>Added optional "is_xhtml" parameter to nl2br() which makes the function 11353 output <br> when false and <br /> when true (FR <?php bugl(34381); ?>). (Kalle)</li> 11354 <li>Added PHP_MAXPATHLEN constant (maximum length of a path). (Pierre)</li> 11355 <li>Added support for SSH via libssh2 in cURL. (Pierre)</li> 11356 <li>Added support for gray levels PNG image with alpha in GD extension. (Pierre)</li> 11357 <li>Added support for salsa hashing functions in HASH extension. (Scott)</li> 11358 <li>Added DOMNode::getLineNo to get line number of parsed node. (Rob)</li> 11359 <li>Added table info to PDO::getColumnMeta() with SQLite. (Martin Jansen, Scott)</li> 11360 <li>Added mail logging functionality that allows logging of mail sent via 11361 mail() function. (Ilia)</li> 11362 <li>Added json_last_error() to return any error information from json_decode(). 11363 (Scott)</li> 11364 <li>Added gethostname() to return the current system host name. (Ilia)</li> 11365 <li>Added shm_has_var() function. (Mike)</li> 11366 <li>Added depth parameter to json_decode() to lower the nesting depth from the 11367 maximum if required. (Scott)</li> 11368 <li>Added pixelation support in imagefilter(). (Takeshi Abe, Kalle)</li> 11369 <li>Added SplObjectStorage::addAll/removeAll. (Etienne)</li> 11370 11371 <li><?php implemented(41712); ?> (curl progress callback: CURLOPT_PROGRESSFUNCTION). 11372 (sdteffen[at]gmail[dot].com, Pierre)</li> 11373 <li><?php implemented(47739); ?> (Missing cURL option do disable IPv6). (Pierre)</li> 11374 <li><?php implemented(39637); ?> (Missing cURL option CURLOPT_FTP_FILEMETHOD). (Pierre)</li> 11375 11376 <li>Fixed an issue with ReflectionProperty::setAccessible(). 11377 (Sebastian, Roman Borschel)</li> 11378 <li>Fixed html_entity_decode() incorrectly converting numeric html entities 11379 to different characters with cp1251 and cp866. (Scott)</li> 11380 <li>Fixed an issue in date() where a : was printed for the O modifier after a P 11381 modifier was used. (Derick)</li> 11382 <li>Fixed exec() on Windows to not eat the first and last double quotes. (Scott)</li> 11383 <li>Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)</li> 11384 <li>Fixed a bug causing miscalculations with the "last <weekday> of <n> month" 11385 relative time string. (Derick)</li> 11386 <li>Fixed bug causing the algorithm parameter of mhash() to be modified. (Scott)</li> 11387 <li>Fixed invalid calls to free when internal fileinfo magic file is used. (Scott)</li> 11388 <li>Fixed memory leak inside wddx_add_vars() function. (Felipe)</li> 11389 <li>Fixed check in recode extension to allow builing of recode and mysql 11390 extensions when using a recent libmysql. (Johannes)</li> 11391 11392 <li><?php peclbugfix(12794); ?> (PDOStatement->nextRowset() doesn't work). (Johannes)</li> 11393 <li><?php peclbugfix(12401); ?> (Add support for ATTR_FETCH_TABLE_NAMES). (Johannes)</li> 11394 11395 <li><?php bugfix(48696); ?> (ldap_read() segfaults with invalid parameters). (Felipe)</li> 11396 <li><?php bugfix(48643); ?> (String functions memory issue). (Dmitry)</li> 11397 <li><?php bugfix(48641); ?> (tmpfile() uses old parameter parsing). 11398 (crrodriguez at opensuse dot org)</li> 11399 <li><?php bugfix(48624); ?> (.user.ini never gets parsed). (Pierre)</li> 11400 <li><?php bugfix(48620); ?> (X-PHP-Originating-Script assumes no trailing CRLF in 11401 existing headers). (Ilia)</li> 11402 <li><?php bugfix(48578); ?> (Can't build 5.3 on FBSD 4.11). (Rasmus)</li> 11403 <li><?php bugfix(48535); ?> (file_exists returns false when impersonate is used). 11404 (Kanwaljeet Singla, Venkat Raman Don)</li> 11405 <li><?php bugfix(48493); ?> (spl_autoload_register() doesn't work correctly when 11406 prepending functions). (Scott)</li> 11407 <li><?php bugfix(48215); ?> (Calling a method with the same name as the parent class 11408 calls the constructor). (Scott)</li> 11409 <li><?php bugfix(48200); ?> (compile failure with mbstring.c when 11410 --enable-zend-multibyte is used). (Jani)</li> 11411 <li><?php bugfix(48188); ?> (Cannot execute a scrollable cursors twice with PDO_PGSQL). 11412 (Matteo)</li> 11413 <li><?php bugfix(48185); ?> (warning: value computed is not used in 11414 pdo_sqlite_stmt_get_col line 271). (Matteo)</li> 11415 <li><?php bugfix(48087); ?> (call_user_method() invalid free of arguments). (Felipe)</li> 11416 <li><?php bugfix(48060); ?> (pdo_pgsql - large objects are returned as empty). (Matteo)</li> 11417 <li><?php bugfix(48034); ?> (PHP crashes when script is 8192 (8KB) bytes long). (Dmitry)</li> 11418 <li><?php bugfix(48004); ?> (Error handler prevents creation of default object). (Dmitry)</li> 11419 <li><?php bugfix(47880); ?> (crashes in call_user_func_array()). (Dmitry)</li> 11420 <li><?php bugfix(47856); ?> (stristr() converts needle to lower-case). (Ilia)</li> 11421 <li><?php bugfix(47851); ?> (is_callable throws fatal error). (Dmitry)</li> 11422 <li><?php bugfix(47816); ?> (pcntl tests failing on NetBSD). (Matteo)</li> 11423 <li><?php bugfix(47779); ?> (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants). 11424 (Matteo)</li> 11425 <li><?php bugfix(47771); ?> (Exception during object construction from arg call calls 11426 object's destructor). (Dmitry)</li> 11427 <li><?php bugfix(47767); ?> (include_once does not resolve windows symlinks or junctions) 11428 (Kanwaljeet Singla, Venkat Raman Don)</li> 11429 <li><?php bugfix(47757); ?> (rename JPG to JPEG in phpinfo). (Pierre)</li> 11430 <li><?php bugfix(47745); ?> (FILTER_VALIDATE_INT doesn't allow minimum integer). (Dmitry)</li> 11431 <li><?php bugfix(47714); ?> (autoloading classes inside exception_handler leads to 11432 crashes). (Dmitry)</li> 11433 <li><?php bugfix(47671); ?> (Cloning SplObjectStorage instances). (Etienne)</li> 11434 <li><?php bugfix(47664); ?> (get_class returns NULL instead of FALSE). (Dmitry)</li> 11435 <li><?php bugfix(47662); ?> (Support more than 127 subpatterns in preg_match). (Nuno)</li> 11436 <li><?php bugfix(47596); ?> (Bus error on parsing file). (Dmitry)</li> 11437 <li><?php bugfix(47572); ?> (Undefined constant causes segmentation fault). (Felipe)</li> 11438 <li><?php bugfix(47560); ?> (explode()'s limit parameter odd behaviour). (Matt)</li> 11439 <li><?php bugfix(47549); ?> (get_defined_constants() return array with broken array 11440 categories). (Ilia)</li> 11441 <li><?php bugfix(47535); ?> (Compilation failure in ps_fetch_from_1_to_8_bytes()). 11442 (Johannes)</li> 11443 <li><?php bugfix(47534); ?> (RecursiveDiteratoryIterator::getChildren ignoring 11444 CURRENT_AS_PATHNAME). (Etienne)</li> 11445 <li><?php bugfix(47443); ?> (metaphone('scratch') returns wrong result). (Felipe)</li> 11446 <li><?php bugfix(47438); ?> (mysql_fetch_field ignores zero offset). (Johannes)</li> 11447 <li><?php bugfix(47398); ?> (PDO_Firebird doesn't implements quoter correctly). (Felipe)</li> 11448 <li><?php bugfix(47390); ?> (odbc_fetch_into - BC in php 5.3.0). (Felipe)</li> 11449 <li><?php bugfix(47359); ?> (Use the expected unofficial mimetype for bmp files). (Scott)</li> 11450 <li><?php bugfix(47343); ?> (gc_collect_cycles causes a segfault when called within a 11451 destructor in one case). (Dmitry)</li> 11452 <li><?php bugfix(47320); ?> ($php_errormsg out of scope in functions). (Dmitry)</li> 11453 <li><?php bugfix(47318); ?> (UMR when trying to activate user config). (Pierre)</li> 11454 <li><?php bugfix(47243); ?> (OCI8: Crash at shutdown on Windows) (Chris Jones/Oracle 11455 Corp.)</li> 11456 <li><?php bugfix(47231); ?> (offsetGet error using incorrect offset). (Etienne)</li> 11457 <li><?php bugfix(47229); ?> (preg_quote() should escape the '-' char). (Nuno)</li> 11458 <li><?php bugfix(47165); ?> (Possible memory corruption when passing return value by 11459 reference). (Dmitry)</li> 11460 <li><?php bugfix(47087); ?> (Second parameter of mssql_fetch_array()). (Felipe)</li> 11461 <li><?php bugfix(47085); ?> (rename() returns true even if the file in PHAR does not 11462 exist). (Greg)</li> 11463 <li><?php bugfix(47050); ?> (mysqli_poll() modifies improper variables). (Johannes)</li> 11464 <li><?php bugfix(47045); ?> (SplObjectStorage instances compared with ==). (Etienne)</li> 11465 <li><?php bugfix(47038); ?> (Memory leak in include). (Dmitry)</li> 11466 <li><?php bugfix(47031); ?> (Fix constants in DualIterator example). (Etienne)</li> 11467 <li><?php bugfix(47021); ?> (SoapClient stumbles over WSDL delivered with 11468 "Transfer-Encoding: chunked"). (Dmitry)</li> 11469 <li><?php bugfix(46994); ?> (OCI8: CLOB size does not update when using CLOB IN OUT param 11470 in stored procedure) (Chris Jones/Oracle Corp.)</li> 11471 <li><?php bugfix(46979); ?> (use with non-compound name *has* effect). (Dmitry)</li> 11472 <li><?php bugfix(46957); ?> (The tokenizer returns deprecated values). (Felipe)</li> 11473 <li><?php bugfix(46944); ?> (UTF-8 characters outside the BMP aren't encoded correctly). 11474 (Scott)</li> 11475 <li><?php bugfix(46897); ?> (ob_flush() should fail to flush unerasable buffers). 11476 (David C.)</li> 11477 <li><?php bugfix(46849); ?> (Cloning DOMDocument doesn't clone the properties). (Rob)</li> 11478 <li><?php bugfix(46847); ?> (phpinfo() is missing some settings). (Hannes)</li> 11479 <li><?php bugfix(46844); ?> (php scripts or included files with first line starting 11480 with # have the 1st line missed from the output). (Ilia)</li> 11481 <li><?php bugfix(46817); ?> (tokenizer misses last single-line comment (PHP 5.3+, with 11482 re2c lexer)). (Matt, Shire)</li> 11483 <li><?php bugfix(46811); ?> (ini_set() doesn't return false on failure). (Hannes)</li> 11484 <li><?php bugfix(46763); ?> (mb_stristr() wrong output when needle does not exist). 11485 (Henrique M. Decaria)</li> 11486 <li><?php bugfix(46755); ?> (warning: use statement with non-compound name). (Dmitry)</li> 11487 <li><?php bugfix(46746); ?> (xmlrpc_decode_request outputs non-suppressable error when 11488 given bad data). (Ilia)</li> 11489 <li><?php bugfix(46738); ?> (Segfault when mb_detect_encoding() fails). (Scott)</li> 11490 <li><?php bugfix(46731); ?> (Missing validation for the options parameter of the 11491 imap_fetch_overview() function). (Ilia)</li> 11492 <li><?php bugfix(46711); ?> (cURL curl_setopt leaks memory in foreach loops). (magicaltux 11493 [at] php [dot] net)</li> 11494 <li><?php bugfix(46701); ?> (Creating associative array with long values in the key fails 11495 on 32bit linux). (Shire)</li> 11496 <li><?php bugfix(46681); ?> (mkdir() fails silently on PHP 5.3). (Hannes)</li> 11497 <li><?php bugfix(46653); ?> (can't extend mysqli). (Johannes)</li> 11498 <li><?php bugfix(46646); ?> (Restrict serialization on some internal classes like Closure 11499 and SplFileInfo using exceptions). (Etienne)</li> 11500 <li><?php bugfix(46623); ?> (OCI8: phpinfo doesn't show compile time ORACLE_HOME with 11501 phpize) (Chris Jones/Oracle Corp.)</li> 11502 <li><?php bugfix(46578); ?> (strip_tags() does not honor end-of-comment when it 11503 encounters a single quote). (Felipe)</li> 11504 <li><?php bugfix(46546); ?> (Segmentation fault when using declare statement with 11505 non-string value). (Felipe)</li> 11506 <li><?php bugfix(46542); ?> (Extending PDO class with a __call() function doesn't work as 11507 expected). (Johannes)</li> 11508 <li><?php bugfix(46421); ?> (SplFileInfo not correctly handling /). (Etienne)</li> 11509 <li><?php bugfix(46347); ?> (parse_ini_file() doesn't support * in keys). (Nuno)</li> 11510 <li><?php bugfix(46268); ?> (DateTime::modify() does not reset relative time values). 11511 (Derick)</li> 11512 <li><?php bugfix(46241); ?> (stacked error handlers, internal error handling in general). 11513 (Etienne)</li> 11514 <li><?php bugfix(46238); ?> (Segmentation fault on static call with empty string method). 11515 (Felipe)</li> 11516 <li><?php bugfix(46192); ?> (ArrayObject with objects as storage serialization). 11517 (Etienne)</li> 11518 <li><?php bugfix(46185); ?> (importNode changes the namespace of an XML element). (Rob)</li> 11519 <li><?php bugfix(46178); ?> (memory leak in ext/phar). (Greg)</li> 11520 <li><?php bugfix(46160); ?> (SPL - Memory leak when exception is thrown in offsetSet). 11521 (Felipe)</li> 11522 <li><?php bugfix(46147); ?> (after stream seek, appending stream filter reads incorrect 11523 data). (Greg)</li> 11524 <li><?php bugfix(46127); ?> (php_openssl_tcp_sockop_accept forgets to set context on 11525 accepted stream) (Mark Karpeles, Pierre)</li> 11526 <li><?php bugfix(46115); ?> (Memory leak when calling a method using Reflection). 11527 (Dmitry)</li> 11528 <li><?php bugfix(46110); ?> (XMLWriter - openmemory() and openuri() leak memory on 11529 multiple calls). (Ilia)</li> 11530 <li><?php bugfix(46108); ?> (DateTime - Memory leak when unserializing). (Felipe)</li> 11531 <li><?php bugfix(46106); ?> (Memory leaks when using global statement). (Dmitry)</li> 11532 <li><?php bugfix(46099); ?> (Xsltprocessor::setProfiling - memory leak). (Felipe, Rob).</li> 11533 <li><?php bugfix(46087); ?> (DOMXPath - segfault on destruction of a cloned object). 11534 (Ilia)</li> 11535 <li><?php bugfix(46048); ?> (SimpleXML top-level @attributes not part of iterator). 11536 (David C.)</li> 11537 <li><?php bugfix(46044); ?> (Mysqli - wrong error message). (Johannes)</li> 11538 <li><?php bugfix(46042); ?> (memory leaks with reflection of mb_convert_encoding()). 11539 (Ilia)</li> 11540 <li><?php bugfix(46039); ?> (ArrayObject iteration is slow). (Arnaud)</li> 11541 <li><?php bugfix(46033); ?> (Direct instantiation of SQLite3stmt and SQLite3result cause 11542 a segfault.) (Scott)</li> 11543 <li><?php bugfix(45991); ?> (Ini files with the UTF-8 BOM are treated as invalid). 11544 (Scott)</li> 11545 <li><?php bugfix(45989); ?> (json_decode() doesn't return NULL on certain invalid 11546 strings). (magicaltux, Scott)</li> 11547 <li><?php bugfix(45976); ?> (Moved SXE from SPL to SimpleXML). (Etienne)</li> 11548 <li><?php bugfix(45928); ?> (large scripts from stdin are stripped at 16K border). 11549 (Christian Schneider, Arnaud)</li> 11550 <li><?php bugfix(45911); ?> (Cannot disable ext/hash). (Arnaud)</li> 11551 <li><?php bugfix(45907); ?> (undefined reference to 'PHP_SHA512Init'). (Greg)</li> 11552 <li><?php bugfix(45826); ?> (custom ArrayObject serialization). (Etienne)</li> 11553 <li><?php bugfix(45820); ?> (Allow empty keys in ArrayObject). (Etienne)</li> 11554 <li><?php bugfix(45791); ?> (json_decode() doesn't convert 0e0 to a double). (Scott)</li> 11555 <li><?php bugfix(45786); ?> (FastCGI process exited unexpectedly). (Dmitry)</li> 11556 <li><?php bugfix(45757); ?> (FreeBSD4.11 build failure: failed include; stdint.h). 11557 (Hannes)</li> 11558 <li><?php bugfix(45743); ?> (property_exists fails to find static protected member in 11559 child class). (Felipe)</li> 11560 <li><?php bugfix(45717); ?> (Fileinfo/libmagic build fails, missing err.h and getopt.h). 11561 (Derick)</li> 11562 <li><?php bugfix(45706); ?> (Unserialization of classes derived from ArrayIterator 11563 fails). (Etienne, Dmitry)</li> 11564 <li><?php bugfix(45696); ?> (Not all DateTime methods allow method chaining). (Derick)</li> 11565 <li><?php bugfix(45682); ?> (Unable to var_dump(DateInterval)). (Derick)</li> 11566 <li><?php bugfix(45447); ?> (Filesystem time functions on Vista and server 2008). 11567 (Pierre)</li> 11568 <li><?php bugfix(45432); ?> (PDO: persistent connection leak). (Felipe)</li> 11569 <li><?php bugfix(45392); ?> (ob_start()/ob_end_clean() and memory_limit). (Ilia)</li> 11570 <li><?php bugfix(45384); ?> (parse_ini_file will result in parse error with no trailing 11571 newline). (Arnaud)</li> 11572 <li><?php bugfix(45382); ?> (timeout bug in stream_socket_enable_crypto). (vnegrier at 11573 optilian dot com, Ilia)</li> 11574 <li><?php bugfix(45044); ?> (relative paths not resolved correctly). (Dmitry)</li> 11575 <li><?php bugfix(44861); ?> (scrollable cursor don't work with pgsql). (Matteo)</li> 11576 <li><?php bugfix(44842); ?> (parse_ini_file keys that start/end with underscore). 11577 (Arnaud)</li> 11578 <li><?php bugfix(44575); ?> (parse_ini_file comment # line problems). (Arnaud)</li> 11579 <li><?php bugfix(44409); ?> (PDO::FETCH_SERIALIZE calls __construct()). (Matteo)</li> 11580 <li><?php bugfix(44173); ?> (PDO->query() parameter parsing/checking needs an update). 11581 (Matteo)</li> 11582 <li><?php bugfix(44154); ?> (pdo->errorInfo() always have three elements in the returned 11583 array). (David C.)</li> 11584 <li><?php bugfix(44153); ?> (pdo->errorCode() returns NULL when there are no errors). 11585 (David C.)</li> 11586 <li><?php bugfix(44135); ?> (PDO MySQL does not support CLIENT_FOUND_ROWS). (Johannes, 11587 chx1975 at gmail dot com)</li> 11588 <li><?php bugfix(44100); ?> (Inconsistent handling of static array declarations with 11589 duplicate keys). (Dmitry)</li> 11590 <li><?php bugfix(43831); ?> ($this gets mangled when extending PDO with persistent 11591 connection). (Felipe)</li> 11592 <li><?php bugfix(43817); ?> (opendir() fails on Windows directories with parent directory 11593 unaccessible). (Dmitry)</li> 11594 <li><?php bugfix(43069); ?> (SoapClient causes 505 HTTP Version not supported error 11595 message). (Dmitry)</li> 11596 <li><?php bugfix(43008); ?> (php://filter uris ignore url encoded filternames and can't 11597 handle slashes). (Arnaud)</li> 11598 <li><?php bugfix(42362); ?> (HTTP status codes 204 and 304 should not be gzipped). 11599 (Scott, Edward Z. Yang)</li> 11600 <li><?php bugfix(41874); ?> (separate STDOUT and STDERR in exec functions). (Kanwaljeet 11601 Singla, Venkat Raman Don, Pierre)</li> 11602 <li><?php bugfix(41534); ?> (SoapClient over HTTPS fails to reestablish connection). 11603 (Dmitry)</li> 11604 <li><?php bugfix(38802); ?> (max_redirects and ignore_errors). (patch by 11605 datibbaw@php.net)</li> 11606 <li><?php bugfix(35980); ?> (touch() works on files but not on directories). (Pierre)</li> 11607 11608</ul> 11609<!-- }}} --></section> 11610 11611<a id="PHP_5_2"></a> 11612<section class="version" id="5.2.17"><!-- {{{ 5.2.17 --> 11613<h3>Version 5.2.17</h3> 11614<?php release_date('06-Jan-2011'); ?> 11615<ul> 11616 11617<li><?php bugfix(53632); ?> (PHP hangs on numeric value 2.2250738585072011e-308). (CVE-2010-4645) (Rasmus, Scott)</li> 11618 11619</ul> 11620 11621<!-- }}} --></section> 11622 11623<section class="version" id="5.2.16"><!-- {{{ 5.2.16 --> 11624<h3>Version 5.2.16</h3> 11625<?php release_date('16-Dec-2010'); ?> 11626<ul> 11627 11628<li><?php bugfix(53517); ?> (segfault in pgsql_stmt_execute() when postgres is down). (gyp at balabit dot hu)</li> 11629<li><?php bugfix(53516); ?> (Regression in open_basedir handling). (Ilia)</li> 11630 11631</ul> 11632 11633<!-- }}} --></section> 11634 11635<section class="version" id="5.2.15"><!-- {{{ 5.2.15 --> 11636<h3>Version 5.2.15</h3> 11637<?php release_date('08-Dec-2010'); ?> 11638<ul> 11639 11640<li>Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE. (jorto at redhat dot com)</li> 11641<li>Fixed crash in zip extract method (possible CWE-170). (Maksymilian Arciemowicz, Pierre)</li> 11642<li>Fixed a possible double free in imap extension (Identified by Mateusz Kocielski). (CVE-2010-4150). (Ilia)</li> 11643<li>Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre)</li> 11644<li>Fixed possible crash in mssql_fetch_batch(). (Kalle)</li> 11645<li>Fixed NULL pointer dereference in ZipArchive::getArchiveComment. (CVE-2010-3709). (Maksymilian Arciemowicz)</li> 11646 11647<li><?php bugfix(53492); ?> (fix crash if anti-aliasing steps are invalid). (Pierre)</li> 11648<li><?php bugfix(53323); ?> (pdo_firebird getAttribute() crash). (preeves at ibphoenix dot com)</li> 11649<li><?php bugfix(52929); ?> (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data). (CVE-2010-3709). (Adam)</li> 11650<li><?php bugfix(52879); ?> (Objects unreferenced in __get, __set, __isset or __unset can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)</li> 11651<li><?php bugfix(52772); ?> (var_dump() doesn't check for the existence of get_class_name before calling it). (Kalle, Gustavo)</li> 11652<li><?php bugfix(52546); ?> (pdo_dblib segmentation fault when iterating MONEY values). (Felipe, Adam)</li> 11653<li><?php bugfix(52436); ?> (Compile error if systems do not have stdint.h) (Sriram Natarajan)</li> 11654<li><?php bugfix(52390); ?> (mysqli_report() should be per-request setting). (Kalle)</li> 11655<li><?php bugfix(51008); ?> (Zend/tests/bug45877.phpt fails). (Dmitry)</li> 11656<li><?php bugfix(47643); ?> (array_diff() takes over 3000 times longer than php 5.2.4). (Felipe)</li> 11657<li><?php bugfix(44248); ?> (RFC2616 transgression while HTTPS request through proxy with SoapClient object). (Dmitry)</li> 11658 11659</ul> 11660 11661<!-- }}} --></section> 11662 11663<section class="version" id="5.2.14"><!-- {{{ 5.2.14 --> 11664<h3>Version 5.2.14</h3> 11665<?php release_date('22-Jul-2010'); ?> 11666<ul> 11667<li>Reverted bug fix <?php bugl(49521) ?> (PDO fetchObject sets values before calling constructor). (Felipe)</li> 11668</ul> 11669<ul> 11670<li>Updated timezone database to version 2010.5. (Derick)</li> 11671<li>Upgraded bundled PCRE to version 8.02. (Ilia)</li> 11672</ul> 11673<ul> 11674<li>Rewrote var_export() to use smart_str rather than output buffering, revents data disclosure if a fatal error occurs (CVE-2010-2531). (Scott)</li> 11675<li>Fixed a possible interruption array leak in strrchr(). Reported by Péter Veres. (CVE-2010-2484) (Felipe)</li> 11676<li>Fixed a possible interruption array leak in strchr(), strstr(), substr(), chunk_split(), strtok(), addcslashes(), str_repeat(), trim(). (Felipe)</li> 11677<li>Fixed a possible memory corruption in substr_replace() (Dmitry)</li> 11678<li>Fixed SplObjectStorage unserialization problems (CVE-2010-2225). (Stas)</li> 11679<li>Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser (Ilia)</li> 11680<li>Reset error state in PDO::beginTransaction() reset error state. (Ilia)</li> 11681<li>Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug <?php bugl(51288); ?>). (Raphael Geissert)</li> 11682<li>Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser (Ilia)</li> 11683<li>Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski. (Ilia) </li> 11684<li>Fixed a crash when calling an inexistent method of a class that inherits PDOStatement if instantiated directly instead of doing by the PDO methods. (Felipe)</li> 11685</ul> 11686<ul> 11687<li><?php bugfix(52317); ?> (Segmentation fault when using mail() on a rhel 4.x (only 64 bit)). (Adam)</li> 11688<li><?php bugfix(52238); ?> (Crash when an Exception occured in iterator_to_array). (Johannes)</li> 11689<li><?php bugfix(52237); ?> (Crash when passing the reference of the property of a non-object). (Dmitry)</li> 11690<li><?php bugfix(52163); ?> (SplFileObject::fgetss() fails due to parameter that can't be set). (Felipe)</li> 11691<li><?php bugfix(52162); ?> (custom request header variables with numbers are removed). (Sriram Natarajan)</li> 11692<li><?php bugfix(52160); ?> (Invalid E_STRICT redefined constructor error). (Felipe)</li> 11693<li><?php bugfix(52061); ?> (memory_limit above 2G). (Felipe)</li> 11694<li><?php bugfix(52041); ?> (Memory leak when writing on uninitialized variable returned from function). (Dmitry)</li> 11695<li><?php bugfix(52037); ?> (Concurrent builds fail in install-programs). (seanius at debian dot org, Kalle)</li> 11696<li><?php bugfix(52019); ?> (make lcov doesn't support TESTS variable anymore). (Patrick)</li> 11697<li><?php bugfix(52010); ?> (open_basedir restrictions mismatch on vacuum command). (Ilia, Felipe)</li> 11698<li><?php bugfix(51943); ?> (AIX: Several files are out of ANSI spec). (Kalle, coreystup at gmail dot com)</li> 11699<li><?php bugfix(51911); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant array). (Felipe)</li> 11700<li><?php bugfix(51905); ?> (ReflectionParameter fails if default value is an array with an access to self::). (Felipe)</li> 11701<li><?php bugfix(51822); ?> (Segfault with strange __destruct() for static class variables). (Dmitry)</li> 11702<li><?php bugfix(51671); ?> (imagefill does not work correctly for small images). (Pierre)</li> 11703<li><?php bugfix(51670); ?> (getColumnMeta causes segfault when re-executing query after calling nextRowset). (Pierrick)</li> 11704<li><?php bugfix(51629); ?> (CURLOPT_FOLLOWLOCATION error message is misleading). (Pierre)</li> 11705<li><?php bugfix(51617); ?> (PDO PGSQL still broken against PostGreSQL <7.4). (Felipe, wdierkes at 5dollarwhitebox dot org)</li> 11706<li><?php bugfix(51615); ?> (PHP crash with wrong HTML in SimpleXML). (Felipe)</li> 11707<li><?php bugfix(51609); ?> (pg_copy_to: Invalid results when using fourth parameter). (Felipe)</li> 11708<li><?php bugfix(51608); ?> (pg_copy_to: WARNING: nonstandard use of \\ in a string literal). (cbandy at jbandy dot com)</li> 11709<li><?php bugfix(51607); ?> (pg_copy_from does not allow schema in the tablename argument). (cbandy at jbandy dot com)</li> 11710<li><?php bugfix(51604); ?> (newline in end of header is shown in start of message). (Daniel Egeberg)</li> 11711<li><?php bugfix(51562); ?> (query timeout in mssql can not be changed per query). (ejsmont dot artur at gmail dot com)</li> 11712<li><?php bugfix(51552); ?> (debug_backtrace() causes segmentation fault and/or memory issues). (Dmitry)</li> 11713<li><?php bugfix(51532); ?> (Wrong prototype for SplFileObject::fscanf()). (Etienne)</li> 11714<li><?php bugfix(51445); ?> (var_dump() invalid/slow *RECURSION* detection). (Felipe)</li> 11715<li><?php bugfix(51393); ?> (DateTime::createFromFormat() fails if format string contains timezone). (Adam)</li> 11716<li><?php bugfix(51374); ?> (Wrongly initialized object properties). (Etienne)</li> 11717<li><?php bugfix(51338); ?> (URL-Rewriter is still enabled if use_only_cookies is on). (Ilia, j dot jeising at gmail dot com)</li> 11718<li><?php bugfix(51273); ?> (Faultstring property does not exist when the faultstring is empty) (Ilia, dennis at transip dot nl)</li> 11719<li><?php bugfix(51269); ?> (zlib.output_compression Overwrites Vary Header). (Adam)</li> 11720<li><?php bugfix(51263); ?> (imagettftext and rotated text uses wrong baseline) (cschneid at cschneid dot com, Takeshi Abe)</li> 11721<li><?php bugfix(51237); ?> (milter SAPI crash on startup). (igmar at palsenberg dot com)</li> 11722<li><?php bugfix(51213); ?> (pdo_mssql is trimming value of the money column). (Ilia, alexr at oplot dot com)</li> 11723<li><?php bugfix(51192); ?> (FILTER_VALIDATE_URL will invalidate a hostname that includes '-'). (Adam, solar at azrael dot ws).</li> 11724<li><?php bugfix(51190); ?> (ftp_put() returns false when transfer was successful). (Ilia)</li> 11725<li><?php bugfix(51183); ?> (ext/date/php_date.c fails to compile with Sun Studio). (Sriram Natarajan)</li> 11726<li><?php bugfix(51171); ?> (curl_setopt() doesn't output any errors or warnings when an invalid option is provided). (Ilia)</li> 11727<li><?php bugfix(51128); ?> (imagefill() doesn't work with large images). (Pierre)</li> 11728<li><?php bugfix(51086); ?> (DBA DB4 doesn't work with Berkeley DB 4.8). (Chris Jones)</li> 11729<li><?php bugfix(51062); ?> (DBA DB4 uses mismatched headers and libraries). (Chris Jones)</li> 11730<li><?php bugfix(51023); ?> (filter doesn't detect int overflows with GCC 4.4). (Raphael Geissert)</li> 11731<li><?php bugfix(50762); ?> (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)</li> 11732<li><?php bugfix(50698); ?> (SoapClient should handle wsdls with some incompatiable endpoints). (Justin Dearing)</li> 11733<li><?php bugfix(50383); ?> (Exceptions thrown in __call() / __callStatic() do not include file and line in trace). (Felipe)</li> 11734<li><?php bugfix(49730); ?> (Firebird - new PDO() returns NULL). (Felipe)</li> 11735<li><?php bugfix(49723); ?> (LimitIterator with empty SeekableIterator). (Etienne)</li> 11736<li><?php bugfix(49576); ?> (FILTER_VALIDATE_EMAIL filter needs updating) (Rasmus)</li> 11737<li><?php bugfix(49320); ?> (PDO returns null when SQLite connection fails). (Felipe)</li> 11738<li><?php bugfix(49267); ?> (Linking fails for iconv). (Moriyosh)</li> 11739<li><?php bugfix(48601); ?> (xpath() returns FALSE for legitimate query). (Rob)</li> 11740<li><?php bugfix(48289); ?> (iconv_mime_encode() quoted-printable scheme is broken). 11741 (Adam, patch from hiroaki dot kawai at gmail dot com).</li> 11742<li><?php bugfix(43314); ?> (iconv_mime_encode(), broken Q scheme). (Rasmus)</li> 11743<li><?php bugfix(33210); ?> (getimagesize() fails to detect width/height on certain 11744 JPEGs). (Ilia)</li> 11745<li><?php bugfix(23229); ?> (syslog() truncates messages). (Adam)</li> 11746</ul> 11747 11748<!-- }}} --></section> 11749 11750<section class="version" id="5.2.13"><!-- {{{ 5.2.13 --> 11751<h3>Version 5.2.13</h3> 11752<?php release_date('25-Feb-2010'); ?> 11753<ul> 11754<li>Security Fixes 11755 <ul> 11756 <li>Improved LCG entropy. (Rasmus, Samy Kamkar)</li> 11757 <li>Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)</li> 11758 <li>Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia)</li> 11759 </ul> 11760</li> 11761 11762<li>Updated timezone database to version 2010.2. (Derick)</li> 11763<li>Upgraded bundled PCRE to version 7.9. (Ilia)</li> 11764 11765<li>Removed automatic file descriptor unlocking happening on shutdown and/or stream close (on all OSes excluding Windows). (Tony, Ilia)</li> 11766 11767<li>Changed tidyNode class to disallow manual node creation. (Pierrick)</li> 11768 11769<li>Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL. (Ilia)</li> 11770 11771<li>Fixed bug in bundled libgd causing spurious horizontal lines drawn by gdImageFilledPolygon (libgd #100). (Takeshi Abe)</li> 11772<li>Fixed build of mysqli with MySQL 5.5.0-m2. (Andrey)</li> 11773 11774<li><?php bugfix(50940); ?> (Custom content-length set incorrectly in Apache sapis). (Brian France, Rasmus)</li> 11775<li><?php bugfix(50930); ?> (Wrong date by php_date.c patch with ancient gcc/glibc versions). (Derick)</li> 11776<li><?php bugfix(50859); ?> (build fails with openssl 1.0 due to md2 deprecation). (Ilia, hanno at hboeck dot de)</li> 11777<li><?php bugfix(50847); ?> (strip_tags() removes all tags greater then 1023 bytes long). (Ilia)</li> 11778<li><?php bugfix(50832); ?> (HTTP fopen wrapper does not support passwordless HTTP authentication). (Jani)</li> 11779<li><?php bugfix(50823); ?> (ReflectionFunction::isDeprecated producing "cannot be called statically" error). (Jani, Felipe)</li> 11780<li><?php bugfix(50791); ?> (Compile failure: Bad logic in defining fopencookie emulation). (Jani)</li> 11781<li><?php bugfix(50787); ?> (stream_set_write_buffer() has no effect on socket streams). (vnegrier at optilian dot com, Ilia)</li> 11782<li><?php bugfix(50772); ?> (mysqli constructor without parameters does not return a working mysqli object). (Andrey)</li> 11783<li><?php bugfix(50761); ?> (system.multiCall crashes in xmlrpc extension). (hiroaki dot kawai at gmail dot com, Ilia)</li> 11784<li><?php bugfix(50732); ?> (exec() adds single byte twice to $output array). (Ilia)</li> 11785<li><?php bugfix(50728); ?> (All PDOExceptions hardcode 'code' property to 0). (Joey, Ilia)</li> 11786<li><?php bugfix(50727); ?> (Accessing mysqli->affected_rows on no connection causes segfault). (Andrey, Johannes)</li> 11787<li><?php bugfix(50680); ?> (strtotime() does not support eighth ordinal number). (Ilia)</li> 11788<li><?php bugfix(50661); ?> (DOMDocument::loadXML does not allow UTF-16). (Rob)</li> 11789<li><?php bugfix(50657); ?> (copy() with an empty (zero-byte) HTTP source succeeds but returns false). (Ilia)</li> 11790<li><?php bugfix(50636); ?> (MySQLi_Result sets values before calling constructor). (Pierrick)</li> 11791<li><?php bugfix(50632); ?> (filter_input() does not return default value if the variable does not exist). (Ilia)</li> 11792<li><?php bugfix(50576); ?> (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick)</li> 11793<li><?php bugfix(50575); ?> (PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5). (Matteo)</li> 11794<li><?php bugfix(50558); ?> (Broken object model when extending tidy). (Pierrick)</li> 11795<li><?php bugfix(50540); ?> (Crash while running ldap_next_reference test cases). (Sriram)</li> 11796<li><?php bugfix(50508); ?> (compile failure: Conflicting HEADER type declarations). (Jani)</li> 11797<li><?php bugfix(50394); ?> (Reference argument converted to value in __call). (Stas)</li> 11798<li><?php bugfix(49851); ?> (http wrapper breaks on 1024 char long headers). (Ilia)</li> 11799<li><?php bugfix(49600); ?> (imageTTFText text shifted right). (Takeshi Abe)</li> 11800<li><?php bugfix(49585); ?> (date_format buffer not long enough for >4 digit years). (Derick, Adam)</li> 11801<li><?php bugfix(49463); ?> (setAttributeNS fails setting default namespace). (Rob)</li> 11802<li><?php bugfix(48667); ?> (Implementing Iterator and IteratorAggregate). (Etienne)</li> 11803<li><?php bugfix(48590); ?> (SoapClient does not honor max_redirects). (Sriram)</li> 11804<li><?php bugfix(48190); ?> (Content-type parameter "boundary" is not case-insensitive in HTTP uploads). (Ilia)</li> 11805<li><?php bugfix(47601); ?> (defined() requires class to exist when testing for class constants). (Ilia)</li> 11806<li><?php bugfix(47409); ?> (extract() problem with array containing word "this"). (Ilia, chrisstocktonaz at gmail dot com)</li> 11807<li><?php bugfix(47002); ?> (Field truncation when reading from dbase dbs with more then 1024 fields). (Ilia, sjoerd-php at linuxonly dot nl)</li> 11808<li><?php bugfix(45599); ?> (strip_tags() truncates rest of string with invalid attribute). (Ilia, hradtke) </li> 11809<li><?php bugfix(44827); ?> (define() allows :: in constant names). (Ilia)</li> 11810 11811</ul> 11812<!-- }}} --></section> 11813 11814<section class="version" id="5.2.12"><!-- {{{ 5.2.12 --> 11815<h3>Version 5.2.12</h3> 11816<?php release_date('17-Dec-2009'); ?> 11817<ul> 11818<li>Security Fixes 11819 <ul> 11820 <li>Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. (Rasmus)</li> 11821 <li>Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak. (Rasmus)</li> 11822 <li>Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion. (Ilia)</li> 11823 <li>Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check, identified by Stefan Esser. (Stas)</li> 11824 <li><?php bugfix(49785); ?> (insufficient input string validation of htmlspecialchars()). (Moriyoshi, hello at iwamot dot com)</li> 11825 </ul> 11826</li> 11827 11828<li>Updated timezone database to version 2009.19 (2009s). (Derick)</li> 11829 11830<li>Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a single text node when using libxml2.7.3+. (Kalle)</li> 11831 11832<li>Changed "post_max_size" php.ini directive to allow unlimited post size by setting it to 0. (Rasmus)</li> 11833 11834<li>Fixed error_log() to be binary safe when using message_type 3. (Jani)</li> 11835<li>Fixed unnecessary invocation of setitimer when timeouts have been disabled. (Arvind Srinivasan)</li> 11836<li>Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)</li> 11837<li>Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() when calling using Reflection. (Felipe)</li> 11838<li>Fixed crash when instantiating PDORow and PDOStatement through Reflection. (Felipe)</li> 11839<li>Fixed memory leak in openssl_pkcs12_export_to_file(). (Felipe)</li> 11840 11841<li><?php bugfix(50445); ?> (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault). (davbrown4 at yahoo dot com, Felipe)</li> 11842<li><?php bugfix(50345); ?> (nanosleep not detected properly on some solaris versions). (Jani)</li> 11843<li><?php bugfix(50323); ?> (Allow use of ; in values via ;; in PDO DSN). (Ilia, Pierrick)</li> 11844<li><?php bugfix(50285); ?> (xmlrpc does not preserve keys in encoded indexed arrays). (Felipe)</li> 11845<li><?php bugfix(50282); ?> (xmlrpc_encode_request() changes object into array in calling function). (Felipe)</li> 11846<li><?php bugfix(50266); ?> (conflicting types for llabs). (Jani)</li> 11847<li><?php bugfix(50255); ?> (isset() and empty() silently casts array to object). (Felipe)</li> 11848<li><?php bugfix(50219); ?> (soap call Segmentation fault on a redirected url). (Pierrick)</li> 11849<li><?php bugfix(50209); ?> (Compiling with libedit cannot find readline.h). (tcallawa at redhat dot com)</li> 11850<li><?php bugfix(50207); ?> (segmentation fault when concatenating very large strings on 64bit linux). (Ilia)</li> 11851<li><?php bugfix(50195); ?> (pg_copy_to() fails when table name contains schema. (Ilia)</li> 11852<li><?php bugfix(50185); ?> (ldap_get_entries() return false instead of an empty array when there is no error). (Jani)</li> 11853<li><?php bugfix(50174); ?> (Incorrectly matched docComment). (Felipe)</li> 11854<li><?php bugfix(50168); ?> (FastCGI fails with wrong error on HEAD request to non-existent file). (Dmitry)</li> 11855<li><?php bugfix(50162); ?> (Memory leak when fetching timestamp column from Oracle database). (Felipe)</li> 11856<li><?php bugfix(50158); ?> (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?). (Pierrick)</li> 11857<li><?php bugfix(50073); ?> (parse_url() incorrect when ? in fragment). (Ilia)</li> 11858<li><?php bugfix(50006); ?> (Segfault caused by uksort()). (Felipe)</li> 11859<li><?php bugfix(50005); ?> (Throwing through Reflection modified Exception object makes segmentation fault). (Felipe)</li> 11860<li><?php bugfix(49990); ?> (SNMP3 warning message about security level printed twice). (Jani)</li> 11861<li><?php bugfix(49985); ?> (pdo_pgsql prepare() re-use previous aborted transaction). (ben dot pineau at gmail dot com, Ilia, Matteo)</li> 11862<li><?php bugfix(49972); ?> (AppendIterator undefined function crash). (Johannes)</li> 11863<li><?php bugfix(49921); ?> (Curl post upload functions changed). (Ilia)</li> 11864<li><?php bugfix(49855); ?> (import_request_variables() always returns NULL). (Ilia, sjoerd at php dot net)</li> 11865<li><?php bugfix(49847); ?> (exec() fails to return data inside 2nd parameter, given output lines >4095 bytes). (Ilia)</li> 11866<li><?php bugfix(49809); ?> (time_sleep_until() is not available on OpenSolaris). (Jani)</li> 11867<li><?php bugfix(49757); ?> (long2ip() can return wrong value in a multi-threaded applications). (Ilia, Florian Anderiasch)</li> 11868<li><?php bugfix(49738); ?> (calling mcrypt() after mcrypt_generic_deinit() crashes). (Sriram Natarajan)</li> 11869<li><?php bugfix(49719); ?> (ReflectionClass::hasProperty returns true for a private property in base class). (Felipe)</li> 11870<li><?php bugfix(49698); ?> (Unexpected change in strnatcasecmp()). (Rasmus)</li> 11871<li><?php bugfix(49677); ?> (ini parser crashes with apache2 and using ${something} ini variables). (Jani)</li> 11872<li><?php bugfix(49660); ?> (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)</li> 11873<li><?php bugfix(49647); ?> (DOMUserData does not exist). (Rob)</li> 11874<li><?php bugfix(49630); ?> (imap_listscan() function missing). (Felipe)</li> 11875<li><?php bugfix(49627); ?> (error_log to specified file does not log time according to date.timezone). (Dmitry)</li> 11876<li><?php bugfix(49578); ?> (make install-pear fails). (Hannes)</li> 11877<li><?php bugfix(49536); ?> (mb_detect_encoding() returns incorrect results when mbstring.strict_mode is turned on). (Moriyoshi)</li> 11878<li><?php bugfix(49531); ?> (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set"). (Felipe)</li> 11879<li><?php bugfix(49528); ?> (UTF-16 strings prefixed by BOMs wrongly converted). (Moriyoshi)</li> 11880<li><?php bugfix(49521); ?> (PDO fetchObject sets values before calling constructor). (Pierrick)</li> 11881<li><?php bugfix(49517); ?> (cURL's CURLOPT_FILE prevents file from being deleted after fclose()). (Ilia)</li> 11882<li><?php bugfix(49472); ?> (Constants defined in Interfaces can be overridden). (Felipe)</li> 11883<li><?php bugfix(49354); ?> (mb_strcut() cuts wrong length when offset is in the middle of a multibyte character). (Moriyoshi)</li> 11884<li><?php bugfix(49332); ?> (Build error with Snow Leopard). (Scott)</li> 11885<li><?php bugfix(49244); ?> (Floating point NaN cause garbage characters). (Sjoerd)</li> 11886<li><?php bugfix(49174); ?> (crash when extending PDOStatement and trying to set queryString property). (Felipe)</li> 11887<li><?php bugfix(49098); ?> (mysqli segfault on error). (Rasmus)</li> 11888<li><?php bugfix(48805); ?> (IPv6 socket transport is not working). (Ilia)</li> 11889<li><?php bugfix(48764); ?> (PDO_pgsql::query() always uses implicit prepared statements if v3 proto available). (Matteo, Mark Kirkwood)</li> 11890<li><?php bugfix(47848); ?> (importNode doesn't preserve attribute namespaces). (Rob)</li> 11891<li><?php bugfix(45120); ?> (PDOStatement->execute() returns true then false for same statement). (Pierrick)</li> 11892<li><?php bugfix(34852); ?> (Failure in odbc_exec() using oracle-supplied odbc driver). (tim dot tassonis at trivadis dot com)</li> 11893 11894</ul> 11895<!-- }}} --></section> 11896 11897<section class="version" id="5.2.11"><!-- {{{ 5.2.11 --> 11898<h3>Version 5.2.11</h3> 11899<?php release_date('16-Sep-2009'); ?> 11900<ul> 11901<li>Security Fixes 11902 <ul> 11903 <li>Fixed certificate validation inside php_openssl_apply_verification_policy. (Ryan Sleevi, Ilia)</li> 11904 <li>Added missing sanity checks around exif processing. (Ilia)</li> 11905 <li>Fixed sanity check for the color index in imagecolortransparent. (Pierre)</li> 11906 <li><?php bugfix(44683); ?> (popen crashes when an invalid mode is passed). (Pierre)</li> 11907 </ul> 11908</li> 11909 11910<li>Updated timezone database to version 2009.13 (2009m) (Derick)</li> 11911<li>Fixed zlib.deflate compress filter to actually accept level parameter. (Jani)</li> 11912<li>Fixed leak on error in popen/exec (and related functions) on Windows. (Pierre)</li> 11913<li>Fixed regression in cURL extension that prevented flush of data to output defined as a file handle. (Ilia)</li> 11914<li>Fixed memory leak in stream_is_local(). (Felipe, Tony)</li> 11915 11916<li><?php bugfix(49470); ?> (FILTER_SANITIZE_EMAIL allows disallowed characters). (Ilia)</li> 11917<li><?php bugfix(49447); ?> (php engine needs to correctly check for socket API return status on windows). (Sriram Natarajan)</li> 11918<li><?php bugfix(49372); ?> (segfault in php_curl_option_curl). (Pierre)</li> 11919<li><?php bugfix(49361); ?> (wordwrap() wraps incorrectly on end of line boundaries). (Ilia, code-it at mail dot ru)</li> 11920<li><?php bugfix(49289); ?> (bcmath module doesn't compile with phpize configure). (Jani)</li> 11921<li><?php bugfix(49286); ?> (php://input (php_stream_input_read) is broken). (Jani)</li> 11922<li><?php bugfix(49269); ?> (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry)</li> 11923<li><?php bugfix(49236); ?> (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)</li> 11924<li><?php bugfix(49144); ?> (Import of schema from different host transmits original authentication details). (Dmitry)</li> 11925<li><?php bugfix(49132); ?> (posix_times returns false without error). (phpbugs at gunnu dot us)</li> 11926<li><?php bugfix(49125); ?> (Error in dba_exists C code). (jdornan at stanford dot edu)</li> 11927<li><?php bugfix(49095); ?> (proc_get_status['exitcode'] fails on win32). (Felipe)</li> 11928<li><?php bugfix(49074); ?> (private class static fields can be modified by using reflection). (Jani)</li> 11929<li><?php bugfix(49072); ?> (feof never returns true for damaged file in zip). (Pierre)</li> 11930<li><?php bugfix(49052); ?> (context option headers freed too early when using --with-curlwrappers). (Jani)</li> 11931<li><?php bugfix(49032); ?> (SplFileObject::fscanf() variables passed by reference). (Jani)</li> 11932<li><?php bugfix(49026); ?> (proc_open() can bypass safe_mode_protected_env_vars restrictions). (Ilia)</li> 11933<li><?php bugfix(49000); ?> (PHP CLI in Interactive mode (php -a) crashes when including files from function). (Stas)</li> 11934<li><?php bugfix(48994); ?> (zlib.output_compression does not output HTTP headers when set to a string value). (Jani)</li> 11935<li><?php bugfix(48980); ?> (Crash when compiling with pdo_firebird). (Felipe)</li> 11936<li><?php bugfix(48962); ?> (cURL does not upload files with specified filename). (Ilia)</li> 11937<li><?php bugfix(48929); ?> (Double \r\n after HTTP headers when "header" context option is an array). (David Zülke)</li> 11938<li><?php bugfix(48913); ?> (Too long error code strings in pdo_odbc driver). (naf at altlinux dot ru, Felipe)</li> 11939<li><?php bugfix(48802); ?> (printf() returns incorrect outputted length). (Jani)</li> 11940<li><?php bugfix(48801); ?> (Problem with imagettfbbox). (Takeshi Abe)</li> 11941<li><?php bugfix(48788); ?> (RecursiveDirectoryIterator doesn't descend into symlinked directories). (Ilia)</li> 11942<li><?php bugfix(48774); ?> (SIGSEGVs when using curl_copy_handle()). (Sriram Natarajan)</li> 11943<li><?php bugfix(48763); ?> (ZipArchive produces corrupt archive). (dani dot church at gmail dot com, Pierre)</li> 11944<li><?php bugfix(48762); ?> (IPv6 address filter still rejects valid address). (Felipe)</li> 11945<li><?php bugfix(48733); ?> (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on files that have been opened with r+). (Ilia)</li> 11946<li><?php bugfix(48732); ?> (TTF Bounding box wrong for letters below baseline). (Takeshi Abe)</li> 11947<li><?php bugfix(48718); ?> (FILTER_VALIDATE_EMAIL does not allow numbers in domain components). (Ilia)</li> 11948<li><?php bugfix(48709); ?> (metaphone and 'wh'). (brettz9 at yahoo dot com, Felipe)</li> 11949<li><?php bugfix(48697); ?> (mb_internal_encoding() value gets reset by parse_str()). (Moriyoshi)</li> 11950<li><?php bugfix(48696); ?> (ldap_read() segfaults with invalid parameters). (Felipe)</li> 11951<li><?php bugfix(48693); ?> (Double declaration of __lambda_func when lambda wrongly formatted). (peter at lvp-media dot com, Felipe)</li> 11952<li><?php bugfix(48661); ?> (phpize is broken with non-bash shells). (Jani)</li> 11953<li><?php bugfix(48645); ?> (mb_convert_encoding() doesn't understand hexadecimal html-entities). (Moriyoshi)</li> 11954<li><?php bugfix(48637); ?> ("file" fopen wrapper is overwritten when using --with-curlwrappers). (Jani)</li> 11955<li><?php bugfix(48636); ?> (Error compiling of ext/date on netware). (guenter at php.net, Ilia)</li> 11956<li><?php bugfix(48629); ?> (get_defined_constants() ignores categorize parameter). (Felipe)</li> 11957<li><?php bugfix(48619); ?> (imap_search ALL segfaults). (Pierre)</li> 11958<li><?php bugfix(48608); ?> (Invalid libreadline version not detected during configure). (Jani)</li> 11959<li><?php bugfix(48555); ?> (ImageFTBBox() differs from previous versions for texts with new lines) (Takeshi Abe)</li> 11960<li><?php bugfix(48539); ?> (pdo_dblib fails to connect, throws empty PDOException "SQLSTATE[] (null)"). (Felipe)</li> 11961<li><?php bugfix(48465); ?> (sys_get_temp_dir() possibly inconsistent when using TMPDIR). (Ilia)</li> 11962<li><?php bugfix(48450); ?> (Compile failure under IRIX 6.5.30 building gd.c). (Kalle)</li> 11963<li><?php bugfix(48400); ?> (imap crashes when closing stream opened with OP_PROTOTYPE flag). (Jani)</li> 11964<li><?php bugfix(48284); ?> (hash "adler32" byte order is reversed). (Scott)</li> 11965<li><?php bugfix(48276); ?> (date("Y") on big endian machines produces the wrong result). (Scott)</li> 11966<li><?php bugfix(48247); ?> (Infinite loop and possible crash during startup with errors when errors are logged). (Jani)</li> 11967<li><?php bugfix(48182); ?> (ssl handshake fails during asynchronous socket connection). (Sriram Natarajan)</li> 11968<li><?php bugfix(48116); ?> (Fixed build with Openssl 1.0). (Pierre, Al dot Smith at aeschi dot ch dot eu dot org)</li> 11969<li><?php bugfix(48060); ?> (pdo_pgsql - large objects are returned as empty). (Matteo)</li> 11970<li><?php bugfix(48057); ?> (Only the date fields of the first row are fetched, others are empty). (info at programmiernutte dot net)</li> 11971<li><?php bugfix(47481); ?> (natcasesort() does not sort extended ASCII characters correctly). (Herman Radtke)</li> 11972<li><?php bugfix(47351); ?> (Memory leak in DateTime). (Derick, Tobias John)</li> 11973<li><?php bugfix(47273); ?> (Encoding bug in SoapServer->fault). (Dmitry)</li> 11974<li><?php bugfix(46020); ?> (with Sun Java System Web Server 7.0 on HPUX, #define HPUX). (Uwe Schindler)</li> 11975<li><?php bugfix(45905); ?> (imagefilledrectangle() clipping error). (markril at hotmail dot com, Pierre)</li> 11976<li><?php bugfix(45280); ?> (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)</li> 11977<li><?php bugfix(45141); ?> (setcookie will output expires years of >4 digits). (Ilia)</li> 11978<li><?php bugfix(44144); ?> (spl_autoload_functions() should return object instance when appropriate). (Hannes, Etienne)</li> 11979<li><?php bugfix(43510); ?> (stream_get_meta_data() does not return same mode as used in fopen). (Jani)</li> 11980<li><?php bugfix(42434); ?> (ImageLine w/ antialias = 1px shorter). (wojjie at gmail dot com, Kalle)</li> 11981<li><?php bugfix(28038); ?> (Sent incorrect RCPT TO commands to SMTP server) (Garrett)</li> 11982 11983</ul> 11984 11985<!-- }}} --></section> 11986 11987<section class="version" id="5.2.10"><!-- {{{ 5.2.10 --> 11988<h3>Version 5.2.10</h3> 11989<?php release_date('18-Jun-2009'); ?> 11990<ul> 11991 <li>Security Fixes 11992 <ul> 11993 <li><?php bugfix(48378); ?> (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)</li> 11994 </ul> 11995 </li> 11996 11997 <li>Updated timezone database to version 2009.9 (2009i) (Derick)</li> 11998 11999 <li>Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara)</li> 12000 <li>Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS, and CURLPROTO_* for redirect fixes in CURL 7.19.4. (Yoram Bar Haim, Stas)</li> 12001 <li>Added support for Sun CC (FR <?php bugl(46595); ?> and FR <?php bugl(46513); ?>). (David Soria Parra)</li> 12002 12003 <li>Changed default value of array_unique()'s optional sorting type parameter back to SORT_STRING to fix backwards compatibility breakage introduced in PHP 5.2.9. (Moriyoshi)</li> 12004 12005 <li>Fixed memory corruptions while reading properties of zip files. (Ilia)</li> 12006 <li>Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)</li> 12007 <li>Fixed segfault on invalid session.save_path. (Hannes)</li> 12008 <li>Fixed leaks in imap when a mail_criteria is used. (Pierre)</li> 12009 <li>Fixed missing erealloc() in fix for bug <?php bugl(40091); ?> in spl_autoload_register. (Greg)</li> 12010 12011 <li><?php bugfix(48562); ?> (Reference recursion causes segfault when used in wddx_serialize_vars()). (Felipe)</li> 12012 <li><?php bugfix(48557); ?> (Numeric string keys in Apache Hashmaps are not cast to integers). (David Zuelke)</li> 12013 <li><?php bugfix(48518); ?> (curl crashes when writing into invalid file handle). (Tony)</li> 12014 <li><?php bugfix(48514); ?> (cURL extension uses same resource name for simple and multi APIs). (Felipe)</li> 12015 <li><?php bugfix(48469); ?> (ldap_get_entries() leaks memory on empty search results). (Patrick)</li> 12016 <li><?php bugfix(48456); ?> (CPPFLAGS not restored properly in phpize.m4). (Jani, spisek at kerio dot com)</li> 12017 <li><?php bugfix(48448); ?> (Compile failure under IRIX 6.5.30 building cast.c). (Kalle)</li> 12018 <li><?php bugfix(48441); ?> (ldap_search() sizelimit, timelimit and deref options persist). (Patrick)</li> 12019 <li><?php bugfix(48434); ?> (Improve memory_get_usage() accuracy). (Arnaud)</li> 12020 <li><?php bugfix(48416); ?> (Force a cache limit in ereg() to stop excessive memory usage). (Scott)</li> 12021 <li><?php bugfix(48409); ?> (Crash when exception is thrown while passing function arguments). (Arnaud)</li> 12022 <li><?php bugfix(48378); ?> (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)</li> 12023 <li><?php bugfix(48359); ?> (Script hangs on snmprealwalk if OID is not increasing). (Ilia, simonov at gmail dot com)</li> 12024 <li><?php bugfix(48336); ?> (ReflectionProperty::getDeclaringClass() does not work with redeclared property). (patch by Markus dot Lidel at shadowconnect dot com)</li> 12025 <li><?php bugfix(48326); ?> (constant MSG_DONTWAIT not defined). (Arnaud)</li> 12026 <li><?php bugfix(48313); ?> (fgetcsv() does not return null for empty rows). (Ilia)</li> 12027 <li><?php bugfix(48309); ?> (stream_copy_to_stream() and fpasstru() do not update stream position of plain files). (Arnaud)</li> 12028 <li><?php bugfix(48307); ?> (stream_copy_to_stream() copies 0 bytes when $source is a socket). (Arnaud)</li> 12029 <li><?php bugfix(48273); ?> (snmp*_real_walk() returns SNMP errors as values). (Ilia, lytboris at gmail dot com)</li> 12030 <li><?php bugfix(48256); ?> (Crash due to double-linking of history.o). (tstarling at wikimedia dot org)</li> 12031 <li><?php bugfix(48248); ?> (SIGSEGV when access to private property via &__get). (Felipe)</li> 12032 <li><?php bugfix(48247); ?> (Crash on errors during startup). (Stas)</li> 12033 <li><?php bugfix(48240); ?> (DBA Segmentation fault dba_nextkey). (Felipe)</li> 12034 <li><?php bugfix(48224); ?> (Incorrect shuffle in array_rand). (Etienne)</li> 12035 <li><?php bugfix(48221); ?> (memory leak when passing invalid xslt parameter). (Felipe)</li> 12036 <li><?php bugfix(48207); ?> (CURLOPT_(FILE|WRITEHEADER options do not error out when working with a non-writable stream). (Ilia)</li> 12037 <li><?php bugfix(48206); ?> (Iterating over an invalid data structure with RecursiveIteratorIterator leads to a segfault). (Scott)</li> 12038 <li><?php bugfix(48204); ?> (xmlwriter_open_uri() does not emit warnings on invalid paths). (Ilia)</li> 12039 <li><?php bugfix(48203); ?> (Crash when CURLOPT_STDERR is set to regular file). (Jani)</li> 12040 <li><?php bugfix(48202); ?> (Out of Memory error message when passing invalid file path) (Pierre)</li> 12041 <li><?php bugfix(48156); ?> (Added support for lcov v1.7). (Ilia)</li> 12042 <li><?php bugfix(48132); ?> (configure check for curl ssl support fails with --disable-rpath). (Jani)</li> 12043 <li><?php bugfix(48131); ?> (Don't try to bind ipv4 addresses to ipv6 ips via bindto). (Ilia)</li> 12044 <li><?php bugfix(48070); ?> (PDO_OCI: Segfault when using persistent connection). (Pierre, Matteo, jarismar dot php at gmail dot com)</li> 12045 <li><?php bugfix(48058); ?> (Year formatter goes wrong with out-of-int range). (Derick)</li> 12046 <li><?php bugfix(48038); ?> (odbc_execute changes variables used to form params array). (Felipe)</li> 12047 <li><?php bugfix(47997); ?> (stream_copy_to_stream returns 1 on empty streams). (Arnaud)</li> 12048 <li><?php bugfix(47991); ?> (SSL streams fail if error stack contains items). (Mikko)</li> 12049 <li><?php bugfix(47981); ?> (error handler not called regardless). (Hannes)</li> 12050 <li><?php bugfix(47969); ?> (ezmlm_hash() returns different values depend on OS). (Ilia)</li> 12051 <li><?php bugfix(47946); ?> (ImageConvolution overwrites background). (Ilia)</li> 12052 <li><?php bugfix(47940); ?> (memory leaks in imap_body). (Pierre, Jake Levitt)</li> 12053 <li><?php bugfix(47937); ?> (system() calls sapi_flush() regardless of output buffering). (Ilia)</li> 12054 <li><?php bugfix(47903); ?> ("@" operator does not work with string offsets). (Felipe)</li> 12055 <li><?php bugfix(47893); ?> (CLI aborts on non blocking stdout). (Arnaud)</li> 12056 <li><?php bugfix(47849); ?> (Non-deep import loses the namespace). (Rob)</li> 12057 <li><?php bugfix(47845); ?> (PDO_Firebird omits first row from query). (Lars W)</li> 12058 <li><?php bugfix(47836); ?> (array operator [] inconsistency when the array has PHP_INT_MAX index value). (Matt)</li> 12059 <li><?php bugfix(47831); ?> (Compile warning for strnlen() in main/spprintf.c). (Ilia, rainer dot jung at kippdata dot de)</li> 12060 <li><?php bugfix(47828); ?> (openssl_x509_parse() segfaults when a UTF-8 conversion fails). (Scott, Kees Cook, Pierre)</li> 12061 <li><?php bugfix(47818); ?> (Segfault due to bound callback param). (Felipe)</li> 12062 <li><?php bugfix(47801); ?> (__call() accessed via parent:: operator is provided incorrect method name). (Felipe)</li> 12063 <li><?php bugfix(47769); ?> (Strange extends PDO). (Felipe)</li> 12064 <li><?php bugfix(47745); ?> (FILTER_VALIDATE_INT doesn't allow minimum integer). (Dmitry)</li> 12065 <li><?php bugfix(47721); ?> (Alignment issues in mbstring and sysvshm extension) (crrodriguez at opensuse dot org, Ilia)</li> 12066 <li><?php bugfix(47704); ?> (PHP crashes on some "bad" operations with string offsets). (Dmitry)</li> 12067 <li><?php bugfix(47695); ?> (build error when xmlrpc and iconv are compiled against different iconv versions). (Scott)</li> 12068 <li><?php bugfix(47667); ?> (ZipArchive::OVERWRITE seems to have no effect). (Mikko, Pierre)</li> 12069 <li><?php bugfix(47644); ?> (Valid integers are truncated with json_decode()). (Scott)</li> 12070 <li><?php bugfix(47639); ?> (pg_copy_from() WARNING: nonstandard use of \\ in a string literal). (Ilia)</li> 12071 <li><?php bugfix(47616); ?> (curl keeps crashing). (Felipe)</li> 12072 <li><?php bugfix(47598); ?> (FILTER_VALIDATE_EMAIL is locale aware). (Ilia)</li> 12073 <li><?php bugfix(47566); ?> (pcntl_wexitstatus() returns signed status). (patch by james at jamesreno dot com)</li> 12074 <li><?php bugfix(47564); ?> (unpacking unsigned long 32bit bit endian returns wrong result). (Ilia)</li> 12075 <li><?php bugfix(47487); ?> (performance degraded when reading large chunks after fix of bug <?php bugl(44607); ?>). (Arnaud)</li> 12076 <li><?php bugfix(47468); ?> (enable cli|cgi-only extensions for embed sapi). (Jani)</li> 12077 <li><?php bugfix(47435); ?> (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6 addresses in the filter extension). (Ilia)</li> 12078 <li><?php bugfix(47430); ?> (Errors after writing to nodeValue parameter of an absent previousSibling). (Rob)</li> 12079 <li><?php bugfix(47365); ?> (ip2long() may allow some invalid values on certain 64bit systems). (Ilia)</li> 12080 <li><?php bugfix(47254); ?> (Wrong Reflection for extends class). (Felipe)</li> 12081 <li><?php bugfix(47042); ?> (cgi sapi is incorrectly removing SCRIPT_FILENAME). (Sriram Natarajan, David Soria Parra)</li> 12082 <li><?php bugfix(46882); ?> (Serialize / Unserialize misbehaviour under OS with different bit numbers). (Matt)</li> 12083 <li><?php bugfix(46812); ?> (get_class_vars() does not include visible private variable looking at subclass). (Arnaud)</li> 12084 <li><?php bugfix(46386); ?> (Digest authentication with SOAP module fails against MSSQL SOAP services). (Ilia, lordelph at gmail dot com)</li> 12085 <li><?php bugfix(46109); ?> (Memory leak when mysqli::init() is called multiple times). (Andrey)</li> 12086 <li><?php bugfix(45997); ?> (safe_mode bypass with exec/system/passthru (windows only)). (Pierre)</li> 12087 <li><?php bugfix(45877); ?> (Array key '2147483647' left as string). (Matt)</li> 12088 <li><?php bugfix(45822); ?> (Near infinite-loops while parsing huge relative offsets). (Derick, Mike Sullivan)</li> 12089 <li><?php bugfix(45799); ?> (imagepng() crashes on empty image). (Martin McNickle, Takeshi Abe)</li> 12090 <li><?php bugfix(45622); ?> (isset($arrayObject->p) misbehaves with ArrayObject:: ARRAY_AS_PROPS set). (robin_fernandes at uk dot ibm dot com, Arnaud)</li> 12091 <li><?php bugfix(45614); ?> (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud)</li> 12092 <li><?php bugfix(45540); ?> (stream_context_create creates bad http request). (Arnaud)</li> 12093 <li><?php bugfix(45202); ?> (zlib.output_compression can not be set with ini_set()). (Jani)</li> 12094 <li><?php bugfix(45191); ?> (error_log ignores date.timezone php.ini val when setting logging timestamps). (Derick)</li> 12095 <li><?php bugfix(45092); ?> (header HTTP context option not being used when compiled using --with-curlwrappers). (Jani)</li> 12096 <li><?php bugfix(44996); ?> (xmlrpc_decode() ignores time zone on iso8601.datetime). (Ilia, kawai at apache dot org) </li> 12097 <li><?php bugfix(44827); ?> (define() is missing error checks for class constants). (Ilia)</li> 12098 <li><?php bugfix(44214); ?> (Crash using preg_replace_callback() and global variables). (Nuno, Scott)</li> 12099 <li><?php bugfix(43073); ?> (TrueType bounding box is wrong for angle<>0). (Martin McNickle)</li> 12100 <li><?php bugfix(42663); ?> (gzinflate() try to allocate all memory with truncated data). (Arnaud)</li> 12101 <li><?php bugfix(42414); ?> (some odbc_*() functions incompatible with Oracle ODBC driver). (jhml at gmx dot net)</li> 12102 <li><?php bugfix(42362); ?> (HTTP status codes 204 and 304 should not be gzipped). (Scott, Edward Z. Yang)</li> 12103 <li><?php bugfix(42143); ?> (The constant NAN is reported as 0 on Windows) (Kanwaljeet Singla, Venkat Raman Don)</li> 12104 <li><?php bugfix(38805); ?> (PDO truncates text from SQL Server text data type field). (Steph)</li> 12105</ul> 12106<!-- }}} --></section> 12107 12108<section class="version" id="5.2.9"><!-- {{{ 5.2.9 --> 12109<h3>Version 5.2.9</h3> 12110<?php release_date('26-Feb-2009'); ?> 12111<ul> 12112 <li>Security Fixes 12113 <ul> 12114 <li>Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott)</li> 12115 <li>Fixed a crash on extract in zip when files or directories entry names contain a relative path. (Pierre)</li> 12116 <li>Fixed explode() behavior with empty string to respect negative limit. (Shire)</li> 12117 <li>Fixed a segfault when malformed string is passed to json_decode(). (Scott)</li> 12118 <li>Fixed bug in xml_error_string() which resulted in messages being off by one. (Scott)</li> 12119 </ul> 12120 </li> 12121 12122 <li>Changed __call() to be invoked on private/protected method access, similar to properties and __get(). (Andrei)</li> 12123 <li>Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR. (Andrei)</li> 12124 <li>Fixed zip filename property read. (Pierre)</li> 12125 <li>Fixed error conditions handling in stream_filter_append(). (Arnaud)</li> 12126 12127 <li><?php bugfix(47422); ?> (modulus operator returns incorrect results on 64 bit linux). (Matt)</li> 12128 <li><?php bugfix(47399); ?> (mb_check_encoding() returns true for some illegal SJIS characters). (for-bugs at hnw dot jp, Moriyoshi)</li> 12129 <li><?php bugfix(47353); ?> (crash when creating a lot of objects in object destructor). (Tony)</li> 12130 <li><?php bugfix(47322); ?> (sscanf %d doesn't work). (Felipe)</li> 12131 <li><?php bugfix(47282); ?> (FILTER_VALIDATE_EMAIL is marking valid email addresses as invalid). (Ilia)</li> 12132 <li><?php bugfix(47220); ?> (segfault in dom_document_parser in recovery mode). (Rob)</li> 12133 <li><?php bugfix(47217); ?> (content-type is not set properly for file uploads). (Ilia)</li> 12134 <li><?php bugfix(47174); ?> (base64_decode() interprets pad char in mid string as terminator). (Ilia)</li> 12135 <li><?php bugfix(47165); ?> (Possible memory corruption when passing return value by reference). (Dmitry)</li> 12136 <li><?php bugfix(47152); ?> (gzseek/fseek using SEEK_END produces strange results). (Felipe)</li> 12137 <li><?php bugfix(47131); ?> (SOAP Extension ignores "user_agent" ini setting). (Ilia)</li> 12138 <li><?php bugfix(47109); ?> (Memory leak on $a->{"a"."b"} when $a is not an object). (Etienne, Dmitry)</li> 12139 <li><?php bugfix(47104); ?> (Linking shared extensions fails with icc). (Jani)</li> 12140 <li><?php bugfix(47049); ?> (SoapClient::__soapCall causes a segmentation fault). (Dmitry)</li> 12141 <li><?php bugfix(47048); ?> (Segfault with new pg_meta_data). (Felipe)</li> 12142 <li><?php bugfix(47042); ?> (PHP cgi sapi is removing SCRIPT_FILENAME for non apache). (Sriram Natarajan)</li> 12143 <li><?php bugfix(47037); ?> (No error when using fopen with empty string). (Cristian Rodriguez R., Felipe)</li> 12144 <li><?php bugfix(47035); ?> (dns_get_record returns a garbage byte at the end of a TXT record). (Felipe)</li> 12145 <li><?php bugfix(47027); ?> (var_export doesn't show numeric indices on ArrayObject). (Derick)</li> 12146 <li><?php bugfix(46985); ?> (OVERWRITE and binary mode does not work, regression introduced in 5.2.8). (Pierre)</li> 12147 <li><?php bugfix(46973); ?> (IPv6 address filter rejects valid address). (Felipe)</li> 12148 <li><?php bugfix(46964); ?> (Fixed pdo_mysql build with older version of MySQL). (Ilia)</li> 12149 <li><?php bugfix(46959); ?> (Unable to disable PCRE). (Scott)</li> 12150 <li><?php bugfix(46918); ?> (imap_rfc822_parse_adrlist host part not filled in correctly). (Felipe)</li> 12151 <li><?php bugfix(46889); ?> (Memory leak in strtotime()). (Derick)</li> 12152 <li><?php bugfix(46887); ?> (Invalid calls to php_error_docref()). (oeriksson at mandriva dot com, Ilia)</li> 12153 <li><?php bugfix(46873); ?> (extract($foo) crashes if $foo['foo'] exists). (Arnaud)</li> 12154 <li><?php bugfix(46843); ?> (CP936 euro symbol is not converted properly). (ty_c at cybozuy dot co dot jp, Moriyoshi)</li> 12155 <li><?php bugfix(46798); ?> (Crash in mssql extension when retrieving a NULL value inside a binary or image column type). (Ilia)</li> 12156 <li><?php bugfix(46782); ?> (fastcgi.c parse error). (Matt)</li> 12157 <li><?php bugfix(46760); ?> (SoapClient doRequest fails when proxy is used). (Felipe)</li> 12158 <li><?php bugfix(46748); ?> (Segfault when an SSL error has more than one error). (Scott)</li> 12159 <li><?php bugfix(46739); ?> (array returned by curl_getinfo should contain content_type key). (Mikko)</li> 12160 <li><?php bugfix(46699); ?> (xml_parse crash when parser is namespace aware). (Rob)</li> 12161 <li><?php bugfix(46419); ?> (Elements of associative arrays with NULL value are lost). (Dmitry)</li> 12162 <li><?php bugfix(46282); ?> (Corrupt DBF When Using DATE). (arne at bukkie dot nl)</li> 12163 <li><?php bugfix(46026); ?> (bz2.decompress/zlib.inflate filter tries to decompress after end of stream). (Greg)</li> 12164 <li><?php bugfix(46005); ?> (User not consistently logged under Apache2). (admorten at umich dot edu, Stas)</li> 12165 <li><?php bugfix(45996); ?> (libxml2 2.7 causes breakage with character data in xml_parse()). (Rob)</li> 12166 <li><?php bugfix(45940); ?> (MySQLI OO does not populate connect_error property on failed connect). (Johannes)</li> 12167 <li><?php bugfix(45923); ?> (mb_st[r]ripos() offset not handled correctly). (Moriyoshi)</li> 12168 <li><?php bugfix(45327); ?> (memory leak if offsetGet throws exception). (Greg)</li> 12169 <li><?php bugfix(45239); ?> (Encoding detector hangs with mbstring.strict_detection enabled). (Moriyoshi)</li> 12170 <li><?php bugfix(45161); ?> (Reusing a curl handle leaks memory). (Mark Karpeles, Jani)</li> 12171 <li><?php bugfix(44336); ?> (Improve pcre UTF-8 string matching performance). (frode at coretrek dot com, Nuno)</li> 12172 <li><?php bugfix(43841); ?> (mb_strrpos() offset is byte count for negative values). (Moriyoshi)</li> 12173 <li><?php bugfix(37209); ?> (mssql_execute with non fatal errors). (Kalle)</li> 12174 <li><?php bugfix(35975); ?> (Session cookie expires date format isn't the most compatible. Now matches that of setcookie()). (Scott)</li> 12175 12176</ul> 12177 12178<!-- }}} --></section> 12179 12180<section class="version" id="5.2.8"><!-- {{{ 5.2.8 --> 12181<h3>Version 5.2.8</h3> 12182<?php release_date('08-Dec-2008'); ?> 12183<ul> 12184 <li>Reverted bug fix <?php bugfix(42718); ?> that broke magic_quotes_gpc (Scott)</li> 12185</ul> 12186 12187<!-- }}} --></section> 12188 12189<section class="version" id="5.2.7"><!-- {{{ 5.2.7 --> 12190<h3>Version 5.2.7</h3> 12191<?php release_date('04-Dec-2008'); ?> 12192<ul> 12193 <li>Security Fixes 12194 <ul> 12195 <li>Upgraded PCRE to version 7.8 (Fixes CVE-2008-2371) (Ilia)</li> 12196 <li>Fixed missing initialization of BG(page_uid) and BG(page_gid), reported by Maksymilian Arciemowicz. (Stas)</li> 12197 <li>Fixed incorrect php_value order for Apache configuration, reported by Maksymilian Arciemowicz. (Stas)</li> 12198 <li>Fixed a crash inside gd with invalid fonts (Fixes CVE-2008-3658). (Pierre)</li> 12199 <li>Fixed a possible overflow inside memnstr (Fixes CVE-2008-3659). (Laurent Gaffie)</li> 12200 <li>Fixed security issues detailed in CVE-2008-2665 and CVE-2008-2666. (Christian Hoffmann)</li> 12201 <li><?php bugfix(45151); ?> (Crash with URI/file..php (filename contains 2 dots)).(Fixes CVE-2008-3660) (Dmitry)</li> 12202 <li><?php bugfix(42862); ?> (IMAP toolkit crash: rfc822.c legacy routine buffer overflow). (Fixes CVE-2008-2829) (Dmitry)</li> 12203 </ul> 12204 </li> 12205 12206<li>Updated timezone database to version 2008.9. (Derick)</li> 12207<li>Upgraded bundled libzip to 0.9.0. (Pierre)</li> 12208 12209<li>Added logging option for error_log to send directly to SAPI. (Stas)</li> 12210<li>Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre)</li> 12211<li>Added "PHP_INI_SCAN_DIR" environment variable which can be used to either disable or change the compile time ini scan directory (FR <?php bugfix(45114); ?>). (Jani)</li> 12212 12213<li>Fixed memory leak inside sqlite_create_aggregate(). (Felipe)</li> 12214<li>Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method. (Felipe)</li> 12215<li>Fixed memory leak inside readline_callback_handler_remove() function. (Felipe)</li> 12216<li>Fixed sybase_fetch_*() to continue reading after CS_ROW_FAIL status (Timm)</li> 12217<li>Fixed a bug inside dba_replace() that could cause file truncation with invalid keys. (Ilia)</li> 12218<li>Fixed memory leak inside readline_callback_handler_install() function. (Ilia)</li> 12219<li>Fixed memory leak inside readline_completion_function() function. (Felipe) </li> 12220<li>Fixed stream_get_contents() when using $maxlength and socket is not closed. indeyets [at] php [dot] net on <?php bugfix(46049); ?>. (Arnaud)</li> 12221<li>Fixed stream_get_line() to behave as documented on non-blocking streams. (Arnaud)</li> 12222<li>Fixed endless loop in PDOStatement::debugDumpParams().(jonah.harris at gmail dot com)</li> 12223<li>Fixed ability to use "internal" heaps in extensions. (Arnaud, Dmitry)</li> 12224<li>Fixed weekdays adding/subtracting algorithm. (Derick)</li> 12225<li>Fixed some ambiguities in the date parser. (Derick)</li> 12226<li>Fixed a bug with the YYYY-MM format not resetting the day correctly. (Derick)</li> 12227<li>Fixed a bug in the DateTime->modify() methods, it would not use the advanced relative time strings. (Derick)</li> 12228<li>Fixed extraction of zip files or directories when the entry name is a relative path. (Pierre)</li> 12229<li>Fixed read or write errors for large zip archives. (Pierre)</li> 12230<li>Fixed simplexml asXML() not to lose encoding when dumping entire document to file. (Ilia)</li> 12231<li>Fixed a crash inside PDO when trying instantiate PDORow manually. (Felipe)</li> 12232<li>Fixed build failure of ext/mysqli with libmysql 6.0 - missing rpl functions. (Andrey)</li> 12233<li>Fixed a regression when using strip_tags() and < is within an attribute. (Scott)</li> 12234<li>Fixed a crash on invalid method in ReflectionParameter constructor. (Christian Seiler)</li> 12235<li>Reverted fix for bug <?php bugfix(44197); ?> due to behaviour change in minor version. (Felipe)</li> 12236 12237<li><?php bugfix(46732); ?> (mktime.year description is wrong). (Derick)</li> 12238<li><?php bugfix(46696); ?> (cURL fails in upload files with specified content-type). (Ilia)</li> 12239<li><?php bugfix(46673); ?> (stream_lock call with wrong parameter). (Arnaud)</li> 12240<li><?php bugfix(46649); ?> (Setting array element with that same array produces inconsistent results). (Arnaud)</li> 12241<li><?php bugfix(46626); ?> (mb_convert_case does not handle apostrophe correctly). (Ilia)</li> 12242<li><?php bugfix(46543); ?> (ibase_trans() memory leaks when using wrong parameters). (Felipe)</li> 12243<li><?php bugfix(46521); ?> (Curl ZTS OpenSSL, error in config.m4 fragment). (jd at cpanel dot net)</li> 12244<li><?php bugfix(46496); ?> (wddx_serialize treats input as ISO-8859-1). (Mark Karpeles)</li> 12245<li><?php bugfix(46427); ?> (SoapClient() stumbles over its "stream_context" parameter). (Dmitry, Herman Radtke)</li> 12246<li><?php bugfix(46426); ?> (offset parameter of stream_get_contents() does not workfor "0"). (Felipe)</li> 12247<li><?php bugfix(46406); ?> (Unregistering nodeclass throws E_FATAL). (Rob)</li> 12248<li><?php bugfix(46389); ?> (NetWare needs small patch for _timezone). (patch by guenter@php.net)</li> 12249<li><?php bugfix(46388); ?> (stream_notification_callback inside of object destroys object variables). (Felipe)</li> 12250<li><?php bugfix(46381); ?> (wrong $this passed to internal methods causes segfault). (Tony)</li> 12251<li><?php bugfix(46379); ?> (Infinite loop when parsing '#' in one line file). (Arnaud)</li> 12252<li><?php bugfix(46366); ?> (bad cwd with / as pathinfo). (Dmitry)</li> 12253<li><?php bugfix(46360); ?> (TCP_NODELAY constant for socket_{get,set}_option). (bugs at trick dot vanstaveren dot us)</li> 12254<li><?php bugfix(46343); ?> (IPv6 address filter accepts invalid address). (Ilia)</li> 12255<li><?php bugfix(46335); ?> (DOMText::splitText doesn't handle multibyte characters). (Rob)</li> 12256<li><?php bugfix(46323); ?> (compilation of simplexml for NetWare breaks). (Patch by guenter@php.net)</li> 12257<li><?php bugfix(46319); ?> (PHP sets default Content-Type header for HTTP 304 response code, in cgi sapi). (Ilia)</li> 12258<li><?php bugfix(46313); ?> (Magic quotes broke $_FILES). (Arnaud)</li> 12259<li><?php bugfix(46308); ?> (Invalid write when changing property from inside getter). (Dmitry)</li> 12260<li><?php bugfix(46292); ?> (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE). (Felipe)</li> 12261<li>Fixed bugs <?php bugl(46274); ?>, <?php bugl(46249); ?> (pdo_pgsql always fill in NULL for empty BLOB and segfaults when returned by SELECT). (Felipe)</li> 12262<li><?php bugfix(46271); ?> (local_cert option is not resolved to full path). (Ilia)</li> 12263<li><?php bugfix(46247); ?> (ibase_set_event_handler() is allowing to pass callback without event). (Felipe)</li> 12264<li><?php bugfix(46246); ?> (difference between call_user_func(array($this, $method))and $this->$method()). (Dmitry)</li> 12265<li><?php bugfix(46222); ?> (ArrayObject EG(uninitialized_var_ptr) overwrite). (Etienne)</li> 12266<li><?php bugfix(46215); ?> (json_encode mutates its parameter and has some class-specific state). (Felipe)</li> 12267<li><?php bugfix(46206); ?> (pg_query_params/pg_execute convert passed values to strings). (Ilia)</li> 12268<li><?php bugfix(46191); ?> (BC break: DOMDocument saveXML() doesn't accept null). (Rob)</li> 12269<li><?php bugfix(46164); ?> (stream_filter_remove() closes the stream). (Arnaud)</li> 12270<li><?php bugfix(46157); ?> (PDOStatement::fetchObject prototype error). (Felipe)</li> 12271<li><?php bugfix(46147); ?> (after stream seek, appending stream filter reads incorrect data). (Greg)</li> 12272<li><?php bugfix(46139); ?> (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE). (chsc at peytz dot dk, Felipe)</li> 12273<li><?php bugfix(46127); ?> (php_openssl_tcp_sockop_accept forgets to set context on accepted stream). (Mark Karpeles, Pierre)</li> 12274<li><?php bugfix(46110); ?> (XMLWriter - openmemory() and openuri() leak memory on multiple calls). (Ilia)</li> 12275<li><?php bugfix(46088); ?> (RegexIterator::accept - segfault). (Felipe)</li> 12276<li><?php bugfix(46082); ?> (stream_set_blocking() can cause a crash in some circumstances). (Felipe)</li> 12277<li><?php bugfix(46064); ?> (Exception when creating ReflectionProperty object on dynamicly created property). (Felipe)</li> 12278<li><?php bugfix(46059); ?> (Compile failure under IRIX 6.5.30 building posix.c). (Arnaud)</li> 12279<li><?php bugfix(46053); ?> (SplFileObject::seek - Endless loop). (Arnaud)</li> 12280<li><?php bugfix(46051); ?> (SplFileInfo::openFile - memory overlap). (Arnaud)</li> 12281<li><?php bugfix(46047); ?> (SimpleXML converts empty nodes into object with nested array). (Rob)</li> 12282<li><?php bugfix(46031); ?> (Segfault in AppendIterator::next). (Arnaud)</li> 12283<li><?php bugfix(46029); ?> (Segfault in DOMText when using with Reflection). (Rob)</li> 12284<li><?php bugfix(46026); ?> (bzip2.decompress/zlib.inflate filter tries to decompress after end of stream). (Keisial at gmail dot com, Greg)</li> 12285<li><?php bugfix(46024); ?> (stream_select() doesn't return the correct number).(Arnaud)</li> 12286<li><?php bugfix(46010); ?> (warnings incorrectly generated for iv in ecb mode). (Felipe)</li> 12287<li><?php bugfix(46003); ?> (isset on nonexisting node return unexpected results). (Rob)</li> 12288<li><?php bugfix(45956); ?> (parse_ini_file() does not return false with syntax errors in parsed file). (Jani)</li> 12289<li><?php bugfix(45901); ?> (wddx_serialize_value crash with SimpleXMLElement object).(Rob)</li> 12290<li><?php bugfix(45862); ?> (get_class_vars is inconsistent with 'protected' and 'private' variables). (ilewis at uk dot ibm dot com, Felipe)</li> 12291<li><?php bugfix(45860); ?> (header() function fails to correctly replace all Status lines). (Dmitry)</li> 12292<li><?php bugfix(45805); ?> (Crash on throwing exception from error handler). (Dmitry)</li> 12293<li><?php bugfix(45765); ?> (ReflectionObject with default parameters of self::xxx cause an error). (Felipe)</li> 12294<li><?php bugfix(45751); ?> (Using auto_prepend_file crashes (out of scope stack address use)). (basant dot kukreja at sun dot com) </li> 12295<li><?php bugfix(45722); ?> (mb_check_encoding() crashes). (Moriyoshi)</li> 12296<li><?php bugfix(45705); ?> (rfc822_parse_adrlist() modifies passed address parameter). (Jani)</li> 12297<li><?php bugfix(45691); ?> (Some per-dir or runtime settings may leak into other requests). (Moriyoshi)</li> 12298<li><?php bugfix(45581); ?> (htmlspecialchars() double encoding &#x hex items). (Arnaud)</li> 12299<li><?php bugfix(45580); ?> (levenshtein() crashes with invalid argument). (Ilia)</li> 12300<li><?php bugfix(45575); ?> (Segfault with invalid non-string as event handler callback). (Christian Seiler)</li> 12301<li><?php bugfix(45568); ?> (ISAPI doesn't properly clear auth_digest in header). (Patch by: navara at emclient dot com)</li> 12302<li><?php bugfix(45556); ?> (Return value from callback isn't freed). (Felipe)</li> 12303<li><?php bugfix(45555); ?> (Segfault with invalid non-string as register_introspection_callback). (Christian Seiler)</li> 12304<li><?php bugfix(45553); ?> (Using XPath to return values for attributes with a namespace does not work). (Rob)</li> 12305<li><?php bugfix(45529); ?> (new DateTimeZone() and date_create()->getTimezone() behave different). (Derick)</li> 12306<li><?php bugfix(45522); ?> (FCGI_GET_VALUES request does not return supplied values). (Arnaud)</li> 12307<li><?php bugfix(45486); ?> (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect). (Felipe)</li> 12308<li><?php bugfix(45485); ?> (strip_tags and <?XML tag). (Felipe)</li> 12309<li><?php bugfix(45460); ?> (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024). (Felipe, andrew at lifescale dot com)</li> 12310<li><?php bugfix(45449); ?> (filesize() regression using ftp wrapper). (crrodriguez at suse dot de)</li> 12311<li><?php bugfix(45423); ?> (fastcgi parent process doesn't invoke php_module_shutdown before shutdown). (basant dot kukreja at sun dot com)</li> 12312<li><?php bugfix(45406); ?> (session.serialize_handler declared by shared extension fails). (Kalle, oleg dot grenrus at dynamoid dot com)</li> 12313<li><?php bugfix(45405); ?> (snmp extension memory leak). (Federico Cuello, Rodrigo Campos)</li> 12314<li><?php bugfix(45392); ?> (ob_start()/ob_end_clean() and memory_limit). (Arnaud)</li> 12315<li><?php bugfix(45382); ?> (timeout bug in stream_socket_enable_crypto). (Ilia)</li> 12316<li><?php bugfix(45373); ?> (php crash on query with errors in params). (Felipe)</li> 12317<li><?php bugfix(45352); ?> (Segmentation fault because of tick function on second request). (Dmitry)</li> 12318<li><?php bugfix(45312); ?> (Segmentation fault on second request for array functions). (Dmitry)</li> 12319<li><?php bugfix(45303); ?> (Opening php:// wrapper in append mode results in a warning). (Arnaud)</li> 12320<li><?php bugfix(45251); ?> (double free or corruption with setAttributeNode()). (Rob)</li> 12321<li>Fixed bugs <?php bugl(45226); ?>, <?php bugl(18916); ?> (xmlrpc_set_type() segfaults and wrong behavior with valid ISO8601 date string). (Jeff Lawsons)</li> 12322<li><?php bugfix(45220); ?> (curl_read callback returns -1 when needs to return size_t (unsigned)). (Felipe)</li> 12323<li><?php bugfix(45181); ?> (chdir() should clear relative entries in stat cache). (Arnaud)</li> 12324<li><?php bugfix(45178); ?> (memory corruption on assignment result of "new" by reference). (Dmitry)</li> 12325<li><?php bugfix(45166); ?> (substr() overflow changes). (Felipe)</li> 12326<li><?php bugfix(45139); ?> (ReflectionProperty returns incorrect declaring class).(Felipe)</li> 12327<li><?php bugfix(45124); ?> ($_FILES['upload']['size'] sometimes return zero and sometimes the filesize). (Arnaud)</li> 12328<li><?php bugfix(45028); ?> (CRC32 output endianness is different between crc32() and hash()). (Tony)</li> 12329<li><?php bugfix(45004); ?> (pg_insert() does not accept 4 digit timezone format). (Ilia)</li> 12330<li><?php bugfix(44991); ?> (Compile Failure With freetds0.82). (jklowden at freetds dot org, matthias at dsx dot at)</li> 12331<li><?php bugfix(44938); ?> (gettext functions crash with overly long domain). (Christian Schneider, Ilia)</li> 12332<li><?php bugfix(44925); ?> (preg_grep() modifies input array). (Nuno)</li> 12333<li><?php bugfix(44900); ?> (OpenSSL extension fails to link with OpenSSL 0.9.6). (jd at cpanel dot net, Pierre)</li> 12334<li><?php bugfix(44891); ?> Memory leak using registerPHPFunctions and XSLT Variable as function parameter. (Rob)</li> 12335<li><?php bugfix(44882); ?> (SOAP extension object decoding bug). (Dmitry)</li> 12336<li><?php bugfix(44830); ?> (Very minor issue with backslash in heredoc). (Matt)</li> 12337<li><?php bugfix(44818); ?> (php://memory writeable when opened read only). (Arnaud)</li> 12338<li><?php bugfix(44811); ?> (Improve error message when creating a new SoapClient that contains invalid data). (Markus Fischer, David C)</li> 12339<li><?php bugfix(44798); ?> (Memory leak assigning value to attribute). (Ilia)</li> 12340<li><?php bugfix(44716); ?> (Progress notifications incorrect). (Hannes)</li> 12341<li><?php bugfix(44712); ?> (stream_context_set_params segfaults on invalid arguments). (Hannes)</li> 12342<li><?php bugfix(44617); ?> (wrong HTML entity output when substitute_character=entity). (Moriyoshi)</li> 12343<li><?php bugfix(44607); ?> (stream_get_line unable to correctly identify the "ending" in the stream content). (Arnaud)</li> 12344<li><?php bugfix(44425); ?> (Extending PDO/MySQL class with a __call() function doesn'twork). (Johannes)</li> 12345<li><?php bugfix(44327); ?> (PDORow::queryString property & numeric offsets / Crash). (Felipe)</li> 12346<li>Fixed bugs <?php bugl(44251); ?>, <?php bugl(41125); ?> (PDO + quote() + prepare() can result in segfault). (tsteiner at nerdclub dot net)</li> 12347<li><?php bugfix(44246); ?> (closedir() accepts a file resource opened by fopen()). (Dmitry, Tony)</li> 12348<li><?php bugfix(44182); ?> (extract($a, EXTR_REFS) can fail to split copy-on-write references). (robin_fernandes at uk dot ibm dot com)</li> 12349<li><?php bugfix(44181); ?> (extract($a, EXTR_OVERWRITE|EXTR_REFS) can fail to create references to $a). (robin_fernandes at uk dot ibm dot com)</li> 12350<li><?php bugfix(44127); ?> (UNIX abstract namespace socket connect does not work). (Jani)</li> 12351<li><?php bugfix(43993); ?> (mb_substr_count() behaves differently to substr_count() with overlapping needles). (Moriyoshi)</li> 12352<li><?php bugfix(43958); ?> (class name added into the error message). (Dmitry)</li> 12353<li><?php bugfix(43941); ?> (json_encode silently cuts non-UTF8 strings). (Stas)</li> 12354<li><?php bugfix(43925); ?> (Incorrect argument counter in prepared statements with pgsql). (Felipe)</li> 12355<li><?php bugfix(43731); ?> (socket_getpeername: cannot use on stdin with inetd). (Arnaud)</li> 12356<li><?php bugfix(43723); ?> (SOAP not sent properly from client for <choice>). (Dmitry)</li> 12357<li><?php bugfix(43668); ?> (Added odbc.default_cursortype to control the ODBCcursor model). (Patrick)</li> 12358<li><?php bugfix(43666); ?> (Fixed code to use ODBC 3.52 datatypes for 64bit systems). (Patrick)</li> 12359<li><?php bugfix(43540); ?> (rfc1867 handler newlength problem). (Arnaud)</li> 12360<li><?php bugfix(43452); ?> (strings containing a weekday, or a number plus weekday behaved incorrect of the current day-of-week was the same as the one in the phrase).(Derick)</li> 12361<li><?php bugfix(43353); ?> (wrong detection of 'data' wrapper causes notice). (gk at gknw dot de, Arnaud)</li> 12362<li><?php bugfix(43053); ?> (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)</li> 12363<li><?php bugfix(43045); ?> (SOAP encoding violation on "INF" for type double/float). (Dmitry)</li> 12364<li><?php bugfix(42855); ?> (dns_get_record() doesn't return all text from TXT record). (a dot u dot savchuk at gmail dot com)</li> 12365<li><?php bugfix(42737); ?> (preg_split('//u') triggers a E_NOTICE with newlines). (Nuno)</li> 12366<li><?php bugfix(42718); ?> (FILTER_UNSAFE_RAW not applied when configured as default filter). (Arnaud)</li> 12367<li><?php bugfix(42604); ?> ("make test" fails with --with-config-file-scan-dir=path). (Jani)</li> 12368<li><?php bugfix(42473); ?> (ob_start php://output and headers). (Arnaud)</li> 12369<li><?php bugfix(42318); ?> (problem with nm on AIX, not finding object files). (Dmitry)</li> 12370<li><?php bugfix(42294); ?> (Unified solution for round() based on C99 round). (Ilia)</li> 12371<li><?php bugfix(42078); ?> (pg_meta_data mix tables metadata from different schemas). (Felipe)</li> 12372<li><?php bugfix(41348); ?> (OCI8: allow compilation with Oracle 8.1). (Chris Jones)</li> 12373<li><?php bugfix(41033); ?> (enable signing with DSA keys. (gordyf at google dot com, Pierre)</li> 12374<li><?php bugfix(37100); ?> (data is returned truncated with BINARY CURSOR). (Tony)</li> 12375<li><?php bugfix(30312); ?> (crash in sybase_unbuffered_query() function). (Timm)</li> 12376<li><?php bugfix(24679); ?> (pg_* functions doesn't work using schema). (Felipe)</li> 12377<li><?php peclbugfix(14962); ?> (::extractTo 2nd argument is not really optional). (Mark van Der Velden)</li> 12378<li><?php bugfix(14032); ?> (Mail() always returns false but mail is sent). (Mikko)</li> 12379 12380</ul> 12381 12382<!-- }}} --></section> 12383 12384<section class="version" id="5.2.6"><!-- {{{ 5.2.6 --> 12385<h3>Version 5.2.6</h3> 12386<?php release_date('01-May-2008'); ?> 12387<ul> 12388 <li>Security Fixes 12389 <ul> 12390 <li>Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)</li> 12391 <li>Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, Stefan Esser)</li> 12392 <li>Fixed security issue detailed in CVE-2008-0599. (Rasmus)</li> 12393 <li>Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. (Ilia)</li> 12394 <li>Upgraded PCRE to version 7.6 (Nuno)</li> 12395 </ul> 12396 </li> 12397<li>Fixed two possible crashes inside posix extension (Tony)</li> 12398<li>Fixed incorrect heredoc handling when label is used within the block. (Matt)</li> 12399<li>Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin)</li> 12400<li>Fixed a bug in formatting timestamps when DST is active in the default timezone (Derick)</li> 12401<li>Fix integer overflow in printf(). (Stas, Maksymilian Aciemowicz)</li> 12402<li>Fixed potential memleak in stream filter parameter for zlib filter. (Greg)</li> 12403<li>Added Reflection API metadata for the methods of the DOM classes. (Sebastian)</li> 12404<li>Fixed weird behavior in CGI parameter parsing. (Dmitry, Hannes Magnusson)</li> 12405<li>Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by which to group by data is specified. (Ilia)</li> 12406<li>Fixed segfault in filter extension when using callbacks. (Arnar Mar Sig, Felipe)</li> 12407<li>Fixed faulty fix for bug <?php bugfix(40189); ?> (endless loop in zlib.inflate stream filter). (Greg)</li> 12408 12409<li><?php bugfix(44742); ?> (timezone_offset_get() causes segmentation faults). (Derick)</li> 12410<li><?php bugfix(44720); ?> (Prevent crash within session_register()). (Scott)</li> 12411<li><?php bugfix(44703); ?> (htmlspecialchars() does not detect bad character set argument). (Andy Wharmby)</li> 12412<li><?php bugfix(44673); ?> (With CGI argv/argc starts from arguments, not from script) (Dmitry)</li> 12413<li><?php bugfix(44667); ?> (proc_open() does not handle pipes with the mode 'wb' correctly). (Jani)</li> 12414<li><?php bugfix(44663); ?> (Crash in imap_mail_compose if "body" parameter invalid). (Ilia)</li> 12415<li><?php bugfix(44650); ?> (escapeshellscmd() does not check arg count). (Ilia)</li> 12416<li><?php bugfix(44613); ?> (Crash inside imap_headerinfo()). (Ilia, jmessa)</li> 12417<li><?php bugfix(44603); ?> (Order issues with Content-Type/Length headers on POST). (Ilia)</li> 12418<li><?php bugfix(44594); ?> (imap_open() does not validate # of retries parameter). (Ilia)</li> 12419<li><?php bugfix(44591); ?> (imagegif's filename parameter). (Felipe)</li> 12420<li><?php bugfix(44557); ?> (Crash in imap_setacl when supplied integer as username) (Thomas Jarosch)</li> 12421<li><?php bugfix(44487); ?> (call_user_method_array issues a warning when throwing an exception). (David Soria Parra)</li> 12422<li><?php bugfix(44478); ?> (Inconsistent behaviour when assigning new nodes). (Rob, Felipe)</li> 12423<li><?php bugfix(44445); ?> (email validator does not handle domains starting/ending with a -). (Ilia)</li> 12424<li><?php bugfix(44440); ?> (st_blocks undefined under BeOS). (Felipe)</li> 12425<li><?php bugfix(44394); ?> (Last two bytes missing from output). (Felipe)</li> 12426<li><?php bugfix(44388); ?> (Crash inside exif_read_data() on invalid images) (Ilia)</li> 12427<li><?php bugfix(44373); ?> (PDO_OCI extension compile failed). (Felipe)</li> 12428<li><?php bugfix(44333); ?> (SEGFAULT when using mysql_pconnect() with client_flags). (Felipe)</li> 12429<li><?php bugfix(44306); ?> (Better detection of MIPS processors on Windows). (Ilia)</li> 12430<li><?php bugfix(44242); ?> (metaphone('CMXFXM') crashes PHP). (Felipe)</li> 12431<li><?php bugfix(44233); ?> (MSG_PEEK undefined under BeOS R5). (jonathonfreeman at gmail dot com, Ilia)</li> 12432<li><?php bugfix(44216); ?> (strftime segfaults on large negative value). (Derick)</li> 12433<li><?php bugfix(44209); ?> (strtotime() doesn't support 64 bit timestamps on 64 bit platforms). (Derick)</li> 12434<li><?php bugfix(44206); ?> (OCI8 selecting ref cursors leads to ORA-1000 maximum open cursors reached). (Oracle Corp.)</li> 12435<li><?php bugfix(44200); ?> (A crash in PDO when no bound targets exists and yet bound parameters are present). (Ilia)</li> 12436<li><?php bugfix(44197); ?> (socket array keys lost on socket_select). (Felipe)</li> 12437<li><?php bugfix(44191); ?> (preg_grep messes up array index). (Felipe)</li> 12438<li><?php bugfix(44189); ?> (PDO setAttribute() does not properly validate values for native numeric options). (Ilia)</li> 12439<li><?php bugfix(44184); ?> (Double free of loop-variable on exception). (Dmitry)</li> 12440<li><?php bugfix(44171); ?> (Invalid FETCH_COLUMN index does not raise an error). (Ilia)</li> 12441<li><?php bugfix(44166); ?> (Parameter handling flaw in PDO::getAvailableDrivers()). (Ilia)</li> 12442<li><?php bugfix(44159); ?> (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)). (Felipe)</li> 12443<li><?php bugfix(44152); ?> (Possible crash with syslog logging on ZTS builds). (Ilia)</li> 12444<li><?php bugfix(44141); ?> (private parent constructor callable through static function). (Dmitry)</li> 12445<li><?php bugfix(44113); ?> (OCI8 new collection creation can fail with OCI-22303). (Oracle Corp.)</li> 12446<li><?php bugfix(44069); ?> (Huge memory usage with concatenation using . instead of .=). (Dmitry)</li> 12447<li><?php bugfix(44046); ?> (crash inside array_slice() function with an invalid by-ref offset). (Ilia)</li> 12448<li><?php bugfix(44028); ?> (crash inside stream_socket_enable_crypto() when enabling encryption without crypto type). (Ilia)</li> 12449<li><?php bugfix(44018); ?> (RecursiveDirectoryIterator options inconsistancy). (Marcus)</li> 12450<li><?php bugfix(44008); ?> (OCI8 incorrect usage of OCI-Lob->close crashes PHP). (Oracle Corp.)</li> 12451<li><?php bugfix(43998); ?> (Two error messages returned for incorrect encoding for mb_strto[upper|lower]). (Rui)</li> 12452<li><?php bugfix(43994); ?> (mb_ereg 'successfully' matching incorrect). (Rui)</li> 12453<li><?php bugfix(43954); ?> (Memory leak when sending the same HTTP status code multiple times). (Scott)</li> 12454<li><?php bugfix(43927); ?> (koi8r is missing from html_entity_decode()). (andy at demos dot su, Tony)</li> 12455<li><?php bugfix(43912); ?> (Interbase column names are truncated to 31 characters). (Ilia)</li> 12456<li><?php bugfix(43875); ?> (Two error messages returned for $new and $flag argument in mysql_connect()). (Hannes)</li> 12457<li><?php bugfix(43863); ?> (str_word_count() breaks on cyrillic "ya" in locale cp1251). (phprus at gmail dot com, Tony)</li> 12458<li><?php bugfix(43841); ?> (mb_strrpos offset is byte count for negative values). (Rui)</li> 12459<li><?php bugfix(43840); ?> (mb_strpos bounds check is byte count rather than a character count). (Rui)</li> 12460<li><?php bugfix(43808); ?> (date_create never fails (even when it should)). (Derick)</li> 12461<li><?php bugfix(43793); ?> (zlib filter is unable to auto-detect gzip/zlib file headers). (Greg)</li> 12462<li><?php bugfix(43703); ?> (Signature compatibility check broken). (Dmitry)</li> 12463<li><?php bugfix(43677); ?> (Inconsistent behaviour of include_path set with php_value). (manuel at mausz dot at)</li> 12464<li><?php bugfix(43663); ?> (Extending PDO class with a __call() function doesn't work). (David Soria Parra)</li> 12465<li><?php bugfix(43647); ?> (Make FindFile use PATH_SEPARATOR instead of ";"). (Ilia)</li> 12466<li><?php bugfix(43635); ?> (mysql extension ingores INI settings on NULL values passed to mysql_connect()). (Ilia)</li> 12467<li><?php bugfix(43620); ?> (Workaround for a bug inside libcurl 7.16.2 that can result in a crash). (Ilia)</li> 12468<li><?php bugfix(43614); ?> (incorrect processing of numerical string keys of array in arbitrary serialized data). (Dmitriy Buldakov, Felipe)</li> 12469<li><?php bugfix(43606); ?> (define missing depencies of the exif extension). (crrodriguez at suse dot de)</li> 12470<li><?php bugfix(43589); ?> (a possible infinite loop in bz2_filter.c). (Greg)</li> 12471<li><?php bugfix(43580); ?> (removed bogus declaration of a non-existent php_is_url() function). (Ilia)</li> 12472<li><?php bugfix(43559); ?> (array_merge_recursive() doesn't behave as expected with duplicate NULL values). (Felipe, Tony)</li> 12473<li><?php bugfix(43533); ?> (escapeshellarg('') returns null). (Ilia)</li> 12474<li><?php bugfix(43527); ?> (DateTime created from a timestamp reports environment timezone). (Derick)</li> 12475<li><?php bugfix(43522); ?> (stream_get_line() eats additional characters). (Felipe, Ilia, Tony)</li> 12476<li><?php bugfix(43507); ?> (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status). (Dmitry)</li> 12477<li><?php bugfix(43505); ?> (Assign by reference bug). (Dmitry)</li> 12478<li><?php bugfix(43498); ?> (file_exists() on a proftpd server got SIZE not allowed in ASCII mode). (Ilia, crrodriguez at suse dot de)</li> 12479<li><?php bugfix(43497); ?> (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory). (Chris)</li> 12480<li><?php bugfix(43495); ?> (array_merge_recursive() crashes with recursive arrays). (Ilia)</li> 12481<li><?php bugfix(43493); ?> (pdo_pgsql does not send username on connect when password is not available). (Ilia)</li> 12482<li><?php bugfix(43491); ?> (Under certain conditions, file_exists() never returns). (Dmitry)</li> 12483<li><?php bugfix(43483); ?> (get_class_methods() does not list all visible methods). (Dmitry)</li> 12484<li><?php bugfix(43482); ?> (array_pad() does not warn on very small pad numbers). (Ilia)</li> 12485<li><?php bugfix(43457); ?> (Prepared statement with incorrect parms doesn't throw exception with pdo_pgsql driver). (Ilia)</li> 12486<li><?php bugfix(43450); ?> (Memory leak on some functions with implicit object __toString() call). (David C.)</li> 12487<li><?php bugfix(43386); ?> (array_globals not reset to 0 properly on init). (Ilia)</li> 12488<li><?php bugfix(43377); ?> (PHP crashes with invalid argument for DateTimeZone). (Ilia)</li> 12489<li><?php bugfix(43373); ?> (pcntl_fork() should not raise E_ERROR on error). (Ilia)</li> 12490<li><?php bugfix(43364); ?> (recursive xincludes don't remove internal xml nodes properly). (Rob, patch from ddb@bitxtender.de)</li> 12491<li><?php bugfix(43301); ?> (mb_ereg*_replace() crashes when replacement string is invalid PHP expression and 'e' option is used). (Jani)</li> 12492<li><?php bugfix(43295); ?> (crash because of uninitialized SG(sapi_headers).mimetype). (Dmitry)</li> 12493<li><?php bugfix(43293); ?> (Multiple segfaults in getopt()). (Hannes)</li> 12494<li><?php bugfix(43279); ?> (pg_send_query_params() converts all elements in 'params' to strings). (Ilia)</li> 12495<li><?php bugfix(43276); ?> (Incomplete fix for bug <?php bugl(42739); ?>, mkdir() under safe_mode). (Ilia)</li> 12496<li><?php bugfix(43248); ?> (backward compatibility break in realpath()). (Dmitry)</li> 12497<li><?php bugfix(43221); ?> (SimpleXML adding default namespace in addAttribute). (Rob)</li> 12498<li><?php bugfix(43216); ?> (stream_is_local() returns false on "file://"). (Dmitry)</li> 12499<li><?php bugfix(43201); ?> (Crash on using uninitialized vals and __get/__set). (Dmitry)</li> 12500<li><?php bugfix(43182); ?> (file_put_contents() LOCK_EX does not work properly on file truncation). (Ilia)</li> 12501<li><?php bugfix(43175); ?> (__destruct() throwing an exception with __call() causes segfault). (Dmitry)</li> 12502<li><?php bugfix(43128); ?> (Very long class name causes segfault). (Dmitry)</li> 12503<li><?php bugfix(43105); ?> (PHP seems to fail to close open files). (Hannes)</li> 12504<li><?php bugfix(43092); ?> (curl_copy_handle() crashes with > 32 chars long URL). (Jani)</li> 12505<li><?php bugfix(43003); ?> (Invalid timezone reported for DateTime objects constructed using a timestamp). (Derick)</li> 12506<li><?php bugfix(42978); ?> (mismatch between number of bound params and values causes a crash in pdo_pgsql). (Ilia)</li> 12507<li><?php bugfix(42945); ?> (preg_split() swallows part of the string). (Nuno)</li> 12508<li><?php bugfix(42937); ?> (__call() method not invoked when methods are called on parent from child class). (Dmitry)</li> 12509<li><?php bugfix(42841); ?> (REF CURSOR and oci_new_cursor() crash PHP). (Chris)</li> 12510<li><?php bugfix(42838); ?> (Wrong results in array_diff_uassoc) (Felipe)</li> 12511<li><?php bugfix(42779); ?> (Incorrect forcing from HTTP/1.0 request to HTTP/1.1 response). (Ilia)</li> 12512<li><?php bugfix(42736); ?> (xmlrpc_server_call_method() crashes). (Tony)</li> 12513<li><?php bugfix(42692); ?> (Procedure 'int1' not present with doc/lit SoapServer). (Dmitry)</li> 12514<li><?php bugfix(42548); ?> (mysqli PROCEDURE calls can't return result sets). (Hartmut)</li> 12515<li><?php bugfix(42505); ?> (new sendmail default breaks on Netware platform) (Guenter Knauf)</li> 12516<li><?php bugfix(42369); ?> (Implicit conversion to string leaks memory). (David C., Rob).</li> 12517<li><?php bugfix(42272); ?> (var_export() incorrectly escapes char(0)). (Derick)</li> 12518<li><?php bugfix(42261); ?> (Incorrect lengths for date and boolean data types). (Ilia)</li> 12519<li><?php bugfix(42190); ?> (Constructing DateTime with TimeZone Indicator invalidates DateTimeZone). (Derick)</li> 12520<li><?php bugfix(42177); ?> (Warning "array_merge_recursive(): recursion detected" comes again...). (Felipe)</li> 12521<li><?php bugfix(41941); ?> (oci8 extension not lib64 savvy). (Chris)</li> 12522<li><?php bugfix(41828); ?> (Failing to call RecursiveIteratorIterator::__construct() causes a sefault). (Etienne)</li> 12523<li><?php bugfix(41599); ?> (setTime() fails after modify() is used). (Derick)</li> 12524<li><?php bugfix(41562); ?> (SimpleXML memory issue). (Rob)</li> 12525<li><?php bugfix(40013); ?> (php_uname() does not return nodename on Netware (Guenter Knauf)</li> 12526<li><?php bugfix(38468); ?> (Unexpected creation of cycle). (Dmitry)</li> 12527<li><?php bugfix(32979); ?> (OpenSSL stream->fd casts broken in 64-bit build) (stotty at tvnet dot hu)</li> 12528 12529</ul> 12530 12531<!-- }}} --></section> 12532 12533<section class="version" id="5.2.5"><!-- {{{ 5.2.5 --> 12534<h3>Version 5.2.5</h3> 12535<?php release_date('08-Nov-2007'); ?> 12536<ul> 12537 <li>Security Fixes 12538 <ul> 12539 <li>Fixed dl() to only accept filenames. reported by Laurent Gaffie.</li> 12540 <li>Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887).</li> 12541 <li>Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences.</li> 12542 <li>Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions. Reported by Laurent Gaffie.</li> 12543 <li>Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications reported by SecurityReason.</li> 12544 <li><?php bugfix(42869); ?> (automatic session id insertion adds sessions id to non-local forms).</li> 12545 <li><?php bugfix(41561); ?> (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()).</li> 12546 </ul> 12547 </li> 12548 12549<li>Upgraded PCRE to version 7.3 (Nuno)</li> 12550<li>Added optional parameter $provide_object to debug_backtrace(). (Sebastian)</li> 12551<li>Added alpha support for imagefilter() IMG_FILTER_COLORIZE. (Pierre)</li> 12552<li>Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable. (Dmitry)</li> 12553 12554<li>Improved speed of array_intersect_key(), array_intersect_assoc(), array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and array_udiff_assoc(). (Dmitry)</li> 12555 12556<li>Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK. (Andrew Sitnikov)</li> 12557<li>Fixed possible crash in ext/soap because of uninitialized value. (Zdash Urf)</li> 12558<li>Fixed regression in glob() when enforcing safe_mode/open_basedir checks on paths containing '*'. (Ilia)</li> 12559<li>Fixed PDO crash when driver returns empty LOB stream. (Stas)</li> 12560<li>Fixed iconv_*() functions to limit argument sizes as workaround to libc bug (CVE-2007-4783, CVE-2007-4840 by Laurent Gaffie). (Christian Hoffmann, Stas)</li> 12561<li>Fixed missing brackets leading to build warning and error in the log. Win32 code. (Andrey)</li> 12562<li>Fixed leaks with multiple connects on one mysqli object. (Andrey)</li> 12563<li>Fixed endianness detection on MacOS when building universal binary. (Uwe Schindler, Christian Speich, Tony)</li> 12564<li>Fixed imagerectangle regression with 1x1 rectangle (libgd #106). (Pierre)</li> 12565 12566<li><?php bugfix(43196); ?> (array_intersect_assoc() crashes with non-array input). (Jani)</li> 12567<li><?php bugfix(43139); ?> (PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll()). (Ilia)</li> 12568<li><?php bugfix(43137); ?> (rmdir() and rename() do not clear statcache). (Jani)</li> 12569<li><?php bugfix(43130); ?> (Bound parameters cannot have - in their name). (Ilia)</li> 12570<li><?php bugfix(43099); ?> (XMLWriter::endElement() does not check # of params). (Ilia)</li> 12571<li><?php bugfix(43020); ?> (Warning message is missing with shuffle() and more than one argument). (Scott)</li> 12572<li><?php bugfix(42976); ?> (Crash when constructor for newInstance() or newInstanceArgs() fails) (Ilia)</li> 12573<li><?php bugfix(42943); ?> (ext/mssql: Move *timeout initialization from RINIT to connect time). (Ilia)</li> 12574<li><?php bugfix(42917); ?> (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode). (Ilia)</li> 12575<li><?php bugfix(42890); ?> (Constant "LIST" defined by mysqlclient and c-client). (Andrey)</li> 12576<li><?php bugfix(42818); ?> ($foo = clone(array()); leaks memory). (Dmitry)</li> 12577<li><?php bugfix(42817); ?> (clone() on a non-object does not result in a fatal error). (Ilia)</li> 12578<li><?php bugfix(42785); ?> (json_encode() formats doubles according to locale rather then following standard syntax). (Ilia)</li> 12579<li><?php bugfix(42783); ?> (pg_insert() does not accept an empty list for insertion). (Ilia)</li> 12580<li><?php bugfix(42773); ?> (WSDL error causes HTTP 500 Response). (Dmitry)</li> 12581<li><?php bugfix(42772); ?> (Storing $this in a static var fails while handling a cast to string). (Dmitry)</li> 12582<li><?php bugfix(42767); ?> (highlight_string() truncates trailing comment). (Ilia)</li> 12583<li><?php bugfix(42739); ?> (mkdir() doesn't like a trailing slash when safe_mode is enabled). (Ilia)</li> 12584<li><?php bugfix(42703); ?> (Exception raised in an iterator::current() causes segfault in FilterIterator) (Marcus)</li> 12585<li><?php bugfix(42699); ?> (PHP_SELF duplicates path). (Dmitry)</li> 12586<li><?php bugfix(42654); ?> (RecursiveIteratorIterator modifies only part of leaves) (Marcus)</li> 12587<li><?php bugfix(42643); ?> (CLI segfaults if using ATTR_PERSISTENT). (Ilia)</li> 12588<li><?php bugfix(42637); ?> (SoapFault : Only http and https are allowed). (Bill Moran)</li> 12589<li><?php bugfix(42629); ?> (Dynamically loaded PHP extensions need symbols exported on MacOSX). (jdolecek at NetBSD dot org)</li> 12590<li><?php bugfix(42627); ?> (bz2 extension fails to build with -fno-common). (dolecek at netbsd dot org)</li> 12591<li><?php bugfix(42596); ?> (session.save_path MODE option does not work). (Ilia)</li> 12592<li><?php bugfix(42590); ?> (Make the engine recognize \v and \f escape sequences). (Ilia)</li> 12593<li><?php bugfix(42587); ?> (behavior change regarding symlinked .php files). (Dmitry)</li> 12594<li><?php bugfix(42579); ?> (apache_reset_timeout() does not exist). (Jani)</li> 12595<li><?php bugfix(42549); ?> (ext/mysql failed to compile with libmysql 3.23). (Scott)</li> 12596<li><?php bugfix(42523); ?> (PHP_SELF duplicates path). (Dmitry)</li> 12597<li><?php bugfix(42512); ?> (ip2long('255.255.255.255') should return 4294967295 on 64-bit PHP). (Derick)</li> 12598<li><?php bugfix(42506); ?> (php_pgsql_convert() timezone parse bug) (nonunnet at gmail dot com, Ilia)</li> 12599<li><?php bugfix(42462); ?> (Segmentation when trying to set an attribute in a DOMElement). (Rob)</li> 12600<li><?php bugfix(42453); ?> (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options). (Dmitry)</li> 12601<li><?php bugfix(42452); ?> (PDO classes do not expose Reflection API information). (Hannes)</li> 12602<li><?php bugfix(42468); ?> (Write lock on file_get_contents fails when using a compression stream). (Ilia)</li> 12603<li><?php bugfix(42488); ?> (SoapServer reports an encoding error and the error itself breaks). (Dmitry)</li> 12604<li><?php bugfix(42378); ?> (mysqli_stmt_bind_result memory exhaustion). (Andrey)</li> 12605<li><?php bugfix(42359); ?> (xsd:list type not parsed). (Dmitry)</li> 12606<li><?php bugfix(42326); ?> (SoapServer crash). (Dmitry)</li> 12607<li><?php bugfix(42214); ?> (SoapServer sends clients internal PHP errors). (Dmitry)</li> 12608<li><?php bugfix(42189); ?> (xmlrpc_set_type() crashes php on invalid datetime values). (Ilia)</li> 12609<li><?php bugfix(42139); ?> (XMLReader option constants are broken using XML()). (Rob)</li> 12610<li><?php bugfix(42086); ?> (SoapServer return Procedure '' not present for WSIBasic compliant wsdl). (Dmitry)</li> 12611<li><?php bugfix(41822); ?> (Relative includes broken when getcwd() fails). (Ab5602, Jani)</li> 12612<li><?php bugfix(39651); ?> (proc_open() append mode doesn't work on windows). (Nuno)</li> 12613 12614</ul> 12615 12616<!-- }}} --></section> 12617 12618<section class="version" id="5.2.4"><!-- {{{ 5.2.4 --> 12619<h3>Version 5.2.4</h3> 12620<?php release_date('30-Aug-2007'); ?> 12621<ul> 12622<li>Security Fixes 12623 <ul> 12624 <li>Fixed "Floating point exception" inside wordwrap(). (Mattias Bengtsson, Ilia)</li> 12625 <li>Fixed several integer overflows in ImageCreate(), ImageCreateTrueColor(), ImageCopyResampled() and ImageFilledPolygon() reported by Mattias Bengtsson. (Tony)</li> 12626 <li>Fixed size calculation in chunk_split(). (Stas)</li> 12627 <li>Fixed integer overflow in str[c]spn(). (Stas)</li> 12628 <li>Fixed money_format() not to accept multiple %i or %n tokens. (Stas, Ilia)</li> 12629 <li>Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. (Ilia)</li> 12630 <li>Fixed INFILE LOCAL option handling with MySQL extensions not to be allowed when open_basedir or safe_mode is active. (Stas)</li> 12631 <li>Fixed session.save_path and error_log values to be checked against open_basedir and safe_mode (CVE-2007-3378) (Stas, Maksymilian Arciemowicz)</li> 12632 <li>Fixed possible invalid read in glob() win32 implementation (CVE-2007-3806). (Tony)</li> 12633 <li>Improved fix for MOPB-03-2007. (Ilia)</li> 12634 <li>Corrected fix for CVE-2007-2872. (Ilia)</li> 12635 </ul> 12636</li> 12637 12638<li>Removed --enable-versioning configure option. (Jani)</li> 12639 12640<li>Upgraded PCRE to version 7.2 (Nuno)</li> 12641<li>Updated timezone database to version 2007.6. (Derick)</li> 12642 12643<li>Improved openssl_x509_parse() to return extensions in readable form. (Dmitry)</li> 12644 12645<li>Enabled changing the size of statement cache for non-persistent OCI8 connections. (Chris Jones, Tony)</li> 12646 12647<li>Changed display_errors php.ini option to accept stderr as value which makes the error messages to be outputted to STDERR instead of STDOUT with CGI and CLI SAPIs (<?php bugl(22839); ?>). (Jani)</li> 12648<li>Changed error handler to send HTTP 500 instead of blank page on PHP errors. (Dmitry, Andrei Nigmatulin)</li> 12649<li>Changed mail() function to be always available. (Johannes)</li> 12650 12651<li>Added check for unknown options passed to configure. (Jani)</li> 12652<li>Added persistent connection status checker to pdo_pgsql. (Elvis Pranskevichus, Ilia)</li> 12653<li>Added support for ATTR_TIMEOUT inside pdo_pgsql driver. (Ilia)</li> 12654<li>Added php_ini_loaded_file() function which returns the path to the actual php.ini in use. (Jani)</li> 12655<li>Added GD version constants GD_MAJOR_VERSION, GD_MINOR_VERSION GD_RELEASE_VERSION, GD_EXTRA_VERSION and GD_VERSION_STRING. (Pierre)</li> 12656<li>Added missing open_basedir checks to CGI. (anight at eyelinkmedia dot com, Tony)</li> 12657<li>Added missing format validator to unpack() function. (Ilia)</li> 12658<li>Added missing error check inside bcpowmod(). (Ilia)</li> 12659<li>Added CURLOPT_PRIVATE & CURLINFO_PRIVATE constants. (Andrey A. Belashkov, Tony)</li> 12660<li>Added missing MSG_EOR and MSG_EOF constants to sockets extension. (Jani)</li> 12661<li>Added PCRE_VERSION constant. (Tony)</li> 12662<li>Added ReflectionExtension::info() function to print the phpinfo() block for an extension. (Johannes)</li> 12663 12664<li><?php implemented(41884); ?> (ReflectionClass::getDefaultProperties() does not handle static attributes). (Tony)</li> 12665 12666<li>Fixed possible crash in imagepsloadfont(), work around a bug in the pslib on Windows. (Pierre)</li> 12667<li>Fixed oci8 and PDO_OCI extensions to allow configuring with Oracle 11g client libraries. (Chris Jones)</li> 12668<li>Fixed EOF handling in case of reading from file opened in write only mode. (Dmitry)</li> 12669<li>Fixed var_export() to use the new H modifier so that it can generate parseable PHP code for floats, independent of the locale. (Derick)</li> 12670<li>Fixed regression introduced by the fix for the libgd bug #74. (Pierre)</li> 12671<li>Fixed SimpleXML's behavior when used with empty(). (Sara)</li> 12672<li>Fixed crash in OpenSSL extension because of non-string passphrase. (Dmitry)</li> 12673 12674<li><?php peclbugfix(11345); ?> (PDO_OCI crash after National language Support "NLS" environment initialization error). (Chris Jones)</li> 12675<li><?php peclbugfix(11216); ?> (crash in ZipArchive::addEmptyDir when a directory already exists). (Pierre)</li> 12676 12677<li><?php bugfix(42368); ?> (Incorrect error message displayed by pg_escape_string). (Ilia)</li> 12678<li><?php bugfix(42365); ?> (glob() crashes and/or accepts way too many flags). (Jani)</li> 12679<li><?php bugfix(42364); ?> (Crash when using getRealPath with DirectoryIterator). (Johannes)</li> 12680<li><?php bugfix(42292); ?> ($PHP_CONFIG not set for phpized builds). (Jani)</li> 12681<li><?php bugfix(42261); ?> (header wrong for date field). (roberto at spadim dot com dot br, Ilia)</li> 12682<li><?php bugfix(42259); ?> (SimpleXMLIterator loses ancestry). (Rob)</li> 12683<li><?php bugfix(42247); ?> (ldap_parse_result() not defined under win32). (Jani)</li> 12684<li><?php bugfix(42243); ?> (copy() does not output an error when the first arg is a dir). (Ilia)</li> 12685<li><?php bugfix(42242); ?> (sybase_connect() crashes). (Ilia)</li> 12686<li><?php bugfix(42237); ?> (stream_copy_to_stream returns invalid values for mmaped streams). (andrew dot minerd at sellingsource dot com, Ilia)</li> 12687<li><?php bugfix(42233); ?> (Problems with æøå in extract()). (Jani)</li> 12688<li><?php bugfix(42222); ?> (possible buffer overflow in php_openssl_make_REQ). (Pierre)</li> 12689<li><?php bugfix(42211); ?> (property_exists() fails to find protected properties from a parent class). (Dmitry)</li> 12690<li><?php bugfix(42208); ?> (substr_replace() crashes when the same array is passed more than once). (crrodriguez at suse dot de, Ilia)</li> 12691<li><?php bugfix(42198); ?> (SCRIPT_NAME and PHP_SELF truncated when inside a userdir and using PATH_INFO). (Dmitry)</li> 12692<li><?php bugfix(42195); ?> (C++ compiler required always). (Jani)</li> 12693<li><?php bugfix(42183); ?> (classmap causes crash in non-wsdl mode). (Dmitry)</li> 12694<li><?php bugfix(42173); ?> (oci8 INTERVAL and TIMESTAMP type fixes). (Chris)</li> 12695<li><?php bugfix(42151); ?> (__destruct functions not called after catching a SoapFault exception). (Dmitry)</li> 12696<li><?php bugfix(42142); ?> (substr_replace() returns FALSE when length > string length). (Ilia) </li> 12697<li><?php bugfix(42135); ?> (Second call of session_start() causes creation of SID). (Ilia)</li> 12698<li><?php bugfix(42134); ?> (oci_error() returns false after oci_new_collection() fails). (Tony)</li> 12699<li><?php bugfix(42119); ?> (array_push($arr,&$obj) doesn't work with zend.ze1_compatibility_mode On). (Dmitry)</li> 12700<li><?php bugfix(42117); ?> (bzip2.compress loses data in internal buffer). (Philip, Ilia)</li> 12701<li><?php bugfix(42112); ?> (deleting a node produces memory corruption). (Rob)</li> 12702<li><?php bugfix(42107); ?> (sscanf broken when using %2$s format parameters). (Jani)</li> 12703<li><?php bugfix(42090); ?> (json_decode causes segmentation fault). (Hannes)</li> 12704<li><?php bugfix(42082); ?> (NodeList length zero should be empty). (Hannes)</li> 12705<li><?php bugfix(42072); ?> (No warning message for clearstatcache() with arguments). (Ilia)</li> 12706<li><?php bugfix(42071); ?> (ini scanner allows using NULL as option name). (Jani)</li> 12707<li><?php bugfix(42027); ?> (is_file() / is_dir() matches file/dirnames with wildcard char or trailing slash in Windows). (Dmitry)</li> 12708<li><?php bugfix(42019); ?> (configure option --with-adabas=DIR does not work). (Jani)</li> 12709<li><?php bugfix(42015); ?> (ldap_rename(): server error "DSA is unwilling to perform"). (bob at mroczka dot com, Jani)</li> 12710<li><?php bugfix(42009); ?> (is_a() and is_subclass_of() should NOT call autoload, in the same way as "instanceof" operator). (Dmitry)</li> 12711<li><?php bugfix(41989); ?> (move_uploaded_file() & relative path in ZTS mode). (Tony)</li> 12712<li><?php bugfix(41984); ?> (Hangs on large SoapClient requests). (Dmitry)</li> 12713<li><?php bugfix(41983); ?> (Error Fetching http headers terminated by '\n'). (Dmitry)</li> 12714<li><?php bugfix(41973); ?> (--with-ldap=shared fails with LDFLAGS="-Wl,--as-needed"). (Nuno)</li> 12715<li><?php bugfix(41971); ?> (PDOStatement::fetch and PDOStatement::setFetchMode causes unexpected behavior). (Ilia)</li> 12716<li><?php bugfix(41964); ?> (strtotime returns a timestamp for non-time string of pattern '(A|a) .+'). (Derick)</li> 12717<li><?php bugfix(41961); ?> (Ensure search for hidden private methods does not stray from class hierarchy). (robin_fernandes at uk dot ibm dot com)</li> 12718<li><?php bugfix(41947); ?> (SimpleXML incorrectly registers empty strings as namespaces). (Rob)</li> 12719<li><?php bugfix(41929); ?> (Foreach on object does not iterate over all visible properties). (Dmitry)</li> 12720<li><?php bugfix(41919); ?> (crash in string to array conversion). (judas dot iscariote at gmail dot com, Ilia)</li> 12721<li><?php bugfix(41909); ?> (var_export() is locale sensitive when exporting float values). (Derick)</li> 12722<li><?php bugfix(41908); ?> (CFLAGS="-Os" ./configure --enable-debug fails). (christian at hoffie dot info, Tony) </li> 12723<li><?php bugfix(41904); ?> (proc_open(): empty env array should cause empty environment to be passed to process). (Jani)</li> 12724<li><?php bugfix(41867); ?> (SimpleXML: getName is broken). (Rob)</li> 12725<li><?php bugfix(41865); ?> (fputcsv(): 2nd parameter is not optional). (Jani)</li> 12726<li><?php bugfix(41861); ?> (SimpleXML: getNamespaces() returns the namespaces of a node's siblings). (Rob)</li> 12727<li><?php bugfix(41845); ?> (pgsql extension does not compile with PostgreSQL <7.4). (Ilia)</li> 12728<li><?php bugfix(41844); ?> (Format returns incorrect number of digits for negative years -0001 to -0999). (Derick)</li> 12729<li><?php bugfix(41842); ?> (Cannot create years < 0100 & negative years with date_create or new DateTime). (Derick)</li> 12730<li><?php bugfix(41833); ?> (addChild() on a non-existent node, no node created, getName() segfaults). (Rob)</li> 12731<li><?php bugfix(41831); ?> (pdo_sqlite prepared statements convert resources to strings). (Ilia)</li> 12732<li><?php bugfix(41815); ?> (Concurrent read/write fails when EOF is reached). (Sascha)</li> 12733<li><?php bugfix(41813); ?> (segmentation fault when using string offset as an object). (judas dot iscariote at gmail dot com, Tony)</li> 12734<li><?php bugfix(41795); ?> (checkdnsrr does not support DNS_TXT type). (lucas at facebook dot com, Tony)</li> 12735<li><?php bugfix(41773); ?> (php_strip_whitespace() sends headers with errors suppressed). (Tony)</li> 12736<li><?php bugfix(41770); ?> (SSL: fatal protocol error due to buffer issues). (Ilia)</li> 12737<li><?php bugfix(41765); ?> (Recode crashes/does not work on amd64). (nexus at smoula dot net, Stas)</li> 12738<li><?php bugfix(41724); ?> (libxml_get_last_error() - errors service request scope). (thekid at php dot net, Ilia)</li> 12739<li><?php bugfix(41717); ?> (imagepolygon does not respect thickness). (Pierre)</li> 12740<li><?php bugfix(41713); ?> (Persistent memory consumption on win32 since 5.2). (Dmitry)</li> 12741<li><?php bugfix(41711); ?> (NULL temporary lobs not supported in OCI8). (Chris Jones, Tony)</li> 12742<li><?php bugfix(41709); ?> (strtotime() does not handle 00.00.0000). (Derick)</li> 12743<li><?php bugfix(41698); ?> (float parameters truncated to integer in prepared statements). (Ilia)</li> 12744<li><?php bugfix(41692); ?> (ArrayObject shows weird behavior in respect to inheritance). (Tony)</li> 12745<li><?php bugfix(41691); ?> (ArrayObject::exchangeArray hangs Apache). (Tony)</li> 12746<li><?php bugfix(41686); ?> (Omitting length param in array_slice not possible). (Ilia)</li> 12747<li><?php bugfix(41685); ?> (array_push() fails to warn when next index is already occupied). (Ilia)</li> 12748<li><?php bugfix(41655); ?> (open_basedir bypass via glob()). (Ilia)</li> 12749<li><?php bugfix(41640); ?> (get_class_vars produces error on class constants). (Johannes)</li> 12750<li><?php bugfix(41635); ?> (SoapServer and zlib.output_compression with FastCGI result in major slowdown). (Dmitry)</li> 12751<li><?php bugfix(41633); ?> (Crash instantiating classes with self-referencing constants). (Dmitry)</li> 12752<li><?php bugfix(41630); ?> (segfault when an invalid color index is present in the image data). (Reported by Elliot wccoder@gmail dot com) (Pierre)</li> 12753<li><?php bugfix(41628); ?> (PHP settings leak between Virtual Hosts in Apache 1.3). (Scott, manuel at mausz dot at)</li> 12754<li><?php bugfix(41608); ?> (segfault on a weird code with objects and switch()). (Tony)</li> 12755<li><?php bugfix(41600); ?> (url rewriter tags doesn't work with namespaced tags). (Ilia)</li> 12756<li><?php bugfix(41596); ?> (Fixed a crash inside pdo_pgsql on some non-well-formed SQL queries). (Ilia)</li> 12757<li><?php bugfix(41594); ?> (OCI8 statement cache is flushed too frequently). (Tony)</li> 12758<li><?php bugfix(41582); ?> (SimpleXML crashes when accessing newly created element). (Tony)</li> 12759<li><?php bugfix(41576); ?> (configure failure when using --without-apxs or some other SAPIs disabling options). (Jani)</li> 12760<li><?php bugfix(41567); ?> (json_encode() double conversion is inconsistent with PHP). (Lucas, Ilia)</li> 12761<li><?php bugfix(41566); ?> (SOAP Server not properly generating href attributes). (Dmitry)</li> 12762<li><?php bugfix(41555); ?> (configure failure: regression caused by fix for <?php bugl(41265); ?>). (Jani)</li> 12763<li><?php bugfix(41527); ?> (WDDX deserialize numeric string array key). (Matt, Ilia)</li> 12764<li><?php bugfix(41523); ?> (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30). (Derick)</li> 12765<li><?php bugfix(41518); ?> (file_exists() warns of open_basedir restriction on non-existent file). (Tony)</li> 12766<li><?php bugfix(41445); ?> (parse_ini_file() has a problem with certain types of integer as sections). (Tony)</li> 12767<li><?php bugfix(41433); ?> (DBA: configure fails to include correct db.h for db4). (Jani)</li> 12768<li><?php bugfix(41372); ?> (Internal pointer of source array resets during array copying). (Dmitry)</li> 12769<li><?php bugfix(41350); ?> (my_thread_global_end() error during request shutdown on Windows). (Scott, Andrey)</li> 12770<li><?php bugfix(41278); ?> (get_loaded_extensions() should list Zend extensions). (Johannes)</li> 12771<li><?php bugfix(41127); ?> (Memory leak in ldap_{first|next}_attribute functions). (Jani)</li> 12772<li><?php bugfix(40757); ?> (get_object_vars get nothing in child class). (Dmitry)</li> 12773<li><?php bugfix(40705); ?> (Iterating within function moves original array pointer). (Dmitry)</li> 12774<li><?php bugfix(40509); ?> (key() function changed behaviour if global array is used within function). (Dmitry)</li> 12775<li><?php bugfix(40419); ?> (Trailing slash in CGI request does not work). (Dmitry)</li> 12776<li><?php bugfix(39330); ?> (apache2handler does not call shutdown actions before apache child die). (isk at ecommerce dot com, Gopal, Tony)</li> 12777<li><?php bugfix(39291); ?> (ldap_sasl_bind() misses the sasl_authc_id parameter). (diafour at gmail dot com, Jani)</li> 12778<li><?php bugfix(37715); ?> (array pointers resetting on copy). (Dmitry)</li> 12779<li><?php bugfix(37273); ?> (Symlinks and mod_files session handler allow open_basedir bypass). (Ilia)</li> 12780<li><?php bugfix(36492); ?> (Userfilters can leak buckets). (Sara)</li> 12781<li>Fixed bugs <?php bugl(36796); ?>, <?php bugl(36918); ?>, <?php bugl(41371); ?> (stream_set_blocking() does not work). (Jani)</li> 12782<li><?php bugfix(35981); ?> (pdo-pgsql should not use pkg-config when not present). (Jani)</li> 12783<li><?php bugfix(31892); ?> (PHP_SELF incorrect without cgi.fix_pathinfo, but turning on screws up PATH_INFO). (Dmitry)</li> 12784<li><?php bugfix(21197); ?> (socket_read() outputs error with PHP_NORMAL_READ). (Nuno, Jani)</li> 12785 12786</ul> 12787 12788<!-- }}} --></section> 12789 12790<section class="version" id="5.2.3"><!-- {{{ 5.2.3 --> 12791<h3>Version 5.2.3</h3> 12792<?php release_date('31-May-2007'); ?> 12793<ul> 12794<li>Security Fixes 12795 <ul> 12796 <li>Fixed an integer overflow inside chunk_split() (by Gerhard Wagner, CVE-2007-2872)</li> 12797 <li>Fixed possible infinite loop in imagecreatefrompng. (by Xavier Roche, CVE-2007-2756)</li> 12798 <li>Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser, CVE-2007-1900)</li> 12799 <li><?php bugfix(41492); ?> (open_basedir/safe_mode bypass inside realpath()) (by bugs dot php dot net at chsc dot dk)</li> 12800 <li>Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib.</li> 12801 <li>Added mysql_set_charset() to allow runtime altering of connection encoding.</li> 12802 </ul> 12803</li> 12804 12805<li>Changed CGI install target to php-cgi and 'make install' to install CLI when CGI is selected. (Jani)</li> 12806<li>Changed JSON maximum nesting depth from 20 to 128. (Rasmus)</li> 12807 12808<li>Improved compilation of heredocs and interpolated strings. (Matt, Dmitry)</li> 12809<li>Optimized out a couple of per-request syscalls. (Rasmus)</li> 12810<li>Optimized digest generation in md5() and sha1() functions. (Ilia)</li> 12811<li>Upgraded bundled SQLite 3 to version 3.3.17. (Ilia)</li> 12812 12813<li>Added "max_input_nesting_level" php.ini option to limit nesting level of input variables. Fix for MOPB-03-2007. (Stas)</li> 12814<li>Added a 4th parameter flag to htmlspecialchars() and htmlentities() that makes the function not encode existing html entities. (Ilia)</li> 12815<li>Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set into an associated array. (Ilia)</li> 12816<li>Added CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS cURL constants. (Sara)</li> 12817<li>Added --ini switch to CLI that prints out configuration file names. (Marcus)</li> 12818 12819<li><?php implemented(41416); ?> (getColumnMeta() should also return table name). (Tony)</li> 12820 12821<li>Fixed filetype() and linkinfo() processing of symlinks on ZTS systems. (Oliver Block, Tony, Dmitry)</li> 12822<li>Fixed SOAP extension's handler() to work even when "always_populate_raw_post_data" is off. (Ilia)</li> 12823<li>Fixed altering $this via argument named "this". (Dmitry)</li> 12824<li>Fixed PHP CLI usage of php.ini from the binary location. (Hannes)</li> 12825<li>Fixed segfault in strripos(). (Tony, Joxean Koret)</li> 12826<li>Fixed gd build when used with freetype 1.x (Pierre, Tony)</li> 12827<li><?php bugfix(41525); ?> (ReflectionParameter::getPosition() not available). (Marcus)</li> 12828<li><?php bugfix(41511); ?> (Compile failure under IRIX 6.5.30 building md5.c). (Jani)</li> 12829<li><?php bugfix(41504); ?> (json_decode() incorrectly decodes JSON arrays with empty string keys). (Ilia)</li> 12830<li><?php bugfix(41477); ?> (no arginfo about SoapClient::__soapCall()). (Ilia)</li> 12831<li><?php bugfix(41455); ?> (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS). (mmarek at suse dot cz, Tony)</li> 12832<li><?php bugfix(41442); ?> (imagegd2() under output control). (Tony)</li> 12833<li><?php bugfix(41430); ?> (Fatal error with negative values of maxlen parameter of file_get_contents()). (Tony)</li> 12834<li><?php bugfix(41423); ?> (PHP assumes wrongly that certain ciphers are enabled in OpenSSL). (Pierre)</li> 12835<li><?php bugfix(41421); ?> (Uncaught exception from a stream wrapper segfaults). (Tony, Dmitry)</li> 12836<li><?php bugfix(41403); ?> (json_decode cannot decode floats if localeconv decimal_point is not '.'). (Tony)</li> 12837<li><?php bugfix(41401); ?> (wrong unary operator precedence). (Stas)</li> 12838<li><?php bugfix(41394); ?> (dbase_create creates file with corrupted header). (Tony)</li> 12839<li><?php bugfix(41390); ?> (Clarify error message with invalid protocol scheme). (Scott)</li> 12840<li><?php bugfix(41378); ?> (fastcgi protocol lacks support for Reason-Phrase in "Status:" header). (anight at eyelinkmedia dot com, Dmitry)</li> 12841<li><?php bugfix(41374); ?> (whole text concats values of wrong nodes). (Rob)</li> 12842<li><?php bugfix(41358); ?> (configure cannot determine SSL lib with libcurl >= 7.16.2). (Mike)</li> 12843<li><?php bugfix(41353); ?> (crash in openssl_pkcs12_read() on invalid input). (Ilia)</li> 12844<li><?php bugfix(41351); ?> (Invalid opcode with foreach ($a[] as $b)). (Dmitry, Tony)</li> 12845<li><?php bugfix(41347); ?> (checkdnsrr() segfaults on empty hostname). (Scott)</li> 12846<li><?php bugfix(41337); ?> (WSDL parsing doesn't ignore non soap bindings). (Dmitry)</li> 12847<li><?php bugfix(41326); ?> (Writing empty tags with Xmlwriter::WriteElement[ns]) (Pierre)</li> 12848<li><?php bugfix(41321); ?> (downgrade read errors in getimagesize() to E_NOTICE). (Ilia)</li> 12849<li><?php bugfix(41304); ?> (compress.zlib temp files left). (Dmitry)</li> 12850<li><?php bugfix(41293); ?> (Fixed creation of HTTP_RAW_POST_DATA when there is no default post handler). (Ilia)</li> 12851<li><?php bugfix(41291); ?> (FastCGI does not set SO_REUSEADDR). (fmajid at kefta dot com, Dmitry)</li> 12852<li><?php bugfix(41287); ?> (Namespace functions don't allow xmlns definition to be optional). (Rob)</li> 12853<li><?php bugfix(41283); ?> (Bug with deserializing array key that are doubles or floats in wddx). (Ilia)</li> 12854<li><?php bugfix(41257); ?> (lookupNamespaceURI does not work as expected). (Rob)</li> 12855<li><?php bugfix(41236); ?> (Regression in timeout handling of non-blocking SSL connections during reads and writes). (Ilia)</li> 12856<li><?php bugfix(41134); ?> (zend_ts_hash_clean not thread-safe). (marco dot cova at gmail dot com, Tony)</li> 12857<li><?php bugfix(41097); ?> (ext/soap returning associative array as indexed without using WSDL). (Dmitry)</li> 12858<li><?php bugfix(41004); ?> (minOccurs="0" and null class member variable). (Dmitry)</li> 12859<li><?php bugfix(39542); ?> (Behavior of require/include different to < 5.2.0). (Dmitry)</li> 12860 12861 12862</ul> 12863 12864<!-- }}} --></section> 12865 12866<section class="version" id="5.2.2"><!-- {{{ 5.2.2 --> 12867<h3>Version 5.2.2</h3> 12868<?php release_date('03-May-2007'); ?> 12869<ul> 12870<li>Security Fixes 12871 <ul> 12872 <li>Fixed CVE-2007-1001, GD wbmp used with invalid image size (by Ivan Fratric) (Pierre)</li> 12873 <li>Fixed a header injection via Subject and To parameters to the mail() function (MOPB-34 by Stefan Esser) (Ilia)</li> 12874 <li>Fixed asciiz byte truncation inside mail() (MOPB-33 by Stefan Esser) (Ilia)</li> 12875 <li>Fixed wrong length calculation in unserialize S type (MOPB-29 by Stefan Esser) (Stas)</li> 12876 <li>Fixed a bug in mb_parse_str() that can be used to activate register_globals (MOPB-26 by Stefan Esser) (Ilia)</li> 12877 <li>Fixed unallocated memory access/double free in in array_user_key_compare() (MOPB-24 by Stefan Esser) (Stas)</li> 12878 <li>Fixed a double free inside session_regenerate_id() (MOPB-22 by Stefan Esser) (Ilia)</li> 12879 <li>Added missing open_basedir & safe_mode checks to zip:// and bzip:// wrappers. (MOPB-20, MOPB-21 by Stefan Esser). (Ilia)</li> 12880 <li>Fixed substr_compare and substr_count information leak (MOPB-14 by Stefan Esser) (Stas, Ilia)</li> 12881 <li>Limit nesting level of input variables with max_input_nesting_level as fix for (MOPB-03 by Stefan Esser) (Stas)</li> 12882 <li>Fixed CRLF injection inside ftp_putcmd(). (by loveshell[at]Bug.Center.Team) (Ilia)</li> 12883 <li>Fixed a possible super-global overwrite inside import_request_variables(). (by Stefano Di Paola, Stefan Esser) (Ilia)</li> 12884 <li>Fixed a remotely trigger-able buffer overflow inside make_http_soap_request(). (Ilia)</li> 12885 <li>Fixed a buffer overflow inside user_filter_factory_create(). (Ilia)</li> 12886 <li>Fixed a remotely trigger-able buffer overflow inside bundled libxmlrpc library. (Stas)</li> 12887 </ul> 12888</li> 12889 12890<li>Improved bundled GD 12891 <ul> 12892 <li>Sync to 2.0.35</li> 12893 <li>Added imagegrabwindow and imagegrabscreen, capture a screen or a window using its handle (Pierre)</li> 12894 <li>colors allocated henceforth from the resulting image overwrite the palette colors (Rob Leslie)</li> 12895 <li>Improved thread safety of the gif support (Roman Nemecek, Nuno, Pierre) 12896 <ul> 12897 <li>Use the dimension of the GIF frame to create the destination image (Pierre)</li> 12898 <li>Load only once the local color map from a GIF data (Pierre)</li> 12899 </ul> 12900 </li> 12901 </ul> 12902</li> 12903<li>Improved thread safety of the freetype cache (Scott MacVicar, Nuno, Pierre) 12904 <ul> 12905 <li>imagearc huge CPU usage with large angles, libgd bug #74 (Pierre)</li> 12906 </ul> 12907</li> 12908<li>Improved FastCGI SAPI to support external pipe and socket servers on win32. (Dmitry)</li> 12909<li>Improved Zend Memory Manager 12910 <ul> 12911 <li>guarantee of reasonable time for worst cases of best-fit free block searching algorithm. (Dmitry)</li> 12912 <li>better cache usage and less fragmentation on erealloc() (Tony, Dmitry)</li> 12913 </ul> 12914</li> 12915<li>Improved SPL (Marcus) 12916 <ul> 12917 <li>Added SplFileInfo::getBasename(), DirectoryIterator::getBasename().</li> 12918 <li>Added SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath().</li> 12919 <li>Made RecursiveFilterIterator::accept() abstract as stated in documentation.</li> 12920 </ul> 12921</li> 12922<li>Improved SOAP 12923 <ul> 12924 <li>Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE option in SoapClient/SoapServer constructors. (Rob, Dmitry)</li> 12925 </ul> 12926</li> 12927<li>Added GMP_VERSION constant. (Tony)</li> 12928<li>Added --ri switch to CLI which allows to check extension information. (Marcus)</li> 12929<li>Added tidyNode::getParent() method (John, Nuno)</li> 12930<li>Added openbasedir and safemode checks in zip:// stream wrapper and ZipArchive::open (Pierre)</li> 12931<li>Added php_pdo_sqlite_external.dll, a version of the PDO SQLite driver that links against an external sqlite3.dll. This provides Windows users to upgrade their sqlite3 version outside of the PHP release cycle. (Wez, Edin)</li> 12932<li>Added linenumbers to array returned by token_get_all(). (Johannes)</li> 12933 12934<li><?php implemented(40947); ?>, allow a single filter as argument for filter_var_array (Pierre)</li> 12935<li><?php implemented(39867); ?> (openssl PKCS#12 support) (Marc Delling, Pierre)</li> 12936 12937<li>Upgraded SQLite 3 to version 3.3.16 (Ilia)</li> 12938<li>Upgraded libraries bundled in the Windows distribution. (Edin) 12939 <ul> 12940 <li>c-client (imap) to version 2006e</li> 12941 <li>libpq (PostgreSQL) to version 8.2.3</li> 12942 <li>libmysql (MySQL) to version 5.0.37</li> 12943 <li>openssl to version 0.9.8e</li> 12944 </ul> 12945</li> 12946<li>Upgraded PCRE to version 7.0 (Nuno)</li> 12947<li>Updated timezone database to version 2007.5. (Derick)</li> 12948 12949<li>Fixed commandline handling for CLI and CGI. (Marcus, Johannes)</li> 12950<li>Fixed iterator_apply() with a callback using __call(). (Johannes)</li> 12951<li>Fixed possible multi bytes issues in openssl csr parser (Pierre)</li> 12952<li>Fixed shmop_open() with IPC_CREAT|IPC_EXCL flags on Windows. (Vladimir Kamaev, Tony).</li> 12953<li>Fixed possible leak in ZipArchive::extractTo when safemode checks fails (Ilia)</li> 12954<li>Fixed possible relative path issues in zip_open and TS mode (old API) (Pierre)</li> 12955<li>Fixed zend_llist_remove_tail (Michael Wallner, Dmitry)</li> 12956<li>Fixed a thread safety issue in gd gif read code (Nuno, Roman Nemecek)</li> 12957<li>Fixed crash on op-assign where argument is string offset (Brian, Stas)</li> 12958 12959 12960<li><?php bugfix(41215); ?> (setAttribute return code reversed). (Ilia)</li> 12961<li><?php bugfix(41192); ?> (Per Directory Values only work for one key). (Dmitry)</li> 12962<li><?php bugfix(41175); ?> (addAttribute() fails to add an attribute with an empty value). (Ilia)</li> 12963<li><?php bugfix(41159); ?> (mysql_pconnect() hash does not account for connect flags). (Ilia)</li> 12964<li><?php bugfix(41121); ?> (range() overflow handling for large numbers on 32bit machines). (Ilia)</li> 12965<li><?php bugfix(41118); ?> (PHP does not handle overflow of octal integers). (Tony)</li> 12966<li><?php bugfix(41109); ?> (recursiveiterator.inc says "implements" Iterator instead of "extends"). (Marcus)</li> 12967<li><?php bugfix(40130); ?> (TTF usage doesn't work properly under Netware). (Scott, gk at gknw dot de)</li> 12968<li><?php bugfix(41093); ?> (magic_quotes_gpc ignores first arrays keys). (Arpad, Ilia)</li> 12969<li><?php bugfix(41075); ?> (memleak when creating default object caused exception). (Dmitry)</li> 12970<li><?php bugfix(41067); ?> (json_encode() problem with UTF-16 input). (jp at df5ea dot net. Ilia)</li> 12971<li><?php bugfix(41063); ?> (chdir doesn't like root paths). (Dmitry)</li> 12972<li><?php bugfix(41061); ?> ("visibility error" in ReflectionFunction::export()). (Johannes)</li> 12973<li><?php bugfix(41043); ?> (pdo_oci crash when freeing error text with persistent connection). (Tony)</li> 12974<li><?php bugfix(41037); ?> (unregister_tick_function() inside the tick function crash PHP). (Tony)</li> 12975<li><?php bugfix(41034); ?> (json_encode() ignores null byte started keys in arrays). (Ilia)</li> 12976<li><?php bugfix(41026); ?> (segfault when calling "self::method()" in shutdown functions). (Tony)</li> 12977<li><?php bugfix(40999); ?> (mcrypt_create_iv() not using random seed). (Ilia)</li> 12978<li><?php bugfix(40998); ?> (long session array keys are truncated). (Tony)</li> 12979<li><?php bugfix(40935); ?> (pdo_mysql does not raise an exception on empty fetchAll()). (Ilia)</li> 12980<li><?php bugfix(40931); ?> (open_basedir bypass via symlink and move_uploaded_file()). (Tony)</li> 12981<li><?php bugfix(40921); ?> (php_default_post_reader crashes when post_max_size is exceeded). (trickie at gmail dot com, Ilia)</li> 12982<li><?php bugfix(40915); ?> (addcslashes unexpected behavior with binary input). (Tony)</li> 12983<li><?php bugfix(40899); ?> (memory leak when nesting list()). (Dmitry)</li> 12984<li><?php bugfix(40897); ?> (error_log file not locked). (Ilia)</li> 12985<li><?php bugfix(40883); ?> (mysql_query() is allocating memory incorrectly). (Tony)</li> 12986<li><?php bugfix(40872); ?> (inconsistency in offsetSet, offsetExists treatment of string enclosed integers). (Marcus)</li> 12987<li><?php bugfix(40861); ?> (strtotime() doesn't handle double negative relative time units correctly). (Derick, Ilia)</li> 12988<li><?php bugfix(40854); ?> (imap_mail_compose() creates an invalid terminator for multipart e-mails). (Ilia)</li> 12989<li><?php bugfix(40848); ?> (sorting issue on 64-bit Solaris). (Wez)</li> 12990<li><?php bugfix(40836); ?> (Segfault in ext/dom). (Rob)</li> 12991<li><?php bugfix(40833); ?> (Crash when using unset() on an ArrayAccess object retrieved via __get()). (Dmitry)</li> 12992<li><?php bugfix(40822); ?> (pdo_mysql does not return rowCount() on select). (Ilia)</li> 12993<li><?php bugfix(40815); ?> (using strings like "class::func" and static methods in set_exception_handler() might result in crash). (Tony)</li> 12994<li><?php bugfix(40809); ?> (Poor performance of ".="). (Dmitry)</li> 12995<li><?php bugfix(40805); ?> (Failure executing function ibase_execute()). (Tony)</li> 12996<li><?php bugfix(40800); ?> (cannot disable memory_limit with -1). (Dmitry, Tony)</li> 12997<li><?php bugfix(40794); ?> (ReflectionObject::getValues() may crash when used with dynamic properties). (Tony)</li> 12998<li><?php bugfix(40784); ?> (Case sensitivity in constructor's fallback). (Tony)</li> 12999<li><?php bugfix(40770); ?> (Apache child exits when PHP memory limit reached). (Dmitry)</li> 13000<li><?php bugfix(40764); ?> (line thickness not respected for horizontal and vertical lines). (Pierre)</li> 13001<li><?php bugfix(40758); ?> (Test fcgi_is_fastcgi() is wrong on windows). (Dmitry)</li> 13002<li><?php bugfix(40754); ?> (added substr() & substr_replace() overflow checks). (Ilia)</li> 13003<li><?php bugfix(40752); ?> (parse_ini_file() segfaults when a scalar setting is redeclared as an array). (Tony)</li> 13004<li><?php bugfix(40750); ?> (openssl stream wrapper ignores default_stream_timeout). (Tony)</li> 13005<li><?php bugfix(40727); ?> (segfault in PDO when failed to bind parameters). (Tony)</li> 13006<li><?php bugfix(40709); ?> (array_reduce() behaves strange with one item stored arrays). (Ilia)</li> 13007<li><?php bugfix(40703); ?> (Resolved a possible namespace conflict between libxmlrpc and MySQL's NDB table handler). (Ilia)</li> 13008<li><?php bugfix(40961); ?> (Incorrect results of DateTime equality check). (Mike)</li> 13009<li><?php bugfix(40678); ?> (Cross compilation fails). (Tony)</li> 13010<li><?php bugfix(40621); ?> (Crash when constructor called inappropriately). (Tony)</li> 13011<li><?php bugfix(40609); ?> (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry)</li> 13012<li><?php bugfix(40606); ?> (umask is not being restored when request is finished). (Tony)</li> 13013<li><?php bugfix(40598); ?> (libxml segfault). (Rob)</li> 13014<li><?php bugfix(40591); ?> (list()="string"; gives invalid opcode). (Dmitry)</li> 13015<li><?php bugfix(40578); ?> (imagettftext() multithreading issue). (Tony, Pierre)</li> 13016<li><?php bugfix(40576); ?> (double values are truncated to 6 decimal digits when encoding). (Tony)</li> 13017<li><?php bugfix(40560); ?> (DIR functions do not work on root UNC path). (Dmitry)</li> 13018<li><?php bugfix(40548); ?> (SplFileInfo::getOwner/getGroup give a warning on broken symlink). (Marcus)</li> 13019<li><?php bugfix(40546); ?> (SplFileInfo::getPathInfo() throws an exception if directory is in root dir). (Marcus)</li> 13020<li><?php bugfix(40545); ?> (multithreading issue in zend_strtod()). (Tony)</li> 13021<li><?php bugfix(40503); ?> (json_encode() value corruption on 32bit systems with overflown values). (Ilia)</li> 13022<li><?php bugfix(40467); ?> (Partial SOAP request sent when XSD sequence or choice include minOccurs=0). (Dmitry) </li> 13023<li><?php bugfix(40465); ?> (Ensure that all PHP elements are printed by var_dump). (wharmby at uk dot ibm dot com, Ilia)</li> 13024<li><?php bugfix(40464); ?> (session.save_path wont use default-value when safe_mode or open_basedir is enabled). (Ilia)</li> 13025<li><?php bugfix(40455); ?> (proc_open() uses wrong command line when safe_mode_exec_dir is set). (Tony)</li> 13026<li><?php bugfix(40432); ?> (strip_tags() fails with greater than in attribute). (Ilia)</li> 13027<li><?php bugfix(40431); ?> (dynamic properties may cause crash in ReflectionProperty methods). (Tony)</li> 13028<li><?php bugfix(40451); ?> (addAttribute() may crash when used with non-existent child node). (Tony)</li> 13029<li><?php bugfix(40442); ?> (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0). (olivier at elma dot fr, Marcus)</li> 13030<li><?php bugfix(40428); ?> (imagepstext() doesn't accept optional parameter). (Pierre)</li> 13031<li><?php bugfix(40417); ?> (Allow multiple instances of the same named PDO token in prepared statement emulation code). (Ilia)</li> 13032<li><?php bugfix(40414); ?> (possible endless fork() loop when running fastcgi). (Dmitry)</li> 13033<li><?php bugfix(40410); ?> (ext/posix does not compile on MacOS 10.3.9). (Tony)</li> 13034<li><?php bugfix(40392); ?> (memory leaks in PHP milter SAPI). (tuxracer69 at gmail dot com, Tony)</li> 13035<li><?php bugfix(40371); ?> (pg_client_encoding() not working on Windows). (Edin)</li> 13036<li><?php bugfix(40352); ?> (FCGI_WEB_SERVER_ADDRS function get lost). (Dmitry)</li> 13037<li><?php bugfix(40290); ?> (strtotime() returns unexpected result with particular timezone offset). (Derick)</li> 13038<li><?php bugfix(40286); ?> (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed). (Dmitry)</li> 13039<li><?php bugfix(40261); ?> (Extremely slow data handling due to memory fragmentation). (Dmitry)</li> 13040<li><?php bugfix(40236); ?> (php -a function allocation eats memory). (Dmitry)</li> 13041<li><?php bugfix(40109); ?> (iptcembed fails on non-jfif jpegs). (Tony)</li> 13042<li><?php bugfix(39965); ?> (Latitude and longitude are backwards in date_sun_info()). (Derick)</li> 13043<li><?php bugfix(39836); ?> (SplObjectStorage empty after unserialize). (Marcus)</li> 13044<li><?php bugfix(39416); ?> (Milliseconds in date()). (Derick)</li> 13045<li><?php bugfix(39396); ?> (stream_set_blocking crashes on Win32). (Ilia, maurice at iceblog dot de)</li> 13046<li><?php bugfix(39351); ?> (relative include fails on Solaris). (Dmitry, Tony)</li> 13047<li><?php bugfix(39322); ?> (proc_terminate() destroys process resource). (Nuno)</li> 13048<li><?php bugfix(38406); ?> (crash when assigning objects to SimpleXML attributes). (Tony)</li> 13049<li><?php bugfix(37799); ?> (ftp_ssl_connect() falls back to non-ssl connection). (Nuno)</li> 13050<li><?php bugfix(36496); ?> (SSL support in imap_open() not working on Windows). (Edin)</li> 13051<li><?php bugfix(36226); ?> (Inconsistent handling when passing nillable arrays). (Dmitry)</li> 13052<li><?php bugfix(35872); ?> (Avoid crash caused by object store being referenced during RSHUTDOWN). (Andy) </li> 13053<li><?php bugfix(34794); ?> (proc_close() hangs when used with two processes). (jdolecek at netbsd dot org, Nuno)</li> 13054<li><?php bugfix(38710); ?> (data leakage because of nonexisting boundary checking in statements in mysqli) (Stas)</li> 13055<li><?php bugfix(37386); ?> (autocreating element doesn't assign value to first node). (Rob)</li> 13056<li><?php bugfix(37013); ?> (server hangs when returning circular object references). (Dmitry)</li> 13057<li><?php bugfix(33664); ?> Console window appears when using exec() (Richard Quadling, Stas)</li> 13058<li><?php peclbugfix(10194); ?> (crash in Oracle client when memory limit reached in the callback). (Tony)</li> 13059</ul> 13060 13061<!-- }}} --></section> 13062 13063<section class="version" id="5.2.1"><!-- {{{ 5.2.1 --> 13064<h3>Version 5.2.1</h3> 13065<?php release_date('08-Feb-2007'); ?> 13066<ul> 13067<li>Added CURLOPT_TCP_NODELAY constant to Curl extension. (Sara)</li> 13068<li>Added support for hex numbers of any size. (Matt)</li> 13069<li>Added function stream_socket_shutdown(). It is a wrapper for system shutdown() function, that shut downs part of a full-duplex connection. (Dmitry)</li> 13070<li>Added internal heap protection (Dmitry) 13071 <ul> 13072 <li>memory-limit is always enabled (--enable-memory-limit removed)</li> 13073 <li>default value if memory-limit is set to 128M</li> 13074 <li>safe unlinking</li> 13075 <li>cookies</li> 13076 <li>canary protection (debug build only)</li> 13077 <li>random generation of cookies and canaries</li> 13078 </ul> 13079</li> 13080<li>Added forward support for 'b' prefix in front of string literals. (Andrei)</li> 13081<li>Added three new functions to ext/xmlwriter (Rob, Ilia) 13082 <ul> 13083 <li>xmlwriter_start_dtd_entity()</li> 13084 <li>xmlwriter_end_dtd_entity()</li> 13085 <li>xmlwriter_write_dtd_entity()</li> 13086 </ul> 13087</li> 13088<li>Added a meta tag to phpinfo() output to prevent search engines from indexing the page. (Ilia)</li> 13089<li>Added new function, sys_get_temp_dir(). (Hartmut)</li> 13090<li>Added missing object support to file_put_contents(). (Ilia)</li> 13091<li>Added support for md2, ripemd256 and ripemd320 algos to hash(). (Sara)</li> 13092<li>Added forward support for (binary) cast. (Derick)</li> 13093<li>Added optimization for imageline with horizontal and vertical lines (Pierre)</li> 13094 13095<li>Removed dependency from SHELL32.DLL. (Dmitry)</li> 13096<li>Removed double "wrong parameter count" warnings in various functions. (Hannes)</li> 13097<li>Moved extensions to PECL: 13098 <ul> 13099 <li>ext/informix (Derick, Tony)</li> 13100 </ul> 13101</li> 13102<li>Changed double-to-string utilities to use BSD implementation. (Dmitry, Tony)</li> 13103<li>Updated bundled libcURL to version 7.16.0 in the Windows distro. (Edin)</li> 13104<li>Updated timezone database to version 2006.16. (Derick)</li> 13105<li>cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to omitting check for "#! /usr/bin/php" line. (Dmitry).</li> 13106<li>Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE. (Dmitry)</li> 13107<li>VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR. (Dmitry)</li> 13108<li>ext/bcmath initialization code is moved from request startup to module startup. (Dmitry)</li> 13109<li>Zend Memory Manager Improvements (Dmitry) 13110 <ul> 13111 <li>use HeapAlloc() instead of VirtualAlloc()</li> 13112 <li>use "win32" storage manager (instead of "malloc") on Windows by default</li> 13113 </ul> 13114</li> 13115<li>Zip Extension Improvements (Pierre) 13116 <ul> 13117 <li>Fixed leak in statName and stateIndex</li> 13118 <li>Fixed return setComment (Hannes)</li> 13119 <li>Added addEmptyDir method</li> 13120 </ul> 13121</li> 13122<li>Filter Extension Improvements (Ilia, Pierre) 13123 <ul> 13124 <li>Fixed a bug when callback function returns a non-modified value.</li> 13125 <li>Added filter support for $_SERVER in cgi/apache2 sapis.</li> 13126 <li>Make sure PHP_SELF is filtered in Apache 1 sapi.</li> 13127 <li><?php bugfix(39358); ?> (INSTALL_HEADERS contains incorrect reference to php_filter.h).</li> 13128 <li>Added "default" option that allows a default value to be set for an invalid or missing value.</li> 13129 <li>Invalid filters fails instead of returning unsafe value</li> 13130 <li>Fixed possible double encoding problem with sanitizing filters</li> 13131 <li>Make use of space-strict strip_tags() function</li> 13132 <li>Fixed whitespace trimming</li> 13133 <li>Added support for FastCGI environment variables. (Dmitry)</li> 13134 </ul> 13135</li> 13136<li>PDO_MySQL Extension Improvements (Ilia) 13137 <ul> 13138 <li>Enabled buffered queries by default.</li> 13139 <li>Enabled prepared statement emulation by default.</li> 13140 </ul> 13141</li> 13142 13143<li>Small optimization of the date() function. (Matt,Ilia)</li> 13144<li>Optimized the internal is_numeric_string() function. (Matt,Ilia)</li> 13145<li>Optimized array functions utilizing php_splice(). (Ilia)</li> 13146<li>Windows related optimizations (Dmitry, Stas) 13147 <ul> 13148 <li>COM initialization/deinitialization are done only if necessary</li> 13149 <li>removed unnecessary checks for ISREG file and corresponding stat() calls</li> 13150 <li>opendir() is reimplementation using GetFirstFile/GetNextFile those are faster then _findfirst/_findnext</li> 13151 <li>implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic</li> 13152 <li>start timeout thread only if necessary</li> 13153 <li>stat() is reimplementation using GetFileAttributesEx(). The new implementation is faster then implementation in MS VC CRT, but it doesn't support Windows 95.</li> 13154 </ul> 13155</li> 13156<li>Streams optimization (Dmitry) 13157 <ul> 13158 <li>removed unnecessary ftell() calls (one call for each included PHP file)</li> 13159 <li>disabled calls to read() after EOF</li> 13160 </ul> 13161</li> 13162 13163<li>Fixed incorrect function names on FreeBSD where inet_pton() was named __inet_pton() and inet_ntop() was named __inet_ntop(). (Hannes)</li> 13164<li>Fixed FastCGI impersonation for persistent connections on Windows. (Dmitry)</li> 13165<li>Fixed wrong signature initialization in imagepng (Takeshi Abe)</li> 13166<li>Fixed ftruncate() with negative size on FreeBSD. (Hannes)</li> 13167<li>Fixed segfault in RegexIterator when given invalid regex. (Hannes)</li> 13168<li>Fixed segfault in SplFileObject->openFile()->getPathname(). (Hannes)</li> 13169<li>Fixed segfault in ZTS mode when OCI8 statements containing sub-statements are destroyed in wrong order. (Tony)</li> 13170<li>Fixed the validate email filter so that the letter "v" can also be used in the user part of the email address. (Derick)</li> 13171<li><?php bugfix(40297); ?> (compile failure in ZTS mode when collections support is missing). (Tony)</li> 13172<li><?php bugfix(40285); ?> (The PDO prepare parser goes into an infinite loop in some instances). (Ilia)</li> 13173<li><?php bugfix(40274); ?> (Sessions fail with numeric root keys). (Ilia)</li> 13174<li><?php bugfix(40259); ?> (ob_start call many times - memory error). (Dmitry)</li> 13175<li><?php bugfix(40231); ?> (file_exists incorrectly reports false). (Dmitry)</li> 13176<li><?php bugfix(40228); ?> (ZipArchive::extractTo does create empty directories recursively). (Pierre)</li> 13177<li><?php bugfix(40200); ?> (The FastCgi version has different realpath results than thread safe version). (Dmitry)</li> 13178<li><?php bugfix(40191); ?> (use of array_unique() with objects triggers segfault). (Tony)</li> 13179<li><?php bugfix(40189); ?> (possible endless loop in zlib.inflate stream filter). (Greg, Tony)</li> 13180<li><?php bugfix(40169); ?> (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2). (Tony)</li> 13181<li><?php bugfix(40129); ?> (iconv extension doesn't compile with CodeWarrior on Netware). (gk at gknw dot de, Tony)</li> 13182<li><?php bugfix(40127); ?> (apache2handler doesn't compile on Netware). (gk at gknw dot de)</li> 13183<li><?php bugfix(40121); ?> (PDO_DBLIB driver wont free statements). (Ilia)</li> 13184<li><?php bugfix(40098); ?> (php_fopen_primary_script() not thread safe). (Ilia)</li> 13185<li><?php bugfix(40092); ?> (chroot() doesn't clear realpath cache). (Dmitry)</li> 13186<li><?php bugfix(40091); ?> (spl_autoload_register with 2 instances of the same class). (Ilia)</li> 13187<li><?php bugfix(40083); ?> (milter SAPI functions always return false/null). (Tony)</li> 13188<li><?php bugfix(40079); ?> (php_get_current_user() not thread safe). (Ilia, wharmby at uk dot ibm dot com)</li> 13189<li><?php bugfix(40078); ?> (ORA-01405 when fetching NULL values using oci_bind_array_by_name()). (Tony)</li> 13190<li><?php bugfix(40076); ?> (zend_alloc.c: Value of enumeration constant must be in range of signed integer). (Dmitry)</li> 13191<li><?php bugfix(40073); ?> (exif_read_data dies on certain images). (Tony, Marcus)</li> 13192<li><?php bugfix(40036); ?> (empty() does not work correctly with ArrayObject when using ARRAY_AS_PROPS). (Ilia)</li> 13193<li><?php bugfix(40012); ?> (php_date.c doesn't compile on Netware). (gk at gknw dot de, Derick)</li> 13194<li><?php bugfix(40009); ?> (http_build_query(array()) returns NULL). (Ilia)</li> 13195<li><?php bugfix(40002); ?> (Try/Catch performs poorly). (Dmitry)</li> 13196<li><?php bugfix(39993); ?> (tr_TR.UTF-8 locale has problems with PHP). (Ilia)</li> 13197<li><?php bugfix(39990); ?> (Cannot "foreach" over overloaded properties). (Dmitry)</li> 13198<li><?php bugfix(39988); ?> (type argument of oci_define_by_name() is ignored). (Chris Jones, Tony)</li> 13199<li><?php bugfix(39984); ?> (redirect response code in header() could be ignored in CGI sapi). (Ilia)</li> 13200<li><?php bugfix(39979); ?> (PGSQL_CONNECT_FORCE_NEW will causes next connect to establish a new connection). (Ilia)</li> 13201<li><?php bugfix(39971); ?> (pg_insert/pg_update do not allow now() to be used for timestamp fields). (Ilia)</li> 13202<li><?php bugfix(39969); ?> (ini setting short_open_tag has no effect when using --enable-maintainer-zts). (Dmitry)</li> 13203<li><?php bugfix(39952); ?> (zip ignoring --with-libdir on zlib checks) (judas dot iscariote at gmail dot com)</li> 13204<li><?php bugfix(39944); ?> (References broken). (Dmitry)</li> 13205<li><?php bugfix(39935); ?> (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores --with-libdir). (judas dot iscariote at gmail dot com, Derick)</li> 13206<li><?php bugfix(39903); ?> (Notice message when executing __halt_compiler() more than once). (Tony)</li> 13207<li><?php bugfix(39898); ?> (FILTER_VALIDATE_URL validates \r\n\t etc). (Ilia)</li> 13208<li><?php bugfix(39890); ?> (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path). (Tony)</li> 13209<li><?php bugfix(39884); ?> (ReflectionParameter::getClass() throws exception for type hint self). (thekid at php dot net)</li> 13210<li><?php bugfix(39878); ?> (CURL doesn't compile on Sun Studio Pro). (Ilia)</li> 13211<li><?php bugfix(39873); ?> (number_format() breaks with locale & decimal points). (Ilia)</li> 13212<li><?php bugfix(39869); ?> (safe_read does not initialize errno). (michiel at boland dot org, Dmitry)</li> 13213<li><?php bugfix(39850); ?> (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong"). (Tony)</li> 13214<li><?php bugfix(39846); ?> (Invalid IPv4 treated as valid). (Ilia)</li> 13215<li><?php bugfix(39845); ?> (Persistent connections generate a warning in pdo_pgsql). (Ilia)</li> 13216<li><?php bugfix(39832); ?> (SOAP Server: parameter not matching the WSDL specified type are set to 0). (Dmitry)</li> 13217<li><?php bugfix(39825); ?> (foreach produces memory error). (Dmitry)</li> 13218<li><?php bugfix(39816); ?> (apxs2filter ignores httpd.conf & .htaccess php config settings). (Ilia)</li> 13219<li><?php bugfix(39815); ?> (SOAP double encoding is not locale-independent). (Dmitry)</li> 13220<li><?php bugfix(39797); ?> (virtual() does not reset changed INI settings). (Ilia) </li> 13221<li><?php bugfix(39795); ?> (build fails on AIX because crypt_r() uses different data struct). (Tony)</li> 13222<li><?php bugfix(39791); ?> (Crash in strtotime() on overly long relative date multipliers). (Ilia)</li> 13223<li><?php bugfix(39787); ?> (PHP doesn't work with Apache 2.3). (mv at binarysec dot com).</li> 13224<li><?php bugfix(39782); ?> (setTime() on a DateTime constructed with a Weekday yields incorrect results). (Ilia)</li> 13225<li><?php bugfix(39780); ?> (PNG image with CRC/data error raises fatal error) (Pierre)</li> 13226<li><?php bugfix(39779); ?> (Enable AUTH PLAIN mechanism in underlying libc-client). (michael dot heimpold at s2000 dot tu-chemnitz dot de, Ilia)</li> 13227<li><?php bugfix(39775); ?> ("Indirect modification ..." message is not shown). (Dmitry)</li> 13228<li><?php bugfix(39763); ?> (magic quotes are applied twice by ext/filter in parse_str()). (Ilia) </li> 13229<li><?php bugfix(39760); ?> (cloning fails on nested SimpleXML-Object). (Rob)</li> 13230<li><?php bugfix(39759); ?> (Can't use stored procedures fetching multiple result sets in pdo_mysql). (Ilia)</li> 13231<li><?php bugfix(39754); ?> (Some POSIX extension functions not thread safe). (Ilia, wharmby at uk dot ibm dot com)</li> 13232<li><?php bugfix(39751); ?> (putenv crash on Windows). (KevinJohnHoffman at gmail.com)</li> 13233<li><?php bugfix(39732); ?> (oci_bind_array_by_name doesn't work on Solaris 64bit). (Tony)</li> 13234<li><?php bugfix(39724); ?> (Broken build due to spl/filter usage of pcre extension). (Tony, Ilia)</li> 13235<li><?php bugfix(39718); ?> (possible crash if assert.callback is set in ini). (Ilia)</li> 13236<li><?php bugfix(39702); ?> (php crashes in the allocator on linux-m68k). (Dmitry)</li> 13237<li><?php bugfix(39685); ?> (iconv() - undefined function). (Hannes)</li> 13238<li><?php bugfix(39673); ?> (file_get_contents causes bus error on certain offsets). (Tony)</li> 13239<li><?php bugfix(39663); ?> (Memory leak in pg_get_notify() and a possible memory corruption on Windows in pgsql and pdo_pgsql extensions). (Ilia, matteo at beccati dot com)</li> 13240<li><?php bugfix(39662); ?> (Segfault when calling asXML() of a cloned SimpleXMLElement). (Rob, Tony)</li> 13241<li><?php bugfix(39656); ?> (crash when calling fetch() on a PDO statment object after closeCursor()). (Ilia, Tony)</li> 13242<li><?php bugfix(39653); ?> (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled). (Tony)</li> 13243<li><?php bugfix(39652); ?> (Wrong negative results from memory_get_usage()). (Dmitry)</li> 13244<li><?php bugfix(39648); ?> (Implementation of PHP functions chown() and chgrp() are not thread safe). (Ilia, wharmby at uk dot ibm dot com)</li> 13245<li><?php bugfix(39640); ?> (Segfault with "Allowed memory size exhausted"). (Dmitry)</li> 13246<li><?php bugfix(39625); ?> (Apache crashes on importStylesheet call). (Rob)</li> 13247<li><?php bugfix(39623); ?> (thread safety fixes on *nix for putenv() & mime_magic). (Ilia, wharmby at uk dot ibm dot com)</li> 13248<li><?php bugfix(39621); ?> (str_replace() is not binary safe on strings with equal length). (Tony)</li> 13249<li><?php bugfix(39613); ?> (Possible segfault in imap initialization due to missing module dependency). (wharmby at uk dot ibm dot com, Tony)</li> 13250<li><?php bugfix(39606); ?> (Use of com.typelib_file in PHP.ini STILL causes A/V). (Rob)</li> 13251<li><?php bugfix(39602); ?> (Invalid session.save_handler crashes PHP). (Dmitry)</li> 13252<li><?php bugfix(39596); ?> (Creating Variant of type VT_ARRAY). (Rob)</li> 13253<li><?php bugfix(39583); ?> (ftp_put() does not change transfer mode to ASCII). (Tony)</li> 13254<li><?php bugfix(39576); ?> (array_walk() doesn't separate user data zval). (Tony)</li> 13255<li><?php bugfix(39575); ?> (move_uploaded_file() no longer working (safe mode related)). (Tony)</li> 13256<li><?php bugfix(39571); ?> (timeout ssl:// connections). (Ilia)</li> 13257<li><?php bugfix(39564); ?> (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails). (Tony)</li> 13258<li><?php bugfix(39548); ?> (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows). (Dmitry)</li> 13259<li><?php bugfix(39538); ?> (fgetcsv can't handle starting newlines and trailing odd number of backslashes). (David Soria Parra, Pierre)</li> 13260<li><?php bugfix(39534); ?> (Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com, Dmitry)</li> 13261<li><?php bugfix(39527); ?> (Failure to retrieve results when multiple unbuffered, prepared statements are used in pdo_mysql). (Ilia)</li> 13262<li><?php bugfix(39508); ?> (imagefill crashes with small images 3 pixels or less). (Pierre)</li> 13263<li><?php bugfix(39506); ?> (Archive corrupt with ZipArchive::addFile method). (Pierre)</li> 13264<li><?php bugfix(39504); ?> (xmlwriter_write_dtd_entity() creates Attlist tag, not entity). (Hannes)</li> 13265<li><?php bugfix(39483); ?> (Problem with handling of \ char in prepared statements). (Ilia, suhachov at gmail dot com)</li> 13266<li><?php bugfix(39458); ?> (ftp_nlist() returns false on empty dirs). (Nuno)</li> 13267<li><?php bugfix(39454); ?> (Returning a SOAP array segfaults PHP). (Dmitry)</li> 13268<li><?php bugfix(39450); ?> (getenv() fills other super-globals). (Ilia, Tony)</li> 13269<li><?php bugfix(39449); ?> (Overloaded array properties do not work correctly). (Dmitry)</li> 13270<li><?php bugfix(39445); ?> (Calling debug_backtrace() in the __toString() function produces a crash). (Dmitry)</li> 13271<li><?php bugfix(39438); ?> (Fatal error: Out of memory). (Dmitry)</li> 13272<li><?php bugfix(39435); ?> ('foo' instanceof bar gives invalid opcode error). (Sara)</li> 13273<li><?php bugfix(39414); ?> (Syntax error while compiling with Sun Workshop Complier). (Johannes)</li> 13274<li><?php bugfix(39398); ?> (Booleans are not automatically translated to integers). (Ilia)</li> 13275<li><?php bugfix(39394); ?> (Missing check for older variants of openssl). (Ilia)</li> 13276<li><?php bugfix(39367); ?> (clearstatcache() doesn't clear realpath cache). (j at pureftpd dot org, Dmitry)</li> 13277<li><?php bugfix(39366); ?> (imagerotate does not use alpha with angle > 45 degrees) (Pierre)</li> 13278<li><?php bugfix(39364); ?> (Removed warning on empty haystack inside mb_strstr()). (Ilia)</li> 13279<li><?php bugfix(39362); ?> (Added an option to imap_open/imap_reopen to control the number of connection retries). (Ilia)</li> 13280<li>Fixed bugs <?php bugl(39361); ?>, <?php bugl(39400); ?> (mbstring function overloading problem). (Seiji)</li> 13281<li><?php bugfix(39354); ?> (Allow building of curl extension against libcurl 7.16.0). (Ilia) </li> 13282<li><?php bugfix(39350); ?> (crash with implode("\n", array(false))). (Ilia)</li> 13283<li><?php bugfix(39344); ?> (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry)</li> 13284<li><?php bugfix(39320); ?> (ZEND_HASH_APPLY_STOP causes deletion). (Marcus)</li> 13285<li><?php bugfix(39313); ?> (spl_autoload triggers Fatal error). (Marcus)</li> 13286<li><?php bugfix(39300); ?> (make install fails if wget is not available). (Tony)</li> 13287<li><?php bugfix(39297); ?> (Memory corruption because of indirect modification of overloaded array). (Dmitry)</li> 13288<li><?php bugfix(39286); ?> (misleading error message when invalid dimensions are given) (Pierre)</li> 13289<li><?php bugfix(39273); ?> (imagecopyresized may ignore alpha channel) (Pierre)</li> 13290<li><?php bugfix(39265); ?> (Fixed path handling inside mod_files.sh). (michal dot taborsky at gmail dot com, Ilia)</li> 13291<li><?php bugfix(39217); ?> (serialNumber might be -1 when the value is too large). (Pierre, Tony)</li> 13292<li><?php bugfix(39215); ?> (Inappropriate close of stdin/stdout/stderr). (Wez, Ilia)</li> 13293<li><?php bugfix(39201); ?> (Possible crash in Apache 2 with 413 ErrorHandler). (Ilia)</li> 13294<li><?php bugfix(39151); ?> (Parse error in recursiveiteratoriterator.php). (Marcus)</li> 13295<li><?php bugfix(39121); ?> (Incorrect return array handling in non-wsdl soap client). (Dmitry)</li> 13296<li><?php bugfix(39090); ?> (DirectoryFilterDots doxygen docs and example is wrong). (Marcus)</li> 13297<li><?php bugfix(38852); ?> (XML-RPC Breaks iconv). (Hannes)</li> 13298<li><?php bugfix(38770); ?> (unpack() broken with longs on 64 bit machines). (Ilia, David Soria Parra).</li> 13299<li><?php bugfix(38698); ?> (for some keys cdbmake creates corrupted db and cdb can't read valid db). (Marcus)</li> 13300<li><?php bugfix(38680); ?> (Added missing handling of basic types in json_decode). (Ilia)</li> 13301<li><?php bugfix(38604); ?> (Fixed request time leak inside foreach() when iterating through virtual properties). (Dmitry)</li> 13302<li><?php bugfix(38602); ?> (header( "HTTP/1.0 ..." ) does not change proto version). (Ilia)</li> 13303<li><?php bugfix(38542); ?> (proc_get_status() returns wrong PID on windows). (Nuno)</li> 13304<li><?php bugfix(38536); ?> (SOAP returns an array of values instead of an object). (Dmitry)</li> 13305<li><?php bugfix(38456); ?> (Apache2 segfaults when virtual() is called in .php ErrorDocument). (Ilia)</li> 13306<li><?php bugfix(38325); ?> (spl_autoload_register() gives wrong line for "class not found"). (Ilia)</li> 13307<li><?php bugfix(38319); ?> (Remove bogus warnings from persistent PDO connections). (Ilia)</li> 13308<li><?php bugfix(38274); ?> (Memlimit fatal error sent to "wrong" stderr when using fastcgi). (Dmitry)</li> 13309<li><?php bugfix(38252); ?> (Incorrect PDO error message on invalid default fetch mode). (Ilia)</li> 13310<li><?php bugfix(37927); ?> (Prevent trap when COM extension processes argument of type VT_DISPATCH|VT_REF) (Andy)</li> 13311<li><?php bugfix(37773); ?> (iconv_substr() gives "Unknown error" when string length = 1"). (Ilia)</li> 13312<li><?php bugfix(37627); ?> (session save_path check checks the parent directory). (Ilia)</li> 13313<li><?php bugfix(37619); ?> (proc_open() closes stdin on fork() failure). (jdolecek at NetBSD dot org, Nuno)</li> 13314<li><?php bugfix(37588); ?> (COM Property propputref converts to PHP function and can't be accesed). (Rob)</li> 13315<li><?php bugfix(36975); ?> (natcasesort() causes array_pop() to misbehave). (Hannes)</li> 13316<li><?php bugfix(36812); ?> (pg_execute() modifies input array). (Ilia)</li> 13317<li><?php bugfix(36798); ?> (Error parsing named parameters with queries containing high-ascii chars). (Ilia)</li> 13318<li><?php bugfix(36644); ?> (possible crash in variant_date_from_timestamp()). (Ilia)</li> 13319<li><?php bugfix(36427); ?> (proc_open() / proc_close() leak handles on windows). (jdolecek at NetBSD dot org, Nuno)</li> 13320<li><?php bugfix(36392); ?> (wrong number of decimal digits with %e specifier in sprintf). (Matt,Ilia)</li> 13321<li><?php bugfix(36214); ?> (__get method works properly only when conditional operator is used). (Dmitry)</li> 13322<li><?php bugfix(35634); ?> (Erroneous "Class declarations may not be nested" error raised). (Carl P. Corliss, Dmitry)</li> 13323<li><?php bugfix(35106); ?> (nested foreach fails when array variable has a reference). (Dmitry)</li> 13324<li><?php bugfix(34564); ?> (COM extension not returning modified "out" argument) (Andy)</li> 13325<li><?php bugfix(33734); ?> (Something strange with COM Object). (Rob)</li> 13326<li><?php bugfix(33386); ?> (ScriptControl only sees last function of class). (Rob)</li> 13327<li><?php bugfix(33282); ?> (Re-assignment by reference does not clear the is_ref flag) (Ilia, Dmitry, Matt Wilmas)</li> 13328<li><?php bugfix(30074); ?> (apparent symbol table error with extract($blah, EXTR_REFS)) (Brian)</li> 13329<li><?php bugfix(29840); ?> (is_executable() does not honor safe_mode_exec_dir setting). (Ilia)</li> 13330<li><?php peclbugfix(7295); ?> (ORA-01405: fetched column value is NULL on LOB fields). (Tony)</li> 13331 13332</ul> 13333 13334<!-- }}} --></section> 13335 13336<section class="version" id="5.2.0"><!-- {{{ 5.2.0 --> 13337<h3>Version 5.2.0</h3> 13338<?php release_date('02-Nov-2006'); ?> 13339<ul> 13340<li>Updated bundled OpenSSL to version 0.9.8d in the Windows distro. (Edin)</li> 13341<li>Updated Postgresql client libraries to 8.1.4 in the Windows distro. (Edin)</li> 13342<li>Updated PCRE to version 6.7. (Ilia)</li> 13343<li>Updated libsqlite in ext/pdo_sqlite to 3.3.7. (Ilia)</li> 13344<li>Updated bundled MySQL client library to version 5.0.22 in the Windows distribution. (Edin)</li> 13345<li>Updated timezonedb to version 2006.14. (Derick)</li> 13346 13347<li>Added ability to make SOAP call userspace PHP<->XML converters. (Dmitry)</li> 13348<li>Added support for character sets in pg_escape_string() for PostgreSQL 8.1.4 and higher. (Ilia)</li> 13349<li>Added support for character sets in PDO quote() method for PostgreSQL 8.1.4 and higher. (Ilia)</li> 13350<li>Added DSA key generation support to openssl_pkey_new(), FR <?php bugl(38731); ?> (marci at balabit dot hu, Tony)</li> 13351<li>Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). (Dmitry)</li> 13352<li>Added support for hexadecimal entity in imagettftext() for the bundled GD. (Pierre)</li> 13353<li>Added support for httpOnly flag for session extension and cookie setting functions. (Scott MacVicar, Ilia)</li> 13354<li>Added version specific registry keys to allow different configurations for different php version. (Richard, Dmitry)</li> 13355<li>Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs. (Dmitry)</li> 13356<li>Added an optional boolean parameter to memory_get_usage() and memory_get_peak_usage() to get memory size allocated by emalloc() or real size of memory allocated from system. (Dmitry)</li> 13357<li>Added Zip Archive extension. (Pierre)</li> 13358<li>Added RFC1867 fileupload processing hook. (Stefan E.)</li> 13359<li>Added JSON and Filter extensions. (Derick, Rasmus, Pierre, Ilia)</li> 13360<li>Added error messages to disk_free_space() and disk_total_space() functions. FR <?php bugl(37971); ?> (Tony)</li> 13361<li>Added PATHINFO_FILENAME option to pathinfo() to get the filename. (Toby S. and Christian S.)</li> 13362<li>Added array_fill_keys() function. (Marcus, Matt Wilmas)</li> 13363<li>Added posix_initgroups() function. (Ilia)</li> 13364<li>Added optional parameter to http_build_query() to allow specification of string separator. (Ilia)</li> 13365<li>Added image_type_to_extension() function. (Hannes, Ilia)</li> 13366<li>Added allow_url_include ini directive to complement allow_url_fopen. (Rasmus)</li> 13367<li>Added automatic module globals management. (Dmitry)</li> 13368<li>Added RFC2397 (data: stream) support. (Marcus)</li> 13369<li>Added new error mode E_RECOVERABLE_ERROR. (Derick, Marcus, Tony)</li> 13370<li>Added support for getenv() input filtering. (Rasmus)</li> 13371<li>Added support for constructors in interfaces to force constructor signature checks in implementations. (Marcus)</li> 13372<li>Added memory_get_peak_usage() function for retrieving peak memory usage of a PHP script. (Ilia)</li> 13373<li>Added pg_field_table() function. (Edin)</li> 13374<li>Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML(). (Hannes)</li> 13375<li>Added DOMNode::getNodePath() for getting an XPath for a node. (Christian)</li> 13376<li>Added gmp_nextprime() function. (ants dot aasma at gmail dot com, Tony)</li> 13377<li>Added error_get_last() function. (Mike)</li> 13378 13379<li>Removed current working directory from the php.ini search path for CLI and re-added it for other SAPIs (restore to pre 5.1.x behavior). (Edin)</li> 13380<li>Moved extensions to PECL: 13381 <ul> 13382 <li>ext/filepro (Derick, Tony)</li> 13383 <li>ext/hwapi (Derick, Tony)</li> 13384 </ul> 13385</li> 13386<li>Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled. (Stefan E., Ilia)</li> 13387 13388<li>Increased default memory limit to 16 megabytes to accommodate for a more accurate memory utilization measurement.</li> 13389<li>In addition to path to php.ini, PHPRC now may specify full file name. (Dmitry)</li> 13390 13391<li>Optimized array/HashTable copying. (Matt Wilmas, Dmitry)</li> 13392<li>Optimized zend_try/zend_catch macros by eliminating memcpy(3). (Dmitry)</li> 13393<li>Optimized require_once() and include_once() by eliminating fopen(3) on second usage. (Dmitry)</li> 13394<li>Optimized request shutdown sequence. Restoring ini directives now iterates only over modified directives instead of all. (Dmitry)</li> 13395 13396<li>Changed priority of PHPRC environment variable on win32 to be higher then value from registry. (Dmitry)</li> 13397<li>Changed __toString() to be called wherever applicable. (Marcus)</li> 13398<li>Changed E_ALL error reporting mode to include E_RECOVERABLE_ERROR. (Marcus)</li> 13399<li>Changed realpath cache to be disabled when "open_basedir" or "safe_mode" are enabled on per-request basis. (Ilia)</li> 13400 13401<li>Improved SNMP extension: (Jani) 13402 <ul> 13403 <li>Renamed snmp_set_oid_numeric_print() to snmp_set_oid_output_format(). </li> 13404 <li>Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC</li> 13405 <li><?php bugfix(37564); ?> (AES privacy encryption not possible due to net-snmp 5.2 compatibility issue). (Patch: scott dot moynes+php at gmail dot com)</li> 13406 </ul> 13407</li> 13408<li>Improved OpenSSL extension: (Pierre) 13409 <ul> 13410 <li>Added support for all supported algorithms in openssl_verify</li> 13411 <li>Added openssl_pkey_get_details, returns the details of a key</li> 13412 <li>Added x509 v3 extensions support</li> 13413 <li>Added openssl_csr_get_subject() and openssl_csr_get_public_key()</li> 13414 <li>Added 3 new constants OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER and OPENSSL_KEYTYPE_EC</li> 13415 </ul> 13416</li> 13417<li>Improved the Zend memory manager: (Dmitry) 13418 <ul> 13419 <li>Removed unnecessary "--disable-zend-memory-manager" configure option.</li> 13420 <li>Added "--enable-malloc-mm" configure option which is enabled by default in debug builds to allow using internal and external memory debuggers.</li> 13421 <li>Allow tweaking the memory manager with ZEND_MM_MEM_TYPE and ZEND_MM_SEG_SIZE environment variables.</li> 13422 <li>For more information: Zend/README.ZEND_MM</li> 13423 </ul> 13424</li> 13425<li>Improved safe_mode check for the error_log() function. (Ilia)</li> 13426<li>Improved the error reporting in SOAP extension on request failure. (Ilia)</li> 13427<li>Improved crypt() on win32 to be about 10 times faster and to have friendlier license. (Frank, Dmitry)</li> 13428<li>Improved performance of the implode() function on associated arrays. (Ilia)</li> 13429<li>Improved performance of str_replace() when doing 1 char to 1 char or 1 char to many chars replacement. (Ilia)</li> 13430<li>Improved apache2filter SAPI: 13431 <ul> 13432 <li>Allowed PHP to be an arbitrary filter in the chain and read the script from the Apache stream. (John)</li> 13433 <li>Added support for apache2filter in the Windows build including binary support for both Apache 2.0.x (php5apache2_filter.dll) and Apache 2.2.x (php5apache2_2_filter.dll). (Edin)</li> 13434 </ul> 13435</li> 13436<li>Improved apache2handler SAPI: 13437 <ul> 13438 <li>Changed ap_set_content_type() to be called only once. (Mike)</li> 13439 <li>Added support for Apache 2.2 handler in the Windows distribution. (Edin)</li> 13440 </ul> 13441</li> 13442<li>Improved FastCGI SAPI: (Dmitry) 13443 <ul> 13444 <li>Removed source compatibility with libfcgi.</li> 13445 <li>Optimized access to FastCGI environment variables by using HashTable instead of linear search.</li> 13446 <li>Allowed PHP_FCGI_MAX_REQUESTS=0 that assumes no limit.</li> 13447 <li>Allowed PHP_FCGI_CHILDREN=0 that assumes no worker children. (FastCGI requests are handled by main process itself)</li> 13448 </ul> 13449</li> 13450<li>Improved CURL: 13451 <ul> 13452 <li>Added control character checks for "open_basedir" and "safe_mode" checks. (Ilia)</li> 13453 <li>Added implementation of curl_multi_info_read(). (Brian)</li> 13454 </ul> 13455</li> 13456<li>Improved PCRE: (Andrei) 13457 <ul> 13458 <li>Added run-time configurable backtracking/recursion limits.</li> 13459 <li>Added preg_last_error(). (Andrei)</li> 13460 </ul> 13461</li> 13462<li>Improved PDO: 13463 <ul> 13464 <li>Added new attribute ATTR_DEFAULT_FETCH_MODE. (Pierre)</li> 13465 <li>Added FETCH_PROPS_LATE. (Marcus)</li> 13466 </ul> 13467</li> 13468<li>Improved SPL: (Marcus) 13469 <ul> 13470 <li>Made most iterator code exception safe.</li> 13471 <li>Added RegExIterator and RecursiveRegExIterator.</li> 13472 <li>Added full caching support and ArrayAccess to CachingIterator.</li> 13473 <li>Added array functions to ArrayObject/ArrayIterator and made them faster.</li> 13474 <li>Added support for reading csv and skipping empty lines in SplFileObject.</li> 13475 <li>Added CachingIterator::TOSTRING_USE_INNER, calls inner iterator __toString.</li> 13476 <li>Added ability to set the CSV separator per SplFileObject.</li> 13477 </ul> 13478</li> 13479<li>Improved xmlReader: (Rob) 13480 <ul> 13481 <li>Added readInnerXml(), xmlReader::setSchema().</li> 13482 <li>Added readInnerXML(), readOuterXML(), readString(), setSchema(). (2.6.20+)</li> 13483 <li>Changed to passing libxml options when loading reader.</li> 13484 </ul> 13485</li> 13486<li>Fixed invalid read in imagecreatefrompng when an empty file is given (Pierre, Tony)</li> 13487<li>Fixed infinite loop when a wrong color index is given to imagefill (Pierre)</li> 13488<li>Fixed mess with CGI/CLI -d option (now it works with cgi; constants are working exactly like in php.ini; with FastCGI -d affects all requests). (Dmitry)</li> 13489<li>Fixed missing open_basedir check inside chdir() function. (Ilia)</li> 13490<li>Fixed overflow on 64bit systems in str_repeat() and wordwrap(). (Stefan E.)</li> 13491<li>Fixed XSLTProcessor::importStylesheet() to return TRUE on success (Christian)</li> 13492<li>Fixed leaks in openssl_csr_sign and openssl_csr_new (Pierre)</li> 13493<li>Fixed phpinfo() cutoff of variables at \0. (Ilia)</li> 13494<li>Fixed a bug in the filter extension that prevented magic_quotes_gpc from being applied when RAW filter is used. (Ilia)</li> 13495<li>Fixed memory leaks in openssl streams context options. (Pierre)</li> 13496<li>Fixed handling of extremely long paths inside tempnam() function. (Ilia)</li> 13497<li><?php bugfix(39304); ?> Segmentation fault with list unpacking of string offset). (Dmitry)</li> 13498<li><?php bugfix(39192); ?> Not including nsapi.h properly with SJSWS 7). This will make PHP 5.2 compatible to new Sun Webserver. (Uwe)</li> 13499<li><?php bugfix(39140); ?> Uncaught exception may cause crash). (Dmitry)</li> 13500<li><?php bugfix(39125); ?> Memleak when reflecting non-existing class/method). (Tony)</li> 13501<li><?php bugfix(39067); ?> getDeclaringClass() and private properties). (Tony)</li> 13502<li><?php bugfix(39039); ?> SSL: fatal protocol error when fetching HTTPS from servers running Google web server). (Ilia)</li> 13503<li><?php bugfix(39035); ?> Compatibility issue between DOM and zend.ze1_compatibility_mode). (Rob)</li> 13504<li><?php bugfix(39034); ?> curl_exec() with return transfer returns TRUE on empty files). (Ilia)</li> 13505<li><?php bugfix(39032); ?> strcspn() stops on null character). (Tony)</li> 13506<li><?php bugfix(39020); ?> PHP in FastCGI server mode crashes). (Dmitry)</li> 13507<li><?php bugfix(39017); ?> foreach(($obj = new myClass) as $v); echo $obj; segfaults). (Dmitry)</li> 13508<li><?php bugfix(39004); ?> Fixed generation of config.nice with autoconf 2.60). (Ilia)</li> 13509<li><?php bugfix(39003); ?> __autoload() is called for type hinting). (Dmitry, Tony)</li> 13510<li><?php bugfix(39001); ?> ReflectionProperty returns incorrect declaring class for protected properties). (Tony)</li> 13511<li><?php bugfix(38996); ?> PDO_MYSQL doesn't check connections for liveness). (Tony)</li> 13512<li><?php bugfix(38993); ?> Fixed safe_mode/open_basedir checks for session.save_path, allowing them to account for extra parameters). (Ilia)</li> 13513<li><?php bugfix(38989); ?> Absolute path with slash at beginning doesn't work on win). (Dmitry)</li> 13514<li><?php bugfix(38985); ?> Can't cast COM objects). (Wez)</li> 13515<li><?php bugfix(38981); ?> using FTP URLs in get_headers() causes crash). (Tony)</li> 13516<li><?php bugfix(38963); ?> Fixed a possible open_basedir bypass in tempnam()). (Ilia)</li> 13517<li><?php bugfix(38961); ?> metaphone() results in segmentation fault on NetBSD). (Tony)</li> 13518<li><?php bugfix(38949); ?> Cannot get xmlns value attribute). (Rob)</li> 13519<li><?php bugfix(38942); ?> Double old-style-ctor inheritance). (Dmitry)</li> 13520<li><?php bugfix(38941); ?> imap extension does not compile against new version of the imap library). (Ilia)</li> 13521<li><?php bugfix(38934); ?> move_uploaded_file() cannot read uploaded file outside of open_basedir). (Ilia)</li> 13522<li><?php bugfix(38904); ?> apache2filter changes cwd to /). (Ilia, Hannes)</li> 13523<li><?php bugfix(38891); ?> get_headers() do not work with curl-wrappers). (Ilia)</li> 13524<li><?php bugfix(38882); ?> ldap_connect causes segfault with newer versions of OpenLDAP). (Tony)</li> 13525<li><?php bugfix(38859); ?> parse_url() fails if passing '@' in passwd). (Tony)</li> 13526<li><?php bugfix(38850); ?> lookupNamespaceURI doesn't return default namespace). (Rob)</li> 13527<li><?php bugfix(38844); ?> curl_easy_strerror() is defined only since cURL 7.12.0). (Tony)</li> 13528<li><?php bugfix(38813); ?> DOMEntityReference->__construct crashes when called explicitly). (Rob)</li> 13529<li><?php bugfix(38808); ?> "maybe ref" issue for current() and others). (Dmitry)</li> 13530<li><?php bugfix(38779); ?> engine crashes when require()'ing file with syntax error through userspace stream wrapper). (Tony, Dmitry)</li> 13531<li><?php bugfix(38772); ?> inconsistent overriding of methods in different visibility contexts). (Dmitry)</li> 13532<li><?php bugfix(38759); ?> PDO sqlite2 empty query causes segfault). (Tony)</li> 13533<li><?php bugfix(38721); ?> Invalid memory read in date_parse()). (Tony, Derick)</li> 13534<li><?php bugfix(38700); ?> SoapClient::__getTypes never returns). (Dmitry)</li> 13535<li><?php bugfix(38693); ?> curl_multi_add_handle() set curl handle to null). (Ilia)</li> 13536<li><?php bugfix(38687); ?> sockaddr local storage insufficient for all sock families). (Sara)</li> 13537<li><?php bugfix(38661); ?> mixed-case URL breaks url-wrappers). (Ilia)</li> 13538<li><?php bugfix(38653); ?> memory leak in ReflectionClass::getConstant()). (Tony)</li> 13539<li><?php bugfix(38649); ?> uninit'd optional arg in stream_socket_sendto()). (Sara)</li> 13540<li><?php bugfix(38637); ?> curl_copy_handle() fails to fully copy the cURL handle). (Tony, Ilia)</li> 13541<li><?php bugfix(38624); ?> Strange warning when incrementing an object property and exception is thrown from __get method). (Tony)</li> 13542<li><?php bugfix(38623); ?> leaks in a tricky code with switch() and exceptions). (Dmitry)</li> 13543<li><?php bugfix(38579); ?> include_once() may include the same file twice). (Dmitry)</li> 13544<li><?php bugfix(38574); ?> missing curl constants and improper constant detection). (Ilia)</li> 13545<li><?php bugfix(38543); ?> shutdown_executor() may segfault when memory_limit is too low). (Dmitry)</li> 13546<li><?php bugfix(38535); ?> memory corruption in pdo_pgsql driver on error retrieval inside a failed query executed via query() method). (Ilia)</li> 13547<li><?php bugfix(38534); ?> segfault when calling setlocale() in userspace session handler). (Tony)</li> 13548<li><?php bugfix(38524); ?> strptime() does not initialize the internal date storage structure). (Ilia)</li> 13549<li>Fixed bugs <?php bugl(38511); ?>, <?php bugl(38473); ?>, <?php bugl(38263); ?> (Fixed session extension request shutdown order to ensure it is shutdown before the extensions it may depend on). (Ilia)</li> 13550<li><?php bugfix(38488); ?> Access to "php://stdin" and family crashes PHP on win32). (Dmitry)</li> 13551<li><?php bugfix(38474); ?> getAttribute select attribute by order, even when prefixed). (Rob)</li> 13552<li><?php bugfix(38467); ?> --enable-versioning causes make fail on OS X). (Tony)</li> 13553<li><?php bugfix(38465); ?> ReflectionParameter fails if default value is an access to self::). (Johannes)</li> 13554<li><?php bugfix(38464); ?> array_count_values() mishandles numeric strings). (Matt Wilmas, Ilia)</li> 13555<li><?php bugfix(38461); ?> setting private attribute with __set() produces segfault). (Tony)</li> 13556<li><?php bugfix(38458); ?> <?php peclbugfix(8944); ?>, <?php peclbugfix(7775); ?> (error retrieving columns after long/text columns with PDO_ODBC). (Wez)</li> 13557<li><?php bugfix(38454); ?> warning upon disabling handler via xml_set_element_handler). (dtorop933 at gmail dot com, Rob)</li> 13558<li><?php bugfix(38451); ?> PDO_MYSQL doesn't compile on Solaris). (Tony)</li> 13559<li><?php bugfix(38450); ?> constructor is not called for classes used in userspace stream wrappers). (Tony)</li> 13560<li><?php bugfix(38438); ?> DOMNodeList->item(0) segfault on empty NodeList). (Ilia)</li> 13561<li><?php bugfix(38431); ?> xmlrpc_get_type() crashes PHP on objects). (Tony)</li> 13562<li><?php bugfix(38427); ?> unicode causes xml_parser to misbehave). (Rob)</li> 13563<li><?php bugfix(38424); ?> Different attribute assignment if new or existing). (Rob)</li> 13564<li><?php bugfix(38400); ?> Use of com.typelib_file may cause a crash). (Ilia)</li> 13565<li><?php bugfix(38394); ?> PDO fails to recover from failed prepared statement execution). (Ilia)</li> 13566<li><?php bugfix(38377); ?> session_destroy() gives warning after session_regenerate_id()). (Ilia)</li> 13567<li><?php bugfix(38357); ?> dbase_open can't open DBase 3 dbf file). (rodrigo at fabricadeideias dot com, Mike)</li> 13568<li><?php bugfix(38354); ?> Unwanted reformatting of XML when using AsXML). (Christian)</li> 13569<li><?php bugfix(38347); ?> Segmentation fault when using foreach with an unknown/empty SimpleXMLElement). (Tony)</li> 13570<li><?php bugfix(38322); ?> reading past array in sscanf() leads to arbitrary code execution). (Tony)</li> 13571<li><?php bugfix(38315); ?> Constructing in the destructor causes weird behavior). (Dmitry)</li> 13572<li><?php bugfix(38303); ?> spl_autoload_register() suppress all errors silently). (Ilia)</li> 13573<li><?php bugfix(38290); ?> configure script ignores --without-cdb,inifile,flatfile). (Marcus)</li> 13574<li><?php bugfix(38289); ?> segfault in session_decode() when _SESSION is NULL). (Tony)</li> 13575<li><?php bugfix(38287); ?> static variables mess up global vars). (Dmitry)</li> 13576<li><?php bugfix(38278); ?> session_cache_expire()'s value does not match phpinfo's session.cache_expire). (Tony)</li> 13577<li><?php bugfix(38276); ?> file_exists() works incorrectly with long filenames on Windows). (Ilia, Tony)</li> 13578<li><?php bugfix(38269); ?> fopen wrapper doesn't fail on invalid hostname with curlwrappers enabled). (Tony)</li> 13579<li><?php bugfix(38265); ?> heap corruption). (Dmitry)</li> 13580<li><?php bugfix(38261); ?> openssl_x509_parse() leaks with invalid cert) (Pierre)</li> 13581<li><?php bugfix(38255); ?> openssl possible leaks while passing keys) (Pierre)</li> 13582<li><?php bugfix(38253); ?> PDO produces segfault with default fetch mode). (Tony)</li> 13583<li><?php bugfix(38251); ?> socket_select() and invalid arguments). (Tony)</li> 13584<li><?php bugfix(38236); ?> Binary data gets corrupted on multipart/formdata POST). (Ilia)</li> 13585<li><?php bugfix(38234); ?> Exception in __clone makes memory leak). (Dmitry, Nuno)</li> 13586<li><?php bugfix(38229); ?> strtotime() does not parse YYYY-MM format). (Ilia)</li> 13587<li><?php bugfix(38224); ?> session extension can't handle broken cookies). (Ilia)</li> 13588<li><?php bugfix(38220); ?> Crash on some object operations). (Dmitry)</li> 13589<li><?php bugfix(38217); ?> ReflectionClass::newInstanceArgs() tries to allocate too much memory). (Tony)</li> 13590<li><?php bugfix(38214); ?> gif interlace output cannot work). (Pierre)</li> 13591<li>Fixed bugs <?php bugl(38213); ?>, <?php bugl(37611); ?>, <?php bugl(37571); ?> (wddx encoding fails to handle certain characters). (Ilia)</li> 13592<li><?php bugfix(38212); ?> Segfault on invalid imagecreatefromgd2part() parameters). (Pierre)</li> 13593<li><?php bugfix(38211); ?> variable name and cookie name match breaks script execution). (Dmitry)</li> 13594<li><?php bugfix(38199); ?> fclose() unable to close STDOUT and STDERR). (Tony)</li> 13595<li><?php bugfix(38198); ?> possible crash when COM reports an exception). (Ilia)</li> 13596<li><?php bugfix(38194); ?> ReflectionClass::isSubclassOf() returns TRUE for the class itself). (Ilia)</li> 13597<li><?php bugfix(38183); ?> disable_classes=Foobar causes disabled class to be called Foo). (Jani)</li> 13598<li><?php bugfix(38179); ?> imagecopy from a palette to a truecolor image loose alpha channel) (Pierre)</li> 13599<li><?php bugfix(38173); ?> Freeing nested cursors causes OCI8 to segfault). (Tony)</li> 13600<li><?php bugfix(38168); ?> Crash in pdo_pgsql on missing bound parameters). (Ilia)</li> 13601<li><?php bugfix(38161); ?> oci_bind_by_name() returns garbage when Oracle didn't set the variable). (Tony)</li> 13602<li><?php bugfix(38146); ?> Cannot use array returned from foo::__get('bar') in write context). (Dmitry)</li> 13603<li><?php bugfix(38132); ?> ReflectionClass::getStaticProperties() retains \0 in key names). (Ilia)</li> 13604<li><?php bugfix(38125); ?> undefined reference to spl_dual_it_free_storage). (Marcus)</li> 13605<li><?php bugfix(38112); ?> corrupted gif segfaults) (Pierre)</li> 13606<li><?php bugfix(38096); ?> large timeout values ignored on 32bit machines in stream_socket_accept() and stream_socket_client()). (Ilia)</li> 13607<li><?php bugfix(38086); ?> stream_copy_to_stream() returns 0 when maxlen is bigger than the actual length). (Tony)</li> 13608<li><?php bugfix(38072); ?> boolean arg for mysqli_autocommit() is always true on Solaris). (Tony)</li> 13609<li><?php bugfix(38067); ?> Parameters are not decoded from utf-8 when using encoding option). (Dmitry)</li> 13610<li><?php bugfix(38064); ?> ignored constructor visibility). (Marcus)</li> 13611<li><?php bugfix(38055); ?> Wrong interpretation of boolean parameters). (Dmitry)</li> 13612<li><?php bugfix(38047); ?> "file" and "line" sometimes not set in backtrace from inside error handler). (Dmitry)</li> 13613<li><?php bugfix(38019); ?> segfault extending mysqli class). (Dmitry)</li> 13614<li><?php bugfix(38005); ?> SoapFault faultstring doesn't follow encoding rules). (Dmitry)</li> 13615<li><?php bugfix(38004); ?> Parameters in SoapServer are decoded twice). (Dmitry)</li> 13616<li><?php bugfix(38003); ?> in classes inherited from MySQLi it's possible to call private constructors from invalid context). (Tony)</li> 13617<li><?php bugfix(37987); ?> invalid return of file_exists() in safe mode). (Ilia)</li> 13618<li><?php bugfix(37947); ?> zend_ptr_stack reallocation problem). (Dmitry)</li> 13619<li><?php bugfix(37945); ?> pathinfo() cannot handle argument with special characters like German "Umlaut"). (Mike)</li> 13620<li><?php bugfix(37931); ?> possible crash in OCI8 after database restart when using persistent connections). (Tony)</li> 13621<li><?php bugfix(37923); ?> Display constant value in reflection::export). (Johannes)</li> 13622<li><?php bugfix(37920); ?> compilation problems on z/OS). (Tony)</li> 13623<li><?php bugfix(37870); ?> pgo_pgsql tries to de-allocate unused statements). (Ilia, ce at netage dot bg)</li> 13624<li><?php bugfix(37864); ?> file_get_contents() leaks on empty file). (Hannes)</li> 13625<li><?php bugfix(37862); ?> Integer pointer comparison to numeric value). (bugs-php at thewrittenword dot com)</li> 13626<li><?php bugfix(37846); ?> wordwrap() wraps incorrectly). (ddk at krasn dot ru, Tony)</li> 13627<li><?php bugfix(37816); ?> ReflectionProperty does not throw exception when accessing protected attribute). (Marcus)</li> 13628<li><?php bugfix(37811); ?> define not using toString on objects). (Marcus)</li> 13629<li><?php bugfix(37807); ?> segmentation fault during SOAP schema import). (Tony)</li> 13630<li><?php bugfix(37806); ?> weird behavior of object type and comparison). (Marcus)</li> 13631<li><?php bugfix(37780); ?> memory leak trying to execute a non existing file (CLI)). (Mike)</li> 13632<li><?php bugfix(37779); ?> empty include_path leads to search for files inside /). (jr at terragate dot net, Ilia)</li> 13633<li><?php bugfix(37747); ?> strtotime segfaults when given "nextyear"). (Derick)</li> 13634<li><?php bugfix(37720); ?> merge_php_config scrambles values). (Mike, pumuckel at metropolis dot de)</li> 13635<li><?php bugfix(37709); ?> Possible crash in PDO::errorCode()). (Ilia)</li> 13636<li><?php bugfix(37707); ?> clone without assigning leaks memory). (Ilia, Nuno, Dmitri)</li> 13637<li><?php bugfix(37705); ?> Semaphore constants not available). (Ilia)</li> 13638<li><?php bugfix(37671); ?> MySQLi extension fails to recognize BIT column). (Ilia)</li> 13639<li><?php bugfix(37667); ?> Object is not added into array returned by __get). (Marcus)</li> 13640<li><?php bugfix(37635); ?> parameter of pcntl signal handler is trashed). (Mike)</li> 13641<li><?php bugfix(37632); ?> Protected method access problem). (Marcus)</li> 13642<li><?php bugfix(37630); ?> MySQL extensions should link against thread safe client libs if built with ZTS). (Mike)</li> 13643<li><?php bugfix(37620); ?> mysqli_ssl_set validation is inappropriate). (Georg)</li> 13644<li><?php bugfix(37616); ?> DATE_RFC822 does not product RFC 822 dates). (Hannes Magnusson, Derick)</li> 13645<li><?php bugfix(37614); ?> Class name lowercased in error message). (Johannes)</li> 13646<li><?php bugfix(37587); ?> var without attribute causes segfault). (Marcus)</li> 13647<li><?php bugfix(37586); ?> Bumped minimum PCRE version to 6.6, needed for recursion limit support). (Ilia)</li> 13648<li><?php bugfix(37581); ?> oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC). (Tony)</li> 13649<li><?php bugfix(37569); ?> WDDX incorrectly encodes high-ascii characters). (Ilia)</li> 13650<li><?php bugfix(37565); ?> Using reflection::export with simplexml causing a crash). (Marcus)</li> 13651<li><?php bugfix(37564); ?> AES privacy encryption not possible due to net-snmp 5.2 compatibility issue). (Jani, patch by scott dot moynes+php at gmail dot com)</li> 13652<li><?php bugfix(37563); ?> array_key_exists performance is poor for &$array). (Ilia)</li> 13653<li><?php bugfix(37558); ?> timeout functionality doesn't work after a second PHP start-up on the same thread). (p dot desarnaud at wanadoo dot fr)</li> 13654<li><?php bugfix(37531); ?> oci8 persistent connection corruption). (Tony)</li> 13655<li><?php bugfix(37523); ?> namespaces added too late, leads to missing xsi:type attributes. incompatibility with libxml2-2.6.24). (Dmitry)</li> 13656<li><?php bugfix(37514); ?> strtotime doesn't assume year correctly). (Derick)</li> 13657<li><?php bugfix(37510); ?> session_regenerate_id changes session_id() even on failure). (Hannes)</li> 13658<li><?php bugfix(37505); ?> touch() truncates large files). (Ilia)</li> 13659<li><?php bugfix(37499); ?> CLI segmentation faults during cleanup with sybase-ct extension enabled). (Tony)</li> 13660<li><?php bugfix(37496); ?> FastCGI output buffer overrun). (Piotr, Dmitry)</li> 13661<li><?php bugfix(37487); ?> oci_fetch_array() array-type should always default to OCI_BOTH). (Tony)</li> 13662<li><?php bugfix(37457); ?> Crash when an exception is thrown in accept() method of FilterIterator). (Marcus)</li> 13663<li><?php bugfix(37456); ?> DOMElement->setAttribute() loops forever). (Rob)</li> 13664<li><?php bugfix(37445); ?> Fixed crash in pdo_mysql resulting from premature object destruction). (Ilia)</li> 13665<li><?php bugfix(37428); ?> PHP crashes on windows if there are start-up errors and event log is used for logging them). (Edin)</li> 13666<li><?php bugfix(37418); ?> tidy module crashes on shutdown). (Tony)</li> 13667<li><?php bugfix(37416); ?> iterator_to_array() hides exceptions thrown in rewind() method). (Tony)</li> 13668<li><?php bugfix(37413); ?> Rejected versions of flex that don't work). (Ilia)</li> 13669<li><?php bugfix(37395); ?> recursive mkdir() fails to create nonexistent directories in root dir). (Tony)</li> 13670<li><?php bugfix(37394); ?> substr_compare() returns an error when offset equals string length). (Ilia)</li> 13671<li><?php bugfix(37392); ?> Unnecessary call to OCITransRollback() at the end of request). (Tony)</li> 13672<li><?php bugfix(37376); ?> fastcgi.c compile fail with gcc 2.95.4). (Ilia)</li> 13673<li><?php bugfix(37368); ?> Incorrect timestamp returned for strtotime()). (Derick)</li> 13674<li><?php bugfix(37363); ?> PDO_MYSQL does not build if no other mysql extension is enabled). (Mike)</li> 13675<li><?php bugfix(37348); ?> make PEAR install ignore open_basedir). (Ilia)</li> 13676<li><?php bugfix(37341); ?> $_SERVER in included file is shortened to two entries, if $_ENV gets used). (Dmitry)</li> 13677<li><?php bugfix(37313); ?> sigemptyset() used without including <signal.h>). (jdolecek)</li> 13678<li><?php bugfix(37306); ?> max_execution_time = max_input_time). (Dmitry)</li> 13679<li><?php bugfix(37278); ?> SOAP not respecting uri in __soapCall). (Dmitry)</li> 13680<li><?php bugfix(37265); ?> Added missing safe_mode & open_basedir checks to imap_body()). (Ilia)</li> 13681<li><?php bugfix(37262); ?> var_export() does not escape \0 character). (Ilia)</li> 13682<li><?php bugfix(37256); ?> php-fastcgi doesn't handle connection abort). (Dmitry)</li> 13683<li><?php bugfix(37244); ?> Added strict flag to base64_decode() that enforces RFC3548 compliance). (Ilia)</li> 13684<li><?php bugfix(37144); ?> PHP crashes trying to assign into property of dead object). (Dmitry)</li> 13685<li><?php bugfix(36949); ?> invalid internal mysqli objects dtor). (Mike)</li> 13686<li><?php bugfix(36732); ?> req/x509 extensions support for openssl_csr_new and openssl_csr_sign) (ben at psc dot edu, Pierre)</li> 13687<li><?php bugfix(36759); ?> Objects destructors are invoked in wrong order when script is finished). (Dmitry)</li> 13688<li><?php bugfix(36681); ?> pdo_pgsql driver incorrectly ignored some errors). (Wez, Ilia)</li> 13689<li><?php bugfix(36630); ?> umask not reset at the end of the request). (Ilia)</li> 13690<li><?php bugfix(36515); ?> Unlinking buckets from non-existent brigades). (Sara)</li> 13691<li><?php bugfix(35973); ?> Error ORA-24806 occurs when trying to fetch a NCLOB field). (Tony)</li> 13692<li><?php bugfix(35886); ?> file_get_contents() fails with some combinations of offset & maxlen). (Nuno)</li> 13693<li><?php bugfix(35512); ?> Lack of read permission on main script results in E_WARNING rather then E_ERROR). (Ilia)</li> 13694<li><?php bugfix(34180); ?> --with-curlwrappers causes PHP to disregard some HTTP stream context options). (Mike)</li> 13695<li><?php bugfix(34066); ?> recursive array_walk causes segfault). (Tony)</li> 13696<li><?php bugfix(34065); ?> throw in foreach causes memory leaks). (Dmitry)</li> 13697<li><?php bugfix(34005); ?> oci_password_change() fails). (pholdaway at technocom-wireless dot com, Tony)</li> 13698<li><?php bugfix(33895); ?> Missing math constants). (Hannes)</li> 13699<li><?php bugfix(33770); ?> https:// or ftps:// do not work when --with-curlwrappers is used and ssl certificate is not verifiable). (Ilia)</li> 13700<li><?php bugfix(29538); ?> number_format and problem with 0). (Matt Wilmas)</li> 13701<li><?php bugfix(28382); ?> openssl_x509_parse() extensions support) (Pierre)</li> 13702<li><?php peclbugfix(9061); ?> (oci8 might reuse wrong persistent connection). (Tony)</li> 13703<li><?php peclbugfix(8816); ?> (issue in php_oci_statement_fetch with more than one piecewise column) (jeff at badtz-maru dot com, Tony)</li> 13704<li><?php peclbugfix(8112); ?> (OCI8 persistent connections misbehave when Apache process times out). (Tony)</li> 13705<li><?php peclbugfix(7755); ?> (error selecting DOUBLE fields with PDO_ODBC). ("slaws", Wez)</li> 13706</ul> 13707<!-- }}} --></section> 13708 13709<a id="PHP_5_1"></a> 13710<section class="version" id="5.1.6"><!-- {{{ 5.1.6 --> 13711<h3>Version 5.1.6</h3> 13712<?php release_date('24-Aug-2006'); ?> 13713<ul> 13714 <li>Fixed memory_limit on 64bit systems. (Stefan E.)</li> 13715 <li><?php bugfix(38488); ?> (Access to "php://stdin" and family crashes PHP on win32). (Dmitry)</li> 13716</ul> 13717 13718<!-- }}} --></section> 13719 13720<section class="version" id="5.1.5"><!-- {{{ 5.1.5 --> 13721<h3>Version 5.1.5</h3> 13722<?php release_date('17-Aug-2006'); ?> 13723<ul> 13724 <li>Fixed overflow on 64bit systems in str_repeat() and wordwrap(). (Stefan E.) </li> 13725 <li>Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled. (Stefan E., Ilia)</li> 13726 <li><?php bugfix(38322); ?> (reading past array in sscanf() leads to arbitrary code execution). (Tony)</li> 13727 <li><?php bugfix(38125); ?> (undefined reference to spl_dual_it_free_storage). (Marcus)</li> 13728 <li><?php bugfix(38112); ?> (corrupted gif segfaults) (Pierre)</li> 13729 <li><?php bugfix(37587); ?> (var without attribute causes segfault). (Marcus)</li> 13730 <li><?php bugfix(37576); ?> (FastCGI env (cgi vars) table overflow). (Piotr)</li> 13731 <li><?php bugfix(37496); ?>(FastCGI output buffer overrun). (Piotr, Dmitry)</li> 13732 <li><?php bugfix(37487); ?>(oci_fetch_array() array-type should always default to OCI_BOTH). (Tony)</li> 13733 <li><?php bugfix(37416); ?>(iterator_to_array() hides exceptions thrown in rewind() method). (Tony) </li> 13734 <li><?php bugfix(37392); ?>(Unnecessary call to OCITransRollback() at the end of request). (Tony)</li> 13735 <li><?php bugfix(37341); ?>($_SERVER in included file is shortened to two entries, if $_ENV gets used). (Dmitry)</li> 13736 <li><?php bugfix(37313); ?>(sigemptyset() used without including <signal.h>). (jdolecek)</li> 13737 <li><?php bugfix(37346); ?>(invalid colormap format) (Pierre)</li> 13738 <li><?php bugfix(37360); ?>(invalid gif size) (Pierre)</li> 13739 <li><?php bugfix(37306); ?>(max_execution_time = max_input_time). (Dmitry)</li> 13740 <li><?php bugfix(37278); ?>(SOAP not respecting uri in __soapCall). (Dmitry)</li> 13741 <li><?php bugfix(37265); ?>(Added missing safe_mode & open_basedir checks to imap_body()). (Ilia)</li> 13742 <li><?php bugfix(37256); ?>(php-fastcgi doesn't handle connection abort). (Dmitry)</li> 13743</ul> 13744 13745<!-- }}} --></section> 13746 13747<section class="version" id="5.1.4"><!-- {{{ 5.1.4 --> 13748<h3>Version 5.1.4</h3> 13749<?php release_date('04-May-2006'); ?> 13750<ul> 13751 <li>Added "capture_peer_cert" and "capture_peer_cert_chain" context options for SSL streams. (Wez).</li> 13752 <li>Added PDO::PARAM_EVT_* family of constants. (Sara)</li> 13753 <li>Fixed possible crash in highlight_string(). (Dmitry)</li> 13754 <li><?php bugfix(37291); ?>(FastCGI now longer works with isapi_fcgi.dll). (Dmitry)</li> 13755 <li><?php bugfix(37277); ?>(cloning Dom Documents or Nodes does not work). (Rob)</li> 13756 <li><?php bugfix(37276); ?>(problems with $_POST array). (Dmitry)</li> 13757 <li><?php bugfix(36632); ?>(bad error reporting for pdo_odbc exec UPDATE). (Wez).</li> 13758 <li><?php bugfix(35552); ?>(crash when pdo_odbc prepare fails). (Wez).</li> 13759</ul> 13760 13761<!-- }}} --></section> 13762 13763<section class="version" id="5.1.3"><!-- {{{ 5.1.3 --> 13764<h3>Version 5.1.3</h3> 13765<?php release_date('02-May-2006'); ?> 13766<ul> 13767<li>Updated bundled PCRE library to version 6.6. (Andrei)</li> 13768<li>Moved extensions to PECL: 13769<ul> 13770 <li>ext/msession (Derick)</li> 13771</ul></li> 13772<li>Reimplemented FastCGI interface. (Dmitry)</li> 13773<li>Improved SPL: (Marcus) 13774<ul> 13775 <li>Fixed issues with not/double calling of constructors of SPL iterators.</li> 13776 <li>Fixed issues with info-class/file-class in SPL directory handling classes.</li> 13777 <li>Fixed ArrayIterator::seek().</li> 13778 <li>Added SimpleXMLIterator::count().</li> 13779 <li>Dropped erroneous RecursiveDirectoryIterator::getSubPathInfo().</li> 13780</ul></li> 13781<li>Improved SimpleXML: (Marcus, Rob) 13782<ul> 13783 <li>Added SimpleXMLElement::getName() to retrieve name of element.</li> 13784 <li>Added ability to create elements on the fly.</li> 13785 <li>Added addChild() method for element creation supporting namespaces.</li> 13786 <li>Added addAttribute() method for attribute creation supporting namespaces.</li> 13787 <li>Added ability to delete specific elements and attributes by offset.</li> 13788</ul></li> 13789<li>Improved Reflection API: (Marcus) 13790<ul> 13791 <li>Added ReflectionClass::newInstanceArgs($args).</li> 13792 <li>Added ability to analyze extension dependency.</li> 13793 <li>Added ReflectionFunction::isDeprecated() and constant IS_DEPRECATED.</li> 13794 <li>Added ReflectionParameter::getDeclaringClass().</li> 13795 <li>Changed reflection constants to be prefixed with IS_. (Johannes)</li> 13796</ul></li> 13797<li>Improved cURL extension: (Ilia) 13798<ul> 13799 <li>Added curl_setopt_array() function that allows setting of multiple options via an associated array.</li> 13800 <li>Added the ability to retrieve the request message sent to the server.</li> 13801</ul></li> 13802<li>Improved GD extension: (Pierre) 13803<ul> 13804 <li>Added a weak/tolerant mode to the JPEG loader.</li> 13805 <li>Added filtering mode option to imagepng() to allow reducing file size.</li> 13806 <li>Fixed imagecolorallocate() and imagecolorallocatelapha() to return FALSE on error.</li> 13807</ul></li> 13808<li>Changed get_headers() to retrieve headers also from non-200 responses. (Ilia)</li> 13809<li>Changed get_headers() to use the default context. (Ilia)</li> 13810<li>Changed SOAP extension to cache WSDL structure in memory and thus speed up SoapClient/SoapServer construction. (Andrei, Dmitry)</li> 13811<li>Added lchown() and lchgrp() to change user/group ownership of symlinks. (Derick)</li> 13812<li>Added support for exif date format in strtotime(). (Derick)</li> 13813<li>Added a check for special characters in the session name. (Ilia)</li> 13814<li>Added "consumed" stream filter. (Marcus)</li> 13815<li>Added new mysqli constants for BIT and NEW_DECIMAL field types: MYSQLI_TYPE_NEWDECIMAL and MYSQLI_TYPE_BIT. FR <?php bugl(36007); ?>. (Georg)</li> 13816<li>Added imap_savebody() that allows message body to be written to a file. (Mike)</li> 13817<li>Added overflow checks to wordwrap() function. (Ilia)</li> 13818<li>Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 (also fixes bug <?php bugl(36764); ?>). (Tony)</li> 13819<li>Eliminated run-time constant fetching for TRUE, FALSE and NULL. (Dmitry) </li> 13820<li>Removed the E_STRICT deprecation notice from "var". (Ilia)</li> 13821<li>Fixed reading stream filters never notified about EOF. (Mike)</li> 13822<li>Fixed tempnam() 2nd parameter to be checked against path components. (Ilia)</li> 13823<li>Fixed a bug that would not fill in the fifth argument to preg_replace() properly, if the variable was not declared previously. (Andrei)</li> 13824<li>Fixed safe_mode check for source argument of the copy() function. (Ilia)</li> 13825<li>Fixed mysqli bigint conversion under Windows (Georg)</li> 13826<li>Fixed XSS inside phpinfo() with long inputs. (Ilia)</li> 13827<li>Fixed Apache2 SAPIs header handler modifying header strings. (Mike)</li> 13828<li>Fixed 'auto_globals_jit' to work together with 'register_argc_argv'. (Dmitry)</li> 13829<li>Fixed offset/length parameter validation in substr_compare() function. (Ilia)</li> 13830<li>Fixed debug_zval_dump() to support private and protected members. (Dmitry)</li> 13831<li>Fixed SoapFault::getMessage(). (Dmitry)</li> 13832<li>Fixed issue with iconv_mime_decode where the "encoding" would only allow upper case specifiers. (Derick)</li> 13833<li>Fixed tiger hash algorithm generating wrong results on big endian platforms. (Mike)</li> 13834<li>Fixed crash with DOMImplementation::createDocumentType("name:"). (Mike)</li> 13835<li><?php bugfix(37205); ?> (Serving binary content/images fails with "comm with server aborted" FastCGI err). (Dmitry)</li> 13836<li><?php bugfix(37192); ?> (cc may complain about non-constant initializers in hash_adler.c). (Mike)</li> 13837<li><?php bugfix(37191); ?> (chmod takes off sticky bit when safe_mode is On). (Tony) </li> 13838<li><?php bugfix(37167); ?> (PDO segfaults when throwing exception from the fetch handler). (Tony)</li> 13839<li><?php bugfix(37162); ?> (wddx does not build as a shared extension). (jdolecek at NetBSD dot org, Ilia)</li> 13840<li><?php bugfix(37158); ?> (fread behavior changes after calling stream_wrapper_register). (Wez)</li> 13841<li><?php bugfix(37138); ?> (__autoload tries to load callback'ed self and parent). (Dmitry)</li> 13842<li><?php bugfix(37103); ?> (libmbfl headers not installed). (Jani) </li> 13843<li><?php bugfix(37083); ?> (Frequent crashes in SOAP extension with new WSDL caching code in multithread WS). (Andrei, Dmitry)</li> 13844<li><?php bugfix(37062); ?> (compile failure on ARM architecture). (Tony)</li> 13845<li><?php bugfix(37061); ?> (curl_exec() doesn't zero-terminate binary strings). (Tony)</li> 13846<li><?php bugfix(37060); ?> (Type of retval of Countable::count() is not checked). (Johannes)</li> 13847<li><?php bugfix(37059); ?> (oci_bind_by_name() doesn't support RAW and LONG RAW fields). (Tony)</li> 13848<li><?php bugfix(37057); ?> (xmlrpc_decode() may produce arrays with numeric strings, which are unaccessible). (Tony)</li> 13849<li><?php bugfix(37055); ?> (incorrect reference counting for persistent OCI8 connections). (Tony)</li> 13850<li><?php bugfix(37054); ?> (SoapClient Error Fetching http headers). (Dmitry)</li> 13851<li><?php bugfix(37053); ?> (html_errors with internal classes produces wrong links). (Tony)</li> 13852<li><?php bugfix(37046); ?> (foreach breaks static scope). (Dmitry)</li> 13853<li><?php bugfix(37045); ?> (Fixed check for special chars for http redirects). (Ilia)</li> 13854<li><?php bugfix(37017); ?> (strtotime fails before 13:00:00 with some time zones identifiers). (Derick)</li> 13855<li><?php bugfix(37002); ?> (Have to quote literals in INI when concatenating with vars). (Dmitry)</li> 13856<li><?php bugfix(36988); ?> (mktime freezes on long numbers). (Derick)</li> 13857<li><?php bugfix(36981); ?> (SplFileObject->fgets() ignores max_length). (Tony)</li> 13858<li><?php bugfix(36957); ?> (serialize() does not handle recursion). (Ilia)</li> 13859<li><?php bugfix(36944); ?> (strncmp & strncasecmp do not return false on negative string length). (Tony)</li> 13860<li><?php bugfix(36941); ?> (ArrayIterator does not clone itself). (Marcus)</li> 13861<li><?php bugfix(36934); ?> (OCILob->read() doesn't move internal pointer when reading 0's). (Tony)</li> 13862<li><?php bugfix(36908); ?> (wsdl default value overrides value in soap request). (Dmitry)</li> 13863<li><?php bugfix(36898); ?> (__set() leaks in classes extending internal ones). (Tony, Dmitry)</li> 13864<li><?php bugfix(36886); ?> (User filters can leak buckets in some situations). (Ilia)</li> 13865<li><?php bugfix(36878); ?> (error messages are printed even though an exception has been thrown). (Tony)</li> 13866<li><?php bugfix(36875); ?> (is_*() functions do not account for open_basedir). (Ilia)</li> 13867<li><?php bugfix(36872); ?> (session_destroy() fails after call to session_regenerate_id(true)). (Ilia)</li> 13868<li><?php bugfix(36869); ?> (memory leak in output buffering when using chunked output). (Tony)</li> 13869<li><?php bugfix(36859); ?> (DOMElement crashes when calling __construct when cloning). (Tony)</li> 13870<li><?php bugfix(36857); ?> (Added support for partial content fetching to the HTTP streams wrapper). (Ilia)</li> 13871<li><?php bugfix(36851); ?> (Documentation and code discrepancies for NULL data in oci_fetch_*() functions). (Tony)</li> 13872<li><?php bugfix(36825); ?> (Exceptions thrown in ArrayObject::offsetGet cause segfault). (Tony)</li> 13873<li><?php bugfix(36820); ?> (Privileged connection with an Oracle password file fails). (Tony)</li> 13874<li><?php bugfix(36809); ?> (__FILE__ behavior changed). (Dmitry)</li> 13875<li><?php bugfix(36808); ?> (syslog ident becomes garbage between requests). (Tony)</li> 13876<li><?php bugfix(36802); ?> (mysqli_set_charset() crash with a non-open connection). (Ilia)</li> 13877<li><?php bugfix(36756); ?> (DOMDocument::removeChild corrupts node). (Rob)</li> 13878<li><?php bugfix(36749); ?> (SOAP: 'Error Fetching http body' when using HTTP Proxy). (Dmitry)</li> 13879<li><?php bugfix(36745); ?> (No error message when load data local file isn't found). (Georg)</li> 13880<li><?php bugfix(36743); ?> (In a class extending XMLReader array properties are not writable). (Tony)</li> 13881<li><?php bugfix(36727); ?> (segfault in pdo_pgsql bindValue() when no parameters are defined). (Tony)</li> 13882<li><?php bugfix(36721); ?> (The SoapServer is not able to send a header that it didn't receive). (Dmitry)</li> 13883<li><?php bugfix(36697); ?> (Transparency is lost when using imagecreatetruecolor). (Pierre)</li> 13884<li><?php bugfix(36689); ?> (Removed arbitrary limit on the length of syslog messages). (Ilia)</li> 13885<li><?php bugfix(36656); ?> (http_build_query generates invalid URIs due to use of square brackets). (Mike)</li> 13886<li><?php bugfix(36638); ?> (strtotime() returns false when 2nd argument < 1). (Derick)</li> 13887<li><?php bugfix(36629); ?> (SoapServer::handle() exits on SOAP faults). (Dmitry)</li> 13888<li><?php bugfix(36625); ?> (pg_trace() does not work). (iakio at mono-space dot net)</li> 13889<li><?php bugfix(36614); ?> (Segfault when using Soap). (Dmitry)</li> 13890<li><?php bugfix(36611); ?> (assignment to SimpleXML object attribute changes argument type to string). (Tony)</li> 13891<li><?php bugfix(36606); ?> (pg_query_params() changes arguments type to string). (Tony)</li> 13892<li><?php bugfix(36599); ?> (DATE_W3C format constant incorrect). (Derick)</li> 13893<li><?php bugfix(36575); ?> (SOAP: Incorrect complex type instantiation with hierarchies). (Dmitry)</li> 13894<li><?php bugfix(36572); ?> (Added PDO::MYSQL_ATTR_DIRECT_QUERY constant that should be set when executing internal queries like "show master status" via MySQL). (Ilia)</li> 13895<li><?php bugfix(36568); ?> (memory_limit setting on win32 has no effect). (Dmitry)</li> 13896<li><?php bugfix(36513); ?> (comment will be outputted in last line). (Dmitry)</li> 13897<li><?php bugfix(36510); ?> (strtotime() fails to parse date strings with tabs). (Ilia, Derick)</li> 13898<li><?php bugfix(36459); ?> (Incorrect adding PHPSESSID to links, which contains \r\n). (Ilia)</li> 13899<li><?php bugfix(36458); ?> (sleep() accepts negative values). (Ilia)</li> 13900<li><?php bugfix(36436); ?> (DBA problem with Berkeley DB4). (Marcus)</li> 13901<li><?php bugfix(36434); ?> (Improper resolution of declaring class name of an inherited property). (Ilia)</li> 13902<li><?php bugfix(36420); ?> (segfault when access result->num_rows after calling result->close()). (Ilia,Tony)</li> 13903<li><?php bugfix(36403); ?> (oci_execute() no longer supports OCI_DESCRIBE_ONLY). (Tony)</li> 13904<li><?php bugfix(36400); ?> (Custom 5xx error does not return correct HTTP response error code). (Tony)</li> 13905<li><?php bugfix(36396); ?> (strtotime() fails to parse dates in dd-mm-yyyy format). (Derick)</li> 13906<li><?php bugfix(36388); ?> (ext/soap crashes when throwing exception and session persistence). (David)</li> 13907<li><?php bugfix(36382); ?> (PDO/PgSQL's getColumnMeta() crashes). (Derick)</li> 13908<li><?php bugfix(36359); ?> (splFileObject::fwrite() doesn't write when no data length specified). (Tony)</li> 13909<li><?php bugfix(36351); ?> (parse_url() does not parse numeric paths properly). (Ilia)</li> 13910<li><?php bugfix(36345); ?> (PDO/MySQL problem loading BLOB over 1MB). (Ilia)</li> 13911<li><?php bugfix(36337); ?> (ReflectionProperty fails to return correct visibility). (Ilia)</li> 13912<li><?php bugfix(36334); ?> (Added missing documentation about realpath cache INI settings). (Ilia)</li> 13913<li><?php bugfix(36308); ?> (ReflectionProperty::getDocComment() does not reflect extended class commentary). (Ilia)</li> 13914<li><?php bugfix(36306); ?> (crc32() differ on 32-bit and 64-bit platforms) (anight@eyelinkmedia dot com, Pierre)</li> 13915<li><?php bugfix(36303); ?> (foreach on error_zval produces segfault). (Dmitry)</li> 13916<li><?php bugfix(36295); ?> (typo in SplFileObject::flock() parameter name). (Tony)</li> 13917<li><?php bugfix(36287); ?> (Segfault with SplFileInfo conversion). (Marcus)</li> 13918<li><?php bugfix(36283); ?> (SOAPClient Compression Broken). (Dmitry)</li> 13919<li><?php bugfix(36268); ?> (Object destructors called even after fatal errors). (Dmitry)</li> 13920<li><?php bugfix(36258); ?> (SplFileObject::getPath() may lead to segfault). (Tony)</li> 13921<li><?php bugfix(36250); ?> (PHP causes ORA-07445 core dump in Oracle server 9.2.x). (Tony)</li> 13922<li><?php bugfix(36242); ?> (Possible memory corruption in stream_select()). (Tony)</li> 13923<li><?php bugfix(36235); ?> (ocicolumnname returns false before a successful fetch). (Tony)</li> 13924<li><?php bugfix(36226); ?> (Inconsistent handling when passing potential arrays). (Dmitry)</li> 13925<li><?php bugfix(36224); ?> (date(DATE_ATOM) gives wrong results). (Derick, Hannes Magnusson)</li> 13926<li><?php bugfix(36222); ?> (errorInfo in PDOException is always NULL). (Ilia)</li> 13927<li><?php bugfix(36208); ?> (symbol namespace conflicts using bundled gd). (Jakub Moc)</li> 13928<li><?php bugfix(36205); ?> (Memory leaks on duplicate cookies). (Dmitry)</li> 13929<li><?php bugfix(36185); ?> (str_rot13() crash on non-string parameter). (Pierre)</li> 13930<li><?php bugfix(36176); ?> (PDO_PGSQL - PDO::exec() does not return number of rows affected by the operation). (Ilia)</li> 13931<li><?php bugfix(36158); ?> (SIGTERM is not handled correctly when running as a FastCGI server). (Dmitry)</li> 13932<li><?php bugfix(36152); ?> (problems with curl+ssl and pgsql+ssl in same PHP). (Mike)</li> 13933<li><?php bugfix(36148); ?> (unpack("H*hex", $data) is adding an extra character to the end of the string). (Ilia)</li> 13934<li><?php bugfix(36134); ?> (DirectoryIterator constructor failed to detect empty directory names). (Ilia)</li> 13935<li><?php bugfix(36113); ?> (Reading records of unsupported type causes segfault). (Tony)</li> 13936<li><?php bugfix(36096); ?> (oci_result() returns garbage after oci_fetch() failed). (Tony)</li> 13937<li><?php bugfix(36083); ?> (SoapClient waits for responses on one-way operations). (Dmitry)</li> 13938<li><?php bugfix(36071); ?> (Engine Crash related with 'clone'). (Dmitry)</li> 13939<li><?php bugfix(36055); ?> (possible OCI8 crash in multi-threaded environment). (Tony)</li> 13940<li><?php bugfix(36046); ?> (parse_ini_file() miscounts lines in multi-line values). (Ilia)</li> 13941<li><?php bugfix(36038); ?> (ext/hash compile failure on Mac OSX). (Tony)</li> 13942<li><?php bugfix(36037); ?> (heredoc adds extra line number). (Dmitry)</li> 13943<li><?php bugfix(36016); ?> (realpath cache memleaks). (Dmitry, Nuno)</li> 13944<li><?php bugfix(36011); ?> (Strict errormsg wrong for call_user_func() and the likes). (Marcus)</li> 13945<li><?php bugfix(36010); ?> (Segfault when re-creating and re-executing statements with bound parameters). (Tony)</li> 13946<li><?php bugfix(36006); ?> (Problem with $this in __destruct()). (Dmitry)</li> 13947<li><?php bugfix(35999); ?> (recursive mkdir() does not work with relative path like "foo/bar"). (Tony)</li> 13948<li><?php bugfix(35998); ?> (SplFileInfo::getPathname() returns unix style filenames in win32). (Marcus)</li> 13949<li><?php bugfix(35988); ?> (Unknown persistent list entry type in module shutdown). (Dmitry)</li> 13950<li><?php bugfix(35954); ?> (Fatal com_exception casting object). (Rob)</li> 13951<li><?php bugfix(35900); ?> (stream_select() should warning when tv_sec is negative). (Ilia)</li> 13952<li><?php bugfix(35785); ?> (SimpleXML causes memory read error zend engine). (Marcus)</li> 13953<li><?php bugfix(34272); ?> (empty array onto COM object blows up). (Rob)</li> 13954<li><?php bugfix(29476); ?> (sqlite_fetch_column_types() locks the database forever). (Ilia)</li> 13955</ul> 13956 13957<!-- }}} --></section> 13958 13959<section class="version" id="5.1.2"><!-- {{{ 5.1.2 --> 13960<h3>Version 5.1.2</h3> 13961<?php release_date('12-Jan-2006'); ?> 13962<ul> 13963<li>Updated libsqlite in ext/sqlite to 2.8.17. (Ilia)</li> 13964<li>Updated libsqlite in ext/pdo_sqlite to 3.2.8. (Ilia)</li> 13965<li>Updated to libxml2-2.6.22 and libxslt-1.1.15 in the win32 bundle. (Rob)</li> 13966<li>Added new extensions: (Ilia, Wez) 13967 <ul> 13968 <li>XMLWriter</li> 13969 <li>Hash</li> 13970 </ul></li> 13971<li>Added PNG compression support to GD extension. (Pierre)</li> 13972<li>Added reflection constants as class constants. (Johannes)</li> 13973<li>Added --enable-gcov configure option to enable C-level code coverage. (John, Jani, Ilia, Marcus)</li> 13974<li>Added missing support for 'B' format identifier to date() function. (Ilia)</li> 13975<li>Changed reflection to be an extension. (Marcus)</li> 13976<li>Improved SPL extension: (Marcus) 13977 <ul> 13978 <li>Added class SplFileInfo as root class for DirectoryIterator and SplFileObject</li> 13979 <li>Added SplTempFileObject</li> 13980 </ul></li> 13981<li>Improved SimpleXML extension: (Marcus) 13982 <ul> 13983 <li>Fixed memleaks</li> 13984 <li>Fixed var_dump()</li> 13985 <li>Fixed isset/empty/(bool) behavior</li> 13986 <li>Fixed iterator edge cases</li> 13987 <li>Added methods getNamespaces(), getDocNamespaces()</li> 13988 </ul></li> 13989<li>Upgraded pear to version 1.4.6. (Greg)</li> 13990<li>Added constants for libxslt and libexslt versions: LIBXSLT_VERSION, LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION and LIBEXSLT_DOTTED_VERSION. (Pierre)</li> 13991<li>Added an optional parameter to parse_url() to allow retrieval of distinct URL components. (Ilia)</li> 13992<li>Fixed possible crash in apache_getenv()/apache_setenv() on invalid parameters. (Ilia)</li> 13993<li>Changed errors to warnings in imagecolormatch(). (Pierre)</li> 13994<li>Fixed segfault/leak in imagecolormatch(). (Pierre)</li> 13995<li>Fixed small leak in mysqli_stmt_fetch() when bound variable was empty string. (Andrey)</li> 13996<li>Fixed prepared statement name conflict handling in PDO_PGSQL. (Thies, Ilia)</li> 13997<li>Fixed memory corruption when PDO::FETCH_LAZY mode is being used. (Ilia)</li> 13998<li>Fixed possible leaks in imagecreatefromstring() with invalid data. (Pierre)</li> 13999<li>Fixed possible memory corruption inside mb_strcut(). (Ilia)</li> 14000<li>Fixed possible header injection by limiting each header to a single line. (Ilia)</li> 14001<li>Fixed possible XSS inside error reporting functionality. (Ilia)</li> 14002<li>Fixed many bugs in OCI8. (Tony)</li> 14003<li>Fixed crash and leak in mysqli when using 4.1.x client libraries and connecting to 5.x server. (Andrey)</li> 14004<li><?php bugfix(35916); ?> (Duplicate calls to stream_bucket_append() lead to a crash). (Ilia)</li> 14005<li><?php bugfix(35908); ?> (curl extension uses undefined GCRY_THREAD_OPTIONS_USER). (Ilia)</li> 14006<li><?php bugfix(35907); ?> (PDO_OCI uses hardcoded lib path $ORACLE_HOME/lib). (Tony)</li> 14007<li><?php bugfix(35887); ?> (wddx_deserialize not parsing dateTime fields properly). (Derick)</li> 14008<li><?php bugfix(35885); ?> (strtotime("NOW") no longer works). (Derick)</li> 14009<li><?php bugfix(35821); ?> (array_map() segfaults when exception is throwed from the callback). (Tony)</li> 14010<li><?php bugfix(35817); ?> (unpack() does not decode odd number of hexadecimal values). (Ilia)</li> 14011<li><?php bugfix(35797); ?> (segfault on PDOStatement::execute() with zend.ze1_compatibility_mode = On). (Tony, Ilia)</li> 14012<li><?php bugfix(35781); ?> (stream_filter_append() can cause segfault). (Tony)</li> 14013<li><?php bugfix(35760); ?> (sybase_ct doesn't compile on Solaris using old gcc). (Tony)</li> 14014<li><?php bugfix(35759); ?> (mysqli_stmt_bind_result() makes huge allocation when column empty). (Andrey)</li> 14015<li><?php bugfix(35751); ?> (using date with a timestamp makes httpd segfault). (Derick)</li> 14016<li><?php bugfix(35740); ?> (memory leak when including a directory). (Tony)</li> 14017<li><?php bugfix(35730); ?> (ext/mssql + freetds: Use correct character encoding and allow setting it). (Frank)</li> 14018<li><?php bugfix(35723); ?> (xmlrpc_introspection.c fails compile per C99 std). (Jani)</li> 14019<li><?php bugfix(35720); ?> (A final constructor can be overwritten). (Marcus)</li> 14020<li><?php bugfix(35713); ?> (getopt() returns array with numeric strings when passed options like '-1'). (Tony)</li> 14021<li><?php bugfix(35705); ?> (strtotime() fails to parse soap date format without TZ). (Ilia)</li> 14022<li><?php bugfix(35699); ?> (date() can't handle leap years before 1970). (Derick)</li> 14023<li><?php bugfix(35694); ?> (Improved error message for invalid fetch mode). (Ilia)</li> 14024<li><?php bugfix(35692); ?> (iconv_mime_decode() segmentation fault; with libiconv only). (Tony)</li> 14025<li><?php bugfix(35690); ?> (pack() tries to allocate huge memory block when packing float values to strings). (Tony)</li> 14026<li><?php bugfix(35669); ?> (imap_mail_compose() crashes with multipart-multiboundary-email). (Ilia)</li> 14027<li><?php bugfix(35660); ?> (AIX TZ variable format not understood, yields UTC timezone). (Derick)</li> 14028<li><?php bugfix(35655); ?> (whitespace following end of heredoc is lost). (Ilia)</li> 14029<li><?php bugfix(35630); ?> (strtotime() crashes on certain relative identifiers). (Ilia)</li> 14030<li><?php bugfix(35629); ?> (crash in http:// wrapper on multiple redirects). (Ilia)</li> 14031<li><?php bugfix(35624); ?> (strtotime() does not handle 3 character weekdays). (Ilia)</li> 14032<li><?php bugfix(35612); ?> (iis6 Access Violation crash). (Dmitry, alacn.uhahaa)</li> 14033<li><?php bugfix(35594); ?> (Multiple calls to getopt() may result in a crash). (rabbitt at gmail dot com, Ilia)</li> 14034<li><?php bugfix(35571); ?> (Fixed crash in Apache 2 SAPI when more then one php script is loaded via SSI include). (Ilia)</li> 14035<li><?php bugfix(35570); ?> (segfault when re-using soap client object). (Dmitry)</li> 14036<li><?php bugfix(35558); ?> (mktime() interpreting 3 digit years incorrectly). (Ilia)</li> 14037<li><?php bugfix(35543); ?> (php crash when calling non existing method of a class that extends PDO). (Tony)</li> 14038<li><?php bugfix(35539); ?> (typo in error message for ErrorException). (Tony)</li> 14039<li><?php bugfix(35536); ?> (mysql_field_type() doesn't handle NEWDECIMAL). (Tony)</li> 14040<li><?php bugfix(35517); ?> (mysql_stmt_fetch returns NULL on data truncation). (Georg)</li> 14041<li><?php bugfix(35509); ?> (string constant as array key has different behavior inside object). (Dmitry)</li> 14042<li><?php bugfix(35508); ?> (PDO fails when unknown fetch mode specified). (Tony)</li> 14043<li><?php bugfix(35499); ?> (strtotime() does not handle whitespace around the date string). (Ilia)</li> 14044<li><?php bugfix(35496); ?> (Crash in mcrypt_generic()/mdecrypt_generic() without proper init). (Ilia)</li> 14045<li><?php bugfix(35490); ?> (socket_sendto() unable to handle IPv6 addresses). (Tony)</li> 14046<li><?php bugfix(35461); ?> (Ming extension fails to compile with ming 0.3beta1). (Jani)</li> 14047<li><?php bugfix(35437); ?> (Segfault or Invalid Opcode 137/1/4). (Dmitry)</li> 14048<li><?php bugfix(35470); ?> (Assigning global using variable name from array doesn't function). (Dmitry)</li> 14049<li><?php bugfix(35456); ?> (+ 1 [time unit] format did not work). (Ilia)</li> 14050<li><?php bugfix(35447); ?> (xml_parse_into_struct() chokes on the UTF-8 BOM). (Rob)</li> 14051<li><?php bugfix(35431); ?> (PDO crashes when using LAZY fetch with fetchAll). (Wez)</li> 14052<li><?php bugfix(35430); ?> (PDO crashes on incorrect FETCH_FUNC use). (Tony)</li> 14053<li><?php bugfix(35427); ?> (str_word_count() handles '-' incorrectly). (Ilia)</li> 14054<li><?php bugfix(35425); ?> (idate() function ignores timezone settings). (Ilia)</li> 14055<li><?php bugfix(35422); ?> (strtotime() does not parse times with UTC as timezone). (Ilia)</li> 14056<li><?php bugfix(35414); ?> (strtotime() no longer works with ordinal suffix). (Ilia)</li> 14057<li><?php bugfix(35410); ?> (wddx_deserialize() doesn't handle large ints as keys properly). (Ilia)</li> 14058<li><?php bugfix(35409); ?> (undefined reference to 'rl_completion_matches'). (Jani)</li> 14059<li><?php bugfix(35399); ?> (Since fix of bug <?php bugl(35273); ?> SOAP decoding of soapenc:base64binary fails). (Dmitry)</li> 14060<li><?php bugfix(35393); ?> (changing static protected members from outside the class, one more reference issue). (Dmitry)</li> 14061<li><?php bugfix(35381); ?> (ssl library is not initialized properly). (Alan)</li> 14062<li><?php bugfix(35377); ?> (PDO_SQLITE: undefined reference to "fdatasync"). (Nuno, Jani)</li> 14063<li><?php bugfix(35373); ?> (HP-UX "alias not allowed in this configuration"). (Dmitry)</li> 14064<li><?php bugfix(35288); ?> (iconv() function defined as libiconv()). (Nuno)</li> 14065<li><?php bugfix(35103); ?> (mysqli handles bad unsigned (big)int incorrectly).(Andrey)</li> 14066<li><?php bugfix(35062); ?> (socket_read() produces warnings on non blocking sockets). (Nuno, Ilia)</li> 14067<li><?php bugfix(35028); ?> (SimpleXML object fails FALSE test). (Marcus)</li> 14068<li><?php bugfix(34729); ?> (Crash in ZTS mode under Apache). (Dmitry, Zeev) </li> 14069<li><?php bugfix(34429); ?> (Output buffering cannot be turned off with FastCGI). (Dmitry, Ilya)</li> 14070<li><?php bugfix(34359); ?> (Possible crash inside fopen http wrapper). (Ilia, Sara, Nuno)</li> 14071<li><?php bugfix(33789); ?> (Many Problems with SunFuncs). (Derick)</li> 14072<li><?php bugfix(33671); ?> (sun_rise and sun_set don't return a GMT timestamp if one passes an offset). (Derick)</li> 14073<li><?php bugfix(32820); ?> (date_sunrise and date_sunset don't handle GMT offset well). (Derick)</li> 14074<li><?php bugfix(31347); ?> (is_dir and is_file (incorrectly) return true for any string greater then 255 characters). (Nuno, Ilia)</li> 14075<li><?php bugfix(30937); ?> (date_sunrise() & date_sunset() don't handle endless day/night at high latitudes). (Derick)</li> 14076<li><?php bugfix(30760); ?> (Remove MessageBox on win32 for E_CORE errors if display_startup_error is off). (Ilia)</li> 14077<li><?php bugfix(29955); ?> (mb_strtoupper() / lower() broken with Turkish encoding). (Rui)</li> 14078<li><?php bugfix(28899); ?> (mb_substr() and substr() behave differently when "mbstring.func_overload" is enabled). (Rui)</li> 14079<li><?php bugfix(27678); ?> (number_format() crashes with large numbers). (Marcus)</li> 14080</ul> 14081 14082<!-- }}} --></section> 14083 14084<section class="version" id="5.1.1"><!-- {{{ 5.1.1 --> 14085<h3>Version 5.1.1</h3> 14086<?php release_date('28-Nov-2005'); ?> 14087<ul> 14088<li>Disabled native date class to prevent pear::date conflict. (Ilia)</li> 14089<li>Improved safe_mode/open_basedir checks in cURL extension. (Ilia, Jani)</li> 14090<li>Changed reflection constants be both PHP and class constants. (Johannes)</li> 14091<li>Added an additional field $frame['object'] to the result array of debug_backtrace() that contains a reference to the respective object when the frame was called from an object. (Sebastian)</li> 14092<li><?php bugfix(35423); ?> (RecursiveDirectoryIterator doesnt appear to recurse with RecursiveFilterIterator). (Marcus)</li> 14093<li><?php bugfix(35413); ?> (Removed -dev flag from Zend Engine version). (Ilia)</li> 14094<li><?php bugfix(35411); ?> (Regression with \{$ handling). (Ilia)</li> 14095<li><?php bugfix(35406); ?> (eval hangs when evall'ed code ends with comment w/o newline). (Marcus)</li> 14096<li><?php bugfix(35391); ?> (pdo_mysql::exec does not return number of affected rows). (Tony)</li> 14097<li><?php bugfix(35382); ?> (Comment in end of file produces fatal error). (Ilia)</li> 14098<li><?php bugfix(35360); ?> (exceptions in interactive mode (php -a) may cause crash). (Dmitry)</li> 14099<li><?php bugfix(35358); ?> (Incorrect error messages for PDO class constants). (Ilia)</li> 14100<li><?php bugfix(35338); ?> (pdo_pgsql does not handle binary bound params). (Wez)</li> 14101<li><?php bugfix(35316); ?> (Application exception trying to create COM object). (Rob)</li> 14102<li><?php bugfix(35170); ?> (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x). (Ilia)</li> 14103</ul> 14104 14105<!-- }}} --></section> 14106 14107<section class="version" id="5.1.0"><!-- {{{ 5.1.0 --> 14108<h3>Version 5.1.0</h3> 14109<?php release_date('24-Nov-2005'); ?> 14110<ul> 14111<li>Added support for class constants and static members for internal classes. (Dmitry, Michael Wallner)</li> 14112<li>Added "new_link" parameter to mssql_connect() (Bug <?php bugl(34369); ?>). (Frank)</li> 14113<li>Added missing safe_mode checks for image* functions and cURL. (Ilia)</li> 14114<li>Added missing safe_mode/open_basedir checks for file uploads. (Ilia)</li> 14115<li>Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql. (Ilia)</li> 14116<li>Added date_timezone_set() function to set the timezone that the date functions will use. (Derick)</li> 14117<li>Added pg_fetch_all_columns() function to fetch all values of a column from a result cursor. (Ilia)</li> 14118<li>Added support for LOCK_EX flag for file_put_contents(). (Ilia)</li> 14119<li>Added bindto socket context option. (Ilia)</li> 14120<li>Added offset parameter to the stream_copy_to_stream() function. (Ilia)</li> 14121<li>Added offset & length parameters to substr_count() function. (Ilia)</li> 14122<li>Added man pages for "phpize" and "php-config" scripts. (Jakub Vrana)</li> 14123<li>Added support for .cc files in extensions. (Brian)</li> 14124<li>Added PHP_INT_MAX and PHP_INT_SIZE as predefined constants. (Andrey)</li> 14125<li>Added user opcode API that allow overloading of opcode handlers. (Dmitry)</li> 14126<li>Added an optional remove old session parameter to session_regenerate_id(). (Ilia)</li> 14127<li>Added array type hinting. (Dmitry)</li> 14128<li>Added the tidy_get_opt_doc() function to return documentation for configuration options in tidy. (Patch by: nlopess@php.net)</li> 14129<li>Added support for .cc files in extensions. (Brian)</li> 14130<li>Added imageconvolution() function which can be used to apply a custom 3x3 matrix convolution to an image. (Pierre)</li> 14131<li>Added optional first parameter to XsltProcessor::registerPHPFunctions to only allow certain functions to be called from XSLT. (Christian)</li> 14132<li>Added the ability to override the autotools executables used by the buildconf script via the PHP_AUTOCONF and PHP_AUTOHEADER environmental variables. (Jon)</li> 14133<li>Added several new functions to support the PostgreSQL v3 protocol introduced in PostgreSQL 7.4. (Christopher) 14134 <ul> 14135 <li>pg_transaction_status() - in-transaction status of a database connection.</li> 14136 <li>pg_query_params() - execution of parameterized queries.</li> 14137 <li>pg_prepare() - prepare named queries.</li> 14138 <li>pg_execute() - execution of named prepared queries.</li> 14139 <li>pg_send_query_params() - async equivalent of pg_query_params().</li> 14140 <li>pg_send_prepare() - async equivalent of pg_prepare().</li> 14141 <li>pg_send_execute() - async equivalent of pg_execute().</li> 14142 <li>pg_result_error_field() - highly detailed error information, most importantly the SQLSTATE error code.</li> 14143 <li>pg_set_error_verbosity() - set verbosity of errors.</li> 14144 </ul></li> 14145<li>Added optional fifth parameter "count" to preg_replace_callback() and preg_replace() to count the number of replacements made. FR <?php bugl(32275); ?>. (Andrey)</li> 14146<li>Added optional third parameter "charlist" to str_word_count() which contains characters to be considered as word part. FR <?php bugl(31560); ?>. (Andrey, Ilia)</li> 14147<li>Added interface Serializable. (Stanislav, Marcus)</li> 14148<li>Added pg_field_type_oid() PostgreSQL function. (mauroi at digbang dot com)</li> 14149<li>Added zend_declare_property_...() and zend_update_property_...() API functions for bool, double and binary safe strings. (Hartmut)</li> 14150<li>Added possibility to access INI variables from within .ini file. (Andrei)</li> 14151<li>Added variable $_SERVER['REQUEST_TIME'] containing request start time. (Ilia)</li> 14152<li>Added optional float parameter to gettimeofday(). (Ilia)</li> 14153<li>Added apache_reset_timeout() Apache1 function. (Rasmus)</li> 14154<li>Added sqlite_fetch_column_types() 3rd argument for arrays. (Ilia)</li> 14155<li>Added optional offset parameter to stream_get_contents() and file_get_contents(). (Ilia)</li> 14156<li>Added optional maxlen parameter to file_get_contents(). (Ilia)</li> 14157<li>Added SAPI hook to get the current request time. (Rasmus)</li> 14158<li>Added new functions: 14159 <ul> 14160 <li>array_diff_key() (Andrey)</li> 14161 <li>array_diff_ukey() (Andrey)</li> 14162 <li>array_intersect_key() (Christiano Duarte)</li> 14163 <li>array_intersect_ukey() (Christiano Duarte)</li> 14164 <li>array_product() (Andrey)</li> 14165 <li>DomDocumentFragment::appendXML() (Christian)</li> 14166 <li>fputcsv() (David Sklar)</li> 14167 <li>htmlspecialchars_decode() (Ilia)</li> 14168 <li>inet_pton() (Sara)</li> 14169 <li>inet_ntop() (Sara)</li> 14170 <li>mysqli::client_info property (Georg)</li> 14171 <li>posix_access() (Magnus)</li> 14172 <li>posix_mknod() (Magnus)</li> 14173 <li>SimpleXMLElement::registerXPathNamespace() (Christian)</li> 14174 <li>stream_context_get_default() (Wez)</li> 14175 <li>stream_socket_enable_crypto() (Wez)</li> 14176 <li>stream_wrapper_unregister() (Sara)</li> 14177 <li>stream_wrapper_restore() (Sara)</li> 14178 <li>stream_filter_remove() (Sara)</li> 14179 <li>time_sleep_until() (Ilia)</li> 14180 </ul></li> 14181<li>Added DomDocument::$recover property for parsing not well-formed XML Documents. (Christian)</li> 14182<li>Added Cursor support for MySQL 5.0.x in mysqli (Georg)</li> 14183<li>Added proxy support to ftp wrapper via http. (Sara)</li> 14184<li>Added MDTM support to ftp_url_stat. (Sara)</li> 14185<li>Added zlib stream filter support. (Sara)</li> 14186<li>Added bz2 stream filter support. (Sara)</li> 14187<li>Added max_redirects context option that specifies how many HTTP redirects to follow. (Ilia)</li> 14188<li>Added support of parameter=>value arrays to xsl_xsltprocessor_set_parameter(). (Tony)</li> 14189<li>Improved PHP extension loading mechanism with support for module dependencies and conflicts. (Jani, Dmitry)</li> 14190<li>Improved interactive mode of PHP CLI (php -a). (Johannes, Marcus)</li> 14191<li>Improved performance of: 14192 <ul> 14193 <li>general execution/compilation. (Andi, Thies, Sterling, Dmitry, Marcus)</li> 14194 <li>switch() statement. (Dmitry)</li> 14195 <li>several array functions. (Marcus)</li> 14196 <li>virtual path handling by adding a realpath() cache. (Andi)</li> 14197 <li>variable fetches. (Andi)</li> 14198 <li>magic method invocations. (Marcus)</li> 14199 </ul></li> 14200<li>Improved support for embedded server in mysqli. (Georg)</li> 14201<li>Improved mysqli extension. (Georg) 14202 <ul> 14203 <li>added constructor for mysqli_stmt and mysqli_result classes</li> 14204 <li>added new function mysqli_get_charset()</li> 14205 <li>added new function mysqli_set_charset()</li> 14206 <li>added new class mysqli_driver</li> 14207 <li>added new class mysqli_warning</li> 14208 <li>added new class mysqli_exception</li> 14209 <li>added new class mysqli_sql_exception</li> 14210 </ul></li> 14211<li>Improved SPL extension. (Marcus) 14212 <ul> 14213 <li>Moved RecursiveArrayIterator from examples into extension</li> 14214 <li>Moved RecursiveFilterIterator from examples into extension</li> 14215 <li>Added SplObjectStorage</li> 14216 <li>Made all SPL constants class constants</li> 14217 <li>Renamed CachingRecursiveIterator to RecursiveCachingIterator to follow Recursive<*>Iterator naming scheme.</li> 14218 <li>added standard hierarchy of Exception classes</li> 14219 <li>added interface Countable</li> 14220 <li>added interfaces Subject and SplObserver</li> 14221 <li>added spl_autoload*() functions</li> 14222 <li>converted several 5.0 examples into c code</li> 14223 <li>added class SplFileObject</li> 14224 <li>added possibility to use a string with class_parents() and class_implements(). (Andrey)</li> 14225 </ul></li> 14226<li>Changed type hints to allow "null" as default value for class and array. (Marcus, Derick, Dmitry)</li> 14227<li>Changed SQLite extension to be a shared module in Windows distribution. (Edin)</li> 14228<li>Changed "instanceof" and "catch" operators, is_a() and is_subclass_of() functions to not call __autoload(). (Dmitry)</li> 14229<li>Changed sha1_file() and md5_file() functions to use streams instead of low level IO. (Uwe)</li> 14230<li>Changed abstract private methods to be not allowed anymore. (Stas)</li> 14231<li>Changed stream_filter_(ap|pre)pend() to return resource. (Sara)</li> 14232<li>Changed mysqli_exception and sqlite_exception to use RuntimeException as base if SPL extension is present. (Georg, Marcus)</li> 14233<li>Upgraded bundled libraries: 14234 <ul> 14235 <li>PCRE library to version 6.2. (Andrei)</li> 14236 <li>SQLite 3 library in ext/pdo_sqlite to 3.2.7. (Ilia)</li> 14237 <li>SQLite 2 library in ext/sqlite to 2.8.16. (Ilia)</li> 14238 </ul></li> 14239<li>Upgraded bundled libraries in Windows distribution. (Edin) 14240 <ul> 14241 <li>zlib 1.2.3</li> 14242 <li>curl 7.14.0</li> 14243 <li>openssl 0.9.8</li> 14244 <li>ming 0.3b</li> 14245 <li>libpq (PostgreSQL) 8.0.1</li> 14246 </ul></li> 14247<li><?php implemented(33452); ?> (Year belonging to ISO week). (Derick)</li> 14248<li>Allowed return by reference from internal functions. (Marcus, Andi, Dmitry)</li> 14249<li>Rewrote strtotime() with support for timezones and many new formats. Implements feature requests <?php bugl(21399); ?>, <?php bugl(26694); ?>, <?php bugl(28088); ?>, <?php bugl(29150); ?>, <?php bugl(29585); ?> and <?php bugl(29595); ?>. (Derick)</li> 14250<li>Moved extensions to PECL: 14251 <ul> 14252 <li>ext/cpdf (Tony, Derick)</li> 14253 <li>ext/dio (Jani, Derick)</li> 14254 <li>ext/fam (Jani, Derick)</li> 14255 <li>ext/ingres_ii (Jani, Derick)</li> 14256 <li>ext/mnogosearch (Jani, Derick)</li> 14257 <li>ext/w32api (Jani, Derick)</li> 14258 <li>ext/yp (Jani, Derick)</li> 14259 <li>ext/mcve (Jani, Derick, Pierre)</li> 14260 <li>ext/oracle (Jani, Derick)</li> 14261 <li>ext/ovrimos (Jani, Derick, Pierre)</li> 14262 <li>ext/pfpro (Jani, Derick, Pierre)</li> 14263 <li>ext/dbx (Jani, Derick)</li> 14264 <li>ext/ircg (Jani, Derick)</li> 14265 </ul></li> 14266<li>Removed php_check_syntax() function which never worked properly. (Ilia)</li> 14267<li>Removed garbage manager in Zend Engine which results in more aggressive freeing of data. (Dmitry, Andi)</li> 14268<li>Fixed "make test" to work for phpized extensions. (Hartmut, Jani)</li> 14269<li>Fixed Apache 2 regression with sub-request handling on non-linux systems. (Ilia, Tony)</li> 14270<li>Fixed PDO shutdown problem (possible infinite loop running rollback on shutdown). (Wez)</li> 14271<li><?php peclbugfix(3714); ?> (PDO: beginTransaction doesn't work if you're in auto-commit mode). (Wez)</li> 14272<li>Fixed ZTS destruction. (Marcus)</li> 14273<li>Fixed __get/__set to allow recursive calls for different properties. (Dmitry)</li> 14274<li>Fixed a bug where stream_get_meta_data() did not return the "uri" element for files opened with tmpname(). (Derick)</li> 14275<li>Fixed a problem with SPL iterators aggregating the inner iterator. (Marcus)</li> 14276<li>Fixed an error in mysqli_fetch_fields (returned NULL instead of an array when row number > field_count). (Georg)</li> 14277<li>Fixed bug in mysql::client_version(). (Georg)</li> 14278<li>Fixed bug in mysqli extension with unsigned int(11) being represented as signed integer in PHP instead of string in 32bit systems. (Andrey)</li> 14279<li>Fixed bug with $HTTP_RAW_POST_DATA not getting set. (Brian)</li> 14280<li>Fixed crash inside stream_get_line() when length parameter equals 0. (Ilia)</li> 14281<li>Fixed ext/mysqli to allocate less memory when fetching bound params of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey)</li> 14282<li>Fixed extension initialization to respect dependencies between extensions. (Wez)</li> 14283<li>Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems. (Andrey)</li> 14284<li>Fixed fgetcsv() and fputcsv() inconsistency. (Dmitry)</li> 14285<li>Fixed inheritance check to control return by reference and pass by reference correctly (ArrayAccess can no longer support references correctly). (Marcus, Andi, Dmitry)</li> 14286<li>Fixed initializing and argument checking for posix_mknod(). (Derick)</li> 14287<li>Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)</li> 14288<li>Fixed memory corruption in pg_copy_from() in case the as_null parameter was passed. (Derick)</li> 14289<li>Fixed memory corruption in stristr(). (Derick)</li> 14290<li>Fixed possible GLOBALS variable override when register_globals are ON. (Ilia, Stefan)</li> 14291<li>Fixed possible INI setting leak via virtual() in Apache 2 sapi. (Ilia)</li> 14292<li>Fixed possible register_globals toggle via parse_str(). (Ilia, Stefan)</li> 14293<li>Fixed potential GLOBALS overwrite via import_request_variables() and possible crash and/or memory corruption. (Ilia)</li> 14294<li>Fixed segfaults when CURL callback functions throw exception. (Tony)</li> 14295<li>Fixed support for shared extensions on AIX. (Dmitry)</li> 14296<li><?php bugfix(35342); ?> (isset(DOMNodeList->length) returns false). (Rob)</li> 14297<li><?php bugfix(35341); ?> (Fix for bug <?php bugl(33760); ?> breaks build with older curl). (Tony)</li> 14298<li><?php bugfix(35336); ?> (crash on PDO::FETCH_CLASS + __set()). (Tony)</li> 14299<li><?php bugfix(35303); ?> (PDO prepare() crashes with invalid parameters). (Ilia)</li> 14300<li><?php bugfix(35293); ?> (PDO segfaults when using persistent connections). (Tony)</li> 14301<li><?php bugfix(35278); ?> (Multiple virtual() calls crash Apache 2 php module). (Ilia)</li> 14302<li><?php bugfix(35273); ?> (Error in mapping soap - java types). (Dmitry)</li> 14303<li><?php bugfix(35249); ?> (compile failure when ext/readline is compiled as shared). (Jani)</li> 14304<li><?php bugfix(35248); ?> (sqlite_query() doesn't set error_msg when return value is being used). (Ilia)</li> 14305<li><?php bugfix(35243); ?> (php_mblen() crashes when compiled with thread-safety on Linux). (Patch: shulmanb at il dot ibm dot com, Jani)</li> 14306<li><?php bugfix(35239); ?> (Objects can lose references). (Dmitry)</li> 14307<li><?php bugfix(35229); ?> (call_user_func() crashes when argument_stack is nearly full). (Dmitry)</li> 14308<li><?php bugfix(35197); ?> (Destructor is not called). (Tony)</li> 14309<li><?php bugfix(35179); ?> (tokenizer extension needs T_HALT_COMPILER). (Greg)</li> 14310<li><?php bugfix(35176); ?> (include()/require()/*_once() produce wrong error messages about main()). (Dmitry)</li> 14311<li><?php bugfix(35147); ?> (__HALT_COMPILER() breaks with --enable-zend-multibyte). (Dmitry, Moriyoshi)</li> 14312<li><?php bugfix(35143); ?> (gettimeofday() ignores current time zone). (Derick)</li> 14313<li><?php bugfix(35142); ?> (SOAP Client/Server Complex Object Support). (Dmitry)</li> 14314<li><?php bugfix(35135); ?> (PDOStatment without related PDO object may crash). (Ilia)</li> 14315<li><?php bugfix(35091); ?> (SoapClient leaks memory). (Dmitry)</li> 14316<li><?php bugfix(35079); ?> (stream_set_blocking(true) toggles, not enables blocking). (askalski at gmail dot com, Tony)</li> 14317<li><?php bugfix(35078); ?> (configure does not find ldap_start_tls_s). (Jani)</li> 14318<li><?php bugfix(35046); ?> (phpinfo() uses improper css enclosure). (Ilia)</li> 14319<li>Fixed bugs <?php bugl(35022); ?>, <?php bugl(35019); ?> (Regression in the behavior of key() and current() functions). (Ilia)</li> 14320<li><?php bugfix(35017); ?> (Exception thrown in error handler may cause unexpected behavior). (Dmitry)</li> 14321<li><?php bugfix(35014); ?> (array_product() always returns 0). (Ilia)</li> 14322<li><?php bugfix(35009); ?> (ZTS: Persistent resource destruct crashes when extension is compiled as shared). (Dmitry)</li> 14323<li><?php bugfix(34996); ?> (ImageTrueColorToPalette() crashes when ncolors is zero). (Tony)</li> 14324<li><?php bugfix(34982); ?> (array_walk_recursive() modifies elements outside function scope). (Dmitry)</li> 14325<li><?php bugfix(34977); ?> (Compile failure on MacOSX due to use of varargs.h). (Tony)</li> 14326<li><?php bugfix(34968); ?> (bz2 extension fails on to build on some win32 setups). (Ilia)</li> 14327<li><?php bugfix(34965); ?> (tidy is not binary safe). (Mike)</li> 14328<li><?php bugfix(34957); ?> (PHP doesn't respect ACLs for access checks). (Wez)</li> 14329<li><?php bugfix(34950); ?> (Unable to get WSDL through proxy). (Dmitry)</li> 14330<li><?php bugfix(34938); ?> (dns_get_record() doesn't resolve long hostnames and leaks). (Tony)</li> 14331<li><?php bugfix(34905); ?> (Digest authentication does not work with Apache 1). (Ilia)</li> 14332<li><?php bugfix(34902); ?> (mysqli::character_set_name() - undefined method). (Tony)</li> 14333<li><?php bugfix(34899); ?> (Fixed sqlite extension compile failure). (Ilia)</li> 14334<li><?php bugfix(34893); ?> (PHP5.1 overloading, Cannot access private property). (Dmitry)</li> 14335<li><?php bugfix(34884); ?> (Possible crash in ext/sqlite when sqlite.assoc_case is being used). (Tony, Ilia)</li> 14336<li><?php bugfix(34879); ?> (str_replace, array_map corrupt negative array indexes on 64-bit platforms). (Dmitry)</li> 14337<li><?php bugfix(34873); ?> (Segmentation Fault on foreach in object). (Dmitry)</li> 14338<li><?php bugfix(34856); ?> (configure fails to detect libiconv's type). (Tony)</li> 14339<li><?php bugfix(34855); ?> (ibase_service_attach() segfault on AMD64). (irie at gmx dot de, Tony)</li> 14340<li><?php bugfix(34851); ?> (SO_RECVTIMEO and SO_SNDTIMEO socket options expect integer parameter on Windows). (Mike)</li> 14341<li><?php bugfix(34850); ?> (--program-suffix and --program-prefix not included in man page names). (Jani)</li> 14342<li><?php bugfix(34821); ?> (zlib encoders fail on widely varying binary data on windows). (Mike, Ilia)</li> 14343<li><?php bugfix(34818); ?> (several functions crash when invalid mysqli_link object is passed). (Tony)</li> 14344<li><?php bugfix(34810); ?> (mysqli::init() and others use wrong $this pointer without checks). (Tony)</li> 14345<li><?php bugfix(34809); ?> (FETCH_INTO in PDO crashes without a destination object). (Ilia)</li> 14346<li><?php bugfix(34802); ?> (Fixed crash on object instantiation failure). (Ilia)</li> 14347<li><?php bugfix(34796); ?> (missing SSL linking in ext/ftp when configured as shared). (Jani)</li> 14348<li><?php bugfix(34790); ?> (preg_match_all(), named capturing groups, variable assignment/return => crash). (Dmitry)</li> 14349<li><?php bugfix(34788); ?> (SOAP Client not applying correct namespace to generated values). (Dmitry)</li> 14350<li><?php bugfix(34787); ?> (SOAP Client not handling boolean types correctly). (Dmitry)</li> 14351<li><?php bugfix(34786); ?> (2 @ results in change to error_reporting() to random value) (Dmitry, Tony)</li> 14352<li><?php bugfix(34785); ?> (subclassing of mysqli_stmt does not work). (Georg)</li> 14353<li><?php bugfix(34782); ?> (token_get_all() gives wrong result). (Dmitry)</li> 14354<li><?php bugfix(34777); ?> (Crash in dblib when fetching non-existent error info). (Ilia)</li> 14355<li><?php bugfix(34771); ?> (strtotime() fails with 1-12am/pm). (Derick)</li> 14356<li><?php bugfix(34767); ?> (Zend Engine 1 Compatibility not copying objects correctly). (Dmitry)</li> 14357<li><?php bugfix(34758); ?> (PDO_DBLIB did not implement rowCount()). (Ilia)</li> 14358<li><?php bugfix(34757); ?> (iconv_substr() gives "Unknown error" when offset > string length). (Tony)</li> 14359<li><?php bugfix(34742); ?> (ftp wrapper failures caused from segmented command transfer). (Ilia)</li> 14360<li><?php bugfix(34725); ?> (CLI segmentation faults during cleanup). (Dmitry)</li> 14361<li><?php bugfix(34723); ?> (array_count_values() strips leading zeroes). (Tony)</li> 14362<li><?php bugfix(34712); ?> (zend.ze1_compatibility_mode = on segfault). (Dmitry)</li> 14363<li><?php bugfix(34704); ?> (Infinite recursion due to corrupt JPEG). (Marcus)</li> 14364<li><?php bugfix(34678); ?> (__call(), is_callable() and static methods). (Dmitry)</li> 14365<li><?php bugfix(34676); ?> (missing support for strtotime("midnight") and strtotime("noon")). (Derick)</li> 14366<li><?php bugfix(34645); ?> (ctype corrupts memory when validating large numbers). (Ilia)</li> 14367<li><?php bugfix(34643); ?> (wsdl default value has no effect). (Dmitry)</li> 14368<li><?php bugfix(34623); ?> (Crash in pdo_mysql on longtext fields). (Ilia)</li> 14369<li><?php bugfix(34617); ?> (zend_deactivate: objects_store used after zend_objects_store_destroy is called). (Dmitry)</li> 14370<li><?php bugfix(34590); ?> (User defined PDOStatement class can't implement methods). (Marcus)</li> 14371<li><?php bugfix(34584); ?> (Segfault with SPL autoload handler). (Marcus)</li> 14372<li><?php bugfix(34581); ?> (crash with mod_rewrite). (Tony, Ilia)</li> 14373<li><?php bugfix(34565); ?> (mb_send_mail does not fetch mail.force_extra_parameters). (Marco, Ilia)</li> 14374<li><?php bugfix(34557); ?> (php -m exits with "error" 1). (Johannes)</li> 14375<li><?php bugfix(34518); ?> (Unset doesn't separate container in CV). (Dmitry)</li> 14376<li><?php bugfix(34505); ?> (Possible memory corruption when unmangling properties with empty names). (Tony)</li> 14377<li><?php bugfix(34478); ?> (Incorrect parsing of url's fragment (#...)). (Dmitry)</li> 14378<li><?php bugfix(34467); ?> (foreach + __get + __set inconsistency). (Dmitry)</li> 14379<li><?php bugfix(34456); ?> (Possible crash inside pspell extension). (Ilia)</li> 14380<li><?php bugfix(34453); ?> (parsing http://www.w3.org/2001/xml.xsd exception). (Dmitry)</li> 14381<li><?php bugfix(34450); ?> (Segfault when calling mysqli_close() in destructor). (Tony)</li> 14382<li><?php bugfix(34449); ?> (ext/soap: XSD_ANYXML functionality not exposed). (Dmitry)</li> 14383<li><?php bugfix(34420); ?> (Possible crash inside curl_multi_remove_handle()). (Ilia)</li> 14384<li><?php bugfix(34358); ?> (Fatal error: Cannot re-assign $this). (Dmitry)</li> 14385<li><?php bugfix(34331); ?> (php crashes when variables_order is empty). (Ilia)</li> 14386<li><?php bugfix(34321); ?> (Possible crash in filter code). (Ilia)</li> 14387<li><?php bugfix(34311); ?> (unserialize() crashes with chars above 191 dec). (Nuno)</li> 14388<li><?php bugfix(34310); ?> (foreach($arr as $c->d => $x) crashes). (Dmitry)</li> 14389<li><?php bugfix(34307); ?> (on_modify handler not called to set the default value if setting from php.ini was invalid). (Andrei)</li> 14390<li><?php bugfix(34306); ?> (wddx_serialize_value() crashes with long array keys). (Jani)</li> 14391<li><?php bugfix(34304); ?> (date() doesn't have a modifier for ISO Week Day). (Derick)</li> 14392<li><?php bugfix(34302); ?> (date('W') do not return leading zeros for week 1 to 9). (Derick)</li> 14393<li><?php bugfix(34299); ?> (ReflectionClass::isInstantiable() returns true for abstract classes). (Marcus)</li> 14394<li><?php bugfix(34284); ?> (CLI phpinfo showing html on _SERVER["argv"]). (Jani)</li> 14395<li><?php bugfix(34277); ?> (array_filter() crashes with references and objects). (Dmitry)</li> 14396<li><?php bugfix(34276); ?> (setAttributeNS doesn't work with default namespace). (Rob)</li> 14397<li><?php bugfix(34260); ?> (Segfault with callbacks (array_map) + overloading). (Dmitry)</li> 14398<li><?php bugfix(34257); ?> (lib64 not handled correctly in ming extension). (Marcus)</li> 14399<li><?php bugfix(34221); ?> (Compiling xmlrpc as shared fails other parts). (Jani)</li> 14400<li><?php bugfix(34216); ?> (Segfault with autoload). (Marcus)</li> 14401<li><?php bugfix(34199); ?> (if($obj)/if(!$obj) inconsistency because of cast handler). (Dmitry, Alex)</li> 14402<li><?php bugfix(34191); ?> (ob_gzhandler does not enforce trailing \0). (Ilia)</li> 14403<li><?php bugfix(34156); ?> (memory usage remains elevated after memory limit is reached). (Ilia)</li> 14404<li><?php bugfix(34148); ?> (+,- and . not supported as parts of scheme). (Ilia)</li> 14405<li><?php bugfix(34137); ?> (assigning array element by reference causes binary mess). (Dmitry)</li> 14406<li><?php bugfix(34103); ?> (line numbering not maintained in dom document). (Rob)</li> 14407<li><?php bugfix(34078); ?> (Reflection API problems in methods with boolean or null default values). (Tony)</li> 14408<li><?php bugfix(34068); ?> (Numeric string as array key not cast to integer in wddx_deserialize()). (Ilia)</li> 14409<li><?php bugfix(34064); ?> (arr[] as param to function in class gives invalid opcode). (Dmitry)</li> 14410<li><?php bugfix(34062); ?> (Crash in catch block when many arguments are used). (Dmitry)</li> 14411<li><?php bugfix(34052); ?> (date('U') returns %ld not unix timestamp). (Nuno)</li> 14412<li><?php bugfix(34045); ?> (Buffer overflow with serialized object). (Dmitry)</li> 14413<li><?php bugfix(34001); ?> (pdo_mysql truncates numeric fields at 4 chars). (Ilia)</li> 14414<li><?php bugfix(33999); ?> (object remains object when cast to int). (Dmitry)</li> 14415<li><?php bugfix(33996); ?> (No information given for fatal error on passing invalid value to typed argument). (Dmitry)</li> 14416<li><?php bugfix(33989); ?> (extract($GLOBALS,EXTR_REFS) crashes PHP). (Dmitry)</li> 14417<li><?php bugfix(33987); ?> (php script as ErrorDocument causes crash in Apache 2). (Ilia)</li> 14418<li><?php bugfix(33967); ?> (misuse of Exception constructor doesn't display errorfile). (Jani)</li> 14419<li><?php bugfix(33966); ?> (Wrong use of reflectionproperty causes a segfault). (Tony)</li> 14420<li><?php bugfix(33963); ?> (mssql_bind() fails on input parameters). (Frank)</li> 14421<li><?php bugfix(33958); ?> (duplicate cookies and magic_quotes=off may cause a crash). (Ilia)</li> 14422<li><?php bugfix(33957); ?> (gmdate('W')/date('W') sometimes returns wrong week number). (Derick)</li> 14423<li><?php bugfix(33940); ?> (array_map() fails to pass by reference when called recursively). (Dmitry)</li> 14424<li><?php bugfix(33917); ?> (number_format() output with > 1 char separators). (Jani)</li> 14425<li><?php bugfix(33904); ?> (input array keys being escaped when magic quotes is off). (Ilia)</li> 14426<li><?php bugfix(33903); ?> (spl_autoload_register class method). (Marcus)</li> 14427<li><?php bugfix(33899); ?> (CLI: setting extension_dir=some/path extension=foobar.so does not work). (Jani)</li> 14428<li><?php bugfix(33882); ?> (CLI was looking for php.ini in wrong path). (Hartmut)</li> 14429<li><?php bugfix(33869); ?> (strtotime() problem with "+1days" format). (Ilia)</li> 14430<li><?php bugfix(33841); ?> (pdo sqlite driver forgets to update affected column count on execution of prepared statments). (Ilia)</li> 14431<li><?php bugfix(33837); ?> (Informix ESQL version numbering schema changed). (Jani)</li> 14432<li><?php bugfix(33829); ?> (mime_content_type() returns text/plain for gzip and bzip files). (Derick)</li> 14433<li><?php bugfix(33802); ?> (throw Exception in error handler causes crash). (Dmitry)</li> 14434<li><?php bugfix(33771); ?> (error_reporting falls to 0 when @ was used inside try/catch block). (Tony)</li> 14435<li><?php bugfix(33760); ?> (cURL needs to implement CRYPTO_callback functions to prevent locking). (Mike, Ilia)</li> 14436<li><?php bugfix(33732); ?> (Wrong behavior of constants in class and interface extending). (Dmitry)</li> 14437<li><?php bugfix(33723); ?> (php_value overrides php_admin_value). (Dmitry)</li> 14438<li><?php bugfix(33720); ?> (mb_encode_mimeheader does not work for multibyte chars). (Rui)</li> 14439<li><?php bugfix(33710); ?> (ArrayAccess objects does not initialize $this). (Dmitry)</li> 14440<li><?php bugfix(33690); ?> (Crash setting some ini directives in httpd.conf). (Rasmus)</li> 14441<li><?php bugfix(33673); ?> (Added detection for partially uploaded files). (Ilia)</li> 14442<li><?php bugfix(33605); ?> (substr_compare() crashes with negative offset and length). (Tony)</li> 14443<li><?php bugfix(33597); ?> (setcookie() "expires" date format doesn't comply with RFC). (Tony)</li> 14444<li><?php bugfix(33588); ?> (LDAP: RootDSE query not possible). (Jani)</li> 14445<li><?php bugfix(33578); ?> (strtotime() problem with "Oct17" format). (Derick)</li> 14446<li><?php bugfix(33578); ?> (strtotime() doesn't understand "11 Oct" format). (Derick)</li> 14447<li><?php bugfix(33562); ?> (date("") crashes). (Derick)</li> 14448<li><?php bugfix(33558); ?> (warning with nested calls to functions returning by reference). (Dmitry)</li> 14449<li><?php bugfix(33536); ?> (strtotime() defaults to now even on non time string). (Derick)</li> 14450<li><?php bugfix(33532); ?> (Different output for strftime() and date()). (Derick)</li> 14451<li><?php bugfix(33523); ?> (Memory leak in xmlrpc_encode_request()). (Ilia)</li> 14452<li><?php bugfix(33520); ?> (crash if safe_mode is on and session.save_path is changed). (Dmitry)</li> 14453<li><?php bugfix(33512); ?> (Add missing support for isset()/unset() overloading to complement the property get/set methods). (Dmitry)</li> 14454<li><?php bugfix(33491); ?> (crash after extending MySQLi internal class). (Tony)</li> 14455<li><?php bugfix(33475); ?> (cURL handle is not closed on curl_close(). (Ilia)</li> 14456<li><?php bugfix(33469); ?> (Compile error undefined reference to ifx_checkAPI). (Jani)</li> 14457<li><?php bugfix(33433); ?> (strtoll not available on Tru64). (Jani, Derick)</li> 14458<li><?php bugfix(33427); ?> (ext/odbc: check if unixODBC header file exists). (Jani)</li> 14459<li><?php bugfix(33415); ?> (strtotime() related bugs). (Derick)</li> 14460<li><?php bugfix(33414); ?> (Comprehensive list of incorrect days returned after strtotime() / date() tests). (Derick)</li> 14461<li><?php bugfix(33389); ?> (double free() when exporting a ReflectionClass). (Marcus)</li> 14462<li><?php bugfix(33383); ?> (crash when retrieving empty LOBs). (Tony)</li> 14463<li><?php bugfix(33382); ?> (array_reverse() fails after *sort()), introduced by zend_hash_sort() optimizations in HEAD. (Tony)</li> 14464<li><?php bugfix(33340); ?> (CLI Crash when calling php:function from XSLT). (Rob)</li> 14465<li><?php bugfix(33326); ?> (Cannot build extensions with phpize on Macosx). (Jani)</li> 14466<li><?php bugfix(33318); ?> (throw 1; results in Invalid opcode 108/1/8). (Dmitry)</li> 14467<li><?php bugfix(33312); ?> (ReflectionParameter methods do not work correctly). (Dmitry)</li> 14468<li><?php bugfix(33299); ?> (php:function no longer handles returned dom objects). (Rob, Joe Orton)</li> 14469<li><?php bugfix(33286); ?> (nested array_walk() calls and user array compare functions broken; FCI cache). (Andrei, patch from m.bretz@metropolis-ag.de)</li> 14470<li><?php bugfix(33277); ?> (private method accessed by child class). (Dmitry)</li> 14471<li><?php bugfix(33268); ?> (iconv_strlen() works only with a parameter of < 3 in length). (Ilia)</li> 14472<li><?php bugfix(33257); ?> (array_splice() inconsistent when passed function instead of variable). (Dmitry)</li> 14473<li><?php bugfix(33243); ?> (ze1_compatibility_mode does not work as expected). (Dmitry)</li> 14474<li><?php bugfix(33242); ?> (Mangled error message when stream fails). (Derick)</li> 14475<li><?php bugfix(33222); ?> (segfault when CURL handle is closed in a callback). (Tony)</li> 14476<li><?php bugfix(33214); ?> (odbc_next_result does not signal SQL errors with 2-statement SQL batches). (rich at kastle dot com, Tony)</li> 14477<li><?php bugfix(33212); ?> ([GCC 4]: 'zend_error_noreturn' aliased to external symbol 'zend_error'). (Dmitry)</li> 14478<li><?php bugfix(33210); ?> (relax jpeg recursive loop protection). (Ilia)</li> 14479<li><?php bugfix(33201); ?> (Crash when fetching some data types). (Frank)</li> 14480<li><?php bugfix(33200); ?> (preg_replace(): magic_quotes_sybase=On makes 'e' modifier misbehave). (Jani)</li> 14481<li><?php bugfix(33185); ?> (--enable-session=shared does not build). (Jani)</li> 14482<li><?php bugfix(33171); ?> (foreach enumerates private fields declared in base classes). (Dmitry)</li> 14483<li><?php bugfix(33167); ?> (Possible crash inside pg_fetch_array()). (Ilia)</li> 14484<li><?php bugfix(33164); ?> (Soap extension incorrectly detects HTTP/1.1). (Ilia)</li> 14485<li><?php bugfix(33156); ?> (cygwin version of setitimer doesn't accept ITIMER_PROF). (Nuno)</li> 14486<li><?php bugfix(33153); ?> (crash in mssql_next result). (Frank)</li> 14487<li><?php bugfix(33150); ?> (shtool: insecure temporary file creation). (Jani)</li> 14488<li><?php bugfix(33136); ?> (method offsetSet in class extended from ArrayObject crash PHP). (Marcus)</li> 14489<li><?php bugfix(33125); ?> (imagecopymergegray() produces mosaic rainbow effect). (Pierre)</li> 14490<li><?php bugfix(33116); ?> (crash when assigning class name to global variable in __autoload). (Dmitry)</li> 14491<li><?php bugfix(33090); ?> (mysqli_prepare() doesn't return an error). (Georg)</li> 14492<li><?php bugfix(33076); ?> (str_ireplace() incorrectly counts result string length and may cause segfault). (Tony)</li> 14493<li><?php bugfix(33072); ?> (Add a safemode/open_basedir check for runtime "session.save_path" change using session_save_path() function). (Rasmus)</li> 14494<li><?php bugfix(33070); ?> (Improved performance of bzdecompress() by several orders of magnitude). (Ilia)</li> 14495<li><?php bugfix(33059); ?> (crash when moving xml attribute set in dtd). (Ilia)</li> 14496<li><?php bugfix(33057); ?> (Don't send extraneous entity-headers on a 304 as per RFC 2616 section 10.3.5) (Rasmus, Choitel)</li> 14497<li><?php bugfix(33019); ?> (socket errors cause memory leaks in php_strerror()). (jwozniak23 at poczta dot onet dot pl, Tony).</li> 14498<li><?php bugfix(33017); ?> ("make distclean" gives an error with VPATH build). (Jani)</li> 14499<li><?php bugfix(33013); ?> ("next month" was handled wrong while parsing dates). (Derick)</li> 14500<li><?php bugfix(32993); ?> (implemented Iterator function current() don't throw exception). (Dmitry)</li> 14501<li><?php bugfix(32981); ?> (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault). (Dmitry)</li> 14502<li><?php bugfix(32956); ?> (mysql_bind_result() doesn't support MYSQL_TYPE_NULL). (Georg)</li> 14503<li><?php bugfix(32947); ?> (Incorrect option for mysqli default password). (Georg)</li> 14504<li><?php bugfix(32944); ?> (Disabling session.use_cookies doesn't prevent reading session cookies). (Jani, Tony)</li> 14505<li><?php bugfix(32941); ?> (Sending structured SOAP fault kills a php). (Dmitry)</li> 14506<li><?php bugfix(32937); ?> (open_basedir looses trailing / in the limiter). (Adam Conrad)</li> 14507<li><?php bugfix(32936); ?> (http redirects URLs are not checked for control chars). (Ilia)</li> 14508<li><?php bugfix(32933); ?> (Cannot extend class "SQLiteDatabase"). (Marcus)</li> 14509<li><?php bugfix(32932); ?> (Oracle LDAP: ldap_get_entries(), invalid pointer). (Jani)</li> 14510<li><?php bugfix(32930); ?> (class extending DOMDocument doesn't clone properly). (Rob)</li> 14511<li><?php bugfix(32924); ?> (file included with "auto_prepend_file" can be included with require_once() or include_once()). (Stas)</li> 14512<li><?php bugfix(32904); ?> (pg_get_notify() ignores result_type parameter). (Tony)</li> 14513<li><?php bugfix(32852); ?> (Crash with singleton and __destruct when zend.ze1_compatibility_mode = On). (Dmitry)</li> 14514<li><?php bugfix(32833); ?> (Invalid opcode). (Dmitry)</li> 14515<li><?php bugfix(32813); ?> (parse_url() does not handle scheme-only urls properly). (Ilia)</li> 14516<li><?php bugfix(32810); ?> (temporary files not using plain file wrapper). (Ilia)</li> 14517<li><?php bugfix(32809); ?> (Missing T1LIB support on Windows). (Edin)</li> 14518<li><?php bugfix(32802); ?> (General cookie overrides more specific cookie). (Ilia)</li> 14519<li>Fixed bugs <?php bugl(32800); ?>, <?php bugl(32830); ?> (ext/odbc: Problems with 64bit systems). (Jani)</li> 14520<li><?php bugfix(32799); ?> (crash: calling the corresponding global var during the destruct). (Dmitry)</li> 14521<li><?php bugfix(32776); ?> (SOAP doesn't support one-way operations). (Dmitry)</li> 14522<li><?php bugfix(32773); ?> (GMP functions break when second parameter is 0). (Stas)</li> 14523<li><?php bugfix(32759); ?> (incorrect determination of default value (COM)). (Wez)</li> 14524<li><?php bugfix(32758); ?> (Cannot access safearray properties in VB6 objects). (Wez)</li> 14525<li><?php bugfix(32755); ?> (Segfault in replaceChild() when DocumentFragment has no children). (Rob)</li> 14526<li><?php bugfix(32753); ?> (Undefined constant SQLITE_NOTADB). (Ilia)</li> 14527<li><?php bugfix(32742); ?> (segmentation fault when the stream with a wrapper is not closed). (Tony, Dmitry)</li> 14528<li><?php bugfix(32699); ?> (pg_affected_rows() was defined when it was not available). (Derick)</li> 14529<li><?php bugfix(32686); ?> (Require/include file in destructor causes segfault). (Marcus)</li> 14530<li><?php bugfix(32682); ?> (ext/mssql: Error on module shutdown when called from activescript). (Frank)</li> 14531<li><?php bugfix(32674); ?> (exception in iterator causes crash). (Dmitry)</li> 14532<li><?php bugfix(32660); ?> (Assignment by reference causes crash when field access is overloaded (__get)). (Dmitry)</li> 14533<li><?php bugfix(32647); ?> (Using register_shutdown_function() with invalid callback can crash PHP). (Jani)</li> 14534<li><?php bugfix(32615); ?> (Segfault in replaceChild() using fragment when previousSibling is NULL). (Rob)</li> 14535<li><?php bugfix(32613); ?> (ext/snmp: use of snmp_shutdown() causes snmpapp.conf access errors). (Jani, ric at arizona dot edu)</li> 14536<li><?php bugfix(32608); ?> (html_entity_decode() converts single quotes even if ENT_NOQUOTES is given). (Ilia)</li> 14537<li><?php bugfix(32596); ?> (Segfault/Memory Leak by getClass (etc) in __destruct). (Dmitry)</li> 14538<li><?php bugfix(32591); ?> (ext/mysql: Unsatisfied symbol: ntohs with HP-UX). (Jani)</li> 14539<li><?php bugfix(32589); ?> (possible crash inside imap_mail_compose() function). (Ilia)</li> 14540<li><?php bugfix(32589); ?> (Possible crash inside imap_mail_compose, with charsets). (Ilia)</li> 14541<li><?php bugfix(32587); ?> (Apache2: errors sent to error_log do not include timestamps). (Jani)</li> 14542<li><?php bugfix(32560); ?> (configure looks for incorrect db2 library). (Tony)</li> 14543<li><?php bugfix(32553); ?> (mmap loads only the 1st 2000000 bytes on Win32). (Ilia)</li> 14544<li><?php bugfix(32533); ?> (proc_get_status() returns the incorrect process status). (Ilia)</li> 14545<li><?php bugfix(32530); ?> (chunk_split() does not append endstr if chunklen is longer then the original string). (Ilia)</li> 14546<li><?php bugfix(32491); ?> (File upload error - unable to create a temporary file). (Uwe Schindler)</li> 14547<li><?php bugfix(32455); ?> (wrong setting property to unset value). (Dmitry)</li> 14548<li><?php bugfix(32429); ?> (method_exists() always return TRUE if __call method exists). (Dmitry)</li> 14549<li><?php bugfix(32428); ?> (The @ warning error suppression operator is broken). (Dmitry)</li> 14550<li><?php bugfix(32427); ?> (Interfaces are not allowed 'static' access modifier). (Dmitry)</li> 14551<li><?php bugfix(32405); ?> (mysqli::fetch() returns bad data - 64bit problem). (Andrey)</li> 14552<li><?php bugfix(32296); ?> (get_class_methods() output has changed between 5.0.2 and 5.0.3). (Dmitry)</li> 14553<li><?php bugfix(32282); ?> (Segfault in mysqli_fetch_array on 64-bit). (Georg)</li> 14554<li><?php bugfix(32245); ?> (xml_parser_free() in a function assigned to the xml parser gives a segfault). (Rob)</li> 14555<li><?php bugfix(32179); ?> (xmlrpc_encode() segfaults with recursive references). (Tony)</li> 14556<li><?php bugfix(32171); ?> (Userspace stream wrapper crashes PHP). (Tony, Dmitry)</li> 14557<li><?php bugfix(32160); ?> (copying a file into itself leads to data loss). (Ilia)</li> 14558<li><?php bugfix(32139); ?> (SOAP client does not auto-handle base64 encoding). (Ilia)</li> 14559<li><?php bugfix(32109); ?> ($_POST is not populated in multi-threaded environment). (Moriyoshi)</li> 14560<li><?php bugfix(32080); ?> (segfault when assigning object to itself with zend.ze1_compatibility_mode=On). (Dmitry)</li> 14561<li><?php bugfix(32021); ?> (Crash caused by range('', 'z')). (Derick)</li> 14562<li><?php bugfix(32013); ?> (ext/mysqli bind_result causes fatal error: memory limit). (Andrey)</li> 14563<li><?php bugfix(32010); ?> (Memory leak in mssql_fetch_batch). (fmk)</li> 14564<li><?php bugfix(32009); ?> (crash when mssql_bind() is called more than once). (Frank)</li> 14565<li><?php bugfix(31971); ?> (ftp_login fails on some SSL servers). (frantisek at augusztin dot com)</li> 14566<li><?php bugfix(31887); ?> (ISAPI: Custom 5xx error does not return correct HTTP response message). (Jani)</li> 14567<li><?php bugfix(31828); ?> (Crash with zend.ze1_compatibility_mode=On). (Dmitry)</li> 14568<li><?php bugfix(31668); ?> (multi_query works exactly every other time - multi query d/e flag global and not per connection). (Andrey)</li> 14569<li><?php bugfix(31636); ?> (another crash when echoing a COM object). (Wez)</li> 14570<li><?php bugfix(31583); ?> (php_std_date() uses short day names in non-y2k_compliance mode). (mike at php dot net)</li> 14571<li><?php bugfix(31525); ?> (object reference being dropped. $this getting lost). (Stas, Dmitry)</li> 14572<li><?php bugfix(31502); ?> (Wrong deserialization from session when using WDDX serializer). (Dmitry)</li> 14573<li><?php bugfix(31478); ?> (segfault with empty() / isset()). (Moriyoshi)</li> 14574<li><?php bugfix(31465); ?> (False warning in unpack() when working with *). (Ilia)</li> 14575<li><?php bugfix(31363); ?> (broken non-blocking flock()). (ian at snork dot net)</li> 14576<li><?php bugfix(31358); ?> (Older GCC versions do not provide portable va_copy()). (Jani)</li> 14577<li><?php bugfix(31341); ?> (escape on curly inconsistent). (Dmitry)</li> 14578<li><?php bugfix(31256); ?> (PHP_EVAL_LIBLINE configure macro does not handle -pthread). (Jani)</li> 14579<li><?php bugfix(31213); ?> (Side effects caused by fix of bug <?php bugl(29493); ?>). (Dmitry)</li> 14580<li><?php bugfix(31177); ?> (memory leaks and corruption because of incorrect refcounting). (Dmitry)</li> 14581<li><?php bugfix(31158); ?> (array_splice on $GLOBALS crashes). (Dmitry)</li> 14582<li><?php bugfix(31054); ?> (safe_mode & open_basedir checks only check first include_path value). (Ilia)</li> 14583<li><?php bugfix(31033); ?> (php:function(string, nodeset) with xsl:key crashes PHP). (Rob)</li> 14584<li><?php bugfix(30961); ?> (Wrong line number in ReflectionClass getStartLine()). (Dmitry)</li> 14585<li><?php bugfix(30889); ?> (Conflict between __get/__set and ++ operator). (Dmitry)</li> 14586<li><?php bugfix(30833); ?> (array_count_values() modifying input array). (Tony)</li> 14587<li><?php bugfix(30828); ?> (debug_backtrace() reports incorrect class in overridden methods). (Dmitry)</li> 14588<li><?php bugfix(30820); ?> (static member conflict with $this->member silently ignored). (Dmitry)</li> 14589<li><?php bugfix(30819); ?> (Better support for LDAP SASL bind). (Jani)</li> 14590<li><?php bugfix(30791); ?> (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded). (Dmitry)</li> 14591<li><?php bugfix(30707); ?> (Segmentation fault on exception in method). (Stas, Dmitry)</li> 14592<li><?php bugfix(30702); ?> (cannot initialize class variable from class constant). (Dmitry)</li> 14593<li><?php bugfix(30578); ?> (Output buffers flushed before calling __destruct() functions). (Jani)</li> 14594<li><?php bugfix(30519); ?> (Interface not existing says Class not found). (Dmitry)</li> 14595<li><?php bugfix(30407); ?> (Strange behavior of default arguments). (Dmitry)</li> 14596<li><?php bugfix(30394); ?> (Assignment operators yield wrong result with __get/__set). (Dmitry)</li> 14597<li><?php bugfix(30332); ?> (zend.ze1_compatibility_mode isn't fully compatible with array_push()). (Dmitry)</li> 14598<li><?php bugfix(30162); ?> (Catching exception in constructor causes lose of $this). (Dmitry)</li> 14599<li><?php bugfix(30140); ?> (Problem with array in static properties). (Dmitry)</li> 14600<li><?php bugfix(30126); ?> (Enhancement for error message for abstract classes). (Marcus)</li> 14601<li><?php bugfix(30096); ?> (gmmktime does not return the current time). (Derick)</li> 14602<li><?php bugfix(30080); ?> (Passing array or non array of objects). (Dmitry)</li> 14603<li><?php bugfix(30052); ?> (Crash on shutdown after odbc_pconnect()). (Edin)</li> 14604<li><?php bugfix(29983); ?> (PHP does not explicitly set mime type & charset). (Ilia)</li> 14605<li><?php bugfix(29975); ?> (memory leaks when set_error_handler() is used inside error handler). (Tony)</li> 14606<li><?php bugfix(29971); ?> (variables_order behavior). (Dmitry)</li> 14607<li><?php bugfix(29944); ?> (Function defined in switch, crashes). (Dmitry)</li> 14608<li><?php bugfix(29896); ?> (Backtrace argument list out of sync). (Dmitry)</li> 14609<li><?php bugfix(29728); ?> (Reflection API Feature: Default parameter value). (Marcus)</li> 14610<li><?php bugfix(29689); ?> (default value of protected member overrides default value of private and other private variable problems in inherited classes). (Stas)</li> 14611<li><?php bugfix(29683); ?> (headers_list() returns empty array). (Tony)</li> 14612<li><?php bugfix(29583); ?> (crash when echoing a COM object). (M.Sisolak, Wez)</li> 14613<li><?php bugfix(29522); ?> (accessing properties without connection). (Georg)</li> 14614<li><?php bugfix(29361); ?> (var_export() producing invalid code). (Derick)</li> 14615<li><?php bugfix(29338); ?> (unencoded spaces get ignored after certain tags). (Ilia)</li> 14616<li><?php bugfix(29335); ?> (fetch functions now use MYSQLI_BOTH as default). (Georg)</li> 14617<li><?php bugfix(29334); ?> (win32 mail() provides incorrect Date: header). (Jani)</li> 14618<li><?php bugfix(29311); ?> (calling parent constructor in mysqli). (Georg)</li> 14619<li><?php bugfix(29268); ?> (__autoload() not called with Reflection->getClass()). (Dmitry)</li> 14620<li><?php bugfix(29256); ?> (SOAP HTTP Error when envelop size is more than 24345 bytes). (Dmitry, Wez)</li> 14621<li><?php bugfix(29253); ?> (array_diff with $GLOBALS argument fails). (Dmitry)</li> 14622<li><?php bugfix(29236); ?> (memory error when wsdl-cache is enabled). (Dmitry)</li> 14623<li><?php bugfix(29210); ?> (Function: is_callable - no support for private and protected classes). (Dmitry)</li> 14624<li><?php bugfix(29109); ?> (SoapFault exception: [WSDL] Out of memory). (Dmitry)</li> 14625<li><?php bugfix(29104); ?> (Function declaration in method doesn't work). (Dmitry)</li> 14626<li><?php bugfix(29061); ?> (soap extension segfaults). (Dmitry)</li> 14627<li><?php bugfix(29015); ?> (Incorrect behavior of member vars(non string ones)-numeric mem vars and others). (Dmitry)</li> 14628<li><?php bugfix(28985); ?> (__getTypes() returning nothing on complex WSDL). (Dmitry)</li> 14629<li><?php bugfix(28969); ?> (Wrong data encoding of special characters). (Dmitry)</li> 14630<li><?php bugfix(28839); ?> (SIGSEGV in interactive mode (php -a)). (kameshj at fastmail dot fm)</li> 14631<li><?php bugfix(28605); ?> (Need to use -[m]ieee option for Alpha CPUs). (Jani)</li> 14632<li><?php bugfix(28568); ?> (SAPI::known_post_content_types is not thread safe). (Moriyoshi)</li> 14633<li><?php bugfix(28377); ?> (debug_backtrace is intermittently passing args). (Dmitry)</li> 14634<li><?php bugfix(28355); ?> (glob wont error if dir is not readable). (Hartmut)</li> 14635<li><?php bugfix(28072); ?> (static array with some constant keys will be incorrectly ordered). (Dmitry)</li> 14636<li><?php bugfix(27908); ?> (xml default_handlers not being called). (Rob)</li> 14637<li><?php bugfix(27598); ?> (list() array key assignment causes HUGE memory leak). (Dmitry)</li> 14638<li><?php bugfix(27268); ?> (Bad references accentuated by clone). (Dmitry)</li> 14639<li><?php bugfix(26456); ?> (Wrong results from Reflection-API getDocComment() when called via STDIN). (Dmitry)</li> 14640<li><?php bugfix(25922); ?> (In error handler, modifying 5th arg (errcontext) may result in seg fault). (Dmitry)</li> 14641<li><?php bugfix(25359); ?> (array_multisort() doesn't work in a function if array is global or reference). (Dmitry)</li> 14642<li><?php bugfix(22836); ?> (returning reference to uninitialized variable). (Dmitry)</li> 14643<li><?php bugfix(21306); ?> (ext/sesssion: catch bailouts of write handler during RSHUTDOWN). (Jani, Xuefer at 21cn dot com)</li> 14644<li><?php bugfix(15854); ?> (boolean ini options may be incorrectly displayed as Off when they are On). (Tony)</li> 14645<li>Fixed bugs <?php bugl(14561); ?>, <?php bugl(20382); ?>, <?php bugl(26090); ?>, <?php bugl(26320); ?>, <?php bugl(28024); ?>, <?php bugl(30532); ?>, <?php bugl(32086); ?>, <?php bugl(32270); ?>, <?php bugl(32555); ?>, <?php bugl(32588); ?>, <?php bugl(33056); ?> (strtotime() related bugs). (Derick)</li> 14646</ul> 14647 14648<!-- }}} --></section> 14649 14650<a id="PHP_5_0"></a> 14651<section class="version" id="5.0.5"><!-- {{{ 5.0.5 --> 14652<h3>Version 5.0.5</h3> 14653<?php release_date('05-Sep-2005'); ?> 14654<ul> 14655<li>Upgraded PCRE library to version 5.0. (Andrei)</li> 14656<li>Removed php_check_syntax() function which never worked properly. (Ilia)</li> 14657<li>Added new function mysqli_set_charset(). (Georg)</li> 14658<li>Added man pages for "phpize" and "php-config" scripts. (Jakub Vrana)</li> 14659<li>Added support for .cc files in extensions. (Brian)</li> 14660<li>Added PHP_INT_MAX and PHP_INT_SIZE as predefined constants. (Andrey)</li> 14661<li>Changed sha1_file() and md5_file() functions to use streams instead of 14662 low level IO. (Uwe)</li> 14663<li>Changed ming to support official 0.2a and 0.3 library versions. (Marcus)</li> 14664<li>Fixed failing queries problem (FALSE returned) with mysqli_query() on 64 bit. 14665 (Andrey)</li> 14666<li>Fixed memory corruption in pg_copy_from() in case the as_null parameter was 14667 passed. (Derick)</li> 14668<li>Fixed ext/mysqli to allocate less memory when fetching bound params 14669 of type (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey)</li> 14670<li>Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey)</li> 14671<li>Fixed memory corruption in stristr(). (Derick)</li> 14672<li>Fixed segfaults when CURL callback functions throw exception. (Tony)</li> 14673<li>Fixed various reentrancy bugs in user-sort functions, solves bugs <?php bugl(33286); ?> and 14674 <?php bugl(33295); ?>. (Mike Bretz)</li> 14675<li><?php bugfix(34307); ?> (on_modify handler not called to set the default value if 14676 setting from php.ini was invalid). (Andrei)</li> 14677<li><?php bugfix(34302); ?> (date('W') do not return leading zeros for week 1 to 9). 14678 (Derick)</li> 14679<li><?php bugfix(34299); ?> (ReflectionClass::isInstantiable() returns true for abstract 14680 classes). (Marcus)</li> 14681<li><?php bugfix(34277); ?> (array_filter() crashes with references and objects). 14682 (Dmitry)</li> 14683<li><?php bugfix(34260); ?> (Segfault with callbacks (array_map) + overloading). 14684 (Dmitry)</li> 14685<li><?php bugfix(34137); ?> (assigning array element by reference causes binary mess). 14686 (Dmitry)</li> 14687<li><?php bugfix(34078); ?> (Reflection API problems in methods with boolean or 14688 null default values). (Tony)</li> 14689<li><?php bugfix(34064); ?> (arr[] as param to function is allowed only if function 14690 receives argument by reference). (Dmitry)</li> 14691<li><?php bugfix(34062); ?> (Crash in catch block when many arguments are used). 14692 (Dmitry)</li> 14693<li><?php bugfix(33989); ?> (extract($GLOBALS,EXTR_REFS) crashes PHP). (Dmitry)</li> 14694<li><?php bugfix(33940); ?> (array_map() fails to pass by reference when called 14695 recursively). (Dmitry)</li> 14696<li><?php bugfix(33853); ?> (php:function call __autoload with lowercase param). (Marcus)</li> 14697<li><?php bugfix(33802); ?> (throw Exception in error handler causes crash). (Dmitry)</li> 14698<li><?php bugfix(33723); ?> (php_value overrides php_admin_value). (Dmitry)</li> 14699<li><?php bugfix(33710); ?> (ArrayAccess objects doen't initialize $this). (Dmitry)</li> 14700<li><?php bugfix(33588); ?> (LDAP: RootDSE query not possible). (Jani)</li> 14701<li><?php bugfix(33558); ?> (warning with nested calls to functions returning by 14702 reference). (Dmitry)</li> 14703<li><?php bugfix(33520); ?> (crash if safe_mode is on and session.save_path is changed). 14704 (Dmitry)</li> 14705<li><?php bugfix(33491); ?> (crash after extending MySQLi internal class). (Tony)</li> 14706<li><?php bugfix(33340); ?> (CLI Crash when calling php:function from XSLT). (Rob)</li> 14707<li><?php bugfix(33277); ?> (private method accessed by child class). (Dmitry)</li> 14708<li><?php bugfix(33268); ?> (iconv_strlen() works only with a parameter of < 3 in 14709 length). (Ilia)</li> 14710<li><?php bugfix(33263); ?> (mysqli_real_escape doesn't work in __construct) (Georg)</li> 14711<li><?php bugfix(33257); ?> (array_splice() inconsistent when passed function instead 14712 of variable). (Dmitry)</li> 14713<li><?php bugfix(33243); ?> (ze1_compatibility_mode does not work as expected). (Dmitry)</li> 14714<li><?php bugfix(33242); ?> (Mangled error message when stream fails). (Derick)</li> 14715<li><?php bugfix(33222); ?> (segfault when CURL handle is closed in a callback). (Tony)</li> 14716<li><?php bugfix(33214); ?> (odbc_next_result does not signal SQL errors with 14717 2-statement SQL batches). (rich at kastle dot com, Tony)</li> 14718<li><?php bugfix(33210); ?> (relax jpeg recursive loop protection). (Ilia)</li> 14719<li><?php bugfix(33200); ?> (preg_replace(): magic_quotes_sybase=On makes 'e' modifier 14720 misbehave). (Jani)</li> 14721<li><?php bugfix(33185); ?> (--enable-session=shared does not build). (Jani)</li> 14722<li><?php bugfix(33171); ?> (foreach enumerates private fields declared in base 14723 classes). (Dmitry)</li> 14724<li><?php bugfix(33164); ?> (Soap extension incorrectly detects HTTP/1.1). (Ilia)</li> 14725<li><?php bugfix(33156); ?> (cygwin version of setitimer doesn't accept ITIMER_PROF). 14726 (Nuno)</li> 14727<li><?php bugfix(33116); ?> (crash when assigning class name to global variable in 14728 __autoload). (Dmitry)</li> 14729<li><?php bugfix(33090); ?> (mysqli_prepare() doesn't return an error). (Georg)</li> 14730<li><?php bugfix(33076); ?> (str_ireplace() incorrectly counts result string length 14731 and may cause segfault). (Tony)</li> 14732<li><?php bugfix(33072); ?> (Add a safemode/open_basedir check for runtime 14733 "session.save_path" change using session_save_path() function). (Rasmus)</li> 14734<li><?php bugfix(33070); ?> (Improved performance of bzdecompress() by several orders 14735 of magnitude). (Ilia)</li> 14736<li><?php bugfix(33059); ?> (crash when moving xml attribute set in dtd). (Ilia)</li> 14737<li><?php bugfix(33057); ?> (Don't send extraneous entity-headers on a 304 as per 14738 RFC 2616 section 10.3.5) (Rasmus, Choitel)</li> 14739<li><?php bugfix(33019); ?> (socket errors cause memory leaks in php_strerror()). 14740 (jwozniak23 at poczta dot onet dot pl, Tony).</li> 14741<li><?php bugfix(33017); ?> ("make distclean" gives an error with VPATH build). (Jani)</li> 14742<li><?php bugfix(33013); ?> ("next month" was handled wrong while parsing dates). 14743 (Derick)</li> 14744<li><?php bugfix(32981); ?> (ReflectionMethod::getStaticVariables() causes apache2.0.54 14745 seg fault). (Dmitry)</li> 14746<li><?php bugfix(32956); ?> (mysql_bind_result() doesn't support MYSQL_TYPE_NULL). (Georg)</li> 14747<li><?php bugfix(32947); ?> (Incorrect option for mysqli default password). (Georg)</li> 14748<li><?php bugfix(32944); ?> (Disabling session.use_cookies doesn't prevent reading 14749 session cookies). (Jani, Tony)</li> 14750<li><?php bugfix(32941); ?> (Sending structured SOAP fault kills a php). (Dmitry)</li> 14751<li><?php bugfix(32936); ?> (http redirects URLs are not checked for control chars). (Ilia)</li> 14752<li><?php bugfix(32933); ?> (Cannot extend class "SQLiteDatabase"). (Marcus)</li> 14753<li><?php bugfix(32932); ?> (Oracle LDAP: ldap_get_entries(), invalid pointer). (Jani)</li> 14754<li><?php bugfix(32930); ?> (class extending DOMDocument doesn't clone properly). (Rob)</li> 14755<li><?php bugfix(32904); ?> (pg_get_notify() ignores result_type parameter). (Tony)</li> 14756<li><?php bugfix(32852); ?> (Crash with singleton and __destruct when 14757 zend.ze1_compatibility_mode = On). (Dmitry)</li> 14758<li><?php bugfix(32813); ?> (parse_url() does not handle scheme-only urls properly). (Ilia)</li> 14759<li><?php bugfix(32810); ?> (temporary files not using plain file wrapper). (Ilia)</li> 14760<li><?php bugfix(32809); ?> (Missing T1LIB support on Windows). (Edin)</li> 14761<li><?php bugfix(32802); ?> (General cookie overrides more specific cookie). (Ilia)</li> 14762<li>Fixed bugs <?php bugl(32800); ?>, <?php bugl(32830); ?> (ext/odbc: Problems with 64bit systems). (Jani)</li> 14763<li><?php bugfix(32799); ?> (crash: calling the corresponding global var during the 14764 destruct). (Dmitry)</li> 14765<li><?php bugfix(32776); ?> (SOAP doesn't support one-way operations). (Dmitry)</li> 14766<li><?php bugfix(32773); ?> (GMP functions break when second parameter is 0). (Stas)</li> 14767<li><?php bugfix(32759); ?> (incorrect determination of default value (COM)). (Wez)</li> 14768<li><?php bugfix(32758); ?> (Cannot access safearray properties in VB6 objects). (Wez)</li> 14769<li><?php bugfix(32755); ?> (Segfault in replaceChild() when DocumentFragment has 14770 no children). (Rob)</li> 14771<li><?php bugfix(32753); ?> (Undefined constant SQLITE_NOTADB). (Ilia)</li> 14772<li><?php bugfix(32742); ?> (segmentation fault when the stream with a wrapper 14773 is not closed). (Tony, Dmitry)</li> 14774<li><?php bugfix(32699); ?> (pg_affected_rows() was defined when it was not available). 14775 (Derick)</li> 14776<li><?php bugfix(32686); ?> (Require/include file in destructor causes segfault). 14777 (Marcus)</li> 14778<li><?php bugfix(32682); ?> (ext/mssql: Error on module shutdown when called from 14779 activescript). (Frank)</li> 14780<li><?php bugfix(32674); ?> (exception in iterator causes crash). (Dmitry)</li> 14781<li><?php bugfix(32660); ?> (Assignment by reference causes crash when field access is 14782 overloaded (__get)). (Dmitry)</li> 14783<li><?php bugfix(32647); ?> (Using register_shutdown_function() with invalid callback 14784 can crash PHP). (Jani)</li> 14785<li><?php bugfix(32615); ?> (Segfault in replaceChild() using fragment when 14786 previousSibling is NULL). (Rob)</li> 14787<li><?php bugfix(32613); ?> (ext/snmp: use of snmp_shutdown() causes snmpapp.conf 14788 access errors). (Jani, ric at arizona dot edu)</li> 14789<li><?php bugfix(32608); ?> (html_entity_decode() converts single quotes even if 14790 ENT_NOQUOTES is given). (Ilia)</li> 14791<li><?php bugfix(32596); ?> (Segfault/Memory Leak by getClass (etc) in __destruct). 14792 (Dmitry)</li> 14793<li><?php bugfix(32591); ?> (ext/mysql: Unsatisfied symbol: ntohs with HP-UX). (Jani)</li> 14794<li><?php bugfix(32589); ?> (Possible crash inside imap_mail_compose, with charsets). 14795 (Ilia)</li> 14796<li><?php bugfix(32587); ?> (Apache2: errors sent to error_log do not include 14797 timestamps). (Jani)</li> 14798<li><?php bugfix(32560); ?> (configure looks for incorrect db2 library). (Tony)</li> 14799<li><?php bugfix(32553); ?> (mmap loads only the 1st 2000000 bytes on Win32). (Ilia)</li> 14800<li><?php bugfix(32533); ?> (proc_get_status() returns the incorrect process status). (Ilia)</li> 14801<li><?php bugfix(32530); ?> (chunk_split() does not append endstr if chunklen is 14802 longer then the original string). (Ilia)</li> 14803<li><?php bugfix(32491); ?> (File upload error - unable to create a temporary file). 14804 (Uwe Schindler)</li> 14805<li><?php bugfix(32405); ?> (mysqli::fetch() returns bad data - 64bit problem). (Andrey)</li> 14806<li><?php bugfix(32282); ?> (Segfault in mysqli_fetch_array on 64-bit). (Georg)</li> 14807<li><?php bugfix(32296); ?> (get_class_methods() output has changed between 5.0.2 and 14808 5.0.3). (Dmitry)</li> 14809<li><?php bugfix(32245); ?> (xml_parser_free() in a function assigned to the xml parser 14810 gives a segfault). (Rob)</li> 14811<li><?php bugfix(32171); ?> (Userspace stream wrapper crashes PHP). (Tony, Dmitry)</li> 14812<li><?php bugfix(32080); ?> (segfault when assigning object to itself with 14813 zend.ze1_compatibility_mode=On). (Dmitry)</li> 14814<li><?php bugfix(32013); ?> (ext/mysqli bind_result causes fatal error: memory 14815 limit). (Andrey)</li> 14816<li><?php bugfix(31887); ?> (ISAPI: Custom 5xx error does not return correct HTTP 14817 response message). (Jani)</li> 14818<li><?php bugfix(31828); ?> (Crash with zend.ze1_compatibility_mode=On). (Dmitry)</li> 14819<li><?php bugfix(31668); ?> (multi_query works exactly every other time - multi query 14820 d/e flag global and not per connection). (Andrey)</li> 14821<li><?php bugfix(31636); ?> (another crash when echoing a COM object). (Wez)</li> 14822<li><?php bugfix(31583); ?> (php_std_date() uses short day names in non-y2k_compliance 14823 mode). (mike at php dot net)</li> 14824<li><?php bugfix(31525); ?> (object reference being dropped. $this getting lost). 14825 (Stas, Dmitry)</li> 14826<li><?php bugfix(31502); ?> (Wrong deserialization from session when using WDDX 14827 serializer). (Dmitry)</li> 14828<li><?php bugfix(31465); ?> (False warning in unpack() when working with *). (Ilia)</li> 14829<li><?php bugfix(31363); ?> (broken non-blocking flock()). ian at snork dot net</li> 14830<li><?php bugfix(31213); ?> (Sideeffects caused by fix of bug <?php bugl(29493); ?>. (Dmitry)</li> 14831<li><?php bugfix(31158); ?> (array_splice on $GLOBALS crashes). (Dmitry)</li> 14832<li><?php bugfix(30961); ?> (Wrong linenumber in ReflectionClass getStartLine()). 14833 (Dmitry)</li> 14834<li><?php bugfix(30889); ?> (Conflict between __get/__set and ++ operator). (Dmitry)</li> 14835<li><?php bugfix(30833); ?> (array_count_values() modifying input array). (Tony)</li> 14836<li><?php bugfix(30828); ?> (debug_backtrace() reports incorrect class in overridden 14837 methods). (Dmitry)</li> 14838<li><?php bugfix(30820); ?> (static member conflict with $this->member silently 14839 ignored). (Dmitry)</li> 14840<li><?php bugfix(30819); ?> (Better support for LDAP SASL bind). (Jani)</li> 14841<li><?php bugfix(30791); ?> (magic methods (__sleep/__wakeup/__toString) call __call if 14842 object is overloaded). (Dmitry)</li> 14843<li><?php bugfix(30707); ?> (Segmentation fault on exception in method). (Stas, Dmitry)</li> 14844<li><?php bugfix(30702); ?> (cannot initialize class variable from class constant). 14845 (Dmitry)</li> 14846<li><?php bugfix(30519); ?> (Interface not existing says Class not found). (Dmitry)</li> 14847<li><?php bugfix(30394); ?> (Assignment operators yield wrong result with __get/__set). 14848 (Dmitry)</li> 14849<li><?php bugfix(30332); ?> (zend.ze1_compatibility_mode isnt fully compatable with 14850 array_push()). (Dmitry)</li> 14851<li><?php bugfix(30162); ?> (Catching exception in constructor causes lose of $this). 14852 (Dmitry)</li> 14853<li><?php bugfix(30140); ?> (Problem with array in static properties). (Dmitry)</li> 14854<li><?php bugfix(30126); ?> (Enhancement for error message for abstract classes). 14855 (Marcus)</li> 14856<li><?php bugfix(30080); ?> (Passing array or non array of objects). (Dmitry)</li> 14857<li><?php bugfix(29975); ?> (memory leaks when set_error_handler() is used inside error 14858 handler). (Tony)</li> 14859<li><?php bugfix(29971); ?> (variables_order behaviour). (Dmitry)</li> 14860<li><?php bugfix(29944); ?> (Function defined in switch, crashes). (Dmitry)</li> 14861<li><?php bugfix(29896); ?> (Backtrace argument list out of sync). (Dmitry)</li> 14862<li><?php bugfix(29683); ?> (headers_list() returns empty array). (Tony)</li> 14863<li><?php bugfix(29583); ?> (crash when echoing a COM object). (M.Sisolak, Wez)</li> 14864<li><?php bugfix(29338); ?> (unencoded spaces get ignored after certain tags). (Ilia)</li> 14865<li><?php bugfix(29210); ?> (Function: is_callable - no support for private and 14866 protected classes). (Dmitry)</li> 14867<li><?php bugfix(29104); ?> (Function declaration in method doesn't work). (Dmitry)</li> 14868<li><?php bugfix(29015); ?> (Incorrect behavior of member vars(non string ones)-numeric 14869 mem vars und others). (Dmitry)</li> 14870<li><?php bugfix(28839); ?> (SIGSEGV in interactive mode (php -a)). 14871 (kameshj at fastmail dot fm)</li> 14872<li><?php bugfix(28605); ?> (Need to use -[m]ieee option for Alpha CPUs). (Jani)</li> 14873<li><?php bugfix(28377); ?> (debug_backtrace is intermittently passing args). (Dmitry)</li> 14874<li><?php bugfix(27598); ?> (list() array key assignment causes HUGE memory leak). 14875 (Dmitry)</li> 14876<li><?php bugfix(26456); ?> (Wrong results from Reflection-API getDocComment() when 14877 called via STDIN). (Dmitry)</li> 14878<li><?php bugfix(25922); ?> (In error handler, modifying 5th arg (errcontext) may result 14879 in seg fault). (Dmitry)</li> 14880<li><?php bugfix(22836); ?> (returning reference to uninitialized variable). (Dmitry)</li> 14881<li><?php bugfix(29689); ?> (default value of protected member overrides default value of private) 14882 and other private variable problems in inherited classes (Stas)</li> 14883<li><?php bugfix(29253); ?> (array_diff with $GLOBALS argument fails). (Dmitry)</li> 14884<li>Abstract private methods are no longer allowed (Stas)</li> 14885</ul> 14886 14887<!-- }}} --></section> 14888 14889<section class="version" id="5.0.4"><!-- {{{ 5.0.4 --> 14890<h3>Version 5.0.4</h3> 14891<?php release_date('31-Mar-2005'); ?> 14892<ul> 14893<li>Added SNMPv2 support. (harrie)</li> 14894<li>Added Oracle Instant Client support. (cjbj at hotmail dot com, Tony)</li> 14895<li>Added length and charsetnr for field array and object in mysqli. (Georg)</li> 14896<li>Added checks for negative values to gmp_sqrt(), gmp_powm(), gmp_sqrtrem() 14897 and gmp_fact() to prevent SIGFPE. (Tony)</li> 14898<li>Changed foreach() to throw an exception if IteratorAggregate::getIterator() 14899 does not return an Iterator. (Marcus)</li> 14900<li>Changed phpize not to require libtool. (Jani)</li> 14901<li>Updated bundled oniguruma library (used for multibyte regular expression) 14902 to 3.7.0. (Moriyoshi)</li> 14903<li>Updated bundled libmbfl library (used for multibyte functions). (Moriyoshi)<br>Fixed bugs: 14904 <ul> 14905 <li>Bug <?php bugl(32063); ?> (mb_convert_encoding ignores named entity 'alpha')</li> 14906 <li>Bug <?php bugl(31911); ?> (mb_decode_mimeheader() is case-sensitive to hex escapes)</li> 14907 <li>Bug <?php bugl(30573); ?> (compiler warnings in libmbfl due to invalid type cast)</li> 14908 <li>Bug <?php bugl(30549); ?> (incorrect character translations for some ISO8859 charsets)</li> 14909 </ul></li> 14910<li>Fixed bug preventing from building oci8 as shared. 14911 (stanislav dot voroniy at portavita dot nl, Tony)</li> 14912<li>Fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows when the 14913 api function returns -1 (Georg)</li> 14914<li>Fixed several leaks in ext/browscap and sapi/embed. (Andrei)</li> 14915<li>Fixed several leaks in ext/filepro. (Tony)</li> 14916<li>Fixed build system to always use bundled libtool files. (Jani)</li> 14917<li>Fixed a bug in mysqli_stmt_execute() (type conversion with NULL values). 14918 (Georg)</li> 14919<li>Fixed segfault in mysqli_fetch_field_direct() when invalid field offset 14920 is passed. (Tony)</li> 14921<li>Fixed posix_getsid() & posix_getpgid() to return sid & pgid instead 14922 of true. (Tony)</li> 14923<li><?php bugfix(32394); ?> (offsetUnset() segfaults in a foreach). (Marcus)</li> 14924<li><?php bugfix(32373); ?> (segfault in bzopen() if supplied path to non-existent 14925 file). (Tony)</li> 14926<li><?php bugfix(32326); ?> (Check values of Connection/Transfer-Encoding 14927 case-incentively in SOAP extension). (Ilia)</li> 14928<li><?php bugfix(32290); ?> (call_user_func_array() calls wrong class method within 14929 child class). (Marcus)</li> 14930<li><?php bugfix(32238); ?> (spl_array.c: void function cannot return value). (Johannes)</li> 14931<li><?php bugfix(32210); ?> (proc_get_status() sets "running" always to true). (Ilia)</li> 14932<li><?php bugfix(32200); ?> (Prevent using both --with-apxs2 and --with-apxs2filter). 14933 (Jani)</li> 14934<li><?php bugfix(32134); ?> (Overloading offsetGet/offsetSet). (Marcus)</li> 14935<li><?php bugfix(32130); ?> (ArrayIterator::seek() does not throw an Exception on 14936 invalid index). (Marcus)</li> 14937<li><?php bugfix(32115); ?> (dateTime SOAP encoding of timezone incorrect). (Dmitry)</li> 14938<li><?php bugfix(32081); ?> (in mysqli default socket value is not being used). (Ilia)</li> 14939<li><?php bugfix(32021); ?> (Crash caused by range('', 'z')). (Derick)</li> 14940<li><?php bugfix(32011); ?> (Fragments which replaced Nodes are not globaly useable). 14941 (Rob)</li> 14942<li><?php bugfix(32001); ?> (xml_parse_into_struct() function exceeds maximum 14943 execution time). (Rob, Moriyoshi)</li> 14944<li><?php bugfix(31980); ?> (Unicode exif data not available on Windows). (Edin)</li> 14945<li><?php bugfix(31792); ?> (getrusage() does not provide ru_nswap value). (Ilia)</li> 14946<li><?php bugfix(31960); ?> (msql_fetch_row() and msql_fetch_array() dropping columns 14947 with NULL values). (Daniel Convissor)</li> 14948<li><?php bugfix(31878); ?> (Segmentation fault using clone keyword on nodes). (Rob)</li> 14949<li><?php bugfix(31858); ?> (--disable-cli does not force --without-pear). (Jani)</li> 14950<li><?php bugfix(31842); ?> (*date('r') does not return RFC2822 conforming date string). 14951 (Jani)</li> 14952<li><?php bugfix(31832); ?> (SOAP encoding problem with complex types in WSDL mode with 14953 multiple parts). (Dmitry)</li> 14954<li><?php bugfix(31797); ?> (exif_read_data() uses too low nesting limit). (Ilia)</li> 14955<li><?php bugfix(31796); ?> (readline completion handler does not handle empty return 14956 values). (Ilia)</li> 14957<li><?php bugfix(31755); ?> (Cannot create SOAP header in no namespace). (Dmitry)</li> 14958<li><?php bugfix(31754); ?> (dbase_open() fails for mode = 1). (Mehdi, Derick)</li> 14959<li><?php bugfix(31751); ?> (pg_parameter_status() missing on Windows). (Edin)</li> 14960<li><?php bugfix(31747); ?> (SOAP Digest Authentication doesn't work with 14961 "HTTP/1.1 100 Continue" response). (Dmitry)</li> 14962<li><?php bugfix(31732); ?> (mb_get_info() causes segfault when no parameters 14963 specified). (Tony)</li> 14964<li><?php bugfix(31710); ?> (Wrong return values for mysqli_autocommit/commit/rollback). 14965 (Georg)</li> 14966<li><?php bugfix(31705); ?> (parse_url() does not recognize http://foo.com#bar). (Ilia)</li> 14967<li><?php bugfix(31695); ?> (Cannot redefine endpoint when using WSDL). (Dmitry)</li> 14968<li><?php bugfix(31684); ?> (dio_tcsetattr(): misconfigured termios settings). 14969 (elod at itfais dot com)</li> 14970<li><?php bugfix(31683); ?> (changes to $name in __get($name) override future 14971 parameters). (Dmitry)</li> 14972<li><?php bugfix(31699); ?> (unserialize() float problem on non-English locales). (Ilia)</li> 14973<li><?php bugfix(31562); ?> (__autoload() problem with static variables). (Marcus)</li> 14974<li><?php bugfix(31651); ?> (ReflectionClass::getDefaultProperties segfaults with arrays). 14975 (Marcus)</li> 14976<li><?php bugfix(31623); ?> (OCILogin does not support password grace period). 14977 (daniel dot beet at accuratesoftware dot com, Tony)</li> 14978<li><?php bugfix(31527); ?> (crash in msg_send() when non-string is stored without 14979 being serialized). (Ilia)</li> 14980<li><?php bugfix(31515); ?> (Improve performance of scandir() by factor of 10 or so). (Ilia)</li> 14981<li><?php bugfix(31514); ?> (open_basedir uses path_translated rather then cwd for . 14982 translation). (Ilia)</li> 14983<li><?php bugfix(31480); ?> (Possible infinite loop in imap_mail_compose()). (Ilia)</li> 14984<li><?php bugfix(31479); ?> (Fixed crash in chunk_split(), when chunklen > strlen). (Ilia)</li> 14985<li><?php bugfix(31465); ?> (False warning in unpack() when working with *). (Ilia)</li> 14986<li><?php bugfix(31454); ?> (session_set_save_handler crashes PHP when supplied 14987 non-existent object ref). (Tony)</li> 14988<li><?php bugfix(31444); ?> (Memory leak in zend_language_scanner.c). 14989 (hexer at studentcenter dot org)</li> 14990<li><?php bugfix(31442); ?> (unserialize broken on 64-bit systems). (Marcus)</li> 14991<li><?php bugfix(31440); ?> ($GLOBALS can be overwritten via GPC when register_globals 14992 is enabled). (Ilia)</li> 14993<li><?php bugfix(31422); ?> (No Error-Logging on SoapServer-Side). (Dmitry)</li> 14994<li><?php bugfix(31413); ?> (curl POSTFIELDS crashes on 64-bit platforms). (Joe)</li> 14995<li><?php bugfix(31396); ?> (compile fails with gd 2.0.33 without freetype). (Jani)</li> 14996<li><?php bugfix(31371); ?> (highlight_file() trims new line after heredoc). (Ilia)</li> 14997<li><?php bugfix(31361); ?> (simplexml/domxml segfault when adding node twice). (Rob)</li> 14998<li><?php bugfix(31348); ?> (CachingIterator::rewind() leaks). (Marcus)</li> 14999<li><?php bugfix(31346); ?> (ArrayIterator::next segfaults). (Marcus)</li> 15000<li><?php bugfix(31190); ?> (Unexpected warning then exception is thrown from 15001 call_user_func_array()). (phpbugs at domain51 dot net, Dmitry)</li> 15002<li><?php bugfix(31142); ?> (imap_mail_compose() fails to generate correct output). (Ilia)</li> 15003<li><?php bugfix(31139); ?> (XML Parser Functions seem to drop & when parsing). (Rob)</li> 15004<li><?php bugfix(31398); ?> (When magic_guotes_gpc are enabled filenames with ' get cutoff). 15005 (Ilia)</li> 15006<li><?php bugfix(31288); ?> (Possible crash in mysql_fetch_field(), if mysql_list_fields() 15007 was not called previously). (Ilia)</li> 15008<li><?php bugfix(31107); ?>, <?php bugfix(31110); ?>, <?php bugfix(31111); ?>, <?php bugfix(31249); ?> (Compile failure of zend_strtod.c). 15009 (Jani)</li> 15010<li><?php bugfix(31110); ?> (PHP 4.3.10 does not compile on Tru64 UNIX 5.1B). (Derick)</li> 15011<li><?php bugfix(31107); ?> (Compile failure on Solaris 9 (Intel) and gcc 3.4.3). (Derick)</li> 15012<li><?php bugfix(31103); ?> (Better error message when c-client cannot be found). (Ilia)</li> 15013<li><?php bugfix(31101); ?> (missing kerberos header file path with --with-openssl). (Jani)</li> 15014<li><?php bugfix(31098); ?> (isset() / empty() incorrectly return true in dereference of 15015 a string type). (Moriyoshi)</li> 15016<li><?php bugfix(31087); ?> (broken php_url_encode_hash macro). (Ilia)</li> 15017<li><?php bugfix(31072); ?> (var_export() does not output an array element with an empty 15018 string key). (Derick)</li> 15019<li><?php bugfix(31060); ?> (imageftbbox() does not use linespacing parameter). (Jani)</li> 15020<li><?php bugfix(31056); ?> (php_std_date() returns invalid formatted date if 15021 y2k_compliance is On). (Ilia)</li> 15022<li><?php bugfix(31055); ?> (apache2filter: per request leak proportional to the full 15023 path of the request URI). (kameshj at fastmail dot fm)</li> 15024<li><?php bugfix(30901); ?> (can't send cookies with soap envelop). (Dmitry)</li> 15025<li><?php bugfix(30871); ?> (Misleading warning message for array_combine()). (Andrey)</li> 15026<li><?php bugfix(30868); ?> (evaluated pointer comparison in mbregex causes compile 15027 failure). (Moriyoshi)</li> 15028<li><?php bugfix(30862); ?> (Static array with boolean indexes). (Marcus)</li> 15029<li><?php bugfix(30726); ?> (-.1 like numbers are not being handled correctly). (Ilia)</li> 15030<li><?php bugfix(30725); ?> (PHP segfaults when an exception is thrown in getIterator() 15031 within foreach). (Marcus)</li> 15032<li><?php bugfix(30609); ?> (cURL functions bypass open_basedir). (Jani)</li> 15033<li><?php bugfix(30446); ?> (apache2handler: virtual() includes files out of sequence)</li> 15034<li><?php bugfix(30430); ?> (odbc_next_result() doesn't bind values and that results 15035 in segfault). (pdan-php at esync dot org, Tony)</li> 15036<li><?php bugfix(30266); ?> (Invalid opcode 137/1/8). (Marcus)</li> 15037<li><?php bugfix(30120); ?> (imagettftext() and imagettfbbox() accept too many 15038 parameters). (Jani)</li> 15039<li><?php bugfix(30106); ?> (SOAP cannot not parse 'ref' element. Causes Uncaught 15040 SoapFault exception). (Dmitry)</li> 15041<li><?php bugfix(29989); ?> (type re_registers redefined in oniguruma.h). (Moriyoshi)</li> 15042<li><?php bugfix(28803); ?> (enabled debug causes bailout errors with CLI on AIX 15043 because of fflush() called on already closed filedescriptor). (Tony)</li> 15044<li><?php bugfix(29767); ?> (Weird behaviour of __set($name, $value)). (Dmitry)</li> 15045<li><?php bugfix(29733); ?> (printf() handles repeated placeholders wrong). 15046 (bugs dot php dot net at bluetwanger dot de, Ilia)</li> 15047<li><?php bugfix(29424); ?> (width and height inverted for JPEG2000 files). (Ilia)</li> 15048<li><?php bugfix(29329); ?> (configure for mysqli with shared doesn't work). (Georg)</li> 15049<li><?php bugfix(29136); ?> (make test libtool failure on MacOSX). (Jani)</li> 15050<li><?php bugfix(28976); ?> (mail(): use "From:" from headers if sendmail_from is empty). 15051 (Jani)</li> 15052<li><?php bugfix(28930); ?> (PHP sources pick wrong header files generated by bison). 15053 (eggert at gnu dot org, Jani)</li> 15054<li><?php bugfix(28840); ?> (__destruct of a class that extends mysqli not called). 15055 (Marcus)</li> 15056<li><?php bugfix(28804); ?> (ini-file section parsing pattern is buggy). 15057 (wendland at scan-plus dot de)</li> 15058<li><?php bugfix(28451); ?> (corrupt EXIF headers have unlimited recursive IFD directory 15059 entries). (Andrei)</li> 15060<li><?php bugfix(28444); ?> (Cannot access undefined property for object with overloaded 15061 property access). (Dmitry)</li> 15062<li><?php bugfix(28442); ?> (Changing a static variables in a class changes it across 15063 sub/super classes.) (Marcus)</li> 15064<li><?php bugfix(28324); ?> (HTTP_SESSION_VARS appear when register_long_arrays is 15065 Off). (Tony)</li> 15066<li><?php bugfix(28074); ?> (FastCGI: stderr should be written in a FCGI stderr stream). 15067 (chris at ex-parrot dot com)</li> 15068<li><?php bugfix(28067); ?> (partially incorrect utf8 to htmlentities mapping). (Derick, 15069 Benjamin Greiner)</li> 15070<li><?php bugfix(28041); ?> (SOAP HTTP Digest Access Authentication). (Dmitry)</li> 15071<li><?php bugfix(27633); ?> (Double \r problem on ftp_get in ASCII mode on Win32). (Ilia)</li> 15072<li><?php bugfix(18613); ?> (Multiple OUs in x509 certificate not handled properly). 15073 (Jani)</li> 15074</ul> 15075 15076<!-- }}} --></section> 15077 15078<section class="version" id="5.0.3"><!-- {{{ 5.0.3 --> 15079<h3>Version 5.0.3</h3> 15080<?php release_date('15-Dec-2004'); ?> 15081<ul> 15082<li>Added the %F modifier to *printf to render a non-locale-aware representation of a float with the . as decimal seperator. (Derick)</li> 15083<li>Fixed error handling in mysqli_multi_query. (Georg)</li> 15084<li>Extended the functionality of is_subclass_of() to accept either a class name or an object as first parameter. (Andrey)</li> 15085<li>Fixed potential problems with unserializing invalid serialize data. (Marcus)</li> 15086<li><?php bugfix(31034); ?> (Problem with non-existing iconv header file). (Derick) </li> 15087<li><?php bugfix(30995); ?> (snmp extension does not build with net-snmp 5.2). (Ilia) </li> 15088<li><?php bugfix(30994); ?> (SOAP server unable to handle request with references). (Dmitry) </li> 15089<li><?php bugfix(30990); ?> (allow popen() on *NIX to accept 'b' flag). (Ilia) </li> 15090<li><?php bugfix(30967); ?> (properties in extended mysqli classes don't work). (Georg) </li> 15091<li><?php bugfix(30928); ?> (When Using WSDL, SoapServer doesn't handle private or protected properties). (Dmitry) </li> 15092<li><?php bugfix(30922); ?> (reflective functions crash PHP when interfaces extend themselves). (Tony, Dmitry) </li> 15093<li><?php bugfix(30904); ?> (segfault when recording soapclient into session). (Tony, Dmitry) </li> 15094<li><?php bugfix(30890); ?> (MySQLi testsuite) </li> 15095<li><?php bugfix(30856); ?> (ReflectionClass::getStaticProperties segfaults). (Marcus) </li> 15096<li><?php bugfix(30832); ?> ("!" stripped off comments in xml parser). (Rob) </li> 15097<li><?php bugfix(30799); ?> (SoapServer doesn't handle private or protected properties). (Dmitry) </li> 15098<li><?php bugfix(30783); ?> (Apache crash when using ReflectionFunction:: getStaticVariables()). (Marcus) </li> 15099<li><?php bugfix(30750); ?> (Meaningful error message when upload directory is not accessible). (Ilia) </li> 15100<li><?php bugfix(30685); ?> (Malformed SOAPClient http header reequest). (Dmitry) </li> 15101<li><?php bugfix(30672); ?> (Problem handling exif data in jpeg images at unusual places). (Marcus) </li> 15102<li><?php bugfix(30658); ?> (Ensure that temporary files created by GD are removed). (Ilia) </li> 15103<li><?php bugfix(30645); ?> (def. multi result set support for mysql_connect). (Georg) </li> 15104<li><?php bugfix(30637); ?> (compile with pear error). (Antony) </li> 15105<li><?php bugfix(30587); ?> (array_multisort doesn't separate zvals before changing them). (Tony) </li> 15106<li><?php bugfix(30572); ?> (crash when comparing SimpleXML attribute to a boolean). (Andi) </li> 15107<li><?php bugfix(30566); ?> (attribute namespace URIs are inconsistent when parsing). (Rob) </li> 15108<li><?php bugfix(30490); ?> (PEAR installation fails). (Antony) </li> 15109<li><?php bugfix(30475); ?> (curl_getinfo() may crash in some situations). (Ilia) </li> 15110<li><?php bugfix(30442); ?> (segfault when parsing ?getvariable[][ ). (Tony) </li> 15111<li><?php bugfix(30388); ?> (rename across filesystems loses ownership and permission info). (Tony) </li> 15112<li><?php bugfix(30387); ?> (stream_socket_client async connect was broken). (vnegrier at esds dot com, Wez). </li> 15113<li><?php bugfix(30381); ?> (Strange results with get_class_vars()). (Marcus) </li> 15114<li><?php bugfix(30375); ?> (cal_info() does not work without a parameter). (Ilia) </li> 15115<li><?php bugfix(30362); ?> (stream_get_line() not handling end string correctly). (Ilia) </li> 15116<li><?php bugfix(30359); ?> (SOAP client requests have no port in "Host" field). (Dmitry) </li> 15117<li><?php bugfix(30356); ?> (str_ireplace() does not work on all strings). (Ilia) </li> 15118<li><?php bugfix(30344); ?> (Reflection::getModifierNames() returns too long strings). (Marcus) </li> 15119<li><?php bugfix(30329); ?> (Error Fetching http body, No Content-Length, connection closed or chunked data). (Dmitry) </li> 15120<li><?php bugfix(30282); ?> (segfault when using unknown/unsupported session.save_handler and/or session.serialize_handler). (Tony) </li> 15121<li><?php bugfix(30281); ?> (Prevent non-wbmp images from being detected as such). (Ilia) </li> 15122<li><?php bugfix(30276); ?> (Possible crash in ctype_digit on large numbers). (Ilia) </li> 15123<li><?php bugfix(30230); ?> (exception handler not working with objects). (Marcus) </li> 15124<li><?php bugfix(30224); ?> (Sybase date strings are sometimes not null terminated). (Ilia) </li> 15125<li><?php bugfix(30175); ?> (SOAP results aren't parsed correctly). (Dmitry) </li> 15126<li><?php bugfix(30147); ?> (OO sqlite_fetch_object did not reset error handler). (Wez) </li> 15127<li><?php bugfix(30133); ?> (get_current_user() crashes on Windows). (Edin) </li> 15128<li><?php bugfix(30061); ?> (xml_set_start_namespace_decl_handler not called). (Rob) </li> 15129<li><?php bugfix(30057); ?> (did not detect IPV6 on FreeBSD 4.1). (Wez) </li> 15130<li><?php bugfix(30042); ?> (strtotime does not use second param). (Derick) </li> 15131<li><?php bugfix(30027); ?> (Possible crash inside ftp_get()). (cfield at affinitysolutions dot com) </li> 15132<li><?php bugfix(29954); ?> (array_reduce segfaults when initial value is array). (Tony) </li> 15133<li><?php bugfix(29883); ?> (isset gives invalid values on strings). (Tony, Dmitry) </li> 15134<li><?php bugfix(29801); ?> (Set limit on the size of mmapable data). (Ilia) </li> 15135<li><?php bugfix(29557); ?> (strtotime error). (Derick) </li> 15136<li><?php bugfix(29418); ?> (double free when openssl_csr_new fails). (Kamesh Jayachandran). </li> 15137<li><?php bugfix(29385); ?> (Soapserver always uses std class). (David, Dmitry) </li> 15138<li><?php bugfix(29211); ?> (SoapClient doesn't request wsdl through proxy). (Rob) </li> 15139<li><?php bugfix(28817); ?> (Var problem when extending domDocument). (Georg) </li> 15140<li><?php bugfix(28599); ?> (strtotime fails with zero base time). (Derick) </li> 15141<li><?php bugfix(28598); ?> (Lost support for MS Symbol fonts). (Pierre) </li> 15142<li><?php bugfix(28220); ?> (mb_strwidth() returns wrong width values for some hangul characters). (Moriyoshi) </li> 15143<li><?php bugfix(28228); ?> (NULL decimal separator is not being handled correctly). (Ilia) </li> 15144<li><?php bugfix(28209); ?> (strtotime("now")). (Derick) </li> 15145<li><?php bugfix(27798); ?> (private / protected variables not exposed by get_object_vars() inside class). (Marcus) </li> 15146<li><?php bugfix(27728); ?> (Can't return within a zend_try {} block or the previous bailout state isn't restored. (Andi) </li> 15147<li><?php bugfix(27183); ?> (Userland stream wrapper segfaults on stream_write). (Christian) </li> 15148</ul> 15149 15150<!-- }}} --></section> 15151 15152<section class="version" id="5.0.2"><!-- {{{ 5.0.2 --> 15153<h3>Version 5.0.2</h3> 15154<?php release_date('23-Sep-2004'); ?> 15155<ul> 15156<li> Added new boolean (fourth) parameter to array_slice() that turns on the preservation of keys in the returned array. (Derick) </li> 15157<li> Added the sorting flag SORT_LOCALE_STRING to the sort() functions which makes them sort based on the current locale. (Derick) </li> 15158<li> Added interface_exists() and make class_exists() only return true for real classes. (Andrey) </li> 15159<li> Added PHP_EOL constant that contains the OS way of representing newlines. (Paul Hudson, Derick) </li> 15160<li> Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory exhaustion. (Andrei) </li> 15161<li> Renamed SoapClient->__call() to SoapClinet->__soapCall(). (Dmitry) </li> 15162<li> Fixed bug with raw_post_data not getting set (Brian) </li> 15163<li> Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev) </li> 15164<li> <?php bugfix(30209); ?> (ReflectionClass::getMethod() lowercases attribute). (Marcus) </li> 15165<li> <?php bugfix(30182); ?> (SOAP module processing WSDL file dumps core). (Dmitry) </li> 15166<li> <?php bugfix(30045); ?> (Cannot pass big integers (> 2147483647) in SOAP requests). (Dmitry) </li> 15167<li> <?php bugfix(29985); ?> (unserialize()/ __PHP_Incomplete_class does not report correctly class name). (Marcus, Tony) </li> 15168<li> <?php bugfix(29945); ?> (simplexml_load_file URL limitation 255 char). (Rob) </li> 15169<li> <?php bugfix(29873); ?> (No defines around pcntl_*priority definitions). (Derick) </li> 15170<li> <?php bugfix(29844); ?> (SOAP doesn't return the result of a valid SOAP request). (Dmitry) </li> 15171<li> <?php bugfix(29842); ?> (soapclient return null value). (Dmitry) </li> 15172<li> <?php bugfix(29839); ?> (incorrect convert (xml:lang to lang)). (Dmitry) </li> 15173<li> <?php bugfix(29830); ?> (SoapServer::setClass() should not export non-public methods). (Dmitry) </li> 15174<li> <?php bugfix(29828); ?> (Interfaces no longer work). (Marcus) </li> 15175<li> <?php bugfix(29821); ?> (Fixed possible crashes in convert_uudecode() on invalid data). (Ilia) </li> 15176<li> <?php bugfix(29808); ?> (array_count_values() breaks with numeric strings). (Ilia) </li> 15177<li> <?php bugfix(29805); ?> (HTTP Authentication Issues). (Uwe Schindler) </li> 15178<li> <?php bugfix(29795); ?> (SegFault with Soap and Amazon's Web Services). (Dmitry) </li> 15179<li> <?php bugfix(29737); ?> (ip2long should return -1 if IP is 255.255.255.255 and FALSE on error). (Tony) </li> 15180<li> <?php bugfix(29711); ?> (Changed ext/xml to default to UTF-8 output). (Rob) </li> 15181<li> <?php bugfix(29678); ?> (opendir() with ftp:// wrapper segfaults if path does not have trailing slash). (Ilia) </li> 15182<li> <?php bugfix(29657); ?> (xml_* functions throw non descriptive error). (Christian, Rob) </li> 15183<li> <?php bugfix(29656); ?> (segfault on result and statement properties). (Georg) </li> 15184<li> <?php bugfix(29566); ?> (foreach/string handling strangeness (crash)). (Dmitry) </li> 15185<li> <?php bugfix(29447); ?> (Reflection API issues). (Marcus) </li> 15186<li> <?php bugfix(29296); ?> (Added sslv2 and sslv3 transports). (Wez) </li> 15187<li> <?php bugfix(29283); ?> (Invalid statement handle in mysqli on execute). (Georg) </li> 15188<li> <?php bugfix(29913); ?> (parse_url() is now binary safe). (Ilia) </li> 15189<li> <?php bugfix(27994); ?> (segfault with Soapserver when WSDL-Cache is enabled). (Dmitry) </li> 15190<li> <?php bugfix(27791); ?> (Apache 2.0 SAPI build against Apache 2 HEAD). (Joe Orton, Derick) </li> 15191<li> <?php bugfix(26737); ?> (private/protected properties not serialized when user declared method __sleep() exists). E_NOTICE thrown when __sleep() returns name of non-existing member. (Andrey, Curt)</li> 15192</ul> 15193 15194<!-- }}} --></section> 15195 15196<section class="version" id="5.0.1"><!-- {{{ 5.0.1 --> 15197<h3>Version 5.0.1</h3> 15198<?php release_date('12-Aug-2004'); ?> 15199<ul> 15200<li> Changed destructor mechanism so that destructors are called prior to request shutdown. (Marcus) </li> 15201<li> Rewritten UNIX and Windows install help files. (Documentation Team) </li> 15202<li> Updated several libraries bundled with the windows release which now includes libxml2-2.6.11, libxslt-1.1.7 and iconv-1.9.1. (Rob, Edin) </li> 15203<li> Improved and moved ActiveScript SAPI to PECL. (Wez) </li> 15204<li> Fixed unloading of dynamically loaded extensions. (Marcus, kameshj at fastmail dot fm) </li> 15205<li> Fixed ReflectionClass::getMethod() and ReflectionClass::getProperty() to raise an ReflectionException instead of returning NULL on failure. (Sebastian) </li> 15206<li> Fixed convert.* filters to consume remaining buckets_in on flush. (Sara) </li> 15207<li> Fixed bug in mysqli->client_version. (Georg) </li> 15208<li><?php bugfix(29606); ?> (php_strip_whitespace() prints to stdout rather then returning the value). (Ilia) </li> 15209<li><?php bugfix(29577); ?> (MYSQLI_CLIENT_FOUND_ROWS undefined) (Georg) </li> 15210<li><?php bugfix(29573); ?> (Segmentation fault, when exception thrown within PHP function called from XSLT). (Christian) </li> 15211<li><?php bugfix(29522); ?> (accessing properties without connection) (Georg) </li> 15212<li><?php bugfix(29505); ?> (get_class_vars() severely broken when used with arrays). (Marcus) </li> 15213<li><?php bugfix(29490); ?> (.Net object instantiation failed). (Michael Sisolak). </li> 15214<li><?php bugfix(29474); ?> (win32: usleep() doesn't work). (Wez) </li> 15215<li><?php bugfix(29449); ?> (win32: feof() hangs on empty tcp stream). (Wez) </li> 15216<li><?php bugfix(29437); ?> (Possible crash inside array_walk_recursive()). (Ilia) </li> 15217<li><?php bugfix(29431); ?> (crash when parsing invalid address; invalid address returned by stream_socket_recvfrom(), stream_socket_getname()). (Wez) </li> 15218<li><?php bugfix(29409); ?> (Segfault in PHP functions called from XSLT). (Rob) </li> 15219<li><?php bugfix(29395); ?> (sqlite_escape_string() returns bogus data on empty strings). (Ilia, Tony) </li> 15220<li><?php bugfix(29392); ?> (com_dotnet crashes when echo'ing an object). (Wez) </li> 15221<li><?php bugfix(29368); ?> (The destructor is called when an exception is thrown from the constructor). (Marcus) </li> 15222<li><?php bugfix(29354); ?> (Exception constructor marked as both public and protected). (Marcus) </li> 15223<li><?php bugfix(29342); ?> (strtotime() does not handle empty date string properly). (Ilia) </li> 15224<li><?php bugfix(29340); ?> (win32 build produces invalid php_ifx.dll). (Edin) </li> 15225<li><?php bugfix(29335); ?> (fetch functions now use MYSQLI_BOTH as default) (Georg) </li> 15226<li><?php bugfix(29291); ?> (get_class_vars() return names with NULLs). (Marcus) </li> 15227<li><?php bugfix(29264); ?> (gettext extension not working). (Edin) </li> 15228<li><?php bugfix(29258); ?> (variant_date_from_timestamp() does not honour timezone). (Wez) </li> 15229<li><?php bugfix(29256); ?> (error when sending large packets on a socket). (Dmitry) </li> 15230<li><?php bugfix(29236); ?> (memory error when wsdl-cache is enabled). (Dmitry) </li> 15231<li><?php bugfix(29147); ?> (Compile Error in mnoGoSearch functions). (Sergey, Antony) </li> 15232<li><?php bugfix(29132); ?> ($_SERVER["PHP_AUTH_USER"] isn't defined). (Stefan) </li> 15233<li><?php bugfix(29119); ?> (html_entity_decode() misbehaves with UTF-8). (Moriyoshi) </li> 15234<li><?php bugfix(29109); ?> (SoapFault exception: [WSDL] Out of memory). (Dmitry) </li> 15235<li><?php bugfix(29061); ?> (soap extension segfaults). (Dmitry) </li> 15236<li><?php bugfix(28985); ?> (__getTypes() returning nothing on complex WSDL). (Dmitry) </li> 15237<li><?php bugfix(28969); ?> (Wrong data encoding of special characters). (Dmitry) </li> 15238<li><?php bugfix(28895); ?> (ReflectionClass::isAbstract always returns false). (Marcus) </li> 15239<li><?php bugfix(28829); ?> (Thread-unsafety in bcmath elementary values). (Sara) </li> 15240<li><?php bugfix(28464); ?> (catch() does not catch exceptions by interfaces). (Marcus) </li> 15241</ul> 15242 15243<!-- }}} --></section> 15244 15245<section class="version" id="5.0.0"><!-- {{{ 5.0.0 --> 15246<h3>Version 5.0.0</h3> 15247<?php release_date('13-Jul-2004'); ?> 15248<ul> 15249<li>Updated PCRE to provide better error handling in certain cases. (Andrei)</li> 15250<li>Changed doc comments to require a single white space after '/**'. (Marcus)</li> 15251<li>Fixed strip_tags() to correctly handle '\0' characters. (Stefan)</li> 15252<li><?php bugfix(29019); ?> (Database not closing). (Marcus)</li> 15253<li><?php bugfix(29008); ?> (array_combine() does not handle non-numeric/string keys). (Ilia)</li> 15254<li><?php bugfix(28999); ?> (fixed behaviour of exec() to work as it did in 4.X). (Ilia)</li> 15255<li><?php bugfix(28895); ?> (ReflectionClass::isAbstract always returns false). (Marcus)</li> 15256<li><?php bugfix(28868); ?> (Internal filter registry not thread safe). (Sara)</li> 15257<li><?php bugfix(28851); ?> (call_user_func_array has typo in error message). (Marcus)</li> 15258<li><?php bugfix(28831); ?> (ArrayObject::offsetGet() does the work of offsetUnset()). (Marcus)</li> 15259<li><?php bugfix(28822); ?> (ArrayObject::offsetExists() works inverted). (Marcus)</li> 15260<li><?php bugfix(28789); ?> (ReflectionProperty getValue() fails on public static members). (Marcus)</li> 15261<li><?php bugfix(28771); ?> (Segfault when using xslt and clone). (Rob)</li> 15262<li><?php bugfix(28751); ?> (SoapServer does not call _autoload()). (Dmitry)</li> 15263<li><?php bugfix(28739); ?> (array_*diff() and array_*intersect() not clearing the fci cache before work). (Andrey)</li> 15264<li><?php bugfix(28721); ?> (appendChild() and insertBefore() unset DOMText).(Rob)</li> 15265<li><?php bugfix(28702); ?> (SOAP does not parse WSDL service address correctly). (Dmitry)</li> 15266<li><?php bugfix(28699); ?> (Reflection api bugs). (Marcus)</li> 15267<li><?php bugfix(28694); ?> (ReflectionExtension::getFunctions() crashes PHP). (Marcus)</li> 15268<li><?php bugfix(28512); ?> (Allocate enough space to store MSSQL data). (Frank)</li> 15269<li><?php bugfix(28325); ?> (Circular references not properly serialised). (Moriyoshi)</li> 15270</ul> 15271 15272<!-- }}} --></section> 15273 15274<section class="version" id="5.0.0RC3"><!-- {{{ 5.0.0RC3 --> 15275<h3>Version 5.0.0 Release Candidate 3</h3> 15276<?php release_date('08-Jun-2004'); ?> 15277<ul> 15278<li>Moved the PDFLib extension to PECL. (Wez)</li> 15279<li>Added MySQL 4.1.2-alpha and 4.1.3-beta support to MySQLI extension. (Georg)</li> 15280<li>Added support for dumping private/protected properties to var_dump(). (Andrey)</li> 15281<li>Added count() support for COM arrays. (Wez)</li> 15282<li>Added Firebird/InterBase UDF source that allows PHP functions to be called from SQL (Ard)</li> 15283<li>Changed user error handler mechanism to relay to built-in error handler if it returns false. (Andrei) </li> 15284<li>Changed class type hints for function parameters to not allow the passing of NULL values. (Andi)</li> 15285<li>Changed tidy_node to tidyNode and removed tidy_exception. (John)</li> 15286<li>Fixed ip2long() to return FALSE if an IP address passed to this function is not valid. (Derick)</li> 15287<li>Fixed memory leak in memory manager. (Andi)</li> 15288<li>Fixed problem with exceptions returning from include(). (Dmitry)</li> 15289<li><?php bugfix(28641); ?> (Instance of Interface). (Marcus)</li> 15290<li><?php bugfix(28430); ?> (Extending mysqli class). (Georg)</li> 15291<li><?php bugfix(28311); ?> (Transparency detection code is off by 1). (Ilia, pikeman at pikeman dot sytes dot net)</li> 15292<li><?php bugfix(28304); ?> (Missing bounds check inside imagefilter()). (Ilia)</li> 15293<li><?php bugfix(28300); ?> (Userspace stream/filter names forced to lowercase). (Sara)</li> 15294<li><?php bugfix(28287); ?> (stream_*_register() not calling __autoload()). (Sara)</li> 15295<li><?php bugfix(28267); ?> (php_image_filter_contrast calls gdImageBrightness). (Ilia)</li> 15296<li><?php bugfix(28239); ?> (No results returned on SOAP call, no error given). (Dmitry)</li> 15297<li><?php bugfix(28205); ?> (num_rows property for statement object). (Georg)</li> 15298<li><?php bugfix(28161); ?> (COM: Array style properties could not be accessed). (Wez)</li> 15299<li><?php bugfix(28125); ?> (ArrayObject leaks when accessing elements). (Marcus)</li> 15300<li><?php bugfix(28100); ?> (NULL parameter support for mysqli_ssl_set). (Georg)</li> 15301<li><?php bugfix(28099); ?> (ArrayObject doesn't implement ArrayAccess). (Marcus)</li> 15302<li><?php bugfix(27929); ?> (SPL: change visibility of ArrayIterator::__construct). (Marcus)</li> 15303<li><?php bugfix(27640); ?> (memory leak of registered_zend_ini_directives). (Dmitry)</li> 15304<li><?php bugfix(27063); ?> (SPL: ArrayObject does not handle PPP correctly). (Marcus)</li> 15305</ul> 15306 15307 15308<!-- }}} --></section> 15309 15310<section class="version" id="5.0.0RC2"><!-- {{{ 5.0.0RC2 --> 15311<h3>Version 5.0.0 Release Candidate 2</h3> 15312<?php release_date('25-Apr-2004'); ?> 15313<ul> 15314<li> Implementing an interface/abstract method with the wrong prototype is now 15315 a fatal error. (Zeev) 15316</li> 15317<li> Reimplemented zend.ze1_compatibility_mode to have better PHP 4 compliance. 15318 (Dmitry, Andi) 15319</li> 15320<li> Under CLI, fclose() on php://stdin, php://stdout and php://stderr will now 15321 close the real stream. Please update your CLI scripts to use STDIN, STDOUT 15322 and STDERR constants instead of fopen()/fclose(). (Wez) 15323</li> 15324<li> Moved yaz extension to PECL. (Wez) 15325</li> 15326<li> Added pty support to proc_open(). (Wez) 15327</li> 15328<li> Added possibility to check in which extension an internal class was defined 15329 in using reflection API. (Marcus) 15330</li> 15331<li> Changed tidy error handling to no longer use exceptions and 15332 renamed the "error_buf" property to errorBuffer. (John) 15333</li> 15334<li> Changed class and method names to use studlyCaps convention. (Marcus) 15335</li> 15336<li> Changed language parser to throw errors when a non-empty signature is used in 15337 a destructor definition. (Marcus) 15338</li> 15339<li> Changed HTTP file uploads not to throw E_WARNINGs and E_NOTICEs. The error 15340 value in the $_FILES global should be used for error handling. (Derick) 15341</li> 15342<li> Changed __construct() to always take precedence over old style constructor. 15343 (Dmitry) 15344</li> 15345<li> Fixed handling of return values from storred procedures in mssql_execute() 15346 with multiple result sets returned. (Frank) 15347</li> 15348<li> <?php bugfix(28096); ?> (stream_socket_accept() doesn't work with ssl). (Wez) 15349</li> 15350<li> <?php bugfix(28007); ?> (compile mssql extension with old versions of FreeTDS 15351 fails). (Frank) 15352</li> 15353<li> <?php bugfix(27997); ?> (SPL: Crash with getInnerIterator()). (Marcus) 15354</li> 15355<li> <?php bugfix(27974); ?> (COM doesn't pass array parameters). (Wez) 15356</li> 15357<li> <?php bugfix(27928); ?> (sqlite incorrectly handles invalid filenames). (Ilia) 15358</li> 15359<li> <?php bugfix(27923); ?> (in some cases using foreach() to iterate over values 15360 led to a false error message about the key being a reference). (Adam) 15361</li> 15362<li> <?php bugfix(27865); ?> (STDIN, STDOUT, STDERR are dup()d under CLI). (Wez) 15363</li> 15364<li> <?php bugfix(27821); ?> (xml_parse() segfaults when xml_set_object() is called from 15365 class method). (Andi, Rob) 15366</li> 15367<li> <?php bugfix(27742); ?> (WDSL SOAP Parsing Schema bug). (Dmitry) 15368</li> 15369<li> <?php bugfix(27722); ?> (Segfault on schema without targetNamespace). (Dmitry) 15370</li> 15371<li> <?php bugfix(27719); ?> (mktime issues on and around DST changeover). (Rasmus) 15372</li> 15373<li> <?php bugfix(27681); ?> (soap extension fails without HAVE_TM_GMTOFF). (Dmitry) 15374</li> 15375<li> <?php bugfix(27641); ?> (Object cloning in ze1_compatibility_mode was reimplemented) 15376 (Dmitry, Andi) 15377</li> 15378<li> <?php bugfix(27628); ?> (Simplify the process of making a POST request via stream 15379 context). (Ilia) 15380</li> 15381<li> <?php bugfix(27619); ?> (filters not applied to pre-buffered stream data). (Sara) 15382</li> 15383<li> <?php bugfix(27519); ?> (Reflection_Function constructor crashes with non-existant 15384 function's name). (Marcus) 15385</li> 15386<li> <?php bugfix(27469); ?> (serialize() objects of incomplete class). (Dmitry) 15387</li> 15388<li> <?php bugfix(27457); ?> (handling of numeric indexes in strtr()). (Dmitry) 15389</li> 15390<li> <?php bugfix(27397); ?> (debug_backtrace() not showing function arguments). (Zeev) 15391</li> 15392<li> <?php bugfix(27283); ?> (The last catch statement was sometimes skipped). (Andi) 15393</li> 15394<li> <?php bugfix(26441); ?> (When __set() returned a value it corrupted it). (Andi) 15395</li> 15396<li> <?php bugfix(19749); ?> (shouldn't mmap() files larger than memory_limit). (Wez) 15397</li> 15398</ul> 15399 15400<!-- }}} --></section> 15401 15402<section class="version" id="5.0.0RC1"><!-- {{{ 5.0.0RC1 --> 15403<h3>Version 5.0.0 Release Candidate 1</h3> 15404<?php release_date('18-Mar-2004'); ?> 15405<ul> 15406<li>Fixed numerous bugs with the just-in-time auto-global initialization, that 15407 could cause $_SERVER, $argv/$argc and other variables not to work properly. 15408 (Zeev) 15409</li> 15410<li>Fixed data corruption with constant assignments to object properties. (Zeev) 15411</li> 15412<li>Changed __toString() to be called automatically only with print and echo 15413 statements. (Andi) 15414</li> 15415<li>Replaced the exec_finished hook by the zend_post_deactive hook for 15416 extensions. The new hook will be run after the symbol table and destructors 15417 are run. (Derick) 15418</li> 15419<li>Fixed possible crash when internal get_method() is not defined. (Andi) 15420</li> 15421<li>Fixed calling methods using call_user_func() in conjunction with 15422 the array("Class","Method") syntax to use the scope of the PHP user function. 15423 (Dmitry) 15424</li> 15425<li>Fixed php-cgi to not ignore command-line switches when run in a web context. 15426 This fixes our test cases allowing INI with GET sections to work. (Rasmus) 15427</li> 15428<li>Fixed getopt() so it works without $_SERVER. (Rasmus, bfrance) 15429</li> 15430<li>Added support for PHP 4 style object comparisons which is enabled in 15431 ze1_compatiblity_mode. (Andi) 15432</li> 15433<li>Added support for PHP 4 style object conversion to long, double, and boolean 15434 values which is enabled in ze1_compatibility_mode. (Andi, Stas) 15435</li> 15436<li>Allow object oriented extensions to overload comparison functions and other 15437 operations. Solves problems using SimpleXML values. (Andi, Zeev) 15438</li> 15439<li>Fixed crash when accessing a class constant with a value which in turn is 15440 also a constant. (Dmitry) 15441</li> 15442<li>Fixed object's truth value conversion. It is always true unless 15443 ze1_compatibility_mode is on in which it behaves like in PHP 4. (Stas) 15444</li> 15445<li>Improved out of memory handling in new memory manager. (Stas) 15446</li> 15447<li>Fixed crash when an object references itself during destructor call. (Andi) 15448</li> 15449<li>Fixed crash in foreach() when iterating over object properties or a method's 15450 return values. (Andi) 15451</li> 15452<li>Fixed crash when an exception is thrown in a destructor. Such exceptions are 15453 now ignored as destruction happens out of context at no definite time. (Andi) 15454</li> 15455<li>Fixed crashes in exception handling. (Dmitry, Andi) 15456</li> 15457<li>Changed prototype checks so that they aren't done on constructors. (Andi) 15458</li> 15459<li>Changed prototype checks to output an E_STRICT message instead of 15460 an E_COMPILE_ERROR. (Andi) 15461</li> 15462<li>Changed Iterator::has_more() to Iterator::valid(). (Marcus) 15463</li> 15464<li>Upgraded bundled oniguruma library to version 2.2.2. (Rui, Moriyoshi) 15465</li> 15466<li>Added mb_list_encoding() to return an array with all mbstring supported 15467 encodings. (Derick) 15468</li> 15469<li>Added support for more ISO8601 datetime formats in strtotime(). (Moriyoshi) 15470 <ul> 15471 <li>Timezone specifier (ex. "20040301T02:00:00+19:00")</li> 15472 <li>Week specifier (ex. "1997W021")</li> 15473 </ul> 15474</li> 15475<li>Renamed php.ini option "zend2.implicit_clone" to 15476 "zend.ze1_compatibility_mode" as it doesn't only affect implicit cloning. 15477 (Andi, Zeev) 15478</li> 15479<li>Methods that override parent methods are now subject to prototype checking, 15480 and have to be compatible with the method they're overriding - this check is 15481 disabled in compatibility mode. (Andi, Zeev) 15482</li> 15483<li>Fixed crash in php_ini_scanned_files() when no additional INI files were 15484 actually parsed. (Jon) 15485</li> 15486<li>Fixed bug in gdImageFilledRectangle in the bundled GD library, that required 15487 x1 < x2 and y1 < y2 for coordinates. (Derick) 15488</li> 15489<li>Fixed crash with foreach() and temporary objects($obj->method()->a ...) where 15490 method returns a non-referenced object. (Andi, Zeev) 15491</li> 15492<li>Fixed problem preventing startup errors from being displayed. (Marcus) 15493</li> 15494<li>Fixed start-up problem if both SPL and SimpleXML were enabled. The double 15495 initialization of apache 1.3 was causing problems here. (Marcus, Derick) 15496</li> 15497<li><?php bugfix(27606); ?> (Expression must be a modifiable lvalue compiler error). 15498 (Derick) 15499</li> 15500<li><?php bugfix(27597); ?> (pg_fetch_array not returning false). (Marcus) 15501</li> 15502<li><?php bugfix(27586); ?> (ArrayObject::getIterator crashes with [] assignment). 15503 (Marcus) 15504</li> 15505<li><?php bugfix(27537); ?> (Objects pointing to each other segfaults). (Dmitry) 15506</li> 15507<li><?php bugfix(27535); ?> (Problem with object freeing mechanism). (Dmitry) 15508</li> 15509<li><?php bugfix(27504); ?> (Visibility bugs in call_user_function()). (Dmitry) 15510</li> 15511<li><?php bugfix(27457); ?> (handling of numeric indexes in strtr()). (Dmitry) 15512</li> 15513<li><?php bugfix(27338); ?> (memory leak inside tsrm_virtual_cwd.c on win32). (Ilia) 15514</li> 15515<li><?php bugfix(27291); ?> (get_browser matches browscap.ini patterns incorrectly). 15516 (Jay) 15517</li> 15518<li><?php bugfix(27287); ?> (wddx segfaults during deserialization). (Moriyoshi) 15519</li> 15520<li><?php bugfix(27263); ?> (session extension crashes when unserializing referenced 15521 values / objects). (Moriyoshi) 15522</li> 15523<li><?php bugfix(27237); ?> (Working with simplexml crashes apache2). (Rob) 15524</li> 15525<li><?php bugfix(27227); ?> (Mixed case class names causes Fatal Error in Constructor 15526 call). (Marcus) 15527</li> 15528<li><?php bugfix(27125); ?> (strval() doesn't work for objects with __toString()). 15529 (Marcus) 15530</li> 15531<li><?php bugfix(27123); ?> (Fix crash caused by bug in get_object_vars()). (Andi) 15532</li> 15533<li><?php bugfix(26677); ?> (mbstring compile errors with IRIX compiler). 15534 (K.Kosako <kosako at sofnec dot co dot jp>, Rui, Moriyoshi) 15535</li> 15536<li><?php bugfix(26206); ?> (register_long_arrays breaks superglobals). (Zeev) 15537</li> 15538<li><?php bugfix(25724); ?> (argv and argc not defined). (Zeev) 15539</li> 15540</ul> 15541 15542<!-- }}} --></section> 15543 15544<section class="version" id="5.0.0b4"><!-- {{{ 5.0.0b4 --> 15545<h3>Version 5.0.0 Beta 4</h3> 15546<?php release_date('12-Feb-2004'); ?> 15547<ul> 15548<li>Changed exceptions so that they must now inherit from the built-in Exception 15549class. This allows for a general catch(Exception $e) statement to catch all 15550exceptions. (Andi, Zeev)</li> 15551<li>Added SPL extension. (Marcus, Derick)</li> 15552<li>Added checks for invalid characters in a cookie name and cookie data 15553into set[raw]cookie(). (Brian)</li> 15554<li>Added support for ++ and += (and similar) to SimpleXML. (Andi, Zeev)</li> 15555<li>Added infrastructure for ++ and += (and similar) to object overloading 15556modules. (Andi, Zeev)</li> 15557<li>Added error message when trying to re-assign to $this variable. (Zeev, Andi)</li> 15558<li>Added support for an interface to extend another interface. (Zeev)</li> 15559<li>Added new pspell functions: (Brian) 15560 <ul> 15561 <li>pspell_config_dict_dir()</li> 15562 <li>pspell_config_data_dir()</li> 15563 </ul></li> 15564<li>Added new Interbase functions: (Ard) 15565 <ul> 15566 <li>ibase_service_attach() and ibase_service_detach().</li> 15567 <li>ibase_backup() and ibase_restore().</li> 15568 <li>ibase_maintain_db(), ibase_db_info() and ibase_server_info().</li> 15569 </ul></li> 15570<li>Added context option "http"/"request_fulluri" to send entire URI in request 15571which is required format for some proxies. (Sara)</li> 15572<li>Added optional third parameter 'strict' to array_keys(). (Andrey)</li> 15573<li>Added stream_lock() method to userspace streams interface. (Hartmut, Wez)</li> 15574<li>Added xsltprocessor->registerPHPFunctions(). (Christian)</li> 15575<li>Readded support for using classes before they are declared according to 15576the behavior in PHP 4. This won't work with classes who are using PHP 5 15577features such as interfaces. (Zeev, Andi)</li> 15578<li>Completely overhauled SimpleXML extension. (Marcus, Rob, Sterling)</li> 15579<li>Upgraded bundled SQLite library to version 2.8.11. (Ilia, Wez)</li> 15580<li>Improved destructor implementation to always call destructors on clean 15581shutdown. An order of destruction is not guaranteed. (Zeev, Andi)</li> 15582<li>Redesigned exception support. This fixes many bugs in the previous design 15583such as nested try's and problems with overloaded extensions. (Zeev, Andi)</li> 15584<li>Redesigned clone by adding a clone keyword (clone $obj) and copying all 15585properties before __clone() is called. Also allows calling parent __clone 15586function by using parent::__clone(). (Zeev, Andi)</li> 15587<li>Fixed interfaces to check for function return-by-reference equality when 15588inheriting and implementing interfaces. (Andi, Zeev)</li> 15589<li>Fixed foreach() to respect property visibility. (Marcus)</li> 15590<li>Fixed problem with parse error in include() file not stopping PHP's 15591execution. (Ilia)</li> 15592<li>Fixed var_export() to show public, protected and private modifiers properly. 15593(Derick)</li> 15594<li>Fixed problems with longlong values in mysqli. (Georg)</li> 15595<li>Fixed class name case preserving of user defined classes. (Marcus)</li> 15596<li><?php bugfix(27145); ?> (Unmangle private/protected property names before printing 15597them inside error messages). (Ilia)</li> 15598<li><?php bugfix(27103); ?> (preg_split('//u') incorrectly splits UTF-8 strings into 15599octets). (Moriyoshi)</li> 15600<li><?php bugfix(27042); ?> (SPL: SeekableIterator seek() broken). (Marcus)</li> 15601<li><?php bugfix(27008); ?> (Every class method can be called as static). (Marcus)</li> 15602<li><?php bugfix(26938); ?> (exec() has problems reading long lines). 15603(Ilia, runekl[at]opoint[dot]com</li> 15604<li><?php bugfix(26947); ?> (ext/dom: Crash when using DomDocument::getElementById()). 15605(Christian)</li> 15606<li><?php bugfix(26911); ?> (crash in sqlite extension when fetching data from empty 15607queries). (Ilia)</li> 15608<li><?php bugfix(26844); ?> (ext/mime_magic: magic file validation broken). (Jani)</li> 15609<li><?php bugfix(26819); ?> (http_build_query() crashes on NULL output). (Ilia)</li> 15610<li><?php bugfix(26817); ?> (http_build_query() does not handle private & protected 15611object properties correctly). (Ilia)</li> 15612<li><?php bugfix(26815); ?> (foreach of (DOM) childnodes crashes when Xinclude is used). 15613(Rob)</li> 15614<li><?php bugfix(26796); ?> (SQLite causes crashes with other extensions *connect() 15615calls). (Marcus)</li> 15616<li><?php bugfix(26762); ?> (unserialize() produces lowercase classnames). (Marcus)</li> 15617<li><?php bugfix(26743); ?> (getElementsByTagName doesn't work properly). (Rob)</li> 15618<li><?php bugfix(26736); ?> (__autoload not invoked for parent classes). (Marcus)</li> 15619<li><?php bugfix(26723); ?> (domNode::appendChild() changes child node namespace). (Rob)</li> 15620<li><?php bugfix(26697); ?> (calling class_exists() on a nonexistent class in __autoload 15621results in segfault). (Marcus)</li> 15622<li><?php bugfix(26696); ?> (string index in a switch() crashes with multiple matches). 15623(Andi)</li> 15624<li><?php bugfix(26695); ?> (Reflection API does not recognize mixed-case class hints). 15625(Marcus)</li> 15626<li><?php bugfix(26690); ?> (make xsltProcessor->transformToUri use streams wrappers). 15627(Ilia)</li> 15628<li><?php bugfix(26680); ?> (Added version check in mysqli_report_index). (Georg)</li> 15629<li><?php bugfix(26675); ?> (Segfault on ArrayAccess use). (Marcus)</li> 15630<li><?php bugfix(26640); ?> (__autoload() not invoked by Reflection classes). (Jani)</li> 15631<li><?php bugfix(26543); ?> (call_user_func() broken for self, parent). (Stanislav)</li> 15632<li><?php bugfix(26077); ?> (memory leak when new() result is not assigned and no 15633constructor is defined). (Stanislav)</li> 15634<li><?php bugfix(26065); ?> (Crash when nesting classes). (Marcus)</li> 15635<li><?php bugfix(25816); ?> (disallow arrays in class constants). (Stanislav)</li> 15636<li><?php bugfix(25329); ?> (sqlite_create_function with method and reference to $this). 15637(Marcus)</li> 15638<li><?php bugfix(25038); ?> (call_user_func() issues a warning if function throws an 15639exception). (Marcus)</li> 15640<li><?php bugfix(24608); ?> (__set not triggered when overloading with array). 15641(Stanislav)</li> 15642<li><?php bugfix(24243); ?> (enabling browscap causes segfault). (Wez)</li> 15643</ul> 15644 15645<!-- }}} --></section> 15646 15647<section class="version" id="5.0.0b3"><!-- {{{ 5.0.0b3 --> 15648<h3>Version 5.0.0 Beta 3</h3> 15649<?php release_date('21-Dec-2003'); ?> 15650<ul> 15651<li>Bundled new tidy extension (John, Wez)</li> 15652<li>Upgraded PCRE library to version 4.5. (Andrei)</li> 15653<li>Dropped Windows 95 support. (Andi)</li> 15654<li>Moved extensions to PECL: 15655 <ul> 15656 <li>ext/crack (Jani, Derick)</li> 15657 <li>ext/db (Jani, Derick)</li> 15658 <li>ext/mcal (Jani, Derick)</li> 15659 <li>ext/qtdom (Jani, Derick)</li> 15660 <li>ext/notes (Wez)</li> 15661 </ul></li> 15662<li>Added 'c' modifier to date() which returns the date in the ISO 156638601 format. (Derick, Manuzhai)</li> 15664<li>Added an optional parameter to microtime() to get the time as 15665float. (Andrey)</li> 15666<li>Added MacRoman encoding support to htmlentities(). (Derick, 15667Marcus Bointon)</li> 15668<li>Added possibility to call PHP functions as XSLT-functions. 15669(Christian)</li> 15670<li>Added possibility to prevent PHP from registering variables when 15671input filter. support is used. (Derick)</li> 15672<li>Added iconv stream filter (convert.iconv.*). (Moriyoshi)</li> 15673<li>Added EXSLT support in ext/xsl. (Christian)</li> 15674<li>Added qdbm handler for dba extension. (mg at iceni dot pl, Marcus)</li> 15675<li>Added new functions: 15676 <ul> 15677 <li>dba_key_split() to split inifile keys in an array. (Marcus)</li> 15678 <li>time_nanosleep() signal safe sleep (Magnus, Ilia)</li> 15679 <li>headers_list(). (Sara)</li> 15680 <li>php_strip_whitespace(). strip whitespace & comments from a 15681 script. (Ilia)</li> 15682 <li>php_check_syntax(). check php script for parse errors. (Ilia)</li> 15683 <li>image_type_to_extension(). return extension based on image type. 15684 (Ilia)</li> 15685 <li>stream_socket_sendto() and stream_socket_recvfrom(). (Wez)</li> 15686 <li>iconv_mime_decode_headers(). (Moriyoshi)</li> 15687 <li>get_declared_interfaces(). (Andrey, Marcus)</li> 15688 <li>sqlite_fetch_column_types(). (Ilia)</li> 15689 </ul></li> 15690<li>Added proxy support to http:// wrapper. (Sara)</li> 15691<li>Added rename(), rmdir() and mkdir() support to userstreams. 15692(Sara)</li> 15693<li>Added rename(), rmdir() and mkdir() support to ftp:// wrapper. 15694(Sara)</li> 15695<li>Changed rename(), rmdir() and mkdir() to be routed via streams 15696API. (Sara)</li> 15697<li>Changed stat() and family to be routed via streams API. (Sara)</li> 15698<li>Fixed include_once() / require_once() on Windows to honor 15699case-insensitivity; of files. (Andi)</li> 15700<li>Fixed get_declared_classes() to return only classes. (Andrey, 15701Marcus)</li> 15702<li>Fixed __autoload() to preserve case of the passed class name. 15703(Andi)</li> 15704<li><?php bugfix(26615); ?> () (runekl at opoint dot com, Derick)</li> 15705<li><?php bugfix(26591); ?> ("__autoload threw an exception" during an 15706uncaught). (Marcus)</li> 15707<li><?php bugfix(26534); ?> (stream_get_meta_data() -> Access Violation). 15708(Wez)</li> 15709<li><?php bugfix(26528); ?> (HTML entities are not being decoded by 15710xml_parse()/xml_parse_into_struct()). (Ilia)</li> 15711<li><?php bugfix(26182); ?> (Object properties created redundantly). (Andi)</li> 15712<li><?php bugfix(26156); ?> (REPLACE_ZVAL_VALUE works on uninit stack-based 15713zvals). (Moriyoshi)</li> 15714<li><?php bugfix(26083); ?> (Non-working write support in ext/dom). (Ilia)</li> 15715<li><?php bugfix(26072); ?> (--disable-libxml does not work). (Jani)</li> 15716<li><?php bugfix(26001); ?> (serialize crashes when accessing an overloaded 15717object that has no properties (NULL hashtable)). (Wez)</li> 15718<li><?php bugfix(25664); ?> (COM crashes when calling a Delphi implementations 15719of ITypeInfo). (Wez)</li> 15720<li><?php bugfix(24837); ?> (Incorrect behaviour of PPP using foreach). 15721(Marcus)</li> 15722<li><?php bugfix(24693); ?> (Allow session.use_trans_sid to be 15723enabled/disabled from inside the script). (Ilia)</li> 15724<li><?php bugfix(24394); ?> (Serializing cross-referenced objects causes 15725segfault). (Moriyoshi)</li> 15726</ul> 15727 15728<!-- }}} --></section> 15729 15730<section class="version" id="5.0.0b2"><!-- {{{ 5.0.0b2 --> 15731<h3>Version 5.0.0 Beta 2</h3> 15732<?php release_date('30-Oct-2003'); ?> 15733<ul> 15734<li>Lots and lots of changes in the Zend Engine 2 since beta 1: 15735 <ul> 15736 <li>Added Iterators</li> 15737 <li>Improved memory manager</li> 15738 <li>Added Reflection API</li> 15739 <li>Removed the not so working namespaces support</li> 15740 <li>Removed support for expressions within constant declerations.</li> 15741 <li>You can read about most changes in ZEND_CHANGES under the Zend 15742 directory.</li> 15743 </ul></li> 15744<li>Improved the DBX extension: (Marc) 15745 <ul> 15746 <li>Added DBX_RESULT_UNBUFFERED flag for dbx_query().</li> 15747 <li>Added dbx_fetch_row()</li> 15748 <li>Added SQLite support.</li> 15749 </ul></li> 15750<li>Improved the Interbase extension: (Ard Biesheuvel) 15751 <ul> 15752 <li>Added support for multiple databases into ibase_trans()</li> 15753 <li>Added support for CREATE DATABASE, SET TRANSACTION and EXECUTE 15754 PROCEDURE statements into ibase_query()</li> 15755 <li>Added ibase_commit_ret() and ibase_rollback_ret()</li> 15756 <li>Added ibase_drop_db()</li> 15757 <li>Added ibase_gen_id()</li> 15758 <li>Added ibase_name_result()</li> 15759 <li>Added ibase_errcode()</li> 15760 <li>Added ibase_affected_rows() and ibase_num_params()</li> 15761 <li>Added ibase_param_info()</li> 15762 <li>Added ibase_wait_event()</li> 15763 <li>Added ibase_set_event_handler() and ibase_free_event_handler()</li> 15764 </ul></li> 15765<li>Added new COM extension with integrated .Net support. (Wez)</li> 15766<li>Added new functions: 15767 <ul> 15768 <li>setrawcookie(). (Brian)</li> 15769 <li>pg_version(). (Marcus)</li> 15770 <li>dbase_get_header_info(). (Zak)</li> 15771 <li>snmp_read_mib(). (Jani)</li> 15772 <li>http_build_query(). (Sara)</li> 15773 <li>ftp_alloc(). (Sara)</li> 15774 <li>array_udiff(). (Andrey)</li> 15775 <li>array_udiff_assoc(). (Andrey)</li> 15776 <li>array_udiff_uassoc(). (Andrey)</li> 15777 <li>array_diff_uassoc(). (Andrey)</li> 15778 <li>convert_uuencode(). (Ilia)</li> 15779 <li>convert_uudecode(). (Ilia)</li> 15780 <li>substr_compare(). (Ilia)</li> 15781 <li>pcntl_wait(). (GeorgeS)</li> 15782 </ul></li> 15783<li>Added "resume_pos" context option to "ftp://" wrapper. (Sara)</li> 15784<li>Added optional parameter to OCIWriteTemporaryLob() to specify 15785the type of LOB (Patch by Novicky Marek <novicky@aarongroup.cz>). 15786(Thies)</li> 15787<li>Added reflection API. (Andrei, George, Timm)</li> 15788<li>Changed length parameter in fgetcsv() to be optional. (Moriyoshi)</li> 15789<li>Fixed IPv6 support in MacOSX Panther. (Dan, Marko)</li> 15790<li>Fixed fgetcsv() to correctly handle international (non-ascii) 15791characters. (Moriyoshi)</li> 15792<li>Fixed support for <![CDATA[]]> fields within XML documents 15793in ext/xml. (Sterling)</li> 15794<li>Fixed visibility of __construct and __clone. (Marcus)</li> 15795<li><?php bugfix(26003); ?> (fgetcsv() not binary-safe on null bytes). 15796(Moriyoshi)</li> 15797<li><?php bugfix(25756); ?> (SimpleXML's validate_schema_file() broken). 15798(Moriyoshi)</li> 15799<li><?php bugfix(25581); ?> (getimagesize() returns incorrect values on 15800bitmap (os2) files). (Marcus)</li> 15801<li><?php bugfix(25494); ?> (array_merge*() allows non-arrays as argument). 15802(Jay)</li> 15803<li><?php bugfix(24766); ?> (strange result array from unpack()). (Moriyoshi)</li> 15804<li><?php bugfix(24729); ?> ($obj = new $className; causes crash when 15805$className is not set). (Marcus)</li> 15806<li><?php bugfix(24565); ?> (cannot read array elements received via 15807$_REQUEST). (Zeev)</li> 15808<li><?php bugfix(24445); ?> (get_parent_class() returns different values). 15809(Sterling, Stanislav)</li> 15810<li><?php bugfix(24403); ?> (preg_replace() problem: Using $this when not 15811in object context). (Zeev)</li> 15812<li><?php bugfix(24399); ?> (PEAR DB isError crash [instanceof_function 15813fault?]). (Sterling, Marcus)</li> 15814<li><?php bugfix(24396); ?> (foreach ($k=>$v), the key $k is missing). (Zeev)</li> 15815<li><?php bugfix(24279); ?> (__get() crash when no value is returned). (Ilia)</li> 15816<li><?php bugfix(22367); ?> (undefined variable has a value). (Zeev)</li> 15817<li><?php bugfix(19859); ?> (allow fast_call_user_function to support __call). 15818(Stanislav)</li> 15819<li><?php bugfix(17997); ?> (Warning when switch() and reference are combined). 15820(Zeev)</li> 15821<li><?php bugfix(17988); ?> (strtotime failed to parse postgresql timestamp). 15822(Derick)</li> 15823</ul> 15824 15825<!-- }}} --></section> 15826 15827<section class="version" id="5.0.0b1"><!-- {{{ 5.0.0b1 --> 15828<h3>Version 5.0.0 Beta 1</h3> 15829<?php release_date('29-Jun-2003'); ?> 15830<ul> 15831<li>Switch to using Zend Engine 2, which includes numerous engine level improvements. 15832A full overview may be downloaded from <a href="http://www.zend.com/engine2/ZendEngine-2.0.pdf">http://www.zend.com/engine2/ZendEngine-2.0.pdf</a> (PDF). 15833</li> 15834<li>The SQLite (<a href="http://www.hwaci.com/sw/sqlite/">http://www.hwaci.com/sw/sqlite/</a>) extension is now bundled and 15835enabled by default. (Wez, Marcus, Tal)</li> 15836<li>Improved the speed of internal functions that use callbacks by 40% due to a 15837new internal fast_call_user_function() function. (Sterling)</li> 15838<li>Completely Overhauled XML support (Rob, Sterling, Chregu, Marcus) 15839 <ul> 15840 <li>Brand new Simplexml extension</li> 15841 <li>New DOM extension</li> 15842 <li>New XSL extension</li> 15843 <li>Moved the old DOM-XML and XSLT extensions to PECL</li> 15844 <li>ext/xml can now use both libxml2 and expat to parse XML</li> 15845 <li>Removed bundled expat</li> 15846 </ul> 15847</li> 15848<li>Removed the bundled MySQL client library. (Sterling)</li> 15849<li>New php.ini options: 15850 <ul> 15851 <li>"session.hash_function" and "session.hash_bits_per_character". (Sascha)</li> 15852 <li>"mail.force_extra_paramaters". (Derick)</li> 15853 <li>"register_long_arrays". (Zeev)</li> 15854 </ul> 15855</li> 15856<li>Improved the streams support: (Wez, Sara, Ilia) 15857 <ul> 15858 <li>Improved performance of readfile(), fpassthru() and some internal streams 15859 operations under Win32.</li> 15860 <li>stream_socket_client() - similar to fsockopen(), but more powerful.</li> 15861 <li>stream_socket_server() - Creates a server socket.</li> 15862 <li>stream_socket_accept() - Accept a client connection.</li> 15863 <li>stream_socket_get_name() - Get local or remote name of socket.</li> 15864 <li>stream_copy_to_stream()</li> 15865 <li>stream_get_line() - Reads either the specified number of bytes or until 15866 the ending string is found.</li> 15867 <li>Added context property to userspace streams object.</li> 15868 <li>Added generic crypto interface for streams (supports dynamic loading of 15869 OpenSSL)</li> 15870 <li>Added lightweight streaming input abstraction to the Zend Engine scanners 15871 to provide uniform support for include()'ing data from PHP streams across 15872 all platforms.</li> 15873 <li>Added 'string.base64' stream filter.</li> 15874 <li>Renamed stream_register_wrapper() to stream_wrapper_register().</li> 15875 <li>Added "ftp://" wrapper support to opendir(), stat() and unlink().</li> 15876 <li>Added context options 'method', 'header' and 'content' for "http://" fopen 15877 wrapper.</li> 15878 </ul> 15879</li> 15880<li>Improved the GD extension: (Pierre-Alain Joye, Ilia) 15881 <ul> 15882 <li>imagefilter() - Apply different filters to image. (Only available 15883 with bundled GD library)</li> 15884 <li>Antialiased drawing support: 15885 <ul> 15886 <li>imageantialias() - (de)active antialias</li> 15887 <li>imageline() and imagepolygon() antialias support</li> 15888 </ul> 15889 </li> 15890 </ul> 15891</li> 15892<li>Changed the length parameter in fgetss() to be optional. (Moriyoshi)</li> 15893<li>Changed ini parser to allow for handling of quoted multi-line values. (Ilia)</li> 15894<li>Changed get_extension_funcs() to return list of the built-in Zend Engine 15895functions if "zend" is specified as the module name. (Ilia)</li> 15896<li>Changed array_search() to accept also objects as a needle. (Moriyoshi)</li> 15897<li>Changed ext/mcrypt to require libmcrypt version 2.5.6 or greater. (Derick)</li> 15898<li>Changed uniqid() parameters to be optional and allow any prefix length. (Marcus)</li> 15899<li>Added new iconv functions. (Moriyoshi) 15900 <ul> 15901 <li>iconv_strlen()</li> 15902 <li>iconv_substr()</li> 15903 <li>iconv_strpos()</li> 15904 <li>iconv_strrpos()</li> 15905 <li>iconv_mime_decode()</li> 15906 <li>iconv_mime_encode()</li> 15907 </ul> 15908</li> 15909<li>Added misc. new functions: 15910 <ul> 15911 <li>ldap_sasl_bind(). (peter_c60@hotmail.com, Jani)</li> 15912 <li>imap_getacl(). (Dan, Holger Burbach)</li> 15913 <li>file_put_contents(). (Sterling)</li> 15914 <li>proc_nice() - Changes priority of the current process. (Ilia)</li> 15915 <li>pcntl_getpriority() and pcntl_setpriority(). (Ilia)</li> 15916 <li>idate(), date_sunrise() and date_sunset(). (Moshe Doron)</li> 15917 <li>strpbrk() - Searches a string for a list of characters. (Ilia)</li> 15918 <li>get_headers() - Returns headers sent by the server of the specified URL. (Ilia)</li> 15919 <li>str_split() - Breaks down a string into an array of elements based on length. (Ilia)</li> 15920 <li>array_walk_recursive(). (Ilia)</li> 15921 <li>array_combine(). (Andrey)</li> 15922 </ul> 15923</li> 15924<li>Added optional parameter to get_browser() to make it return an array. (Jay)</li> 15925<li>Added optional parameter to openssl_sign() to specify the hashing algorithm.(scott@planetscott.ca, Derick)</li> 15926<li>Added optional parameter to sha1(), sha1_file(), md5() and md5_file() which 15927makes them return the digest as binary data. (Michael Bretterklieber, Derick)</li> 15928<li>Added optional parameter to mkdir() to make directory creation recursive. (Ilia)</li> 15929<li>Added optional parameter to file() which makes the result array not contain 15930the line endings and to skip empty lines. (Ilia)</li> 15931<li>Added new range() functionality: 15932 <ul> 15933 <li>Support for float modifier. (Ilia)</li> 15934 <li>Detection of numeric values inside strings passed as high & low. (Ilia)</li> 15935 <li>Proper handle the situations where high == low. (Ilia)</li> 15936 <li>Added an optional step parameter. (Jon)</li> 15937 </ul> 15938</li> 15939<li>Added encoding detection feature for expat XML parser. (Adam Dickmeiss, Moriyoshi)</li> 15940<li>Added missing multibyte (unicode) support and numeric entity support to 15941html_entity_decode(). (Moriyoshi)</li> 15942<li>Added IPv6 support to ext/sockets. (Sara)</li> 15943<li>Added input filter support. See README.input_filter for more info. (Rasmus)</li> 15944<li>Added a replace count for str_[i]replace(), see <?php bugl(8218); ?>. (Sara)</li> 15945<li>Fixed is_executable() to be available also on Windows. (Shane)</li> 15946<li>Fixed dirname() and strip_tags() to be binary-safe. (Moriyoshi)</li> 15947<li><?php bugfix(24098); ?> (crash in pathinfo()). (Ilia)</li> 15948<li><?php bugfix(21985); ?> and <?php bugl(22064); ?> (various mb_send_mail() issues). (Moriyoshi)</li> 15949<li><?php bugfix(21600); ?> (Assign by reference function call changes variable 15950contents). (Zeev)</li> 15951</ul> 15952<!-- }}} --></section> 15953 15954<?php 15955 15956changelog_footer(5, $MINOR_VERSIONS); 15957