1PHP NEWS 2||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 315 Sep 2011, PHP 5.4.0 Beta 4- General improvements: 5 . Added callable typehint. (Hannes) 6 . Implemented closure rebinding as parameter to bindTo. (Gustavo Lopes) 7 . Turn on html_errors by default again in php.ini-production like it was in 8 PHP 5.3, but only generate docref links when the docref_root INI setting is 9 not empty. (Derick) 10 . Fixed bug #55378: Binary number literal returns float number though its 11 value is small enough. (Derick) 12 . Added support for SORT_NATURAL and SORT_FLAG_CASE in array 13 sort functions (sort, rsort, ksort, krsort, asort, arsort and 14 array_multisort). FR#55158 (Arpad) 15 . Disable windows CRT warning by default, can be enabled again using the ini 16 directive windows_show_crt_warnings. (Pierre) 17 . Removed support for putenv("TZ=..") for setting the timezone. (Derick) 18 . Removed the timezone guessing algorithm in case the timezone isn't set with 19 date.timezone or date_default_timezone_set(). Instead of a guessed 20 timezone, "UTC" is now used instead. (Derick) 21 22- Improved MySQL extensions: 23 . ext/mysql, mysqli and pdo_mysql now use mysqlnd by default. (Johannes) 24 25- Improved mbstring extension: 26 . Added Shift_JIS/UTF-8 Emoji (pictograms) support. (Rui) 27 . Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004) 28 support. (Rui) 29 . Ill-formed UTF-8 check for security enhancements. (Rui) 30 . Added MacJapanese (Shift_JIS) and gb18030 encoding support. (Rui) 31 . Added encode/decode in hex format to mb_[en|de]code_numericentity(). (Rui) 32 . Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004) 33 support. (Rui) 34 . Added the user user defined area for CP936 and CP950 (Rui). 35 36- Improved Reflection extension: 37 . Added ReflectionClass::newInstanceWithoutConstructor() to create a new 38 instance of a class without invoking its constructor. FR #55490. 39 (Sebastian) 40 41- Improved intl extension: 42 . Fixed bug #55562 (grapheme_substr() returns false on big length). (Stas) 43 44- Improved JSON extension: 45 . Added new json_encode() option JSON_UNESCAPED_UNICODE. FR #53946. 46 (Alexander, Gwynne) 47 48- Improved CLI SAPI: 49 . Added friendly log messages - FR #55109 (Arpad) 50 51- Improved readline extension: 52 . Fixed bug #54450 (Enable callback support when built against libedit). 53 (fedora at famillecollet dot com, Hannes) 54 55- Improved Session extension: 56 . Expose session status via new function, session_status (FR #52982) (Arpad) 57 . Added support for object-oriented session handlers. (Arpad) 58 59- Improved SPL extension: 60 . Immediately reject wrong usages of directories under Spl(Temp)FileObject 61 and friends. (Etienne, Pierre) 62 63- Improved XSL extension: 64 . XSL doesn't stop transformation anymore, if a PHP function can't be called 65 (Christian) 66 6704 Aug 2011, PHP 5.4.0 Alpha 3 68- Added features: 69 . Short array syntax, see UPGRADING guide for full details 70 (rsky0711 at gmail . com, sebastian.deutsch at 9elements . com, Pierre) 71 . Binary numbers format (0b001010). (Jonah dot Harris at gmail dot com) 72 . Support for Class::{expr}() syntax (Pierrick) 73 74- Removed features: 75 . Removed magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase 76 ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept 77 but always return false, set_magic_quotes_runtime raises an 78 E_CORE_ERROR. (Pierrick, Pierre) 79 80- Changed E_ALL to include E_STRICT. (Stas) 81 82- Improved core functions 83 . Fixed bug #55124 (recursive mkdir fails with current (dot) directory in path). 84 (Pierre) 85 86- Improved PHP-FPM SAPI: 87 . Added process.max to control the number of process FPM can fork. FR #55166. 88 (fat) 89 . Dropped restriction of not setting the same value multiple times, the last 90 one holds. (giovanni at giacobbi dot net, fat) 91 92- SPL extension: 93 . Added missing class_uses(..) as pointed out by #55266 (Stefan) 94 . Fixed bug #55287 (spl_classes() not includes CallbackFilter classes) 95 (sasezaki at gmail dot com, salathe) 96 97 9814 Jul 2011, PHP 5.4.0 Alpha 2 99- General improvements: 100 . Zend Signal Handling. (Lucas Nealan,Arnaud Le Blanc,Brian Shire, Ilia) 101 102- Improved Zend Engine 103 . Improved parse error messages. (Felipe) 104 105- Improved CLI SAPI: 106 . Added built-in web server that is intended for testing purpose. 107 (Moriyoshi) 108 109- Improved PHP-FPM SAPI: 110 . Added partial syslog support (on error_log only). FR #52052. (fat) 111 . Lowered default value for Process Manager. FR #54098. (fat) 112 . Enhance security by limiting access to user defined extensions. 113 FR #55181. (fat) 114 115- Improved core functions: 116 . Changed http_response_code() to be able to set a response code. (Kalle) 117 . Fixed crypt_blowfish handling of 8-bit characters. (Stas) (CVE-2011-2483) 118 . Fixed bug#55084 (Function registered by header_register_callback is 119 called only once per process). (Hannes) 120 121- Improved DOM extension: 122 . Added the ability to pass options to loadHTML (Chregu, fxmulder at gmail dot com) 123 124- OpenSSL extension: 125 . Use php's implementation for Windows Crypto API in 126 openssl_random_pseudo_bytes. (Pierre) 127 12820 Jun 2011, PHP 5.4.0 Alpha 1 129- autoconf 2.59+ is now supported (and required) for generating the 130 configure script with ./buildconf. Autoconf 2.60+ is desirable 131 otherwise the configure help order may be incorrect. (Rasmus, Chris Jones) 132 133- Removed legacy features: 134 . break/continue $var syntax. (Dmitry) 135 . Safe mode and all related ini options. (Kalle) 136 . register_globals and register_long_arrays ini options. (Kalle) 137 . import_request_variables(). (Kalle) 138 . allow_call_time_pass_reference. (Pierrick) 139 . define_syslog_variables ini option and its associated function. (Kalle) 140 . highlight.bg ini option. (Kalle) 141 . Session bug compatibility mode (session.bug_compat_42 and 142 session.bug_compat_warn ini options). (Kalle) 143 . session_is_registered(), session_register() and session_unregister() 144 functions. (Kalle) 145 . y2k_compliance ini option. (Kalle) 146 147- Moved extensions to PECL: (Johannes) 148 . ext/sqlite. (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are 149 not affected) 150 151- Changed $_SERVER['REQUEST_TIME'] to include microsecond precision. (Ilia) 152- Changed default value of "default_charset" php.ini option from ISO-8859-1 to 153 UTF-8. (Rasmus) 154- Changed array_combine() to return empty array instead of FALSE when both 155 parameter arrays are empty. FR #34857. (joel.perras@gmail.com) 156- Changed third parameter of preg_match_all() to optional. FR #53238. (Adam) 157- Changed silent casting of null/''/false into an Object when adding 158 a property into a warning. (Scott) 159- <?= is now always available regardless of the short_open_tag setting (Rasmus) 160 161- General improvements: 162 . Added multibyte support by default. Previously php had to be compiled 163 with --enable-zend-multibyte. Now it can be enabled or disabled through 164 zend.multibyte directive in php.ini. (Dmitry) 165 . Removed compile time dependency from ext/mbstring (Dmitry) 166 . Added support for Traits. (Stefan) 167 . Added closure $this support back. (Stas) 168 . Added array dereferencing support. (Felipe) 169 . Added indirect method call through array. FR #47160. (Felipe) 170 . Added support for object references in recursive serialize() calls. 171 FR #36424. (Mike) 172 . Added http_response_code() function. FR #52555. (Paul Dragoonis, Kalle) 173 . Added header_register_callback() which is invoked immediately 174 prior to the sending of headers and after default headers have 175 been added. (Scott) 176 . Added DTrace support. (David Soria Parra) 177 . Improved output layer, see README.NEW-OUTPUT-API for internals. (Mike) 178 . Improved unserialize() performance. 179 (galaxy dot mipt at gmail dot com, Kalle) 180 . Improved unix build system to allow building multiple PHP binary SAPIs and 181 one SAPI module the same time. FR #53271, FR #52410. (Jani) 182 . Added optional argument to debug_backtrace() and debug_print_backtrace() 183 to limit the amount of stack frames returned. (Sebastian, Patrick) 184 . Added stream metadata API support and stream_metadata() stream class 185 handler. (Stas) 186 187- Improved Zend Engine memory usage: (Dmitry) 188 . Replaced zend_function.pass_rest_by_reference by 189 ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags. 190 . Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE 191 in zend_function.fn_flags. 192 . Removed zend_arg_info.required_num_args as it was only needed for internal 193 functions. Now the first arg_info for internal functions (which has special 194 meaning) is represented by zend_internal_function_info structure. 195 . Moved zend_op_array.size, size_var, size_literal, current_brk_cont, 196 backpatch_count into CG(context) as they are used only during compilation. 197 . Moved zend_op_array.start_op into EG(start_op) as it's used only for 198 'interactive' execution of single top-level op-array. 199 . Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in 200 zend_op_array.fn_flags. 201 . op_array.vars array is trimmed (reallocated) during pass_two. 202 . Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED 203 in zend_class_entry.ce_flags. 204 . Reduced the size of zend_class_entry by sharing the same memory space 205 by different information for internal and user classes. 206 See zend_class_entry.info union. 207 . Reduced size of temp_variable. 208 209- Changed the structure of op_array.opcodes. The constant values are moved from 210 opcode operands into a separate literal table. (Dmitry) 211 212- Improved Zend Engine, performance tweaks and optimizations: (Dmitry) 213 . Inlined most probable code-paths for arithmetic operations directly into 214 executor. 215 . Eliminated unnecessary iterations during request startup/shutdown. 216 . Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used. 217 (this may affect opcode caches!) 218 . Improved performance of @ (silence) operator. 219 . Simplified string offset reading. $str[1][0] is now a legal construct. 220 . Added caches to eliminate repeatable run-time bindings of functions, 221 classes, constants, methods and properties. 222 . Added concept of interned strings. All strings constants known at compile 223 time are allocated in a single copy and never changed. 224 . Added an optimization which saves memory and emalloc/efree calls for empty 225 HashTables. (Stas, Dmitry) 226 . ZEND_RECV now always has IS_CV as its result. 227 . ZEND_CATCH now has to be used only with constant class names. 228 . ZEND_FETCH_DIM_? may fetch array and dimension operands in different order. 229 . Simplified ZEND_FETCH_*_R operations. They can't be used with the 230 EXT_TYPE_UNUSED flag any more. This is a very rare and useless case. 231 ZEND_FREE might be required after them instead. 232 . Split ZEND_RETURN into two new instructions ZEND_RETURN and 233 ZEND_RETURN_BY_REF. 234 . Optimized access to global constants using values with pre-calculated 235 hash_values from the literals table. 236 . Optimized access to static properties using executor specialization. 237 A constant class name may be used as a direct operand of ZEND_FETCH_* 238 instruction without previous ZEND_FETCH_CLASS. 239 . zend_stack and zend_ptr_stack allocation is delayed until actual usage. 240 241- Improved CLI SAPI: (Johannes, Moriyoshi) 242 . Added command line option --rz <name> which shows information of the 243 named Zend extension. (Johannes) 244 . Interactive readline shell improvements: (Johannes) 245 . Added "cli.pager" php.ini setting to set a pager for output. 246 . Added "cli.prompt" php.ini setting to configure the shell prompt. 247 . Added shortcut #inisetting=value to change ini settings at run-time. 248 . Changed shell not to terminate on fatal errors. 249 . Interactive shell works with shared readline extension. FR #53878. 250 251- Improved FastCGI SAPI: (Dmitry) 252 . Added apache compatible functions: apache_child_terminate(), 253 getallheaders(), apache_request_headers() and apache_response_headers() 254 . Improved performance of FastCGI request parsing. 255 256- Improved core functions: 257 . number_format() no longer truncates multibyte decimal points and thousand 258 separators to the first byte. FR #53457. (Adam) 259 . Added hex2bin() function. (Scott) 260 261- Improved CURL extension: 262 . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and 263 CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick) 264 265- Improved Date extension: 266 . Added the + modifier to parseFromFormat to allow trailing text in the 267 string to parse without throwing an error. (Stas, Derick) 268 269- Improved DBA extension: 270 . Added Tokyo Cabinet abstract DB support. (Michael Maclean) 271 . Added Berkeley DB 5 support. (Johannes, Chris Jones) 272 273- Improved filesystem functions: 274 . scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value. 275 FR #53407. (Adam) 276 277- Improved HASH extension: 278 . Added Jenkins's one-at-a-time hash support. (Martin Jansen) 279 . Added FNV-1 hash support. (Michael Maclean) 280 . Made Adler32 algorithm faster. FR #53213. (zavasek at yandex dot ru) 281 282- Improved intl extension: 283 . Added Spoofchecker, allows checking for visibly confusable characters and 284 other security issues. (Scott) 285 286- Improved JSON extension: 287 . Added JsonSerializable interface. (Sara) 288 . Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options. 289 (Sara) 290 . Added support for JSON_NUMERIC_CHECK option in json_encode() that converts 291 numeric strings to integers. (Ilia) 292 . Added new json_encode() option JSON_PRETTY_PRINT. FR #44331. (Adam) 293 . Added new json_encode() option JSON_UNESCAPED_SLASHES. FR #49366. (Adam) 294 295- Improved LDAP extension: 296 . Added paged results support. FR #42060. (ando@OpenLDAP.org, 297 iarenuno@eteo.mondragon.edu, jeanseb@au-fil-du.net, remy.saissy@gmail.com) 298 299- Improved MySQL extensions: 300 . MySQL: Deprecated mysql_list_dbs(). FR #50667. (Andrey) 301 . mysqlnd: Added named pipes support. FR #48082. (Andrey) 302 . MySQLi: Added iterator support in MySQLi. mysqli_result implements 303 Traversable. (Andrey, Johannes) 304 . PDO_mysql: Removed support for linking with MySQL client libraries older 305 than 4.1. (Johannes) 306 307- Improved OpenSSL extension: 308 . Added AES support. FR #48632. (yonas dot y at gmail dot com, Pierre) 309 . Added a "no_ticket" SSL context option to disable the SessionTicket TLS 310 extension. FR #53447. (Adam) 311 . Added no padding option to openssl_encrypt()/openssl_decrypt(). (Scott) 312 313- Improved PDO DB-LIB: (Stanley) 314 . Added nextRowset support. 315 . Fixed bug #50755 (PDO DBLIB Fails with OOM). 316 317- Improved PostgreSQL extension: 318 . Added support for "extra" parameter for PGNotify(). 319 (r dot i dot k at free dot fr, Ilia) 320 321- Improved Reflection extension: (Johannes) 322 . Added ReflectionExtension::isTemporary() and 323 ReflectionExtension::isPersistent() methods. 324 . Added ReflectionZendExtension class. 325 . Added ReflectionClass::isCloneable(). (Felipe) 326 327- Improved Session extension: 328 . Added support for storing upload progress feedback in session data. (Arnaud) 329 . Changed session.entropy_file to default to /dev/urandom or /dev/arandom if 330 either is present at compile time. (Rasmus) 331 332- Improved SPL extension: 333 . Added RegexIterator::getRegex() method. (Joshua Thijssen) 334 . Added SplObjectStorage::getHash() hook. (Etienne) 335 . Added CallbackFilterIterator and RecursiveCallbackFilterIterator. (Arnaud) 336 337- Improved XSL extension: 338 . Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to 339 define forbidden operations within XSLT stylesheets, default is not to 340 enable write operations from XSLT. Bug #54446 (Chregu, Nicolas Gregoire) 341 342- Improved ZLIB extension: 343 . Re-implemented non-file related functionality. (Mike) 344 345- Improved SNMP extension (Boris Lytochkin): 346 . Added OO API. FR #53594 (php-snmp rewrite). 347 . Sanitized return values of existing functions. Now it returns FALSE on 348 failure. 349 . Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids 350 upon request. 351 . Introducing unit tests for extension with ~full coverage. 352 IPv6 support. (FR #42918) 353 . Way of representing OID value can now be changed when SNMP_VALUE_OBJECT 354 is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if 355 not specified) or SNMP_VALUE_PLAIN. (FR #54502) 356 . Fixed bugs 357 . #44193 (snmp v3 noAuthNoPriv doesn't work) 358 . #45893 (Snmp buffer limited to 2048 char) 359 . #46065 (snmp_set_quick_print() persists between requests) 360 . #51336 (snmprealwalk (snmp v1) does not handle end of OID tree correctly) 361 . #53862 (snmp_set_oid_output_format does not allow returning to default) 362 363## UNSORTED ## 364 365- Fixed PDO objects binary incompatibility. (Dmitry) 366- Fixed bug #52211 (iconv() returns part of string on error). (Felipe) 367- Fixed bug #55450 (Built in web server not accepting file uploads). (Laruence) 368- Fixed bug #55471 (ZTS build broken with dtrace). (Laruence) 369- Fixed bug #55463 (cli-server missing _SERVER[REMOTE_ADDR]). (Laruence) 370- Fixed bug #55473 (mysql_pconnect leaks file descriptors on reconnect). (Andrey, Laruence) 371- Fixed bug #55423 (cli-server could not output correctly in some case). (Laruence, chobieee at gmail dot com) 372- Fixed bug #55653 (PS crash with libmysql when binding same variable as param and out). (Laruence) 373 374?? ??? 2011, PHP 5.3.9 375 376- Core: 377 . Fixed Bug #55649 (Undefined function Bug()). (Laruence) 378 . Fixed bug #55576: Cannot conditionally move uploaded file without race 379 condition. (Gustavo) 380 . Fixed bug #55366: keys lost when using substr_replace an array. (Arpad) 381 . Fixed bug #55273 (base64_decode() with strict rejects whitespace after 382 pad). (Ilia) 383 . Fixed bug #55510: $_FILES 'name' missing first character after upload. 384 (Arpad) 385 . Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence) 386 . Fixed bug #55504 (Content-Type header is not parsed correctly on 387 HTTP POST request). (Hannes) 388 . Fixed bug #52461 (Incomplete doctype and missing xmlns). 389 (virsacer at web dot de, Pierre) 390 391- Curl: 392 . Fixed bug #54798 (Segfault when CURLOPT_STDERR file pointer is closed 393 before calling curl_exec). (Hannes) 394 . Fixed issues were curl_copy_handle() would sometimes lose copied 395 preferences. (Hannes) 396 397- DateTime: 398 . Fixed bug #48476 (cloning extended DateTime class without calling 399 parent::__constr crashed PHP). (Hannes) 400 401- MySQL: 402 . Fixed bug #55550 (mysql.trace_mode miscounts result sets). (Johannes) 403 404- MySQLi extension: 405 . Fixed bug #55582 (mysqli_num_rows() returns always 0 for unbuffered, when 406 mysqlnd is used). (Andrey) 407 408- mysqlnd 409 . Fixed bug #55609 (mysqlnd cannot be built shared). (Johannes) 410 . Fixed bug #55067 (MySQL doesn't support compression - wrong config option). 411 (Andrey) 412 413- PDO MySQL driver: 414 . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE) 415 (Andrey) 416 417- Phar: 418 . Fixed bug#52013 (Unable to decompress files in a compressed phar). (Hannes) 419 . Fixed bug#53872 (internal corruption of phar). (Hannes) 420 421- Session: 422 . Fixed bug #55267 (session_regenerate_id fails after header sent). (Hannes) 423 424- NSAPI SAPI: 425 . Don't set $_SERVER['HTTPS'] on unsecure connection (bug #55403). (Uwe 426 Schindler) 427 428- SimpleXML: 429 . Reverted the SimpleXML->query() behaviour to returning empty arrays 430 instead of false when no nodes are found as it was since 5.3.3 431 (bug #48601). (chregu, rrichards) 432 433- String: 434 . Fixed bug #55674 (fgetcsv & str_getcsv skip empty fields in some tab-separated 435 records). (Laruence) 436 43723 Aug 2011, PHP 5.3.8 438 439- Core: 440 . Fixed bug #55439 (crypt() returns only the salt for MD5). (Stas) 441 442- OpenSSL: 443 . Reverted a change in timeout handling restoring PHP 5.3.6 behavior, 444 as the new behavior caused mysqlnd SSL connections to hang (#55283). 445 (Pierre, Andrey, Johannes) 446 44718 Aug 2011, PHP 5.3.7 448- Upgraded bundled SQLite to version 3.7.7.1. (Scott) 449- Upgraded bundled PCRE to version 8.12. (Scott) 450 451- Zend Engine: 452 . Fixed bug #55156 (ReflectionClass::getDocComment() returns comment even 453 though the class has none). (Felipe) 454 . Fixed bug #55007 (compiler fail after previous fail). (Felipe) 455 . Fixed bug #54910 (Crash when calling call_user_func with unknown function 456 name). (Dmitry) 457 . Fixed bug #54804 (__halt_compiler and imported namespaces). 458 (Pierrick, Felipe) 459 . Fixed bug #54624 (class_alias and type hint). (Felipe) 460 . Fixed bug #54585 (track_errors causes segfault). (Dmitry) 461 . Fixed bug #54423 (classes from dl()'ed extensions are not destroyed). 462 (Tony, Dmitry) 463 . Fixed bug #54372 (Crash accessing global object itself returned from its 464 __get() handle). (Dmitry) 465 . Fixed bug #54367 (Use of closure causes problem in ArrayAccess). (Dmitry) 466 . Fixed bug #54358 (Closure, use and reference). (Dmitry) 467 . Fixed bug #54262 (Crash when assigning value to a dimension in a non-array). 468 (Dmitry) 469 . Fixed bug #54039 (use() of static variables in lambda functions can break 470 staticness). (Dmitry) 471 472- Core 473 . Updated crypt_blowfish to 1.2. ((CVE-2011-2483) (Solar Designer) 474 . Removed warning when argument of is_a() or is_subclass_of() is not 475 a known class. (Stas) 476 . Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski. 477 . Added PHP_MANDIR constant telling where the manpages were installed into, 478 and an --man-dir argument to php-config. (Hannes) 479 . Fixed a crash inside dtor for error handling. (Ilia) 480 . Fixed buffer overflow on overlog salt in crypt(). (Clément LECIGNE, Stas) 481 . Implemented FR #54459 (Range function accuracy). (Adam) 482 483 . Fixed bug #55399 (parse_url() incorrectly treats ':' as a valid path). 484 (Ilia) 485 . Fixed bug #55339 (Segfault with allow_call_time_pass_reference = Off). 486 (Dmitry) 487 . Fixed bug #55295 [NEW]: popen_ex on windows, fixed possible heap overflow 488 (Pierre) 489 . Fixed bug #55258 (Windows Version Detecting Error). 490 ( xiaomao5 at live dot com, Pierre) 491 . Fixed bug #55187 (readlink returns weird characters when false result). 492 (Pierre) 493 . Fixed bug #55082 (var_export() doesn't escape properties properly). 494 (Gustavo) 495 . Fixed bug #55014 (Compile failure due to improper use of ctime_r()). (Ilia) 496 . Fixed bug #54939 (File path injection vulnerability in RFC1867 File upload 497 filename). (Felipe) Reported by Krzysztof Kotowicz. (CVE-2011-2202) 498 . Fixed bug #54935 php_win_err can lead to crash. (Pierre) 499 . Fixed bug #54924 (assert.* is not being reset upon request shutdown). (Ilia) 500 . Fixed bug #54895 (Fix compiling with older gcc version without need for 501 membar_producer macro). (mhei at heimpold dot de) 502 . Fixed bug #54866 (incorrect accounting for realpath_cache_size). 503 (Dustin Ward) 504 . Fixed bug #54723 (getimagesize() doesn't check the full ico signature). 505 (Scott) 506 . Fixed bug #54721 (Different Hashes on Windows, BSD and Linux on wrong Salt 507 size). (Pierre, os at irj dot ru) 508 . Fixed bug #54580 (get_browser() segmentation fault when browscap ini 509 directive is set through php_admin_value). (Gustavo) 510 . Fixed bug #54332 (Crash in zend_mm_check_ptr // Heap corruption). (Dmitry) 511 . Fixed bug #54305 (Crash in gc_remove_zval_from_buffer). (Dmitry) 512 . Fixed bug #54238 (use-after-free in substr_replace()). (Stas) 513 (CVE-2011-1148) 514 . Fixed bug #54204 (Can't set a value with a PATH section in php.ini). 515 (Pierre) 516 . Fixed bug #54180 (parse_url() incorrectly parses path when ? in fragment). 517 (tomas dot brastavicius at quantum dot lt, Pierrick) 518 . Fixed bug #54137 (file_get_contents POST request sends additional line 519 break). (maurice-php at mertinkat dot net, Ilia) 520 . Fixed bug #53848 (fgetcsv() ignores spaces at beginnings of fields). (Ilia) 521 . Alternative fix for bug #52550, as applied to the round() function (signed 522 overflow), as the old fix impacted the algorithm for numbers with magnitude 523 smaller than 0. (Gustavo) 524 . Fixed bug #53727 (Inconsistent behavior of is_subclass_of with interfaces) 525 (Ralph Schindler, Dmitry) 526 . Fixed bug #52935 (call exit in user_error_handler cause stream relate 527 core). (Gustavo) 528 . Fixed bug #51997 (SEEK_CUR with 0 value, returns a warning). (Ilia) 529 . Fixed bug #50816 (Using class constants in array definition fails). 530 (Pierrick, Dmitry) 531 . Fixed bug #50363 (Invalid parsing in convert.quoted-printable-decode 532 filter). (slusarz at curecanti dot org) 533 . Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent when using 534 TMPDIR on Windows). (Pierre) 535 536- Apache2 Handler SAPI: 537 . Fixed bug #54529 (SAPI crashes on apache_config.c:197). 538 (hebergement at riastudio dot fr) 539 540- CLI SAPI: 541 . Fixed bug #52496 (Zero exit code on option parsing failure). (Ilia) 542 543- cURL extension: 544 . Added ini option curl.cainfo (support for custom cert db). (Pierre) 545 . Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre) 546 . Added support for CURLOPT_MAX_RECV_SPEED_LARGE and 547 CURLOPT_MAX_SEND_SPEED_LARGE. FR #51815. (Pierrick) 548 549- DateTime extension: 550 . Fixed bug where the DateTime object got changed while using date_diff(). 551 (Derick) 552 . Fixed bug #54340 (DateTime::add() method bug). (Adam) 553 . Fixed bug #54316 (DateTime::createFromFormat does not handle trailing '|' 554 correctly). (Adam) 555 . Fixed bug #54283 (new DatePeriod(NULL) causes crash). (Felipe) 556 . Fixed bug #51819 (Case discrepancy in timezone names cause Uncaught 557 exception and fatal error). (Hannes) 558 559- DBA extension: 560 . Supress warning on non-existent file open with Berkeley DB 5.2 (Chris Jones) 561 . Fixed bug #54242 (dba_insert returns true if key already exists). (Felipe) 562 563- Exif extesion: 564 . Fixed bug #54121 (error message format string typo). (Ilia) 565 566- Fileinfo extension: 567 . Fixed bug #54934 (Unresolved symbol strtoull in HP-UX 11.11). (Felipe) 568 569- Filter extension: 570 . Added 3rd parameter to filter_var_array() and filter_input_array() 571 functions that allows disabling addition of empty elements. (Ilia) 572 . Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia) 573 574- Interbase extension: 575 . Fixed bug #54269 (Short exception message buffer causes crash). (Felipe) 576 577- intl extension: 578 . Implemented FR #54561 (Expose ICU version info). (David Zuelke, Ilia) 579 . Implemented FR #54540 (Allow loading of arbitrary resource bundles when 580 fallback is disabled). (David Zuelke, Stas) 581 582- Imap extension: 583 . Fixed bug #55313 (Number of retries not set when params specified). 584 (kevin at kevinlocke dot name) 585 586- json extension: 587 . Fixed bug #54484 (Empty string in json_decode doesn't reset 588 json_last_error()). (Ilia) 589 590- LDAP extension: 591 . Fixed bug #53339 (Fails to build when compilng with gcc 4.5 and DSO 592 libraries). (Clint Byrum, Raphael) 593 594- libxml extension: 595 . Fixed bug #54601 (Removing the doctype node segfaults). (Hannes) 596 . Fixed bug #54440 (libxml extension ignores default context). (Gustavo) 597 598- mbstring extension: 599 . Fixed bug #54494 (mb_substr() mishandles UTF-32LE and UCS-2LE). (Gustavo) 600 601- MCrypt extension: 602 . Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data 603 has been fetched (Windows). (Pierre) 604 . Fixed bug #55169 (mcrypt_create_iv always fails to gather sufficient random 605 data on Windows). (Pierre) 606 607- mysqlnd 608 . Fixed crash when using more than 28,000 bound parameters. Workaround is to 609 set mysqlnd.net_cmd_buffer_size to at least 9000. (Andrey) 610 . Fixed bug #54674 mysqlnd valid_sjis_(head|tail) is using invalid operator 611 and range). (nihen at megabbs dot com, Andrey) 612 613- MySQLi extension: 614 . Fixed bug #55283 (SSL options set by mysqli_ssl_set ignored for MySQLi 615 persistent connections). (Andrey) 616 . Fixed Bug #54221 (mysqli::get_warnings segfault when used in multi queries). 617 (Andrey) 618 619- OpenSSL extension: 620 . openssl_encrypt()/openssl_decrypt() truncated keys of variable length 621 ciphers to the OpenSSL default for the algorithm. (Scott) 622 . On blocking SSL sockets respect the timeout option where possible. 623 (Scott) 624 . Fixed bug #54992 (Stream not closed and error not returned when SSL 625 CN_match fails). (Gustavo, laird_ngrps at dodo dot com dot au) 626 627- Oracle Database extension (OCI8): 628 . Added oci_client_version() returning the runtime Oracle client library 629 version (Chris Jones) 630 631. PCRE extension: 632 . Increased the backtrack limit from 100000 to 1000000 (Rasmus) 633 634- PDO extension: 635 . Fixed bug #54929 (Parse error with single quote in sql comment). (Felipe) 636 . Fixed bug #52104 (bindColumn creates Warning regardless of ATTR_ERRMODE 637 settings). (Ilia) 638 639- PDO DBlib driver: 640 . Fixed bug #54329 (MSSql extension memory leak). 641 (dotslashpok at gmail dot com) 642 . Fixed bug #54167 (PDO_DBLIB returns null on SQLUNIQUE field). 643 (mjh at hodginsmedia dot com, Felipe) 644 645- PDO ODBC driver: 646 . Fixed data type usage in 64bit. (leocsilva at gmail dot com) 647 648- PDO MySQL driver: 649 . Fixed bug #54644 (wrong pathes in php_pdo_mysql_int.h). (Tony, Johannes) 650 . Fixed bug #53782 (foreach throws irrelevant exception). (Johannes, Andrey) 651 . Implemented FR #48587 (MySQL PDO driver doesn't support SSL connections). 652 (Rob) 653 654- PDO PostgreSQL driver: 655 . Fixed bug #54318 (Non-portable grep option used in PDO pgsql 656 configuration). (bwalton at artsci dot utoronto dot ca) 657 658- PDO Oracle driver: 659 . Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci). 660 (jbnance at tresgeek dot net) 661 662- Phar extension: 663 . Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters). 664 (Felipe) 665 666- PHP-FPM SAPI: 667 . Implemented FR #54499 (FPM ping and status_path should handle HEAD request). (fat) 668 . Implemented FR #54172 (Overriding the pid file location of php-fpm). (fat) 669 . Fixed missing Expires and Cache-Control headers for ping and status pages. 670 (fat) 671 . Fixed memory leak. (fat) Reported and fixed by Giovanni Giacobbi. 672 . Fixed wrong value of log_level when invoking fpm with -tt. (fat) 673 . Added xml format to the status page. (fat) 674 . Removed timestamp in logs written by children processes. (fat) 675 . Fixed exit at FPM startup on fpm_resources_prepare() errors. (fat) 676 . Added master rlimit_files and rlimit_core in the global configuration 677 settings. (fat) 678 . Removed pid in debug logs written by chrildren processes. (fat) 679 . Added custom access log (also added per request %CPU and memory 680 mesurement). (fat) 681 . Added a real scoreboard and several improvements to the status page. (fat) 682 683- Reflection extension: 684 . Fixed bug #54347 (reflection_extension does not lowercase module function 685 name). (Felipe, laruence at yahoo dot com dot cn) 686 687- SOAP extension: 688 . Fixed bug #55323 (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION 689 contains itself). (Dmitry) 690 . Fixed bug #54312 (soap_version logic bug). (tom at samplonius dot org) 691 692- Sockets extension: 693 . Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938) 694 Found by Mateusz Kocielski, Marek Kroemeke and Filip Palian. (Felipe) 695 . Changed socket_set_block() and socket_set_nonblock() so they emit warnings 696 on error. (Gustavo) 697 . Fixed bug #51958 (socket_accept() fails on IPv6 server sockets). (Gustavo) 698 699- SPL extension: 700 . Fixed bug #54971 (Wrong result when using iterator_to_array with use_keys 701 on true). (Pierrick) 702 . Fixed bug #54970 (SplFixedArray::setSize() isn't resizing). (Felipe) 703 . Fixed bug #54609 (Certain implementation(s) of SplFixedArray cause hard 704 crash). (Felipe) 705 . Fixed bug #54384 (Dual iterators, GlobIterator, SplFileObject and 706 SplTempFileObject crash when user-space classes don't call the paren 707 constructor). (Gustavo) 708 . Fixed bug #54292 (Wrong parameter causes crash in 709 SplFileObject::__construct()). (Felipe) 710 . Fixed bug #54291 (Crash iterating DirectoryIterator for dir name starting 711 with \0). (Gustavo) 712 . Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator). 713 (Felipe) 714 715- Streams: 716 . Fixed bug #54946 (stream_get_contents infinite loop). (Hannes) 717 . Fixed bug #54623 (Segfault when writing to a persistent socket after 718 closing a copy of the socket). (Gustavo) 719 . Fixed bug #54681 (addGlob() crashes on invalid flags). (Felipe) 720 721 72217 Mar 2011, PHP 5.3.6 723- Upgraded bundled Sqlite3 to version 3.7.4. (Ilia) 724- Upgraded bundled PCRE to version 8.11. (Ilia) 725 726- Zend Engine: 727 . Indirect reference to $this fails to resolve if direct $this is never used 728 in method. (Scott) 729 . Added options to debug backtrace functions. (Stas) 730 . Fixed bug numerous crashes due to setlocale (crash on error, pcre, mysql 731 etc.) on Windows in thread safe mode. (Pierre) 732 . Fixed Bug #53971 (isset() and empty() produce apparently spurious runtime 733 error). (Dmitry) 734 . Fixed Bug #53958 (Closures can't 'use' shared variables by value and by 735 reference). (Dmitry) 736 . Fixed Bug #53629 (memory leak inside highlight_string()). (Hannes, Ilia) 737 . Fixed Bug #51458 (Lack of error context with nested exceptions). (Stas) 738 . Fixed Bug #47143 (Throwing an exception in a destructor causes a fatal 739 error). (Stas) 740 . Fixed bug #43512 (same parameter name can be used multiple times in 741 method/function definition). (Felipe) 742 743- Core: 744 . Added ability to connect to HTTPS sites through proxy with basic 745 authentication using stream_context/http/header/Proxy-Authorization (Dmitry) 746 . Changed default value of ini directive serialize_precision from 100 to 17. 747 (Gustavo) 748 . Fixed bug #54055 (buffer overrun with high values for precision ini 749 setting). (Gustavo) 750 . Fixed bug #53959 (reflection data for fgetcsv out-of-date). (Richard) 751 . Fixed bug #53577 (Regression introduced in 5.3.4 in open_basedir with a 752 trailing forward slash). (lekensteyn at gmail dot com, Pierre) 753 . Fixed bug #53682 (Fix compile on the VAX). (Rasmus, jklos) 754 . Fixed bug #48484 (array_product() always returns 0 for an empty array). 755 (Ilia) 756 . Fixed bug #48607 (fwrite() doesn't check reply from ftp server before 757 exiting). (Ilia) 758 759 760- Calendar extension: 761 . Fixed bug #53574 (Integer overflow in SdnToJulian, sometimes leading to 762 segfault). (Gustavo) 763 764- DOM extension: 765 . Implemented FR #39771 (Made DOMDocument::saveHTML accept an optional DOMNode 766 like DOMDocument::saveXML). (Gustavo) 767 768- DateTime extension: 769 . Fixed a bug in DateTime->modify() where absolute date/time statements had 770 no effect. (Derick) 771 . Fixed bug #53729 (DatePeriod fails to initialize recurrences on 64bit 772 big-endian systems). (Derick, rein@basefarm.no) 773 . Fixed bug #52808 (Segfault when specifying interval as two dates). (Stas) 774 . Fixed bug #52738 (Can't use new properties in class extended from 775 DateInterval). (Stas) 776 . Fixed bug #52290 (setDate, setISODate, setTime works wrong when DateTime 777 created from timestamp). (Stas) 778 . Fixed bug #52063 (DateTime constructor's second argument doesn't have a 779 null default value). (Gustavo, Stas) 780 781- Exif extension: 782 . Fixed bug #54002 (crash on crafted tag, reported by Luca Carettoni). 783 (Pierre) (CVE-2011-0708) 784 785- Filter extension: 786 . Fixed bug #53924 (FILTER_VALIDATE_URL doesn't validate port number). 787 (Ilia, Gustavo) 788 . Fixed bug #53150 (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges). 789 (Ilia) 790 . Fixed bug #52209 (INPUT_ENV returns NULL for set variables (CLI)). (Ilia) 791 . Fixed bug #47435 (FILTER_FLAG_NO_RES_RANGE don't work with ipv6). 792 (Ilia, valli at icsurselva dot ch) 793 794- Fileinfo extension: 795 . Fixed bug #54016 (finfo_file() Cannot determine filetype in archives). 796 (Hannes) 797 798- Gettext 799 . Fixed bug #53837 (_() crashes on Windows when no LANG or LANGUAGE 800 environment variable are set). (Pierre) 801 802- IMAP extension: 803 . Implemented FR #53812 (get MIME headers of the part of the email). (Stas) 804 . Fixed bug #53377 (imap_mime_header_decode() doesn't ignore \t during long 805 MIME header unfolding). (Adam) 806 807- Intl extension: 808 . Fixed bug #53612 (Segmentation fault when using cloned several intl 809 objects). (Gustavo) 810 . Fixed bug #53512 (NumberFormatter::setSymbol crash on bogus $attr values). 811 (Felipe) 812 . Implemented clone functionality for number, date & message formatters. 813 (Stas). 814 815- JSON extension: 816 . Fixed bug #53963 (Ensure error_code is always set during some failed 817 decodings). (Scott) 818 819- mysqlnd 820 . Fixed problem with always returning 0 as num_rows for unbuffered sets. 821 (Andrey, Ulf) 822 823- MySQL Improved extension: 824 . Added 'db' and 'catalog' keys to the field fetching functions (FR #39847). 825 (Kalle) 826 . Fixed buggy counting of affected rows when using the text protocol. The 827 collected statistics were wrong when multi_query was used with mysqlnd 828 (Andrey) 829 . Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL). 830 (Kalle) 831 . Fixed bug #53503 (mysqli::query returns false after successful LOAD DATA 832 query). (Kalle, Andrey) 833 . Fixed bug #53425 (mysqli_real_connect() ignores client flags when built to 834 call libmysql). (Kalle, tre-php-net at crushedhat dot com) 835 836- OpenSSL extension: 837 . Fixed stream_socket_enable_crypto() not honoring the socket timeout in 838 server mode. (Gustavo) 839 . Fixed bug #54060 (Memory leaks when openssl_encrypt). (Pierre) 840 . Fixed bug #54061 (Memory leaks when openssl_decrypt). (Pierre) 841 . Fixed bug #53592 (stream_socket_enable_crypto() busy-waits in client mode). 842 (Gustavo) 843 . Implemented FR #53447 (Cannot disable SessionTicket extension for servers 844 that do not support it) by adding a no_ticket SSL context option. (Adam, 845 Tony) 846 847- PDO MySQL driver: 848 . Fixed bug #53551 (PDOStatement execute segfaults for pdo_mysql driver). 849 (Johannes) 850 . Implemented FR #47802 (Support for setting character sets in DSN strings). 851 (Kalle) 852 853- PDO Oracle driver: 854 . Fixed bug #39199 (Cannot load Lob data with more than 4000 bytes on 855 ORACLE 10). (spatar at mail dot nnov dot ru) 856 857- PDO PostgreSQL driver: 858 . Fixed bug #53517 (segfault in pgsql_stmt_execute() when postgres is down). 859 (gyp at balabit dot hu) 860 861- Phar extension: 862 . Fixed bug #54247 (format-string vulnerability on Phar). (Felipe) 863 (CVE-2011-1153) 864 . Fixed bug #53541 (format string bug in ext/phar). 865 (crrodriguez at opensuse dot org, Ilia) 866 . Fixed bug #53898 (PHAR reports invalid error message, when the directory 867 does not exist). (Ilia) 868 869- PHP-FPM SAPI: 870 . Enforce security in the fastcgi protocol parsing. 871 (ef-lists at email dotde) 872 . Fixed bug #53777 (php-fpm log format now match php_error log format). (fat) 873 . Fixed bug #53527 (php-fpm --test doesn't set a valuable return value). (fat) 874 . Fixed bug #53434 (php-fpm slowlog now also logs the original request). (fat) 875 876- Readline extension: 877 . Fixed bug #53630 (Fixed parameter handling inside readline() function). 878 (jo at feuersee dot de, Ilia) 879 880- Reflection extension: 881 . Fixed bug #53915 (ReflectionClass::getConstant(s) emits fatal error on 882 constants with self::). (Gustavo) 883 884- Shmop extension: 885 . Fixed bug #54193 (Integer overflow in shmop_read()). (Felipe) 886 Reported by Jose Carlos Norte <jose at eyeos dot org> (CVE-2011-1092) 887 888- SNMP extension: 889 . Fixed bug #51336 (snmprealwalk (snmp v1) does not handle end of OID tree 890 correctly). (Boris Lytochkin) 891 892- SOAP extension: 893 . Fixed possible crash introduced by the NULL poisoning patch. 894 (Mateusz Kocielski, Pierre) 895 896- SPL extension: 897 . Fixed memory leak in DirectoryIterator::getExtension() and 898 SplFileInfo::getExtension(). (Felipe) 899 . Fixed bug #53914 (SPL assumes HAVE_GLOB is defined). (Chris Jones) 900 . Fixed bug #53515 (property_exists incorrect on ArrayObject null and 0 901 values). (Felipe) 902 . Fixed bug #49608 (Using CachingIterator on DirectoryIterator instance 903 segfaults). (Felipe) 904 905 . Added SplFileInfo::getExtension(). FR #48767. (Peter Cowburn) 906 907- SQLite3 extension: 908 . Fixed memory leaked introduced by the NULL poisoning patch. 909 (Mateusz Kocielski, Pierre) 910 . Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a 911 reference. (Felipe) 912 . Add SQlite3_Stmt::readonly() for checking if a statement is read only. 913 (Scott) 914 . Implemented FR #53466 (SQLite3Result::columnType() should return false after 915 all of the rows have been fetched). (Scott) 916 917- Streams: 918 . Fixed bug #54092 (Segmentation fault when using HTTP proxy with the FTP 919 wrapper). (Gustavo) 920 . Fixed bug #53913 (Streams functions assume HAVE_GLOB is defined). (Chris 921 Jones) 922 . Fixed bug #53903 (userspace stream stat callback does not separate the 923 elements of the returned array before converting them). (Gustavo) 924 . Implemented FR #26158 (open arbitrary file descriptor with fopen). (Gustavo) 925 926- Tokenizer Extension 927 . Fixed bug #54089 (token_get_all() does not stop after __halt_compiler). 928 (Ilia) 929 930- XSL extension: 931 . Fixed memory leaked introduced by the NULL poisoning patch. 932 (Mateusz Kocielski, Pierre) 933 934- Zip extension: 935 . Added the filename into the return value of stream_get_meta_data(). (Hannes) 936 . Fixed bug #53923 (Zip functions assume HAVE_GLOB is defined). (Adam) 937 . Fixed bug #53893 (Wrong return value for ZipArchive::extractTo()). (Pierre) 938 . Fixed bug #53885 (ZipArchive segfault with FL_UNCHANGED on empty archive). 939 (Stas, Maksymilian Arciemowicz). (CVE-2011-0421) 940 . Fixed bug #53854 (Missing constants for compression type). (Richard, Adam) 941 . Fixed bug #53603 (ZipArchive should quiet stat errors). (brad dot froehle at 942 gmail dot com, Gustavo) 943 . Fixed bug #53579 (stream_get_contents() segfaults on ziparchive streams). 944 (Hannes) 945 . Fixed bug #53568 (swapped memset arguments in struct initialization). 946 (crrodriguez at opensuse dot org) 947 . Fixed bug #53166 (Missing parameters in docs and reflection definition). 948 (Richard) 949 . Fixed bug #49072 (feof never returns true for damaged file in zip). 950 (Gustavo, Richard Quadling) 951 95206 Jan 2011, PHP 5.3.5 953- Fixed Bug #53632 (infinite loop with x87 fpu). (CVE-2010-4645) (Scott, 954 Rasmus) 955 95609 Dec 2010, PHP 5.3.4 957- Upgraded bundled Sqlite3 to version 3.7.3. (Ilia) 958- Upgraded bundled PCRE to version 8.10. (Ilia) 959 960- Security enhancements: 961 . Fixed crash in zip extract method (possible CWE-170). 962 (Maksymilian Arciemowicz, Pierre) 963 . Paths with NULL in them (foo\0bar.txt) are now considered as invalid. 964 (Rasmus) 965 . Fixed a possible double free in imap extension (Identified by Mateusz 966 Kocielski). (CVE-2010-4150). (Ilia) 967 . Fixed NULL pointer dereference in ZipArchive::getArchiveComment. 968 (CVE-2010-3709). (Maksymilian Arciemowicz) 969 . Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre) 970 . Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950). (Pierre) 971 . Fixed symbolic resolution support when the target is a DFS share. (Pierre) 972 . Fixed bug #52929 (Segfault in filter_var with FILTER_VALIDATE_EMAIL with 973 large amount of data) (CVE-2010-3710). (Adam) 974 975- General improvements: 976 . Added stat support for zip stream. (Pierre) 977 . Added follow_location (enabled by default) option for the http stream 978 support. (Pierre) 979 . Improved support for is_link and related functions on Windows. (Pierre) 980 . Added a 3rd parameter to get_html_translation_table. It now takes a charset 981 hint, like htmlentities et al. (Gustavo) 982 983- Implemented feature requests: 984 . Implemented FR #52348, added new constant ZEND_MULTIBYTE to detect 985 zend multibyte at runtime. (Kalle) 986 . Implemented FR #52173, added functions pcntl_get_last_error() and 987 pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud) 988 . Implemented symbolic links support for open_basedir checks. (Pierre) 989 . Implemented FR #51804, SplFileInfo::getLinkTarget on Windows. (Pierre) 990 . Implemented FR #50692, not uploaded files don't count towards 991 max_file_uploads limit. As a side improvement, temporary files are not 992 opened for empty uploads and, in debug mode, 0-length uploads. (Gustavo) 993 994- Improved MySQLnd: 995 . Added new character sets to mysqlnd, which are available in MySQL 5.5 996 (Andrey) 997 998- Improved PHP-FPM SAPI: 999 . Added '-p/--prefix' to php-fpm to use a custom prefix and run multiple 1000 instances. (fat) 1001 . Added custom process title for FPM. (fat) 1002 . Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat) 1003 . Added statistics about listening socket queue length for FPM. 1004 (andrei dot nigmatulin at gmail dot com, fat) 1005 1006- Core: 1007 . Fixed extract() to do not overwrite $GLOBALS and $this when using 1008 EXTR_OVERWRITE. (jorto at redhat dot com) 1009 . Fixed bug in the Windows implementation of dns_get_record, where the two 1010 last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo). 1011 . Changed the $context parameter on copy() to actually have an effect. (Kalle) 1012 . Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8 1013 sequences. (Gustavo) 1014 . Fixed bug #53409 (sleep() returns NULL on Windows). (Pierre) 1015 . Fixed bug #53319 (strip_tags() may strip '<br />' incorrectly). (Felipe) 1016 . Fixed bug #53304 (quot_print_decode does not handle lower-case hex digits). 1017 (Ilia, daniel dot mueller at inexio dot net) 1018 . Fixed bug #53248 (rawurlencode RFC 3986 EBCDIC support misses tilde char). 1019 (Justin Martin) 1020 . Fixed bug #53226 (file_exists fails on big filenames). (Adam) 1021 . Fixed bug #53198 (changing INI setting "from" with ini_set did not have any 1022 effect). (Gustavo) 1023 . Fixed bug #53180 (post_max_size=0 not disabling the limit when the content 1024 type is application/x-www-form-urlencoded or is not registered with PHP). 1025 (gm at tlink dot de, Gustavo) 1026 . Fixed bug #53141 (autoload misbehaves if called from closing session). 1027 (ladislav at marek dot su) 1028 . Fixed bug #53021 (In html_entity_decode, failure to convert numeric entities 1029 with ENT_NOQUOTES and ISO-8859-1). Fixed and extended the fix of 1030 ENT_NOQUOTES in html_entity_decode that had introduced the bug (rev 1031 #185591) to other encodings. Additionaly, html_entity_decode() now doesn't 1032 decode " if ENT_NOQUOTES is given. (Gustavo) 1033 . Fixed bug #52931 (strripos not overloaded with function overloading 1034 enabled). (Felipe) 1035 . Fixed bug #52772 (var_dump() doesn't check for the existence of 1036 get_class_name before calling it). (Kalle, Gustavo) 1037 . Fixed bug #52534 (var_export array with negative key). (Felipe) 1038 . Fixed bug #52327 (base64_decode() improper handling of leading padding in 1039 strict mode). (Ilia) 1040 . Fixed bug #52260 (dns_get_record fails with non-existing domain on Windows). 1041 (a_jelly_doughnut at phpbb dot com, Pierre) 1042 . Fixed bug #50953 (socket will not connect to IPv4 address when the host has 1043 both IPv4 and IPv6 addresses, on Windows). (Gustavo, Pierre) 1044 . Fixed bug #50524 (proc_open on Windows does not respect cwd as it does on 1045 other platforms). (Pierre) 1046 . Fixed bug #49687 (utf8_decode vulnerabilities and deficiencies in the number 1047 of reported malformed sequences). (CVE-2010-3870) (Gustavo) 1048 . Fixed bug #49407 (get_html_translation_table doesn't handle UTF-8). 1049 (Gustavo) 1050 . Fixed bug #48831 (php -i has different output to php --ini). (Richard, 1051 Pierre) 1052 . Fixed bug #47643 (array_diff() takes over 3000 times longer than php 5.2.4). 1053 (Felipe) 1054 . Fixed bug #47168 (printf of floating point variable prints maximum of 40 1055 decimal places). (Ilia) 1056 . Fixed bug #46587 (mt_rand() does not check that max is greater than min). 1057 (Ilia) 1058 . Fixed bug #29085 (bad default include_path on Windows). (Pierre) 1059 . Fixed bug #25927 (get_html_translation_table calls the ' ' instead of 1060 '). (Gustavo) 1061 1062- Zend engine: 1063 . Reverted fix for bug #51176 (Static calling in non-static method behaves 1064 like $this->). (Felipe) 1065 . Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED. 1066 (Kalle) 1067 . Fixed NULL dereference in lex_scan on zend multibyte builds where the script 1068 had a flex incompatible encoding and there was no converter. (Gustavo) 1069 . Fixed covariance of return-by-ref constraints. (Etienne) 1070 . Fixed bug #53305 (E_NOTICE when defining a constant starts with 1071 __COMPILER_HALT_OFFSET__). (Felipe) 1072 . Fixed bug #52939 (zend_call_function does not respect ZEND_SEND_PREFER_REF). 1073 (Dmitry) 1074 . Fixed bug #52879 (Objects unreferenced in __get, __set, __isset or __unset 1075 can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry) 1076 . Fixed bug #52786 (PHP should reset section to [PHP] after ini sections). 1077 (Fedora at famillecollet dot com) 1078 . Fixed bug #52508 (newline problem with parse_ini_file+INI_SCANNER_RAW). 1079 (Felipe) 1080 . Fixed bug #52484 (__set() ignores setting properties with empty names). 1081 (Felipe) 1082 . Fixed bug #52361 (Throwing an exception in a destructor causes invalid 1083 catching). (Dmitry) 1084 . Fixed bug #51008 (Zend/tests/bug45877.phpt fails). (Dmitry) 1085 1086- Build issues: 1087 . Fixed bug #52436 (Compile error if systems do not have stdint.h) 1088 (Sriram Natarajan) 1089 . Fixed bug #50345 (nanosleep not detected properly on some solaris versions). 1090 (Ulf, Tony) 1091 . Fixed bug #49215 (make fails on glob_wrapper). (Felipe) 1092 1093- Calendar extension: 1094 . Fixed bug #52744 (cal_days_in_month incorrect for December 1 BCE). 1095 (gpap at internet dot gr, Adam) 1096 1097- cURL extension: 1098 . Fixed bug #52828 (curl_setopt does not accept persistent streams). 1099 (Gustavo, Ilia) 1100 . Fixed bug #52827 (cURL leaks handle and causes assertion error 1101 (CURLOPT_STDERR)). (Gustavo) 1102 . Fixed bug #52202 (CURLOPT_PRIVATE gets corrupted). (Ilia) 1103 . Fixed bug #50410 (curl extension slows down PHP on Windows). (Pierre) 1104 1105- DateTime extension: 1106 . Fixed bug #53297 (gettimeofday implementation in php/win32/time.c can return 1107 1 million microsecs). (ped at 7gods dot org) 1108 . Fixed bug #52668 (Iterating over a dateperiod twice is broken). (Derick) 1109 . Fixed bug #52454 (Relative dates and getTimestamp increments by one day). 1110 (Derick) 1111 . Fixed bug #52430 (date_parse parse 24:xx:xx as valid time). (Derick) 1112 . Added support for the ( and ) delimiters/separators to 1113 DateTime::createFromFormat(). (Derick) 1114 1115- DBA extension: 1116 . Added Berkeley DB 5.1 support to the DBA extension. (Oracle Corp.) 1117 1118- DOM extension: 1119 . Fixed bug #52656 (DOMCdataSection does not work with splitText). (Ilia) 1120 1121- Filter extension: 1122 . Fixed the filter extension accepting IPv4 octets with a leading 0 as that 1123 belongs to the unsupported "dotted octal" representation. (Gustavo) 1124 . Fixed bug #53236 (problems in the validation of IPv6 addresses with leading 1125 and trailing :: in the filter extension). (Gustavo) 1126 . Fixed bug #50117 (problems in the validation of IPv6 addresses with IPv4 1127 addresses and ::). (Gustavo) 1128 1129- GD extension: 1130 . Fixed bug #53492 (fix crash if anti-aliasing steps are invalid). (Pierre) 1131 1132- GMP extension: 1133 . Fixed bug #52906 (gmp_mod returns negative result when non-negative is 1134 expected). (Stas) 1135 . Fixed bug #52849 (GNU MP invalid version match). (Adam) 1136 1137- Hash extension: 1138 . Fixed bug #51003 (unaligned memory access in ext/hash/hash_tiger.c). 1139 (Mike, Ilia) 1140 1141- Iconv extension: 1142 . Fixed bug #52941 (The 'iconv_mime_decode_headers' function is skipping 1143 headers). (Adam) 1144 . Fixed bug #52599 (iconv output handler outputs incorrect content type 1145 when flags are used). (Ilia) 1146 . Fixed bug #51250 (iconv_mime_decode() does not ignore malformed Q-encoded 1147 words). (Ilia) 1148 1149- Intl extension: 1150 . Fixed crashes on invalid parameters in intl extension. (CVE-2010-4409). 1151 (Stas, Maksymilian Arciemowicz) 1152 . Added support for formatting the timestamp stored in a DateTime object. 1153 (Stas) 1154 . Fixed bug #50590 (IntlDateFormatter::parse result is limited to the integer 1155 range). (Stas) 1156 1157- Mbstring extension: 1158 . Fixed bug #53273 (mb_strcut() returns garbage with the excessive length 1159 parameter). (CVE-2010-4156) (Mateusz Kocielski, Pierre, Moriyoshi) 1160 . Fixed bug #52981 (Unicode casing table was out-of-date. Updated with 1161 UnicodeData-6.0.0d7.txt and included the source of the generator program 1162 with the distribution) (Gustavo). 1163 . Fixed bug #52681 (mb_send_mail() appends an extra MIME-Version header). 1164 (Adam) 1165 1166- MSSQL extension: 1167 . Fixed possible crash in mssql_fetch_batch(). (Kalle) 1168 . Fixed bug #52843 (Segfault when optional parameters are not passed in to 1169 mssql_connect). (Felipe) 1170 1171- MySQL extension: 1172 . Fixed bug #52636 (php_mysql_fetch_hash writes long value into int). 1173 (Kalle, rein at basefarm dot no) 1174 1175- MySQLi extension: 1176 . Fixed bug #52891 (Wrong data inserted with mysqli/mysqlnd when using 1177 mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey) 1178 . Fixed bug #52686 (mysql_stmt_attr_[gs]et argument points to incorrect type). 1179 (rein at basefarm dot no) 1180 . Fixed bug #52654 (mysqli doesn't install headers with structures it uses). 1181 (Andrey) 1182 . Fixed bug #52433 (Call to undefined method mysqli::poll() - must be static). 1183 (Andrey) 1184 . Fixed bug #52417 (MySQLi build failure with mysqlnd on MacOS X). (Andrey) 1185 . Fixed bug #52413 (MySQLi/libmysql build failure on OS X, FreeBSD). (Andrey) 1186 . Fixed bug #52390 (mysqli_report() should be per-request setting). (Kalle) 1187 . Fixed bug #52302 (mysqli_fetch_all does not work with MYSQLI_USE_RESULT). 1188 (Andrey) 1189 . Fixed bug #52221 (Misbehaviour of magic_quotes_runtime (get/set)). (Andrey) 1190 . Fixed bug #45921 (Can't initialize character set hebrew). (Andrey) 1191 1192- MySQLnd: 1193 . Fixed bug #52613 (crash in mysqlnd after hitting memory limit). (Andrey) 1194 1195- ODBC extension: 1196 - Fixed bug #52512 (Broken error handling in odbc_execute). 1197 (mkoegler at auto dot tuwien dot ac dot at) 1198 1199- Openssl extension: 1200 . Fixed possible blocking behavior in openssl_random_pseudo_bytes on Windows. 1201 (Pierre) 1202 . Fixed bug #53136 (Invalid read on openssl_csr_new()). (Felipe) 1203 . Fixed bug #52947 (segfault when ssl stream option capture_peer_cert_chain 1204 used). (Felipe) 1205 1206- Oracle Database extension (OCI8): 1207 . Fixed bug #53284 (Valgrind warnings in oci_set_* functions) (Oracle Corp.) 1208 . Fixed bug #51610 (Using oci_connect causes PHP to take a long time to 1209 exit). Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix 1210 9891199) for this patch to have an effect. (Oracle Corp.) 1211 1212- PCNTL extension: 1213 . Fixed bug #52784 (Race condition when handling many concurrent signals). 1214 (nick dot telford at gmail dot com, Arnaud) 1215 1216- PCRE extension: 1217 . Fixed bug #52971 (PCRE-Meta-Characters not working with utf-8). (Felipe) 1218 . Fixed bug #52732 (Docs say preg_match() returns FALSE on error, but it 1219 returns int(0)). (slugonamission at gmail dot com) 1220 1221- PHAR extension: 1222 . Fixed bug #50987 (unaligned memory access in phar.c). 1223 (geissert at debian dot org, Ilia) 1224 1225- PHP-FPM SAPI: 1226 . Fixed bug #53412 (segfault when using -y). (fat) 1227 . Fixed inconsistent backlog default value (-1) in FPM on many systems. (fat) 1228 . Fixed bug #52501 (libevent made FPM crashed when forking -- libevent has 1229 been removed). (fat) 1230 . Fixed bug #52725 (gcc builtin atomic functions were sometimes used when they 1231 were not available). (fat) 1232 . Fixed bug #52693 (configuration file errors are not logged to stderr). (fat) 1233 . Fixed bug #52674 (FPM Status page returns inconsistent Content-Type 1234 headers). (fat) 1235 . Fixed bug #52498 (libevent was not only linked to php-fpm). (fat) 1236 1237- PDO: 1238 . Fixed bug #52699 (PDO bindValue writes long int 32bit enum). 1239 (rein at basefarm dot no) 1240 . Fixed bug #52487 (PDO::FETCH_INTO leaks memory). (Felipe) 1241 1242- PDO DBLib driver: 1243 . Fixed bug #52546 (pdo_dblib segmentation fault when iterating MONEY values). 1244 (Felipe) 1245 1246- PDO Firebird driver: 1247 . Restored firebird support (VC9 builds only). (Pierre) 1248 . Fixed bug #53335 (pdo_firebird did not implement rowCount()). 1249 (preeves at ibphoenix dot com) 1250 . Fixed bug #53323 (pdo_firebird getAttribute() crash). 1251 (preeves at ibphoenix dot com) 1252 1253- PDO MySQL driver: 1254 . Fixed bug #52745 (Binding params doesn't work when selecting a date inside a 1255 CASE-WHEN). (Andrey) 1256 1257- PostgreSQL extension: 1258 . Fixed bug #47199 (pg_delete() fails on NULL). (ewgraf at gmail dot com) 1259 1260- Reflection extension: 1261 . Fixed ReflectionProperty::isDefault() giving a wrong result for properties 1262 obtained with ReflectionClass::getProperties(). (Gustavo) 1263- Reflection extension: 1264 . Fixed bug #53366 (Reflection doesnt get dynamic property value from 1265 getProperty()). (Felipe) 1266 . Fixed bug #52854 (ReflectionClass::newInstanceArgs does not work for classes 1267 without constructors). (Johannes) 1268 1269- SOAP extension: 1270 . Fixed bug #44248 (RFC2616 transgression while HTTPS request through proxy 1271 with SoapClient object). (Dmitry) 1272 1273- SPL extension: 1274 . Fixed bug #53362 (Segmentation fault when extending SplFixedArray). (Felipe) 1275 . Fixed bug #53279 (SplFileObject doesn't initialise default CSV escape 1276 character). (Adam) 1277 . Fixed bug #53144 (Segfault in SplObjectStorage::removeAll()). (Felipe) 1278 . Fixed bug #53071 (SPLObjectStorage defeats gc_collect_cycles). (Gustavo) 1279 . Fixed bug #52573 (SplFileObject::fscanf Segmentation fault). (Felipe) 1280 . Fixed bug #51763 (SplFileInfo::getType() does not work symbolic link 1281 and directory). (Pierre) 1282 . Fixed bug #50481 (Storing many SPLFixedArray in an array crashes). (Felipe) 1283 . Fixed bug #50579 (RegexIterator::REPLACE doesn't work). (Felipe) 1284 1285- SQLite3 extension: 1286 . Fixed bug #53463 (sqlite3 columnName() segfaults on bad column_number). 1287 (Felipe) 1288 1289- Streams: 1290 . Fixed forward stream seeking emulation in streams that don't support seeking 1291 in situations where the read operation gives back less data than requested 1292 and when there was data in the buffer before the emulation started. Also 1293 made more consistent its behavior -- should return failure every time less 1294 data than was requested was skipped. (Gustavo) 1295 . Fixed bug #53241 (stream casting that relies on fdopen/fopencookie fails 1296 with streams opened with, inter alia, the 'xb' mode). (Gustavo) 1297 . Fixed bug #53006 (stream_get_contents has an unpredictable behavior when the 1298 underlying stream does not support seeking). (Gustavo) 1299 . Fixed bug #52944 (Invalid write on second and subsequent reads with an 1300 inflate filter fed invalid data). (Gustavo) 1301 . Fixed bug #52820 (writes to fopencookie FILE* not commited when seeking the 1302 stream). (Gustavo) 1303 1304- WDDX extension: 1305 . Fixed bug #52468 (wddx_deserialize corrupts integer field value when left 1306 empty). (Felipe) 1307 1308- Zlib extension: 1309 . Fixed bug #52926 (zlib fopen wrapper does not use context). (Gustavo) 1310 131122 Jul 2010, PHP 5.3.3 1312- Upgraded bundled sqlite to version 3.6.23.1. (Ilia) 1313- Upgraded bundled PCRE to version 8.02. (Ilia) 1314 1315- Added support for JSON_NUMERIC_CHECK option in json_encode() that converts 1316 numeric strings to integers. (Ilia) 1317- Added stream_set_read_buffer, allows to set the buffer for read operation. 1318 (Pierre) 1319- Added stream filter support to mcrypt extension (ported from 1320 mcrypt_filter). (Stas) 1321- Added full_special_chars filter to ext/filter. (Rasmus) 1322- Added backlog socket context option for stream_socket_server(). (Mike) 1323- Added fifth parameter to openssl_encrypt()/openssl_decrypt() 1324 (string $iv) to use non-NULL IV. 1325 Made implicit use of NULL IV a warning. (Sara) 1326- Added openssl_cipher_iv_length(). (Sara) 1327- Added FastCGI Process Manager (FPM) SAPI. (Tony) 1328- Added recent Windows versions to php_uname and fix undefined windows 1329 version support. (Pierre) 1330- Added Berkeley DB 5 support to the DBA extension. (Johannes, Chris Jones) 1331- Added support for copy to/from array/file for pdo_pgsql extension. 1332 (Denis Gasparin, Ilia) 1333- Added inTransaction() method to PDO, with specialized support for Postgres. 1334 (Ilia, Denis Gasparin) 1335 1336- Changed namespaced classes so that the ctor can only be named 1337 __construct now. (Stas) 1338- Reset error state in PDO::beginTransaction() reset error state. (Ilia) 1339 1340- Implemented FR#51295 (SQLite3::busyTimeout not existing). (Mark) 1341- Implemented FR#35638 (Adding udate to imap_fetch_overview results). 1342 (Charles_Duffy at dell dot com ) 1343- Rewrote var_export() to use smart_str rather than output buffering, prevents 1344 data disclosure if a fatal error occurs (CVE-2010-2531). (Scott) 1345- Fixed possible buffer overflows in mysqlnd_list_fields, mysqlnd_change_user. 1346 (Andrey) 1347- Fixed possible buffer overflows when handling error packets in mysqlnd. 1348 Reported by Stefan Esser. (Andrey) 1349- Fixed very rare memory leak in mysqlnd, when binding thousands of columns. 1350 (Andrey) 1351- Fixed a crash when calling an inexistent method of a class that inherits 1352 PDOStatement if instantiated directly instead of doing by the PDO methods. 1353 (Felipe) 1354 1355- Fixed memory leak on error in mcrypt_create_iv on Windows. (Pierre) 1356- Fixed a possible crash because of recursive GC invocation. (Dmitry) 1357- Fixed a possible resource destruction issues in shm_put_var(). 1358 Reported by Stefan Esser. (Dmitry) 1359- Fixed a possible information leak because of interruption of XOR operator. 1360 Reported by Stefan Esser. (Dmitry) 1361- Fixed a possible memory corruption because of unexpected call-time pass by 1362 refernce and following memory clobbering through callbacks. 1363 Reported by Stefan Esser. (Dmitry) 1364- Fixed a possible memory corruption in ArrayObject::uasort(). Reported by 1365 Stefan Esser. (Dmitry) 1366- Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser. 1367 (Dmitry) 1368- Fixed a possible memory corruption in pack(). Reported by Stefan Esser. 1369 (Dmitry) 1370- Fixed a possible memory corruption in substr_replace(). Reported by Stefan 1371 Esser. (Dmitry) 1372- Fixed a possible memory corruption in addcslashes(). Reported by Stefan 1373 Esser. (Dmitry) 1374- Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan 1375 Esser. (Ilia) 1376- Fixed a possible dechunking filter buffer overflow. Reported by Stefan Esser. 1377 (Pierre) 1378- Fixed a possible arbitrary memory access inside sqlite extension. Reported 1379 by Mateusz Kocielski. (Ilia) 1380- Fixed string format validation inside phar extension. Reported by Stefan 1381 Esser. (Ilia) 1382- Fixed handling of session variable serialization on certain prefix 1383 characters. Reported by Stefan Esser. (Ilia) 1384- Fixed a NULL pointer dereference when processing invalid XML-RPC 1385 requests (Fixes CVE-2010-0397, bug #51288). (Raphael Geissert) 1386- Fixed 64-bit integer overflow in mhash_keygen_s2k(). (Clément LECIGNE, Stas) 1387- Fixed SplObjectStorage unserialization problems (CVE-2010-2225). (Stas) 1388- Fixed the mail.log ini setting when no filename was given. (Johannes) 1389 1390- Fixed bug #52317 (Segmentation fault when using mail() on a rhel 4.x (only 64 1391 bit)). (Adam) 1392- Fixed bug #52262 (json_decode() shows no errors on invalid UTF-8). 1393 (Scott) 1394- Fixed bug #52240 (hash_copy() does not copy the HMAC key, causes wrong 1395 results and PHP crashes). (Felipe) 1396- Fixed bug #52238 (Crash when an Exception occured in iterator_to_array). 1397 (Johannes) 1398- Fixed bug #52193 (converting closure to array yields empty array). (Felipe) 1399- Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for 1400 function aliases). (Felipe) 1401- Fixed bug #52162 (custom request header variables with numbers are removed). 1402 (Sriram Natarajan) 1403- Fixed bug #52160 (Invalid E_STRICT redefined constructor error). (Felipe) 1404- Fixed bug #52138 (Constants are parsed into the ini file for section names). 1405 (Felipe) 1406- Fixed bug #52115 (mysqli_result::fetch_all returns null, not an empty array). 1407 (Andrey) 1408- Fixed bug #52101 (dns_get_record() garbage in 'ipv6' field on Windows). 1409 (Pierre) 1410- Fixed bug #52082 (character_set_client & character_set_connection reset after 1411 mysqli_change_user()). (Andrey) 1412- Fixed bug #52043 (GD doesn't recognize latest libJPEG versions). 1413 (php at group dot apple dot com, Pierre) 1414- Fixed bug #52041 (Memory leak when writing on uninitialized variable returned 1415 from function). (Dmitry) 1416- Fixed bug #52060 (Memory leak when passing a closure to method_exists()). 1417 (Felipe) 1418- Fixed bug #52057 (ReflectionClass fails on Closure class). (Felipe) 1419- Fixed bug #52051 (handling of case sensitivity of old-style constructors 1420 changed in 5.3+). (Felipe) 1421- Fixed bug #52037 (Concurrent builds fail in install-programs). (seanius at 1422 debian dot org, Kalle) 1423- Fixed bug #52019 (make lcov doesn't support TESTS variable anymore). (Patrick) 1424- Fixed bug #52010 (open_basedir restrictions mismatch on vacuum command). 1425 (Ilia) 1426- Fixed bug #52001 (Memory allocation problems after using variable variables). 1427 (Dmitry) 1428- Fixed bug #51991 (spl_autoload and *nix support with namespace). (Felipe) 1429- Fixed bug #51943 (AIX: Several files are out of ANSI spec). (Kalle, 1430 coreystup at gmail dot com) 1431- Fixed bug #51911 (ReflectionParameter::getDefaultValue() memory leaks with 1432 constant array). (Felipe) 1433- Fixed bug #51905 (ReflectionParameter fails if default value is an array 1434 with an access to self::). (Felipe) 1435- Fixed bug #51899 (Parse error in parse_ini_file() function when empy value 1436 followed by no newline). (Felipe) 1437- Fixed bug #51844 (checkdnsrr does not support types other than MX). (Pierre) 1438- Fixed bug #51827 (Bad warning when register_shutdown_function called with 1439 wrong num of parameters). (Felipe) 1440- Fixed bug #51822 (Segfault with strange __destruct() for static class 1441 variables). (Dmitry) 1442- Fixed bug #51791 (constant() aborts execution when fail to check undefined 1443 constant). (Felipe) 1444- Fixed bug #51732 (Fileinfo __construct or open does not work with NULL). 1445 (Pierre) 1446- Fixed bug #51725 (xmlrpc_get_type() returns true on invalid dates). (Mike) 1447- Fixed bug #51723 (Content-length header is limited to 32bit integer with 1448 Apache2 on Windows). (Pierre) 1449- Fixed bug #51721 (mark DOMNodeList and DOMNamedNodeMap as Traversable). 1450 (David Zuelke) 1451- Fixed bug #51712 (Test mysql_mysqlnd_read_timeout_long must fail on MySQL4). 1452 (Andrey) 1453- Fixed bug #51697 (Unsafe operations in free_storage of SPL iterators, 1454 causes crash during shutdown). (Etienne) 1455- Fixed bug #51690 (Phar::setStub looks for case-sensitive 1456 __HALT_COMPILER()). (Ilia) 1457- Fixed bug #51688 (ini per dir crashes when invalid document root are given). 1458 (Pierre) 1459- Fixed bug #51671 (imagefill does not work correctly for small images). 1460 (Pierre) 1461- Fixed bug #51670 (getColumnMeta causes segfault when re-executing query 1462 after calling nextRowset). (Pierrick) 1463- Fixed bug #51647 Certificate file without private key (pk in another file) 1464 doesn't work. (Andrey) 1465- Fixed bug #51629 (CURLOPT_FOLLOWLOCATION error message is misleading). 1466 (Pierre) 1467- Fixed bug #51627 (script path not correctly evaluated). 1468 (russell dot tempero at rightnow dot com) 1469- Fixed bug #51624 (Crash when calling mysqli_options()). (Felipe) 1470- Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML). (Felipe) 1471- Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter). 1472 (Felipe) 1473- Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string 1474 literal). (cbandy at jbandy dot com) 1475- Fixed bug #51607 (pg_copy_from does not allow schema in the tablename 1476 argument). (cbandy at jbandy dot com) 1477- Fixed bug #51605 (Mysqli - zombie links). (Andrey) 1478- Fixed bug #51604 (newline in end of header is shown in start of message). 1479 (Daniel Egeberg) 1480- Fixed bug #51590 (JSON_ERROR_UTF8 is undefined). (Felipe) 1481- Fixed bug #51583 (Bus error due to wrong alignment in mysqlnd). (Rainer Jung) 1482- Fixed bug #51582 (Don't assume UINT64_C it's ever available). 1483 (reidrac at usebox dot net, Pierre) 1484- Fixed bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) 1485 (Oracle Corp.) 1486- Fixed bug #51562 (query timeout in mssql can not be changed per query). 1487 (ejsmont dot artur at gmail dot com) 1488- Fixed bug #51552 (debug_backtrace() causes segmentation fault and/or memory 1489 issues). (Dmitry) 1490- Fixed bug #51445 (var_dump() invalid/slow *RECURSION* detection). (Felipe) 1491- Fixed bug #51435 (Missing ifdefs / logic bug in crypt code cause compile 1492 errors). (Felipe) 1493- Fixed bug #51424 (crypt() function hangs after 3rd call). (Pierre, Sriram) 1494- Fixed bug #51394 (Error line reported incorrectly if error handler throws an 1495 exception). (Stas) 1496- Fixed bug #51393 (DateTime::createFromFormat() fails if format string contains 1497 timezone). (Adam) 1498- Fixed bug #51347 (mysqli_close / connection memory leak). (Andrey, Johannes) 1499- Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is 1500 on). (Ilia, j dot jeising at gmail dot com) 1501- Fixed bug #51291 (oci_error doesn't report last error when called two times) 1502 (Oracle Corp.) 1503- Fixed bug #51276 (php_load_extension() is missing when HAVE_LIBDL is 1504 undefined). (Tony) 1505- Fixed bug #51273 (Faultstring property does not exist when the faultstring is 1506 empty) (Ilia, dennis at transip dot nl) 1507- Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). (Adam) 1508- Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl 1509 version 7.10.1). (aron dot ujvari at microsec dot hu) 1510- Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, 1511 but 0). (Adam) 1512- Fixed bug #51237 (milter SAPI crash on startup). (igmar at palsenberg dot com) 1513- Fixed bug #51213 (pdo_mssql is trimming value of the money column). (Ilia, 1514 alexr at oplot dot com) 1515- Fixed bug #51190 (ftp_put() returns false when transfer was successful). 1516 (Ilia) 1517- Fixed bug #51183 (ext/date/php_date.c fails to compile with Sun Studio). 1518 (Sriram Natarajan) 1519- Fixed bug #51176 (Static calling in non-static method behaves like $this->). 1520 (Felipe) 1521- Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when 1522 an invalid option is provided). (Ilia) 1523- Fixed bug #51128 (imagefill() doesn't work with large images). (Pierre) 1524- Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when 1525 parsing date strings). (Derick) 1526- Fixed bug #51086 (DBA DB4 doesn't work with Berkeley DB 4.8). (Chris Jones) 1527- Fixed bug #51062 (DBA DB4 uses mismatched headers and libraries). (Chris 1528 Jones) 1529- Fixed bug #51026 (mysqli_ssl_set not working). (Andrey) 1530- Fixed bug #51023 (filter doesn't detect int overflows with GCC 4.4). 1531 (Raphael Geissert) 1532- Fixed bug #50999 (unaligned memory access in dba_fetch()). (Felipe) 1533- Fixed bug #50976 (Soap headers Authorization not allowed). 1534 (Brain France, Dmitry) 1535- Fixed bug #50828 (DOMNotation is not subclass of DOMNode). (Rob) 1536- Fixed bug #50810 (property_exists does not work for private). (Felipe) 1537- Fixed bug #50762 (in WSDL mode Soap Header handler function only being called 1538 if defined in WSDL). (mephius at gmail dot com) 1539- Fixed bug #50731 (Inconsistent namespaces sent to functions registered with 1540 spl_autoload_register). (Felipe) 1541- Fixed bug #50563 (removing E_WARNING from parse_url). (ralph at smashlabs dot 1542 com, Pierre) 1543- Fixed bug #50578 (incorrect shebang in phar.phar). (Fedora at FamilleCollet 1544 dot com) 1545- Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format 1546 character). (Derick) 1547- Fixed bug #50383 (Exceptions thrown in __call / __callStatic do not include 1548 file and line in trace). (Felipe) 1549- Fixed bug #50358 (Compile failure compiling ext/phar/util.lo). (Felipe) 1550- Fixed bug #50101 (name clash between global and local variable). 1551 (patch by yoarvi at gmail dot com) 1552- Fixed bug #50055 (DateTime::sub() allows 'relative' time modifications). 1553 (Derick) 1554- Fixed bug #51002 (fix possible memory corruption with very long names). 1555 (Pierre) 1556- Fixed bug #49893 (Crash while creating an instance of Zend_Mail_Storage_Pop3). 1557 (Dmitry) 1558- Fixed bug #49819 (STDOUT losing data with posix_isatty()). (Mike) 1559- Fixed bug #49778 (DateInterval::format("%a") is always zero when an interval 1560 is created from an ISO string). (Derick) 1561- Fixed bug #49700 (memory leaks in php_date.c if garbage collector is 1562 enabled). (Dmitry) 1563- Fixed bug #49576 (FILTER_VALIDATE_EMAIL filter needs updating) (Rasmus) 1564- Fixed bug #49490 (XPath namespace prefix conflict). (Rob) 1565- Fixed bug #49429 (odbc_autocommit doesn't work). (Felipe) 1566- Fixed bug #49320 (PDO returns null when SQLite connection fails). (Felipe) 1567- Fixed bug #49234 (mysqli_ssl_set not found). (Andrey) 1568- Fixed bug #49216 (Reflection doesn't seem to work properly on MySqli). 1569 (Andrey) 1570- Fixed bug #49192 (PHP crashes when GC invoked on COM object). (Stas) 1571- Fixed bug #49081 (DateTime::diff() mistake if start in January and interval > 1572 28 days). (Derick) 1573- Fixed bug #49059 (DateTime::diff() repeats previous sub() operation). 1574 (yoarvi@gmail.com, Derick) 1575- Fixed bug #48983 (DomDocument : saveHTMLFile wrong charset). (Rob) 1576- Fixed bug #48930 (__COMPILER_HALT_OFFSET__ incorrect in PHP >= 5.3). (Felipe) 1577- Fixed bug #48902 (Timezone database fallback map is outdated). (Derick) 1578- Fixed bug #48781 (Cyclical garbage collector memory leak). (Dmitry) 1579- Fixed bug #48601 (xpath() returns FALSE for legitimate query). (Rob) 1580- Fixed bug #48361 (SplFileInfo::getPathInfo should return the 1581 parent dir). (Etienne) 1582- Fixed bug #48289 (iconv_mime_encode() quoted-printable scheme is broken). 1583 (Adam, patch from hiroaki dot kawai at gmail dot com). 1584- Fixed bug #47842 (sscanf() does not support 64-bit values). (Mike) 1585- Fixed bug #46111 (Some timezone identifiers can not be parsed). (Derick) 1586- Fixed bug #45808 (stream_socket_enable_crypto() blocks and eats CPU). 1587 (vincent at optilian dot com) 1588- Fixed bug #43233 (sasl support for ldap on Windows). (Pierre) 1589- Fixed bug #35673 (formatOutput does not work with saveHTML). (Rob) 1590- Fixed bug #33210 (getimagesize() fails to detect width/height on certain 1591 JPEGs). (Ilia) 1592 159304 Mar 2010, PHP 5.3.2 1594 1595- Upgraded bundled sqlite to version 3.6.22. (Ilia) 1596- Upgraded bundled libmagic to version 5.03. (Mikko) 1597- Upgraded bundled PCRE to version 8.00. (Scott) 1598- Updated timezone database to version 2010.3. (Derick) 1599 1600- Improved LCG entropy. (Rasmus, Samy Kamkar) 1601- Improved crypt support for edge cases (UFC compatibility). (Solar Designer, 1602 Joey, Pierre) 1603 1604- Reverted fix for bug #49521 (PDO fetchObject sets values before calling 1605 constructor). (Pierrick, Johannes) 1606 1607- Changed gmp_strval() to use full range from 2 to 62, and -2 to -36. FR #50283 1608 (David Soria Parra) 1609- Changed "post_max_size" php.ini directive to allow unlimited post size by 1610 setting it to 0. (Rasmus) 1611- Changed tidyNode class to disallow manual node creation. (Pierrick) 1612 1613- Removed automatic file descriptor unlocking happening on shutdown and/or 1614 stream close (on all OSes). (Tony, Ilia) 1615 1616- Added libpng 1.4.0 support. (Pierre) 1617- Added support for DISABLE_AUTHENTICATOR for imap_open. (Pierre) 1618- Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL. 1619 (Ilia) 1620- Added stream_resolve_include_path(). (Mikko) 1621- Added INTERNALDATE support to imap_append. (nick at mailtrust dot com) 1622- Added support for SHA-256 and SHA-512 to php's crypt. (Pierre) 1623- Added realpath_cache_size() and realpath_cache_get() functions. (Stas) 1624- Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia) 1625- Added protection for $_SESSION from interrupt corruption and improved 1626 "session.save_path" check. (Stas) 1627- Added LIBXML_PARSEHUGE constant to override the maximum text size of a 1628 single text node when using libxml2.7.3+. (Kalle) 1629- Added ReflectionMethod::setAccessible() for invoking non-public methods 1630 through the Reflection API. (Sebastian) 1631- Added Collator::getSortKey for intl extension. (Stas) 1632- Added support for CURLOPT_POSTREDIR. FR #49571. (Sriram Natarajan) 1633- Added support for CURLOPT_CERTINFO. FR #49253. 1634 (Linus Nielsen Feltzing <linus@haxx.se>) 1635- Added client-side server name indication support in openssl. (Arnaud) 1636 1637- Improved fix for bug #50006 (Segfault caused by uksort()). (Stas) 1638 1639- Fixed mysqlnd hang when queries exactly 16777214 bytes long are sent. (Andrey) 1640- Fixed incorrect decoding of 5-byte BIT sequences in mysqlnd. (Andrey) 1641- Fixed error_log() to be binary safe when using message_type 3. (Jani) 1642- Fixed unnecessary invocation of setitimer when timeouts have been disabled. 1643 (Arvind Srinivasan) 1644- Fixed memory leak in extension loading when an error occurs on Windows. 1645 (Pierre) 1646- Fixed safe_mode validation inside tempnam() when the directory path does 1647 not end with a /). (Martin Jansen) 1648- Fixed a possible open_basedir/safe_mode bypass in session extension 1649 identified by Grzegorz Stachowiak. (Ilia) 1650- Fixed possible crash when a error/warning is raised during php startup. 1651 (Pierre) 1652- Fixed possible bad behavior of rename on windows when used with symbolic 1653 links or invalid paths. (Pierre) 1654- Fixed error output to stderr on Windows. (Pierre) 1655- Fixed memory leaks in is_writable/readable/etc on Windows. (Pierre) 1656- Fixed memory leaks in the ACL function on Windows. (Pierre) 1657- Fixed memory leak in the realpath cache on Windows. (Pierre) 1658- Fixed memory leak in zip_close. (Pierre) 1659- Fixed crypt's blowfish sanity check of the "setting" string, to reject 1660 iteration counts encoded as 36 through 39. (Solar Designer, Joey, Pierre) 1661 1662- Fixed bug #51059 (crypt crashes when invalid salt are given). (Pierre) 1663- Fixed bug #50952 (allow underscore _ in constants parsed in php.ini files). 1664 (Jani) 1665- Fixed bug #50940 (Custom content-length set incorrectly in Apache SAPIs). 1666 (Brian France, Rasmus) 1667- Fixed bug #50930 (Wrong date by php_date.c patch with ancient gcc/glibc 1668 versions). (Derick) 1669- Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in *NIX). 1670 (Ilia) 1671- Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation). 1672 (Ilia, hanno at hboeck dot de) 1673- Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes 1674 long). (Ilia) 1675- Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored). 1676 (Ilia) 1677- Fixed bug #50832 (HTTP fopen wrapper does not support passwordless HTTP 1678 authentication). (Jani) 1679- Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams). 1680 (vnegrier at optilian dot com, Ilia) 1681- Fixed bug #50761 (system.multiCall crashes in xmlrpc extension). 1682 (hiroaki dot kawai at gmail dot com, Ilia) 1683- Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist). (Sriram) 1684- Fixed bug #50732 (exec() adds single byte twice to $output array). (Ilia) 1685- Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0). 1686 (Joey, Ilia) 1687- Fixed bug #50723 (Bug in garbage collector causes crash). (Dmitry) 1688- Fixed bug #50690 (putenv does not set ENV when the value is only one char). 1689 (Pierre) 1690- Fixed bug #50680 (strtotime() does not support eighth ordinal number). (Ilia) 1691- Fixed bug #50661 (DOMDocument::loadXML does not allow UTF-16). (Rob) 1692- Fixed bug #50657 (copy() with an empty (zero-byte) HTTP source succeeds but 1693 returns false). (Ilia) 1694- Fixed bug #50636 (MySQLi_Result sets values before calling constructor). 1695 (Pierrick) 1696- Fixed bug #50632 (filter_input() does not return default value if the 1697 variable does not exist). (Ilia) 1698- Fixed bug #50576 (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick) 1699- Fixed bug #50558 (Broken object model when extending tidy). (Pierrick) 1700- Fixed bug #50540 (Crash while running ldap_next_reference test cases). 1701 (Sriram) 1702- Fixed bug #50519 (segfault in garbage collection when using set_error_handler 1703 and DomDocument). (Dmitry) 1704- Fixed bug #50508 (compile failure: Conflicting HEADER type declarations). 1705 (Jani) 1706- Fixed bug #50496 (Use of <stdbool.h> is valid only in a c99 compilation 1707 environment. (Sriram) 1708- Fixed bug #50464 (declare encoding doesn't work within an included file). 1709 (Felipe) 1710- Fixed bug #50458 (PDO::FETCH_FUNC fails with Closures). (Felipe, Pierrick) 1711- Fixed bug #50445 (PDO-ODBC stored procedure call from Solaris 64-bit causes 1712 seg fault). (davbrown4 at yahoo dot com, Felipe) 1713- Fixed bug #50416 (PROCEDURE db.myproc can't return a result set in the given 1714 context). (Andrey) 1715- Fixed bug #50394 (Reference argument converted to value in __call). (Stas) 1716- Fixed bug #50351 (performance regression handling objects, ten times slower 1717 in 5.3 than in 5.2). (Dmitry) 1718- Fixed bug #50392 (date_create_from_format() enforces 6 digits for 'u' 1719 format character). (Ilia) 1720- Fixed bug #50345 (nanosleep not detected properly on some solaris versions). 1721 (Jani) 1722- Fixed bug #50340 (php.ini parser does not allow spaces in ini keys). (Jani) 1723- Fixed bug #50334 (crypt ignores sha512 prefix). (Pierre) 1724- Fixed bug #50323 (Allow use of ; in values via ;; in PDO DSN). 1725 (Ilia, Pierrick) 1726- Fixed bug #50285 (xmlrpc does not preserve keys in encoded indexed arrays). 1727 (Felipe) 1728- Fixed bug #50282 (xmlrpc_encode_request() changes object into array in 1729 calling function). (Felipe) 1730- Fixed bug #50267 (get_browser(null) does not use HTTP_USER_AGENT). (Jani) 1731- Fixed bug #50266 (conflicting types for llabs). (Jani) 1732- Fixed bug #50261 (Crash When Calling Parent Constructor with 1733 call_user_func()). (Dmitry) 1734- Fixed bug #50255 (isset() and empty() silently casts array to object). 1735 (Felipe) 1736- Fixed bug #50240 (pdo_mysql.default_socket in php.ini shouldn't used 1737 if it is empty). (foutrelis at gmail dot com, Ilia) 1738- Fixed bug #50231 (Socket path passed using --with-mysql-sock is ignored when 1739 mysqlnd is enabled). (Jani) 1740- Fixed bug #50219 (soap call Segmentation fault on a redirected url). 1741 (Pierrick) 1742- Fixed bug #50212 (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT). 1743 (Ilia, shigeru_kitazaki at cybozu dot co dot jp) 1744- Fixed bug #50209 (Compiling with libedit cannot find readline.h). 1745 (tcallawa at redhat dot com) 1746- Fixed bug #50207 (segmentation fault when concatenating very large strings on 1747 64bit linux). (Ilia) 1748- Fixed bug #50196 (stream_copy_to_stream() produces warning when source is 1749 not file). (Stas) 1750- Fixed bug #50195 (pg_copy_to() fails when table name contains schema. (Ilia) 1751- Fixed bug #50185 (ldap_get_entries() return false instead of an empty array 1752 when there is no error). (Jani) 1753- Fixed bug #50174 (Incorrectly matched docComment). (Felipe) 1754- Fixed bug #50168 (FastCGI fails with wrong error on HEAD request to 1755 non-existant file). (Dmitry) 1756- Fixed bug #50162 (Memory leak when fetching timestamp column from Oracle 1757 database). (Felipe) 1758- Fixed bug #50159 (wrong working directory in symlinked files). (Dmitry) 1759- Fixed bug #50158 (FILTER_VALIDATE_EMAIL fails with valid addresses 1760 containing = or ?). (Pierrick) 1761- Fixed bug #50152 (ReflectionClass::hasProperty behaves like isset() not 1762 property_exists). (Felipe) 1763- Fixed bug #50146 (property_exists: Closure object cannot have properties). 1764 (Felipe) 1765- Fixed bug #50145 (crash while running bug35634.phpt). (Felipe) 1766- Fixed bug #50140 (With default compilation option, php symbols are unresolved 1767 for nsapi). (Uwe Schindler) 1768- Fixed bug #50087 (NSAPI performance improvements). (Uwe Schindler) 1769- Fixed bug #50073 (parse_url() incorrect when ? in fragment). (Ilia) 1770- Fixed bug #50023 (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR). (Ilia) 1771- Fixed bug #50005 (Throwing through Reflection modified Exception object 1772 makes segmentation fault). (Felipe) 1773- Fixed bug #49990 (SNMP3 warning message about security level printed twice). 1774 (Jani) 1775- Fixed bug #49985 (pdo_pgsql prepare() re-use previous aborted 1776 transaction). (ben dot pineau at gmail dot com, Ilia, Matteo) 1777- Fixed bug #49938 (Phar::isBuffering() returns inverted value). (Greg) 1778- Fixed bug #49936 (crash with ftp stream in php_stream_context_get_option()). 1779 (Pierrick) 1780- Fixed bug #49921 (Curl post upload functions changed). (Ilia) 1781- Fixed bug #49866 (Making reference on string offsets crashes PHP). (Dmitry) 1782- Fixed bug #49855 (import_request_variables() always returns NULL). (Ilia, 1783 sjoerd at php dot net) 1784- Fixed bug #49851, #50451 (http wrapper breaks on 1024 char long headers). 1785 (Ilia) 1786- Fixed bug #49800 (SimpleXML allow (un)serialize() calls without warning). 1787 (Ilia, wmeler at wp-sa dot pl) 1788- Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private 1789 property in base class). (Felipe) 1790- Fixed bug #49677 (ini parser crashes with apache2 and using ${something} 1791 ini variables). (Jani) 1792- Fixed bug #49660 (libxml 2.7.3+ limits text nodes to 10MB). (Felipe) 1793- Fixed bug #49647 (DOMUserData does not exist). (Rob) 1794- Fixed bug #49600 (imageTTFText text shifted right). (Takeshi Abe) 1795- Fixed bug #49585 (date_format buffer not long enough for >4 digit years). 1796 (Derick, Adam) 1797- Fixed bug #49560 (oci8: using LOBs causes slow PHP shutdown). (Oracle Corp.) 1798- Fixed bug #49521 (PDO fetchObject sets values before calling constructor). 1799 (Pierrick) 1800- Fixed bug #49472 (Constants defined in Interfaces can be overridden). 1801 (Felipe) 1802- Fixed bug #49463 (setAttributeNS fails setting default namespace). (Rob) 1803- Fixed bug #49244 (Floating point NaN cause garbage characters). (Sjoerd) 1804- Fixed bug #49224 (Compile error due to old DNS functions on AIX systems). 1805 (Scott) 1806- Fixed bug #49174 (crash when extending PDOStatement and trying to set 1807 queryString property). (Felipe) 1808- Fixed bug #48811 (Directives in PATH section do not get applied to 1809 subdirectories). (Patch by: ct at swin dot edu dot au) 1810- Fixed bug #48590 (SoapClient does not honor max_redirects). (Sriram) 1811- Fixed bug #48190 (Content-type parameter "boundary" is not case-insensitive 1812 in HTTP uploads). (Ilia) 1813- Fixed bug #47848 (importNode doesn't preserve attribute namespaces). (Rob) 1814- Fixed bug #47409 (extract() problem with array containing word "this"). 1815 (Ilia, chrisstocktonaz at gmail dot com) 1816- Fixed bug #47281 ($php_errormsg is limited in size of characters) 1817 (Oracle Corp.) 1818- Fixed bug #46478 (htmlentities() uses obsolete mapping table for character 1819 entity references). (Moriyoshi) 1820- Fixed bug #45599 (strip_tags() truncates rest of string with invalid 1821 attribute). (Ilia, hradtke) 1822- Fixed bug #45120 (PDOStatement->execute() returns true then false for same 1823 statement). (Pierrick) 1824- Fixed bug #44827 (define() allows :: in constant names). (Ilia) 1825- Fixed bug #44098 (imap_utf8() returns only capital letters). 1826 (steffen at dislabs dot de, Pierre) 1827- Fixed bug #34852 (Failure in odbc_exec() using oracle-supplied odbc 1828 driver). (tim dot tassonis at trivadis dot com) 1829 183019 Nov 2009, PHP 5.3.1 1831- Upgraded bundled sqlite to version 3.6.19. (Scott) 1832- Updated timezone database to version 2009.17 (2009q). (Derick) 1833 1834- Changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case 1835 insensitive. (garretts) 1836 1837- Restored shebang line check to CGI sapi (not checked by scanner anymore). 1838 (Jani) 1839 1840- Added "max_file_uploads" INI directive, which can be set to limit the 1841 number of file uploads per-request to 20 by default, to prevent possible 1842 DOS via temporary file exhaustion. (Ilia) 1843- Added missing sanity checks around exif processing. (Ilia) 1844- Added error constant when json_encode() detects an invalid UTF-8 sequence. 1845 (Scott) 1846- Added support for ACL on Windows for thread safe SAPI (Apache2 for example) 1847 and fix its support on NTS. (Pierre) 1848 1849- Improved symbolic, mounted volume and junctions support for realpath on 1850 Windows. (Pierre) 1851- Improved readlink on Windows, suppress \??\ and use the drive syntax only. 1852 (Pierre) 1853- Improved dns_get_record() AAAA support on windows. Always available when 1854 IPv6 is support is installed, format is now the same than on unix. (Pierre) 1855- Improved the DNS functions on OSX to use newer APIs, also use Bind 9 API 1856 where available on other platforms. (Scott) 1857- Improved shared extension loading on OSX to use the standard Unix dlopen() 1858 API. (Scott) 1859 1860- Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre) 1861- Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. 1862 (Rasmus) 1863- Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz 1864 Stachowiak. (Rasmus) 1865- Fixed certificate validation inside php_openssl_apply_verification_policy 1866 (Ryan Sleevi, Ilia) 1867- Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() 1868 when calling using Reflection. (Felipe) 1869- Fixed crash when instantiating PDORow and PDOStatement through Reflection. 1870 (Felipe) 1871- Fixed sanity check for the color index in imagecolortransparent. (Pierre) 1872- Fixed scandir/readdir when used mounted points on Windows. (Pierre) 1873- Fixed zlib.deflate compress filter to actually accept level parameter. (Jani) 1874- Fixed leak on error in popen/exec (and related functions) on Windows. 1875 (Pierre) 1876- Fixed possible bad caching of symlinked directories in the realpath cache 1877 on Windows. (Pierre) 1878- Fixed atime and mtime in stat related functions on Windows. (Pierre) 1879- Fixed spl_autoload_unregister/spl_autoload_functions wrt. Closures and 1880 Functors. (Christian Seiler) 1881- Fixed open_basedir circumvention for "mail.log" ini directive. 1882 (Maksymilian Arciemowicz, Stas) 1883- Fixed signature generation/validation for zip archives in ext/phar. (Greg) 1884- Fixed memory leak in stream_is_local(). (Felipe, Tony) 1885- Fixed BC break in mime_content_type(), removes the content encoding. (Scott) 1886 1887- Fixed PECL bug #16842 (oci_error return false when NO_DATA_FOUND is raised). 1888 (Chris Jones) 1889 1890- Fixed bug #50063 (safe_mode_include_dir fails). (Johannes, christian at 1891 elmerot dot se) 1892- Fixed bug #50052 (Different Hashes on Windows and Linux on wrong Salt size). 1893 (Pierre) 1894- Fixed bug #49986 (Missing ICU DLLs on windows package). (Pierre) 1895- Fixed bug #49910 (no support for ././@LongLink for long filenames in phar 1896 tar support). (Greg) 1897- Fixed bug #49908 (throwing exception in __autoload crashes when interface 1898 is not defined). (Felipe) 1899- Fixed bug #49847 (exec() fails to return data inside 2nd parameter, given 1900 output lines >4095 bytes). (Ilia) 1901- Fixed bug #49809 (time_sleep_until() is not available on OpenSolaris). (Jani) 1902- Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded 1903 applications). (Ilia, Florian Anderiasch) 1904- Fixed bug #49738 (calling mcrypt after mcrypt_generic_deinit crashes). 1905 (Sriram Natarajan) 1906- Fixed bug #49732 (crashes when using fileinfo when timestamp conversion 1907 fails). (Pierre) 1908- Fixed bug #49698 (Unexpected change in strnatcasecmp()). (Rasmus) 1909- Fixed bug #49630 (imap_listscan function missing). (Felipe) 1910- Fixed bug #49572 (use of C++ style comments causes build failure). 1911 (Sriram Natarajan) 1912- Fixed bug #49531 (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE 1913 cannot be set"). (Felipe) 1914- Fixed bug #49517 (cURL's CURLOPT_FILE prevents file from being deleted after 1915 fclose). (Ilia) 1916- Fixed bug #49470 (FILTER_SANITIZE_EMAIL allows disallowed characters). 1917 (Ilia) 1918- Fixed bug #49447 (php engine need to correctly check for socket API 1919 return status on windows). (Sriram Natarajan) 1920- Fixed bug #49391 (ldap.c utilizing deprecated ldap_modify_s). (Ilia) 1921- Fixed bug #49372 (segfault in php_curl_option_curl). (Pierre) 1922- Fixed bug #49361 (wordwrap() wraps incorrectly on end of line boundaries). 1923 (Ilia, code-it at mail dot ru) 1924- Fixed bug #49306 (inside pdo_mysql default socket settings are ignored). 1925 (Ilia) 1926- Fixed bug #49289 (bcmath module doesn't compile with phpize configure). 1927 (Jani) 1928- Fixed bug #49286 (php://input (php_stream_input_read) is broken). (Jani) 1929- Fixed bug #49269 (Ternary operator fails on Iterator object when used inside 1930 foreach declaration). (Etienne, Dmitry) 1931- Fixed bug #49236 (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani) 1932- Fixed bug #49223 (Inconsistency using get_defined_constants). (Garrett) 1933- Fixed bug #49193 (gdJpegGetVersionString() inside gd_compact identifies 1934 wrong type in declaration). (Ilia) 1935- Fixed bug #49183 (dns_get_record does not return NAPTR records). (Pierre) 1936- Fixed bug #49144 (Import of schema from different host transmits original 1937 authentication details). (Dmitry) 1938- Fixed bug #49142 (crash when exception thrown from __tostring()). 1939 (David Soria Parra) 1940- Fixed bug #49132 (posix_times returns false without error). 1941 (phpbugs at gunnu dot us) 1942- Fixed bug #49125 (Error in dba_exists C code). (jdornan at stanford dot edu) 1943- Fixed bug #49122 (undefined reference to mysqlnd_stmt_next_result on compile 1944 with --with-mysqli and MySQL 6.0). (Jani) 1945- Fixed bug #49108 (2nd scan_dir produces segfault). (Felipe) 1946- Fixed bug #49098 (mysqli segfault on error). (Rasmus) 1947- Fixed bug #49095 (proc_get_status['exitcode'] fails on win32). (Felipe) 1948- Fixed bug #49092 (ReflectionFunction fails to work with functions in fully 1949 qualified namespaces). (Kalle, Jani) 1950- Fixed bug #49074 (private class static fields can be modified by using 1951 reflection). (Jani) 1952- Fixed bug #49072 (feof never returns true for damaged file in zip). (Pierre) 1953- Fixed bug #49065 ("disable_functions" php.ini option does not work on 1954 Zend extensions). (Stas) 1955- Fixed bug #49064 (--enable-session=shared does not work: undefined symbol: 1956 php_url_scanner_reset_vars). (Jani) 1957- Fixed bug #49056 (parse_ini_file() regression in 5.3.0 when using non-ASCII 1958 strings as option keys). (Jani) 1959- Fixed bug #49052 (context option headers freed too early when using 1960 --with-curlwrappers). (Jani) 1961- Fixed bug #49047 (The function touch() fails on directories on Windows). 1962 (Pierre) 1963- Fixed bug #49032 (SplFileObject::fscanf() variables passed by reference). 1964 (Jani) 1965- Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd). (Andrey) 1966- Fixed bug #49026 (proc_open() can bypass safe_mode_protected_env_vars 1967 restrictions). (Ilia) 1968- Fixed bug #49020 (phar misinterprets ustar long filename standard). 1969 (Greg) 1970- Fixed bug #49018 (phar tar stores long filenames wit prefix/name reversed). 1971 (Greg) 1972- Fixed bug #49014 (dechunked filter broken when serving more than 8192 bytes 1973 in a chunk). (andreas dot streichardt at globalpark dot com, Ilia) 1974- Fixed bug #49012 (phar tar signature algorithm reports as Unknown (0) in 1975 getSignature() call). (Greg) 1976- Fixed bug #49000 (PHP CLI in Interactive mode (php -a) crashes 1977 when including files from function). (Stas) 1978- Fixed bug #48994 (zlib.output_compression does not output HTTP headers when 1979 set to a string value). (Jani) 1980- Fixed bug #48980 (Crash when compiling with pdo_firebird). (Felipe) 1981- Fixed bug #48962 (cURL does not upload files with specified filename). 1982 (Ilia) 1983- Fixed bug #48929 (Double \r\n after HTTP headers when "header" context 1984 option is an array). (David Zülke) 1985- Fixed bug #48913 (Too long error code strings in pdo_odbc driver). 1986 (naf at altlinux dot ru, Felipe) 1987- Fixed bug #48912 (Namespace causes unexpected strict behaviour with 1988 extract()). (Dmitry) 1989- Fixed bug #48909 (Segmentation fault in mysqli_stmt_execute()). (Andrey) 1990- Fixed bug #48899 (is_callable returns true even if method does not exist in 1991 parent class). (Felipe) 1992- Fixed bug #48893 (Problems compiling with Curl). (Felipe) 1993- Fixed bug #48880 (Random Appearing open_basedir problem). (Rasmus, Gwynne) 1994- Fixed bug #48872 (string.c: errors: duplicate case values). (Kalle) 1995- Fixed bug #48854 (array_merge_recursive modifies arrays after first one). 1996 (Felipe) 1997- Fixed bug #48805 (IPv6 socket transport is not working). (Ilia) 1998- Fixed bug #48802 (printf() returns incorrect outputted length). (Jani) 1999- Fixed bug #48791 (open office files always reported as corrupted). (Greg) 2000- Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked 2001 directories). (Ilia) 2002- Fixed bug #48783 (make install will fail saying phar file exists). (Greg) 2003- Fixed bug #48774 (SIGSEGVs when using curl_copy_handle()). 2004 (Sriram Natarajan) 2005- Fixed bug #48771 (rename() between volumes fails and reports no error on 2006 Windows). (Pierre) 2007- Fixed bug #48768 (parse_ini_*() crash with INI_SCANNER_RAW). (Jani) 2008- Fixed bug #48763 (ZipArchive produces corrupt archive). (dani dot church at 2009 gmail dot com, Pierre) 2010- Fixed bug #48762 (IPv6 address filter still rejects valid address). (Felipe) 2011- Fixed bug #48757 (ReflectionFunction::invoke() parameter issues). (Kalle) 2012- Fixed bug #48754 (mysql_close() crash php when no handle specified). 2013 (Johannes, Andrey) 2014- Fixed bug #48752 (Crash during date parsing with invalid date). (Pierre) 2015- Fixed bug #48746 (Unable to browse directories within Junction Points). 2016 (Pierre, Kanwaljeet Singla) 2017- Fixed bug #48745 (mysqlnd: mysql_num_fields returns wrong column count for 2018 mysql_list_fields). (Andrey) 2019- Fixed bug #48740 (PHAR install fails when INSTALL_ROOT is not the final 2020 install location). (james dot cohen at digitalwindow dot com, Greg) 2021- Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on 2022 files that have been opened with r+). (Ilia) 2023- Fixed bug #48719 (parse_ini_*(): scanner_mode parameter is not checked for 2024 sanity). (Jani) 2025- Fixed bug #48718 (FILTER_VALIDATE_EMAIL does not allow numbers in domain 2026 components). (Ilia) 2027- Fixed bug #48681 (openssl signature verification for tar archives broken). 2028 (Greg) 2029- Fixed bug #48660 (parse_ini_*(): dollar sign as last character of value 2030 fails). (Jani) 2031- Fixed bug #48645 (mb_convert_encoding() doesn't understand hexadecimal 2032 html-entities). (Moriyoshi) 2033- Fixed bug #48637 ("file" fopen wrapper is overwritten when using 2034 --with-curlwrappers). (Jani) 2035- Fixed bug #48608 (Invalid libreadline version not detected during configure). 2036 (Jani) 2037- Fixed bug #48400 (imap crashes when closing stream opened with 2038 OP_PROTOTYPE flag). (Jani) 2039- Fixed bug #48377 (error message unclear on converting phar with existing 2040 file). (Greg) 2041- Fixed bug #48247 (Infinite loop and possible crash during startup with 2042 errors when errors are logged). (Jani) 2043- Fixed bug #48198 error: 'MYSQLND_LLU_SPEC' undeclared. Cause for #48780 and 2044 #46952 - both fixed too. (Andrey) 2045- Fixed bug #48189 (ibase_execute error in return param). (Kalle) 2046- Fixed bug #48182 (ssl handshake fails during asynchronous socket connection). 2047 (Sriram Natarajan) 2048- Fixed bug #48116 (Fixed build with Openssl 1.0). (Pierre, 2049 Al dot Smith at aeschi dot ch dot eu dot org) 2050- Fixed bug #48057 (Only the date fields of the first row are fetched, others 2051 are empty). (info at programmiernutte dot net) 2052- Fixed bug #47481 (natcasesort() does not sort extended ASCII characters 2053 correctly). (Herman Radtke) 2054- Fixed bug #47351 (Memory leak in DateTime). (Derick, Tobias John) 2055- Fixed bug #47273 (Encoding bug in SoapServer->fault). (Dmitry) 2056- Fixed bug #46682 (touch() afield returns different values on windows). 2057 (Pierre) 2058- Fixed bug #46614 (Extended MySQLi class gives incorrect empty() result). 2059 (Andrey) 2060- Fixed bug #46020 (with Sun Java System Web Server 7.0 on HPUX, #define HPUX). 2061 (Uwe Schindler) 2062- Fixed bug #45905 (imagefilledrectangle() clipping error). 2063 (markril at hotmail dot com, Pierre) 2064- Fixed bug #45554 (Inconsistent behavior of the u format char). (Derick) 2065- Fixed bug #45141 (setcookie will output expires years of >4 digits). (Ilia) 2066- Fixed bug #44683 (popen crashes when an invalid mode is passed). (Pierre) 2067- Fixed bug #43510 (stream_get_meta_data() does not return same mode as used 2068 in fopen). (Jani) 2069- Fixed bug #42434 (ImageLine w/ antialias = 1px shorter). (wojjie at gmail dot 2070 com, Kalle) 2071- Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter 2072 Knauf) 2073- Fixed bug #38091 (Mail() does not use FQDN when sending SMTP helo). 2074 (Kalle, Rick Yorgason) 2075- Fixed bug #28038 (Sent incorrect RCPT TO commands to SMTP server) (Garrett) 2076- Fixed bug #27051 (Impersonation with FastCGI does not exec process as 2077 impersonated user). (Pierre) 2078 2079 208030 Jun 2009, PHP 5.3.0 2081- Upgraded bundled PCRE to version 7.9. (Nuno) 2082- Upgraded bundled sqlite to version 3.6.15. (Scott) 2083 2084- Moved extensions to PECL (Derick, Lukas, Pierre, Scott): 2085 . ext/dbase 2086 . ext/fbsql 2087 . ext/fdf 2088 . ext/ncurses 2089 . ext/mhash (BC layer is now entirely within ext/hash) 2090 . ext/ming 2091 . ext/msql 2092 . ext/sybase (not maintained anymore, sybase_ct has to be used instead) 2093 2094- Removed the experimental RPL (master/slave) functions from mysqli. (Andrey) 2095- Removed zend.ze1_compatibility_mode. (Dmitry) 2096- Removed all zend_extension_* php.ini directives. Zend extensions are now 2097 always loaded using zend_extension directive. (Derick) 2098- Removed special treatment of "/tmp" in sessions for open_basedir. 2099 Note: This undocumented behaviour was introduced in 5.2.2. (Alexey) 2100- Removed shebang line check from CGI sapi (checked by scanner). (Dmitry) 2101 2102- Changed PCRE, Reflection and SPL extensions to be always enabled. (Marcus) 2103- Changed md5() to use improved implementation. (Solar Designer, Dmitry) 2104- Changed HTTP stream wrapper to accept any code between and including 2105 200 to 399 as successful. (Mike, Noah Fontes) 2106- Changed __call() to be invoked on private/protected method access, similar to 2107 properties and __get(). (Andrei) 2108- Changed dl() to be disabled by default. Enabled only when explicitly 2109 registered by the SAPI. Currently enabled with cli, cgi and embed SAPIs. 2110 (Dmitry) 2111- Changed opendir(), dir() and scandir() to use default context when no context 2112 argument is passed. (Sara) 2113- Changed open_basedir to allow tightening in runtime contexts. (Sara) 2114- Changed PHP/Zend extensions to use flexible build IDs. (Stas) 2115- Changed error level E_ERROR into E_WARNING in Soap extension methods 2116 parameter validation. (Felipe) 2117- Changed openssl info to show the shared library version number. (Scott) 2118- Changed floating point behaviour to consistently use double precision on all 2119 platforms and with all compilers. (Christian Seiler) 2120- Changed round() to act more intuitively when rounding to a certain precision 2121 and round very large and very small exponents correctly. (Christian Seiler) 2122- Changed session_start() to return false when session startup fails. (Jani) 2123- Changed property_exists() to check the existence of a property independent of 2124 accessibility (like method_exists()). (Felipe) 2125- Changed array_reduce() to allow mixed $initial (Christian Seiler) 2126 2127- Improved PHP syntax and semantics: 2128 . Added lambda functions and closures. (Christian Seiler, Dmitry) 2129 . Added "jump label" operator (limited "goto"). (Dmitry, Sara) 2130 . Added NOWDOC syntax. (Gwynne Raskind, Stas, Dmitry) 2131 . Added HEREDOC syntax with double quotes. (Lars Strojny, Felipe) 2132 . Added support for using static HEREDOCs to initialize static variables and 2133 class members or constants. (Matt) 2134 . Improved syntax highlighting and consistency for variables in double-quoted 2135 strings and literal text in HEREDOCs and backticks. (Matt) 2136 . Added "?:" operator. (Marcus) 2137 . Added support for namespaces. (Dmitry, Stas, Gregory, Marcus) 2138 . Added support for Late Static Binding. (Dmitry, Etienne Kneuss) 2139 . Added support for __callStatic() magic method. (Sara) 2140 . Added forward_static_call(_array) to complete LSB. (Mike Lively) 2141 . Added support for dynamic access of static members using $foo::myFunc(). 2142 (Etienne Kneuss) 2143 . Improved checks for callbacks. (Marcus) 2144 . Added __DIR__ constant. (Lars Strojny) 2145 . Added new error modes E_USER_DEPRECATED and E_DEPRECATED. 2146 E_DEPRECATED is used to inform about stuff being scheduled for removal 2147 in future PHP versions. (Lars Strojny, Felipe, Marcus) 2148 . Added "request_order" INI variable to control specifically $_REQUEST 2149 behavior. (Stas) 2150 . Added support for exception linking. (Marcus) 2151 . Added ability to handle exceptions in destructors. (Marcus) 2152 2153- Improved PHP runtime speed and memory usage: 2154 . Substitute global-scope, persistent constants with their values at compile 2155 time. (Matt) 2156 . Optimized ZEND_SIGNED_MULTIPLY_LONG(). (Matt) 2157 . Removed direct executor recursion. (Dmitry) 2158 . Use fastcall calling convention in executor on x86. (Dmitry) 2159 . Use IS_CV for direct access to $this variable. (Dmitry) 2160 . Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR). (Dmitry) 2161 . Lazy EG(active_symbol_table) initialization. (Dmitry) 2162 . Optimized ZEND_RETURN opcode to not allocate and copy return value if it is 2163 not used. (Dmitry) 2164 . Replaced all flex based scanners with re2c based scanners. 2165 (Marcus, Nuno, Scott) 2166 . Added garbage collector. (David Wang, Dmitry). 2167 . Improved PHP binary size and startup speed with GCC4 visibility control. 2168 (Nuno) 2169 . Improved engine stack implementation for better performance and stability. 2170 (Dmitry) 2171 . Improved memory usage by moving constants to read only memory. 2172 (Dmitry, Pierre) 2173 . Changed exception handling. Now each op_array doesn't contain 2174 ZEND_HANDLE_EXCEPTION opcode in the end. (Dmitry) 2175 . Optimized require_once() and include_once() by eliminating fopen(3) on 2176 second usage. (Dmitry) 2177 . Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single 2178 ZEND_ADD_INTERFACE opcode. (Dmitry) 2179 . Optimized string searching for a single character. 2180 (Michal Dziemianko, Scott) 2181 . Optimized interpolated strings to use one less opcode. (Matt) 2182 2183- Improved php.ini handling: (Jani) 2184 . Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI. 2185 . Added support for special [PATH=/opt/httpd/www.example.com/] and 2186 [HOST=www.example.com] sections. Directives set in these sections can 2187 not be overridden by user-defined ini-files or during runtime. 2188 . Added better error reporting for php.ini syntax errors. 2189 . Allowed using full path to load modules using "extension" directive. 2190 . Allowed "ini-variables" to be used almost everywhere ini php.ini files. 2191 . Allowed using alphanumeric/variable indexes in "array" ini options. 2192 . Added 3rd optional parameter to parse_ini_file() to specify the scanning 2193 mode of INI_SCANNER_NORMAL or INI_SCANNER_RAW. In raw mode option values 2194 and section values are treated as-is. 2195 . Fixed get_cfg_var() to be able to return "array" ini options. 2196 . Added optional parameter to ini_get_all() to only retrieve the current 2197 value. (Hannes) 2198 2199- Improved Windows support: 2200 . Update all libraries to their latest stable version. (Pierre, Rob, Liz, 2201 Garrett). 2202 . Added Windows support for stat(), touch(), filemtime(), filesize() and 2203 related functions. (Pierre) 2204 . Re-added socket_create_pair() for Windows in sockets extension. (Kalle) 2205 . Added inet_pton() and inet_ntop() also for Windows platforms. 2206 (Kalle, Pierre) 2207 . Added mcrypt_create_iv() for Windows platforms. (Pierre) 2208 . Added ACL Cache support on Windows. 2209 (Kanwaljeet Singla, Pierre, Venkat Raman Don) 2210 . Added constants based on Windows' GetVersionEx information. 2211 PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre) 2212 . Added support for ACL (is_writable, is_readable, reports now correct 2213 results) on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla) 2214 . Added support for fnmatch() on Windows. (Pierre) 2215 . Added support for time_nanosleep() and time_sleep_until() on Windows. 2216 (Pierre) 2217 . Added support for symlink(), readlink(), linkinfo() and link() on Windows. 2218 They are available only when the running platform supports them. (Pierre) 2219 . the GMP extension now relies on MPIR instead of the GMP library. (Pierre) 2220 . Added Windows support for stream_socket_pair(). (Kalle) 2221 . Drop all external dependencies for the core features. (Pierre) 2222 . Drastically improve the build procedure (Pierre, Kalle, Rob): 2223 . VC9 (Visual C++ 2008) or later support 2224 . Initial experimental x64 support 2225 . MSI installer now supports all recent Windows versions, including 2226 Windows 7. (John, Kanwaljeet Singla) 2227 2228- Improved and cleaned CGI code: 2229 . FastCGI is now always enabled and cannot be disabled. 2230 See sapi/cgi/CHANGES for more details. (Dmitry) 2231 . Added CGI SAPI -T option which can be used to measure execution 2232 time of script repeated several times. (Dmitry) 2233 2234- Improved streams: 2235 . Fixed confusing error message on failure when no errors are logged. (Greg) 2236 . Added stream_supports_lock() function. (Benjamin Schulz) 2237 . Added context parameter for copy() function. (Sara) 2238 . Added "glob://" stream wrapper. (Marcus) 2239 . Added "params" as optional parameter for stream_context_create(). (Sara) 2240 . Added ability to use stream wrappers in include_path. (Gregory, Dmitry) 2241 2242- Improved DNS API 2243 . Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and 2244 getmxrr(). (Pierre) 2245 . Added support for old style DNS functions (supports OSX and FBSD). (Scott) 2246 . Added a new "entries" array in dns_check_record() containing the TXT 2247 elements. (Felipe, Pierre) 2248 2249- Improved hash extension: 2250 . Changed mhash to be a wrapper layer around the hash extension. (Scott) 2251 . Added hash_copy() function. (Tony) 2252 . Added sha224 hash algorithm to the hash extension. (Scott) 2253 2254- Improved IMAP support (Pierre): 2255 . Added imap_gc() to clear the imap cache 2256 . Added imap_utf8_to_mutf7() and imap_mutf7_to_utf8() 2257 2258- Improved mbstring extension: 2259 . Added "mbstring.http_output_conv_mimetypes" INI directive that allows 2260 common non-text types such as "application/xhtml+xml" to be converted 2261 by mb_output_handler(). (Moriyoshi) 2262 2263- Improved OCI8 extension (Chris Jones/Oracle Corp.): 2264 . Added Database Resident Connection Pooling (DRCP) and Fast 2265 Application Notification (FAN) support. 2266 . Added support for Oracle External Authentication (not supported 2267 on Windows). 2268 . Improve persistent connection handling of restarted DBs. 2269 . Added SQLT_AFC (aka CHAR datatype) support to oci_bind_by_name. 2270 . Fixed bug #45458 (Numeric keys for associative arrays are not 2271 handled properly) 2272 . Fixed bug #41069 (Segmentation fault with query over DB link). 2273 . Fixed define of SQLT_BDOUBLE and SQLT_BFLOAT constants with Oracle 2274 10g ORACLE_HOME builds. 2275 . Changed default value of oci8.default_prefetch from 10 to 100. 2276 . Fixed PECL Bug #16035 (OCI8: oci_connect without ORACLE_HOME defined causes 2277 segfault) (Chris Jones/Oracle Corp.) 2278 . Fixed PECL Bug #15988 (OCI8: sqlnet.ora isn't read with older Oracle 2279 libraries) (Chris Jones/Oracle Corp.) 2280 . Fixed PECL Bug #14268 (Allow "pecl install oci8" command to "autodetect" an 2281 Instant Client RPM install) (Chris Jones/Oracle Corp.) 2282 . Fixed PECL bug #12431 (OCI8 ping functionality is broken). 2283 . Allow building (e.g from PECL) the PHP 5.3-based OCI8 code with 2284 PHP 4.3.9 onwards. 2285 . Provide separate extensions for Oracle 11g and 10g on Windows. 2286 (Pierre, Chris) 2287 2288- Improved OpenSSL extension: 2289 . Added support for OpenSSL digest and cipher functions. (Dmitry) 2290 . Added access to internal values of DSA, RSA and DH keys. (Dmitry) 2291 . Fixed a memory leak on openssl_decrypt(). (Henrique) 2292 . Fixed segfault caused by openssl_pkey_new(). (Henrique) 2293 . Fixed bug caused by uninitilized variables in openssl_pkcs7_encrypt() and 2294 openssl_pkcs7_sign(). (Henrique) 2295 . Fixed error message in openssl_seal(). (Henrique) 2296 2297- Improved pcntl extension: (Arnaud) 2298 . Added pcntl_signal_dispatch(). 2299 . Added pcntl_sigprocmask(). 2300 . Added pcntl_sigwaitinfo(). 2301 . Added pcntl_sigtimedwait(). 2302 2303- Improved SOAP extension: 2304 . Added support for element names in context of XMLSchema's <any>. (Dmitry) 2305 . Added ability to use Traversable objects instead of plain arrays. 2306 (Joshua Reese, Dmitry) 2307 . Fixed possible crash bug caused by an uninitialized value. (Zdash Urf) 2308 2309- Improved SPL extension: 2310 . Added SPL to list of standard extensions that cannot be disabled. (Marcus) 2311 . Added ability to store associative information with objects in 2312 SplObjectStorage. (Marcus) 2313 . Added ArrayAccess support to SplObjectStorage. (Marcus) 2314 . Added SplDoublyLinkedList, SplStack, SplQueue classes. (Etienne) 2315 . Added FilesystemIterator. (Marcus) 2316 . Added GlobIterator. (Marcus) 2317 . Added SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue classes. (Etienne) 2318 . Added new parameter $prepend to spl_autoload_register(). (Etienne) 2319 . Added SplFixedArray. (Etienne, Tony) 2320 . Added delaying exceptions in SPL's autoload mechanism. (Marcus) 2321 . Added RecursiveTreeIterator. (Arnaud, Marcus) 2322 . Added MultipleIterator. (Arnaud, Marcus, Johannes) 2323 2324- Improved Zend Engine: 2325 . Added "compact" handler for Zend MM storage. (Dmitry) 2326 . Added "+" and "*" specifiers to zend_parse_parameters(). (Andrei) 2327 . Added concept of "delayed early binding" that allows opcode caches to 2328 perform class declaration (early and/or run-time binding) in exactly 2329 the same order as vanilla PHP. (Dmitry) 2330 2331- Improved crypt() function: (Pierre) 2332 . Added Blowfish and extended DES support. (Using Blowfish implementation 2333 from Solar Designer). 2334 . Made crypt features portable by providing our own implementations 2335 for crypt_r and the algorithms which are used when OS does not provide 2336 them. PHP implementations are always used for Windows builds. 2337 2338- Deprecated session_register(), session_unregister() and 2339 session_is_registered(). (Hannes) 2340- Deprecated define_syslog_variables(). (Kalle) 2341- Deprecated ereg extension. (Felipe) 2342 2343- Added new extensions: 2344 . Added Enchant extension as a way to access spell checkers. (Pierre) 2345 . Added fileinfo extension as replacement for mime_magic extension. (Derick) 2346 . Added intl extension for Internationalization. (Ed B., Vladimir I., 2347 Dmitry L., Stanislav M., Vadim S., Kirti V.) 2348 . Added mysqlnd extension as replacement for libmysql for ext/mysql, mysqli 2349 and PDO_mysql. (Andrey, Johannes, Ulf) 2350 . Added phar extension for handling PHP Archives. (Greg, Marcus, Steph) 2351 . Added SQLite3 extension. (Scott) 2352 2353- Added new date/time functionality: (Derick) 2354 . date_parse_from_format(): Parse date/time strings according to a format. 2355 . date_create_from_format()/DateTime::createFromFormat(): Create a date/time 2356 object by parsing a date/time string according to a given format. 2357 . date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings 2358 and errors that were found while parsing a date/time string through: 2359 . strtotime() / new DateTime 2360 . date_create_from_format() / DateTime::createFromFormat() 2361 . date_parse_from_format(). 2362 . support for abbreviation and offset based timezone specifiers for 2363 the 'e' format specifier, DateTime::__construct(), DateTime::getTimeZone() 2364 and DateTimeZone::getName(). 2365 . support for selectively listing timezone identifiers by continent or 2366 country code through timezone_identifiers_list() / 2367 DateTimezone::listIdentifiers(). 2368 . timezone_location_get() / DateTimezone::getLocation() for retrieving 2369 location information from timezones. 2370 . date_timestamp_set() / DateTime::setTimestamp() to set a Unix timestamp 2371 without invoking the date parser. (Scott, Derick) 2372 . date_timestamp_get() / DateTime::getTimestamp() to retrieve the Unix 2373 timestamp belonging to a date object. 2374 . two optional parameters to timezone_transitions_get() / 2375 DateTimeZone::getTranstions() to limit the range of transitions being 2376 returned. 2377 . support for "first/last day of <month>" style texts. 2378 . support for date/time strings returned by MS SQL. 2379 . support for serialization and unserialization of DateTime objects. 2380 . support for diffing date/times through date_diff() / DateTime::diff(). 2381 . support for adding/subtracting weekdays with strtotime() and 2382 DateTime::modify(). 2383 . DateInterval class to represent the difference between two date/times. 2384 . support for parsing ISO intervals for use with DateInterval. 2385 . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an 2386 interval to an existing date/time. 2387 . proper support for "this week", "previous week"/"last week" and "next week" 2388 phrases so that they actually mean the week and not a seven day period 2389 around the current day. 2390 . support for "<xth> <weekday> of" and "last <weekday> of" phrases to be used 2391 with months - like in "last saturday of februari 2008". 2392 . support for "back of <hour>" and "front of <hour>" phrases that are used in 2393 Scotland. 2394 . DatePeriod class which supports iterating over a DateTime object applying 2395 DateInterval on each iteration, up to an end date or limited by maximum 2396 number of occurences. 2397 2398- Added compatibility mode in GD, imagerotate, image(filled)ellipse 2399 imagefilter, imageconvolution and imagecolormatch are now always enabled. 2400 (Pierre) 2401- Added array_replace() and array_replace_recursive() functions. (Matt) 2402- Added ReflectionProperty::setAccessible() method that allows non-public 2403 property's values to be read through ::getValue() and set through 2404 ::setValue(). (Derick, Sebastian) 2405- Added msg_queue_exists() function to sysvmsg extension. (Benjamin Schulz) 2406- Added Firebird specific attributes that can be set via PDO::setAttribute() 2407 to control formatting of date/timestamp columns: PDO::FB_ATTR_DATE_FORMAT, 2408 PDO::FB_ATTR_TIME_FORMAT and PDO::FB_ATTR_TIMESTAMP_FORMAT. (Lars W) 2409- Added gmp_testbit() function. (Stas) 2410- Added icon format support to getimagesize(). (Scott) 2411- Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow 2412 setting network timeout (FR #42837). (Jani) 2413- Added optional escape character parameter to fgetcsv(). (David Soria Parra) 2414- Added an optional parameter to strstr() and stristr() for retrieval of either 2415 the part of haystack before or after first occurrence of needle. 2416 (Johannes, Felipe) 2417- Added xsl->setProfiling() for profiling stylesheets. (Christian) 2418- Added long-option feature to getopt() and made getopt() available also on 2419 win32 systems by adding a common getopt implementation into core. 2420 (David Soria Parra, Jani) 2421- Added support for optional values, and = as separator, in getopt(). (Hannes) 2422- Added lcfirst() function. (David C) 2423- Added PREG_BAD_UTF8_OFFSET_ERROR constant. (Nuno) 2424- Added native support for asinh(), acosh(), atanh(), log1p() and expm1(). 2425 (Kalle) 2426- Added LIBXML_LOADED_VERSION constant (libxml2 version currently used). (Rob) 2427- Added JSON_FORCE_OBJECT flag to json_encode(). (Scott, Richard Quadling) 2428- Added timezone_version_get() to retrieve the version of the used timezone 2429 database. (Derick) 2430- Added 'n' flag to fopen to allow passing O_NONBLOCK to the underlying 2431 open(2) system call. (Mikko) 2432- Added "dechunk" filter which can decode HTTP responses with chunked 2433 transfer-encoding. HTTP streams use this filter automatically in case 2434 "Transfer-Encoding: chunked" header is present in response. It's possible to 2435 disable this behaviour using "http"=>array("auto_decode"=>0) in stream 2436 context. (Dmitry) 2437- Added support for CP850 encoding in mbstring extension. 2438 (Denis Giffeler, Moriyoshi) 2439- Added stream_cast() and stream_set_options() to user-space stream wrappers, 2440 allowing stream_select(), stream_set_blocking(), stream_set_timeout() and 2441 stream_set_write_buffer() to work with user-space stream wrappers. (Arnaud) 2442- Added header_remove() function. (chsc at peytz dot dk, Arnaud) 2443- Added stream_context_get_params() function. (Arnaud) 2444- Added optional parameter "new" to sybase_connect(). (Timm) 2445- Added parse_ini_string() function. (grange at lemonde dot fr, Arnaud) 2446- Added str_getcsv() function. (Sara) 2447- Added openssl_random_pseudo_bytes() function. (Scott) 2448- Added ability to send user defined HTTP headers with SOAP request. 2449 (Brian J.France, Dmitry) 2450- Added concatenation option to bz2.decompress stream filter. 2451 (Keisial at gmail dot com, Greg) 2452- Added support for using compressed connections with PDO_mysql. (Johannes) 2453- Added the ability for json_decode() to take a user specified depth. (Scott) 2454- Added support for the mysql_stmt_next_result() function from libmysql. 2455 (Andrey) 2456- Added function preg_filter() that does grep and replace in one go. (Marcus) 2457- Added system independent realpath() implementation which caches intermediate 2458 directories in realpath-cache. (Dmitry) 2459- Added optional clear_realpath_cache and filename parameters to 2460 clearstatcache(). (Jani, Arnaud) 2461- Added litespeed SAPI module. (George Wang) 2462- Added ext/hash support to ext/session's ID generator. (Sara) 2463- Added quoted_printable_encode() function. (Tony) 2464- Added stream_context_set_default() function. (Davey Shafik) 2465- Added optional "is_xhtml" parameter to nl2br() which makes the function 2466 output <br> when false and <br /> when true (FR #34381). (Kalle) 2467- Added PHP_MAXPATHLEN constant (maximum length of a path). (Pierre) 2468- Added support for SSH via libssh2 in cURL. (Pierre) 2469- Added support for gray levels PNG image with alpha in GD extension. (Pierre) 2470- Added support for salsa hashing functions in HASH extension. (Scott) 2471- Added DOMNode::getLineNo to get line number of parsed node. (Rob) 2472- Added table info to PDO::getColumnMeta() with SQLite. (Martin Jansen, Scott) 2473- Added mail logging functionality that allows logging of mail sent via 2474 mail() function. (Ilia) 2475- Added json_last_error() to return any error information from json_decode(). 2476 (Scott) 2477- Added gethostname() to return the current system host name. (Ilia) 2478- Added shm_has_var() function. (Mike) 2479- Added depth parameter to json_decode() to lower the nesting depth from the 2480 maximum if required. (Scott) 2481- Added pixelation support in imagefilter(). (Takeshi Abe, Kalle) 2482- Added SplObjectStorage::addAll/removeAll. (Etienne) 2483 2484- Implemented FR #41712 (curl progress callback: CURLOPT_PROGRESSFUNCTION). 2485 (sdteffen[at]gmail[dot].com, Pierre) 2486- Implemented FR #47739 (Missing cURL option do disable IPv6). (Pierre) 2487- Implemented FR #39637 (Missing cURL option CURLOPT_FTP_FILEMETHOD). (Pierre) 2488 2489- Fixed an issue with ReflectionProperty::setAccessible(). 2490 (Sebastian, Roman Borschel) 2491- Fixed html_entity_decode() incorrectly converting numeric html entities 2492 to different characters with cp1251 and cp866. (Scott) 2493- Fixed an issue in date() where a : was printed for the O modifier after a P 2494 modifier was used. (Derick) 2495- Fixed exec() on Windows to not eat the first and last double quotes. (Scott) 2496- Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre) 2497- Fixed a bug causing miscalculations with the "last <weekday> of <n> month" 2498 relative time string. (Derick) 2499- Fixed bug causing the algorithm parameter of mhash() to be modified. (Scott) 2500- Fixed invalid calls to free when internal fileinfo magic file is used. (Scott) 2501- Fixed memory leak inside wddx_add_vars() function. (Felipe) 2502- Fixed check in recode extension to allow builing of recode and mysql 2503 extensions when using a recent libmysql. (Johannes) 2504 2505- Fixed PECL bug #12794 (PDOStatement->nextRowset() doesn't work). (Johannes) 2506- Fixed PECL bug #12401 (Add support for ATTR_FETCH_TABLE_NAMES). (Johannes) 2507 2508- Fixed bug #48696 (ldap_read() segfaults with invalid parameters). (Felipe) 2509- Fixed bug #48643 (String functions memory issue). (Dmitry) 2510- Fixed bug #48641 (tmpfile() uses old parameter parsing). 2511 (crrodriguez at opensuse dot org) 2512- Fixed bug #48624 (.user.ini never gets parsed). (Pierre) 2513- Fixed bug #48620 (X-PHP-Originating-Script assumes no trailing CRLF in 2514 existing headers). (Ilia) 2515- Fixed bug #48578 (Can't build 5.3 on FBSD 4.11). (Rasmus) 2516- Fixed bug #48535 (file_exists returns false when impersonate is used). 2517 (Kanwaljeet Singla, Venkat Raman Don) 2518- Fixed bug #48493 (spl_autoload_register() doesn't work correctly when 2519 prepending functions). (Scott) 2520- Fixed bug #48215 (Calling a method with the same name as the parent class 2521 calls the constructor). (Scott) 2522- Fixed bug #48200 (compile failure with mbstring.c when 2523 --enable-zend-multibyte is used). (Jani) 2524- Fixed bug #48188 (Cannot execute a scrollable cursors twice with PDO_PGSQL). 2525 (Matteo) 2526- Fixed bug #48185 (warning: value computed is not used in 2527 pdo_sqlite_stmt_get_col line 271). (Matteo) 2528- Fixed bug #48087 (call_user_method() invalid free of arguments). (Felipe) 2529- Fixed bug #48060 (pdo_pgsql - large objects are returned as empty). (Matteo) 2530- Fixed bug #48034 (PHP crashes when script is 8192 (8KB) bytes long). (Dmitry) 2531- Fixed bug #48004 (Error handler prevents creation of default object). (Dmitry) 2532- Fixed bug #47880 (crashes in call_user_func_array()). (Dmitry) 2533- Fixed bug #47856 (stristr() converts needle to lower-case). (Ilia) 2534- Fixed bug #47851 (is_callable throws fatal error). (Dmitry) 2535- Fixed bug #47816 (pcntl tests failing on NetBSD). (Matteo) 2536- Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants). 2537 (Matteo) 2538- Fixed bug #47771 (Exception during object construction from arg call calls 2539 object's destructor). (Dmitry) 2540- Fixed bug #47767 (include_once does not resolve windows symlinks or junctions) 2541 (Kanwaljeet Singla, Venkat Raman Don) 2542- Fixed bug #47757 (rename JPG to JPEG in phpinfo). (Pierre) 2543- Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer). (Dmitry) 2544- Fixed bug #47714 (autoloading classes inside exception_handler leads to 2545 crashes). (Dmitry) 2546- Fixed bug #47671 (Cloning SplObjectStorage instances). (Etienne) 2547- Fixed bug #47664 (get_class returns NULL instead of FALSE). (Dmitry) 2548- Fixed bug #47662 (Support more than 127 subpatterns in preg_match). (Nuno) 2549- Fixed bug #47596 (Bus error on parsing file). (Dmitry) 2550- Fixed bug #47572 (Undefined constant causes segmentation fault). (Felipe) 2551- Fixed bug #47560 (explode()'s limit parameter odd behaviour). (Matt) 2552- Fixed bug #47549 (get_defined_constants() return array with broken array 2553 categories). (Ilia) 2554- Fixed bug #47535 (Compilation failure in ps_fetch_from_1_to_8_bytes()). 2555 (Johannes) 2556- Fixed bug #47534 (RecursiveDiteratoryIterator::getChildren ignoring 2557 CURRENT_AS_PATHNAME). (Etienne) 2558- Fixed bug #47443 (metaphone('scratch') returns wrong result). (Felipe) 2559- Fixed bug #47438 (mysql_fetch_field ignores zero offset). (Johannes) 2560- Fixed bug #47398 (PDO_Firebird doesn't implements quoter correctly). (Felipe) 2561- Fixed bug #47390 (odbc_fetch_into - BC in php 5.3.0). (Felipe) 2562- Fixed bug #47359 (Use the expected unofficial mimetype for bmp files). (Scott) 2563- Fixed bug #47343 (gc_collect_cycles causes a segfault when called within a 2564 destructor in one case). (Dmitry) 2565- Fixed bug #47320 ($php_errormsg out of scope in functions). (Dmitry) 2566- Fixed bug #47318 (UMR when trying to activate user config). (Pierre) 2567- Fixed bug #47243 (OCI8: Crash at shutdown on Windows) (Chris Jones/Oracle 2568 Corp.) 2569- Fixed bug #47231 (offsetGet error using incorrect offset). (Etienne) 2570- Fixed bug #47229 (preg_quote() should escape the '-' char). (Nuno) 2571- Fixed bug #47165 (Possible memory corruption when passing return value by 2572 reference). (Dmitry) 2573- Fixed bug #47087 (Second parameter of mssql_fetch_array()). (Felipe) 2574- Fixed bug #47085 (rename() returns true even if the file in PHAR does not 2575 exist). (Greg) 2576- Fixed bug #47050 (mysqli_poll() modifies improper variables). (Johannes) 2577- Fixed bug #47045 (SplObjectStorage instances compared with ==). (Etienne) 2578- Fixed bug #47038 (Memory leak in include). (Dmitry) 2579- Fixed bug #47031 (Fix constants in DualIterator example). (Etienne) 2580- Fixed bug #47021 (SoapClient stumbles over WSDL delivered with 2581 "Transfer-Encoding: chunked"). (Dmitry) 2582- Fixed bug #46994 (OCI8: CLOB size does not update when using CLOB IN OUT param 2583 in stored procedure) (Chris Jones/Oracle Corp.) 2584- Fixed bug #46979 (use with non-compound name *has* effect). (Dmitry) 2585- Fixed bug #46957 (The tokenizer returns deprecated values). (Felipe) 2586- Fixed bug #46944 (UTF-8 characters outside the BMP aren't encoded correctly). 2587 (Scott) 2588- Fixed bug #46897 (ob_flush() should fail to flush unerasable buffers). 2589 (David C.) 2590- Fixed bug #46849 (Cloning DOMDocument doesn't clone the properties). (Rob) 2591- Fixed bug #46847 (phpinfo() is missing some settings). (Hannes) 2592- Fixed bug #46844 (php scripts or included files with first line starting 2593 with # have the 1st line missed from the output). (Ilia) 2594- Fixed bug #46817 (tokenizer misses last single-line comment (PHP 5.3+, with 2595 re2c lexer)). (Matt, Shire) 2596- Fixed bug #46811 (ini_set() doesn't return false on failure). (Hannes) 2597- Fixed bug #46763 (mb_stristr() wrong output when needle does not exist). 2598 (Henrique M. Decaria) 2599- Fixed bug #46755 (warning: use statement with non-compound name). (Dmitry) 2600- Fixed bug #46746 (xmlrpc_decode_request outputs non-suppressable error when 2601 given bad data). (Ilia) 2602- Fixed bug #46738 (Segfault when mb_detect_encoding() fails). (Scott) 2603- Fixed bug #46731 (Missing validation for the options parameter of the 2604 imap_fetch_overview() function). (Ilia) 2605- Fixed bug #46711 (cURL curl_setopt leaks memory in foreach loops). (magicaltux 2606 [at] php [dot] net) 2607- Fixed bug #46701 (Creating associative array with long values in the key fails 2608 on 32bit linux). (Shire) 2609- Fixed bug #46681 (mkdir() fails silently on PHP 5.3). (Hannes) 2610- Fixed bug #46653 (can't extend mysqli). (Johannes) 2611- Fixed bug #46646 (Restrict serialization on some internal classes like Closure 2612 and SplFileInfo using exceptions). (Etienne) 2613- Fixed bug #46623 (OCI8: phpinfo doesn't show compile time ORACLE_HOME with 2614 phpize) (Chris Jones/Oracle Corp.) 2615- Fixed bug #46578 (strip_tags() does not honor end-of-comment when it 2616 encounters a single quote). (Felipe) 2617- Fixed bug #46546 (Segmentation fault when using declare statement with 2618 non-string value). (Felipe) 2619- Fixed bug #46542 (Extending PDO class with a __call() function doesn't work as 2620 expected). (Johannes) 2621- Fixed bug #46421 (SplFileInfo not correctly handling /). (Etienne) 2622- Fixed bug #46347 (parse_ini_file() doesn't support * in keys). (Nuno) 2623- Fixed bug #46268 (DateTime::modify() does not reset relative time values). 2624 (Derick) 2625- Fixed bug #46241 (stacked error handlers, internal error handling in general). 2626 (Etienne) 2627- Fixed bug #46238 (Segmentation fault on static call with empty string method). 2628 (Felipe) 2629- Fixed bug #46192 (ArrayObject with objects as storage serialization). 2630 (Etienne) 2631- Fixed bug #46185 (importNode changes the namespace of an XML element). (Rob) 2632- Fixed bug #46178 (memory leak in ext/phar). (Greg) 2633- Fixed bug #46160 (SPL - Memory leak when exception is thrown in offsetSet). 2634 (Felipe) 2635- Fixed Bug #46147 (after stream seek, appending stream filter reads incorrect 2636 data). (Greg) 2637- Fixed bug #46127 (php_openssl_tcp_sockop_accept forgets to set context on 2638 accepted stream) (Mark Karpeles, Pierre) 2639- Fixed bug #46115 (Memory leak when calling a method using Reflection). 2640 (Dmitry) 2641- Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on 2642 multiple calls). (Ilia) 2643- Fixed bug #46108 (DateTime - Memory leak when unserializing). (Felipe) 2644- Fixed bug #46106 (Memory leaks when using global statement). (Dmitry) 2645- Fixed bug #46099 (Xsltprocessor::setProfiling - memory leak). (Felipe, Rob). 2646- Fixed bug #46087 (DOMXPath - segfault on destruction of a cloned object). 2647 (Ilia) 2648- Fixed bug #46048 (SimpleXML top-level @attributes not part of iterator). 2649 (David C.) 2650- Fixed bug #46044 (Mysqli - wrong error message). (Johannes) 2651- Fixed bug #46042 (memory leaks with reflection of mb_convert_encoding()). 2652 (Ilia) 2653- Fixed bug #46039 (ArrayObject iteration is slow). (Arnaud) 2654- Fixed bug #46033 (Direct instantiation of SQLite3stmt and SQLite3result cause 2655 a segfault.) (Scott) 2656- Fixed bug #45991 (Ini files with the UTF-8 BOM are treated as invalid). 2657 (Scott) 2658- Fixed bug #45989 (json_decode() doesn't return NULL on certain invalid 2659 strings). (magicaltux, Scott) 2660- Fixed bug #45976 (Moved SXE from SPL to SimpleXML). (Etienne) 2661- Fixed bug #45928 (large scripts from stdin are stripped at 16K border). 2662 (Christian Schneider, Arnaud) 2663- Fixed bug #45911 (Cannot disable ext/hash). (Arnaud) 2664- Fixed bug #45907 (undefined reference to 'PHP_SHA512Init'). (Greg) 2665- Fixed bug #45826 (custom ArrayObject serialization). (Etienne) 2666- Fixed bug #45820 (Allow empty keys in ArrayObject). (Etienne) 2667- Fixed bug #45791 (json_decode() doesn't convert 0e0 to a double). (Scott) 2668- Fixed bug #45786 (FastCGI process exited unexpectedly). (Dmitry) 2669- Fixed bug #45757 (FreeBSD4.11 build failure: failed include; stdint.h). 2670 (Hannes) 2671- Fixed bug #45743 (property_exists fails to find static protected member in 2672 child class). (Felipe) 2673- Fixed bug #45717 (Fileinfo/libmagic build fails, missing err.h and getopt.h). 2674 (Derick) 2675- Fixed bug #45706 (Unserialization of classes derived from ArrayIterator 2676 fails). (Etienne, Dmitry) 2677- Fixed bug #45696 (Not all DateTime methods allow method chaining). (Derick) 2678- Fixed bug #45682 (Unable to var_dump(DateInterval)). (Derick) 2679- Fixed bug #45447 (Filesystem time functions on Vista and server 2008). 2680 (Pierre) 2681- Fixed bug #45432 (PDO: persistent connection leak). (Felipe) 2682- Fixed bug #45392 (ob_start()/ob_end_clean() and memory_limit). (Ilia) 2683- Fixed bug #45384 (parse_ini_file will result in parse error with no trailing 2684 newline). (Arnaud) 2685- Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (vnegrier at 2686 optilian dot com, Ilia) 2687- Fixed bug #45044 (relative paths not resolved correctly). (Dmitry) 2688- Fixed bug #44861 (scrollable cursor don't work with pgsql). (Matteo) 2689- Fixed bug #44842 (parse_ini_file keys that start/end with underscore). 2690 (Arnaud) 2691- Fixed bug #44575 (parse_ini_file comment # line problems). (Arnaud) 2692- Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct()). (Matteo) 2693- Fixed bug #44173 (PDO->query() parameter parsing/checking needs an update). 2694 (Matteo) 2695- Fixed bug #44154 (pdo->errorInfo() always have three elements in the returned 2696 array). (David C.) 2697- Fixed bug #44153 (pdo->errorCode() returns NULL when there are no errors). 2698 (David C.) 2699- Fixed bug #44135 (PDO MySQL does not support CLIENT_FOUND_ROWS). (Johannes, 2700 chx1975 at gmail dot com) 2701- Fixed bug #44100 (Inconsistent handling of static array declarations with 2702 duplicate keys). (Dmitry) 2703- Fixed bug #43831 ($this gets mangled when extending PDO with persistent 2704 connection). (Felipe) 2705- Fixed bug #43817 (opendir() fails on Windows directories with parent directory 2706 unaccessible). (Dmitry) 2707- Fixed bug #43069 (SoapClient causes 505 HTTP Version not supported error 2708 message). (Dmitry) 2709- Fixed bug #43008 (php://filter uris ignore url encoded filternames and can't 2710 handle slashes). (Arnaud) 2711- Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped). 2712 (Scott, Edward Z. Yang) 2713- Fixed bug #41874 (separate STDOUT and STDERR in exec functions). (Kanwaljeet 2714 Singla, Venkat Raman Don, Pierre) 2715- Fixed bug #41534 (SoapClient over HTTPS fails to reestablish connection). 2716 (Dmitry) 2717- Fixed bug #38802 (max_redirects and ignore_errors). (patch by 2718 datibbaw@php.net) 2719- Fixed bug #35980 (touch() works on files but not on directories). (Pierre) 2720 272117 Jun 2009, PHP 5.2.10 2722- Updated timezone database to version 2009.9 (2009i) (Derick) 2723 2724- Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara) 2725- Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS, 2726 and CURLPROTO_* for redirect fixes in CURL 7.19.4. (Yoram Bar Haim, Stas) 2727- Added support for Sun CC (FR #46595 and FR #46513). (David Soria Parra) 2728 2729- Changed default value of array_unique()'s optional sorting type parameter 2730 back to SORT_STRING to fix backwards compatibility breakage introduced in 2731 PHP 5.2.9. (Moriyoshi) 2732 2733- Fixed memory corruptions while reading properties of zip files. (Ilia) 2734- Fixed memory leak in ob_get_clean/ob_get_flush. (Christian) 2735- Fixed segfault on invalid session.save_path. (Hannes) 2736- Fixed leaks in imap when a mail_criteria is used. (Pierre) 2737- Fixed missing erealloc() in fix for Bug #40091 in spl_autoload_register. (Greg) 2738 2739- Fixed bug #48562 (Reference recursion causes segfault when used in 2740 wddx_serialize_vars()). (Felipe) 2741- Fixed bug #48557 (Numeric string keys in Apache Hashmaps are not cast to 2742 integers). (David Zuelke) 2743- Fixed bug #48518 (curl crashes when writing into invalid file handle). (Tony) 2744- Fixed bug #48514 (cURL extension uses same resource name for simple and 2745 multi APIs). (Felipe) 2746- Fixed bug #48469 (ldap_get_entries() leaks memory on empty search 2747 results). (Patrick) 2748- Fixed bug #48456 (CPPFLAGS not restored properly in phpize.m4). (Jani, 2749 spisek at kerio dot com) 2750- Fixed bug #48448 (Compile failure under IRIX 6.5.30 building cast.c). 2751 (Kalle) 2752- Fixed bug #48441 (ldap_search() sizelimit, timelimit and deref options 2753 persist). (Patrick) 2754- Fixed bug #48434 (Improve memory_get_usage() accuracy). (Arnaud) 2755- Fixed bug #48416 (Force a cache limit in ereg() to stop excessive memory 2756 usage). (Scott) 2757- Fixed bug #48409 (Crash when exception is thrown while passing function 2758 arguments). (Arnaud) 2759- Fixed bug #48378 (exif_read_data() segfaults on certain corrupted .jpeg 2760 files). (Pierre) 2761- Fixed bug #48359 (Script hangs on snmprealwalk if OID is not increasing). 2762 (Ilia, simonov at gmail dot com) 2763- Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not work 2764 with redeclared property). 2765 (patch by Markus dot Lidel at shadowconnect dot com) 2766- Fixed bug #48326 (constant MSG_DONTWAIT not defined). (Arnaud) 2767- Fixed bug #48313 (fgetcsv() does not return null for empty rows). (Ilia) 2768- Fixed bug #48309 (stream_copy_to_stream() and fpasstru() do not update 2769 stream position of plain files). (Arnaud) 2770- Fixed bug #48307 (stream_copy_to_stream() copies 0 bytes when $source is a 2771 socket). (Arnaud) 2772- Fixed bug #48273 (snmp*_real_walk() returns SNMP errors as values). 2773 (Ilia, lytboris at gmail dot com) 2774- Fixed bug #48256 (Crash due to double-linking of history.o). 2775 (tstarling at wikimedia dot org) 2776- Fixed bug #48248 (SIGSEGV when access to private property via &__get). 2777 (Felipe) 2778- Fixed bug #48247 (Crash on errors during startup). (Stas) 2779- Fixed bug #48240 (DBA Segmentation fault dba_nextkey). (Felipe) 2780- Fixed bug #48224 (Incorrect shuffle in array_rand). (Etienne) 2781- Fixed bug #48221 (memory leak when passing invalid xslt parameter). 2782 (Felipe) 2783- Fixed bug #48207 (CURLOPT_(FILE|WRITEHEADER options do not error out when 2784 working with a non-writable stream). (Ilia) 2785- Fixed bug #48206 (Iterating over an invalid data structure with 2786 RecursiveIteratorIterator leads to a segfault). (Scott) 2787- Fixed bug #48204 (xmlwriter_open_uri() does not emit warnings on invalid 2788 paths). (Ilia) 2789- Fixed bug #48203 (Crash when CURLOPT_STDERR is set to regular file). (Jani) 2790- Fixed bug #48202 (Out of Memory error message when passing invalid file 2791 path) (Pierre) 2792- Fixed bug #48156 (Added support for lcov v1.7). (Ilia) 2793- Fixed bug #48132 (configure check for curl ssl support fails with 2794 --disable-rpath). (Jani) 2795- Fixed bug #48131 (Don't try to bind ipv4 addresses to ipv6 ips via bindto). 2796 (Ilia) 2797- Fixed bug #48070 (PDO_OCI: Segfault when using persistent connection). 2798 (Pierre, Matteo, jarismar dot php at gmail dot com) 2799- Fixed bug #48058 (Year formatter goes wrong with out-of-int range). (Derick) 2800- Fixed bug #48038 (odbc_execute changes variables used to form params array). 2801 (Felipe) 2802- Fixed bug #47997 (stream_copy_to_stream returns 1 on empty streams). (Arnaud) 2803- Fixed bug #47991 (SSL streams fail if error stack contains items). (Mikko) 2804- Fixed bug #47981 (error handler not called regardless). (Hannes) 2805- Fixed bug #47969 (ezmlm_hash() returns different values depend on OS). (Ilia) 2806- Fixed bug #47946 (ImageConvolution overwrites background). (Ilia) 2807- Fixed bug #47940 (memory leaks in imap_body). (Pierre, Jake Levitt) 2808- Fixed bug #47937 (system() calls sapi_flush() regardless of output 2809 buffering). (Ilia) 2810- Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe) 2811- Fixed bug #47893 (CLI aborts on non blocking stdout). (Arnaud) 2812- Fixed bug #47849 (Non-deep import loses the namespace). (Rob) 2813- Fixed bug #47845 (PDO_Firebird omits first row from query). (Lars W) 2814- Fixed bug #47836 (array operator [] inconsistency when the array has 2815 PHP_INT_MAX index value). (Matt) 2816- Fixed bug #47831 (Compile warning for strnlen() in main/spprintf.c). 2817 (Ilia, rainer dot jung at kippdata dot de) 2818- Fixed bug #47828 (openssl_x509_parse() segfaults when a UTF-8 conversion 2819 fails). (Scott, Kees Cook, Pierre) 2820- Fixed bug #47818 (Segfault due to bound callback param). (Felipe) 2821- Fixed bug #47801 (__call() accessed via parent:: operator is provided 2822 incorrect method name). (Felipe) 2823- Fixed bug #47769 (Strange extends PDO). (Felipe) 2824- Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer). 2825 (Dmitry) 2826- Fixed bug #47721 (Alignment issues in mbstring and sysvshm extension). 2827 (crrodriguez at opensuse dot org, Ilia) 2828- Fixed bug #47704 (PHP crashes on some "bad" operations with string 2829 offsets). (Dmitry) 2830- Fixed bug #47695 (build error when xmlrpc and iconv are compiled against 2831 different iconv versions). (Scott) 2832- Fixed bug #47667 (ZipArchive::OVERWRITE seems to have no effect). 2833 (Mikko, Pierre) 2834- Fixed bug #47644 (Valid integers are truncated with json_decode()). (Scott) 2835- Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a 2836 string literal). (Ilia) 2837- Fixed bug #47616 (curl keeps crashing). (Felipe) 2838- Fixed bug #47598 (FILTER_VALIDATE_EMAIL is locale aware). (Ilia) 2839- Fixed bug #47566 (pcntl_wexitstatus() returns signed status). 2840 (patch by james at jamesreno dot com) 2841- Fixed bug #47564 (unpacking unsigned long 32bit bit endian returns wrong 2842 result). (Ilia) 2843- Fixed bug #47487 (performance degraded when reading large chunks after 2844 fix of bug #44607). (Arnaud) 2845- Fixed bug #47468 (enable cli|cgi-only extensions for embed sapi). (Jani) 2846- Fixed bug #47435 (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6 2847 addresses in the filter extension). (Ilia) 2848- Fixed bug #47430 (Errors after writing to nodeValue parameter of an absent 2849 previousSibling). (Rob) 2850- Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit 2851 systems). (Ilia) 2852- Fixed bug #47254 (Wrong Reflection for extends class). (Felipe) 2853- Fixed bug #47042 (cgi sapi is incorrectly removing SCRIPT_FILENAME). 2854 (Sriram Natarajan, David Soria Parra) 2855- Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with 2856 different bit numbers). (Matt) 2857- Fixed bug #46812 (get_class_vars() does not include visible private variable 2858 looking at subclass). (Arnaud) 2859- Fixed bug #46386 (Digest authentication with SOAP module fails against MSSQL 2860 SOAP services). (Ilia, lordelph at gmail dot com) 2861- Fixed bug #46109 (Memory leak when mysqli::init() is called multiple times). 2862 (Andrey) 2863- Fixed bug #45997 (safe_mode bypass with exec/system/passthru (windows only)). 2864 (Pierre) 2865- Fixed bug #45877 (Array key '2147483647' left as string). (Matt) 2866- Fixed bug #45822 (Near infinite-loops while parsing huge relative offsets). 2867 (Derick, Mike Sullivan) 2868- Fixed bug #45799 (imagepng() crashes on empty image). 2869 (Martin McNickle, Takeshi Abe) 2870- Fixed bug #45622 (isset($arrayObject->p) misbehaves with 2871 ArrayObject::ARRAY_AS_PROPS set). (robin_fernandes at uk dot ibm dot com, Arnaud) 2872- Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop 2873 of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud) 2874- Fixed bug #45540 (stream_context_create creates bad http request). (Arnaud) 2875- Fixed bug #45202 (zlib.output_compression can not be set with ini_set()). 2876 (Jani) 2877- Fixed bug #45191 (error_log ignores date.timezone php.ini val when setting 2878 logging timestamps). (Derick) 2879- Fixed bug #45092 (header HTTP context option not being used when compiled 2880 using --with-curlwrappers). (Jani) 2881- Fixed bug #44996 (xmlrpc_decode() ignores time zone on iso8601.datetime). 2882 (Ilia, kawai at apache dot org) 2883- Fixed bug #44827 (define() is missing error checks for class constants). 2884 (Ilia) 2885- Fixed bug #44214 (Crash using preg_replace_callback() and global variables). 2886 (Nuno, Scott) 2887- Fixed bug #43073 (TrueType bounding box is wrong for angle<>0). 2888 (Martin McNickle) 2889- Fixed bug #42663 (gzinflate() try to allocate all memory with truncated 2890 data). (Arnaud) 2891- Fixed bug #42414 (some odbc_*() functions incompatible with Oracle ODBC 2892 driver). (jhml at gmx dot net) 2893- Fixed bug #42362 (HTTP status codes 204 and 304 should not be gzipped). 2894 (Scott, Edward Z. Yang) 2895- Fixed bug #42143 (The constant NAN is reported as 0 on Windows) 2896 (Kanwaljeet Singla, Venkat Raman Don) 2897- Fixed bug #38805 (PDO truncates text from SQL Server text data type field). 2898 (Steph) 2899 290026 Feb 2009, PHP 5.2.9 2901- Changed __call() to be invoked on private/protected method access, similar to 2902 properties and __get(). (Andrei) 2903 2904- Added optional sorting type flag parameter to array_unique(). Default is 2905 SORT_REGULAR. (Andrei) 2906 2907- Fixed a crash on extract in zip when files or directories entry names contain 2908 a relative path. (Pierre) 2909- Fixed error conditions handling in stream_filter_append(). (Arnaud) 2910- Fixed zip filename property read. (Pierre) 2911- Fixed explode() behavior with empty string to respect negative limit. (Shire) 2912- Fixed security issue in imagerotate(), background colour isn't validated 2913 correctly with a non truecolour image. Reported by Hamid Ebadi, 2914 APA Laboratory (Fixes CVE-2008-5498). (Scott) 2915- Fixed a segfault when malformed string is passed to json_decode(). (Scott) 2916- Fixed bug in xml_error_string() which resulted in messages being 2917 off by one. (Scott) 2918 2919- Fixed bug #47422 (modulus operator returns incorrect results on 64 bit 2920 linux). (Matt) 2921- Fixed bug #47399 (mb_check_encoding() returns true for some illegal SJIS 2922 characters). (for-bugs at hnw dot jp, Moriyoshi) 2923- Fixed bug #47353 (crash when creating a lot of objects in object 2924 destructor). (Tony) 2925- Fixed bug #47322 (sscanf %d doesn't work). (Felipe) 2926- Fixed bug #47282 (FILTER_VALIDATE_EMAIL is marking valid email addresses 2927 as invalid). (Ilia) 2928- Fixed bug #47220 (segfault in dom_document_parser in recovery mode). (Rob) 2929- Fixed bug #47217 (content-type is not set properly for file uploads). (Ilia) 2930- Fixed bug #47174 (base64_decode() interprets pad char in mid string as 2931 terminator). (Ilia) 2932- Fixed bug #47165 (Possible memory corruption when passing return value by 2933 reference). (Dmitry) 2934- Fixed bug #47152 (gzseek/fseek using SEEK_END produces strange results). 2935 (Felipe) 2936- Fixed bug #47131 (SOAP Extension ignores "user_agent" ini setting). (Ilia) 2937- Fixed bug #47109 (Memory leak on $a->{"a"."b"} when $a is not an object). 2938 (Etienne, Dmitry) 2939- Fixed bug #47104 (Linking shared extensions fails with icc). (Jani) 2940- Fixed bug #47049 (SoapClient::__soapCall causes a segmentation fault). 2941 (Dmitry) 2942- Fixed bug #47048 (Segfault with new pg_meta_data). (Felipe) 2943- Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non 2944 apache). (Sriram Natarajan) 2945- Fixed bug #47037 (No error when using fopen with empty string). (Cristian 2946 Rodriguez R., Felipe) 2947- Fixed bug #47035 (dns_get_record returns a garbage byte at the end of a 2948 TXT record). (Felipe) 2949- Fixed bug #47027 (var_export doesn't show numeric indices on ArrayObject). 2950 (Derick) 2951- Fixed bug #46985 (OVERWRITE and binary mode does not work, regression 2952 introduced in 5.2.8). (Pierre) 2953- Fixed bug #46973 (IPv6 address filter rejects valid address). (Felipe) 2954- Fixed bug #46964 (Fixed pdo_mysql build with older version of MySQL). (Ilia) 2955- Fixed bug #46959 (Unable to disable PCRE). (Scott) 2956- Fixed bug #46918 (imap_rfc822_parse_adrlist host part not filled in 2957 correctly). (Felipe) 2958- Fixed bug #46889 (Memory leak in strtotime()). (Derick) 2959- Fixed bug #46887 (Invalid calls to php_error_docref()). (oeriksson at 2960 mandriva dot com, Ilia) 2961- Fixed bug #46873 (extract($foo) crashes if $foo['foo'] exists). (Arnaud) 2962- Fixed bug #46843 (CP936 euro symbol is not converted properly). (ty_c at 2963 cybozuy dot co dot jp, Moriyoshi) 2964- Fixed bug #46798 (Crash in mssql extension when retrieving a NULL value 2965 inside a binary or image column type). (Ilia) 2966- Fixed bug #46782 (fastcgi.c parse error). (Matt) 2967- Fixed bug #46760 (SoapClient doRequest fails when proxy is used). (Felipe) 2968- Fixed bug #46748 (Segfault when an SSL error has more than one error). 2969 (Scott) 2970- Fixed bug #46739 (array returned by curl_getinfo should contain 2971 content_type key). (Mikko) 2972- Fixed bug #46699 (xml_parse crash when parser is namespace aware). (Rob) 2973- Fixed bug #46419 (Elements of associative arrays with NULL value are 2974 lost). (Dmitry) 2975- Fixed bug #46282 (Corrupt DBF When Using DATE). (arne at bukkie dot nl) 2976- Fixed bug #46026 (bz2.decompress/zlib.inflate filter tries to decompress 2977 after end of stream). (Greg) 2978- Fixed bug #46005 (User not consistently logged under Apache2). (admorten 2979 at umich dot edu, Stas) 2980- Fixed bug #45996 (libxml2 2.7 causes breakage with character data in 2981 xml_parse()). (Rob) 2982- Fixed bug #45940 (MySQLI OO does not populate connect_error property on 2983 failed connect). (Johannes) 2984- Fixed bug #45923 (mb_st[r]ripos() offset not handled correctly). (Moriyoshi) 2985- Fixed bug #45327 (memory leak if offsetGet throws exception). (Greg) 2986- Fixed bug #45239 (Encoding detector hangs with mbstring.strict_detection 2987 enabled). (Moriyoshi) 2988- Fixed bug #45161 (Reusing a curl handle leaks memory). (Mark Karpeles, Jani) 2989- Fixed bug #44336 (Improve pcre UTF-8 string matching performance). (frode 2990 at coretrek dot com, Nuno) 2991- Fixed bug #43841 (mb_strrpos() offset is byte count for negative values). 2992 (Moriyoshi) 2993- Fixed bug #37209 (mssql_execute with non fatal errors). (Kalle) 2994- Fixed bug #35975 (Session cookie expires date format isn't the most 2995 compatible. Now matches that of setcookie()). (Scott) 2996 2997 299808 Dec 2008, PHP 5.2.8 2999- Reverted bug fix #42718 that broke magic_quotes_gpc (Scott) 3000 300104 Dec 2008, PHP 5.2.7 3002- Upgraded PCRE to version 7.8 (Fixes CVE-2008-2371). (Ilia) 3003- Updated timezone database to version 2008.9. (Derick) 3004- Upgraded bundled libzip to 0.9.0. (Pierre) 3005 3006- Added logging option for error_log to send directly to SAPI. (Stas) 3007- Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION, 3008 PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre) 3009- Added "PHP_INI_SCAN_DIR" environment variable which can be used to 3010 either disable or change the compile time ini scan directory (FR #45114). 3011 (Jani) 3012 3013- Fixed missing initialization of BG(page_uid) and BG(page_gid), 3014 reported by Maksymilian Arciemowicz. (Stas) 3015- Fixed memory leak inside sqlite_create_aggregate(). (Felipe) 3016- Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method. 3017 (Felipe) 3018- Fixed a crash inside gd with invalid fonts (Fixes CVE-2008-3658). (Pierre) 3019- Fixed a possible overflow inside memnstr (Fixes CVE-2008-3659). 3020 (LaurentGaffie) 3021- Fixed incorrect php_value order for Apache configuration, reported by 3022 Maksymilian Arciemowicz. (Stas) 3023- Fixed memory leak inside readline_callback_handler_remove() function. 3024 (Felipe) 3025- Fixed sybase_fetch_*() to continue reading after CS_ROW_FAIL status (Timm) 3026- Fixed a bug inside dba_replace() that could cause file truncation 3027 withinvalid keys. (Ilia) 3028- Fixed memory leak inside readline_callback_handler_install() function.(Ilia) 3029- Fixed memory leak inside readline_completion_function() function. (Felipe) 3030- Fixed stream_get_contents() when using $maxlength and socket is notclosed. 3031 indeyets [at] php [dot] net on #46049. (Arnaud) 3032- Fixed stream_get_line() to behave as documented on non-blocking streams. 3033 (Arnaud) 3034- Fixed endless loop in PDOStatement::debugDumpParams(). 3035 (jonah.harris at gmail dot com) 3036- Fixed ability to use "internal" heaps in extensions. (Arnaud, Dmitry) 3037- Fixed weekdays adding/subtracting algorithm. (Derick) 3038- Fixed some ambiguities in the date parser. (Derick) 3039- Fixed a bug with the YYYY-MM format not resetting the day correctly. 3040 (Derick) 3041- Fixed a bug in the DateTime->modify() methods, it would not use the advanced 3042 relative time strings. (Derick) 3043- Fixed extraction of zip files or directories when the entry name is a 3044 relative path. (Pierre) 3045- Fixed read or write errors for large zip archives. (Pierre) 3046- Fixed security issues detailed in CVE-2008-2665 and CVE-2008-2666. 3047 (Christian Hoffmann) 3048- Fixed simplexml asXML() not to lose encoding when dumping entire 3049 document to file. (Ilia) 3050- Fixed a crash inside PDO when trying instantiate PDORow manually. 3051 (Felipe) 3052- Fixed build failure of ext/mysqli with libmysql 6.0 - missing 3053 rplfunctions. (Andrey) 3054- Fixed a regression when using strip_tags() and < is within an 3055 attribute.(Scott) 3056- Fixed a crash on invalid method in ReflectionParameter constructor. 3057 (Christian Seiler) 3058- Reverted fix for bug #44197 due to behaviour change in minor version. 3059 (Felipe) 3060 3061- Fixed bug #46732 (mktime.year description is wrong). (Derick) 3062- Fixed bug #46696 (cURL fails in upload files with specified content-type). 3063 (Ilia) 3064- Fixed bug #46673 (stream_lock call with wrong parameter). (Arnaud) 3065- Fixed bug #46649 (Setting array element with that same array produces 3066 inconsistent results). (Arnaud) 3067- Fixed bug #46626 (mb_convert_case does not handle apostrophe correctly). 3068 (Ilia) 3069- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters). 3070 (Felipe) 3071- Fixed bug #46521 (Curl ZTS OpenSSL, error in config.m4 fragment). 3072 (jd at cpanel dot net) 3073- Fixed bug #46496 (wddx_serialize treats input as ISO-8859-1). (Mark Karpeles) 3074- Fixed bug #46427 (SoapClient() stumbles over its "stream_context" parameter). 3075 (Dmitry, Herman Radtke) 3076- Fixed bug #46426 (offset parameter of stream_get_contents() does not 3077 workfor "0"). (Felipe) 3078- Fixed bug #46406 (Unregistering nodeclass throws E_FATAL). (Rob) 3079- Fixed bug #46389 (NetWare needs small patch for _timezone). 3080 (patch by guenter@php.net) 3081- Fixed bug #46388 (stream_notification_callback inside of object destroys 3082 object variables). (Felipe) 3083- Fixed bug #46381 (wrong $this passed to internal methods causes segfault). 3084 (Tony) 3085- Fixed bug #46379 (Infinite loop when parsing '#' in one line file). (Arnaud) 3086- Fixed bug #46366 (bad cwd with / as pathinfo). (Dmitry) 3087- Fixed bug #46360 (TCP_NODELAY constant for socket_{get,set}_option). 3088 (bugs at trick dot vanstaveren dot us) 3089- Fixed bug #46343 (IPv6 address filter accepts invalid address). (Ilia) 3090- Fixed bug #46335 (DOMText::splitText doesn't handle multibyte characters). 3091 (Rob) 3092- Fixed bug #46323 (compilation of simplexml for NetWare breaks). 3093 (Patch by guenter [at] php [dot] net) 3094- Fixed bug #46319 (PHP sets default Content-Type header for HTTP 304 3095 response code, in cgi sapi). (Ilia) 3096- Fixed bug #46313 (Magic quotes broke $_FILES). (Arnaud) 3097- Fixed bug #46308 (Invalid write when changing property from inside getter). 3098 (Dmitry) 3099- Fixed bug #46292 (PDO::setFetchMode() shouldn't requires the 2nd arg when 3100 using FETCH_CLASSTYPE). (Felipe) 3101- Fixed bug #46274, #46249 (pdo_pgsql always fill in NULL for empty BLOB and 3102 segfaults when returned by SELECT). (Felipe) 3103- Fixed bug #46271 (local_cert option is not resolved to full path). (Ilia) 3104- Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback 3105 without event). (Felipe) 3106- Fixed bug #46246 (difference between call_user_func(array($this, $method)) 3107 and $this->$method()). (Dmitry) 3108- Fixed bug #46222 (ArrayObject EG(uninitialized_var_ptr) overwrite). 3109 (Etienne) 3110- Fixed bug #46215 (json_encode mutates its parameter and has some 3111 class-specific state). (Felipe) 3112- Fixed bug #46206 (pg_query_params/pg_execute convert passed values to 3113 strings). (Ilia) 3114- Fixed bug #46191 (BC break: DOMDocument saveXML() doesn't accept null). 3115 (Rob) 3116- Fixed bug #46164 (stream_filter_remove() closes the stream). (Arnaud) 3117- Fixed bug #46157 (PDOStatement::fetchObject prototype error). (Felipe) 3118- Fixed bug #46147 (after stream seek, appending stream filter reads 3119 incorrect data). (Greg) 3120- Fixed bug #46139 (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE). 3121 (chsc at peytz dot dk, Felipe) 3122- Fixed bug #46127 (php_openssl_tcp_sockop_accept forgets to set context 3123 on accepted stream) (Mark Karpeles, Pierre) 3124- Fixed bug #46110 (XMLWriter - openmemory() and openuri() leak memory on 3125 multiple calls). (Ilia) 3126- Fixed bug #46088 (RegexIterator::accept - segfault). (Felipe) 3127- Fixed bug #46082 (stream_set_blocking() can cause a crash in some 3128 circumstances). (Felipe) 3129- Fixed bug #46064 (Exception when creating ReflectionProperty object 3130 on dynamicly created property). (Felipe) 3131- Fixed bug #46059 (Compile failure under IRIX 6.5.30 building posix.c). 3132 (Arnaud) 3133- Fixed bug #46053 (SplFileObject::seek - Endless loop). (Arnaud) 3134- Fixed bug #46051 (SplFileInfo::openFile - memory overlap). (Arnaud) 3135- Fixed bug #46047 (SimpleXML converts empty nodes into object with 3136 nested array). (Rob) 3137- Fixed bug #46031 (Segfault in AppendIterator::next). (Arnaud) 3138- Fixed bug #46029 (Segfault in DOMText when using with Reflection). (Rob) 3139- Fixed bug #46026 (bzip2.decompress/zlib.inflate filter tries to decompress 3140 after end of stream). (Keisial at gmail dot com, Greg) 3141- Fixed bug #46024 (stream_select() doesn't return the correct number). 3142 (Arnaud) 3143- Fixed bug #46010 (warnings incorrectly generated for iv in ecb mode). 3144 (Felipe) 3145- Fixed bug #46003 (isset on nonexisting node return unexpected results). (Rob) 3146- Fixed bug #45956 (parse_ini_file() does not return false with syntax errors 3147 in parsed file). (Jani) 3148- Fixed bug #45901 (wddx_serialize_value crash with SimpleXMLElement object). 3149 (Rob) 3150- Fixed bug #45862 (get_class_vars is inconsistent with 'protected' and 3151 'private' variables). (ilewis at uk dot ibm dot com, Felipe) 3152- Fixed bug #45860 (header() function fails to correctly replace all Status 3153 lines). (Dmitry) 3154- Fixed bug #45805 (Crash on throwing exception from error handler). (Dmitry) 3155- Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause 3156 an error). (Felipe) 3157- Fixed bug #45751 (Using auto_prepend_file crashes (out of scope stack address 3158 use)). (basant dot kukreja at sun dot com) 3159- Fixed bug #45722 (mb_check_encoding() crashes). (Moriyoshi) 3160- Fixed bug #45705 (rfc822_parse_adrlist() modifies passed address parameter). 3161 (Jani) 3162- Fixed bug #45691 (Some per-dir or runtime settings may leak into other 3163 requests). (Moriyoshi) 3164- Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items). (Arnaud) 3165- Fixed bug #45580 (levenshtein() crashes with invalid argument). (Ilia) 3166- Fixed bug #45575 (Segfault with invalid non-string as event handler callback). 3167 (Christian Seiler) 3168- Fixed bug #45568 (ISAPI doesn't properly clear auth_digest in header). 3169 (Patch by: navara at emclient dot com) 3170- Fixed bug #45556 (Return value from callback isn't freed). (Felipe) 3171- Fixed bug #45555 (Segfault with invalid non-string as 3172 register_introspection_callback). (Christian Seiler) 3173- Fixed bug #45553 (Using XPath to return values for attributes with a 3174 namespace does not work). (Rob) 3175- Fixed bug #45529 (new DateTimeZone() and date_create()->getTimezone() behave 3176 different). (Derick) 3177- Fixed bug #45522 (FCGI_GET_VALUES request does not return supplied values). 3178 (Arnaud) 3179- Fixed bug #45486 (mb_send_mail(); header 'Content-Type: text/plain; charset=' 3180 parsing incorrect). (Felipe) 3181- Fixed bug #45485 (strip_tags and <?XML tag). (Felipe) 3182- Fixed bug #45460 (imap patch for fromlength fix in imap_headerinfo doesn't 3183 accept lengths of 1024). (Felipe, andrew at lifescale dot com) 3184- Fixed bug #45449 (filesize() regression using ftp wrapper). 3185 (crrodriguez at suse dot de) 3186- Fixed bug #45423 (fastcgi parent process doesn't invoke php_module_shutdown 3187 before shutdown) (basant dot kukreja at sun dot com) 3188- Fixed bug #45406 (session.serialize_handler declared by shared extension fails). 3189 (Kalle, oleg dot grenrus at dynamoid dot com) 3190- Fixed bug #45405 (snmp extension memory leak). 3191 (Federico Cuello, Rodrigo Campos) 3192- Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). (Ilia) 3193- Fixed bug #45373 (php crash on query with errors in params). (Felipe) 3194- Fixed bug #45352 (Segmentation fault because of tick function on second 3195 request). (Dmitry) 3196- Fixed bug #45312 (Segmentation fault on second request for array functions). 3197 (Dmitry) 3198- Fixed bug #45303 (Opening php:// wrapper in append mode results in a warning). 3199 (Arnaud) 3200- Fixed bug #45251 (double free or corruption with setAttributeNode()). (Rob) 3201- Fixed bug #45226 and #18916 (xmlrpc_set_type() segfaults and wrong behavior 3202 with valid ISO8601 date string). (Jeff Lawsons) 3203- Fixed bug #45220 (curl_read callback returns -1 when needs to return 3204 size_t (unsigned)). (Felipe) 3205- Fixed bug #45181 (chdir() should clear relative entries in stat cache). 3206 (Arnaud) 3207- Fixed bug #45178 (memory corruption on assignment result of "new" by 3208 reference). (Dmitry) 3209- Fixed bug #45166 (substr() overflow changes). (Felipe) 3210- Fixed bug #45151 (Crash with URI/file..php (filename contains 2 dots)). 3211 (Fixes CVE-2008-3660) (Dmitry) 3212- Fixed bug #45139 (ReflectionProperty returns incorrect declaring class). 3213 (Felipe) 3214- Fixed bug #45124 ($_FILES['upload']['size'] sometimes return zero and some 3215 times the filesize). (Arnaud) 3216- Fixed bug #45028 (CRC32 output endianness is different between crc32() and 3217 hash()). (Tony) 3218- Fixed bug #45004 (pg_insert() does not accept 4 digit timezone format). 3219 (Ilia) 3220- Fixed bug #44991 (Compile Failure With freetds0.82). 3221 (jklowden at freetds dot org, matthias at dsx dot at) 3222- Fixed bug #44938 (gettext functions crash with overly long domain). 3223 (Christian Schneider, Ilia) 3224- Fixed bug #44925 (preg_grep() modifies input array). (Nuno) 3225- Fixed bug #44900 (OpenSSL extension fails to link with OpenSSL 0.9.6). 3226 (jd at cpanel dot net, Pierre) 3227- Fixed bug #44891 Memory leak using registerPHPFunctions and XSLT Variable 3228 as function parameter. (Rob) 3229- Fixed bug #44882 (SOAP extension object decoding bug). (Dmitry) 3230- Fixed bug #44830 (Very minor issue with backslash in heredoc). (Matt) 3231- Fixed bug #44818 (php://memory writeable when opened read only). (Arnaud) 3232- Fixed bug #44811 (Improve error message when creating a new SoapClient 3233 that contains invalid data). (Markus Fischer, David C) 3234- Fixed bug #44798 (Memory leak assigning value to attribute). (Ilia) 3235- Fixed bug #44716 (Progress notifications incorrect). (Hannes) 3236- Fixed bug #44712 (stream_context_set_params segfaults on invalid arguments). 3237 (Hannes) 3238- Fixed bug #44617 (wrong HTML entity output when substitute_character=entity). 3239 (Moriyoshi) 3240- Fixed bug #44607 (stream_get_line unable to correctly identify the "ending" 3241 in the stream content). (Arnaud) 3242- Fixed bug #44425 (Extending PDO/MySQL class with a __call() function doesn't 3243 work). (Johannes) 3244- Fixed bug #44327 (PDORow::queryString property & numeric offsets / Crash). 3245 (Felipe) 3246- Fixed bug #44251, #41125 (PDO + quote() + prepare() can result in segfault). 3247 (tsteiner at nerdclub dot net) 3248- Fixed bug #44246 (closedir() accepts a file resource opened by fopen()). 3249 (Dmitry, Tony) 3250- Fixed bug #44182 (extract($a, EXTR_REFS) can fail to split copy-on-write 3251 references). (robin_fernandes at uk dot ibm dot com) 3252- Fixed bug #44181 (extract($a, EXTR_OVERWRITE|EXTR_REFS) can fail to create 3253 references to $a). (robin_fernandes at uk dot ibm dot com) 3254- Fixed bug #44127 (UNIX abstract namespace socket connect does not work). 3255 (Jani) 3256- Fixed bug #43993 (mb_substr_count() behaves differently to substr_count() 3257 with overlapping needles). (Moriyoshi) 3258- Fixed Bug #43958 (class name added into the error message). (Dmitry) 3259- Fixed bug #43941 (json_encode silently cuts non-UTF8 strings). (Stas) 3260- Fixed bug #43925 (Incorrect argument counter in prepared statements with 3261 pgsql). (Felipe) 3262- Fixed bug #43731 (socket_getpeername: cannot use on stdin with inetd). 3263 (Arnaud) 3264- Fixed bug #43723 (SOAP not sent properly from client for <choice>). (Dmitry) 3265- Fixed bug #43668 (Added odbc.default_cursortype to control the ODBCcursor 3266 model). (Patrick) 3267- Fixed bug #43666 (Fixed code to use ODBC 3.52 datatypes for 64bit 3268 systems). (Patrick) 3269- Fixed bug #43540 (rfc1867 handler newlength problem). (Arnaud) 3270- Fixed bug #43452 (strings containing a weekday, or a number plus weekday 3271 behaved incorrect of the current day-of-week was the same as the one in the 3272 phrase). (Derick) 3273- Fixed bug #43353 (wrong detection of 'data' wrapper causes notice). 3274 (gk at gknw dot de, Arnaud) 3275- Fixed bug #43053 (Regression: some numbers shown in scientific notation). 3276 (int-e at gmx dot de) 3277- Fixed bug #43045 (SOAP encoding violation on "INF" for type double/float). 3278 (Dmitry) 3279- Fixed bug #42862 (IMAP toolkit crash: rfc822.c legacy routine buffer 3280 overflow). (Fixes CVE-2008-2829) (Dmitry) 3281- Fixed bug #42855 (dns_get_record() doesn't return all text from TXT record). 3282 (a dot u dot savchuk at gmail dot com) 3283- Fixed bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines). 3284 (Nuno) 3285- Fixed bug #42718 (FILTER_UNSAFE_RAW not applied when configured as default 3286 filter). (Arnaud) 3287- Fixed bug #42604 ("make test" fails with --with-config-file-scan-dir=path). 3288 (Jani) 3289- Fixed bug #42473 (ob_start php://output and headers). (Arnaud) 3290- Fixed bug #42318 (problem with nm on AIX, not finding object files). 3291 (Dmitry) 3292- Fixed bug #42294 (Unified solution for round() based on C99 round). (Ilia) 3293- Fixed bug #42078 (pg_meta_data mix tables metadata from different schemas). 3294 (Felipe) 3295- Fixed bug #41348 (OCI8: allow compilation with Oracle 8.1). (Chris Jones) 3296- Fixed bug #41033 (enable signing with DSA keys. 3297 (gordyf at google dot com, Pierre) 3298- Fixed bug #37100 (data is returned truncated with BINARY CURSOR). (Tony) 3299- Fixed bug #30312 (crash in sybase_unbuffered_query() function). (Timm) 3300- Fixed bug #24679 (pg_* functions doesn't work using schema). (Felipe) 3301- Fixed bug #14962 (PECL) (::extractTo 2nd argument is not really optional) 3302 (Mark van Der Velden) 3303- Fixed bug #14032 (Mail() always returns false but mail is sent). (Mikko) 3304 3305 330601 May 2008, PHP 5.2.6 3307- Fixed two possible crashes inside posix extension (Tony) 3308- Fixed incorrect heredoc handling when label is used within the block. 3309 (Matt) 3310- Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin) 3311- Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin) 3312- Fixed a bug in formatting timestamps when DST is active in the default timezone (Derick) 3313- Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, Stefan Esser) 3314- Fix integer overflow in printf(). (Stas, Maksymilian Aciemowicz) 3315- Fixed security issue detailed in CVE-2008-0599. (Rasmus) 3316- Fixed potential memleak in stream filter parameter for zlib filter. (Greg) 3317- Added Reflection API metadata for the methods of the DOM classes. (Sebastian) 3318- Fixed weird behavior in CGI parameter parsing. (Dmitry, Hannes Magnusson) 3319- Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. 3320 (Ilia) 3321- Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by 3322 which to group by data is specified. (Ilia) 3323- Fixed segfault in filter extension when using callbacks. (Arnar Mar Sig, 3324 Felipe) 3325- Fixed faulty fix for bug #40189 (endless loop in zlib.inflate stream filter). (Greg) 3326- Upgraded PCRE to version 7.6 (Nuno) 3327 3328- Fixed bug #44742 (timezone_offset_get() causes segmentation faults). (Derick) 3329- Fixed bug #44720 (Prevent crash within session_register()). (Scott) 3330- Fixed bug #44703 (htmlspecialchars() does not detect bad character set argument). (Andy Wharmby) 3331- Fixed bug #44673 (With CGI argv/argc starts from arguments, not from script) (Dmitry) 3332- Fixed bug #44667 (proc_open() does not handle pipes with the mode 'wb' correctly). (Jani) 3333- Fixed bug #44663 (Crash in imap_mail_compose if "body" parameter invalid). (Ilia) 3334- Fixed bug #44650 (escaepshellscmd() does not check arg count). (Ilia) 3335- Fixed bug #44613 (Crash inside imap_headerinfo()). (Ilia, jmessa) 3336- Fixed bug #44603 (Order issues with Content-Type/Length headers on POST). (Ilia) 3337- Fixed bug #44594 (imap_open() does not validate # of retries parameter). (Ilia) 3338- Fixed bug #44591 (imagegif's filename parameter). (Felipe) 3339- Fixed bug #44557 (Crash in imap_setacl when supplied integer as username) (Thomas Jarosch) 3340- Fixed bug #44487 (call_user_method_array issues a warning when throwing an exception). (David Soria Parra) 3341- Fixed bug #44478 (Inconsistent behaviour when assigning new nodes). (Rob, Felipe) 3342- Fixed bug #44445 (email validator does not handle domains starting/ending with a -). (Ilia) 3343- Fixed bug #44440 (st_blocks undefined under BeOS). (Felipe) 3344- Fixed bug #44394 (Last two bytes missing from output). (Felipe) 3345- Fixed bug #44388 (Crash inside exif_read_data() on invalid images) (Ilia) 3346- Fixed bug #44373 (PDO_OCI extension compile failed). (Felipe) 3347- Fixed bug #44333 (SEGFAULT when using mysql_pconnect() with client_flags). (Felipe) 3348- Fixed bug #44306 (Better detection of MIPS processors on Windows). (Ilia) 3349- Fixed bug #44242 (metaphone('CMXFXM') crashes PHP). (Felipe) 3350- Fixed bug #44233 (MSG_PEEK undefined under BeOS R5). (jonathonfreeman at gmail dot com, Ilia) 3351- Fixed bug #44216 (strftime segfaults on large negative value). (Derick) 3352- Fixed bug #44209 (strtotime() doesn't support 64 bit timestamps on 64 bit platforms). (Derick) 3353- Fixed bug #44206 (OCI8 selecting ref cursors leads to ORA-1000 maximum open cursors reached). (Oracle Corp.) 3354- Fixed bug #44200 (A crash in PDO when no bound targets exists and yet bound parameters are present). (Ilia) 3355- Fixed bug #44197 (socket array keys lost on socket_select). (Felipe) 3356- Fixed bug #44191 (preg_grep messes up array index). (Felipe) 3357- Fixed bug #44189 (PDO setAttribute() does not properly validate values for native numeric options). (Ilia) 3358- Fixed bug #44184 (Double free of loop-variable on exception). (Dmitry) 3359- Fixed bug #44171 (Invalid FETCH_COLUMN index does not raise an error). (Ilia) 3360- Fixed bug #44166 (Parameter handling flaw in PDO::getAvailableDrivers()). (Ilia) 3361- Fixed bug #44159 (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)). (Felipe) 3362- Fixed bug #44152 (Possible crash with syslog logging on ZTS builds). (Ilia) 3363- Fixed bug #44141 (private parent constructor callable through static function). (Dmitry) 3364- Fixed bug #44113 (OCI8 new collection creation can fail with OCI-22303). (Oracle Corp.) 3365- Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=). (Dmitry) 3366- Fixed bug #44046 (crash inside array_slice() function with an invalid by-ref offset). (Ilia) 3367- Fixed bug #44028 (crash inside stream_socket_enable_crypto() when enabling encryption without crypto type). (Ilia) 3368- Fixed bug #44018 (RecursiveDirectoryIterator options inconsistancy). (Marcus) 3369- Fixed bug #44008 (OCI8 incorrect usage of OCI-Lob->close crashes PHP). (Oracle Corp.) 3370- Fixed bug #43998 (Two error messages returned for incorrect encoding for mb_strto[upper|lower]). (Rui) 3371- Fixed bug #43994 (mb_ereg 'successfully' matching incorrect). (Rui) 3372- Fixed bug #43954 (Memory leak when sending the same HTTP status code multiple times). (Scott) 3373- Fixed bug #43927 (koi8r is missing from html_entity_decode()). (andy at demos dot su, Tony) 3374- Fixed bug #43912 (Interbase column names are truncated to 31 characters). (Ilia) 3375- Fixed bug #43875 (Two error messages returned for $new and $flag argument in mysql_connect()). (Hannes) 3376- Fixed bug #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251). (phprus at gmail dot com, Tony) 3377- Fixed bug #43841 (mb_strrpos offset is byte count for negative values). (Rui) 3378- Fixed bug #43840 (mb_strpos bounds check is byte count rather than a character count). (Rui) 3379- Fixed bug #43808 (date_create never fails (even when it should)). (Derick) 3380- Fixed bug #43793 (zlib filter is unable to auto-detect gzip/zlib file headers). (Greg) 3381- Fixed bug #43703 (Signature compatibility check broken). (Dmitry) 3382- Fixed bug #43677 (Inconsistent behaviour of include_path set with php_value). (manuel at mausz dot at) 3383- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work). (David Soria Parra) 3384- Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";"). (Ilia) 3385- Fixed bug #43635 (mysql extension ingores INI settings on NULL values passed to mysql_connect()). (Ilia) 3386- Fixed bug #43620 (Workaround for a bug inside libcurl 7.16.2 that can result in a crash). (Ilia) 3387- Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data). (Dmitriy Buldakov, Felipe) 3388- Fixed bug #43606 (define missing depencies of the exif extension). (crrodriguez at suse dot de) 3389- Fixed bug #43589 (a possible infinite loop in bz2_filter.c). (Greg) 3390- Fixed bug #43580 (removed bogus declaration of a non-existent php_is_url() function). (Ilia) 3391- Fixed bug #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values). (Felipe, Tony) 3392- Fixed bug #43533 (escapeshellarg('') returns null). (Ilia) 3393- Fixed bug #43527 (DateTime created from a timestamp reports environment timezone). (Derick) 3394- Fixed bug #43522 (stream_get_line() eats additional characters). (Felipe, Ilia, Tony) 3395- Fixed bug #43507 (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status). (Dmitry) 3396- Fixed bug #43505 (Assign by reference bug). (Dmitry) 3397- Fixed bug #43498 (file_exists() on a proftpd server got SIZE not allowed in ASCII mode). (Ilia, crrodriguez at suse dot de) 3398- Fixed bug #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory). (Chris) 3399- Fixed bug #43495 (array_merge_recursive() crashes with recursive arrays). (Ilia) 3400- Fixed bug #43493 (pdo_pgsql does not send username on connect when password is not available). (Ilia) 3401- Fixed bug #43491 (Under certain conditions, file_exists() never returns). (Dmitry) 3402- Fixed bug #43483 (get_class_methods() does not list all visible methods). (Dmitry) 3403- Fixed bug #43482 (array_pad() does not warn on very small pad numbers). (Ilia) 3404- Fixed bug #43457 (Prepared statement with incorrect parms doesn't throw exception with pdo_pgsql driver). (Ilia) 3405- Fixed bug #43450 (Memory leak on some functions with implicit object __toString() call). (David C.) 3406- Fixed bug #43386 (array_globals not reset to 0 properly on init). (Ilia) 3407- Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone). (Ilia) 3408- Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error). (Ilia) 3409- Fixed bug #43364 (recursive xincludes don't remove internal xml nodes properly). (Rob, patch from ddb@bitxtender.de) 3410- Fixed bug #43301 (mb_ereg*_replace() crashes when replacement string is invalid PHP expression and 'e' option is used). (Jani) 3411- Fixed bug #43295 (crash because of uninitialized SG(sapi_headers).mimetype). (Dmitry) 3412- Fixed bug #43293 (Multiple segfaults in getopt()). (Hannes) 3413- Fixed bug #43279 (pg_send_query_params() converts all elements in 'params' to strings). (Ilia) 3414- Fixed bug #43276 (Incomplete fix for bug #42739, mkdir() under safe_mode). (Ilia) 3415- Fixed bug #43248 (backward compatibility break in realpath()). (Dmitry) 3416- Fixed bug #43221 (SimpleXML adding default namespace in addAttribute). (Rob) 3417- Fixed bug #43216 (stream_is_local() returns false on "file://"). (Dmitry) 3418- Fixed bug #43201 (Crash on using uninitialized vals and __get/__set). (Dmitry) 3419- Fixed bug #43182 (file_put_contents() LOCK_EX does not work properly on file truncation). (Ilia) 3420- Fixed bug #43175 (__destruct() throwing an exception with __call() causes segfault). (Dmitry) 3421- Fixed bug #43128 (Very long class name causes segfault). (Dmitry) 3422- Fixed bug #43105 (PHP seems to fail to close open files). (Hannes) 3423- Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL). (Jani) 3424- Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed using a timestamp). (Derick) 3425- Fixed bug #42978 (mismatch between number of bound params and values causes a crash in pdo_pgsql). (Ilia) 3426- Fixed bug #42945 (preg_split() swallows part of the string). (Nuno) 3427- Fixed bug #42937 (__call() method not invoked when methods are called on parent from child class). (Dmitry) 3428- Fixed bug #42841 (REF CURSOR and oci_new_cursor() crash PHP). (Chris) 3429- Fixed bug #42838 (Wrong results in array_diff_uassoc) (Felipe) 3430- Fixed bug #42779 (Incorrect forcing from HTTP/1.0 request to HTTP/1.1 response). (Ilia) 3431- Fixed bug #42736 (xmlrpc_server_call_method() crashes). (Tony) 3432- Fixed bug #42692 (Procedure 'int1' not present with doc/lit SoapServer). (Dmitry) 3433- Fixed bug #42548 (mysqli PROCEDURE calls can't return result sets). (Hartmut) 3434- Fixed bug #42505 (new sendmail default breaks on Netware platform) (Guenter Knauf) 3435- Fixed bug #42369 (Implicit conversion to string leaks memory). (David C., Rob). 3436- Fixed bug #42272 (var_export() incorrectly escapes char(0)). (Derick) 3437- Fixed bug #42261 (Incorrect lengths for date and boolean data types). (Ilia) 3438- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator invalidates DateTimeZone). (Derick) 3439- Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...). (Felipe) 3440- Fixed bug #41941 (oci8 extension not lib64 savvy). (Chris) 3441- Fixed bug #41828 (Failing to call RecursiveIteratorIterator::__construct() causes a sefault). (Etienne) 3442- Fixed bug #41599 (setTime() fails after modify() is used). (Derick) 3443- Fixed bug #41562 (SimpleXML memory issue). (Rob) 3444- Fixed bug #40013 (php_uname() does not return nodename on Netware (Guenter Knauf) 3445- Fixed bug #38468 (Unexpected creation of cycle). (Dmitry) 3446- Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build) (stotty at tvnet dot hu) 3447 344808 Nov 2007, PHP 5.2.5 3449- Upgraded PCRE to version 7.3 (Nuno) 3450- Added optional parameter $provide_object to debug_backtrace(). (Sebastian) 3451- Added alpha support for imagefilter() IMG_FILTER_COLORIZE. (Pierre) 3452- Added ability to control memory consumption between request using 3453 ZEND_MM_COMPACT environment variable. (Dmitry) 3454 3455- Improved speed of array_intersect_key(), array_intersect_assoc(), 3456 array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and 3457 array_udiff_assoc(). (Dmitry) 3458 3459- Fixed move_uploaded_file() to always set file permissions of resulting file 3460 according to UMASK. (Andrew Sitnikov) 3461- Fixed possible crash in ext/soap because of uninitialized value. (Zdash Urf) 3462- Fixed regression in glob() when enforcing safe_mode/open_basedir checks on 3463 paths containing '*'. (Ilia) 3464- Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable 3465 in .htaccess due to the security implications - reported by SecurityReason. 3466 (Stas) 3467- Fixed PDO crash when driver returns empty LOB stream. (Stas) 3468- Fixed dl() to only accept filenames - reported by Laurent Gaffie. (Stas) 3469- Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887). 3470 (Christian Hoffmann) 3471- Fixed iconv_*() functions to limit argument sizes as workaround to libc 3472 bug (CVE-2007-4783, CVE-2007-4840 by Laurent Gaffie). 3473 (Christian Hoffmann, Stas) 3474- Fixed missing brackets leading to build warning and error in the log. 3475 Win32 code. (Andrey) 3476- Fixed leaks with multiple connects on one mysqli object. (Andrey) 3477- Fixed endianness detection on MacOS when building universal binary. 3478 (Uwe Schindler, Christian Speich, Tony) 3479- Fixed possible triggering of buffer overflows inside glibc 3480 implementations of the fnmatch(), setlocale() and glob() functions. 3481 Reported by Laurent Gaffie. (Ilia) 3482- Fixed imagerectangle regression with 1x1 rectangle (libgd #106). (Pierre) 3483- Fixed htmlentities/htmlspecialchars not to accept partial multibyte 3484 sequences. (Stas) 3485 3486- Fixed bug #43196 (array_intersect_assoc() crashes with non-array input). 3487 (Jani) 3488- Fixed bug #43139 (PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with 3489 fetchAll()). (Ilia) 3490- Fixed bug #43137 (rmdir() and rename() do not clear statcache). (Jani) 3491- Fixed bug #43130 (Bound parameters cannot have - in their name). (Ilia) 3492- Fixed bug #43099 (XMLWriter::endElement() does not check # of params). 3493 (Ilia) 3494- Fixed bug #43020 (Warning message is missing with shuffle() and more 3495 than one argument). (Scott) 3496- Fixed bug #42976 (Crash when constructor for newInstance() or 3497 newInstanceArgs() fails) (Ilia) 3498- Fixed bug #42943 (ext/mssql: Move *timeout initialization from RINIT 3499 to connect time). (Ilia) 3500- Fixed bug #42917 (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode). 3501 (Ilia) 3502- Fixed bug #42890 (Constant "LIST" defined by mysqlclient and c-client). 3503 (Andrey) 3504- Fixed bug #42869 (automatic session id insertion adds sessions id to 3505 non-local forms). (Ilia) 3506- Fixed bug #42818 ($foo = clone(array()); leaks memory). (Dmitry) 3507- Fixed bug #42817 (clone() on a non-object does not result in a fatal 3508 error). (Ilia) 3509- Fixed bug #42785 (json_encode() formats doubles according to locale rather 3510 then following standard syntax). (Ilia) 3511- Fixed bug #42783 (pg_insert() does not accept an empty list for 3512 insertion). (Ilia) 3513- Fixed bug #42773 (WSDL error causes HTTP 500 Response). (Dmitry) 3514- Fixed bug #42772 (Storing $this in a static var fails while handling a cast 3515 to string). (Dmitry) 3516- Fixed bug #42767 (highlight_string() truncates trailing comment). (Ilia) 3517- Fixed bug #42739 (mkdir() doesn't like a trailing slash when safe_mode is 3518 enabled). (Ilia) 3519- Fixed bug #42703 (Exception raised in an iterator::current() causes segfault 3520 in FilterIterator) (Marcus) 3521- Fixed bug #42699 (PHP_SELF duplicates path). (Dmitry) 3522- Fixed bug #42654 (RecursiveIteratorIterator modifies only part of leaves) 3523 (Marcus) 3524- Fixed bug #42643 (CLI segfaults if using ATTR_PERSISTENT). (Ilia) 3525- Fixed bug #42637 (SoapFault : Only http and https are allowed). (Bill Moran) 3526- Fixed bug #42629 (Dynamically loaded PHP extensions need symbols exported 3527 on MacOSX). (jdolecek at NetBSD dot org) 3528- Fixed bug #42627 (bz2 extension fails to build with -fno-common). 3529 (dolecek at netbsd dot org) 3530- Fixed Bug #42596 (session.save_path MODE option does not work). (Ilia) 3531- Fixed bug #42590 (Make the engine recognize \v and \f escape sequences). 3532 (Ilia) 3533- Fixed bug #42587 (behavior change regarding symlinked .php files). (Dmitry) 3534- Fixed bug #42579 (apache_reset_timeout() does not exist). (Jani) 3535- Fixed bug #42549 (ext/mysql failed to compile with libmysql 3.23). (Scott) 3536- Fixed bug #42523 (PHP_SELF duplicates path). (Dmitry) 3537- Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on 3538 64-bit PHP). (Derick) 3539- Fixed bug #42506 (php_pgsql_convert() timezone parse bug) (nonunnet at 3540 gmail dot com, Ilia) 3541- Fixed bug #42496 (OCI8 cursor is not closed when using 2 clobs in a select 3542 query). (Oracle Corp.) 3543- Fixed bug #42462 (Segmentation when trying to set an attribute in a 3544 DOMElement). (Rob) 3545- Fixed bug #42453 (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline 3546 options). (Dmitry) 3547- Fixed bug #42452 (PDO classes do not expose Reflection API information). 3548 (Hannes) 3549- Fixed bug #42468 (Write lock on file_get_contents fails when using a 3550 compression stream). (Ilia) 3551- Fixed bug #42488 (SoapServer reports an encoding error and the error itself 3552 breaks). (Dmitry) 3553- Fixed bug #42378 (mysqli_stmt_bind_result memory exhaustion). (Andrey) 3554- Fixed bug #42359 (xsd:list type not parsed). (Dmitry) 3555- Fixed bug #42326 (SoapServer crash). (Dmitry) 3556- Fixed bug #42214 (SoapServer sends clients internal PHP errors). (Dmitry) 3557- Fixed bug #42189 (xmlrpc_set_type() crashes php on invalid datetime 3558 values). (Ilia) 3559- Fixed bug #42139 (XMLReader option constants are broken using XML()). (Rob) 3560- Fixed bug #42086 (SoapServer return Procedure '' not present for WSIBasic 3561 compliant wsdl). (Dmitry) 3562- Fixed bug #41822 (Relative includes broken when getcwd() fails). (Ab5602, 3563 Jani) 3564- Fixed bug #41561 (Values set with php_admin_* in httpd.conf can be overwritten 3565 with ini_set()). (Stas, Jani) 3566- Fixed bug #39651 (proc_open() append mode doesn't work on windows). (Nuno) 3567 356830 Aug 2007, PHP 5.2.4 3569- Removed --enable-versioning configure option. (Jani) 3570 3571- Upgraded PCRE to version 7.2 (Nuno) 3572- Updated timezone database to version 2007.6. (Derick) 3573 3574- Improved openssl_x509_parse() to return extensions in readable form. (Dmitry) 3575 3576- Enabled changing the size of statement cache for non-persistent OCI8 3577 connections. (Chris Jones, Tony) 3578 3579- Changed "display_errors" php.ini option to accept "stderr" as value which 3580 makes the error messages to be outputted to STDERR instead of STDOUT with 3581 CGI and CLI SAPIs (FR #22839). (Jani) 3582- Changed error handler to send HTTP 500 instead of blank page on PHP errors. 3583 (Dmitry, Andrei Nigmatulin) 3584- Changed mail() function to be always available. (Johannes) 3585 3586- Added check for unknown options passed to configure. (Jani) 3587- Added persistent connection status checker to pdo_pgsql. 3588 (Elvis Pranskevichus, Ilia) 3589- Added support for ATTR_TIMEOUT inside pdo_pgsql driver. (Ilia) 3590- Added php_ini_loaded_file() function which returns the path to the actual 3591 php.ini in use. (Jani) 3592- Added GD version constants GD_MAJOR_VERSION, GD_MINOR_VERSION, 3593 GD_RELEASE_VERSION, GD_EXTRA_VERSION and GD_VERSION_STRING. (Pierre) 3594- Added missing open_basedir checks to CGI. 3595 (anight at eyelinkmedia dot com, Tony) 3596- Added missing format validator to unpack() function. (Ilia) 3597- Added missing error check inside bcpowmod(). (Ilia) 3598- Added CURLOPT_PRIVATE & CURLINFO_PRIVATE constants. 3599 (Andrey A. Belashkov, Tony) 3600- Added missing MSG_EOR and MSG_EOF constants to sockets extension. (Jani) 3601- Added PCRE_VERSION constant. (Tony) 3602- Added ReflectionExtension::info() function to print the phpinfo() 3603 block for an extension. (Johannes) 3604 3605- Implemented FR #41884 (ReflectionClass::getDefaultProperties() does not 3606 handle static attributes). (Tony) 3607 3608- Fixed "Floating point exception" inside wordwrap(). 3609 (Mattias Bengtsson, Ilia) 3610- Fixed several integer overflows in ImageCreate(), ImageCreateTrueColor(), 3611 ImageCopyResampled() and ImageFilledPolygon() reported by Mattias Bengtsson. 3612 (Tony) 3613- Fixed size calculation in chunk_split(). (Stas) 3614- Fixed integer overflow in str[c]spn(). (Stas) 3615- Fixed money_format() not to accept multiple %i or %n tokens. 3616 (Stas, Ilia) 3617- Fixed zend_alter_ini_entry() memory_limit interruption 3618 vulnerability. (Ilia) 3619- Fixed INFILE LOCAL option handling with MySQL extensions not to be 3620 allowed when open_basedir or safe_mode is active. (Stas) 3621- Fixed session.save_path and error_log values to be checked against 3622 open_basedir and safe_mode (CVE-2007-3378) (Stas, Maksymilian Arciemowicz) 3623- Fixed possible invalid read in glob() win32 implementation (CVE-2007-3806). 3624 (Tony) 3625- Improved fix for MOPB-03-2007. (Ilia) 3626- Corrected fix for CVE-2007-2872. (Ilia) 3627 3628- Fixed possible crash in imagepsloadfont(), work around a bug in the pslib on 3629 Windows. (Pierre) 3630- Fixed oci8 and PDO_OCI extensions to allow configuring with Oracle 11g 3631 client libraries. (Chris Jones) 3632- Fixed EOF handling in case of reading from file opened in write only mode. 3633 (Dmitry) 3634- Fixed var_export() to use the new H modifier so that it can generate 3635 parseable PHP code for floats, independent of the locale. (Derick) 3636- Fixed regression introduced by the fix for the libgd bug #74. (Pierre) 3637- Fixed SimpleXML's behavior when used with empty(). (Sara) 3638- Fixed crash in OpenSSL extension because of non-string passphrase. (Dmitry) 3639 3640- Fixed PECL Bug #11345 (PDO_OCI crash after National language Support "NLS" 3641 environment initialization error). (Chris Jones) 3642- Fixed PECL bug #11216 (crash in ZipArchive::addEmptyDir when a directory 3643 already exists). (Pierre) 3644 3645- Fixed bug #43926 (isInstance() isn't equivalent to instanceof operator). (Marcus) 3646- Fixed bug #42368 (Incorrect error message displayed by pg_escape_string). 3647 (Ilia) 3648- Fixed bug #42365 (glob() crashes and/or accepts way too many flags). 3649 (Jani) 3650- Fixed Bug #42364 (Crash when using getRealPath with DirectoryIterator). 3651 (Johannes) 3652- Fixed bug #42292 ($PHP_CONFIG not set for phpized builds). (Jani) 3653- Fixed bug #42261 (header wrong for date field). 3654 (roberto at spadim dot com dot br, Ilia) 3655- Fixed bug #42259 (SimpleXMLIterator loses ancestry). (Rob) 3656- Fixed bug #42247 (ldap_parse_result() not defined under win32). (Jani) 3657- Fixed bug #42243 (copy() does not output an error when the first arg is a 3658 dir). (Ilia) 3659- Fixed bug #42242 (sybase_connect() crashes). (Ilia) 3660- Fixed bug #42237 (stream_copy_to_stream returns invalid values for mmaped 3661 streams). (andrew dot minerd at sellingsource dot com, Ilia) 3662- Fixed bug #42233 (Problems with æøå in extract()). (Jani) 3663- Fixed bug #42222 (possible buffer overflow in php_openssl_make_REQ). (Pierre) 3664- Fixed bug #42211 (property_exists() fails to find protected properties 3665 from a parent class). (Dmitry) 3666- Fixed bug #42208 (substr_replace() crashes when the same array is passed 3667 more than once). (crrodriguez at suse dot de, Ilia) 3668- Fixed bug #42198 (SCRIPT_NAME and PHP_SELF truncated when inside a userdir 3669 and using PATH_INFO). (Dmitry) 3670- Fixed bug #42195 (C++ compiler required always). (Jani) 3671- Fixed bug #42183 (classmap causes crash in non-wsdl mode). (Dmitry) 3672- Fixed bug #42173 (oci8 INTERVAL and TIMESTAMP type fixes). (Chris) 3673- Fixed bug #42151 (__destruct functions not called after catching a SoapFault 3674 exception). (Dmitry) 3675- Fixed bug #42142 (substr_replace() returns FALSE when length > string length). 3676 (Ilia) 3677- Fixed bug #42135 (Second call of session_start() causes creation of SID). 3678 (Ilia) 3679- Fixed bug #42134 (oci_error() returns false after oci_new_collection() fails). 3680 (Tony) 3681- Fixed bug #42119 (array_push($arr,&$obj) doesn't work with 3682 zend.ze1_compatibility_mode On). (Dmitry) 3683- Fixed bug #42117 (bzip2.compress loses data in internal buffer). 3684 (Philip, Ilia) 3685- Fixed bug #42112 (deleting a node produces memory corruption). (Rob) 3686- Fixed bug #42107 (sscanf broken when using %2$s format parameters). (Jani) 3687- Fixed bug #42090 (json_decode causes segmentation fault). (Hannes) 3688- Fixed bug #42082 (NodeList length zero should be empty). (Hannes) 3689- Fixed bug #42072 (No warning message for clearstatcache() with arguments). 3690 (Ilia) 3691- Fixed bug #42071 (ini scanner allows using NULL as option name). (Jani) 3692- Fixed bug #42027 (is_file() / is_dir() matches file/dirnames with wildcard char 3693 or trailing slash in Windows). (Dmitry) 3694- Fixed bug #42019 (configure option --with-adabas=DIR does not work). (Jani) 3695- Fixed bug #42015 (ldap_rename(): server error "DSA is unwilling to perform"). 3696 (bob at mroczka dot com, Jani) 3697- Fixed bug #42009 (is_a() and is_subclass_of() should NOT call autoload, in the 3698 same way as "instanceof" operator). (Dmitry) 3699- Fixed bug #41989 (move_uploaded_file() & relative path in ZTS mode). (Tony) 3700- Fixed bug #41984 (Hangs on large SoapClient requests). (Dmitry) 3701- Fixed bug #41983 (Error Fetching http headers terminated by '\n'). (Dmitry) 3702- Fixed bug #41973 (--with-ldap=shared fails with LDFLAGS="-Wl,--as-needed"). (Nuno) 3703- Fixed bug #41971 (PDOStatement::fetch and PDOStatement::setFetchMode causes 3704 unexpected behavior). (Ilia) 3705- Fixed bug #41964 (strtotime returns a timestamp for non-time string of 3706 pattern '(A|a) .+'). (Derick) 3707- Fixed bug #41961 (Ensure search for hidden private methods does not stray from 3708 class hierarchy). (robin_fernandes at uk dot ibm dot com) 3709- Fixed bug #41947 (SimpleXML incorrectly registers empty strings asnamespaces). 3710 (Rob) 3711- Fixed bug #41929 (Foreach on object does not iterate over all visible properties). 3712 (Dmitry) 3713- Fixed bug #41919 (crash in string to array conversion). 3714 (judas dot iscariote at gmail dot com, Ilia) 3715- Fixed bug #41909 (var_export() is locale sensitive when exporting float 3716 values). (Derick) 3717- Fixed bug #41908 (CFLAGS="-Os" ./configure --enable-debug fails). 3718 (christian at hoffie dot info, Tony) 3719- Fixed bug #41904 (proc_open(): empty env array should cause empty environment 3720 to be passed to process). (Jani) 3721- Fixed bug #41867 (SimpleXML: getName is broken). (Rob) 3722- Fixed bug #41865 (fputcsv(): 2nd parameter is not optional). (Jani) 3723- Fixed bug #41861 (SimpleXML: getNamespaces() returns the namespaces of a node's 3724 siblings). (Rob) 3725- Fixed bug #41845 (pgsql extension does not compile with PostgreSQL <7.4). (Ilia) 3726- Fixed bug #41844 (Format returns incorrect number of digits for negative years 3727 -0001 to -0999). (Derick) 3728- Fixed bug #41842 (Cannot create years < 0100 & negative years with date_create 3729 or new DateTime). (Derick) 3730- Fixed bug #41833 (addChild() on a non-existent node, no node created, 3731 getName() segfaults). (Rob) 3732- Fixed bug #41831 (pdo_sqlite prepared statements convert resources to 3733 strings). (Ilia) 3734- Fixed bug #41815 (Concurrent read/write fails when EOF is reached). (Sascha) 3735- Fixed bug #41813 (segmentation fault when using string offset as an object). 3736 (judas dot iscariote at gmail dot com, Tony) 3737- Fixed bug #41795 (checkdnsrr does not support DNS_TXT type). 3738 (lucas at facebook dot com, Tony) 3739- Fixed bug #41773 (php_strip_whitespace() sends headers with errors 3740 suppressed). (Tony) 3741- Fixed bug #41770 (SSL: fatal protocol error due to buffer issues). (Ilia) 3742- Fixed bug #41765 (Recode crashes/does not work on amd64). 3743 (nexus at smoula dot net, Stas) 3744- Fixed bug #41724 (libxml_get_last_error() - errors service request scope). 3745 (thekid at php dot net, Ilia) 3746- Fixed bug #41717 (imagepolygon does not respect thickness). (Pierre) 3747- Fixed bug #41713 (Persistent memory consumption on win32 since 5.2). (Dmitry) 3748- Fixed bug #41711 (NULL temporary lobs not supported in OCI8). 3749 (Chris Jones, Tony) 3750- Fixed bug #41709 (strtotime() does not handle 00.00.0000). (Derick) 3751- Fixed bug #41698 (float parameters truncated to integer in prepared 3752 statements). (Ilia) 3753- Fixed bug #41692 (ArrayObject shows weird behavior in respect to 3754 inheritance). (Tony) 3755- Fixed bug #41691 (ArrayObject::exchangeArray hangs Apache). (Tony) 3756- Fixed bug #41686 (Omitting length param in array_slice not possible). (Ilia) 3757- Fixed bug #41685 (array_push() fails to warn when next index is 3758 already occupied). (Ilia) 3759- Fixed bug #41655 (open_basedir bypass via glob()). (Ilia) 3760- Fixed bug #41640 (get_class_vars produces error on class constants). 3761 (Johannes) 3762- Fixed bug #41635 (SoapServer and zlib.output_compression with FastCGI 3763 result in major slowdown). (Dmitry) 3764- Fixed bug #41633 (Crash instantiating classes with self-referencing 3765 constants). (Dmitry) 3766- Fixed bug #41630 (segfault when an invalid color index is present in the 3767 image data). (Reported by Elliot <wccoder@gmail dot com>) (Pierre) 3768- Fixed bug #41628 (PHP settings leak between Virtual Hosts in Apache 1.3). 3769 (Scott, manuel at mausz dot at) 3770- Fixed bug #41608 (segfault on a weird code with objects and switch()). 3771 (Tony) 3772- Fixed bug #41600 (url rewriter tags doesn't work with namespaced tags). 3773 (Ilia) 3774- Fixed bug #41596 (Fixed a crash inside pdo_pgsql on some non-well-formed 3775 SQL queries). (Ilia) 3776- Fixed bug #41594 (OCI8 statement cache is flushed too frequently). (Tony) 3777- Fixed bug #41582 (SimpleXML crashes when accessing newly created element). 3778 (Tony) 3779- Fixed bug #41576 (configure failure when using --without-apxs or some other 3780 SAPIs disabling options). (Jani) 3781- Fixed bug #41567 (json_encode() double conversion is inconsistent with PHP). 3782 (Lucas, Ilia) 3783- Fixed bug #41566 (SOAP Server not properly generating href attributes). 3784 (Dmitry) 3785- Fixed bug #41555 (configure failure: regression caused by fix for #41265). 3786 (Jani) 3787- Fixed bug #41527 (WDDX deserialize numeric string array key). 3788 (Matt, Ilia) 3789- Fixed bug #41523 (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30). 3790 (Derick) 3791- Fixed bug #41518 (file_exists() warns of open_basedir restriction on 3792 non-existent file). (Tony) 3793- Fixed bug #41445 (parse_ini_file() has a problem with certain types of 3794 integer as sections). (Tony) 3795- Fixed bug #41433 (DBA: configure fails to include correct db.h for db4). 3796 (Jani) 3797- Fixed bug #41372 (Internal pointer of source array resets during array 3798 copying). (Dmitry) 3799- Fixed bug #41350 (my_thread_global_end() error during request shutdown on 3800 Windows). (Scott, Andrey) 3801- Fixed bug #41278 (get_loaded_extensions() should list Zend extensions). 3802 (Johannes) 3803- Fixed bug #41127 (Memory leak in ldap_{first|next}_attribute functions). 3804 (Jani) 3805- Fixed bug #40757 (get_object_vars get nothing in child class). (Dmitry) 3806- Fixed bug #40705 (Iterating within function moves original array pointer). 3807 (Dmitry) 3808- Fixed bug #40509 (key() function changed behaviour if global array is used 3809 within function). (Dmitry) 3810- Fixed bug #40419 (Trailing slash in CGI request does not work). (Dmitry) 3811- Fixed bug #39330 (apache2handler does not call shutdown actions before 3812 apache child die). (isk at ecommerce dot com, Gopal, Tony) 3813- Fixed bug #39291 (ldap_sasl_bind() misses the sasl_authc_id parameter). 3814 (diafour at gmail dot com, Jani) 3815- Fixed bug #37715 (array pointers resetting on copy). (Dmitry) 3816- Fixed bug #37273 (Symlinks and mod_files session handler allow open_basedir 3817 bypass). (Ilia) 3818- Fixed bug #36492 (Userfilters can leak buckets). (Sara) 3819- Fixed bugs #36796, #36918, #41371 (stream_set_blocking() does not work). 3820 (Jani) 3821- Fixed bug #35981 (pdo-pgsql should not use pkg-config when not present). 3822 (Jani) 3823- Fixed bug #31892 (PHP_SELF incorrect without cgi.fix_pathinfo, but turning on 3824 screws up PATH_INFO). (Dmitry) 3825- Fixed bug #21197 (socket_read() outputs error with PHP_NORMAL_READ). 3826 (Nuno, Jani) 3827 382831 May 2007, PHP 5.2.3 3829- Changed CGI install target to php-cgi and 'make install' to install CLI 3830 when CGI is selected. (Jani) 3831- Changed JSON maximum nesting depth from 20 to 128. (Rasmus) 3832 3833- Improved compilation of heredocs and interpolated strings. (Matt, Dmitry) 3834- Optimized out a couple of per-request syscalls. (Rasmus) 3835- Optimized digest generation in md5() and sha1() functions. (Ilia) 3836- Upgraded bundled SQLite 3 to version 3.3.17. (Ilia) 3837 3838- Added "max_input_nesting_level" php.ini option to limit nesting level of 3839 input variables. Fix for MOPB-03-2007. (Stas) 3840- Added a 4th parameter flag to htmlspecialchars() and htmlentities() that 3841 makes the function not encode existing html entities. (Ilia) 3842- Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set into 3843 an associated array. (Ilia) 3844- Added CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS cURL constants. (Sara) 3845- Added --ini switch to CLI that prints out configuration file names. (Marcus) 3846- Added mysql_set_charset() to allow runtime altering of connection encoding. 3847 (Scott) 3848 3849- Implemented FR #41416 (getColumnMeta() should also return table name). (Tony) 3850 3851- Fixed an integer overflow inside chunk_split(). Identified by Gerhard Wagner. 3852 (Ilia) 3853- Fixed SOAP extension's handler() to work even when 3854 "always_populate_raw_post_data" is off. (Ilia) 3855- Fixed possible infinite loop in imagecreatefrompng. (libgd #86) 3856 (by Xavier Roche, CVE-2007-2756). (Pierre) 3857- Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser). 3858 (Ilia) 3859- Fixed altering $this via argument named "this". (Dmitry) 3860- Fixed PHP CLI usage of php.ini from the binary location. (Hannes) 3861- Fixed segfault in strripos(). (Tony, Joxean Koret) 3862- Fixed bug #41693 (scandir() allows empty directory names). (Ilia) 3863- Fixed bug #41673 (json_encode breaks large numbers in arrays). (Ilia) 3864- Fixed bug #41525 (ReflectionParameter::getPosition() not available). (Marcus) 3865- Fixed bug #41511 (Compile failure under IRIX 6.5.30 building md5.c). (Jani) 3866- Fixed bug #41504 (json_decode() incorrectly decodes JSON arrays with empty 3867 string keys). (Ilia) 3868- Fixed bug #41492 (open_basedir/safe_mode bypass inside realpath()). (Ilia) 3869- Fixed bug #41477 (no arginfo about SoapClient::__soapCall()). (Ilia) 3870- Fixed bug #41455 (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS). 3871 (mmarek at suse dot cz, Tony) 3872- Fixed bug #41442 (imagegd2() under output control). (Tony) 3873- Fixed bug #41430 (Fatal error with negative values of maxlen parameter of 3874 file_get_contents()). (Tony) 3875- Fixed bug #41423 (PHP assumes wrongly that certain ciphers are enabled in 3876 OpenSSL). (Pierre) 3877- Fixed bug #41421 (Uncaught exception from a stream wrapper segfaults). 3878 (Tony, Dmitry) 3879- Fixed bug #41403 (json_decode cannot decode floats if localeconv 3880 decimal_point is not '.'). (Tony) 3881- Fixed bug #41401 (wrong unary operator precedence). (Stas) 3882- Fixed bug #41394 (dbase_create creates file with corrupted header). (Tony) 3883- Fixed bug #41390 (Clarify error message with invalid protocol scheme). 3884 (Scott) 3885- Fixed bug #41378 (fastcgi protocol lacks support for Reason-Phrase in 3886 "Status:" header). (anight at eyelinkmedia dot com, Dmitry) 3887- Fixed bug #41374 (whole text concats values of wrong nodes). (Rob) 3888- Fixed bug #41358 (configure cannot determine SSL lib with libcurl >= 7.16.2). 3889 (Mike) 3890- Fixed bug #41353 (crash in openssl_pkcs12_read() on invalid input). (Ilia) 3891- Fixed bug #41351 (Invalid opcode with foreach ($a[] as $b)). (Dmitry, Tony) 3892- Fixed bug #41347 (checkdnsrr() segfaults on empty hostname). (Scott) 3893- Fixed bug #41337 (WSDL parsing doesn't ignore non soap bindings). (Dmitry) 3894- Fixed bug #41326 (Writing empty tags with Xmlwriter::WriteElement[ns]) 3895 (Pierre) 3896- Fixed bug #41321 (downgrade read errors in getimagesize() to E_NOTICE). 3897 (Ilia) 3898- Fixed bug #41304 (compress.zlib temp files left). (Dmitry) 3899- Fixed bug #41293 (Fixed creation of HTTP_RAW_POST_DATA when there is no 3900 default post handler). (Ilia) 3901- Fixed bug #41291 (FastCGI does not set SO_REUSEADDR). 3902 (fmajid at kefta dot com, Dmitry) 3903- Fixed gd build when used with freetype 1.x (Pierre, Tony) 3904- Fixed bug #41287 (Namespace functions don't allow xmlns definition to be 3905 optional). (Rob) 3906- Fixed bug #41285 (Improved fix for CVE-2007-1887 to work with non-bundled 3907 sqlite2 lib). (Ilia) 3908- Fixed bug #41283 (Bug with deserializing array key that are doubles or 3909 floats in wddx). (Ilia) 3910- Fixed bug #41257 (lookupNamespaceURI does not work as expected). (Rob) 3911- Fixed bug #41236 (Regression in timeout handling of non-blocking SSL 3912 connections during reads and writes). (Ilia) 3913- Fixed bug #41134 (zend_ts_hash_clean not thread-safe). 3914 (marco dot cova at gmail dot com, Tony) 3915- Fixed bug #41097 (ext/soap returning associative array as indexed without 3916 using WSDL). (Dmitry) 3917- Fixed bug #41004 (minOccurs="0" and null class member variable). (Dmitry) 3918- Fixed bug #39542 (Behavior of require/include different to < 5.2.0). 3919 (Dmitry) 3920 392103 May 2007, PHP 5.2.2 3922- Improved bundled GD 3923 . Sync to 2.0.35 3924 . Added imagegrabwindow and imagegrabscreen, capture a screen or a 3925 window using its handle (Pierre) 3926 . colors allocated henceforth from the resulting image overwrite the palette 3927 colors (Rob Leslie) 3928 . Improved thread safety of the gif support (Roman Nemecek, Nuno, Pierre) 3929 . Use the dimension of the GIF frame to create the destination image (Pierre) 3930 . Load only once the local color map from a GIF data (Pierre) 3931 . Improved thread safety of the freetype cache (Scott MacVicar, Nuno, Pierre) 3932 . imagearc huge CPU usage with large angles, libgd bug #74 (Pierre) 3933- Improved FastCGI SAPI to support external pipe and socket servers on win32. 3934 (Dmitry) 3935- Improved Zend Memory Manager 3936 . guarantee of reasonable time for worst cases of best-fit free block 3937 searching algorithm. (Dmitry) 3938 . better cache usage and less fragmentation on erealloc() (Tony, Dmitry) 3939- Improved SPL (Marcus) 3940 . Added SplFileInfo::getBasename(), DirectoryIterator::getBasename(). 3941 . Added SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath(). 3942 . Made RecursiveFilterIterator::accept() abstract as stated in documentation. 3943- Improved SOAP 3944 . Added ability to encode arrays with "SOAP-ENC:Array" type instead of WSDL 3945 type. To activate the ability use "feature"=>SOAP_USE_XSI_ARRAY_TYPE 3946 option in SoapClient/SoapServer constructors. (Rob, Dmitry) 3947 3948- Added GMP_VERSION constant. (Tony) 3949- Added --ri switch to CLI which allows to check extension information. (Marcus) 3950- Added tidyNode::getParent() method (John, Nuno) 3951- Added openbasedir and safemode checks in zip:// stream wrapper and 3952 ZipArchive::open (Pierre) 3953- Added php_pdo_sqlite_external.dll, a version of the PDO SQLite driver that 3954 links against an external sqlite3.dll. This provides Windows users to upgrade 3955 their sqlite3 version outside of the PHP release cycle. (Wez, Edin) 3956- Added linenumbers to array returned by token_get_all(). (Johannes) 3957 3958- Upgraded SQLite 3 to version 3.3.16 (Ilia) 3959- Upgraded libraries bundled in the Windows distribution. (Edin) 3960 . c-client (imap) to version 2006e 3961 . libpq (PostgreSQL) to version 8.2.3 3962 . libmysql (MySQL) to version 5.0.37 3963 . openssl to version 0.9.8e 3964- Upgraded PCRE to version 7.0 (Nuno) 3965 3966- Updated timezone database to version 2007.5. (Derick) 3967 3968- Fixed commandline handling for CLI and CGI. (Marcus, Johannes) 3969- Fixed iterator_apply() with a callback using __call(). (Johannes) 3970- Fixed possible multi bytes issues in openssl csr parser (Pierre) 3971- Fixed shmop_open() with IPC_CREAT|IPC_EXCL flags on Windows. 3972 (Vladimir Kamaev, Tony). 3973- Fixed possible leak in ZipArchive::extractTo when safemode checks fails (Ilia) 3974- Fixed possible relative path issues in zip_open and TS mode (old API) (Pierre) 3975- Fixed zend_llist_remove_tail (Michael Wallner, Dmitry) 3976- Fixed a thread safety issue in gd gif read code (Nuno, Roman Nemecek) 3977- Fixed CVE-2007-1001, GD wbmp used with invalid image size (Pierre) 3978- Fixed unallocated memory access/double free in in array_user_key_compare() 3979 (MOPB-24 by Stefan Esser) (Stas) 3980- Fixed wrong length calculation in unserialize S type 3981 (MOPB-29 by Stefan Esser) (Stas) 3982 3983- Fixed bug #41215 (setAttribute return code reversed). (Ilia) 3984- Fixed bug #41192 (Per Directory Values only work for one key). (Dmitry) 3985- Fixed bug #41175 (addAttribute() fails to add an attribute with an empty 3986 value). (Ilia) 3987- Fixed bug #41159 (mysql_pconnect() hash does not account for connect 3988 flags). (Ilia) 3989- Fixed bug #41121 (range() overflow handling for large numbers on 32bit 3990 machines). (Ilia) 3991- Fixed bug #41118 (PHP does not handle overflow of octal integers). (Tony) 3992- Fixed bug #41109 (recursiveiterator.inc says "implements" Iterator instead of 3993 "extends"). (Marcus) 3994- Fixed bug #40130 (TTF usage doesn't work properly under Netware). (Scott, 3995 gk at gknw dot de) 3996- Fixed bug #41093 (magic_quotes_gpc ignores first arrays keys). (Arpad, Ilia) 3997- Fixed bug #41075 (memleak when creating default object caused exception). 3998 (Dmitry) 3999- Fixed bug #41067 (json_encode() problem with UTF-16 input). (jp at df5ea 4000 dot net. Ilia) 4001- Fixed bug #41063 (chdir doesn't like root paths). (Dmitry) 4002- Fixed bug #41061 ("visibility error" in ReflectionFunction::export()). 4003 (Johannes) 4004- Fixed bug #41043 (pdo_oci crash when freeing error text with persistent 4005 connection). (Tony) 4006- Fixed bug #41037 (unregister_tick_function() inside the tick function crash PHP). 4007 (Tony) 4008- Fixed bug #41034 (json_encode() ignores null byte started keys in arrays). 4009 (Ilia) 4010- Fixed bug #41026 (segfault when calling "self::method()" in shutdown functions). 4011 (Tony) 4012- Fixed bug #40999 (mcrypt_create_iv() not using random seed). (Ilia) 4013- Fixed bug #40998 (long session array keys are truncated). (Tony) 4014- Implement feature request #40947, allow a single filter as argument 4015 for filter_var_array (Pierre) 4016- Fixed bug #40935 (pdo_mysql does not raise an exception on empty 4017 fetchAll()). (Ilia) 4018- Fixed bug #40931 (open_basedir bypass via symlink and move_uploaded_file()). 4019 (Tony) 4020- Fixed bug #40921 (php_default_post_reader crashes when post_max_size is 4021 exceeded). (trickie at gmail dot com, Ilia) 4022- Fixed bug #40915 (addcslashes unexpected behavior with binary input). (Tony) 4023- Fixed bug #40899 (memory leak when nesting list()). (Dmitry) 4024- Fixed bug #40897 (error_log file not locked). (Ilia) 4025- Fixed bug #40883 (mysql_query() is allocating memory incorrectly). (Tony) 4026- Fixed bug #40872 (inconsistency in offsetSet, offsetExists treatment of 4027 string enclosed integers). (Marcus) 4028- Fixed bug #40861 (strtotime() doesn't handle double negative relative time 4029 units correctly). (Derick, Ilia) 4030- Fixed bug #40854 (imap_mail_compose() creates an invalid terminator for 4031 multipart e-mails). (Ilia) 4032- Fixed bug #40848 (sorting issue on 64-bit Solaris). (Wez) 4033- Fixed bug #40836 (Segfault in ext/dom). (Rob) 4034- Fixed bug #40833 (Crash when using unset() on an ArrayAccess object retrieved 4035 via __get()). (Dmitry) 4036- Fixed bug #40822 (pdo_mysql does not return rowCount() on select). (Ilia) 4037- Fixed bug #40815 (using strings like "class::func" and static methods in 4038 set_exception_handler() might result in crash). (Tony) 4039- Fixed bug #40809 (Poor performance of ".="). (Dmitry) 4040- Fixed bug #40805 (Failure executing function ibase_execute()). (Tony) 4041- Fixed bug #40800 (cannot disable memory_limit with -1). (Dmitry, Tony) 4042- Fixed bug #40794 (ReflectionObject::getValues() may crash when used with 4043 dynamic properties). (Tony) 4044- Fixed bug #40784 (Case sensitivity in constructor's fallback). (Tony) 4045- Fixed bug #40770 (Apache child exits when PHP memory limit reached). (Dmitry) 4046- Fixed bug #40764 (line thickness not respected for horizontal and vertical 4047 lines). (Pierre) 4048- Fixed bug #40758 (Test fcgi_is_fastcgi() is wrong on windows). (Dmitry) 4049- Fixed bug #40754 (added substr() & substr_replace() overflow checks). (Ilia) 4050- Fixed bug #40752 (parse_ini_file() segfaults when a scalar setting is 4051 redeclared as an array). (Tony) 4052- Fixed bug #40750 (openssl stream wrapper ignores default_stream_timeout). 4053 (Tony) 4054- Fixed bug #40727 (segfault in PDO when failed to bind parameters). (Tony) 4055- Fixed bug #40709 (array_reduce() behaves strange with one item stored arrays). 4056 (Ilia) 4057- Fixed bug #40703 (Resolved a possible namespace conflict between libxmlrpc 4058 and MySQL's NDB table handler). (Ilia) 4059- Fixed bug #40961 (Incorrect results of DateTime equality check). (Mike) 4060- Fixed bug #40678 (Cross compilation fails). (Tony) 4061- Fixed bug #40621 (Crash when constructor called inappropriately). (Tony) 4062- Fixed bug #40609 (Segfaults when using more than one SoapVar in a request). 4063 (Rob, Dmitry) 4064- Fixed bug #40606 (umask is not being restored when request is finished). 4065 (Tony) 4066- Fixed bug #40598 (libxml segfault). (Rob) 4067- Fixed bug #40591 (list()="string"; gives invalid opcode). (Dmitry) 4068- Fixed bug #40578 (imagettftext() multithreading issue). (Tony, Pierre) 4069- Fixed bug #40576 (double values are truncated to 6 decimal digits when 4070 encoding). (Tony) 4071- Fixed bug #40560 (DIR functions do not work on root UNC path). (Dmitry) 4072- Fixed bug #40548 (SplFileInfo::getOwner/getGroup give a warning on broken 4073 symlink). (Marcus) 4074- Fixed bug #40546 (SplFileInfo::getPathInfo() throws an exception if directory 4075 is in root dir). (Marcus) 4076- Fixed bug #40545 (multithreading issue in zend_strtod()). (Tony) 4077- Fixed bug #40503 (json_encode() value corruption on 32bit systems with 4078 overflown values). (Ilia) 4079- Fixed bug #40467 (Partial SOAP request sent when XSD sequence or choice 4080 include minOccurs=0). (Dmitry) 4081- Fixed bug #40465 (Ensure that all PHP elements are printed by var_dump). 4082 (wharmby at uk dot ibm dot com, Ilia) 4083- Fixed bug #40464 (session.save_path wont use default-value when safe_mode 4084 or open_basedir is enabled). (Ilia) 4085- Fixed bug #40455 (proc_open() uses wrong command line when safe_mode_exec_dir 4086 is set). (Tony) 4087- Fixed bug #40432 (strip_tags() fails with greater than in attribute). (Ilia) 4088- Fixed bug #40431 (dynamic properties may cause crash in ReflectionProperty 4089 methods). (Tony) 4090- Fixed bug #40451 (addAttribute() may crash when used with non-existent child 4091 node). (Tony) 4092- Fixed bug #40442 (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0). 4093 (olivier at elma dot fr, Marcus) 4094- Fixed bug #40428 (imagepstext() doesn't accept optional parameter). (Pierre) 4095- Fixed bug #40417 (Allow multiple instances of the same named PDO token in 4096 prepared statement emulation code). (Ilia) 4097- Fixed bug #40414 (possible endless fork() loop when running fastcgi). 4098 (Dmitry) 4099- Fixed bug #40410 (ext/posix does not compile on MacOS 10.3.9). (Tony) 4100- Fixed bug #40392 (memory leaks in PHP milter SAPI). 4101 (tuxracer69 at gmail dot com, Tony) 4102- Fixed bug #40371 (pg_client_encoding() not working on Windows). (Edin) 4103- Fixed bug #40352 (FCGI_WEB_SERVER_ADDRS function get lost). (Dmitry) 4104- Fixed bug #40290 (strtotime() returns unexpected result with particular 4105 timezone offset). (Derick) 4106- Fixed bug #40286 (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when 4107 parent is killed). (Dmitry) 4108- Fixed bug #40261 (Extremely slow data handling due to memory fragmentation). 4109 (Dmitry) 4110- Fixed bug #40236 (php -a function allocation eats memory). (Dmitry) 4111- Fixed bug #40109 (iptcembed fails on non-jfif jpegs). (Tony) 4112- Fixed bug #39965 (Latitude and longitude are backwards in date_sun_info()). 4113 (Derick) 4114- Implement #39867 (openssl PKCS#12 support) (Marc Delling, Pierre) 4115- Fixed bug #39836 (SplObjectStorage empty after unserialize). (Marcus) 4116- Fixed bug #39416 (Milliseconds in date()). (Derick) 4117- Fixed bug #39396 (stream_set_blocking crashes on Win32). (Ilia, maurice at 4118 iceblog dot de) 4119- Fixed bug #39351 (relative include fails on Solaris). (Dmitry, Tony) 4120- Fixed bug #39322 (proc_terminate() destroys process resource). (Nuno) 4121- Fixed bug #38406 (crash when assigning objects to SimpleXML attributes). (Tony) 4122- Fixed bug #37799 (ftp_ssl_connect() falls back to non-ssl connection). (Nuno) 4123- Fixed bug #36496 (SSL support in imap_open() not working on Windows). (Edin) 4124- Fixed bug #36226 (Inconsistent handling when passing nillable arrays). 4125 (Dmitry) 4126- Fixed bug #35872 (Avoid crash caused by object store being referenced during 4127 RSHUTDOWN). (Andy) 4128- Fixed bug #34794 (proc_close() hangs when used with two processes). 4129 (jdolecek at netbsd dot org, Nuno) 4130- Fixed PECL bug #10194 (crash in Oracle client when memory limit reached in 4131 the callback). (Tony) 4132- Fixed substr_compare and substr_count information leak (MOPB-14) (Stas, Ilia) 4133- Fixed crash on op-assign where argument is string offset (Brian, Stas) 4134- Fixed bug #38710 (data leakage because of nonexisting boundary checking in 4135 statements in mysqli) (Stas) 4136- Fixed bug #37386 (autocreating element doesn't assign value to first node). 4137 (Rob) 4138- Fixed bug #37013 (server hangs when returning circular object references). 4139 (Dmitry) 4140- Fixed bug #33664 Console window appears when using exec() 4141 (Richard Quadling, Stas) 4142 4143 414408 Feb 2007, PHP 5.2.1 4145- Added read-timeout context option "timeout" for HTTP streams. (Hannes, Ilia). 4146- Added CURLOPT_TCP_NODELAY constant to Curl extension. (Sara) 4147- Added support for hex numbers of any size. (Matt) 4148- Added function stream_socket_shutdown(). It is a wrapper for system 4149 shutdown() function, that shut downs part of a full-duplex connection. 4150 (Dmitry) 4151- Added internal heap protection (Dmitry) 4152 . memory-limit is always enabled (--enable-memory-limit removed) 4153 . default value if memory-limit is set to 128M 4154 . safe unlinking 4155 . cookies 4156 . canary protection (debug build only) 4157 . random generation of cookies and canaries 4158- Added forward support for 'b' prefix in front of string literals. (Andrei) 4159- Added three new functions to ext/xmlwriter (Rob, Ilia) 4160 . xmlwriter_start_dtd_entity() 4161 . xmlwriter_end_dtd_entity() 4162 . xmlwriter_write_dtd_entity() 4163- Added a meta tag to phpinfo() output to prevent search engines from indexing 4164 the page. (Ilia) 4165- Added new function, sys_get_temp_dir(). (Hartmut) 4166- Added missing object support to file_put_contents(). (Ilia) 4167- Added support for md2, ripemd256 and ripemd320 algos to hash(). (Sara) 4168- Added forward support for (binary) cast. (Derick) 4169- Added optimization for imageline with horizontal and vertical lines (Pierre) 4170 4171- Removed dependency from SHELL32.DLL. (Dmitry) 4172- Removed double "wrong parameter count" warnings in various functions. 4173 (Hannes) 4174- Moved extensions to PECL: 4175 . ext/informix (Derick, Tony) 4176 4177- Changed double-to-string utilities to use BSD implementation. (Dmitry, Tony) 4178- Updated bundled libcURL to version 7.16.0 in the Windows distro. (Edin) 4179- Updated timezone database to version 2006.16. (Derick) 4180- cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive 4181 cgi.check_shebang_line can be used to omitting check for "#! /usr/bin/php" 4182 line. (Dmitry). 4183- Improved proc_open(). Now on Windows it can run external commands not 4184 through CMD.EXE. (Dmitry) 4185- VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR. 4186 (Dmitry) 4187- ext/bcmath initialization code is moved from request startup to module 4188 startup. (Dmitry) 4189- Zend Memory Manager Improvements (Dmitry) 4190 . use HeapAlloc() instead of VirtualAlloc() 4191 . use "win32" storage manager (instead of "malloc") on Windows by default 4192- Zip Extension Improvements (Pierre) 4193 . Fixed leak in statName and stateIndex 4194 . Fixed return setComment (Hannes) 4195 . Added addEmptyDir method 4196- Filter Extension Improvements (Ilia, Pierre) 4197 . Fixed a bug when callback function returns a non-modified value. 4198 . Added filter support for $_SERVER in cgi/apache2 sapis. 4199 . Make sure PHP_SELF is filtered in Apache 1 sapi. 4200 . Fixed bug #39358 (INSTALL_HEADERS contains incorrect reference to 4201 php_filter.h). 4202 . Added "default" option that allows a default value to be set for an 4203 invalid or missing value. 4204 . Invalid filters fails instead of returning unsafe value 4205 . Fixed possible double encoding problem with sanitizing filters 4206 . Make use of space-strict strip_tags() function 4207 . Fixed whitespace trimming 4208 . Added support for FastCGI environment variables. (Dmitry) 4209- PDO_MySQL Extension Improvements (Ilia) 4210 . Enabled buffered queries by default. 4211 . Enabled prepared statement emulation by default. 4212 4213- Small optimization of the date() function. (Matt,Ilia) 4214- Optimized the internal is_numeric_string() function. (Matt,Ilia) 4215- Optimized array functions utilizing php_splice(). (Ilia) 4216- Windows related optimizations (Dmitry, Stas) 4217 . COM initialization/deinitialization are done only if necessary 4218 . removed unnecessary checks for ISREG file and corresponding stat() calls 4219 . opendir() is reimplementation using GetFistFile/GetNextFile those are 4220 faster then _findfirst/_findnext 4221 . implemented registry cache that prevent registry lookup on each request. 4222 In case of modification of corresponding registry-tree PHP will reload it 4223 automatic 4224 . start timeout thread only if necessary 4225 . stat() is reimplementation using GetFileAttributesEx(). The new 4226 implementation is faster then implementation in MS VC CRT, but it doesn't 4227 support Windows 95. 4228- Streams optimization (Dmitry) 4229 . removed unnecessary ftell() calls (one call for each included PHP file) 4230 . disabled calls to read() after EOF 4231 4232- Fixed incorrect function names on FreeBSD where inet_pton() was named 4233 __inet_pton() and inet_ntop() was named __inet_ntop(). (Hannes) 4234- Fixed FastCGI impersonation for persistent connections on Windows. (Dmitry) 4235- Fixed wrong signature initialization in imagepng (Takeshi Abe) 4236- Fixed ftruncate() with negative size on FreeBSD. (Hannes) 4237- Fixed segfault in RegexIterator when given invalid regex. (Hannes) 4238- Fixed segfault in SplFileObject->openFile()->getPathname(). (Hannes) 4239- Fixed segfault in ZTS mode when OCI8 statements containing sub-statements 4240 are destroyed in wrong order. (Tony) 4241- Fixed the validate email filter so that the letter "v" can also be used in 4242 the user part of the email address. (Derick) 4243- Fixed bug #40297 (compile failure in ZTS mode when collections support is 4244 missing). (Tony) 4245- Fixed bug #40285 (The PDO prepare parser goes into an infinite loop in 4246 some instances). (Ilia) 4247- Fixed bug #40274 (Sessions fail with numeric root keys). (Ilia) 4248- Fixed bug #40259 (ob_start call many times - memory error). (Dmitry) 4249- Fixed bug #40231 (file_exists incorrectly reports false). (Dmitry) 4250- Fixed bug #40228 (ZipArchive::extractTo does create empty directories 4251 recursively). (Pierre) 4252- Fixed bug #40200 (The FastCgi version has different realpath results than 4253 thread safe version). (Dmitry) 4254- Fixed bug #40191 (use of array_unique() with objects triggers segfault). 4255 (Tony) 4256- Fixed bug #40189 (possible endless loop in zlib.inflate stream filter). 4257 (Greg, Tony) 4258- Fixed bug #40169 (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2). 4259 (Tony) 4260- Fixed bug #40129 (iconv extension doesn't compile with CodeWarrior on 4261 Netware). (gk at gknw dot de, Tony) 4262- Fixed bug #40127 (apache2handler doesn't compile on Netware). 4263 (gk at gknw dot de) 4264- Fixed bug #40121 (PDO_DBLIB driver wont free statements). (Ilia) 4265- Fixed bug #40098 (php_fopen_primary_script() not thread safe). (Ilia) 4266- Fixed bug #40092 (chroot() doesn't clear realpath cache). (Dmitry) 4267- Fixed bug #40091 (spl_autoload_register with 2 instances of the same class). 4268 (Ilia) 4269- Fixed bug #40083 (milter SAPI functions always return false/null). (Tony) 4270- Fixed bug #40079 (php_get_current_user() not thread safe). 4271 (Ilia, wharmby at uk dot ibm dot com) 4272- Fixed bug #40078 (ORA-01405 when fetching NULL values using 4273 oci_bind_array_by_name()). (Tony) 4274- Fixed bug #40076 (zend_alloc.c: Value of enumeration constant must be in 4275 range of signed integer). (Dmitry) 4276- Fixed bug #40073 (exif_read_data dies on certain images). (Tony, Marcus) 4277- Fixed bug #40036 (empty() does not work correctly with ArrayObject when 4278 using ARRAY_AS_PROPS). (Ilia) 4279- Fixed bug #40012 (php_date.c doesn't compile on Netware). 4280 (gk at gknw dot de, Derick) 4281- Fixed bug #40009 (http_build_query(array()) returns NULL). (Ilia) 4282- Fixed bug #40002 (Try/Catch performs poorly). (Dmitry) 4283- Fixed bug #39993 (tr_TR.UTF-8 locale has problems with PHP). (Ilia) 4284- Fixed bug #39990 (Cannot "foreach" over overloaded properties). (Dmitry) 4285- Fixed bug #39988 (type argument of oci_define_by_name() is ignored). 4286 (Chris Jones, Tony) 4287- Fixed bug #39984 (redirect response code in header() could be ignored 4288 in CGI sapi). (Ilia) 4289- Fixed bug #39979 (PGSQL_CONNECT_FORCE_NEW will causes next connect to 4290 establish a new connection). (Ilia) 4291- Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used 4292 for timestamp fields). (Ilia) 4293- Fixed bug #39969 (ini setting short_open_tag has no effect when using 4294 --enable-maintainer-zts). (Dmitry) 4295- Fixed bug #39952 (zip ignoring --with-libdir on zlib checks) 4296 (judas dot iscariote at gmail dot com) 4297- Fixed bug #39944 (References broken). (Dmitry) 4298- Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores 4299 --with-libdir). (judas dot iscariote at gmail dot com, Derick) 4300- Fixed bug #39903 (Notice message when executing __halt_compiler() more than 4301 once). (Tony) 4302- Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc). (Ilia) 4303- Fixed bug #39890 (using autoconf 2.6x and --with-layout=GNU breaks PEAR 4304 install path). (Tony) 4305- Fixed bug #39884 (ReflectionParameter::getClass() throws exception for 4306 type hint self). (thekid at php dot net) 4307- Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro). (Ilia) 4308- Fixed bug #39873 (number_format() breaks with locale & decimal points). 4309 (Ilia) 4310- Fixed bug #39869 (safe_read does not initialize errno). 4311 (michiel at boland dot org, Dmitry) 4312- Fixed bug #39850 (SplFileObject throws contradictory/wrong error messages 4313 when trying to open "php://wrong"). (Tony) 4314- Fixed bug #39846 (Invalid IPv4 treated as valid). (Ilia) 4315- Fixed bug #39845 (Persistent connections generate a warning in pdo_pgsql). 4316 (Ilia) 4317- Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified 4318 type are set to 0). (Dmitry) 4319- Fixed bug #39825 (foreach produces memory error). (Dmitry) 4320- Fixed bug #39816 (apxs2filter ignores httpd.conf & .htaccess php config 4321 settings). (Ilia) 4322- Fixed bug #39815 (SOAP double encoding is not locale-independent). (Dmitry) 4323- Fixed bug #39797 (virtual() does not reset changed INI settings). (Ilia) 4324- Fixed bug #39795 (build fails on AIX because crypt_r() uses different 4325 data struct). (Tony) 4326- Fixed bug #39791 (Crash in strtotime() on overly long relative date 4327 multipliers). (Ilia) 4328- Fixed bug #39787 (PHP doesn't work with Apache 2.3). 4329 (mv at binarysec dot com). 4330- Fixed bug #39782 (setTime() on a DateTime constructed with a Weekday 4331 yields incorrect results). (Ilia) 4332- Fixed bug #39780 (PNG image with CRC/data error raises fatal error) (Pierre) 4333- Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlying libc-client). 4334 (michael dot heimpold at s2000 dot tu-chemnitz dot de, Ilia) 4335- Fixed bug #39775 ("Indirect modification ..." message is not shown). 4336 (Dmitry) 4337- Fixed bug #39763 (magic quotes are applied twice by ext/filter in 4338 parse_str()). (Ilia) 4339- Fixed bug #39760 (cloning fails on nested SimpleXML-Object). (Rob) 4340- Fixed bug #39759 (Can't use stored procedures fetching multiple result 4341 sets in pdo_mysql). (Ilia) 4342- Fixed bug #39754 (Some POSIX extension functions not thread safe). 4343 (Ilia, wharmby at uk dot ibm dot com) 4344- Fixed bug #39751 (putenv crash on Windows). (KevinJohnHoffman at gmail.com) 4345- Fixed bug #39732 (oci_bind_array_by_name doesn't work on Solaris 64bit). 4346 (Tony) 4347- Fixed bug #39724 (Broken build due to spl/filter usage of pcre extension). 4348 (Tony, Ilia) 4349- Fixed bug #39718 (possible crash if assert.callback is set in ini). (Ilia) 4350- Fixed bug #39702 (php crashes in the allocator on linux-m68k). (Dmitry) 4351- Fixed bug #39685 (iconv() - undefined function). (Hannes) 4352- Fixed bug #39673 (file_get_contents causes bus error on certain offsets). 4353 (Tony) 4354- Fixed bug #39663 (Memory leak in pg_get_notify() and a possible memory 4355 corruption on Windows in pgsql and pdo_pgsql extensions). 4356 (Ilia, matteo at beccati dot com) 4357- Fixed bug #39662 (Segfault when calling asXML() of a cloned 4358 SimpleXMLElement). (Rob, Tony) 4359- Fixed bug #39656 (crash when calling fetch() on a PDO statment object after 4360 closeCursor()). (Ilia, Tony) 4361- Fixed bug #39653 (ext/dba doesn't check for db-4.5 and db-4.4 when db4 4362 support is enabled). (Tony) 4363- Fixed bug #39652 (Wrong negative results from memory_get_usage()). (Dmitry) 4364- Fixed bug #39648 (Implementation of PHP functions chown() and chgrp() are 4365 not thread safe). (Ilia, wharmby at uk dot ibm dot com) 4366- Fixed bug #39640 (Segfault with "Allowed memory size exhausted"). (Dmitry) 4367- Fixed bug #39625 (Apache crashes on importStylesheet call). (Rob) 4368- Fixed bug #39623 (thread safety fixes on *nix for putenv() & mime_magic). 4369 (Ilia, wharmby at uk dot ibm dot com) 4370- Fixed bug #39621 (str_replace() is not binary safe on strings with equal 4371 length). (Tony) 4372- Fixed bug #39613 (Possible segfault in imap initialization due to missing 4373 module dependency). (wharmby at uk dot ibm dot com, Tony) 4374- Fixed bug #39606 (Use of com.typelib_file in PHP.ini STILL causes A/V). (Rob) 4375- Fixed bug #39602 (Invalid session.save_handler crashes PHP). (Dmitry) 4376- Fixed bug #39596 (Creating Variant of type VT_ARRAY). (Rob) 4377- Fixed bug #39583 (ftp_put() does not change transfer mode to ASCII). (Tony) 4378- Fixed bug #39576 (array_walk() doesn't separate user data zval). (Tony) 4379- Fixed bug #39575 (move_uploaded_file() no longer working (safe mode 4380 related)). (Tony) 4381- Fixed bug #39571 (timeout ssl:// connections). (Ilia) 4382- Fixed bug #39564 (PDO::errorInfo() returns inconsistent information when 4383 sqlite3_step() fails). (Tony) 4384- Fixed bug #39548 (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() 4385 on Windows). (Dmitry) 4386- Fixed bug #39538 (fgetcsv can't handle starting newlines and trailing odd 4387 number of backslashes). (David Soria Parra, Pierre) 4388- Fixed bug #39534 (Error in maths to calculate of 4389 ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com, Dmitry) 4390- Fixed bug #39527 (Failure to retrieve results when multiple unbuffered, 4391 prepared statements are used in pdo_mysql). (Ilia) 4392- Fixed bug #39508 (imagefill crashes with small images 3 pixels or less). 4393 (Pierre) 4394- Fixed bug #39506 (Archive corrupt with ZipArchive::addFile method). (Pierre) 4395- Fixed bug #39504 (xmlwriter_write_dtd_entity() creates Attlist tag, not 4396 entity). (Hannes) 4397- Fixed bug #39483 (Problem with handling of \ char in prepared statements). 4398 (Ilia, suhachov at gmail dot com) 4399- Fixed bug #39458 (ftp_nlist() returns false on empty dirs). (Nuno) 4400- Fixed bug #39454 (Returning a SOAP array segfaults PHP). (Dmitry) 4401- Fixed bug #39450 (getenv() fills other super-globals). (Ilia, Tony) 4402- Fixed bug #39449 (Overloaded array properties do not work correctly). 4403 (Dmitry) 4404- Fixed bug #39445 (Calling debug_backtrace() in the __toString() 4405 function produces a crash). (Dmitry) 4406- Fixed bug #39438 (Fatal error: Out of memory). (Dmitry) 4407- Fixed bug #39435 ('foo' instanceof bar gives invalid opcode error). (Sara) 4408- Fixed bug #39414 (Syntax error while compiling with Sun Workshop Complier). 4409 (Johannes) 4410- Fixed bug #39398 (Booleans are not automatically translated to integers). 4411 (Ilia) 4412- Fixed bug #39394 (Missing check for older variants of openssl). (Ilia) 4413- Fixed bug #39367 (clearstatcache() doesn't clear realpath cache). 4414 (j at pureftpd dot org, Dmitry) 4415- Fixed bug #39366 (imagerotate does not use alpha with angle > 45 degrees) 4416 (Pierre) 4417- Fixed bug #39364 (Removed warning on empty haystack inside mb_strstr()). 4418 (Ilia) 4419- Fixed bug #39362 (Added an option to imap_open/imap_reopen to control the 4420 number of connection retries). (Ilia) 4421- Fixed bugs #39361 & #39400 (mbstring function overloading problem). (Seiji) 4422- Fixed bug #39354 (Allow building of curl extension against libcurl 4423 7.16.0). (Ilia) 4424- Fixed bug #39350 (crash with implode("\n", array(false))). (Ilia) 4425- Fixed bug #39344 (Unnecessary calls to OnModify callback routine for 4426 an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry) 4427- Fixed bug #39320 (ZEND_HASH_APPLY_STOP causes deletion). (Marcus) 4428- Fixed bug #39313 (spl_autoload triggers Fatal error). (Marcus) 4429- Fixed bug #39300 (make install fails if wget is not available). (Tony) 4430- Fixed bug #39297 (Memory corruption because of indirect modification of 4431 overloaded array). (Dmitry) 4432- Fixed bug #39286 (misleading error message when invalid dimensions are 4433 given) (Pierre) 4434- Fixed bug #39273 (imagecopyresized may ignore alpha channel) (Pierre) 4435- Fixed bug #39265 (Fixed path handling inside mod_files.sh). 4436 (michal dot taborsky at gmail dot com, Ilia) 4437- Fixed bug #39217 (serialNumber might be -1 when the value is too large). 4438 (Pierre, Tony) 4439- Fixed bug #39215 (Inappropriate close of stdin/stdout/stderr). (Wez, Ilia) 4440- Fixed bug #39201 (Possible crash in Apache 2 with 413 ErrorHandler). (Ilia) 4441- Fixed bug #39151 (Parse error in recursiveiteratoriterator.php). (Marcus) 4442- Fixed bug #39121 (Incorrect return array handling in non-wsdl soap client). 4443 (Dmitry) 4444- Fixed bug #39090 (DirectoryFilterDots doxygen docs and example is wrong). 4445 (Marcus) 4446- Fixed bug #38852 (XML-RPC Breaks iconv). (Hannes) 4447- Fixed bug #38770 (unpack() broken with longs on 64 bit machines). 4448 (Ilia, David Soria Parra). 4449- Fixed bug #38698 (for some keys cdbmake creates corrupted db and cdb can't 4450 read valid db). (Marcus) 4451- Fixed bug #38680 (Added missing handling of basic types in json_decode). 4452 (Ilia) 4453- Fixed bug #38604 (Fixed request time leak inside foreach() when iterating 4454 through virtual properties). (Dmitry) 4455- Fixed bug #38602 (header( "HTTP/1.0 ..." ) does not change proto version). 4456 (Ilia) 4457- Fixed bug #38542 (proc_get_status() returns wrong PID on windows). (Nuno) 4458- Fixed bug #38536 (SOAP returns an array of values instead of an object). 4459 (Dmitry) 4460- Fixed bug #38456 (Apache2 segfaults when virtual() is called in .php 4461 ErrorDocument). (Ilia) 4462- Fixed bug #38325 (spl_autoload_register() gives wrong line for "class not 4463 found"). (Ilia) 4464- Fixed bug #38319 (Remove bogus warnings from persistent PDO connections). 4465 (Ilia) 4466- Fixed bug #38274 (Memlimit fatal error sent to "wrong" stderr when using 4467 fastcgi). (Dmitry) 4468- Fixed bug #38252 (Incorrect PDO error message on invalid default fetch 4469 mode). (Ilia) 4470- Fixed bug #37927 (Prevent trap when COM extension processes argument of 4471 type VT_DISPATCH|VT_REF) (Andy) 4472- Fixed bug #37773 (iconv_substr() gives "Unknown error" when string 4473 length = 1"). (Ilia) 4474- Fixed bug #37627 (session save_path check checks the parent directory). 4475 (Ilia) 4476- Fixed bug #37619 (proc_open() closes stdin on fork() failure). 4477 (jdolecek at NetBSD dot org, Nuno) 4478- Fixed bug #37588 (COM Property propputref converts to PHP function 4479 and can't be accesed). (Rob) 4480- Fixed bug #36975 (natcasesort() causes array_pop() to misbehave). 4481 (Hannes) 4482- Fixed bug #36812 (pg_execute() modifies input array). (Ilia) 4483- Fixed bug #36798 (Error parsing named parameters with queries containing 4484 high-ascii chars). (Ilia) 4485- Fixed bug #36644 (possible crash in variant_date_from_timestamp()). (Ilia) 4486- Fixed bug #36427 (proc_open() / proc_close() leak handles on windows). 4487 (jdolecek at NetBSD dot org, Nuno) 4488- Fixed bug #36392 (wrong number of decimal digits with %e specifier in 4489 sprintf). (Matt,Ilia) 4490- Fixed bug #36214 (__get method works properly only when conditional 4491 operator is used). (Dmitry) 4492- Fixed bug #35634 (Erroneous "Class declarations may not be nested" 4493 error raised). (Carl P. Corliss, Dmitry) 4494- Fixed bug #35106 (nested foreach fails when array variable has a 4495 reference). (Dmitry) 4496- Fixed bug #34564 (COM extension not returning modified "out" argument) (Andy) 4497- Fixed bug #33734 (Something strange with COM Object). (Rob) 4498- Fixed bug #33386 (ScriptControl only sees last function of class). (Rob) 4499- Fixed bug #33282 (Re-assignment by reference does not clear the is_ref 4500 flag) (Ilia, Dmitry, Matt Wilmas) 4501- Fixed bug #30074 (apparent symbol table error with 4502 extract($blah, EXTR_REFS)) (Brian) 4503- Fixed bug #29840 (is_executable() does not honor safe_mode_exec_dir 4504 setting). (Ilia) 4505- Fixed PECL bug #7295 (ORA-01405: fetched column value is NULL on LOB 4506 fields). (Tony) 4507 450802 Nov 2006, PHP 5.2.0 4509- Updated bundled OpenSSL to version 0.9.8d in the Windows distro. (Edin) 4510- Updated Postgresql client libraries to 8.1.4 in the Windows distro. (Edin) 4511- Updated PCRE to version 6.7. (Ilia) 4512- Updated libsqlite in ext/pdo_sqlite to 3.3.7. (Ilia) 4513- Updated bundled MySQL client library to version 5.0.22 in the Windows 4514 distribution. (Edin) 4515- Updated timezonedb to version 2006.7. (Derick) 4516 4517- Added ability to make SOAP call userspace PHP<->XML converters. (Dmitry) 4518- Added support for character sets in pg_escape_string() for PostgreSQL 8.1.4 4519 and higher. (Ilia) 4520- Added support for character sets in PDO quote() method for PostgreSQL 8.1.4 4521 and higher. (Ilia) 4522- Added DSA key generation support to openssl_pkey_new(), FR #38731 (marci 4523 at balabit dot hu, Tony) 4524- Added SoapServer::setObject() method (it is a simplified version of 4525 SoapServer::setClass() method). (Dmitry) 4526- Added support for hexadecimal entity in imagettftext() for the bundled GD. 4527 (Pierre) 4528- Added support for httpOnly flag for session extension and cookie setting 4529 functions. (Scott MacVicar, Ilia) 4530- Added version specific registry keys to allow different configurations for 4531 different php version. (Richard, Dmitry) 4532- Added "PHPINIDir" Apache directive to apache and apache_hooks SAPIs. 4533 (Dmitry) 4534- Added an optional boolean parameter to memory_get_usage() and 4535 memory_get_peak_usage() to get memory size allocated by emalloc() or real 4536 size of memory allocated from system. (Dmitry) 4537- Added Zip Archive extension. (Pierre) 4538- Added RFC1867 fileupload processing hook. (Stefan E.) 4539- Added JSON and Filter extensions. (Derick, Rasmus) 4540- Added error messages to disk_free_space() and disk_total_space() functions. 4541 FR #37971 (Tony) 4542- Added PATHINFO_FILENAME option to pathinfo() to get the filename. 4543 (Toby S. and Christian S.) 4544- Added array_fill_keys() function. (Marcus, Matt Wilmas) 4545- Added posix_initgroups() function. (Ilia) 4546- Added an optional parameter to parse_url() to allow retrieval of distinct 4547 URL components. (Ilia) 4548- Added optional parameter to http_build_query() to allow specification of 4549 string separator. (Ilia) 4550- Added image_type_to_extension() function. (Hannes, Ilia) 4551- Added allow_url_include ini directive to complement allow_url_fopen. (Rasmus) 4552- Added automatic module globals management. (Dmitry) 4553- Added RFC2397 (data: stream) support. (Marcus) 4554- Added new error mode E_RECOVERABLE_ERROR. (Derick, Marcus, Tony) 4555- Added support for getenv() input filtering. (Rasmus) 4556- Added support for constructors in interfaces to force constructor signature 4557 checks in implementations. (Marcus) 4558- Added memory_get_peak_usage() function for retrieving peak memory usage of 4559 a PHP script. (Ilia) 4560- Added pg_field_table() function. (Edin) 4561- Added SimpleXMLElement::saveXML() as an alias for SimpleXMLElement::asXML(). 4562 (Hannes) 4563- Added DOMNode::getNodePath() for getting an XPath for a node. (Christian) 4564- Added gmp_nextprime() function. (ants dot aasma at gmail dot com, Tony) 4565- Added error_get_last() function. (Mike) 4566 4567- Removed current working directory from the php.ini search path for CLI and 4568 re-added it for other SAPIs (restore to pre 5.1.x behavior). (Edin) 4569- Moved extensions to PECL: 4570 . ext/filepro (Derick, Tony) 4571 . ext/hwapi (Derick, Tony) 4572- Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or 4573 safe_mode are enabled. (Stefan E., Ilia) 4574 4575- Increased default memory limit to 16 megabytes to accommodate for a more 4576 accurate memory utilization measurement. 4577- In addition to path to php.ini, PHPRC now may specify full file name. 4578 (Dmitry) 4579 4580- Optimized array/HashTable copying. (Matt Wilmas, Dmitry) 4581- Optimized zend_try/zend_catch macros by eliminating memcpy(3). (Dmitry) 4582- Optimized require_once() and include_once() by eliminating fopen(3) on 4583 second usage. (Dmitry) 4584- Optimized request shutdown sequence. Restoring ini directives now iterates 4585 only over modified directives instead of all. (Dmitry) 4586 4587- Changed priority of PHPRC environment variable on win32 to be higher then 4588 value from registry. (Dmitry) 4589- Changed __toString() to be called wherever applicable. (Marcus) 4590- Changed E_ALL error reporting mode to include E_RECOVERABLE_ERROR. (Marcus) 4591- Changed realpath cache to be disabled when "open_basedir" or "safe_mode" 4592 are enabled on per-request basis. (Ilia) 4593 4594- Improved SNMP extension: (Jani) 4595 . Renamed snmp_set_oid_numeric_print() to snmp_set_oid_output_format(). 4596 . Added 2 new constants: SNMP_OID_OUTPUT_FULL and SNMP_OID_OUTPUT_NUMERIC 4597 . Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2 4598 compatibility issue). (Patch: scott dot moynes+php at gmail dot com) 4599- Improved OpenSSL extension: (Pierre) 4600 . Added support for all supported algorithms in openssl_verify 4601 . Added openssl_pkey_get_details, returns the details of a key 4602 . Added x509 v3 extensions support 4603 . Added openssl_csr_get_subject() and openssl_csr_get_public_key() 4604 . Added 3 new constants OPENSSL_VERSION_TEXT and OPENSSL_VERSION_NUMBER and 4605 OPENSSL_KEYTYPE_EC 4606- Improved the Zend memory manager: (Dmitry) 4607 . Removed unnecessary "--disable-zend-memory-manager" configure option. 4608 . Added "--enable-malloc-mm" configure option which is enabled by default in 4609 debug builds to allow using internal and external memory debuggers. 4610 . Allow tweaking the memory manager with ZEND_MM_MEM_TYPE and ZEND_MM_SEG_SIZE 4611 environment variables. 4612 . For more information: Zend/README.ZEND_MM 4613- Improved safe_mode check for the error_log() function. (Ilia) 4614- Improved the error reporting in SOAP extension on request failure. (Ilia) 4615- Improved crypt() on win32 to be about 10 times faster and to have friendlier 4616 license. (Frank, Dmitry) 4617- Improved performance of the implode() function on associated arrays. (Ilia) 4618- Improved performance of str_replace() when doing 1 char to 1 char or 1 char 4619 to many chars replacement. (Ilia) 4620- Improved apache2filter SAPI: 4621 . Allowed PHP to be an arbitrary filter in the chain and read the script from 4622 the Apache stream. (John) 4623 . Added support for apache2filter in the Windows build including binary 4624 support for both Apache 2.0.x (php5apache2_filter.dll) and Apache 2.2.x 4625 (php5apache2_2_filter.dll). (Edin) 4626- Improved apache2handler SAPI: 4627 . Changed ap_set_content_type() to be called only once. (Mike) 4628 . Added support for Apache 2.2 handler in the Windows distribution. (Edin) 4629- Improved FastCGI SAPI: (Dmitry) 4630 . Removed source compatibility with libfcgi. 4631 . Optimized access to FastCGI environment variables by using HashTable 4632 instead of linear search. 4633 . Allowed PHP_FCGI_MAX_REQUESTS=0 that assumes no limit. 4634 . Allowed PHP_FCGI_CHILDREN=0 that assumes no worker children. (FastCGI 4635 requests are handled by main process itself) 4636- Improved CURL: 4637 . Added control character checks for "open_basedir" and "safe_mode" checks. 4638 (Ilia) 4639 . Added implementation of curl_multi_info_read(). (Brian) 4640- Improved PCRE: (Andrei) 4641 . Added run-time configurable backtracking/recursion limits. 4642 . Added preg_last_error(). (Andrei) 4643- Improved PDO: 4644 . Added new attribute ATTR_DEFAULT_FETCH_MODE. (Pierre) 4645 . Added FETCH_PROPS_LATE. (Marcus) 4646- Improved SPL: (Marcus) 4647 . Made most iterator code exception safe. 4648 . Added RegExIterator and RecursiveRegExIterator. 4649 . Added full caching support and ArrayAccess to CachingIterator. 4650 . Added array functions to ArrayObject/ArrayIterator and made them faster. 4651 . Added support for reading csv and skipping empty lines in SplFileObject. 4652 . Added CachingIterator::TOSTRING_USE_INNER, calls inner iterator __toString. 4653 . Added ability to set the CSV separator per SplFileObject. 4654- Improved xmlReader: (Rob) 4655 . Added readInnerXml(), xmlReader::setSchema(). 4656 . Added readInnerXML(), readOuterXML(), readString(), setSchema(). (2.6.20+) 4657 . Changed to passing libxml options when loading reader. 4658 4659- Fixed invalid read in imagecreatefrompng when an empty file is given 4660 (Pierre, Tony) 4661- Fixed infinite loop when a wrong color index is given to imagefill (Pierre) 4662- Fixed mess with CGI/CLI -d option (now it works with cgi; constants are 4663 working exactly like in php.ini; with FastCGI -d affects all requests). 4664 (Dmitry) 4665- Fixed missing open_basedir check inside chdir() function. (Ilia) 4666- Fixed overflow on 64bit systems in str_repeat() and wordwrap(). (Stefan E.) 4667- Fixed XSLTProcessor::importStylesheet() to return TRUE on success 4668 (Christian) 4669- Fixed leaks in openssl_csr_sign and openssl_csr_new (Pierre) 4670- Fixed phpinfo() cutoff of variables at \0. (Ilia) 4671- Fixed a bug in the filter extension that prevented magic_quotes_gpc from 4672 being applied when RAW filter is used. (Ilia) 4673- Fixed memory leaks in openssl streams context options. (Pierre) 4674- Fixed handling of extremely long paths inside tempnam() function. (Ilia) 4675- Fixed bug #39721 (Runtime inheritance causes data corruption). (Dmitry) 4676- Fixed bug #39304 (Segmentation fault with list unpacking of string offset). 4677 (Dmitry) 4678- Fixed bug #39192 (Not including nsapi.h properly with SJSWS 7). This will 4679 make PHP 5.2 compatible to new Sun Webserver. (Uwe) 4680- Fixed bug #39140 (Uncaught exception may cause crash). (Dmitry) 4681- Fixed bug #39125 (Memleak when reflecting non-existing class/method). (Tony) 4682- Fixed bug #39067 (getDeclaringClass() and private properties). (Tony) 4683- Fixed bug #39039 (SSL: fatal protocol error when fetching HTTPS from servers 4684 running Google web server). (Ilia) 4685- Fixed bug #39035 (Compatibility issue between DOM and 4686 zend.ze1_compatibility_mode). (Rob) 4687- Fixed bug #39034 (curl_exec() with return transfer returns TRUE on empty 4688 files). (Ilia) 4689- Fixed bug #39032 (strcspn() stops on null character). (Tony) 4690- Fixed bug #39020 (PHP in FastCGI server mode crashes). (Dmitry) 4691- Fixed bug #39017 (foreach(($obj = new myClass) as $v); echo $obj; 4692 segfaults). (Dmitry) 4693- Fixed bug #39004 (Fixed generation of config.nice with autoconf 2.60). (Ilia) 4694- Fixed bug #39003 (__autoload() is called for type hinting). (Dmitry, Tony) 4695- Fixed bug #39001 (ReflectionProperty returns incorrect declaring class for 4696 protected properties). (Tony) 4697- Fixed bug #38996 (PDO_MYSQL doesn't check connections for liveness). (Tony) 4698- Fixed bug #38993 (Fixed safe_mode/open_basedir checks for session.save_path, 4699 allowing them to account for extra parameters). (Ilia) 4700- Fixed bug #38989 (Absolute path with slash at beginning doesn't work on win). 4701 (Dmitry) 4702- Fixed bug #38985 (Can't cast COM objects). (Wez) 4703- Fixed bug #38981 (using FTP URLs in get_headers() causes crash). (Tony) 4704- Fixed bug #38963 (Fixed a possible open_basedir bypass in tempnam()). (Ilia) 4705- Fixed bug #38961 (metaphone() results in segmentation fault on NetBSD). 4706 (Tony) 4707- Fixed bug #38949 (Cannot get xmlns value attribute). (Rob) 4708- Fixed bug #38942 (Double old-style-ctor inheritance). (Dmitry) 4709- Fixed bug #38941 (imap extension does not compile against new version of the 4710 imap library). (Ilia) 4711- Fixed bug #38934 (move_uploaded_file() cannot read uploaded file outside of 4712 open_basedir). (Ilia) 4713- Fixed bug #38904 (apache2filter changes cwd to /). (Ilia, Hannes) 4714- Fixed bug #38891 (get_headers() do not work with curl-wrappers). (Ilia) 4715- Fixed bug #38882 (ldap_connect causes segfault with newer versions of 4716 OpenLDAP). (Tony) 4717- Fixed bug #38859 (parse_url() fails if passing '@' in passwd). (Tony) 4718- Fixed bug #38850 (lookupNamespaceURI doesn't return default namespace). (Rob) 4719- Fixed bug #38844 (curl_easy_strerror() is defined only since cURL 7.12.0). 4720 (Tony) 4721- Fixed bug #38813 (DOMEntityReference->__construct crashes when called 4722 explicitly). (Rob) 4723- Fixed bug #38808 ("maybe ref" issue for current() and others). (Dmitry) 4724- Fixed bug #38779 (engine crashes when require()'ing file with syntax error 4725 through userspace stream wrapper). (Tony, Dmitry) 4726- Fixed bug #38772 (inconsistent overriding of methods in different visibility 4727 contexts). (Dmitry) 4728- Fixed bug #38759 (PDO sqlite2 empty query causes segfault). (Tony) 4729- Fixed bug #38721 (Invalid memory read in date_parse()). (Tony, Derick) 4730- Fixed bug #38700 (SoapClient::__getTypes never returns). (Dmitry) 4731- Fixed bug #38693 (curl_multi_add_handle() set curl handle to null). (Ilia) 4732- Fixed bug #38687 (sockaddr local storage insufficient for all sock families). 4733 (Sara) 4734- Fixed bug #38661 (mixed-case URL breaks url-wrappers). (Ilia) 4735- Fixed bug #38653 (memory leak in ReflectionClass::getConstant()). (Tony) 4736- Fixed bug #38649 (uninit'd optional arg in stream_socket_sendto()). (Sara) 4737- Fixed bug #38637 (curl_copy_handle() fails to fully copy the cURL handle). 4738 (Tony, Ilia) 4739- Fixed bug #38624 (Strange warning when incrementing an object property and 4740 exception is thrown from __get method). (Tony) 4741- Fixed bug #38623 (leaks in a tricky code with switch() and exceptions). 4742 (Dmitry) 4743- Fixed bug #38579 (include_once() may include the same file twice). (Dmitry) 4744- Fixed bug #38574 (missing curl constants and improper constant detection). 4745 (Ilia) 4746- Fixed bug #38543 (shutdown_executor() may segfault when memory_limit is too 4747 low). (Dmitry) 4748- Fixed bug #38535 (memory corruption in pdo_pgsql driver on error retrieval 4749 inside a failed query executed via query() method). (Ilia) 4750- Fixed bug #38534 (segfault when calling setlocale() in userspace session 4751 handler). (Tony) 4752- Fixed bug #38524 (strptime() does not initialize the internal date storage 4753 structure). (Ilia) 4754- Fixed bug #38511, #38473, #38263 (Fixed session extension request shutdown 4755 order to ensure it is shutdown before the extensions it may depend on). 4756 (Ilia) 4757- Fixed bug #38488 (Access to "php://stdin" and family crashes PHP on win32). 4758 (Dmitry) 4759- Fixed bug #38474 (getAttribute select attribute by order, even when 4760 prefixed). (Rob) 4761- Fixed bug #38467 (--enable-versioning causes make fail on OS X). (Tony) 4762- Fixed bug #38465 (ReflectionParameter fails if default value is an access 4763 to self::). (Johannes) 4764- Fixed bug #38464 (array_count_values() mishandles numeric strings). 4765 (Matt Wilmas, Ilia) 4766- Fixed bug #38461 (setting private attribute with __set() produces 4767 segfault). (Tony) 4768- Fixed bug #38458, PECL bug #8944, PECL bug #7775 (error retrieving columns 4769 after long/text columns with PDO_ODBC). (Wez) 4770- Fixed bug #38454 (warning upon disabling handler via 4771 xml_set_element_handler). (dtorop933 at gmail dot com, Rob) 4772- Fixed bug #38451 (PDO_MYSQL doesn't compile on Solaris). (Tony) 4773- Fixed bug #38450 (constructor is not called for classes used in userspace 4774 stream wrappers). (Tony) 4775- Fixed bug #38438 (DOMNodeList->item(0) segfault on empty NodeList). (Ilia) 4776- Fixed bug #38431 (xmlrpc_get_type() crashes PHP on objects). (Tony) 4777- Fixed bug #38427 (unicode causes xml_parser to misbehave). (Rob) 4778- Fixed bug #38424 (Different attribute assignment if new or existing). (Rob) 4779- Fixed bug #38400 (Use of com.typelib_file may cause a crash). (Ilia) 4780- Fixed bug #38394 (PDO fails to recover from failed prepared statement 4781 execution). (Ilia) 4782- Fixed bug #38377 (session_destroy() gives warning after 4783 session_regenerate_id()). (Ilia) 4784- Implemented #38357 (dbase_open can't open DBase 3 dbf file). 4785 (rodrigo at fabricadeideias dot com, Mike) 4786- Fixed bug #38354 (Unwanted reformatting of XML when using AsXML). (Christian) 4787- Fixed bug #38347 (Segmentation fault when using foreach with an unknown/empty 4788 SimpleXMLElement). (Tony) 4789- Fixed bug #38322 (reading past array in sscanf() leads to arbitrary code 4790 execution). (Tony) 4791- Fixed bug #38315 (Constructing in the destructor causes weird behavior). 4792 (Dmitry) 4793- Fixed bug #38303 (spl_autoload_register() suppress all errors silently). 4794 (Ilia) 4795- Fixed bug #38290 (configure script ignores --without-cdb,inifile,flatfile). 4796 (Marcus) 4797- Fixed bug #38289 (segfault in session_decode() when _SESSION is NULL). 4798 (Tony) 4799- Fixed bug #38287 (static variables mess up global vars). (Dmitry) 4800- Fixed bug #38278 (session_cache_expire()'s value does not match phpinfo's 4801 session.cache_expire). (Tony) 4802- Fixed bug #38276 (file_exists() works incorrectly with long filenames 4803 on Windows). (Ilia, Tony) 4804- Fixed bug #38269 (fopen wrapper doesn't fail on invalid hostname with 4805 curlwrappers enabled). (Tony) 4806- Fixed bug #38265 (heap corruption). (Dmitry) 4807- Fixed bug #38261 (openssl_x509_parse() leaks with invalid cert) (Pierre) 4808- Fixed bug #38255 (openssl possible leaks while passing keys) (Pierre) 4809- Fixed bug #38253 (PDO produces segfault with default fetch mode). (Tony) 4810- Fixed bug #38251 (socket_select() and invalid arguments). (Tony) 4811- Fixed bug #38236 (Binary data gets corrupted on multipart/formdata POST). 4812 (Ilia) 4813- Fixed bug #38234 (Exception in __clone makes memory leak). (Dmitry, Nuno) 4814- Fixed bug #38229 (strtotime() does not parse YYYY-MM format). (Ilia) 4815- Fixed bug #38224 (session extension can't handle broken cookies). (Ilia) 4816- Fixed bug #38220 (Crash on some object operations). (Dmitry) 4817- Fixed bug #38217 (ReflectionClass::newInstanceArgs() tries to allocate too 4818 much memory). (Tony) 4819- Fixed bug #38214 (gif interlace output cannot work). (Pierre) 4820- Fixed bug #38213, #37611, #37571 (wddx encoding fails to handle certain 4821 characters). (Ilia) 4822- Fixed bug #38212 (Segfault on invalid imagecreatefromgd2part() parameters). 4823 (Pierre) 4824- Fixed bug #38211 (variable name and cookie name match breaks script 4825 execution). (Dmitry) 4826- Fixed bug #38199 (fclose() unable to close STDOUT and STDERR). (Tony) 4827- Fixed bug #38198 (possible crash when COM reports an exception). (Ilia) 4828- Fixed bug #38194 (ReflectionClass::isSubclassOf() returns TRUE for the 4829 class itself). (Ilia) 4830- Fixed bug #38183 (disable_classes=Foobar causes disabled class to be 4831 called Foo). (Jani) 4832- Fixed bug #38179 (imagecopy from a palette to a truecolor image loose alpha 4833 channel) (Pierre) 4834- Fixed bug #38173 (Freeing nested cursors causes OCI8 to segfault). (Tony) 4835- Fixed bug #38168 (Crash in pdo_pgsql on missing bound parameters). (Ilia) 4836- Fixed bug #38161 (oci_bind_by_name() returns garbage when Oracle didn't set 4837 the variable). (Tony) 4838- Fixed bug #38146 (Cannot use array returned from foo::__get('bar') in write 4839 context). (Dmitry) 4840- Fixed bug #38132 (ReflectionClass::getStaticProperties() retains \0 in key 4841 names). (Ilia) 4842- Fixed bug #38125 (undefined reference to spl_dual_it_free_storage). (Marcus) 4843- Fixed bug #38112 (corrupted gif segfaults) (Pierre) 4844- Fixed bug #38096 (large timeout values ignored on 32bit machines in 4845 stream_socket_accept() and stream_socket_client()). (Ilia) 4846- Fixed bug #38086 (stream_copy_to_stream() returns 0 when maxlen is bigger 4847 than the actual length). (Tony) 4848- Fixed bug #38072 (boolean arg for mysqli_autocommit() is always true on 4849 Solaris). (Tony) 4850- Fixed bug #38067 (Parameters are not decoded from utf-8 when using encoding 4851 option). (Dmitry) 4852- Fixed bug #38064 (ignored constructor visibility). (Marcus) 4853- Fixed bug #38055 (Wrong interpretation of boolean parameters). (Dmitry) 4854- Fixed bug #38047 ("file" and "line" sometimes not set in backtrace from 4855 inside error handler). (Dmitry) 4856- Fixed bug #38019 (segfault extending mysqli class). (Dmitry) 4857- Fixed bug #38005 (SoapFault faultstring doesn't follow encoding rules). 4858 (Dmitry) 4859- Fixed bug #38004 (Parameters in SoapServer are decoded twice). (Dmitry) 4860- Fixed bug #38003 (in classes inherited from MySQLi it's possible to call 4861 private constructors from invalid context). (Tony) 4862- Fixed bug #37987 (invalid return of file_exists() in safe mode). (Ilia) 4863- Fixed bug #37947 (zend_ptr_stack reallocation problem). (Dmitry) 4864- Fixed bug #37945 (pathinfo() cannot handle argument with special characters 4865 like German "Umlaut"). (Mike) 4866- Fixed bug #37931 (possible crash in OCI8 after database restart 4867 when using persistent connections). (Tony) 4868- Fixed bug #37923 (Display constant value in reflection::export). (Johannes) 4869- Fixed bug #37920 (compilation problems on z/OS). (Tony) 4870- Fixed bug #37870 (pgo_pgsql tries to de-allocate unused statements). 4871 (Ilia, ce at netage dot bg) 4872- Fixed bug #37864 (file_get_contents() leaks on empty file). (Hannes) 4873- Fixed bug #37862 (Integer pointer comparison to numeric value). 4874 (bugs-php at thewrittenword dot com) 4875- Fixed bug #37846 (wordwrap() wraps incorrectly). (ddk at krasn dot ru, Tony) 4876- Fixed bug #37816 (ReflectionProperty does not throw exception when accessing 4877 protected attribute). (Marcus) 4878- Fixed bug #37811 (define not using toString on objects). (Marcus) 4879- Fixed bug #37807 (segmentation fault during SOAP schema import). (Tony) 4880- Fixed bug #37806 (weird behavior of object type and comparison). (Marcus) 4881- Fixed bug #37780 (memory leak trying to execute a non existing file (CLI)). 4882 (Mike) 4883- Fixed bug #37779 (empty include_path leads to search for files inside /). 4884 (jr at terragate dot net, Ilia) 4885- Fixed bug #37747 (strtotime segfaults when given "nextyear"). (Derick) 4886- Fixed bug #37720 (merge_php_config scrambles values). 4887 (Mike, pumuckel at metropolis dot de) 4888- Fixed bug #37709 (Possible crash in PDO::errorCode()). (Ilia) 4889- Fixed bug #37707 (clone without assigning leaks memory). (Ilia, Nuno, Dmitri) 4890- Fixed bug #37705 (Semaphore constants not available). (Ilia) 4891- Fixed bug #37671 (MySQLi extension fails to recognize BIT column). (Ilia) 4892- Fixed bug #37667 (Object is not added into array returned by __get). (Marcus) 4893- Fixed bug #37635 (parameter of pcntl signal handler is trashed). (Mike) 4894- Fixed bug #37632 (Protected method access problem). (Marcus) 4895- Fixed bug #37630 (MySQL extensions should link against thread safe client 4896 libs if built with ZTS). (Mike) 4897- Fixed bug #37620 (mysqli_ssl_set validation is inappropriate). (Georg) 4898- Fixed bug #37616 (DATE_RFC822 does not product RFC 822 dates). 4899 (Hannes Magnusson, Derick) 4900- Fixed bug #37614 (Class name lowercased in error message). (Johannes) 4901- Fixed bug #37587 (var without attribute causes segfault). (Marcus) 4902- Fixed bug #37586 (Bumped minimum PCRE version to 6.6, needed for recursion 4903 limit support). (Ilia) 4904- Fixed bug #37581 (oci_bind_array_by_name clobbers input array when using 4905 SQLT_AFC, AVC). (Tony) 4906- Fixed bug #37569 (WDDX incorrectly encodes high-ascii characters). (Ilia) 4907- Fixed bug #37565 (Using reflection::export with simplexml causing a crash). 4908 (Marcus) 4909- Fixed bug #37564 (AES privacy encryption not possible due to net-snmp 5.2 4910 compatibility issue). (Jani, patch by scott dot moynes+php at gmail dot com) 4911- Fixed bug #37563 (array_key_exists performance is poor for &$array). (Ilia) 4912- Fixed bug #37558 (timeout functionality doesn't work after a second PHP 4913 start-up on the same thread). (p dot desarnaud at wanadoo dot fr) 4914- Fixed bug #37531 (oci8 persistent connection corruption). (Tony) 4915- Fixed bug #37523 (namespaces added too late, leads to missing xsi:type 4916 attributes. Incompatibility with libxml2-2.6.24). (Dmitry) 4917- Fixed bug #37514 (strtotime doesn't assume year correctly). (Derick) 4918- Fixed bug #37510 (session_regenerate_id changes session_id() even on 4919 failure). (Hannes) 4920- Fixed bug #37505 (touch() truncates large files). (Ilia) 4921- Fixed bug #37499 (CLI segmentation faults during cleanup with sybase-ct 4922 extension enabled). (Tony) 4923- Fixed bug #37496 (FastCGI output buffer overrun). (Piotr, Dmitry) 4924- Fixed bug #37487 (oci_fetch_array() array-type should always default to 4925 OCI_BOTH). (Tony) 4926- Fixed bug #37457 (Crash when an exception is thrown in accept() method of 4927 FilterIterator). (Marcus) 4928- Fixed bug #37456 (DOMElement->setAttribute() loops forever). (Rob) 4929- Fixed bug #37445 (Fixed crash in pdo_mysql resulting from premature object 4930 destruction). (Ilia) 4931- Fixed bug #37428 (PHP crashes on windows if there are start-up errors and 4932 event log is used for logging them). (Edin) 4933- Fixed bug #37418 (tidy module crashes on shutdown). (Tony) 4934- Fixed bug #37416 (iterator_to_array() hides exceptions thrown in rewind() 4935 method). (Tony) 4936- Fixed bug #37413 (Rejected versions of flex that don't work). (Ilia) 4937- Fixed bug #37395 (recursive mkdir() fails to create nonexistent directories 4938 in root dir). (Tony) 4939- Fixed bug #37394 (substr_compare() returns an error when offset equals 4940 string length). (Ilia) 4941- Fixed bug #37392 (Unnecessary call to OCITransRollback() at the end of 4942 request). (Tony) 4943- Fixed bug #37376 (fastcgi.c compile fail with gcc 2.95.4). (Ilia) 4944- Fixed bug #37368 (Incorrect timestamp returned for strtotime()). (Derick) 4945- Fixed bug #37363 (PDO_MYSQL does not build if no other mysql extension is 4946 enabled). (Mike) 4947- Fixed bug #37348 (make PEAR install ignore open_basedir). (Ilia) 4948- Fixed bug #37341 ($_SERVER in included file is shortened to two entries, 4949 if $_ENV gets used). (Dmitry) 4950- Fixed bug #37313 (sigemptyset() used without including <signal.h>). 4951 (jdolecek) 4952- Fixed bug #37306 (max_execution_time = max_input_time). (Dmitry) 4953- Fixed bug #37278 (SOAP not respecting uri in __soapCall). (Dmitry) 4954- Fixed bug #37265 (Added missing safe_mode & open_basedir checks to 4955 imap_body()). (Ilia) 4956- Fixed bug #37262 (var_export() does not escape \0 character). (Ilia) 4957- Fixed bug #37256 (php-fastcgi doesn't handle connection abort). (Dmitry) 4958- Fixed bug #37244 (Added strict flag to base64_decode() that enforces 4959 RFC3548 compliance). (Ilia) 4960- Fixed bug #37144 (PHP crashes trying to assign into property of dead object). 4961 (Dmitry) 4962- Fixed bug #36949 (invalid internal mysqli objects dtor). (Mike) 4963- Implement #36732 (req/x509 extensions support for openssl_csr_new and 4964 openssl_csr_sign) (ben at psc dot edu, Pierre) 4965- Fixed bug #36759 (Objects destructors are invoked in wrong order when script 4966 is finished). (Dmitry) 4967- Fixed bug #36681 (pdo_pgsql driver incorrectly ignored some errors). 4968 (Wez, Ilia) 4969- Fixed bug #36630 (umask not reset at the end of the request). (Ilia) 4970- Fixed bug #36515 (Unlinking buckets from non-existent brigades). (Sara) 4971- Fixed bug #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB 4972 field). (Tony) 4973- Fixed bug #35886 (file_get_contents() fails with some combinations of 4974 offset & maxlen). (Nuno) 4975- Fixed bug #35512 (Lack of read permission on main script results in 4976 E_WARNING rather then E_ERROR). (Ilia) 4977- Fixed bug #34180 (--with-curlwrappers causes PHP to disregard some HTTP 4978 stream context options). (Mike) 4979- Fixed bug #34066 (recursive array_walk causes segfault). (Tony) 4980- Fixed bug #34065 (throw in foreach causes memory leaks). (Dmitry) 4981- Fixed bug #34005 (oci_password_change() fails). 4982 (pholdaway at technocom-wireless dot com, Tony) 4983- Fixed bug #33895 (Missing math constants). (Hannes) 4984- Fixed bug #33770 (https:// or ftps:// do not work when --with-curlwrappers 4985 is used and ssl certificate is not verifiable). (Ilia) 4986- Fixed bug #29538 (number_format and problem with 0). (Matt Wilmas) 4987- Implement #28382 (openssl_x509_parse() extensions support) (Pierre) 4988- Fixed PECL bug #9061 (oci8 might reuse wrong persistent connection). (Tony) 4989- Fixed PECL bug #8816 (issue in php_oci_statement_fetch with more than one 4990 piecewise column) (jeff at badtz-maru dot com, Tony) 4991- Fixed PECL bug #8112 (OCI8 persistent connections misbehave when Apache 4992 process times out). (Tony) 4993- Fixed PECL bug #7755 (error selecting DOUBLE fields with PDO_ODBC). 4994 ("slaws", Wez) 4995 4996 499704 May 2006, PHP 5.1.4 4998- Added "capture_peer_cert" and "capture_peer_cert_chain" context options 4999 for SSL streams. (Wez). 5000- Added PDO::PARAM_EVT_* family of constants. (Sara) 5001- Fixed possible crash in highlight_string(). (Dmitry) 5002- Fixed bug #37291 (FastCGI no longer works with isapi_fcgi.dll). (Dmitry) 5003- Fixed bug #37277 (cloning Dom Documents or Nodes does not work). (Rob) 5004- Fixed bug #37276 (problems with $_POST array). (Dmitry) 5005- Fixed bug #36632 (bad error reporting for pdo_odbc exec UPDATE). (Wez). 5006- Fixed bug #35552 (crash when pdo_odbc prepare fails). (Wez). 5007 500828 Apr 2006, PHP 5.1.3 5009- Updated bundled PCRE library to version 6.6. (Andrei) 5010- Moved extensions to PECL: 5011 . ext/msession (Derick) 5012- Reimplemented FastCGI interface. (Dmitry) 5013- Improved SPL: (Marcus) 5014 - Fixed issues with not/double calling of constructors of SPL iterators. 5015 - Fixed issues with info-class/file-class in SPL directory handling classes. 5016 - Fixed ArrayIterator::seek(). 5017 - Added SimpleXMLIterator::count(). 5018 - Dropped erroneous RecursiveDirectoryIterator::getSubPathInfo(). 5019- Improved SimpleXML: (Marcus, Rob) 5020 . Added SimpleXMLElement::getName() to retrieve name of element. 5021 . Added ability to create elements on the fly. 5022 . Added addChild() method for element creation supporting namespaces. 5023 . Added addAttribute() method for attribute creation supporting namespaces. 5024 . Added ability to delete specific elements and attributes by offset. 5025- Improved Reflection API: (Marcus) 5026 . Added ReflectionClass::newInstanceArgs($args). 5027 . Added ability to analyze extension dependency. 5028 . Added ReflectionFunction::isDeprecated() and constant IS_DEPRECATED. 5029 . Added ReflectionParameter::getDeclaringClass(). 5030 . Changed reflection constants to be prefixed with IS_. (Johannes) 5031- Improved cURL extension: (Ilia) 5032 . Added curl_setopt_array() function that allows setting of multiple 5033 options via an associated array. 5034 . Added the ability to retrieve the request message sent to the server. 5035- Improved GD extension: (Pierre) 5036 . Added a weak/tolerant mode to the JPEG loader. 5037 . Added filtering mode option to imagepng() to allow reducing file size. 5038 . Fixed imagecolorallocate() and imagecolorallocatelapha() to return FALSE 5039 on error. 5040- Changed get_headers() to retrieve headers also from non-200 responses. 5041 (Ilia) 5042- Changed get_headers() to use the default context. (Ilia) 5043- Added lchown() and lchgrp() to change user/group ownership of symlinks. 5044 (Derick) 5045- Added support for exif date format in strtotime(). (Derick) 5046- Added a check for special characters in the session name. (Ilia) 5047- Added "consumed" stream filter. (Marcus) 5048- Added new mysqli constants for BIT and NEW_DECIMAL field types: 5049 MYSQLI_TYPE_NEWDECIMAL and MYSQLI_TYPE_BIT. FR #36007. (Georg) 5050- Added imap_savebody() that allows message body to be written to a 5051 file. (Mike) 5052- Added overflow checks to wordwrap() function. (Ilia) 5053- Added support for BINARY_DOUBLE and BINARY_FLOAT to PDO_OCI and OCI8 5054 (also fixes bug #36764). (Tony) 5055- Eliminated run-time constant fetching for TRUE, FALSE and NULL. (Dmitry) 5056- Removed the E_STRICT deprecation notice from "var". (Ilia) 5057- Fixed reading stream filters never notified about EOF. (Mike) 5058- Fixed tempnam() 2nd parameter to be checked against path components. (Ilia) 5059- Fixed a bug that would not fill in the fifth argument to preg_replace() 5060 properly, if the variable was not declared previously. (Andrei) 5061- Fixed safe_mode check for source argument of the copy() function. (Ilia) 5062- Fixed mysqli bigint conversion under Windows (Georg) 5063- Fixed XSS inside phpinfo() with long inputs. (Ilia) 5064- Fixed Apache2 SAPIs header handler modifying header strings. (Mike) 5065- Fixed 'auto_globals_jit' to work together with 'register_argc_argv'. (Dmitry) 5066- Fixed offset/length parameter validation in substr_compare() function. (Ilia) 5067- Fixed debug_zval_dump() to support private and protected members. (Dmitry) 5068- Fixed SoapFault::getMessage(). (Dmitry) 5069- Fixed issue with iconv_mime_decode where the "encoding" would only allow 5070 upper case specifiers. (Derick) 5071- Fixed tiger hash algorithm generating wrong results on big endian platforms. 5072 (Mike) 5073- Fixed crash with DOMImplementation::createDocumentType("name:"). (Mike) 5074- Fixed bug #37205 (Serving binary content/images fails with "comm with server 5075 aborted" FastCGI err). (Dmitry) 5076- Fixed bug #37192 (cc may complain about non-constant initializers in 5077 hash_adler.c). (Mike) 5078- Fixed bug #37191 (chmod takes off sticky bit when safe_mode is On). (Tony) 5079- Fixed bug #37167 (PDO segfaults when throwing exception from the 5080 fetch handler). (Tony) 5081- Fixed bug #37162 (wddx does not build as a shared extension). 5082 (jdolecek at NetBSD dot org, Ilia) 5083- Fixed bug #37158 (fread behavior changes after calling 5084 stream_wrapper_register). (Wez) 5085- Fixed bug #37138 (__autoload tries to load callback'ed self and parent). 5086 (Dmitry) 5087- Fixed bug #37103 (libmbfl headers not installed). (Jani) 5088- Fixed bug #37062 (compile failure on ARM architecture). (Tony) 5089- Fixed bug #37061 (curl_exec() doesn't zero-terminate binary strings). (Tony) 5090- Fixed bug #37060 (Type of retval of Countable::count() is not checked). 5091 (Johannes) 5092- Fixed bug #37059 (oci_bind_by_name() doesn't support RAW and LONG RAW 5093 fields). (Tony) 5094- Fixed bug #37057 (xmlrpc_decode() may produce arrays with numeric strings, 5095 which are unaccessible). (Tony) 5096- Fixed bug #37055 (incorrect reference counting for persistent OCI8 5097 connections). (Tony) 5098- Fixed bug #37054 (SoapClient Error Fetching http headers). (Dmitry) 5099- Fixed bug #37053 (html_errors with internal classes produces wrong links). 5100 (Tony) 5101- Fixed bug #37046 (foreach breaks static scope). (Dmitry) 5102- Fixed bug #37045 (Fixed check for special chars for http redirects). (Ilia) 5103- Fixed bug #37017 (strtotime fails before 13:00:00 with some time zones 5104 identifiers). (Derick) 5105- Fixed bug #37002 (Have to quote literals in INI when concatenating with 5106 vars). (Dmitry)z 5107- Fixed bug #36988 (mktime freezes on long numbers). (Derick) 5108- Fixed bug #36981 (SplFileObject->fgets() ignores max_length). (Tony) 5109- Fixed bug #36957 (serialize() does not handle recursion). (Ilia) 5110- Fixed bug #36944 (strncmp & strncasecmp do not return false on negative 5111 string length). (Tony) 5112- Fixed bug #36941 (ArrayIterator does not clone itself). (Marcus) 5113- Fixed bug #36934 (OCILob->read() doesn't move internal pointer when 5114 reading 0's). (Tony) 5115- Fixed bug #36908 (wsdl default value overrides value in soap request). 5116 (Dmitry) 5117- Fixed bug #36898 (__set() leaks in classes extending internal ones). 5118 (Tony, Dmitry) 5119- Fixed bug #36886 (User filters can leak buckets in some situations). (Ilia) 5120- Fixed bug #36878 (error messages are printed even though an exception has 5121 been thrown). (Tony) 5122- Fixed bug #36875 (is_*() functions do not account for open_basedir). (Ilia) 5123- Fixed bug #36872 (session_destroy() fails after call to 5124 session_regenerate_id(true)). (Ilia) 5125- Fixed bug #36869 (memory leak in output buffering when using chunked 5126 output). (Tony) 5127- Fixed bug #36859 (DOMElement crashes when calling __construct when 5128 cloning). (Tony) 5129- Fixed bug #36857 (Added support for partial content fetching to the 5130 HTTP streams wrapper). (Ilia) 5131- Fixed bug #36851 (Documentation and code discrepancies for NULL 5132 data in oci_fetch_*() functions). (Tony) 5133- Fixed bug #36825 (Exceptions thrown in ArrayObject::offsetGet cause 5134 segfault). (Tony) 5135- Fixed bug #36820 (Privileged connection with an Oracle password file 5136 fails). (Tony) 5137- Fixed bug #36809 (__FILE__ behavior changed). (Dmitry) 5138- Fixed bug #36808 (syslog ident becomes garbage between requests). (Tony) 5139- Fixed bug #36802 (mysqli_set_charset() crash with a non-open connection). 5140 (Ilia) 5141- Fixed bug #36756 (DOMDocument::removeChild corrupts node). (Rob) 5142- Fixed bug #36749 (SOAP: 'Error Fetching http body' when using HTTP Proxy). 5143 (Dmitry) 5144- Fixed bug #36745 (No error message when load data local file isn't found). 5145 (Georg) 5146- Fixed bug #36743 (In a class extending XMLReader array properties are not 5147 writable). (Tony) 5148- Fixed bug #36727 (segfault in pdo_pgsql bindValue() when no parameters are 5149 defined). (Tony) 5150- Fixed bug #36721 (The SoapServer is not able to send a header that it didn't 5151 receive). (Dmitry) 5152- Fixed bug #36697 (Transparency is lost when using imagecreatetruecolor). 5153 (Pierre) 5154- Fixed bug #36689 (Removed arbitrary limit on the length of syslog messages). 5155 (Ilia) 5156- Fixed bug #36656 (http_build_query generates invalid URIs due to use of 5157 square brackets). (Mike) 5158- Fixed bug #36638 (strtotime() returns false when 2nd argument < 1). (Derick) 5159- Fixed bug #36629 (SoapServer::handle() exits on SOAP faults). (Dmitry) 5160- Fixed bug #36625 (pg_trace() does not work). (iakio at mono-space dot net) 5161- Fixed bug #36614 (Segfault when using Soap). (Dmitry) 5162- Fixed bug #36611 (assignment to SimpleXML object attribute changes argument 5163 type to string). (Tony) 5164- Fixed bug #36606 (pg_query_params() changes arguments type to string). (Tony) 5165- Fixed bug #36599 (DATE_W3C format constant incorrect). (Derick) 5166- Fixed bug #36575 (SOAP: Incorrect complex type instantiation with 5167 hierarchies). (Dmitry) 5168- Fixed bug #36572 (Added PDO::MYSQL_ATTR_DIRECT_QUERY constant that should 5169 be set when executing internal queries like "show master status" via MySQL). 5170 (Ilia) 5171- Fixed bug #36568 (memory_limit setting on win32 has no effect). (Dmitry) 5172- Fixed bug #36513 (comment will be outputted in last line). (Dmitry) 5173- Fixed bug #36510 (strtotime() fails to parse date strings with tabs). 5174 (Ilia, Derick) 5175- Fixed bug #36459 (Incorrect adding PHPSESSID to links, which contains \r\n). 5176 (Ilia) 5177- Fixed bug #36458 (sleep() accepts negative values). (Ilia) 5178- Fixed bug #36436 (DBA problem with Berkeley DB4). (Marcus) 5179- Fixed bug #36434 (Improper resolution of declaring class name of an 5180 inherited property). (Ilia) 5181- Fixed bug #36420 (segfault when access result->num_rows after calling 5182 result->close()). (Ilia,Tony) 5183- Fixed bug #36403 (oci_execute() no longer supports OCI_DESCRIBE_ONLY). (Tony) 5184- Fixed bug #36400 (Custom 5xx error does not return correct HTTP response error 5185 code). (Tony) 5186- Fixed bug #36396 (strtotime() fails to parse dates in dd-mm-yyyy format). 5187 (Derick) 5188- Fixed bug #36388 (ext/soap crashes when throwing exception and session 5189 persistence). (David) 5190- Fixed bug #36382 (PDO/PgSQL's getColumnMeta() crashes). (Derick) 5191- Fixed bug #36359 (splFileObject::fwrite() doesn't write when no data 5192 length specified). (Tony) 5193- Fixed bug #36351 (parse_url() does not parse numeric paths properly). (Ilia) 5194- Fixed bug #36345 (PDO/MySQL problem loading BLOB over 1MB). (Ilia) 5195- Fixed bug #36337 (ReflectionProperty fails to return correct visibility). 5196 (Ilia) 5197- Fixed bug #36334 (Added missing documentation about realpath cache INI 5198 settings). (Ilia) 5199- Fixed bug #36308 (ReflectionProperty::getDocComment() does not reflect 5200 extended class commentary). (Ilia) 5201- Fixed bug #36306 (crc32() differ on 32-bit and 64-bit platforms) 5202 (anight@eyelinkmedia dot com, Pierre) 5203- Fixed bug #36303 (foreach on error_zval produces segfault). (Dmitry) 5204- Fixed bug #36295 (typo in SplFileObject::flock() parameter name). (Tony) 5205- Fixed bug #36287 (Segfault with SplFileInfo conversion). (Marcus) 5206- Fixed bug #36283 (SOAPClient Compression Broken). (Dmitry) 5207- Fixed bug #36268 (Object destructors called even after fatal errors). (Dmitry) 5208- Fixed bug #36258 (SplFileObject::getPath() may lead to segfault). (Tony) 5209- Fixed bug #36250 (PHP causes ORA-07445 core dump in Oracle server 9.2.x). 5210 (Tony) 5211- Fixed bug #36242 (Possible memory corruption in stream_select()). (Tony) 5212- Fixed bug #36235 (ocicolumnname returns false before a successful fetch). 5213 (Tony) 5214- Fixed bug #36226 (Inconsistent handling when passing potential arrays). 5215 (Dmitry) 5216- Fixed bug #36224 (date(DATE_ATOM) gives wrong results). 5217 (Derick, Hannes Magnusson) 5218- Fixed bug #36222 (errorInfo in PDOException is always NULL). (Ilia) 5219- Fixed bug #36208 (symbol namespace conflicts using bundled gd). (Jakub Moc) 5220- Fixed bug #36205 (Memory leaks on duplicate cookies). (Dmitry) 5221- Fixed bug #36185 (str_rot13() crash on non-string parameter). (Pierre) 5222- Fixed bug #36176 (PDO_PGSQL - PDO::exec() does not return number of rows 5223 affected by the operation). (Ilia) 5224- Fixed bug #36158 (SIGTERM is not handled correctly when running as a 5225 FastCGI server). (Dmitry) 5226- Fixed bug #36152 (problems with curl+ssl and pgsql+ssl in same PHP). (Mike) 5227- Fixed bug #36148 (unpack("H*hex", $data) is adding an extra character to 5228 the end of the string). (Ilia) 5229- Fixed bug #36134 (DirectoryIterator constructor failed to detect empty 5230 directory names). (Ilia) 5231- Fixed bug #36113 (Reading records of unsupported type causes segfault). 5232 (Tony) 5233- Fixed bug #36096 (oci_result() returns garbage after oci_fetch() failed). 5234 (Tony) 5235- Fixed bug #36083 (SoapClient waits for responses on one-way operations). 5236 (Dmitry) 5237- Fixed bug #36071 (Engine Crash related with 'clone'). (Dmitry) 5238- Fixed bug #36055 (possible OCI8 crash in multi-threaded environment). (Tony) 5239- Fixed bug #36046 (parse_ini_file() miscounts lines in multi-line values). 5240 (Ilia) 5241- Fixed bug #36038 (ext/hash compile failure on Mac OSX). (Tony) 5242- Fixed bug #36037 (heredoc adds extra line number). (Dmitry) 5243- Fixed bug #36016 (realpath cache memleaks). (Dmitry, Nuno) 5244- Fixed bug #36011 (Strict errormsg wrong for call_user_func() and the likes). 5245 (Marcus) 5246- Fixed bug #36010 (Segfault when re-creating and re-executing statements with 5247 bound parameters). (Tony) 5248- Fixed bug #36006 (Problem with $this in __destruct()). (Dmitry) 5249- Fixed bug #35999 (recursive mkdir() does not work with relative path 5250 like "foo/bar"). (Tony) 5251- Fixed bug #35998 (SplFileInfo::getPathname() returns unix style filenames 5252 in win32). (Marcus) 5253- Fixed bug #35988 (Unknown persistent list entry type in module shutdown). 5254 (Dmitry) 5255- Fixed bug #35954 (Fatal com_exception casting object). (Rob) 5256- Fixed bug #35900 (stream_select() should warning when tv_sec is negative). 5257 (Ilia) 5258- Fixed bug #35785 (SimpleXML causes memory read error zend engine). (Marcus) 5259- Fixed bug #34272 (empty array onto COM object blows up). (Rob) 5260- Fixed bug #33292 (apache_get_modules() crashes on Windows). (Edin) 5261- Fixed bug #29476 (sqlite_fetch_column_types() locks the database forever). 5262 (Ilia) 5263 526412 Jan 2006, PHP 5.1.2 5265- Updated libsqlite in ext/sqlite to 2.8.17. (Ilia) 5266- Updated libsqlite in ext/pdo_sqlite to 3.2.8. (Ilia) 5267- Updated to libxml2-2.6.22 and libxslt-1.1.15 in the win32 bundle. (Rob) 5268- Added new extensions: (Ilia, Wez) 5269 . XMLWriter 5270 . Hash 5271- Added PNG compression support to GD extension. (Pierre) 5272- Added reflection constants as class constants. (Johannes) 5273- Added --enable-gcov configure option to enable C-level code coverage. 5274 (John, Jani, Ilia, Marcus) 5275- Added missing support for 'B' format identifier to date() function. (Ilia) 5276- Changed reflection to be an extension. (Marcus) 5277- Improved SPL extension: (Marcus) 5278 . Added class SplFileInfo as root class for DirectoryIterator and 5279 SplFileObject 5280 . Added SplTempFileObject 5281- Improved SimpleXML extension: (Marcus) 5282 . Fixed memleaks 5283 . Fixed var_dump() 5284 . Fixed isset/empty/(bool) behavior 5285 . Fixed iterator edge cases 5286 . Added methods getNamespaces(), getDocNamespaces() 5287- Upgraded pear to version 1.4.6. (Greg) 5288- Added constants for libxslt and libexslt versions: LIBXSLT_VERSION, 5289 LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION and LIBEXSLT_DOTTED_VERSION. (Pierre) 5290- Fixed possible crash in apache_getenv()/apache_setenv() on invalid parameters. 5291 (Ilia) 5292- Changed errors to warnings in imagecolormatch(). (Pierre) 5293- Fixed segfault/leak in imagecolormatch(). (Pierre) 5294- Fixed small leak in mysqli_stmt_fetch() when bound variable was empty string. 5295 (Andrey) 5296- Fixed prepared statement name conflict handling in PDO_PGSQL. (Thies, Ilia) 5297- Fixed memory corruption when PDO::FETCH_LAZY mode is being used. (Ilia) 5298- Fixed possible leaks in imagecreatefromstring() with invalid data. (Pierre) 5299- Fixed possible memory corruption inside mb_strcut(). (Ilia) 5300- Fixed possible header injection by limiting each header to a single line. 5301 (Ilia) 5302- Fixed possible XSS inside error reporting functionality. (Ilia) 5303- Fixed many bugs in OCI8. (Tony) 5304- Fixed crash and leak in mysqli when using 4.1.x client libraries and 5305 connecting to 5.x server. (Andrey) 5306- Fixed bug #35916 (Duplicate calls to stream_bucket_append() lead to a crash). 5307 (Ilia) 5308- Fixed bug #35908 (curl extension uses undefined GCRY_THREAD_OPTIONS_USER). 5309 (Ilia) 5310- Fixed bug #35907 (PDO_OCI uses hardcoded lib path $ORACLE_HOME/lib). (Tony) 5311- Fixed bug #35887 (wddx_deserialize not parsing dateTime fields properly). 5312 (Derick) 5313- Fixed bug #35885 (strtotime("NOW") no longer works). (Derick) 5314- Fixed bug #35821 (array_map() segfaults when exception is throwed from 5315 the callback). (Tony) 5316- Fixed bug #35817 (unpack() does not decode odd number of hexadecimal values). 5317 (Ilia) 5318- Fixed bug #35797 (segfault on PDOStatement::execute() with 5319 zend.ze1_compatibility_mode = On). (Tony, Ilia) 5320- Fixed bug #35781 (stream_filter_append() can cause segfault). (Tony) 5321- Fixed bug #35760 (sybase_ct doesn't compile on Solaris using old gcc). (Tony) 5322- Fixed bug #35759 (mysqli_stmt_bind_result() makes huge allocation when 5323 column empty). (Andrey) 5324- Fixed bug #35751 (using date with a timestamp makes httpd segfault). (Derick) 5325- Fixed bug #35740 (memory leak when including a directory). (Tony) 5326- Fixed bug #35730 (ext/mssql + freetds: Use correct character encoding 5327 and allow setting it). (Frank) 5328- Fixed bug #35723 (xmlrpc_introspection.c fails compile per C99 std). (Jani) 5329- Fixed bug #35720 (A final constructor can be overwritten). (Marcus) 5330- Fixed bug #35713 (getopt() returns array with numeric strings when passed 5331 options like '-1'). (Tony) 5332- Fixed bug #35705 (strtotime() fails to parse soap date format without TZ). 5333 (Ilia) 5334- Fixed bug #35699 (date() can't handle leap years before 1970). (Derick) 5335- Fixed bug #35694 (Improved error message for invalid fetch mode). (Ilia) 5336- Fixed bug #35692 (iconv_mime_decode() segmentation fault; with libiconv 5337 only). (Tony) 5338- Fixed bug #35690 (pack() tries to allocate huge memory block when packing 5339 float values to strings). (Tony) 5340- Fixed bug #35669 (imap_mail_compose() crashes with 5341 multipart-multiboundary-email). (Ilia) 5342- Fixed bug #35660 (AIX TZ variable format not understood, yields UTC 5343 timezone). (Derick) 5344- Fixed bug #35655 (whitespace following end of heredoc is lost). (Ilia) 5345- Fixed bug #35630 (strtotime() crashes on certain relative identifiers). 5346 (Ilia) 5347- Fixed bug #35629 (crash in http:// wrapper on multiple redirects). (Ilia) 5348- Fixed bug #35624 (strtotime() does not handle 3 character weekdays). (Ilia) 5349- Fixed bug #35612 (iis6 Access Violation crash). (Dmitry, alacn.uhahaa) 5350- Fixed bug #35594 (Multiple calls to getopt() may result in a crash). 5351 (rabbitt at gmail dot com, Ilia) 5352- Fixed bug #35571 (Fixed crash in Apache 2 SAPI when more then one php 5353 script is loaded via SSI include). (Ilia) 5354- Fixed bug #35570 (segfault when re-using soap client object). (Dmitry) 5355- Fixed bug #35558 (mktime() interpreting 3 digit years incorrectly). (Ilia) 5356- Fixed bug #35543 (php crash when calling non existing method of a class 5357 that extends PDO). (Tony) 5358- Fixed bug #35539 (typo in error message for ErrorException). (Tony) 5359- FIxed bug #35536 (mysql_field_type() doesn't handle NEWDECIMAL). (Tony) 5360- Fixed bug #35517 (mysql_stmt_fetch returns NULL on data truncation). (Georg) 5361- Fixed bug #35509 (string constant as array key has different behavior inside 5362 object). (Dmitry) 5363- Fixed bug #35508 (PDO fails when unknown fetch mode specified). (Tony) 5364- Fixed bug #35499 (strtotime() does not handle whitespace around the date 5365 string). (Ilia) 5366- Fixed bug #35496 (Crash in mcrypt_generic()/mdecrypt_generic() without 5367 proper init). (Ilia) 5368- Fixed bug #35490 (socket_sendto() unable to handle IPv6 addresses). (Tony) 5369- Fixed bug #35461 (Ming extension fails to compile with ming 0.3beta1). (Jani) 5370- Fixed bug #35437 (Segfault or Invalid Opcode 137/1/4). (Dmitry) 5371- Fixed bug #35470 (Assigning global using variable name from array doesn't 5372 function). (Dmitry) 5373- Fixed bug #35456 (+ 1 [time unit] format did not work). (Ilia) 5374- Fixed bug #35447 (xml_parse_into_struct() chokes on the UTF-8 BOM). (Rob) 5375- Fixed bug #35431 (PDO crashes when using LAZY fetch with fetchAll). (Wez) 5376- Fixed bug #35430 (PDO crashes on incorrect FETCH_FUNC use). (Tony) 5377- Fixed bug #35427 (str_word_count() handles '-' incorrectly). (Ilia) 5378- Fixed bug #35425 (idate() function ignores timezone settings). (Ilia) 5379- Fixed bug #35422 (strtotime() does not parse times with UTC as timezone). 5380 (Ilia) 5381- Fixed bug #35414 (strtotime() no longer works with ordinal suffix). (Ilia) 5382- Fixed bug #35410 (wddx_deserialize() doesn't handle large ints as keys 5383 properly). (Ilia) 5384- Fixed bug #35409 (undefined reference to 'rl_completion_matches'). (Jani) 5385- Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of 5386 soapenc:base64binary fails). (Dmitry) 5387- Fixed bug #35393 (changing static protected members from outside the class, 5388 one more reference issue). (Dmitry) 5389- Fixed bug #35381 (ssl library is not initialized properly). (Alan) 5390- Fixed bug #35377 (PDO_SQLITE: undefined reference to "fdatasync"). 5391 (Nuno, Jani) 5392- Fixed bug #35373 (HP-UX "alias not allowed in this configuration"). (Dmitry) 5393- Fixed bug #35288 (iconv() function defined as libiconv()). (Nuno) 5394- Fixed bug #35103 (mysqli handles bad unsigned (big)int incorrectly).(Andrey) 5395- Fixed bug #35062 (socket_read() produces warnings on non blocking sockets). 5396 (Nuno, Ilia) 5397- Fixed bug #35028 (SimpleXML object fails FALSE test). (Marcus) 5398- Fixed bug #34729 (Crash in ZTS mode under Apache). (Dmitry, Zeev) 5399- Fixed bug #34429 (Output buffering cannot be turned off with FastCGI). 5400 (Dmitry, Ilya) 5401- Fixed bug #34359 (Possible crash inside fopen http wrapper). (Ilia,Sara,Nuno) 5402- Fixed bug #33789 (Many Problems with SunFuncs). (Derick) 5403- Fixed bug #33671 (sun_rise and sun_set don't return a GMT timestamp if one 5404 passes an offset). (Derick) 5405- Fixed bug #32820 (date_sunrise and date_sunset don't handle GMT offset 5406 well). (Derick) 5407- Fixed bug #31347 (is_dir and is_file (incorrectly) return true for any string 5408 greater then 255 characters). (Nuno,Ilia) 5409- Fixed bug #30937 (date_sunrise() & date_sunset() don't handle endless 5410 day/night at high latitudes). (Derick) 5411- Fixed bug #30760 (Remove MessageBox on win32 for E_CORE errors if 5412 display_startup_error is off). (Ilia) 5413- Fixed bug #29955 (mb_strtoupper() / lower() broken with Turkish encoding). 5414 (Rui) 5415- Fixed bug #28899 (mb_substr() and substr() behave differently when 5416 "mbstring.func_overload" is enabled). (Rui) 5417- Fixed bug #27678 (number_format() crashes with large numbers). (Marcus) 5418 541928 Nov 2005, PHP 5.1.1 5420- Disabled native date class to prevent pear::date conflict. (Ilia) 5421- Changed reflection constants be both PHP and class constants. (Johannes) 5422- Added an additional field $frame['object'] to the result array of 5423 debug_backtrace() that contains a reference to the respective object when the 5424 frame was called from an object. (Sebastian) 5425- Fixed bug #35423 (RecursiveDirectoryIterator doesnt appear to recurse with 5426 RecursiveFilterIterator). (Marcus) 5427- Fixed bug #35413 (Removed -dev flag from Zend Engine version). (Ilia) 5428- Fixed bug #35411 (Regression with \{$ handling). (Ilia) 5429- Fixed bug #35406 (eval hangs when evall'ed code ends with comment w/o 5430 newline). (Marcus) 5431- Fixed bug #35391 (pdo_mysql::exec does not return number of affected rows). 5432 (Tony) 5433- Fixed bug #35382 (Comment in end of file produces fatal error). (Ilia) 5434- Fixed bug #35360 (exceptions in interactive mode (php -a) may cause crash). 5435 (Dmitry) 5436- Fixed bug #35358 (Incorrect error messages for PDO class constants). (Ilia) 5437- Fixed bug #35338 (pdo_pgsql does not handle binary bound params). (Wez) 5438- Fixed bug #35316 (Application exception trying to create COM object). (Rob) 5439- Fixed bug #35170 (PHP_AUTH_DIGEST differs under Apache 1.x and 2.x). (Ilia) 5440 544124 Nov 2005, PHP 5.1 5442- Added support for class constants and static members for internal classes. 5443 (Dmitry, Michael Wallner) 5444- Added "new_link" parameter to mssql_connect() (Bug #34369). (Frank) 5445- Added missing safe_mode checks for image* functions and cURL. (Ilia) 5446- Added missing safe_mode/open_basedir checks for file uploads. (Ilia) 5447- Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql. (Ilia) 5448- Added date_timezone_set() function to set the timezone that the date 5449 function will use. (Derick) 5450- Added pg_fetch_all_columns() function to fetch all values of a column from a 5451 result cursor. (Ilia) 5452- Added support for LOCK_EX flag for file_put_contents(). (Ilia) 5453- Added bindto socket context option. (Ilia) 5454- Added offset parameter to the stream_copy_to_stream() function. (Ilia) 5455- Added offset & length parameters to substr_count() function. (Ilia) 5456- Added man pages for "phpize" and "php-config" scripts. (Jakub Vrana) 5457- Added support for .cc files in extensions. (Brian) 5458- Added PHP_INT_MAX and PHP_INT_SIZE as predefined constants. (Andrey) 5459- Added user opcode API that allow overloading of opcode handlers. (Dmitry) 5460- Added an optional remove old session parameter to session_regenerate_id(). 5461 (Ilia) 5462- Added array type hinting. (Dmitry) 5463- Added the tidy_get_opt_doc() function to return documentation for 5464 configuration options in tidy. (Patch by: nlopess@php.net) 5465- Added support for .cc files in extensions. (Brian) 5466- Added imageconvolution() function which can be used to apply a custom 3x3 5467 matrix convolution to an image. (Pierre) 5468- Added optional first parameter to XsltProcessor::registerPHPFunctions to 5469 only allow certain functions to be called from XSLT. (Christian) 5470- Added the ability to override the autotools executables used by the 5471 buildconf script via the PHP_AUTOCONF and PHP_AUTOHEADER environmental 5472 variables. (Jon) 5473- Added several new functions to support the PostgreSQL v3 protocol introduced 5474 in PostgreSQL 7.4. (Christopher) 5475 . pg_transaction_status() - in-transaction status of a database connection. 5476 . pg_query_params() - execution of parameterized queries. 5477 . pg_prepare() - prepare named queries. 5478 . pg_execute() - execution of named prepared queries. 5479 . pg_send_query_params() - async equivalent of pg_query_params(). 5480 . pg_send_prepare() - async equivalent of pg_prepare(). 5481 . pg_send_execute() - async equivalent of pg_execute(). 5482 . pg_result_error_field() - highly detailed error information, most 5483 importantly 5484 the SQLSTATE error code. 5485 . pg_set_error_verbosity() - set verbosity of errors. 5486- Added optional fifth parameter "count" to preg_replace_callback() and 5487 preg_replace() to count the number of replacements made. FR #32275. (Andrey) 5488- Added optional third parameter "charlist" to str_word_count() which contains 5489 characters to be considered as word part. FR #31560. (Andrey, Ilia) 5490- Added interface Serializable. (Stanislav, Marcus) 5491- Added pg_field_type_oid() PostgreSQL function. (mauroi at digbang dot com) 5492- Added zend_declare_property_...() and zend_update_property_...() API 5493 functions for bool, double and binary safe strings. (Hartmut) 5494- Added possibility to access INI variables from within .ini file. (Andrei) 5495- Added variable $_SERVER['REQUEST_TIME'] containing request start time. 5496 (Ilia) 5497- Added optional float parameter to gettimeofday(). (Ilia) 5498- Added apache_reset_timeout() Apache1 function. (Rasmus) 5499- Added sqlite_fetch_column_types() 3rd argument for arrays. (Ilia) 5500- Added optional offset parameter to stream_get_contents() and 5501 file_get_contents(). (Ilia) 5502- Added optional maxlen parameter to file_get_contents(). (Ilia) 5503- Added SAPI hook to get the current request time. (Rasmus) 5504- Added new functions: 5505 . array_diff_key() (Andrey) 5506 . array_diff_ukey() (Andrey) 5507 . array_intersect_key() (Christiano Duarte) 5508 . array_intersect_ukey() (Christiano Duarte) 5509 . array_product() (Andrey) 5510 . DomDocumentFragment::appendXML() (Christian) 5511 . fputcsv() (David Sklar) 5512 . htmlspecialchars_decode() (Ilia) 5513 . inet_pton() (Sara) 5514 . inet_ntop() (Sara) 5515 . mysqli::client_info property (Georg) 5516 . posix_access() (Magnus) 5517 . posix_mknod() (Magnus) 5518 . SimpleXMLElement::registerXPathNamespace() (Christian) 5519 . stream_context_get_default() (Wez) 5520 . stream_socket_enable_crypto() (Wez) 5521 . stream_wrapper_unregister() (Sara) 5522 . stream_wrapper_restore() (Sara) 5523 . stream_filter_remove() (Sara) 5524 . time_sleep_until() (Ilia) 5525- Added DomDocument::$recover property for parsing not well-formed XML 5526 Documents. (Christian) 5527- Added Cursor support for MySQL 5.0.x in mysqli (Georg) 5528- Added proxy support to ftp wrapper via http. (Sara) 5529- Added MDTM support to ftp_url_stat. (Sara) 5530- Added zlib stream filter support. (Sara) 5531- Added bz2 stream filter support. (Sara) 5532- Added max_redirects context option that specifies how many HTTP 5533 redirects to follow. (Ilia) 5534- Added support of parameter=>value arrays to 5535 xsl_xsltprocessor_set_parameter(). (Tony) 5536 5537- PHP extension loading mechanism with support for module 5538 dependencies and conflicts. (Jani, Dmitry) 5539- Improved interactive mode of PHP CLI (php -a). (Johannes, Marcus) 5540- Improved performance of: 5541 . general execution/compilation. (Andi, Thies, Sterling, Dmitry, Marcus) 5542 . switch() statement. (Dmitry) 5543 . several array functions. (Marcus) 5544 . virtual path handling by adding a realpath() cache. (Andi) 5545 . variable fetches. (Andi) 5546 . magic method invocations. (Marcus) 5547- Improved support for embedded server in mysqli. (Georg) 5548- Improved mysqli extension. (Georg) 5549 . added constructor for mysqli_stmt and mysqli_result classes 5550 . added new function mysqli_get_charset() 5551 . added new function mysqli_set_charset() 5552 . added new class mysqli_driver 5553 . added new class mysqli_warning 5554 . added new class mysqli_exception 5555 . added new class mysqli_sql_exception 5556- Improved SPL extension. (Marcus) 5557 . Moved RecursiveArrayIterator from examples into extension 5558 . Moved RecursiveFilterIterator from examples into extension 5559 . Added SplObjectStorage 5560 . Made all SPL constants class constants 5561 . Renamed CachingRecursiveIterator to RecursiveCachingIterator to follow 5562 Recursive<*>Iterator naming scheme. 5563 . added standard hierarchy of Exception classes 5564 . added interface Countable 5565 . added interfaces Subject and SplObserver 5566 . added spl_autoload*() functions 5567 . converted several 5.0 examples into c code 5568 . added class SplFileObject 5569 . added possibility to use a string with class_parents() and 5570 class_implements(). (Andrey) 5571 5572- Changed type hints to allow "null" as default value for class and array. 5573 (Marcus, Derick, Dmitry) 5574- Changed SQLite extension to be a shared module in Windows distribution. 5575 (Edin) 5576- Changed "instanceof" and "catch" operators, is_a() and is_subclass_of() 5577 functions to not call __autoload(). (Dmitry) 5578- Changed sha1_file() and md5_file() functions to use streams instead of low 5579 level IO. (Uwe) 5580- Changed abstract private methods to be not allowed anymore. (Stas) 5581- Changed stream_filter_(ap|pre)pend() to return resource. (Sara) 5582- Changed mysqli_exception and sqlite_exception to use RuntimeException as 5583 base if SPL extension is present. (Georg, Marcus) 5584 5585- Upgraded bundled libraries: 5586 . PCRE library to version 6.2. (Andrei) 5587 . SQLite 3 library in ext/pdo_sqlite to 3.2.7. (Ilia) 5588 . SQLite 2 library in ext/sqlite to 2.8.16. (Ilia) 5589- Upgraded bundled libraries in Windows distribution. (Edin) 5590 . zlib 1.2.3 5591 . curl 7.14.0 5592 . openssl 0.9.8 5593 . ming 0.3b 5594 . libpq (PostgreSQL) 8.0.1 5595 5596- Implemented feature request #33452 (Year belonging to ISO week). (Derick) 5597- Allowed return by reference from internal functions. (Marcus, Andi, Dmitry) 5598- Rewrote strtotime() with support for timezones and many new formats. 5599 Implements feature requests #21399, #26694, #28088, #29150, #29585 and 5600 #29595. (Derick) 5601 5602- Moved extensions to PECL: 5603 . ext/cpdf (Tony, Derick) 5604 . ext/dio (Jani, Derick) 5605 . ext/fam (Jani, Derick) 5606 . ext/ingres_ii (Jani, Derick) 5607 . ext/mnogosearch (Jani, Derick) 5608 . ext/w32api (Jani, Derick) 5609 . ext/yp (Jani, Derick) 5610 . ext/mcve (Jani, Derick, Pierre) 5611 . ext/oracle (Jani, Derick) 5612 . ext/ovrimos (Jani, Derick, Pierre) 5613 . ext/pfpro (Jani, Derick, Pierre) 5614 . ext/dbx (Jani, Derick) 5615 . ext/ircg (Jani, Derick) 5616 5617- Removed php_check_syntax() function which never worked properly. (Ilia) 5618- Removed garbage manager in Zend Engine which results in more aggressive 5619 freeing of data. (Dmitry, Andi) 5620 5621- Fixed "make test" to work for phpized extensions. (Hartmut, Jani) 5622- Fixed Apache 2 regression with sub-request handling on non-linux systems. 5623 (Ilia, Tony) 5624- Fixed PDO shutdown problem (possible infinite loop running rollback on 5625 shutdown). (Wez) 5626- Fixed PECL bug #3714 (PDO: beginTransaction doesn't work if you're in 5627 auto-commit mode). (Wez) 5628- Fixed ZTS destruction. (Marcus) 5629- Fixed __get/__set to allow recursive calls for different properties. (Dmitry) 5630- Fixed a bug where stream_get_meta_data() did not return the "uri" element 5631 for files opened with tmpname(). (Derick) 5632- Fixed a problem with SPL iterators aggregating the inner iterator. (Marcus) 5633- Fixed an error in mysqli_fetch_fields (returned NULL instead of an array 5634 when row number > field_count). (Georg) 5635- Fixed bug in mysql::client_version(). (Georg) 5636- Fixed bug in mysqli extension with unsigned int(11) being represented as 5637 signed integer in PHP instead of string in 32bit systems. (Andrey) 5638- Fixed bug with $HTTP_RAW_POST_DATA not getting set. (Brian) 5639- Fixed crash inside stream_get_line() when length parameter equals 0. (Ilia) 5640- Fixed ext/mysqli to allocate less memory when fetching bound params of type 5641 (MEDIUM|LONG)BLOB/(MEDIUM|LONG)TEXT. (Andrey) 5642- Fixed extension initialization to respect dependencies between extensions. 5643 (Wez) 5644- Fixed failing queries (FALSE returned) with mysqli_query() on 64 bit systems. 5645 (Andrey) 5646- Fixed fgetcsv() and fputcsv() inconsistency. (Dmitry) 5647- Fixed inheritance check to control return by reference and pass by 5648 reference correctly (ArrayAccess can no longer support references correctly). 5649 (Marcus, Andi, Dmitry) 5650- Fixed initializing and argument checking for posix_mknod(). (Derick) 5651- Fixed memory corruption in ImageTTFText() with 64bit systems. (Andrey) 5652- Fixed memory corruption in pg_copy_from() in case the as_null parameter was 5653 passed. (Derick) 5654- Fixed memory corruption in stristr(). (Derick) 5655- Fixed possible GLOBALS variable override when register_globals are ON. 5656 (Ilia, Stefan) 5657- Fixed possible INI setting leak via virtual() in Apache 2 sapi. (Ilia) 5658- Fixed possible register_globals toggle via parse_str(). (Ilia, Stefan) 5659- Fixed potential GLOBALS overwrite via import_request_variables() and 5660 possible crash and/or memory corruption. (Ilia) 5661- Fixed segfaults when CURL callback functions throw exception. (Tony) 5662- Fixed support for shared extensions on AIX. (Dmitry) 5663- Fixed bug #35342 (isset(DOMNodeList->length) returns false). (Rob) 5664- Fixed bug #35341 (Fix for bug #33760 breaks build with older curl). (Tony) 5665- Fixed bug #35336 (crash on PDO::FETCH_CLASS + __set()). (Tony) 5666- Fixed bug #35303 (PDO prepare() crashes with invalid parameters). (Ilia) 5667- Fixed bug #35293 (PDO segfaults when using persistent connections). (Tony) 5668- Fixed bug #35278 (Multiple virtual() calls crash Apache 2 php module). (Ilia) 5669- Fixed bug #35273 (Error in mapping soap - java types). (Dmitry) 5670- Fixed bug #35249 (compile failure when ext/readline is compiled as shared). 5671 (Jani) 5672- Fixed bug #35248 (sqlite_query() doesn't set error_msg when return value is 5673 being used). (Ilia) 5674- Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on 5675 Linux). (Patch: shulmanb at il dot ibm dot com, Jani) 5676- Fixed bug #35239 (Objects can lose references). (Dmitry) 5677- Fixed bug #35229 (call_user_func() crashes when argument_stack is nearly 5678 full). (Dmitry) 5679- Fixed bug #35197 (Destructor is not called). (Tony) 5680- Fixed bug #35179 (tokenizer extension needs T_HALT_COMPILER). (Greg) 5681- Fixed bug #35176 (include()/require()/*_once() produce wrong error messages 5682 about main()). (Dmitry) 5683- Fixed bug #35147 (__HALT_COMPILER() breaks with --enable-zend-multibyte). 5684 (Dmitry, Moriyoshi) 5685- Fixed bug #35143 (gettimeofday() ignores current time zone). (Derick) 5686- Fixed bug #35142 (SOAP Client/Server Complex Object Support). (Dmitry) 5687- Fixed bug #35135 (PDOStatment without related PDO object may crash). (Ilia) 5688- Fixed bug #35091 (SoapClient leaks memory). (Dmitry) 5689- Fixed bug #35079 (stream_set_blocking(true) toggles, not enables blocking). 5690 (askalski at gmail dot com, Tony) 5691- Fixed bug #35078 (configure does not find ldap_start_tls_s). (Jani) 5692- Fixed bug #35046 (phpinfo() uses improper css enclosure). (Ilia) 5693- Fixed bugs #35022, #35019 (Regression in the behavior of key() and 5694 current() functions). (Ilia) 5695- Fixed bug #35017 (Exception thrown in error handler may cause unexpected 5696 behavior). (Dmitry) 5697- Fixed bug #35014 (array_product() always returns 0). (Ilia) 5698- Fixed bug #35009 (ZTS: Persistent resource destruct crashes when extension 5699 is compiled as shared). (Dmitry) 5700- Fixed bug #34996 (ImageTrueColorToPalette() crashes when ncolors is zero). 5701 (Tony) 5702- Fixed bug #34982 (array_walk_recursive() modifies elements outside function 5703 scope). (Dmitry) 5704- Fixed bug #34977 (Compile failure on MacOSX due to use of varargs.h). (Tony) 5705- Fixed bug #34968 (bz2 extension fails on to build on some win32 setups). 5706 (Ilia) 5707- Fixed bug #34965 (tidy is not binary safe). (Mike) 5708- Fixed bug #34957 (PHP doesn't respect ACLs for access checks). (Wez) 5709- Fixed bug #34950 (Unable to get WSDL through proxy). (Dmitry) 5710- Fixed bug #34938 (dns_get_record() doesn't resolve long hostnames and 5711 leaks). (Tony) 5712- Fixed bug #34905 (Digest authentication does not work with Apache 1). (Ilia) 5713- Fixed bug #34902 (mysqli::character_set_name() - undefined method). (Tony) 5714- Fixed bug #34899 (Fixed sqlite extension compile failure). (Ilia) 5715- Fixed bug #34893 (PHP5.1 overloading, Cannot access private property). 5716 (Dmitry) 5717- Fixed bug #34884 (Possible crash in ext/sqlite when sqlite.assoc_case is 5718 being used). (Tony, Ilia) 5719- Fixed bug #34879 (str_replace, array_map corrupt negative array indexes on 5720 64-bit platforms). (Dmitry) 5721- Fixed bug #34873 (Segmentation Fault on foreach in object). (Dmitry) 5722- Fixed bug #34856 (configure fails to detect libiconv's type). (Tony) 5723- Fixed bug #34855 (ibase_service_attach() segfault on AMD64). 5724 (irie at gmx dot de, Tony) 5725- Fixed bug #34851 (SO_RECVTIMEO and SO_SNDTIMEO socket options expect 5726 integer parameter on Windows). (Mike) 5727- Fixed bug #34850 (--program-suffix and --program-prefix not included in 5728 man page names). (Jani) 5729- Fixed bug #34821 (zlib encoders fail on widely varying binary data on 5730 windows). (Mike, Ilia) 5731- Fixed bug #34818 (several functions crash when invalid mysqli_link object 5732 is passed). (Tony) 5733- Fixed bug #34810 (mysqli::init() and others use wrong $this pointer without 5734 checks). (Tony) 5735- Fixed bug #34809 (FETCH_INTO in PDO crashes without a destination object). 5736 (Ilia) 5737- Fixed bug #34802 (Fixed crash on object instantiation failure). (Ilia) 5738- Fixed bug #34796 (missing SSL linking in ext/ftp when configured as shared). 5739 (Jani) 5740- Fixed bug #34790 (preg_match_all(), named capturing groups, variable 5741 assignment/return => crash). (Dmitry) 5742- Fixed bug #34788 (SOAP Client not applying correct namespace to generated 5743 values). (Dmitry) 5744- Fixed bug #34787 (SOAP Client not handling boolean types correctly). (Dmitry) 5745- Fixed bug #34786 (2 @ results in change to error_reporting() to random 5746 value) (Dmitry, Tony) 5747- Fixed bug #34785 (subclassing of mysqli_stmt does not work). (Georg) 5748- Fixed bug #34782 (token_get_all() gives wrong result). (Dmitry) 5749- Fixed bug #34777 (Crash in dblib when fetching non-existent error info). 5750 (Ilia) 5751- Fixed bug #34771 (strtotime() fails with 1-12am/pm). (Derick) 5752- Fixed bug #34767 (Zend Engine 1 Compatibility not copying objects 5753 correctly). (Dmitry) 5754- Fixed bug #34758 (PDO_DBLIB did not implement rowCount()). (Ilia) 5755- Fixed bug #34757 (iconv_substr() gives "Unknown error" when offset > string 5756 length). (Tony) 5757- Fixed bug #34742 (ftp wrapper failures caused from segmented command 5758 transfer). (Ilia) 5759- Fixed bug #34725 (CLI segmentation faults during cleanup). (Dmitry) 5760- Fixed bug #34723 (array_count_values() strips leading zeroes). (Tony) 5761- Fixed bug #34712 (zend.ze1_compatibility_mode = on segfault). (Dmitry) 5762- Fixed bug #34704 (Infinite recursion due to corrupt JPEG). (Marcus) 5763- Fixed bug #34678 (__call(), is_callable() and static methods). (Dmitry) 5764- Fixed bug #34676 (missing support for strtotime("midnight") and 5765 strtotime("noon")). (Derick) 5766- Fixed bug #34645 (ctype corrupts memory when validating large numbers). 5767 (Ilia) 5768- Fixed bug #34643 (wsdl default value has no effect). (Dmitry) 5769- Fixed bug #34623 (Crash in pdo_mysql on longtext fields). (Ilia) 5770- Fixed bug #34617 (zend_deactivate: objects_store used after 5771 zend_objects_store_destroy is called). (Dmitry) 5772- Fixed bug #34590 (User defined PDOStatement class can't implement 5773 methods). (Marcus) 5774- Fixed bug #34584 (Segfault with SPL autoload handler). (Marcus) 5775- Fixed bug #34581 (crash with mod_rewrite). (Tony, Ilia) 5776- Fixed bug #34565 (mb_send_mail does not fetch 5777 mail.force_extra_parameters). (Marco, Ilia) 5778- Fixed bug #34557 (php -m exits with "error" 1). (Johannes) 5779- Fixed bug #34518 (Unset doesn't separate container in CV). (Dmitry) 5780- Fixed bug #34505 (Possible memory corruption when unmangling properties 5781 with empty names). (Tony) 5782- Fixed bug #34478 (Incorrect parsing of url's fragment (#...)). (Dmitry) 5783- Fixed bug #34467 (foreach + __get + __set inconsistency). (Dmitry) 5784- Fixed bug #34456 (Possible crash inside pspell extension). (Ilia) 5785- Fixed bug #34453 (parsing http://www.w3.org/2001/xml.xsd exception). (Dmitry) 5786- Fixed bug #34450 (Segfault when calling mysqli_close() in destructor). (Tony) 5787- Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed). (Dmitry) 5788- Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()). (Ilia) 5789- Fixed bug #34358 (Fatal error: Cannot re-assign $this). (Dmitry) 5790- Fixed bug #34331 (php crashes when variables_order is empty). (Ilia) 5791- Fixed bug #34321 (Possible crash in filter code). (Ilia) 5792- Fixed bug #34311 (unserialize() crashes with chars above 191 dec). (Nuno) 5793- Fixed bug #34310 (foreach($arr as $c->d => $x) crashes). (Dmitry) 5794- Fixed bug #34307 (on_modify handler not called to set the default value if 5795 setting from php.ini was invalid). (Andrei) 5796- Fixed bug #34306 (wddx_serialize_value() crashes with long array keys). 5797 (Jani) 5798- Fixed bug #34304 (date() doesn't have a modifier for ISO Week Day). (Derick) 5799- Fixed bug #34302 (date('W') do not return leading zeros for week 1 to 9). 5800 (Derick) 5801- Fixed bug #34299 (ReflectionClass::isInstantiable() returns true for abstract 5802 classes). (Marcus) 5803- Fixed bug #34284 (CLI phpinfo showing html on _SERVER["argv"]). (Jani) 5804- Fixed bug #34277 (array_filter() crashes with references and objects). 5805 (Dmitry) 5806- Fixed bug #34276 (setAttributeNS doesn't work with default namespace). 5807 (Rob) 5808- Fixed bug #34260 (Segfault with callbacks (array_map) + overloading). 5809 (Dmitry) 5810- Fixed bug #34257 (lib64 not handled correctly in ming extension). (Marcus) 5811- Fixed bug #34221 (Compiling xmlrpc as shared fails other parts). (Jani) 5812- Fixed bug #34216 (Segfault with autoload). (Marcus) 5813- Fixed bug #34199 (if($obj)/if(!$obj) inconsistency because of cast handler). 5814 (Dmitry, Alex) 5815- Fixed bug #34191 (ob_gzhandler does not enforce trailing \0). (Ilia) 5816- Fixed bug #34156 (memory usage remains elevated after memory limit is 5817 reached). (Ilia) 5818- Fixed bug #34148 (+,- and . not supported as parts of scheme). (Ilia) 5819- Fixed bug #34137 (assigning array element by reference causes binary mess). 5820 (Dmitry) 5821- Fixed bug #34103 (line numbering not maintained in dom document). (Rob) 5822- Fixed bug #34078 (Reflection API problems in methods with boolean or 5823 null default values). (Tony) 5824- Fixed bug #34068 (Numeric string as array key not cast to integer in 5825 wddx_deserialize()). (Ilia) 5826- Fixed bug #34064 (arr[] as param to function in class gives invalid 5827 opcode). (Dmitry) 5828- Fixed bug #34062 (Crash in catch block when many arguments are used). 5829 (Dmitry) 5830- Fixed bug #34052 (date('U') returns %ld not unix timestamp). (Nuno) 5831- Fixed bug #34045 (Buffer overflow with serialized object). (Dmitry) 5832- Fixed bug #34001 (pdo_mysql truncates numeric fields at 4 chars). (Ilia) 5833- Fixed bug #33999 (object remains object when cast to int). (Dmitry) 5834- Fixed bug #33996 (No information given for fatal error on passing invalid 5835 value to typed argument). (Dmitry) 5836- Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP). (Dmitry) 5837- Fixed bug #33987 (php script as ErrorDocument causes crash in Apache 2). 5838 (Ilia) 5839- Fixed bug #33967 (misuse of Exception constructor doesn't display 5840 errorfile). (Jani) 5841- Fixed bug #33966 (Wrong use of reflectionproperty causes a segfault). (Tony) 5842- Fixed bug #33963 (mssql_bind() fails on input parameters). (Frank) 5843- Fixed bug #33958 (duplicate cookies and magic_quotes=off may cause a crash). 5844 (Ilia) 5845- Fixed bug #33957 (gmdate('W')/date('W') sometimes returns wrong week number). 5846 (Derick) 5847- Fixed bug #33940 (array_map() fails to pass by reference when called 5848 recursively). (Dmitry) 5849- Fixed bug #33917 (number_format() output with > 1 char separators). (Jani) 5850- Fixed bug #33904 (input array keys being escaped when magic quotes is off). 5851 (Ilia) 5852- Fixed bug #33903 (spl_autoload_register class method). (Marcus) 5853- Fixed bug #33899 (CLI: setting extension_dir=some/path extension=foobar.so 5854 does not work). (Jani) 5855- Fixed bug #33882 (CLI was looking for php.ini in wrong path). (Hartmut) 5856- Fixed bug #33869 (strtotime() problem with "+1days" format). (Ilia) 5857- Fixed bug #33841 (pdo sqlite driver forgets to update affected column 5858 count on execution of prepared statments). (Ilia) 5859- Fixed bug #33837 (Informix ESQL version numbering schema changed). (Jani) 5860- Fixed bug #33829 (mime_content_type() returns text/plain for gzip and bzip 5861 files). (Derick) 5862- Fixed bug #33802 (throw Exception in error handler causes crash). (Dmitry) 5863- Fixed bug #33771 (error_reporting falls to 0 when @ was used inside 5864 try/catch block). (Tony) 5865- Fixed bug #33760 (cURL needs to implement CRYPTO_callback functions to 5866 prevent locking). (Mike, Ilia) 5867- Fixed bug #33732 (Wrong behavior of constants in class and interface 5868 extending). (Dmitry) 5869- Fixed bug #33723 (php_value overrides php_admin_value). (Dmitry) 5870- Fixed bug #33720 (mb_encode_mimeheader does not work for multibyte 5871 chars). (Rui) 5872- Fixed bug #33710 (ArrayAccess objects does not initialize $this). (Dmitry) 5873- Fixed bug #33690 (Crash setting some ini directives in httpd.conf). (Rasmus) 5874- Fixed bug #33673 (Added detection for partially uploaded files). (Ilia) 5875- Fixed bug #33605 (substr_compare() crashes with negative offset and length). 5876 (Tony) 5877- Fixed bug #33597 (setcookie() "expires" date format doesn't comply with RFC). 5878 (Tony) 5879- Fixed bug #33588 (LDAP: RootDSE query not possible). (Jani) 5880- Fixed bug #33578 (strtotime() problem with "Oct17" format). (Derick) 5881- Fixed bug #33578 (strtotime() doesn't understand "11 Oct" format). (Derick) 5882- Fixed bug #33562 (date("") crashes). (Derick) 5883- Fixed bug #33558 (warning with nested calls to functions returning by 5884 reference). (Dmitry) 5885- Fixed bug #33536 (strtotime() defaults to now even on non time string). 5886 (Derick) 5887- Fixed bug #33532 (Different output for strftime() and date()). (Derick) 5888- Fixed bug #33523 (Memory leak in xmlrpc_encode_request()). (Ilia) 5889- Fixed bug #33520 (crash if safe_mode is on and session.save_path is changed). 5890 (Dmitry) 5891- Fixed bug #33512 (Add missing support for isset()/unset() overloading to 5892 complement the property get/set methods). (Dmitry) 5893- Fixed bug #33491 (crash after extending MySQLi internal class). (Tony) 5894- Fixed bug #33475 (cURL handle is not closed on curl_close(). (Ilia) 5895- Fixed bug #33469 (Compile error undefined reference to ifx_checkAPI). (Jani) 5896- Fixed bug #33433 (strtoll not available on Tru64). (Jani, Derick) 5897- Fixed bug #33427 (ext/odbc: check if unixODBC header file exists). (Jani) 5898- Fixed bug #33415 (strtotime() related bugs). (Derick) 5899- Fixed bug #33414 (Comprehensive list of incorrect days returned after 5900 strtotime() / date() tests). (Derick) 5901- Fixed bug #33389 (double free() when exporting a ReflectionClass). (Marcus) 5902- Fixed bug #33383 (crash when retrieving empty LOBs). (Tony) 5903- Fixed bug #33382 (array_reverse() fails after *sort()), introduced by 5904 zend_hash_sort() optimizations in HEAD. (Tony) 5905- Fixed bug #33340 (CLI Crash when calling php:function from XSLT). (Rob) 5906- Fixed bug #33326 (Cannot build extensions with phpize on Macosx). (Jani) 5907- Fixed bug #33318 (throw 1; results in Invalid opcode 108/1/8). (Dmitry) 5908- Fixed bug #33312 (ReflectionParameter methods do not work correctly). 5909 (Dmitry) 5910- Fixed bug #33299 (php:function no longer handles returned dom objects). 5911 (Rob, Joe Orton) 5912- Fixed bug #33286 (nested array_walk() calls and user array compare functions 5913 broken; FCI cache). (Andrei, patch from m.bretz@metropolis-ag.de) 5914- Fixed bug #33277 (private method accessed by child class). (Dmitry) 5915- Fixed bug #33268 (iconv_strlen() works only with a parameter of < 3 in 5916 length). (Ilia) 5917- Fixed bug #33257 (array_splice() inconsistent when passed function instead of 5918 variable). (Dmitry) 5919- Fixed bug #33243 (ze1_compatibility_mode does not work as expected). (Dmitry) 5920- Fixed bug #33242 (Mangled error message when stream fails). (Derick) 5921- Fixed bug #33222 (segfault when CURL handle is closed in a callback). (Tony) 5922- Fixed bug #33214 (odbc_next_result does not signal SQL errors with 5923 2-statement SQL batches). (rich at kastle dot com, Tony) 5924- Fixed bug #33212 ([GCC 4]: 'zend_error_noreturn' aliased to external symbol 5925 'zend_error'). (Dmitry) 5926- Fixed bug #33210 (relax jpeg recursive loop protection). (Ilia) 5927- Fixed bug #33201 (Crash when fetching some data types). (Frank) 5928- Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' modifier 5929 misbehave). (Jani) 5930- Fixed bug #33185 (--enable-session=shared does not build). (Jani) 5931- Fixed bug #33171 (foreach enumerates private fields declared in base 5932 classes). (Dmitry) 5933- Fixed bug #33167 (Possible crash inside pg_fetch_array()). (Ilia) 5934- Fixed bug #33164 (Soap extension incorrectly detects HTTP/1.1). (Ilia) 5935- Fixed bug #33156 (cygwin version of setitimer doesn't accept ITIMER_PROF). 5936 (Nuno) 5937- Fixed bug #33153 (crash in mssql_next result). (Frank) 5938- Fixed bug #33150 (shtool: insecure temporary file creation). (Jani) 5939- Fixed bug #33136 (method offsetSet in class extended from ArrayObject crash 5940 PHP). (Marcus) 5941- Fixed bug #33125 (imagecopymergegray() produces mosaic rainbow effect). 5942 (Pierre) 5943- Fixed bug #33116 (crash when assigning class name to global variable in 5944 __autoload). (Dmitry) 5945- Fixed bug #33090 (mysqli_prepare() doesn't return an error). (Georg) 5946- Fixed bug #33076 (str_ireplace() incorrectly counts result string length 5947 and may cause segfault). (Tony) 5948- Fixed bug #33072 (Add a safemode/open_basedir check for runtime 5949 "session.save_path" change using session_save_path() function). (Rasmus) 5950- Fixed bug #33070 (Improved performance of bzdecompress() by several orders 5951 of magnitude). (Ilia) 5952- Fixed bug #33059 (crash when moving xml attribute set in dtd). (Ilia) 5953- Fixed bug #33057 (Don't send extraneous entity-headers on a 304 as per 5954 RFC 2616 section 10.3.5) (Rasmus, Choitel) 5955- Fixed bug #33019 (socket errors cause memory leaks in php_strerror()). 5956 (jwozniak23 at poczta dot onet dot pl, Tony). 5957- Fixed bug #33017 ("make distclean" gives an error with VPATH build). (Jani) 5958- Fixed bug #33013 ("next month" was handled wrong while parsing dates). 5959 (Derick) 5960- Fixed bug #32993 (implemented Iterator function current() don't throw 5961 exception). (Dmitry) 5962- Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 5963 seg fault). (Dmitry) 5964- Fixed bug #32956 (mysql_bind_result() doesn't support MYSQL_TYPE_NULL). 5965 (Georg) 5966- Fixed bug #32947 (Incorrect option for mysqli default password). (Georg) 5967- Fixed bug #32944 (Disabling session.use_cookies doesn't prevent reading 5968 session cookies). (Jani, Tony) 5969- Fixed bug #32941 (Sending structured SOAP fault kills a php). (Dmitry) 5970- Fixed bug #32937 (open_basedir looses trailing / in the limiter). 5971 (Adam Conrad) 5972- Fixed bug #32936 (http redirects URLs are not checked for control chars). 5973 (Ilia) 5974- Fixed bug #32933 (Cannot extend class "SQLiteDatabase"). (Marcus) 5975- Fixed bug #32932 (Oracle LDAP: ldap_get_entries(), invalid pointer). (Jani) 5976- Fixed bug #32930 (class extending DOMDocument doesn't clone properly). (Rob) 5977- Fixed bug #32924 (file included with "auto_prepend_file" can be included 5978 with require_once() or include_once()). (Stas) 5979- Fixed bug #32904 (pg_get_notify() ignores result_type parameter). (Tony) 5980- Fixed bug #32852 (Crash with singleton and __destruct when 5981 zend.ze1_compatibility_mode = On). (Dmitry) 5982- Fixed bug #32833 (Invalid opcode). (Dmitry) 5983- Fixed bug #32813 (parse_url() does not handle scheme-only urls properly). 5984 (Ilia) 5985- Fixed bug #32810 (temporary files not using plain file wrapper). (Ilia) 5986- Fixed bug #32809 (Missing T1LIB support on Windows). (Edin) 5987- Fixed bug #32802 (General cookie overrides more specific cookie). (Ilia) 5988- Fixed bugs #32800, #32830 (ext/odbc: Problems with 64bit systems). (Jani) 5989- Fixed bug #32799 (crash: calling the corresponding global var during the 5990 destruct). (Dmitry) 5991- Fixed bug #32776 (SOAP doesn't support one-way operations). (Dmitry) 5992- Fixed bug #32773 (GMP functions break when second parameter is 0). (Stas) 5993- Fixed bug #32759 (incorrect determination of default value (COM)). (Wez) 5994- Fixed bug #32758 (Cannot access safearray properties in VB6 objects). (Wez) 5995- Fixed bug #32755 (Segfault in replaceChild() when DocumentFragment has no 5996 children). (Rob) 5997- Fixed bug #32753 (Undefined constant SQLITE_NOTADB). (Ilia) 5998- Fixed bug #32742 (segmentation fault when the stream with a wrapper 5999 is not closed). (Tony, Dmitry) 6000- Fixed bug #32699 (pg_affected_rows() was defined when it was not available). 6001 (Derick) 6002- Fixed bug #32686 (Require/include file in destructor causes segfault). 6003 (Marcus) 6004- Fixed bug #32682 (ext/mssql: Error on module shutdown when called from 6005 activescript). (Frank) 6006- Fixed bug #32674 (exception in iterator causes crash). (Dmitry) 6007- Fixed bug #32660 (Assignment by reference causes crash when field access is 6008 overloaded (__get)). (Dmitry) 6009- Fixed bug #32647 (Using register_shutdown_function() with invalid callback 6010 can crash PHP). (Jani) 6011- Fixed bug #32615 (Segfault in replaceChild() using fragment when 6012 previousSibling is NULL). (Rob) 6013- Fixed bug #32613 (ext/snmp: use of snmp_shutdown() causes snmpapp.conf 6014 access errors). (Jani, ric at arizona dot edu) 6015- Fixed bug #32608 (html_entity_decode() converts single quotes even if 6016 ENT_NOQUOTES is given). (Ilia) 6017- Fixed bug #32596 (Segfault/Memory Leak by getClass (etc) in __destruct). 6018 (Dmitry) 6019- Fixed bug #32591 (ext/mysql: Unsatisfied symbol: ntohs with HP-UX). (Jani) 6020- Fixed bug #32589 (possible crash inside imap_mail_compose() function). 6021 (Ilia) 6022- Fixed bug #32589 (Possible crash inside imap_mail_compose, with charsets). 6023 (Ilia) 6024- Fixed bug #32587 (Apache2: errors sent to error_log do not include 6025 timestamps). (Jani) 6026- Fixed bug #32560 (configure looks for incorrect db2 library). (Tony) 6027- Fixed bug #32553 (mmap loads only the 1st 2000000 bytes on Win32). (Ilia) 6028- Fixed bug #32533 (proc_get_status() returns the incorrect process status). 6029 (Ilia) 6030- Fixed bug #32530 (chunk_split() does not append endstr if chunklen is 6031 longer then the original string). (Ilia) 6032- Fixed bug #32491 (File upload error - unable to create a temporary file). 6033 (Uwe Schindler) 6034- Fixed bug #32455 (wrong setting property to unset value). (Dmitry) 6035- Fixed bug #32429 (method_exists() always return TRUE if __call method 6036 exists). (Dmitry) 6037- Fixed bug #32428 (The @ warning error suppression operator is broken). 6038 (Dmitry) 6039- Fixed bug #32427 (Interfaces are not allowed 'static' access modifier). 6040 (Dmitry) 6041- Fixed bug #32405 (mysqli::fetch() returns bad data - 64bit problem). 6042 (Andrey) 6043- Fixed bug #32296 (get_class_methods() output has changed between 5.0.2 and 6044 5.0.3). (Dmitry) 6045- Fixed bug #32282 (Segfault in mysqli_fetch_array on 64-bit). (Georg) 6046- Fixed bug #32245 (xml_parser_free() in a function assigned to the xml 6047 parser gives a segfault). (Rob) 6048- Fixed bug #32179 (xmlrpc_encode() segfaults with recursive references). 6049 (Tony) 6050- Fixed bug #32171 (Userspace stream wrapper crashes PHP). (Tony, Dmitry) 6051- Fixed bug #32160 (copying a file into itself leads to data loss). (Ilia) 6052- Fixed bug #32139 (SOAP client does not auto-handle base64 encoding). (Ilia) 6053- Fixed bug #32109 ($_POST is not populated in multi-threaded environment). 6054 (Moriyoshi) 6055- Fixed bug #32080 (segfault when assigning object to itself with 6056 zend.ze1_compatibility_mode=On). (Dmitry) 6057- Fixed bug #32021 (Crash caused by range('', 'z')). (Derick) 6058- Fixed bug #32013 (ext/mysqli bind_result causes fatal error: memory limit). 6059 (Andrey) 6060- Fixed bug #32010 (Memory leak in mssql_fetch_batch). (fmk) 6061- Fixed bug #32009 (crash when mssql_bind() is called more than once). (Frank) 6062- Fixed bug #31971 (ftp_login fails on some SSL servers). 6063 (frantisek at augusztin dot com) 6064- Fixed bug #31887 (ISAPI: Custom 5xx error does not return correct HTTP 6065 response message). (Jani) 6066- Fixed bug #31828 (Crash with zend.ze1_compatibility_mode=On). (Dmitry) 6067- Fixed bug #31668 (multi_query works exactly every other time - multi query 6068 d/e flag global and not per connection). (Andrey) 6069- Fixed bug #31636 (another crash when echoing a COM object). (Wez) 6070- Fixed bug #31583 (php_std_date() uses short day names in non-y2k_compliance 6071 mode). (mike at php dot net) 6072- Fixed bug #31525 (object reference being dropped. $this getting lost). 6073 (Stas, Dmitry) 6074- Fixed bug #31502 (Wrong deserialization from session when using WDDX 6075 serializer). (Dmitry) 6076- Fixed bug #31478 (segfault with empty() / isset()). (Moriyoshi) 6077- Fixed bug #31465 (False warning in unpack() when working with *). (Ilia) 6078- Fixed bug #31363 (broken non-blocking flock()). (ian at snork dot net) 6079- Fixed bug #31358 (Older GCC versions do not provide portable va_copy()). 6080 (Jani) 6081- Fixed bug #31341 (escape on curly inconsistent). (Dmitry) 6082- Fixed bug #31256 (PHP_EVAL_LIBLINE configure macro does not handle 6083 -pthread). (Jani) 6084- Fixed bug #31213 (Side effects caused by fix of bug #29493). (Dmitry) 6085- Fixed bug #31177 (memory leaks and corruption because of incorrect 6086 refcounting). (Dmitry) 6087- Fixed bug #31158 (array_splice on $GLOBALS crashes). (Dmitry) 6088- Fixed bug #31054 (safe_mode & open_basedir checks only check first 6089 include_path value). (Ilia) 6090- Fixed bug #31033 (php:function(string, nodeset) with xsl:key crashes PHP). 6091 (Rob) 6092- Fixed bug #30961 (Wrong line number in ReflectionClass getStartLine()). 6093 (Dmitry) 6094- Fixed bug #30889 (Conflict between __get/__set and ++ operator). (Dmitry) 6095- Fixed bug #30833 (array_count_values() modifying input array). (Tony) 6096- Fixed bug #30828 (debug_backtrace() reports incorrect class in overridden 6097 methods). (Dmitry) 6098- Fixed bug #30820 (static member conflict with $this->member silently 6099 ignored). (Dmitry) 6100- Fixed bug #30819 (Better support for LDAP SASL bind). (Jani) 6101- Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call 6102 __call if object is overloaded). (Dmitry) 6103- Fixed bug #30707 (Segmentation fault on exception in method). 6104 (Stas, Dmitry) 6105- Fixed bug #30702 (cannot initialize class variable from class constant). 6106 (Dmitry) 6107- Fixed bug #30578 (Output buffers flushed before calling __destruct() 6108 functions). (Jani) 6109- Fixed bug #30519 (Interface not existing says Class not found). (Dmitry) 6110- Fixed bug #30407 (Strange behavior of default arguments). (Dmitry) 6111- Fixed bug #30394 (Assignment operators yield wrong result with __get/__set). 6112 (Dmitry) 6113- Fixed bug #30332 (zend.ze1_compatibility_mode isn't fully compatible with 6114 array_push()). (Dmitry) 6115- Fixed bug #30162 (Catching exception in constructor causes lose of 6116 $this). (Dmitry) 6117- Fixed bug #30140 (Problem with array in static properties). (Dmitry) 6118- Fixed bug #30126 (Enhancement for error message for abstract classes). 6119 (Marcus) 6120- Fixed bug #30096 (gmmktime does not return the current time). (Derick) 6121- Fixed bug #30080 (Passing array or non array of objects). (Dmitry) 6122- Fixed bug #30052 (Crash on shutdown after odbc_pconnect()). (Edin) 6123- Fixed bug #29983 (PHP does not explicitly set mime type & charset). (Ilia) 6124- Fixed bug #29975 (memory leaks when set_error_handler() is used inside error 6125 handler). (Tony) 6126- Fixed bug #29971 (variables_order behavior). (Dmitry) 6127- Fixed bug #29944 (Function defined in switch, crashes). (Dmitry) 6128- Fixed bug #29896 (Backtrace argument list out of sync). (Dmitry) 6129- Fixed bug #29728 (Reflection API Feature: Default parameter value). (Marcus) 6130- Fixed bug #29689 (default value of protected member overrides default value 6131 of private and other private variable problems in inherited classes). (Stas) 6132- Fixed bug #29683 (headers_list() returns empty array). (Tony) 6133- Fixed bug #29583 (crash when echoing a COM object). (M.Sisolak, Wez) 6134- Fixed bug #29522 (accessing properties without connection). (Georg) 6135- Fixed bug #29361 (var_export() producing invalid code). (Derick) 6136- Fixed bug #29338 (unencoded spaces get ignored after certain tags). (Ilia) 6137- Fixed bug #29335 (fetch functions now use MYSQLI_BOTH as default). (Georg) 6138- Fixed bug #29334 (win32 mail() provides incorrect Date: header). (Jani) 6139- Fixed bug #29311 (calling parent constructor in mysqli). (Georg) 6140- Fixed bug #29268 (__autoload() not called with Reflection->getClass()). 6141 (Dmitry) 6142- Fixed bug #29256 (SOAP HTTP Error when envelop size is more than 24345 6143 bytes). (Dmitry, Wez) 6144- Fixed bug #29253 (array_diff with $GLOBALS argument fails). (Dmitry) 6145- Fixed bug #29236 (memory error when wsdl-cache is enabled). (Dmitry) 6146- Fixed bug #29210 (Function: is_callable - no support for private and 6147 protected classes). (Dmitry) 6148- Fixed bug #29109 (SoapFault exception: [WSDL] Out of memory). (Dmitry) 6149- Fixed bug #29104 (Function declaration in method doesn't work). (Dmitry) 6150- Fixed bug #29061 (soap extension segfaults). (Dmitry) 6151- Fixed bug #29015 (Incorrect behavior of member vars(non string ones)-numeric 6152 mem vars and others). (Dmitry) 6153- Fixed bug #28985 (__getTypes() returning nothing on complex WSDL). (Dmitry) 6154- Fixed bug #28969 (Wrong data encoding of special characters). (Dmitry) 6155- Fixed bug #28839 (SIGSEGV in interactive mode (php -a)). 6156 (kameshj at fastmail dot fm) 6157- Fixed bug #28605 (Need to use -[m]ieee option for Alpha CPUs). (Jani) 6158- Fixed bug #28568 (SAPI::known_post_content_types is not thread safe). 6159 (Moriyoshi) 6160- Fixed bug #28377 (debug_backtrace is intermittently passing args). (Dmitry) 6161- Fixed bug #28355 (glob wont error if dir is not readable). (Hartmut) 6162- Fixed bug #28072 (static array with some constant keys will be incorrectly 6163 ordered). (Dmitry) 6164- Fixed bug #27908 (xml default_handlers not being called). (Rob) 6165- Fixed bug #27598 (list() array key assignment causes HUGE memory leak). 6166 (Dmitry) 6167- Fixed bug #27268 (Bad references accentuated by clone). (Dmitry) 6168- Fixed bug #26456 (Wrong results from Reflection-API getDocComment() when 6169 called via STDIN). (Dmitry) 6170- Fixed bug #25922 (In error handler, modifying 5th arg (errcontext) may 6171 result in seg fault). (Dmitry) 6172- Fixed bug #25359 (array_multisort() doesn't work in a function if array is 6173 global or reference). (Dmitry) 6174- Fixed bug #22836 (returning reference to uninitialized variable). (Dmitry) 6175- Fixed bug #21306 (ext/sesssion: catch bailouts of write handler during 6176 RSHUTDOWN). (Jani, Xuefer at 21cn dot com) 6177- Fixed bug #15854 (boolean ini options may be incorrectly displayed as Off 6178 when they are On). (Tony) 6179- Fixed bugs #14561, #20382, #26090, #26320, #28024, #30532, #32086, #32270, 6180 #32555, #32588, #33056 (strtotime() related bugs). (Derick) 6181 618231 Mar 2005, PHP 5.0.4 6183- Added SNMPv2 support. (harrie) 6184- Added Oracle Instant Client support. (cjbj at hotmail dot com, Tony) 6185- Added length and charsetnr for field array and object in mysqli. (Georg) 6186- Added checks for negative values to gmp_sqrt(), gmp_powm(), gmp_sqrtrem() 6187 and gmp_fact() to prevent SIGFPE. (Tony) 6188- Changed foreach() to throw an exception if IteratorAggregate::getIterator() 6189 does not return an Iterator. (Marcus) 6190- Changed phpize not to require libtool. (Jani) 6191- Updated bundled oniguruma library (used for multibyte regular expression) 6192 to 3.7.0. (Moriyoshi) 6193- Updated bundled libmbfl library (used for multibyte functions). (Moriyoshi) 6194 Fixed bugs: 6195 . Bug #32311 (mb_encode_mimeheader() does not properly escape characters) 6196 . Bug #32063 (mb_convert_encoding ignores named entity 'alpha') 6197 . Bug #31911 (mb_decode_mimeheader() is case-sensitive to hex escapes) 6198 . bug #30573 (compiler warnings in libmbfl due to invalid type cast) 6199 . Bug #30549 (incorrect character translations for some ISO8859 charsets). 6200- Fixed bug preventing from building oci8 as shared. 6201 (stanislav dot voroniy at portavita dot nl, Tony) 6202- Fixed a bug in mysql_affected_rows and mysql_stmt_affected_rows when the 6203 api function returns -1 (Georg) 6204- Fixed several leaks in ext/browscap and sapi/embed. (Andrei) 6205- Fixed several leaks in ext/filepro. (Tony) 6206- Fixed build system to always use bundled libtool files. (Jani) 6207- Fixed a bug in mysqli_stmt_execute() (type conversion with NULL values). 6208 (Georg) 6209- Fixed segfault in mysqli_fetch_field_direct() when invalid field offset 6210 is passed. (Tony) 6211- Fixed posix_getsid() & posix_getpgid() to return sid & pgid instead 6212 of true. (Tony) 6213- Fixed bug #32394 (offsetUnset() segfaults in a foreach). (Marcus) 6214- Fixed bug #32373 (segfault in bzopen() if supplied path to non-existent 6215 file). (Tony) 6216- Fixed bug #32326 (Check values of Connection/Transfer-Encoding 6217 case-incentively in SOAP extension). (Ilia) 6218- Fixed bug #32290 (call_user_func_array() calls wrong class method within 6219 child class). (Marcus) 6220- Fixed bug #32238 (spl_array.c: void function cannot return value). (Johannes) 6221- Fixed bug #32210 (proc_get_status() sets "running" always to true). (Ilia) 6222- Fixed bug #32200 (Prevent using both --with-apxs2 and --with-apxs2filter). 6223 (Jani) 6224- Fixed bug #32134 (Overloading offsetGet/offsetSet). (Marcus) 6225- Fixed bug #32130 (ArrayIterator::seek() does not throw an Exception on 6226 invalid index). (Marcus) 6227- Fixed bug #32115 (dateTime SOAP encoding of timezone incorrect). (Dmitry) 6228- Fixed bug #32081 (in mysqli default socket value is not being used). (Ilia) 6229- Fixed bug #32021 (Crash caused by range('', 'z')). (Derick) 6230- Fixed bug #32011 (Fragments which replaced Nodes are not globaly useable). 6231 (Rob) 6232- Fixed bug #32001 (xml_parse_into_struct() function exceeds maximum 6233 execution time). (Rob, Moriyoshi) 6234- Fixed bug #31980 (Unicode exif data not available on Windows). (Edin) 6235- Fixed bug #31960 (msql_fetch_row() and msql_fetch_array() dropping columns 6236 with NULL values). (Daniel Convissor) 6237- Fixed bug #31878 (Segmentation fault using clone keyword on nodes). (Rob) 6238- Fixed bug #31858 (--disable-cli does not force --without-pear). (Jani) 6239- Fixed bug #31842 (*date('r') does not return RFC2822 conforming date string). 6240 (Jani) 6241- Fixed bug #31832 (SOAP encoding problem with complex types in WSDL mode with 6242 multiple parts). (Dmitry) 6243- Fixed bug #31797 (exif_read_data() uses too low nesting limit). (Ilia) 6244- Fixed bug #31796 (readline completion handler does not handle empty return 6245 values). (Ilia) 6246- Fixed bug #31792 (getrusage() does not provide ru_nswap value). (Ilia) 6247- Fixed bug #31755 (Cannot create SOAP header in no namespace). (Dmitry) 6248- Fixed bug #31754 (dbase_open() fails for mode = 1). (Mehdi, Derick) 6249- Fixed bug #31751 (pg_parameter_status() missing on Windows). (Edin) 6250- Fixed bug #31747 (SOAP Digest Authentication doesn't work with 6251 "HTTP/1.1 100 Continue" response). (Dmitry) 6252- Fixed bug #31732 (mb_get_info() causes segfault when no parameters 6253 specified). (Tony) 6254- Fixed bug #31710 (Wrong return values for mysqli_autocommit/commit/rollback). 6255 (Georg) 6256- Fixed bug #31705 (parse_url() does not recognize http://foo.com#bar). (Ilia) 6257- Fixed bug #31695 (Cannot redefine endpoint when using WSDL). (Dmitry) 6258- Fixed bug #31684 (dio_tcsetattr(): misconfigured termios settings). 6259 (elod at itfais dot com) 6260- Fixed bug #31683 (changes to $name in __get($name) override future 6261 parameters) (Dmitry) 6262- Fixed bug #31699 (unserialize() float problem on non-English locales). (Ilia) 6263- Fixed bug #31562 (__autoload() problem with static variables). (Marcus) 6264- Fixed bug #31651 (ReflectionClass::getDefaultProperties segfaults with arrays). 6265 (Marcus) 6266- Fixed bug #31623 (OCILogin does not support password grace period). 6267 (daniel dot beet at accuratesoftware dot com, Tony) 6268- Fixed bug #31527 (crash in msg_send() when non-string is stored without 6269 being serialized). (Ilia) 6270- Fixed bug #31515 (Improve performance of scandir() by factor of 10 or so). (Ilia) 6271- Fixed bug #31514 (open_basedir uses path_translated rather then cwd for . 6272 translation). (Ilia) 6273- Fixed bug #31480 (Possible infinite loop in imap_mail_compose()). (Ilia) 6274- Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen). (Ilia) 6275- Fixed bug #31454 (session_set_save_handler crashes PHP when supplied 6276 non-existent object ref). (Tony) 6277- Fixed bug #31444 (Memory leak in zend_language_scanner.c). 6278 (hexer at studentcenter dot org) 6279- Fixed bug #31442 (unserialize broken on 64-bit systems). (Marcus) 6280- Fixed bug #31440 ($GLOBALS can be overwritten via GPC when register_globals 6281 is enabled). (Ilia) 6282- Fixed bug #31422 (No Error-Logging on SoapServer-Side). (Dmitry) 6283- Fixed bug #31413 (curl POSTFIELDS crashes on 64-bit platforms). (Joe) 6284- Fixed bug #31396 (compile fails with gd 2.0.33 without freetype). (Jani) 6285- Fixed bug #31371 (highlight_file() trims new line after heredoc). (Ilia) 6286- Fixed bug #31361 (simplexml/domxml segfault when adding node twice). (Rob) 6287- Fixed bug #31348 (CachingIterator::rewind() leaks). (Marcus) 6288- Fixed bug #31346 (ArrayIterator::next segfaults). (Marcus) 6289- Fixed bug #31190 (Unexpected warning then exception is thrown from 6290 call_user_func_array()). (phpbugs at domain51 dot net, Dmitry) 6291- Fixed bug #31142 (imap_mail_compose() fails to generate correct output). (Ilia) 6292- Fixed bug #31139 (XML Parser Functions seem to drop & when parsing). (Rob) 6293- Fixed bug #31398 (When magic_guotes_gpc are enabled filenames with ' get cutoff). 6294 (Ilia) 6295- Fixed bug #31288 (Possible crash in mysql_fetch_field(), if mysql_list_fields() 6296 was not called previously). (Ilia) 6297- Fixed bug #31107, #31110, #31111, #31249 (Compile failure of zend_strtod.c). 6298 (Jani) 6299- Fixed bug #31110 (PHP 4.3.10 does not compile on Tru64 UNIX 5.1B). (Derick) 6300- Fixed bug #31107 (Compile failure on Solaris 9 (Intel) and gcc 3.4.3). (Derick) 6301- Fixed bug #31103 (Better error message when c-client cannot be found). (Ilia) 6302- Fixed bug #31101 (missing kerberos header file path with --with-openssl). (Jani) 6303- Fixed bug #31098 (isset() / empty() incorrectly return true in dereference of 6304 a string type). (Moriyoshi) 6305- Fixed bug #31087 (broken php_url_encode_hash macro). (Ilia) 6306- Fixed bug #31072 (var_export() does not output an array element with an empty 6307 string key). (Derick) 6308- Fixed bug #31060 (imageftbbox() does not use linespacing parameter). (Jani) 6309- Fixed bug #31056 (php_std_date() returns invalid formatted date if 6310 y2k_compliance is On). (Ilia) 6311- Fixed bug #31055 (apache2filter: per request leak proportional to the full 6312 path of the request URI). (kameshj at fastmail dot fm) 6313- Fixed bug #30901 (can't send cookies with soap envelop). (Dmitry) 6314- Fixed bug #30871 (Misleading warning message for array_combine()). (Andrey) 6315- Fixed bug #30868 (evaluated pointer comparison in mbregex causes compile 6316 failure). (Moriyoshi) 6317- Fixed bug #30862 (Static array with boolean indexes). (Marcus) 6318- Fixed bug #30726 (-.1 like numbers are not being handled correctly). (Ilia) 6319- Fixed bug #30725 (PHP segfaults when an exception is thrown in getIterator() 6320 within foreach). (Marcus) 6321- Fixed bug #30609 (cURL functions bypass open_basedir). (Jani) 6322- Fixed bug #30446 (apache2handler: virtual() includes files out of sequence) 6323- Fixed bug #30430 (odbc_next_result() doesn't bind values and that results 6324 in segfault). (pdan-php at esync dot org, Tony) 6325- Fixed bug #30266 (Invalid opcode 137/1/8). (Marcus) 6326- Fixed bug #30120 imagettftext() and imagettfbbox() accept too many 6327 parameters). (Jani) 6328- Fixed bug #30106 (SOAP cannot not parse 'ref' element. Causes Uncaught 6329 SoapFault exception). (Dmitry) 6330- Fixed bug #29989 (type re_registers redefined in oniguruma.h). (Moriyoshi) 6331- Fixed bug #28803 (enabled debug causes bailout errors with CLI on AIX 6332 because of fflush() called on already closed filedescriptor). (Tony) 6333- Fixed bug #29767 (Weird behaviour of __set($name, $value)). (Dmitry) 6334- Fixed bug #29733 (printf() handles repeated placeholders wrong). 6335 (bugs dot php dot net at bluetwanger dot de, Ilia) 6336- Fixed bug #29424 (width and height inverted for JPEG2000 files). (Ilia) 6337- Fixed bug #29329 (configure for mysqli with shared doesn't work). (Georg) 6338- Fixed bug #29136 (make test - libtool failure on MacOSX). (Jani) 6339- Fixed bug #28976 (mail(): use "From:" from headers if sendmail_from is empty). 6340 (Jani) 6341- Fixed bug #28930 (PHP sources pick wrong header files generated by bison). 6342 (eggert at gnu dot org, Jani) 6343- Fixed bug #28840 (__destruct of a class that extends mysqli not called). 6344 (Marcus) 6345- Fixed bug #28804 (ini-file section parsing pattern is buggy). 6346 (wendland at scan-plus dot de) 6347- Fixed bug #28451 (corrupt EXIF headers have unlimited recursive IFD directory 6348 entries). (Andrei) 6349- Fixed bug #28444 (Cannot access undefined property for object with overloaded 6350 property access). (Dmitry) 6351- Fixed bug #28442 (Changing a static variables in a class changes it across 6352 sub/super classes.) (Marcus) 6353- Fixed bug #28324 (HTTP_SESSION_VARS appear when register_long_arrays is 6354 Off). (Tony) 6355- Fixed bug #28074 (FastCGI: stderr should be written in a FCGI stderr stream). 6356 (chris at ex-parrot dot com) 6357- Fixed bug #28067 (partially incorrect utf8 to htmlentities mapping). (Derick, 6358 Benjamin Greiner) 6359- Fixed bug #28041 (SOAP HTTP Digest Access Authentication). (Dmitry) 6360- Fixed bug #27633 (Double \r problem on ftp_get in ASCII mode on Win32). (Ilia) 6361- Fixed bug #18613 (Multiple OUs in x509 certificate not handled properly). 6362 (Jani) 6363 636415 Dec 2004, PHP 5.0.3 6365- Added the %F modifier to *printf to render a non-locale-aware representation 6366 of a float with the . as decimal seperator. (Derick) 6367- Fixed error handling in mysqli_multi_query. (Georg) 6368- Extended the functionality of is_subclass_of() to accept either a class name 6369 or an object as first parameter. (Andrey) 6370- Fixed potential problems with unserializing invalid serialize data. (Marcus) 6371- Fixed bug #32076 (ReflectionMethod::isDestructor() always return true). 6372 (Derick, Tony) 6373- Fixed bug #31034 (Problem with non-existing iconv header file). (Derick) 6374- Fixed bug #30995 (snmp extension does not build with net-snmp 5.2). (Ilia) 6375- Fixed bug #30994 (SOAP server unable to handle request with references). 6376 (Dmitry) 6377- Fixed bug #30990 (allow popen() on *NIX to accept 'b' flag). (Ilia) 6378- Fixed bug #30967 (properties in extended mysqli classes don't work). (Georg) 6379- Fixed bug #30928 (When Using WSDL, SoapServer doesn't handle private or 6380 protected properties). (Dmitry) 6381- Fixed bug #30922 (reflective functions crash PHP when interfaces extend 6382 themselves). (Tony, Dmitry) 6383- Fixed bug #30904 (segfault when recording soapclient into session). (Tony, 6384 Dmitry) 6385- Fixed bug #30890 (MySQLi testsuite) 6386- Fixed bug #30856 (ReflectionClass::getStaticProperties segfaults). (Marcus) 6387- Fixed bug #30832 ("!" stripped off comments in xml parser). (Rob) 6388- Fixed bug #30799 (SoapServer doesn't handle private or protected properties). 6389 (Dmitry) 6390- Fixed bug #30783 (Apache crash when using ReflectionFunction:: 6391 getStaticVariables()). (Marcus) 6392- Fixed bug #30750 (Meaningful error message when upload directory is not 6393 accessible). (Ilia) 6394- Fixed bug #30685 (Malformed SOAPClient http header reequest). (Dmitry) 6395- Fixed bug #30672 (Problem handling exif data in jpeg images at unusual 6396 places). (Marcus) 6397- Fixed bug #30658 (Ensure that temporary files created by GD are removed). 6398 (Ilia) 6399- Fixed bug #30645 (def. multi result set support for mysql_connect). (Georg) 6400- Fixed bug #30637 (compile with pear error). (Antony) 6401- Fixed bug #30587 (array_multisort doesn't separate zvals before 6402 changing them). (Tony) 6403- Fixed bug #30572 (crash when comparing SimpleXML attribute to a boolean). 6404 (Andi) 6405- Fixed bug #30566 (attribute namespace URIs are inconsistent when parsing). 6406 (Rob) 6407- Fixed bug #30490 (PEAR installation fails). (Antony) 6408- Fixed bug #30475 (curl_getinfo() may crash in some situations). (Ilia) 6409- Fixed bug #30442 (segfault when parsing ?getvariable[][ ). (Tony) 6410- Fixed bug #30388 (rename across filesystems loses ownership and 6411 permission info). (Tony) 6412- Fixed bug #30387 (stream_socket_client async connect was broken). 6413 (vnegrier at esds dot com, Wez). 6414- Fixed bug #30381 (Strange results with get_class_vars()). (Marcus) 6415- Fixed bug #30375 (cal_info() does not work without a parameter). (Ilia) 6416- Fixed bug #30362 (stream_get_line() not handling end string correctly). 6417 (Ilia) 6418- Fixed bug #30359 (SOAP client requests have no port in "Host" field). 6419 (Dmitry) 6420- Fixed bug #30356 (str_ireplace() does not work on all strings). (Ilia) 6421- Fixed bug #30344 (Reflection::getModifierNames() returns too long strings). 6422 (Marcus) 6423- Fixed bug #30329 (Error Fetching http body, No Content-Length, connection 6424 closed or chunked data). (Dmitry) 6425- Fixed bug #30282 (segfault when using unknown/unsupported 6426 session.save_handler and/or session.serialize_handler). (Tony) 6427- Fixed bug #30281 (Prevent non-wbmp images from being detected as such). 6428 (Ilia) 6429- Fixed bug #30276 (Possible crash in ctype_digit on large numbers). (Ilia) 6430- Fixed bug #30230 (exception handler not working with objects). (Marcus) 6431- Fixed bug #30224 (Sybase date strings are sometimes not null terminated). 6432 (Ilia) 6433- Fixed bug #30175 (SOAP results aren't parsed correctly). (Dmitry) 6434- Fixed bug #30147 (OO sqlite_fetch_object did not reset error handler). (Wez) 6435- Fixed bug #30133 (get_current_user() crashes on Windows). (Edin) 6436- Fixed bug #30061 (xml_set_start_namespace_decl_handler not called). (Rob) 6437- Fixed bug #30057 (did not detect IPV6 on FreeBSD 4.1). (Wez) 6438- Fixed bug #30042 (strtotime does not use second param). (Derick) 6439- Fixed bug #30027 (Possible crash inside ftp_get()). 6440 (cfield at affinitysolutions dot com) 6441- Fixed bug #29954 (array_reduce segfaults when initial value is array). (Tony) 6442- Fixed bug #29883 (isset gives invalid values on strings). (Tony, Dmitry) 6443- Fixed bug #29801 (Set limit on the size of mmapable data). (Ilia) 6444- Fixed bug #29557 (strtotime error). (Derick) 6445- Fixed bug #29418 (double free when openssl_csr_new fails). 6446 (Kamesh Jayachandran). 6447- Fixed bug #29385 (Soapserver always uses std class). (David, Dmitry) 6448- Fixed bug #29211 (SoapClient doesn't request wsdl through proxy). (Rob) 6449- Fixed bug #28817 (Var problem when extending domDocument). (Georg) 6450- Fixed bug #28599 (strtotime fails with zero base time). (Derick) 6451- Fixed bug #28598 (Lost support for MS Symbol fonts). (Pierre) 6452- Fixed bug #28220 (mb_strwidth() returns wrong width values for some hangul 6453 characters). (Moriyoshi) 6454- Fixed bug #28228 (NULL decimal separator is not being handled correctly). 6455 (Ilia) 6456- Fixed bug #28209 (strtotime("now")). (Derick) 6457- Fixed bug #27798 (private / protected variables not exposed by 6458 get_object_vars() inside class). (Marcus) 6459- Fixed bug #27728 (Can't return within a zend_try {} block or the previous 6460 bailout state isn't restored. (Andi) 6461- Fixed bug #27183 (Userland stream wrapper segfaults on stream_write). 6462 (Christian) 6463 646423 Sep 2004, PHP 5.0.2 6465- Added new boolean (fourth) parameter to array_slice() that turns on the 6466 preservation of keys in the returned array. (Derick) 6467- Added the sorting flag SORT_LOCALE_STRING to the sort() functions which makes 6468 them sort based on the current locale. (Derick) 6469- Added interface_exists() and make class_exists() only return true for real 6470 classes. (Andrey) 6471- Added PHP_EOL constant that contains the OS way of representing newlines. 6472 (Paul Hudson, Derick) 6473- Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory 6474 exhaustion. (Andrei) 6475- Renamed SoapClient->__call() to SoapClinet->__soapCall(). (Dmitry) 6476- Fixed bug with raw_post_data not getting set (Brian) 6477- Fixed a file-descriptor leak with phpinfo() and other 'special' URLs (Zeev) 6478- Fixed bug #30209 (ReflectionClass::getMethod() lowercases attribute). 6479 (Marcus) 6480- Fixed bug #30182 (SOAP module processing WSDL file dumps core). (Dmitry) 6481- Fixed bug #30045 (Cannot pass big integers (> 2147483647) in SOAP requests). 6482 (Dmitry) 6483- Fixed bug #29985 (unserialize()/ __PHP_Incomplete_class does not report 6484 correctly class name). (Marcus, Tony) 6485- Fixed bug #29945 (simplexml_load_file URL limitation 255 char). (Rob) 6486- Fixed bug #29873 (No defines around pcntl_*priority definitions). (Derick) 6487- Fixed bug #29844 (SOAP doesn't return the result of a valid SOAP request). 6488 (Dmitry) 6489- Fixed bug #29842 (soapclient return null value). (Dmitry) 6490- Fixed bug #29839 (incorrect convert (xml:lang to lang)). (Dmitry) 6491- Fixed bug #29830 (SoapServer::setClass() should not export non-public 6492 methods). (Dmitry) 6493- Fixed bug #29828 (Interfaces no longer work). (Marcus) 6494- Fixed bug #29821 (Fixed possible crashes in convert_uudecode() on invalid 6495 data). (Ilia) 6496- Fixed bug #29808 (array_count_values() breaks with numeric strings). (Ilia) 6497- Fixed bug #29805 (HTTP Authentication Issues). (Uwe Schindler) 6498- Fixed bug #29795 (SegFault with Soap and Amazon's Web Services). (Dmitry) 6499- Fixed bug #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE 6500 on error). (Tony) 6501- Fixed bug #29711 (Changed ext/xml to default to UTF-8 output). (Rob) 6502- Fixed bug #29678 (opendir() with ftp:// wrapper segfaults if path does not 6503 have trailing slash). (Ilia) 6504- Fixed bug #29657 (xml_* functions throw non descriptive error). 6505 (Christian, Rob) 6506- Fixed bug #29656 (segfault on result and statement properties). (Georg) 6507- Fixed bug #29566 (foreach/string handling strangeness (crash)). (Dmitry) 6508- Fixed bug #29447 (Reflection API issues). (Marcus) 6509- Fixed bug #29296 (Added sslv2 and sslv3 transports). (Wez) 6510- Fixed bug #29283 (Invalid statement handle in mysqli on execute). (Georg) 6511- Fixed bug #29913 (parse_url() is now binary safe). (Ilia) 6512- Fixed bug #27994 (segfault with Soapserver when WSDL-Cache is enabled). 6513 (Dmitry) 6514- Fixed bug #27791 (Apache 2.0 SAPI build against Apache 2 HEAD). (Joe Orton, 6515 Derick) 6516- Fixed bug #26737 (private/protected properties not serialized when user 6517 declared method __sleep() exists). E_NOTICE thrown when __sleep() returns 6518 name of non-existing member. (Andrey, Curt) 6519 652012 Aug 2004, PHP 5.0.1 6521- Changed destructor mechanism so that destructors are called prior to request 6522 shutdown. (Marcus) 6523- Rewritten UNIX and Windows install help files. (Documentation Team) 6524- Updated several libraries bundled with the windows release which now 6525 includes libxml2-2.6.11, libxslt-1.1.7 and iconv-1.9.1. (Rob, Edin) 6526- Improved and moved ActiveScript SAPI to PECL. (Wez) 6527- Fixed bug #29606 (php_strip_whitespace() prints to stdout rather then 6528 returning the value). (Ilia) 6529- Fixed bug #29577 (MYSQLI_CLIENT_FOUND_ROWS undefined) (Georg) 6530- Fixed bug #29573 (Segmentation fault, when exception thrown within 6531 PHP function called from XSLT). (Christian) 6532- Fixed bug #29522 (accessing properties without connection) (Georg) 6533- Fixed bug #29505 (get_class_vars() severely broken when used with arrays). 6534 (Marcus) 6535- Fixed bug #29490 (.Net object instantiation failed). (Michael Sisolak). 6536- Fixed bug #29474 (win32: usleep() doesn't work). (Wez) 6537- Fixed bug #29449 (win32: feof() hangs on empty tcp stream). (Wez) 6538- Fixed bug #29437 (Possible crash inside array_walk_recursive()). (Ilia) 6539- Fixed bug #29431 (crash when parsing invalid address; invalid address 6540 returned by stream_socket_recvfrom(), stream_socket_getname()). (Wez) 6541- Fixed bug #29409 (Segfault in PHP functions called from XSLT). (Rob) 6542- Fixed unloading of dynamically loaded extensions. 6543 (Marcus, kameshj at fastmail dot fm) 6544- Fixed bug #29395 (sqlite_escape_string() returns bogus data on empty 6545 strings). (Ilia, Tony) 6546- Fixed bug #29392 (com_dotnet crashes when echo'ing an object). (Wez) 6547- Fixed bug #29368 (The destructor is called when an exception is thrown from 6548 the constructor). (Marcus) 6549- Fixed bug #29354 (Exception constructor marked as both public and protected). 6550 (Marcus) 6551- Fixed bug #29342 (strtotime() does not handle empty date string properly). 6552 (Ilia) 6553- Fixed bug #29340 (win32 build produces invalid php_ifx.dll). (Edin) 6554- Fixed bug #29335 (fetch functions now use MYSQLI_BOTH as default) (Georg) 6555- Fixed bug #29291 (get_class_vars() return names with NULLs). (Marcus) 6556- Fixed bug #29264 (gettext extension not working). (Edin) 6557- Fixed bug #29258 (variant_date_from_timestamp() does not honour 6558 timezone). (Wez) 6559- Fixed bug #29256 (error when sending large packets on a socket). (Dmitry) 6560- Fixed bug #29236 (memory error when wsdl-cache is enabled). (Dmitry) 6561- Fixed bug #29147 (Compile Error in mnoGoSearch functions). (Sergey, Antony) 6562- Fixed bug #29132 ($_SERVER["PHP_AUTH_USER"] isn't defined). (Stefan) 6563- Fixed bug #29119 (html_entity_decode() misbehaves with UTF-8). (Moriyoshi) 6564- Fixed bug #29109 (SoapFault exception: [WSDL] Out of memory). (Dmitry) 6565- Fixed bug #29061 (soap extension segfaults). (Dmitry) 6566- Fixed bug #28985 (__getTypes() returning nothing on complex WSDL). (Dmitry) 6567- Fixed bug #28969 (Wrong data encoding of special characters). (Dmitry) 6568- Fixed bug #28895 (ReflectionClass::isAbstract always returns false). (Marcus) 6569- Fixed bug #28829 (Thread-unsafety in bcmath elementary values). (Sara) 6570- Fixed bug #28464 (catch() does not catch exceptions by interfaces). (Marcus) 6571- Fixed bug #27669 (PHP 5 didn't support all possibilities for calling static 6572 methods dynamically). (Dmitry) 6573- Fixed ReflectionClass::getMethod() and ReflectionClass::getProperty() to 6574 raise an ReflectionException instead of returning NULL on failure. 6575 (Sebastian) 6576- Fixed convert.* filters to consume remaining buckets_in on flush. (Sara) 6577- Fixed bug in mysqli->client_version. (Georg) 6578 657913 Jul 2004, PHP 5.0.0 6580- Updated PCRE to provide better error handling in certain cases. (Andrei) 6581- Changed doc comments to require a single white space after '/**'. (Marcus) 6582- Fixed bug #29019 (Database not closing). (Marcus) 6583- Fixed bug #29008 (array_combine() does not handle non-numeric/string keys). 6584 (Ilia) 6585- Fixed bug #28999 (fixed behaviour of exec() to work as it did in 4.X). (Ilia) 6586- Fixed bug #28868 (Internal filter registry not thread safe). (Sara) 6587- Fixed bug #28851 (call_user_func_array has typo in error message). (Marcus) 6588- Fixed bug #28831 (ArrayObject::offsetGet() does the work of offsetUnset()). 6589 (Marcus) 6590- Fixed bug #28822 (ArrayObject::offsetExists() works inverted). (Marcus) 6591- Fixed bug #28789 (ReflectionProperty getValue() fails on public static 6592 members). (Marcus) 6593- Fixed bug #28771 (Segfault when using xslt and clone). (Rob) 6594- Fixed bug #28751 (SoapServer does not call _autoload()). (Dmitry) 6595- Fixed bug #28739 (array_*diff() and array_*intersect() not clearing the fci 6596 cache before work). (Andrey) 6597- Fixed bug #28721 (appendChild() and insertBefore() unset DOMText).(Rob) 6598- Fixed bug #28702 (SOAP does not parse WSDL service address correctly). (Dmitry) 6599- Fixed bug #28699 (Reflection api bugs). (Marcus) 6600- Fixed bug #28694 (ReflectionExtension::getFunctions() crashes PHP). (Marcus) 6601- Fixed bug #28512 (Allocate enough space to store MSSQL data). (Frank) 6602- Fixed strip_tags() to correctly handle '\0' characters. (Stefan) 6603