PageRenderTime 305ms CodeModel.GetById 33ms RepoModel.GetById 1ms app.codeStats 2ms

/ChangeLog-5.php

https://github.com/php/web-php
PHP | 9975 lines | 9604 code | 370 blank | 1 comment | 304 complexity | 98e50c2299e0ff31da1cde14eb0432a8 MD5 | raw file
  1. <?php
  2. // $Id$
  3. $_SERVER['BASE_PAGE'] = 'ChangeLog-5.php';
  4. include_once $_SERVER['DOCUMENT_ROOT'] . '/include/prepend.inc';
  5. include_once $_SERVER['DOCUMENT_ROOT'] . '/include/changelogs.inc';
  6. site_header("PHP 5 ChangeLog", array("current" => "docs", "css" => array("changelog.css"), "layout_span" => 12));
  7. ?>
  8. <h1>PHP 5 ChangeLog</h1>
  9. <section class="version" id="5.5.17"><!-- {{{ 5.5.17 -->
  10. <h3>Version 5.5.17</h3>
  11. <?php release_date('18-Sep-2014'); ?>
  12. <ul><li>Core:
  13. <ul>
  14. <li><?php bugfix(47358); ?> (glob returns error, should be empty array()).</li>
  15. <li><?php bugfix(65463); ?> (SIGSEGV during zend_shutdown()).</li>
  16. <li><?php bugfix(66036); ?> (Crash on SIGTERM in apache process).</li>
  17. <li><?php bugfix(67878); ?> (program_prefix not honoured in man pages).</li>
  18. </ul></li>
  19. <li>COM:
  20. <ul>
  21. <li><?php bugfix(41577); ?> (DOTNET is successful once per server run).</li>
  22. </ul></li>
  23. <li>Date:
  24. <ul>
  25. <li><?php bugfix(66091); ?> (memory leaks in DateTime constructor).</li>
  26. <li><?php bugfix(66985); ?> (Some timezones are no longer valid in PHP 5.5.10).</li>
  27. <li><?php bugfix(67109); ?> (First uppercase letter breaks date string parsing).</li>
  28. </ul></li>
  29. <li>FPM:
  30. <ul>
  31. <li><?php bugfix(67606); ?> (FPM with mod_fastcgi/apache2.4 is broken).</li>
  32. </ul></li>
  33. <li>GD:
  34. <ul>
  35. <li>Made fontFetch's path parser thread-safe.</li>
  36. </ul></li>
  37. <li>MySQLi:
  38. <ul>
  39. <li><?php bugfix(67839); ?> (mysqli does not handle 4-byte floats correctly).</li>
  40. </ul></li>
  41. <li>OpenSSL:
  42. <ul>
  43. <li><?php bugfix(41631); ?> (socket timeouts not honored in blocking SSL reads).</li>
  44. <li><?php bugfix(67850); ?> (extension won't build if openssl compiled without SSLv3).</li>
  45. </ul></li>
  46. <li>SPL:
  47. <ul>
  48. <li><?php bugfix(67813); ?> (CachingIterator::__construct InvalidArgumentException
  49. wrong message).</li>
  50. </ul></li>
  51. <li>Zlib:
  52. <ul>
  53. <li><?php bugfix(67724); ?> (chained zlib filters silently fail with large amounts of
  54. data).</li>
  55. <li><?php bugfix(67865); ?> (internal corruption phar error).</li>
  56. </ul></li>
  57. </ul>
  58. <!-- }}} --></section>
  59. <section class="version" id="5.4.33"><!-- {{{ 5.4.33 -->
  60. <h3>Version 5.4.33</h3>
  61. <b>18-Sep-2014</b>
  62. <ul><li>Core:
  63. <ul>
  64. <li><?php bugfix(47358); ?> (glob returns error, should be empty array()).</li>
  65. <li><?php bugfix(65463); ?> (SIGSEGV during zend_shutdown()).</li>
  66. <li><?php bugfix(66036); ?> (Crash on SIGTERM in apache process).</li>
  67. </ul></li>
  68. <li>OpenSSL:
  69. <ul>
  70. <li><?php bugfix(41631); ?> (socket timeouts not honored in blocking SSL reads).</li>
  71. </ul></li>
  72. <li>Date:
  73. <ul>
  74. <li><?php bugfix(66091); ?> (memory leaks in DateTime constructor).</li>
  75. </ul></li>
  76. <li>FPM:
  77. <ul>
  78. <li><?php bugfix(67606); ?> (FPM with mod_fastcgi/apache2.4 is broken).</li>
  79. </ul></li>
  80. <li>GD:
  81. <ul>
  82. <li>Made fontFetch's path parser thread-safe.</li>
  83. </ul></li>
  84. <li>Wddx:
  85. <ul>
  86. <li><?php bugfix(67873); ?> (Segfaults in php_wddx_serialize_var).</li>
  87. </ul></li>
  88. <li>Zlib:
  89. <ul>
  90. <li><?php bugfix(67724); ?> (chained zlib filters silently fail with large amounts of data).</li>
  91. <li><?php bugfix(67865); ?> (internal corruption phar error).</li>
  92. </ul></li>
  93. </ul>
  94. <!-- }}} --></section>
  95. <section class="version" id="5.6.0"><!-- {{{ 5.6.0 -->
  96. <h3>Version 5.6.0</h3>
  97. <b>28-Aug-2014</b>
  98. <ul>
  99. <li>General improvements:
  100. <ul>
  101. <li>Added constant scalar expressions syntax.</li>
  102. <li>Added dedicated syntax for variadic functions.</li>
  103. <li>Added support for argument unpacking to complement the variadic syntax.</li>
  104. <li>Added an exponentiation operator (**).</li>
  105. <li>Added phpdbg SAPI.</li>
  106. <li>Added unified default encoding.</li>
  107. <li>The php://input stream is now re-usable and can be used concurrently with enable_post_data_reading=0.</li>
  108. <li>Added use function and use const..</li>
  109. <li>Added a function for timing attack safe string comparison.</li>
  110. <li>Added the __debugInfo() magic method to allow userland classes to implement the get_debug_info API previously available only to extensions.</li>
  111. <li>Added gost-crypto (CryptoPro S-box) hash algorithm.</li>
  112. <li>Stream wrappers verify peer certificates and host names by default in encrypted client streams.</li>
  113. <li>Uploads equal or greater than 2GB in size are now accepted.</li>
  114. </ul>
  115. </li>
  116. <li>Core:
  117. <ul>
  118. <li><?php bugfix(67693); ?> (incorrect push to the empty array).</li>
  119. <li>Removed inconsistency regarding behaviour of array in constants at run-time.</li>
  120. <li><?php bugfix(67497); ?> (eval with parse error causes segmentation fault in generator).</li>
  121. <li><?php bugfix(67151); ?> (strtr with empty array crashes).</li>
  122. <li><?php bugfix(67407); ?> (Windows 8.1/Server 2012 R2 reported as Windows 8/Server 2012).</li>
  123. <li><?php bugfix(66608); ?> (Incorrect behavior with nested "finally" blocks).</li>
  124. <li>Implemented FR <?php bugl(34407); ?> (ucwords and Title Case).</li>
  125. <li><?php bugfix(67091); ?> (make install fails to install libphp5.so on FreeBSD 10.0).</li>
  126. <li><?php bugfix(67368); ?> (Memory leak with immediately dereferenced array in class constant).</li>
  127. <li><?php bugfix(67468); ?> (Segfault in highlight_file()/highlight_string()).</li>
  128. <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability).</li>
  129. <li><?php bugfix(67551); ?> (php://input temp file will be located in sys_temp_dir instead of upload_tmp_dir).</li>
  130. <li><?php bugfix(67169); ?> (array_splice all elements, then []= gives wrong index).</li>
  131. <li><?php bugfix(67198); ?> (php://input regression).</li>
  132. <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li>
  133. <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li>
  134. <li><?php bugfix(67252); ?> (convert_uudecode out-of-bounds read).</li>
  135. <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li>
  136. <li>Implemented FR <?php bugl(64744); ?> (Differentiate between member function call on a null and non-null, non-objects).</li>
  137. <li><?php bugfix(67436); ?> (Autoloader isn't called if two method definitions don't match).</li>
  138. <li><?php bugfix(66622); ?> (Closures do not correctly capture the late bound class (static::) in some cases).</li>
  139. <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script). (CVE-2014-3981)</li>
  140. <li><?php bugfix(67392); ?> (dtrace breaks argument unpack).</li>
  141. <li><?php bugfix(67428); ?> (header('Location: foo') will override a 308-399 response code).</li>
  142. <li><?php bugfix(67433); ?> (SIGSEGV when using count() on an object implementing Countable).</li>
  143. <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li>
  144. <li>Expose get_debug_info class hook as __debugInfo() magic method.</li>
  145. <li>Implemented unified default encoding (RFC: https://wiki.php.net/rfc/default_encoding).</li>
  146. <li>Added T_POW (**) operator (RFC: https://wiki.php.net/rfc/pow-operator).</li>
  147. <li>Improved IS_VAR operands fetching.</li>
  148. <li>Improved empty string handling. Now ZE uses an interned string instead of allocation new empty string each time.</li>
  149. <li>Implemented internal operator overloading (RFC: https://wiki.php.net/rfc/operator_overloading_gmp).</li>
  150. <li>Made calls from incompatible context issue an E_DEPRECATED warning instead of E_STRICT (phase 1 of RFC: https://wiki.php.net/rfc/incompat_ctx).</li>
  151. <li>Uploads equal or greater than 2GB in size are now accepted.</li>
  152. <li>Reduced POST data memory usage by 200-300%. Changed INI setting always_populate_raw_post_data to throw a deprecation warning when enabling and to accept -1 for never populating the $HTTP_RAW_POST_DATA global variable, which will be the default in future PHP versions.</li>
  153. <li>Implemented dedicated syntax for variadic functions (RFC: https://wiki.php.net/rfc/variadics).</li>
  154. <li><?php bugfix(50333); ?> Improving multi-threaded scalability by using emalloc/efree/estrdup (Anatol, Dmitry)</li>
  155. <li>Implemented constant scalar expressions (with support for constants) (RFC: https://wiki.php.net/rfc/const_scalar_exprs).</li>
  156. <li><?php bugfix(65784); ?> (Segfault with finally).</li>
  157. <li><?php bugfix(66509); ?> (copy() arginfo has changed starting from 5.4).</li>
  158. <li>Allow zero length comparison in substr_compare() (Tjerk)</li>
  159. <li><?php bugfix(60602); ?> (proc_open() changes environment array) (Tjerk)</li>
  160. <li><?php bugfix(61019); ?> (Out of memory on command stream_get_contents).</li>
  161. <li><?php bugfix(64330); ?> (stream_socket_server() creates wrong Abstract Namespace UNIX sockets).</li>
  162. <li><?php bugfix(66182); ?> (exit in stream filter produces segfault).</li>
  163. <li><?php bugfix(66736); ?> (fpassthru broken).</li>
  164. <li><?php bugfix(66822); ?> (Cannot use T_POW in const expression) (Tjerk)</li>
  165. <li><?php bugfix(67043); ?> (substr_compare broke by previous change) (Tjerk)</li>
  166. <li><?php bugfix(65701); ?> (copy() doesn't work when destination filename is created by tempnam()).</li>
  167. <li><?php bugfix(66015); ?> (Unexpected array indexing in class's static property).</li>
  168. <li>Added (constant) string/array dereferencing to static scalar expressions to complete the set; now possible thanks to <?php bugl(66015); ?> being fixed.</li>
  169. <li><?php bugfix(66568); ?> (Update reflection information for unserialize() function).</li>
  170. <li><?php bugfix(66660); ?> (Composer.phar install/update fails).</li>
  171. <li><?php bugfix(67024); ?> (getimagesize should recognize BMP files with negative height).</li>
  172. <li><?php bugfix(67064); ?> (Countable interface prevents using 2nd parameter ($mode) of count() function).</li>
  173. <li><?php bugfix(67072); ?> (Echoing unserialized "SplFileObject" crash).</li>
  174. <li><?php bugfix(67033); ?> (Remove reference to Windows 95).</li>
  175. </ul></li>
  176. <li>Apache2 Handler SAPI:
  177. <ul>
  178. <li>Fixed Apache log issue caused by APR's lack of support for %zu (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120).</li>
  179. </ul></li>
  180. <li>CLI server:
  181. <ul>
  182. <li>Added some MIME types to the CLI web server.</li>
  183. <li><?php bugfix(67079); ?> (Missing MIME types for XML/XSL files).</li>
  184. <li><?php bugfix(66830); ?> (Empty header causes PHP built-in web server to hang).</li>
  185. <li><?php bugfix(67594); ?> (Unable to access to apache_request_headers() elements).</li>
  186. <li>Implemented FR <?php bugl(67429); ?> (CLI server is missing some new HTTP response codes).</li>
  187. <li><?php bugfix(67406); ?> (built-in web-server segfaults on startup).</li>
  188. </ul></li>
  189. <li>COM:
  190. <ul>
  191. <li><?php bugfix(41577); ?> (DOTNET is successful once per server run) (Aidas Kasparas)</li>
  192. <li>Fixed missing type checks in com_event_sink (Yussuf Khalil, Stas).</li>
  193. <li><?php bugfix(66431); ?> (Special Character via COM Interface (CP_UTF8)).</li>
  194. </ul></li>
  195. <li>Curl:
  196. <ul>
  197. <li>Implemented FR <?php bugl(65646); ?> (re-enable CURLOPT_FOLLOWLOCATION with open_basedir or safe_mode).</li>
  198. <li>Check for openssl.cafile ini directive when loading CA certs.</li>
  199. <li>Remove cURL close policy related constants as these have no effect and are no longer used in libcurl.</li>
  200. <li><?php bugfix(66109); ?> (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour) (Tjerk)</li>
  201. <li>Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive.</li>
  202. <li><?php bugfix(64247); ?> (CURLOPT_INFILE doesn't allow reset).</li>
  203. <li><?php bugfix(66562); ?> (curl_exec returns differently than curl_multi_getcontent).</li>
  204. </ul></li>
  205. <li>Date:
  206. <ul>
  207. <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval). (CVE-2013-6712)</li>
  208. <li><?php bugfix(66091); ?> (memory leaks in DateTime constructor) (Tjerk).</li>
  209. <li><?php bugfix(67308); ?> (Serialize of DateTime truncates fractions of second).</li>
  210. <li>Fixed regression in fix for <?php bugl(67118); ?> (constructor can't be called twice).</li>
  211. <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li>
  212. <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li>
  213. <li>Added DateTimeImmutable::createFromMutable to create a DateTimeImmutable object from an existing DateTime (mutable) object (Derick)</li>
  214. <li><?php bugfix(66721); ?> (__wakeup of DateTime segfaults when invalid object data is supplied).</li>
  215. <li><?php bugfix(67118); ?> (DateTime constructor crash with invalid data).</li>
  216. </ul></li>
  217. <li>DOM:
  218. <ul>
  219. <li><?php bugfix(67081); ?> (DOMDocumentType-&gt;internalSubset returns entire DOCTYPE tag, not only the subset).</li>
  220. </ul></li>
  221. <li>Embed:
  222. <ul>
  223. <li><?php bugfix(65715); ?> (php5embed.lib isn't provided anymore). (Anatol).</li>
  224. </ul></li>
  225. <li>Fileinfo:
  226. <ul>
  227. <li><?php bugfix(67716); ?> (Segfault in cdf.c). (CVE-2014-3587)</li>
  228. <li><?php bugfix(67705); ?> (extensive backtracking in rule regular expression). (CVE-2014-3538)</li>
  229. <li><?php bugfix(67327); ?> (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238)</li>
  230. <li><?php bugfix(67328); ?> (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237)</li>
  231. <li><?php bugfix(67326); ?> (fileinfo: cdf_read_short_sector insufficient boundary check). (CVE-2014-0207)</li>
  232. <li><?php bugfix(67329); ?> (fileinfo: NULL pointer deference flaw by processing certain CDF files).</li>
  233. <li><?php bugfix(67410); ?> (fileinfo: mconvert incorrect handling of truncated pascal string size). (CVE-2014-3478)</li>
  234. <li><?php bugfix(67411); ?> (fileinfo: cdf_check_stream_offset insufficient boundary check). (CVE-2014-3479)</li>
  235. <li><?php bugfix(67412); ?> (fileinfo: cdf_count_chain insufficient boundary check). (CVE-2014-3480)</li>
  236. <li><?php bugfix(67413); ?> (fileinfo: cdf_read_property_info insufficient boundary check). (CVE-2014-3487)</li>
  237. <li>Upgraded to libmagic-5.17 (Anatol)</li>
  238. <li><?php bugfix(66731); ?> (file: infinite recursion). (CVE-2014-1943)</li>
  239. <li><?php bugfix(66820); ?> (out-of-bounds memory access in fileinfo). (CVE-2014-2270)</li>
  240. <li><?php bugfix(66946); ?> (fileinfo: extensive backtracking in awk rule regular expression). (CVE-2013-7345)</li>
  241. <li><?php bugfix(66987); ?> (Memory corruption in fileinfo ext / bigendian).</li>
  242. <li><?php bugfix(66907); ?> (Solaris 10 is missing strcasestr and needs substitute).</li>
  243. <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li>
  244. </ul></li>
  245. <li>FPM:
  246. <ul>
  247. <li><?php bugfix(67606); ?> (revised fix 67541, broke mod_fastcgi BC).</li>
  248. <li><?php bugfix(67530); ?> (error_log=syslog ignored).</li>
  249. <li><?php bugfix(67635); ?> (php links to systemd libraries without using pkg-config).</li>
  250. <li><?php bugfix(67531); ?> (syslog cannot be set in pool configuration).</li>
  251. <li><?php bugfix(67541); ?> (Fix Apache 2.4.10+ SetHandler proxy:fcgi:// incompatibilities).</li>
  252. <li>Included apparmor support in fpm (RFC: https://wiki.php.net/rfc/fpm_change_hat).</li>
  253. <li>Added clear_env configuration directive to disable clearenv() call.</li>
  254. <li><?php bugfix(66482); ?> (unknown entry 'priority' in php-fpm.conf).</li>
  255. <li><?php bugfix(66908); ?> (php-fpm reload leaks epoll_create() file descriptor).</li>
  256. <li><?php bugfix(67060); ?> (sapi/fpm: possible privilege escalation due to insecure default configuration). (CVE-2014-0185)</li>
  257. </ul></li>
  258. <li>GD:
  259. <ul>
  260. <li><?php bugfix(67730); ?> (Null byte injection possible with imagexxx functions). (CVE-2014-5120)</li>
  261. <li><?php bugfix(66901); ?> (php-gd 'c_color' NULL pointer dereference). (CVE-2014-2497)</li>
  262. <li><?php bugfix(67248); ?> (imageaffinematrixget missing check of parameters).</li>
  263. <li>Fixed imagettftext to load the correct character map rather than the last one.</li>
  264. <li><?php bugfix(66356); ?> (Heap Overflow Vulnerability in imagecrop()). (CVE-2013-7226)</li>
  265. <li><?php bugfix(66815); ?> (imagecrop(): insufficient fix for NULL defer). (CVE-2013-7327)</li>
  266. <li><?php bugfix(66869); ?> (Invalid 2nd argument crashes imageaffinematrixget).</li>
  267. <li><?php bugfix(66887); ?> (imagescale - poor quality of scaled image).</li>
  268. <li><?php bugfix(66890); ?> (imagescale segfault).</li>
  269. <li><?php bugfix(66893); ?> (imagescale ignore method argument).</li>
  270. </ul></li>
  271. <li>GMP:
  272. <ul>
  273. <li><?php bugfix(66872); ?> (invalid argument crashes gmp_testbit) (Pierre)</li>
  274. <li>Fixed crashes in serialize/unserialize.</li>
  275. <li>Moved GMP to use object as the underlying structure and implemented various improvements based on this.</li>
  276. <li>Added gmp_root() and gmp_rootrem() functions for calculating nth roots.</li>
  277. </ul></li>
  278. <li>Hash:
  279. <ul>
  280. <li>Added gost-crypto (CryptoPro S-box) GOST hash algo.</li>
  281. <li><?php bugfix(66698); ?> (Missing FNV1a32 and FNV1a64 hash functions). (Michael M Slusarz).</li>
  282. <li>Implemented timing attack safe string comparison function (RFC: https://wiki.php.net/rfc/timing_attack).</li>
  283. <li>hash_pbkdf2() now works correctly if the $length argument is not specified.</li>
  284. </ul></li>
  285. <li>Intl:
  286. <ul>
  287. <li><?php bugfix(66873); ?> (A reproductible crash in UConverter when given invalid encoding) (Stas)</li>
  288. <li><?php bugfix(66921); ?> (Wrong argument type hint for function intltz_from_date_time_zone).</li>
  289. <li><?php bugfix(67052); ?> (NumberFormatter::parse() resets LC_NUMERIC setting).</li>
  290. <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li>
  291. <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and uloc_getDisplayName (libicu 4.8.1)).</li>
  292. </ul></li>
  293. <li>JSON:
  294. <ul>
  295. <li>Fixed case part of bug <?php bugl(64874); ?> ("json_decode handles whitespace and case-sensitivity incorrectly")</li>
  296. <li><?php bugfix(65753); ?> (JsonSerializeable couldn't implement on module extension) (chobieeee@php.net)</li>
  297. <li><?php bugfix(66021); ?> (Blank line inside empty array/object when JSON_PRETTY_PRINT is set).</li>
  298. </ul></li>
  299. <li>ldap:
  300. <ul>
  301. <li>Added new function ldap_modify_batch().</li>
  302. <li>Fixed issue with null bytes in LDAP bindings.</li>
  303. </ul></li>
  304. <li>litespeed:
  305. <ul>
  306. <li><?php bugfix(63228); ?> (-Werror=format-security error in lsapi code).</li>
  307. </ul></li>
  308. <li>Mail:
  309. <ul>
  310. <li><?php bugfix(66535); ?> (Don't add newline after X-PHP-Originating-Script) (Tjerk)</li>
  311. </ul></li>
  312. <li>Mcrypt:
  313. <ul>
  314. <li>No longer allow invalid key sizes, invalid IV sizes or missing required IV in mcrypt_encrypt, mcrypt_decrypt and the deprecated mode functions.</li>
  315. <li>Use /dev/urandom as the default source for mcrypt_create_iv().</li>
  316. </ul></li>
  317. <li>Mbstring:
  318. <ul>
  319. <li>Upgraded to oniguruma 5.9.5 (Anatol)</li>
  320. <li><?php bugfix(67199); ?> (mb_regex_encoding mismatch).</li>
  321. </ul></li>
  322. <li>Milter:
  323. <ul>
  324. <li><?php bugfix(67715); ?> (php-milter does not build and crashes randomly).</li>
  325. </ul></li>
  326. <li>mysqli:
  327. <ul>
  328. <li>Added new function mysqli_get_links_stats() as well as new INI variable mysqli.rollback_on_cached_plink of type bool (Andrey)</li>
  329. <li><?php bugfix(66762); ?> (Segfault in mysqli_stmt::bind_result() when link closed) (Remi)</li>
  330. <li>Fixed building against an external libmysqlclient.</li>
  331. </ul></li>
  332. <li>mysqlnd:
  333. <ul>
  334. <li>Disabled flag for SP OUT variables for 5.5+ servers as they are not natively supported by the overlying APIs.</li>
  335. <li>Added a new fetching mode to mysqlnd.</li>
  336. <li>Added support for gb18030 from MySQL 5.7.</li>
  337. </ul></li>
  338. <li>Network:
  339. <ul>
  340. <li><?php bugfix(67717); ?> (segfault in dns_get_record). (CVE-2014-3597)</li>
  341. <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()). (CVE-2014-4049)</li>
  342. </ul></li>
  343. <li>OCI8:
  344. <ul>
  345. <li><?php bugfix(66875); ?> (Improve performance of multi-row OCI_RETURN_LOB queries) (Perrier, Chris Jones)</li>
  346. </ul></li>
  347. <li>ODBC:
  348. <ul>
  349. <li><?php bugfix(60616); ?> (odbc_fetch_into returns junk at end of multi-byte char fields).</li>
  350. </ul></li>
  351. <li>OpenSSL:
  352. <ul>
  353. <li>Fixed missing type checks in OpenSSL options (Yussuf Khalil, Stas).</li>
  354. <li><?php bugfix(67609); ?> (TLS connections fail behind HTTP proxy).</li>
  355. <li>Fixed broken build against OpenSSL older than 0.9.8 where ECDH unavailable.</li>
  356. <li><?php bugfix(67666); ?> (Subject altNames doesn't support wildcard matching).</li>
  357. <li><?php bugfix(67224); ?> (Fall back to crypto_type from context if not specified explicitly in stream_socket_enable_crypto).</li>
  358. <li><?php bugfix(65698); ?> (certificates validity parsing does not work past 2050).</li>
  359. <li><?php bugfix(66636); ?> (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).</li>
  360. <li>Peer certificates now verified by default in client socket operations (RFC: https://wiki.php.net/rfc/tls-peer-verification).</li>
  361. <li>New openssl.cafile and openssl.capath ini directives.</li>
  362. <li>Added crypto_method option for the ssl stream context.</li>
  363. <li>Added certificate fingerprint support.</li>
  364. <li>Added explicit TLSv1.1 and TLSv1.2 stream transports.</li>
  365. <li><?php bugfix(65729); ?> (CN_match gives false positive).</li>
  366. <li>Peer name verification matches SAN DNS names for certs using the Subject Alternative Name x509 extension.</li>
  367. <li>Fixed segfault when built against OpenSSL&gt;=1.0.1 (Daniel Lowrey)</li>
  368. <li>Added SPKAC support.</li>
  369. <li>Fallback to Windows CA cert store for peer verification if no openssl.cafile ini directive or "cafile" SSL context option specified in Windows.</li>
  370. <li>The openssl.cafile and openssl.capath ini directives introduced in alpha2 now have PHP_INI_PERDIR accessibility (was PHP_INI_ALL).</li>
  371. <li>New "peer_name" SSL context option replaces "CN_match" (which still works as before but triggers E_DEPRECATED).</li>
  372. <li>Fixed segfault when accessing non-existent context for client SNI use (Daniel Lowrey)</li>
  373. <li><?php bugfix(66501); ?> (Add EC key support to php_openssl_is_private_key).</li>
  374. <li><?php bugfix(47030); ?> (add new boolean "verify_peer_name" SSL context option allowing clients to verify cert names separately from the cert itself). "verify_peer_name" is enabled by default for client streams.</li>
  375. <li><?php bugfix(65538); ?> ("cafile" SSL context option now supports stream wrappers).</li>
  376. <li>New openssl_get_cert_locations() function to aid CA file and peer verification debugging.</li>
  377. <li>Encrypted stream wrappers now disable TLS compression by default.</li>
  378. <li>New "capture_session_meta" SSL context option allows encrypted client and server streams access to negotiated protocol/cipher information.</li>
  379. <li>New "honor_cipher_order" SSL context option allows servers to prioritize cipher suites of their choosing when negotiating SSL/TLS handshakes.</li>
  380. <li>New "single_ecdh_use" and "single_dh_use" SSL context options allow for improved forward secrecy in encrypted stream servers.</li>
  381. <li>New "dh_param" SSL context option allows stream servers control over the parameters when negotiating DHE cipher suites.</li>
  382. <li>New "ecdh_curve" SSL context option allowing stream servers to specify the curve to use when negotiating ephemeral ECDHE ciphers (defaults to NIST P-256).</li>
  383. <li>New "rsa_key_size" SSL context option gives stream servers control over the key size (in bits) used for RSA key agreements.</li>
  384. <li>Crypto methods for encrypted client and server streams now use bitwise flags for fine-grained protocol support.</li>
  385. <li>Added new tlsv1.0 stream wrapper to specify TLSv1 client/server method. tls wrapper now negotiates TLSv1, TLSv1.1 or TLSv1.2.</li>
  386. <li>Encrypted client streams now enable SNI by default.</li>
  387. <li>Encrypted streams now prioritize ephemeral key agreement and high strength ciphers by default.</li>
  388. <li>New OPENSSL_DEFAULT_STREAM_CIPHERS constant exposes default cipher list.</li>
  389. <li>New STREAM_CRYPTO_METHOD_* constants for enhanced control over the crypto methods negotiated encrypted server/client sessions.</li>
  390. <li>Encrypted stream servers now automatically mitigate potential DoS vector arising from client-initiated TLS renegotiation. New "reneg_limit", "reneg_window" and "reneg_limit_callback" SSL context options for custom renegotiation limiting control.</li>
  391. <li>Fixed memory leak in windows cert verification on verify failure.</li>
  392. <li>Peer certificate capturing via SSL context options now functions even if peer verification fails.</li>
  393. <li>Encrypted TLS servers now support the server name indication TLS extension via the new "SNI_server_certs" SSL context option.</li>
  394. <li><?php bugfix(66833); ?> (Default disgest algo is still MD5, switch to SHA1).</li>
  395. <li><?php bugfix(66942); ?> (memory leak in openssl_seal()).</li>
  396. <li><?php bugfix(66952); ?> (memory leak in openssl_open()).</li>
  397. <li><?php bugfix(66840); ?> (Fix broken build when extension built separately).</li>
  398. </ul></li>
  399. <li>OPcache:
  400. <ul>
  401. <li>Added an optimization of class constants and constant calls to some internal functions (Laruence, Dmitry)</li>
  402. <li>Added an optimization pass to convert FCALL_BY_NAME into DO_FCALL.</li>
  403. <li>Added an optimization pass to merged identical constants (and related cache_slots) in op_array-&gt;literals table.</li>
  404. <li>Added script level constant replacement optimization pass.</li>
  405. <li>Added function opcache_is_script_cached().</li>
  406. <li>Added information about interned strings usage.</li>
  407. <li><?php bugfix(67215); ?> (php-cgi work with opcache, may be segmentation fault happen) (Dmitry, Laruence)</li>
  408. </ul></li>
  409. <li>PCRE:
  410. <ul>
  411. <li><?php bugfix(67238); ?> (Ungreedy and min/max quantifier bug, applied patch from the upstream).</li>
  412. <li>Upgraded to PCRE 8.34.</li>
  413. <li>Added support for (*MARK) backtracking verbs.</li>
  414. </ul></li>
  415. <li>pgsql:
  416. <ul>
  417. <li><?php bugfix(67550); ?> (Error in code "form" instead of "from", pgsql.c, line 756), which affected builds against libpq &lt; 7.3.</li>
  418. <li>pg_insert()/pg_select()/pg_update()/pg_delete() are no longer EXPERIMENTAL.</li>
  419. <li>Impremented FR <?php bugl(25854); ?> Return value for pg_insert should be resource instead of bool.</li>
  420. <li>Implemented FR <?php bugl(41146); ?> - Add "description" with exteneded flag pg_meta_data(). pg_meta_data(resource $conn, string $table [, bool extended]) It also made pg_meta_data() return "is enum" always.</li>
  421. <li>Read-only access to the socket stream underlying database connections is exposed via a new pg_socket() function to allow read/write polling when establishing asynchronous connections and executing queries in non-blocking applications.</li>
  422. <li>Asynchronous connections are now possible using the PGSQL_CONNECT_ASYNC flag in conjunction with a new pg_connect_poll() function and connection polling status constants.</li>
  423. <li>New pg_flush() and pg_consume_input() functions added to manually complete non-blocking reads/writes to underlying connection sockets.</li>
  424. <li>pg_version() returns full report which obtained by PQparameterStatus().</li>
  425. <li>Added pg_lo_truncate().</li>
  426. <li>Added 64bit large object support for PostgreSQL 9.3 and later.</li>
  427. <li><?php bugfix(67555); ?> (Cannot build against libpq 7.3).</li>
  428. </ul></li>
  429. <li>phpdbg:
  430. <ul>
  431. <li><?php bugfix(67575); ?> (Compilation fails for phpdbg when the build directory != src directory).</li>
  432. <li><?php bugfix(67499); ?> (readline feature not enabled when build with libedit).</li>
  433. <li>Fix issue krakjoe/phpdbg#94 (List behavior is inconsistent).</li>
  434. <li>Fix issue krakjoe/phpdbg#97 (The prompt should always ensure it is on a newline).</li>
  435. <li>Fix issue krakjoe/phpdbg#98 (break if does not seem to work).</li>
  436. <li>Fix issue krakjoe/phpdbg#99 (register function has the same behavior as run).</li>
  437. <li>Fix issue krakjoe/phpdbg#100 (No way to list the current stack/frames) (Help entry was missing).</li>
  438. <li>Fixed bug which caused phpdbg to fail immediately on startup in non-debug builds.</li>
  439. <li><?php bugfix(67212); ?> (phpdbg uses non-standard TIOCGWINSZ).</li>
  440. <li>Included phpdbg sapi (RFC: https://wiki.php.net/rfc/phpdbg).</li>
  441. <li>Added watchpoints (watch command).</li>
  442. <li>Renamed some commands (next =&gt; continue and how to step).</li>
  443. <li>Fixed issue #85 (https://github.com/krakjoe/phpdbg/issues/85) (Added stdin/stdout/stderr constants and their php:// wrappers).</li>
  444. </ul></li>
  445. <li>PDO:
  446. <ul>
  447. <li><?php bugfix(66604); ?> ('pdo/php_pdo_error.h' not copied to the include dir).</li>
  448. </ul></li>
  449. <li>PDO-ODBC:
  450. <ul>
  451. <li><?php bugfix(50444); ?> (PDO-ODBC changes for 64-bit).</li>
  452. </ul></li>
  453. <li>PDO_pgsql:
  454. <ul>
  455. <li><?php bugfix(42614); ?> (PDO_pgsql: add pg_get_notify support).</li>
  456. <li><?php bugfix(63657); ?> (pgsqlCopyFromFile, pgsqlCopyToArray use Postgres &lt; 7.3 syntax).</li>
  457. <li>Cleaned up code by increasing the requirements to libpq versions providing PQexecParams, PQprepare, PQescapeStringConn, PQescapeByteaConn. According to the release notes that means 8.0.8+ or 8.1.4+.</li>
  458. <li>Deprecated PDO::PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT, an undocument constant effectively equivalent to PDO::ATTR_EMULATE_PREPARES.</li>
  459. <li>Added PDO::PGSQL_ATTR_DISABLE_PREPARES constant to execute the queries without preparing them, while still passing parameters separately from the command text using PQexecParams.</li>
  460. </ul></li>
  461. <li>PDO_firebird:
  462. <ul>
  463. <li><?php bugfix(66071); ?> (memory corruption in error handling) (Popa)</li>
  464. </ul></li>
  465. <li>Phar:
  466. <ul>
  467. <li><?php bugfix(64498); ?> ($phar-&gt;buildFromDirectory can't compress file with an accent in its name).</li>
  468. <li><?php bugfix(67587); ?> (Redirection loop on nginx with FPM).</li>
  469. </ul></li>
  470. <li>readline:
  471. <ul>
  472. <li><?php bugfix(55496); ?> (Interactive mode doesn't force a newline before the prompt).</li>
  473. <li><?php bugfix(67496); ?> (Save command history when exiting interactive shell with control-c).</li>
  474. </ul></li>
  475. <li>Reflection:
  476. <ul>
  477. <li>Implemented FR <?php bugl(67713); ?> (loosen the restrictions on ReflectionClass::newInstanceWithoutConstructor()).</li>
  478. </ul></li>
  479. <li>Session:
  480. <ul>
  481. <li><?php bugfix(67694); ?> (Regression in session_regenerate_id()).</li>
  482. <li>Fixed missing type checks in php_session_create_id (Yussuf Khalil, Stas).</li>
  483. <li><?php bugfix(66827); ?> (Session raises E_NOTICE when session name variable is array).</li>
  484. <li><?php bugfix(65315); ?> (session.hash_function silently fallback to default md5) (Yasuo)</li>
  485. <li>Implemented Request <?php bugl(17860); ?> (Session write short circuit).</li>
  486. <li>Implemented Request <?php bugl(20421); ?> (session_abort() and session_reset() function).</li>
  487. <li>Remove session_gc() and session_serializer_name() wich were introduced in the first 5.6.0 alpha.</li>
  488. </ul></li>
  489. <li>SimpleXML:
  490. <ul>
  491. <li><?php bugfix(66084); ?> (simplexml_load_string() mangles empty node name) (Anatol)</li>
  492. </ul></li>
  493. <li>SQLite:
  494. <ul>
  495. <li>Updated the bundled libsqlite to the version 3.8.3.1 (Anatol)</li>
  496. <li><?php bugfix(66967); ?> (Updated bundled libsqlite to 3.8.4.3).</li>
  497. </ul></li>
  498. <li>SOAP:
  499. <ul>
  500. <li>Implemented FR <?php bugl(49898); ?> (Add SoapClient::__getCookies()).</li>
  501. </ul></li>
  502. <li>SPL:
  503. <ul>
  504. <li>Revert fix for <?php bugl(67064); ?> (BC issues).</li>
  505. <li><?php bugfix(67539); ?> (ArrayIterator use-after-free due to object change during sorting). (CVE-2014-4698)</li>
  506. <li><?php bugfix(67538); ?> (SPL Iterators use-after-free). (CVE-2014-4670)</li>
  507. <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion). (CVE-2014-3515)</li>
  508. <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li>
  509. <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li>
  510. <li>Fixed request <?php bugl(67453); ?> (Allow to unserialize empty data).</li>
  511. <li><?php bugfix(66834); ?> (empty() does not work on classes that extend ArrayObject) (Tjerk)</li>
  512. <li><?php bugfix(66702); ?> (RegexIterator::INVERT_MATCH does not invert).</li>
  513. </ul></li>
  514. <li>Standard:
  515. <ul>
  516. <li>Implemented FR <?php bugl(65634); ?> (HTTP wrapper is very slow with protocol_version 1.1).</li>
  517. <li>Implemented Change crypt() behavior w/o salt RFC. (Yasuo) https://wiki.php.net/rfc/crypt_function_salt</li>
  518. <li>Implemented request <?php bugl(49824); ?> (Change array_fill() to allow creating empty array).</li>
  519. </ul></li>
  520. <li>Streams:
  521. <ul>
  522. <li><?php bugfix(67430); ?> (http:// wrapper doesn't follow 308 redirects).</li>
  523. </ul></li>
  524. <li>Tokenizer:
  525. <ul>
  526. <li><?php bugfix(67395); ?> (token_name() does not return name for T_POW and T_POW_EQUAL token).</li>
  527. </ul></li>
  528. <li>XMLReader:
  529. <ul>
  530. <li><?php bugfix(55285); ?> (XMLReader::getAttribute/No/Ns methods inconsistency).</li>
  531. </ul></li>
  532. <li>XSL:
  533. <ul>
  534. <li><?php bugfix(53965); ?> (&lt;xsl:include&gt; cannot find files with relative paths when loaded with "file://").</li>
  535. </ul></li>
  536. <li>Zip:
  537. <ul>
  538. <li>update libzip to version 1.11.2. PHP don't use any ilibzip private symbol anymore.</li>
  539. <li>new method ZipArchive::setPassword($password).</li>
  540. <li>add --with-libzip option to build with system libzip.</li>
  541. <li>new methods: ZipArchive::setExternalAttributesName($name, $opsys, $attr [, $flags]) ZipArchive::setExternalAttributesIndex($idx, $opsys, $attr [, $flags]) ZipArchive::getExternalAttributesName($name, &amp;$opsys, &amp;$attr [, $flags]) ZipArchive::getExternalAttributesIndex($idx, &amp;$opsys, &amp;$attr [, $flags])</li>
  542. </ul></li>
  543. <li>Zlib:
  544. <ul>
  545. <li><?php bugfix(67865); ?> (internal corruption phar error). Mike</li>
  546. <li><?php bugfix(67724); ?> (chained zlib filters silently fail with large amounts of data).</li>
  547. </ul></li>
  548. </ul>
  549. <!-- }}} --></section>
  550. <section class="version" id="5.5.16"><!-- {{{ 5.5.16 -->
  551. <h3>Version 5.5.16</h3>
  552. <?php release_date('21-Aug-2014'); ?>
  553. <ul><li>COM:
  554. <ul>
  555. <li>Fixed missing type checks in com_event_sink.</li>
  556. </ul></li>
  557. <li>Core:
  558. <ul>
  559. <li><?php bugfix(67693); ?> (incorrect push to the empty array).</li>
  560. </ul></li>
  561. <li>Fileinfo:
  562. <ul>
  563. <li><?php bugfix(67705); ?> (extensive backtracking in rule regular expression).
  564. (CVE-2014-3538).</li>
  565. <li><?php bugfix(67716); ?> (Segfault in cdf.c). (CVE-2014-3587).</li>
  566. </ul></li>
  567. <li>FPM:
  568. <ul>
  569. <li><?php bugfix(67635); ?> (php links to systemd libraries without using pkg-config).</li>
  570. </ul></li>
  571. <li>GD:
  572. <ul>
  573. <li><?php bugfix(66901); ?> (php-gd 'c_color' NULL pointer dereference).
  574. (CVE-2014-2497).</li>
  575. <li><?php bugfix(67730); ?> (Null byte injection possible with imagexxx functions).
  576. (CVE-2014-5120).</li>
  577. </ul></li>
  578. <li>Milter:
  579. <ul>
  580. <li><?php bugfix(67715); ?> (php-milter does not build and crashes randomly).</li>
  581. </ul></li>
  582. <li>Network:
  583. <ul>
  584. <li><?php bugfix(67717); ?> (segfault in dns_get_record). (CVE-2014-3597).</li>
  585. </ul></li>
  586. <li>OpenSSL:
  587. <ul>
  588. <li>Fixed missing type checks in OpenSSL options.</li>
  589. </ul></li>
  590. <li>readline:
  591. <ul>
  592. <li><?php bugfix(55496); ?> (Interactive mode doesn't force a newline before the
  593. prompt).</li>
  594. <li><?php bugfix(67496); ?> (Save command history when exiting interactive shell
  595. with control-c).</li>
  596. </ul></li>
  597. <li>Sessions:
  598. <ul>
  599. <li>Fixed missing type checks in php_session_create_id.</li>
  600. </ul></li>
  601. <li>ODBC:
  602. <ul>
  603. <li><?php bugfix(60616); ?> (odbc_fetch_into returns junk data at end of multi-byte
  604. char fields).</li>
  605. </ul></li>
  606. </ul>
  607. <!-- }}} --></section>
  608. <section class="version" id="5.4.32"><!-- {{{ 5.4.32 -->
  609. <h3>Version 5.4.32</h3>
  610. <b>21-Aug-2014</b>
  611. <ul><li>Core:
  612. <ul>
  613. <li><?php bugfix(67717); ?> (segfault in dns_get_record) (CVE-2014-3597).</li>
  614. <li><?php bugfix(67693); ?> (incorrect push to the empty array)</li>
  615. </ul></li>
  616. <li>COM:
  617. <ul>
  618. <li>Fixed missing type checks in com_event_sink.</li>
  619. </ul></li>
  620. <li>Fileinfo:
  621. <ul>
  622. <li><?php bugfix(67705); ?> (extensive backtracking in rule regular expression) (CVE-2014-3538).</li>
  623. <li><?php bugfix(67716); ?> (Segfault in cdf.c) (CVE-2014-3587).</li>
  624. </ul></li>
  625. <li>GD:
  626. <ul>
  627. <li><?php bugfix(66901); ?> (php-gd 'c_color' NULL pointer dereference) (CVE-2014-2497).</li>
  628. <li><?php bugfix(67730); ?> (Null byte injection possible with imagexxx functions) (CVE-2014-5120).</li>
  629. </ul></li>
  630. <li>Milter:
  631. <ul>
  632. <li><?php bugfix(67715); ?> (php-milter does not build and crashes randomly).</li>
  633. </ul></li>
  634. <li>OpenSSL:
  635. <ul>
  636. <li>Fixed missing type checks in OpenSSL options (Yussuf Khalil, Stas).</li>
  637. </ul></li>
  638. <li>Readline:
  639. <ul>
  640. <li><?php bugfix(55496); ?> (Interactive mode doesn't force a newline before the prompt).</li>
  641. <li><?php bugfix(67496); ?> (Save command history when exiting interactive shell with control-c).</li>
  642. </ul></li>
  643. <li>Sessions:
  644. <ul>
  645. <li>Fixed missing type checks in php_session_create_id.</li>
  646. </ul></li>
  647. <li>SPL:
  648. <ul>
  649. <li><?php bugfix(67539); ?> (ArrayIterator use-after-free due to object change during sorting) (CVE-2014-4698).</li>
  650. <li><?php bugfix(67538); ?> (SPL Iterators use-after-free) (CVE-2014-4670).</li>
  651. </ul></li>
  652. <li>ODBC:
  653. <ul>
  654. <li><?php bugfix(60616); ?> (odbc_fetch_into returns junk data at end of multi-byte char fields).</li>
  655. </ul></li>
  656. </ul>
  657. <!-- }}} --></section>
  658. <section class="version" id="5.3.29"><!-- {{{ 5.3.29 -->
  659. <h3>Version 5.3.29</h3>
  660. <?php release_date('14-Aug-2014'); ?>
  661. <ul><li>Core:
  662. <ul>
  663. <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li>
  664. <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li>
  665. <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li>
  666. <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li>
  667. <li><?php bugfix(67252); ?> (convert_uudecode out-of-bounds read).</li>
  668. <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li>
  669. <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script). (CVE-2014-3981)</li>
  670. <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li>
  671. <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion) (CVE-2014-3515).</li>
  672. <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability).</li>
  673. </li>
  674. </ul></li>
  675. <li>COM:
  676. <ul>
  677. <li>Fixed missing type checks in com_event_sink.</li>
  678. </ul></li>
  679. <li>Date:
  680. <ul>
  681. <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval). (CVE-2013-6712)</li>
  682. <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li>
  683. <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li>
  684. </ul></li>
  685. <li>Exif:
  686. <ul>
  687. <li><?php bugfix(65873); ?> (Integer overflow in exif_read_data()).</li>
  688. </ul></li>
  689. <li>Fileinfo:
  690. <ul>
  691. <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li>
  692. <li><?php bugfix(67326); ?> (fileinfo: cdf_read_short_sector insufficient boundary check). (CVE-2014-0207)</li>
  693. <li><?php bugfix(67327); ?> (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238)</li>
  694. <li><?php bugfix(67328); ?> (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237)</li>
  695. <li><?php bugfix(67410); ?> (fileinfo: mconvert incorrect handling of truncated pascal string size) (CVE-2014-3478).</li>
  696. <li><?php bugfix(67411); ?> (fileinfo: cdf_check_stream_offset insufficient boundary check) (CVE-2014-3479).</li>
  697. <li><?php bugfix(67412); ?> (fileinfo: cdf_count_chain insufficient boundary check) (CVE-2014-3480).</li>
  698. <li><?php bugfix(67413); ?> (fileinfo: cdf_read_property_info insufficient boundary check) (CVE-2014-3487).</li>
  699. </ul></li>
  700. <li>Intl:
  701. <ul>
  702. <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li>
  703. <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and uloc_getDisplayName (libicu 4.8.1)).</li>
  704. </ul></li>
  705. <li>Network:
  706. <ul>
  707. <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()). (CVE-2014-4049)</li>
  708. </ul></li>
  709. <li>OpenSSL:
  710. <ul>
  711. <li>Fixed missing type checks in OpenSSL options.</li>
  712. </ul></li>
  713. <li>Session:
  714. <ul>
  715. <li>Fixed missing type checks in php_session_create_id.</li>
  716. </ul></li>
  717. </ul>
  718. <!-- }}} --></section>
  719. <section class="version" id="5.5.15"><!-- {{{ 5.5.15 -->
  720. <h3>Version 5.5.15</h3>
  721. <?php release_date('24-Jul-2014'); ?>
  722. <ul><li>CLI server:
  723. <ul>
  724. <li><?php bugfix(67429); ?> (CLI server is missing some new HTTP response codes).</li>
  725. <li><?php bugfix(66830); ?> (Empty header causes PHP built-in web server to hang).</li>
  726. </ul></li>
  727. <li>Core:
  728. <ul>
  729. <li><?php bugfix(67428); ?> (header('Location: foo') will override a 308-399 response
  730. code).</li>
  731. <li><?php bugfix(67436); ?> (Autoloader isn't called if two method definitions don't
  732. match).</li>
  733. <li><?php bugfix(67091); ?> (make install fails to install libphp5.so on FreeBSD 10.0).</li>
  734. <li><?php bugfix(67497); ?> eval with parse error causes segmentation fault in
  735. generator).</li>
  736. <li><?php bugfix(67151); ?> (strtr with empty array crashes).</li>
  737. <li><?php bugfix(67407); ?> (Windows 8.1/Server 2012 R2 reported as Windows 8/Server
  738. 2012).</li>
  739. </ul></li>
  740. <li>FPM:
  741. <ul>
  742. <li><?php bugfix(67530); ?> (error_log=syslog ignored).</li>
  743. <li><?php bugfix(67531); ?> (syslog cannot be set in pool configuratio).</li>
  744. </ul></li>
  745. <li>Intl:
  746. <ul>
  747. <li><?php bugfix(66921); ?> (Wrong argument type hint for function
  748. intltz_from_date_time_zone).</li>
  749. <li><?php bugfix(67052); ?> (NumberFormatter::parse() resets LC_NUMERIC setting).</li>
  750. </ul></li>
  751. <li>OPCache:
  752. <ul>
  753. <li><?php bugfix(67215); ?> (php-cgi work with opcache, may be segmentation fault
  754. happen).</li>
  755. </ul></li>
  756. <li>pgsql:
  757. <ul>
  758. <li><?php bugfix(67550); ?> (Error in code "form" instead of "from", pgsql.c, line 756),
  759. which affected builds against libpq &lt; 7.3).</li>
  760. </ul></li>
  761. <li>Phar:
  762. <ul>
  763. <li><?php bugfix(67587); ?> (Redirection loop on nginx with FPM).</li>
  764. </ul></li>
  765. <li>SPL:
  766. <ul>
  767. <li><?php bugfix(67539); ?> (ArrayIterator use-after-free due to object change during
  768. sorting). (CVE-2014-4698)</li>
  769. <li><?php bugfix(67538); ?> (SPL Iterators use-after-free) (CVE-2014-4670).</li>
  770. </ul></li>
  771. <li>Streams:
  772. <ul>
  773. <li><?php bugfix(67430); ?> (http:// wrapper doesn't follow 308 redirects).</li>
  774. </ul></li>
  775. </ul>
  776. <!-- }}} --></section>
  777. <section class="version" id="5.4.31"><!-- {{{ 5.4.31 -->
  778. <h3>Version 5.4.31</h3>
  779. <b>24-Jul-2014</b>
  780. <ul><li>Core:
  781. <ul>
  782. <li><?php bugfix(67428); ?> (header('Location: foo') will override a 308-399 response code).</li>
  783. <li><?php bugfix(67436); ?> (Autoloader isn't called if two method definitions don't match).</li>
  784. <li><?php bugfix(67091); ?> (make install fails to install libphp5.so on FreeBSD 10.0).</li>
  785. <li><?php bugfix(67151); ?> (strtr with empty array crashes).</li>
  786. <li><?php bugfix(67407); ?> (Windows 8.1/Server 2012 R2 reported as Windows 8/Server 2012).</li>
  787. </ul></li>
  788. <li>CLI server:
  789. <ul>
  790. <li>Implemented FR <?php bugl(67429); ?> (CLI server is missing some new HTTP response codes).</li>
  791. <li><?php bugfix(66830); ?> (Empty header causes PHP built-in web server to hang).</li>
  792. </ul></li>
  793. <li>FPM:
  794. <ul>
  795. <li><?php bugfix(67530); ?> (error_log=syslog ignored).</li>
  796. <li><?php bugfix(67531); ?> (syslog cannot be set in pool configuration).</li>
  797. </ul></li>
  798. <li>Intl:
  799. <ul>
  800. <li><?php bugfix(67052); ?> (NumberFormatter::parse() resets LC_NUMERIC setting).</li>
  801. </ul></li>
  802. <li>pgsql:
  803. <ul>
  804. <li><?php bugfix(67550); ?> (Error in code "form" instead of "from", pgsql.c, line 756), which affected builds against libpq &lt; 7.3.</li>
  805. </ul></li>
  806. <li>Phar:
  807. <ul>
  808. <li><?php bugfix(67587); ?> (Redirection loop on nginx with FPM).</li>
  809. </ul></li>
  810. <li>Streams:
  811. <ul>
  812. <li><?php bugfix(67430); ?> (http:// wrapper doesn't follow 308 redirects).</li>
  813. </ul></li>
  814. </ul>
  815. <!-- }}} --></section>
  816. <section class="version" id="5.5.14"><!-- {{{ 5.5.14 -->
  817. <h3>Version 5.5.14</h3>
  818. <?php release_date('26-Jun-2014'); ?>
  819. <ul><li>CLI server:
  820. <ul>
  821. <li><?php bugfix(67406); ?> (built-in web-server segfaults on startup).</li>
  822. </ul></li>
  823. <li>Core:
  824. <ul>
  825. <li><?php bugfix(66622); ?> (Closures do not correctly capture the late bound class
  826. (static::) in some cases).</li>
  827. <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script).
  828. (CVE-2014-3981).</li>
  829. <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li>
  830. <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability).</li>
  831. <li>Fixed BC break introduced by patch for bug <?php bugl(67072); ?>.</li>
  832. </ul></li>
  833. <li>Date:
  834. <ul>
  835. <li><?php bugfix(67308); ?> (Serialize of DateTime truncates fractions of second).</li>
  836. <li>Fixed regression in fix for bug #67118 (constructor can't be called twice).</li>
  837. </ul></li>
  838. <li>Fileinfo:
  839. <ul>
  840. <li><?php bugfix(67326); ?> (cdf_read_short_sector insufficient boundary check).
  841. (CVE-2014-0207)).</li>
  842. <li><?php bugfix(67410); ?> (mconvert incorrect handling of truncated pascal
  843. string size). (CVE-2014-3478).</li>
  844. <li><?php bugfix(67411); ?> (cdf_check_stream_offset insufficient boundary
  845. check). (CVE-2014-3479).</li>
  846. <li><?php bugfix(67412); ?> (cdf_count_chain insufficient boundary check).
  847. (CVE-2014-3480).</li>
  848. <li><?php bugfix(67413); ?> (cdf_read_property_info insufficient boundary
  849. check). (CVE-2014-3487).</li>
  850. </ul></li>
  851. <li>Intl:
  852. <ul>
  853. <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li>
  854. <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and
  855. uloc_getDisplayName (libicu 4.8.1)).</li>
  856. </ul></li>
  857. <li>Network:
  858. <ul>
  859. <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()).
  860. (CVE-2014-4049)).</li>
  861. </ul></li>
  862. <li>OPCache:
  863. <ul>
  864. <li>Fixed issue #183 (TMP_VAR is not only used once).</li>
  865. </ul></li>
  866. <li>OpenSSL:
  867. <ul>
  868. <li><?php bugfix(65698); ?> (certificates validity parsing does not work past 2050).</li>
  869. <li><?php bugfix(66636); ?> (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).</li>
  870. </ul></li>
  871. <li>PDO-ODBC:
  872. <ul>
  873. <li><?php bugfix(50444); ?> (PDO-ODBC changes for 64-bit).</li>
  874. </ul></li>
  875. <li>SOAP:
  876. <ul>
  877. <li>Implemented FR #49898 (Add SoapClient::__getCookies()).</li>
  878. </ul></li>
  879. <li>SPL:
  880. <ul>
  881. <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li>
  882. <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li>
  883. <li><?php bugfix(67360); ?> (Missing element after ArrayObject::getIterator).</li>
  884. <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type
  885. Confusion). (CVE-2014-3515).</li>
  886. </ul></li>
  887. </ul>
  888. <!-- }}} --></section>
  889. <section class="version" id="5.4.30"><!-- {{{ 5.4.30 -->
  890. <h3>Version 5.4.30</h3>
  891. <b>26-Jun-2014</b>
  892. <ul><li>Core:
  893. <ul>
  894. <li>Fixed BC break introduced by patch for bug <?php bugl(67072); ?>.</li>
  895. <li><?php bugfix(66622); ?> (Closures do not correctly capture the late bound class (static::) in some cases).</li>
  896. <li><?php bugfix(67390); ?> (insecure temporary file use in the configure script) (CVE-2014-3981).</li>
  897. <li><?php bugfix(67399); ?> (putenv with empty variable may lead to crash).</li>
  898. <li><?php bugfix(67498); ?> (phpinfo() Type Confusion Information Leak Vulnerability).</li>
  899. </ul></li>
  900. <li>CLI server:
  901. <ul>
  902. <li><?php bugfix(67406); ?> (built-in web-server segfaults on startup).</li>
  903. </ul></li>
  904. <li>Date:
  905. <ul>
  906. <li><?php bugfix(67308); ?> (Serialize of DateTime truncates fractions of second).</li>
  907. <li>Fixed regression in fix for bug <?php bugl(67118); ?> (constructor can't be called twice).</li>
  908. </ul></li>
  909. <li>Fileinfo:
  910. <ul>
  911. <li><?php bugfix(67326); ?> (fileinfo: cdf_read_short_sector insufficient boundary check) (CVE-2014-0207).</li>
  912. <li><?php bugfix(67410); ?> (fileinfo: mconvert incorrect handling of truncated pascal string size) (CVE-2014-3478).</li>
  913. <li><?php bugfix(67411); ?> (fileinfo: cdf_check_stream_offset insufficient boundary check) (CVE-2014-3479).</li>
  914. <li><?php bugfix(67412); ?> (fileinfo: cdf_count_chain insufficient boundary check) (CVE-2014-3480).</li>
  915. <li><?php bugfix(67413); ?> (fileinfo: cdf_read_property_info insufficient boundary check) (CVE-2014-3487).</li>
  916. </ul></li>
  917. <li>Intl:
  918. <ul>
  919. <li><?php bugfix(67349); ?> (Locale::parseLocale Double Free).</li>
  920. <li><?php bugfix(67397); ?> (Buffer overflow in locale_get_display_name and uloc_getDisplayName (libicu 4.8.1)).</li>
  921. </ul></li>
  922. <li>Network:
  923. <ul>
  924. <li><?php bugfix(67432); ?> (Fix potential segfault in dns_get_record()) (CVE-2014-4049).</li>
  925. </ul></li>
  926. <li>OpenSSL:
  927. <ul>
  928. <li><?php bugfix(65698); ?> (certificates validity parsing does not work past 2050).</li>
  929. <li><?php bugfix(66636); ?> (openssl_x509_parse warning with V_ASN1_GENERALIZEDTIME).</li>
  930. </ul></li>
  931. <li>SOAP:
  932. <ul>
  933. <li>Implemented FR <?php bugl(49898); ?> (Add SoapClient::__getCookies()).</li>
  934. </ul></li>
  935. <li>SPL:
  936. <ul>
  937. <li><?php bugfix(66127); ?> (Segmentation fault with ArrayObject unset).</li>
  938. <li><?php bugfix(67359); ?> (Segfault in recursiveDirectoryIterator).</li>
  939. <li><?php bugfix(67360); ?> (Missing element after ArrayObject::getIterator).</li>
  940. <li><?php bugfix(67492); ?> (unserialize() SPL ArrayObject / SPLObjectStorage Type Confusion) (CVE-2014-3515).</li>
  941. </ul></li>
  942. </ul>
  943. <!-- }}} --></section>
  944. <section class="version" id="5.5.13"><!-- {{{ 5.5.13 -->
  945. <h3>Version 5.5.13</h3>
  946. <?php release_date('29-May-2014'); ?>
  947. <ul><li>CLI server:
  948. <ul>
  949. <li><?php bugfix(67079); ?> (Missing MIME types for XML/XSL files).</li>
  950. </ul></li>
  951. <li>COM:
  952. <ul>
  953. <li><?php bugfix(66431); ?> (Special Character via COM Interface (CP_UTF8)).</li>
  954. </ul></li>
  955. <li>Core:
  956. <ul>
  957. <li><?php bugfix(65701); ?> (copy() doesn't work when destination filename is created
  958. by tempnam()).</li>
  959. <li><?php bugfix(67072); ?> (Echoing unserialized "SplFileObject" crash).</li>
  960. <li><?php bugfix(67245); ?> (usage of memcpy() with overlapping src and dst in
  961. zend_exceptions.c).</li>
  962. <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li>
  963. <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li>
  964. <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li>
  965. </ul></li>
  966. <li>cURL:
  967. <ul>
  968. <li><?php bugfix(64247); ?> (CURLOPT_INFILE doesn't allow reset).</li>
  969. </ul></li>
  970. <li>Date:
  971. <ul>
  972. <li><?php bugfix(67118); ?> (DateTime constructor crash with invalid data).</li>
  973. <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li>
  974. <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li>
  975. </ul></li>
  976. <li>DOM:
  977. <ul>
  978. <li><?php bugfix(67081); ?> (DOMDocumentType->internalSubset returns entire DOCTYPE tag,
  979. not only the subset).</li>
  980. </ul></li>
  981. <li>Fileinfo:
  982. <ul>
  983. <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li>
  984. <li><?php bugfix(67327); ?> (CDF infinite loop in nelements DoS) (CVE-2014-0238).</li>
  985. <li><?php bugfix(67328); ?> (numerous file_printf calls resulting in
  986. performance degradation) (CVE-2014-0237).</li>
  987. </ul></li>
  988. <li>FPM:
  989. <ul>
  990. <li><?php bugfix(66908); ?> (php-fpm reload leaks epoll_create() file descriptor).</li>
  991. </ul></li>
  992. <li>GD:
  993. <ul>
  994. <li><?php bugfix(67248); ?> (imageaffinematrixget missing check of parameters).</li>
  995. </ul></li>
  996. <li>PCRE:
  997. <ul>
  998. <li><?php bugfix(67248); ?> Ungreedy and min/max quantifier bug, applied patch
  999. from the upstream.</li>
  1000. </ul></li>
  1001. <li>Phar:
  1002. <ul>
  1003. <li><?php bugfix(64498); ?> ($phar->buildFromDirectory can't compress file with an accent
  1004. in its name).</li>
  1005. </ul></li>
  1006. </ul>
  1007. <!-- }}} --></section>
  1008. <section class="version" id="5.4.29"><!-- {{{ 5.4.29 -->
  1009. <h3>Version 5.4.29</h3>
  1010. <b>29-May-2014</b>
  1011. <ul><li>COM:
  1012. <ul>
  1013. <li><?php bugfix(66431); ?> (Special Character via COM Interface (CP_UTF8)).</li>
  1014. </ul></li>
  1015. <li>Core:
  1016. <ul>
  1017. <li><?php bugfix(65701); ?> (copy() doesn't work when destination filename is created by tempnam()).</li>
  1018. <li><?php bugfix(67072); ?> (Echoing unserialized "SplFileObject" crash).</li>
  1019. <li><?php bugfix(67245); ?> (usage of memcpy() with overlapping src and dst in zend_exceptions.c).</li>
  1020. <li><?php bugfix(67247); ?> (spl_fixedarray_resize integer overflow).</li>
  1021. <li><?php bugfix(67249); ?> (printf out-of-bounds read).</li>
  1022. <li><?php bugfix(67250); ?> (iptcparse out-of-bounds read).</li>
  1023. <li><?php bugfix(67252); ?> (convert_uudecode out-of-bounds read). (Stas) - Fileinfo:</li>
  1024. <li><?php bugfix(66307); ?> (Fileinfo crashes with powerpoint files).</li>
  1025. <li><?php bugfix(67327); ?> (fileinfo: CDF infinite loop in nelements DoS). (CVE-2014-0238)</li>
  1026. <li><?php bugfix(67328); ?> (fileinfo: fileinfo: numerous file_printf calls resulting in performance degradation). (CVE-2014-0237)</li>
  1027. </ul></li>
  1028. <li>Date:
  1029. <ul>
  1030. <li><?php bugfix(67118); ?> (DateTime constructor crash with invalid data).</li>
  1031. <li><?php bugfix(67251); ?> (date_parse_from_format out-of-bounds read).</li>
  1032. <li><?php bugfix(67253); ?> (timelib_meridian_with_check out-of-bounds read).</li>
  1033. </ul></li>
  1034. <li>DOM:
  1035. <ul>
  1036. <li><?php bugfix(67081); ?> (DOMDocumentType-&gt;internalSubset returns entire DOCTYPE tag, not only the subset).</li>
  1037. </ul></li>
  1038. <li>FPM:
  1039. <ul>
  1040. <li><?php bugfix(66908); ?> (php-fpm reload leaks epoll_create() file descriptor).</li>
  1041. </ul></li>
  1042. <li>Phar:
  1043. <ul>
  1044. <li><?php bugfix(64498); ?> ($phar-&gt;buildFromDirectory can't compress file with an accent in its name).</li>
  1045. </ul></li>
  1046. </ul>
  1047. <!-- }}} --></section>
  1048. <section class="version" id="5.5.12"><!-- {{{ 5.5.12 -->
  1049. <h3>Version 5.5.12</h3>
  1050. <?php release_date('1-May-2014'); ?>
  1051. <ul><li>Core:
  1052. <ul>
  1053. <li><?php bugfix(61019); ?> (Out of memory on command stream_get_contents).</li>
  1054. <li><?php bugfix(64330); ?> (stream_socket_server() creates wrong Abstract Namespace
  1055. UNIX sockets).</li>
  1056. <li><?php bugfix(66182); ?> (exit in stream filter produces segfault).</li>
  1057. <li><?php bugfix(66736); ?> (fpassthru broken).</li>
  1058. <li><?php bugfix(67024); ?> (getimagesize should recognize BMP files with negative
  1059. heighty).</li>
  1060. <li><?php bugfix(67043); ?> (substr_compare broke by previous change).</li>
  1061. </ul></li>
  1062. <li>cURL:
  1063. <ul>
  1064. <li><?php bugfix(66562); ?> (curl_exec returns differently than curl_multi_getcontent).</li>
  1065. </ul></li>
  1066. <li>Date:
  1067. <ul>
  1068. <li><?php bugfix(66721); ?> (__wakeup of DateTime segfaults when invalid object data is
  1069. supplied).</li>
  1070. </ul></li>
  1071. <li>Embed:
  1072. <ul>
  1073. <li><?php bugfix(65715); ?> (php5embed.lib isn't provided anymore).</li>
  1074. </ul></li>
  1075. <li>Fileinfo:
  1076. <ul>
  1077. <li><?php bugfix(66987); ?> (Memory corruption in fileinfo ext / bigendian).</li>
  1078. </ul></li>
  1079. <li>FPM:
  1080. <ul>
  1081. <li><?php bugfix(66482); ?> (unknown entry 'priority' in php-fpm.conf).</li>
  1082. <li><?php bugfix(67060); ?> (possible privilege escalation due to insecure default configuration). (CVE-2014-0185)).</li>
  1083. </ul></li>
  1084. <li>Json:
  1085. <ul>
  1086. <li><?php bugfix(66021); ?> (Blank line inside empty array/object when
  1087. JSON_PRETTY_PRINT is set).</li>
  1088. </ul></li>
  1089. <li>LDAP:
  1090. <ul>
  1091. <li>Fixed issue with null bytes in LDAP bindings.</li>
  1092. </ul></li>
  1093. <li>mysqli:
  1094. <ul>
  1095. <li>Fixed problem in mysqli_commit()/mysqli_rollback() with second parameter
  1096. (extra comma) and third parameters (lack of escaping).</li>
  1097. </ul></li>
  1098. <li>Openssl:
  1099. <ul>
  1100. <li><?php bugfix(66942); ?> (memory leak in openssl_seal()).</li>
  1101. <li><?php bugfix(66952); ?> (memory leak in openssl_open()).</li>
  1102. </ul></li>
  1103. <li>SimpleXML:
  1104. <ul>
  1105. <li><?php bugfix(66084); ?> (simplexml_load_string() mangles empty node name).</li>
  1106. </ul></li>
  1107. <li>SQLite:
  1108. <ul>
  1109. <li><?php bugfix(66967); ?> (Updated bundled libsqlite to 3.8.4.3)</li>
  1110. </ul></li>
  1111. <li>XSL:
  1112. <ul>
  1113. <li><?php bugfix(53965); ?> (&lt;xsl:include&gt; cannot find files with relative paths
  1114. when loaded with "file://")</li>
  1115. </ul></li>
  1116. <li>Apache2 Handler SAPI:
  1117. <ul>
  1118. <li>Fixed Apache log issue caused by APR's lack of support for %zu
  1119. (APR issue https://issues.apache.org/bugzilla/show_bug.cgi?id=56120)</li>
  1120. </ul></li>
  1121. </ul>
  1122. <!-- }}} --></section>
  1123. <section class="version" id="5.4.28"><!-- {{{ 5.4.28 -->
  1124. <h3>Version 5.4.28</h3>
  1125. <b>01-May-2014</b>
  1126. <ul><li>Core:
  1127. <ul>
  1128. <li><?php bugfix(61019); ?> (Out of memory on command stream_get_contents).</li>
  1129. <li><?php bugfix(64330); ?> (stream_socket_server() creates wrong Abstract Namespace UNIX sockets).</li>
  1130. <li><?php bugfix(66171); ?> (Symlinks and session handler allow open_basedir bypass).</li>
  1131. <li><?php bugfix(66182); ?> (exit in stream filter produces segfault).</li>
  1132. <li><?php bugfix(66736); ?> (fpassthru broken).</li>
  1133. <li><?php bugfix(67024); ?> (getimagesize should recognize BMP files with negative height).</li>
  1134. </ul></li>
  1135. <li>cURL:
  1136. <ul>
  1137. <li><?php bugfix(66562); ?> (curl_exec returns differently than curl_multi_getcontent).</li>
  1138. </ul></li>
  1139. <li>Date:
  1140. <ul>
  1141. <li><?php bugfix(66721); ?> (__wakeup of DateTime segfaults when invalid object data is supplied).</li>
  1142. </ul></li>
  1143. <li>Embed:
  1144. <ul>
  1145. <li><?php bugfix(65715); ?> (php5embed.lib isn't provided anymore).</li>
  1146. </ul></li>
  1147. <li>Fileinfo:
  1148. <ul>
  1149. <li><?php bugfix(66987); ?> (Memory corruption in fileinfo ext / bigendian).</li>
  1150. </ul></li>
  1151. <li>FPM:
  1152. <ul>
  1153. <li><?php bugfix(66482); ?> (unknown entry 'priority' in php-fpm.conf).</li>
  1154. <li><?php bugfix(67060); ?> (sapi/fpm: possible privilege escalation due to insecure default configuration) (CVE-2014-0185).</li>
  1155. </ul></li>
  1156. <li>JSON:
  1157. <ul>
  1158. <li><?php bugfix(66021); ?> (Blank line inside empty array/object when JSON_PRETTY_PRINT is set).</li>
  1159. </ul></li>
  1160. <li>LDAP:
  1161. <ul>
  1162. <li>Fixed issue with null bytes in LDAP bindings.</li>
  1163. </ul></li>
  1164. <li>OpenSSL:
  1165. <ul>
  1166. <li><?php bugfix(66942); ?> (memory leak in openssl_seal()).</li>
  1167. <li><?php bugfix(66952); ?> (memory leak in openssl_open()).</li>
  1168. </ul></li>
  1169. <li>SimpleXML:
  1170. <ul>
  1171. <li><?php bugfix(66084); ?> (simplexml_load_string() mangles empty node name) (Anatol)</li>
  1172. </ul></li>
  1173. <li>XSL:
  1174. <ul>
  1175. <li><?php bugfix(53965); ?> (&lt;xsl:include&gt; cannot find files with relative paths when loaded with "file://").</li>
  1176. </ul></li>
  1177. <li>Apache2 Handler SAPI:
  1178. <ul>
  1179. <li>Fixed Apache log issue caused by APR's lack of support for %zu (APR issue <a href="https://issues.apache.org/bugzilla/show_bug.cgi?id=56120">56120</a>).</li>
  1180. </ul></li>
  1181. </ul>
  1182. <!-- }}} --></section>
  1183. <section class="version" id="5.5.11"><!-- {{{ 5.5.11 -->
  1184. <h3>Version 5.5.11</h3>
  1185. <?php release_date('3-Apr-2014'); ?>
  1186. <ul><li>Core:
  1187. <ul>
  1188. <li><?php bugfix(60602); ?> (proc_open() changes environment array).</li>
  1189. <li>Allow zero length comparison in substr_compare().</li>
  1190. </ul></li>
  1191. <li>cURL:
  1192. <ul>
  1193. <li><?php bugfix(66109); ?> (Can't reset CURLOPT_CUSTOMREQUEST to default behaviour).</li>
  1194. <li>Fix compilation on libcurl versions between 7.10.5 and 7.12.2, inclusive.</li>
  1195. </ul></li>
  1196. <li>Fileinfo:
  1197. <ul>
  1198. <li><?php bugfix(66946); ?> (fileinfo: extensive backtracking in awk rule regular expression (CVE-2013-7345)).</li>
  1199. </ul></li>
  1200. <li>FPM:
  1201. <ul>
  1202. <li>Added clear_env configuration directive to disable clearenv() call.</li>
  1203. </ul></li>
  1204. <li>GD:
  1205. <ul>
  1206. <li><?php bugfix(66714); ?> (imageconvolution breakage).</li>
  1207. <li><?php bugfix(66869); ?> (Invalid 2nd argument crashes imageaffinematrixget).</li>
  1208. <li><?php bugfix(66887); ?> (imagescale - poor quality of scaled image).</li>
  1209. <li><?php bugfix(66890); ?> (imagescale segfault).</li>
  1210. <li><?php bugfix(66893); ?> (imagescale ignore method argument).</li>
  1211. </ul></li>
  1212. <li>GMP:
  1213. <ul>
  1214. <li><?php bugfix(66872); ?> (invalid argument crashes gmp_testbit).</li>
  1215. </ul></li>
  1216. <li>Hash:
  1217. <ul>
  1218. <li>hash_pbkdf2() now works correctly if the $length argument is not specified.</li>
  1219. </ul></li>
  1220. <li>Intl:
  1221. <ul>
  1222. <li><?php bugfix(66873); ?> A reproductible crash in UConverter when given invalid encoding.</li>
  1223. </ul></li>
  1224. <li>Mail:
  1225. <ul>
  1226. <li><?php bugfix(66535); ?> (Don't add newline after X-PHP-Originating-Script).</li>
  1227. </ul></li>
  1228. <li>MySQLi:
  1229. <ul>
  1230. <li><?php bugfix(66762); ?> (Segfault in mysqli_stmt::bind_result() when link closed).</li>
  1231. </ul></li>
  1232. <li>OPCache:
  1233. <ul>
  1234. <li>Added function opcache_is_script_cached().</li>
  1235. <li>Added information about interned strings usage.</li>
  1236. </ul></li>
  1237. <li>Openssl:
  1238. <ul>
  1239. <li><?php bugfix(66833); ?> (Default disgest algo is still MD5, switch to SHA1).</li>
  1240. </ul></li>
  1241. <li>SQLite:
  1242. <ul>
  1243. <li>Updated bundled libsqlite to 3.8.3.1.</li>
  1244. </ul></li>
  1245. <li>SPL:
  1246. <ul>
  1247. <li>Added feature <?php bugl(65545); ?> (SplFileObject::fread()).</li>
  1248. </ul></li>
  1249. </ul>
  1250. <!-- }}} --></section>
  1251. <section class="version" id="5.4.27"><!-- {{{ 5.4.27 -->
  1252. <h3>Version 5.4.27</h3>
  1253. <b>03-Apr-2014</b>
  1254. <ul><li>Core:
  1255. <ul>
  1256. <li><?php bugfix(60602); ?> (proc_open() changes environment array)</li>
  1257. </ul></li>
  1258. <li>Fileinfo:
  1259. <ul>
  1260. <li><?php bugfix(66946); ?> (fileinfo: extensive backtracking in awk rule regular expression (CVE-2013-7345))</li>
  1261. </ul></li>
  1262. <li>FPM:
  1263. <ul>
  1264. <li>Added clear_env configuration directive to disable clearenv() call.</li>
  1265. </ul></li>
  1266. <li>GMP:
  1267. <ul>
  1268. <li><?php bugfix(66872); ?> (invalid argument crashes gmp_testbit)</li>
  1269. </ul></li>
  1270. <li>Mail:
  1271. <ul>
  1272. <li><?php bugfix(66535); ?> (Don't add newline after X-PHP-Originating-Script)</li>
  1273. </ul></li>
  1274. <li>MySQLi:
  1275. <ul>
  1276. <li><?php bugfix(66762); ?> (Segfault in mysqli_stmt::bind_result() when link closed)</li>
  1277. </ul></li>
  1278. <li>Openssl:
  1279. <ul>
  1280. <li><?php bugfix(66833); ?> (Default disgest algo is still MD5, switch to SHA1)</li>
  1281. </ul></li>
  1282. </ul>
  1283. <!-- }}} --></section>
  1284. <section class="version" id="5.5.10"><!-- {{{ 5.5.10 -->
  1285. <h3>Version 5.5.10</h3>
  1286. <?php release_date('6-Mar-2014'); ?>
  1287. <ul><li>Core:
  1288. <ul>
  1289. <li><?php bugfix(66574); ?> (Allow multiple paths in php_ini_scanned_path).</li>
  1290. </ul></li>
  1291. <li>Date:
  1292. <ul>
  1293. <li><?php bugfix(45528); ?> (Allow the DateTimeZone constructor to accept timezones
  1294. per offset too).</li>
  1295. </ul></li>
  1296. <li>Fileinfo:
  1297. <ul>
  1298. <li><?php bugfix(66731); ?> (file: infinite recursion (CVE-2014-1943)).</li>
  1299. <li><?php bugfix(66820); ?> (out-of-bounds memory access in fileinfo (CVE-2014-2270)).</li>
  1300. </ul></li>
  1301. <li>GD:
  1302. <ul>
  1303. <li><?php bugfix(66815); ?> (imagecrop(): insufficient fix for NULL defer (CVE-2013-7327)).</li>
  1304. </ul></li>
  1305. <li>JSON:
  1306. <ul>
  1307. <li><?php bugfix(65753); ?> (JsonSerializeable couldn't implement on module extension).</li>
  1308. </ul></li>
  1309. <li>LDAP:
  1310. <ul>
  1311. <li>Implemented ldap_modify_batch (https://wiki.php.net/rfc/ldap_modify_batch).</li>
  1312. </ul></li>
  1313. <li>Openssl:
  1314. <ul>
  1315. <li><?php bugfix(66501); ?> (Add EC key support to php_openssl_is_private_key).</li>
  1316. </ul></li>
  1317. <li>PCRE:
  1318. <ul>
  1319. <li>Upgraded to PCRE 8.34.</li>
  1320. </ul></li>
  1321. <li>Pgsql:
  1322. <ul>
  1323. <li>Added warning for dangerous client encoding and remove possible injections
  1324. for pg_insert()/pg_update()/pg_delete()/pg_select().</li>
  1325. </ul></li>
  1326. </ul>
  1327. <!-- }}} --></section>
  1328. <section class="version" id="5.4.26"><!-- {{{ 5.4.26 -->
  1329. <h3>Version 5.4.26</h3>
  1330. <?php release_date('06-Mar-2014'); ?>
  1331. <ul><li>JSON:
  1332. <ul>
  1333. <li><?php bugfix(65753); ?> (JsonSerializeable couldn't implement on module extension)</li>
  1334. </ul></li>
  1335. <li>Fileinfo:
  1336. <ul>
  1337. <li><?php bugfix(66731); ?> (file: infinite recursion) (CVE-2014-1943).</li>
  1338. <li><?php bugfix(66820); ?> (out-of-bounds memory access in fileinfo) (CVE-2014-2270).</li>
  1339. </ul></li>
  1340. <li>LDAP:
  1341. <ul>
  1342. <li>Implemented ldap_modify_batch (https://wiki.php.net/rfc/ldap_modify_batch).</li>
  1343. </ul></li>
  1344. <li>Openssl:
  1345. <ul>
  1346. <li><?php bugfix(66501); ?> (Add EC key support to php_openssl_is_private_key).</li>
  1347. </ul></li>
  1348. <li>Pgsql:
  1349. <ul>
  1350. <li>Added warning for dangerous client encoding and remove possible injections for pg_insert()/pg_update()/pg_delete()/pg_select().</li>
  1351. </ul></li>
  1352. </ul>
  1353. <!-- }}} --></section>
  1354. <section class="version" id="5.5.9"><!-- {{{ 5.5.9 -->
  1355. <h3>Version 5.5.9</h3>
  1356. <?php release_date('6-Feb-2014'); ?>
  1357. <ul><li>Core:
  1358. <ul>
  1359. <li><?php bugfix(66509); ?> (copy() arginfo has changed starting from 5.4).</li>
  1360. </ul></li>
  1361. <li>GD:
  1362. <ul>
  1363. <li><?php bugfix(66356); ?> (Heap Overflow Vulnerability in imagecrop(), CVE-2013-7226).</li>
  1364. </ul></li>
  1365. <li>OPCache:
  1366. <ul>
  1367. <li><?php bugfix(66474); ?> (Optimizer bug in constant string to boolean conversion).</li>
  1368. <li><?php bugfix(66461); ?> (PHP crashes if opcache.interned_strings_buffer=0).</li>
  1369. <li><?php bugfix(66298); ?> (ext/opcache/Optimizer/zend_optimizer.c has dos-style ^M as lineend).</li>
  1370. </ul></li>
  1371. <li>PDO_pgsql:
  1372. <ul>
  1373. <li><?php bugfix(62479); ?> (PDO-pgsql cannot connect if password contains spaces).</li>
  1374. </ul></li>
  1375. <li>Readline:
  1376. <ul>
  1377. <li><?php bugfix(66412); ?> (readline_clear_history() with libedit causes segfault after #65714).</li>
  1378. </ul></li>
  1379. <li>Session:
  1380. <ul>
  1381. <li><?php bugfix(66469); ?> (Session module is sending multiple set-cookie headers when session.use_strict_mode=1).</li>
  1382. <li><?php bugfix(66481); ?> (Segfaults on session_name()).</li>
  1383. </ul></li>
  1384. <li>Standard:
  1385. <ul>
  1386. <li><?php bugfix(66395); ?> (basename function doesn't remove drive letter).</li>
  1387. </ul></li>
  1388. <li>Sockets:
  1389. <ul>
  1390. <li><?php bugfix(66381); ?> (__ss_family was changed on AIX 5.3).</li>
  1391. </ul></li>
  1392. <li>Zend Engine:
  1393. <ul>
  1394. <li><?php bugfix(66009); ?> (Failed compilation of PHP extension with C++ std library using VS 2012).</li>
  1395. </ul></li>
  1396. </ul>
  1397. <!-- }}} --></section>
  1398. <section class="version" id="5.4.25"><!-- {{{ 5.4.25 -->
  1399. <h3>Version 5.4.25</h3>
  1400. <?php release_date('06-Feb-2014'); ?>
  1401. <ul><li>Core:
  1402. <ul>
  1403. <li><?php bugfix(66286); ?> (Incorrect object comparison with inheritance).</li>
  1404. <li><?php bugfix(66509); ?> (copy() arginfo has changed starting from 5.4).</li>
  1405. </ul></li>
  1406. <li>mysqlnd:
  1407. <ul>
  1408. <li><?php bugfix(66283); ?> (Segmentation fault after memory_limit).</li>
  1409. </ul></li>
  1410. <li>PDO_pgsql:
  1411. <ul>
  1412. <li><?php bugfix(62479); ?> (PDO-psql cannot connect if password contains spaces).</li>
  1413. </ul></li>
  1414. <li>Session:
  1415. <ul>
  1416. <li><?php bugfix(66481); ?> (Calls to session_name() segfault when session.name is null).</li>
  1417. </ul></li>
  1418. </ul>
  1419. <!-- }}} --></section>
  1420. <section class="version" id="5.5.8"><!-- {{{ 5.5.8 -->
  1421. <h3>Version 5.5.8</h3>
  1422. <?php release_date('9-Jan-2014'); ?>
  1423. <ul><li>Core:
  1424. <ul>
  1425. <li>Disallowed JMP into a finally block.</li>
  1426. <li>Added validation of class names in the autoload process.</li>
  1427. <li>Fixed invalid C code in zend_strtod.c.</li>
  1428. <li><?php bugfix(66041); ?> (list() fails to unpack yielded ArrayAccess object).</li>
  1429. <li><?php bugfix(65764); ?> (generators/throw_rethrow FAIL with ZEND_COMPILE_EXTENDED_INFO).</li>
  1430. <li><?php bugfix(61645); ?> (fopen and O_NONBLOCK).</li>
  1431. <li><?php bugfix(66218); ?> (zend_register_functions breaks reflection).</li>
  1432. </ul></li>
  1433. <li>Date:
  1434. <ul>
  1435. <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval, CVE-2013-6712).</li>
  1436. <li><?php bugfix(65768); ?> (DateTimeImmutable::diff does not work).</li>
  1437. </ul></li>
  1438. <li>DOM:
  1439. <ul>
  1440. <li><?php bugfix(65196); ?> (Passing DOMDocumentFragment to DOMDocument::saveHTML()
  1441. Produces invalid Markup).</li>
  1442. </ul></li>
  1443. <li>Exif:
  1444. <ul>
  1445. <li><?php bugfix(65873); ?> (Integer overflow in exif_read_data()).</li>
  1446. </ul></li>
  1447. <li>Filter:
  1448. <ul>
  1449. <li><?php bugfix(66229); ?> (128.0.0.0/16 isn't reserved any longer).</li>
  1450. </ul></li>
  1451. <li>GD:
  1452. <ul>
  1453. <li><?php bugfix(64405); ?> (Use freetype-config for determining freetype2 dir(s)).</li>
  1454. </ul></li>
  1455. <li>PDO_odbc:
  1456. <ul>
  1457. <li><?php bugfix(66311); ?> (Stack smashing protection kills PDO/ODBC queries).</li>
  1458. </ul></li>
  1459. <li>MySQLi:
  1460. <ul>
  1461. <li><?php bugfix(65486); ?> (mysqli_poll() is broken on win x64).</li>
  1462. </ul></li>
  1463. <li>OPCache:
  1464. <ul>
  1465. <li>Fixed revalidate_path=1 behavior to avoid caching of symlinks values.</li>
  1466. <li>Fixed Issue #140: "opcache.enable_file_override" doesn't respect
  1467. "opcache.revalidate_freq".</li>
  1468. </ul></li>
  1469. <li>SNMP:
  1470. <ul>
  1471. <li>Fixed SNMP_ERR_TOOBIG handling for bulk walk operations.</li>
  1472. </ul></li>
  1473. <li>SOAP:
  1474. <ul>
  1475. <li><?php bugfix(66112); ?> (Use after free condition in SOAP extension).</li>
  1476. </ul></li>
  1477. <li>Sockets:
  1478. <ul>
  1479. <li><?php bugfix(65923); ?> (ext/socket assumes AI_V4MAPPED is defined).</li>
  1480. </ul></li>
  1481. <li>XSL:
  1482. <ul>
  1483. <li><?php bugfix(49634); ?> (Segfault throwing an exception in a XSL registered function).</li>
  1484. </ul></li>
  1485. <li>ZIP:
  1486. <ul>
  1487. <li><?php bugfix(66321); ?> (ZipArchive::open() ze_obj->filename_len not real).</li>
  1488. </ul></li>
  1489. </ul>
  1490. <!-- }}} --></section>
  1491. <section class="version" id="5.4.24"><!-- {{{ 5.4.24 -->
  1492. <h3>Version 5.4.24</h3>
  1493. <?php release_date('09-Jan-2014'); ?>
  1494. <ul><li>Core:
  1495. <ul>
  1496. <li>Added validation of class names in the autoload process.</li>
  1497. <li>Fixed invalid C code in zend_strtod.c.</li>
  1498. <li><?php bugfix(61645); ?> (fopen and O_NONBLOCK).</li>
  1499. </ul></li>
  1500. <li>Date:
  1501. <ul>
  1502. <li><?php bugfix(66060); ?> (Heap buffer over-read in DateInterval, CVE-2013-6712).</li>
  1503. <li><?php bugfix(63391); ?> (Incorrect/inconsistent day of week prior to the year 1600).</li>
  1504. <li><?php bugfix(61599); ?> (Wrong Day of Week).</li>
  1505. </ul></li>
  1506. <li>DOM:
  1507. <ul>
  1508. <li><?php bugfix(65196); ?> (Passing DOMDocumentFragment to DOMDocument::saveHTML() Produces invalid Markup).</li>
  1509. </ul></li>
  1510. <li>Exif:
  1511. <ul>
  1512. <li><?php bugfix(65873); ?> (Integer overflow in exif_read_data()).</li>
  1513. </ul></li>
  1514. <li>Filter:
  1515. <ul>
  1516. <li><?php bugfix(66229); ?> (128.0.0.0/16 isn't reserved any longer).</li>
  1517. </ul></li>
  1518. <li>GD:
  1519. <ul>
  1520. <li><?php bugfix(64405); ?> (Use freetype-config for determining freetype2 dir(s)).</li>
  1521. </ul></li>
  1522. <li>PDO_odbc:
  1523. <ul>
  1524. <li><?php bugfix(66311); ?> (Stack smashing protection kills PDO/ODBC queries).</li>
  1525. </ul></li>
  1526. <li>SNMP:
  1527. <ul>
  1528. <li>Fixed SNMP_ERR_TOOBIG handling for bulk walk operations.</li>
  1529. </ul></li>
  1530. <li>XSL:
  1531. <ul>
  1532. <li><?php bugfix(49634); ?> (Segfault throwing an exception in a XSL registered function).</li>
  1533. </ul></li>
  1534. <li>ZIP:
  1535. <ul>
  1536. <li>Fixed Bug #66321 (ZipArchive::open() ze_obj-&gt;filename_len not real).</li>
  1537. </ul></li>
  1538. </ul>
  1539. <!-- }}} --></section>
  1540. <section class="version" id="5.5.7"><!-- {{{ 5.5.7 -->
  1541. <h3>Version 5.5.7</h3>
  1542. <?php release_date('12-Dec-2013'); ?>
  1543. <ul><li>Core:
  1544. <ul>
  1545. <li><?php bugfix(66094); ?> (unregister_tick_function tries to cast a Closure to a string).</li>
  1546. <li><?php bugfix(65969); ?> (Chain assignment with T_LIST failure).</li>
  1547. </ul></li>
  1548. <li>CLI server:
  1549. <ul>
  1550. <li>Added some MIME types to the CLI web server.</li>
  1551. <li>Implemented FR #65917 (getallheaders() is not supported by the built-in web
  1552. server) - also implements apache_response_headers()</li>
  1553. </ul></li>
  1554. <li>OPCache:
  1555. <ul>
  1556. <li><?php bugfix(66176); ?> (Invalid constant substitution).</li>
  1557. <li><?php bugfix(65915); ?> (Inconsistent results with require return value).</li>
  1558. <li><?php bugfix(65559); ?> (Opcache: cache not cleared if changes occur while running).</li>
  1559. </ul></li>
  1560. <li>readline:
  1561. <ul>
  1562. <li><?php bugfix(65714); ?> (PHP cli forces the tty to cooked mode).</li>
  1563. </ul></li>
  1564. <li>Openssl:
  1565. <ul>
  1566. <li>Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420).</li>
  1567. </ul></li>
  1568. </ul>
  1569. <!-- }}} --></section>
  1570. <section class="version" id="5.5.6"><!-- {{{ 5.5.6 -->
  1571. <h3>Version 5.5.6</h3>
  1572. <?php release_date('14-Nov-2013'); ?>
  1573. <ul><li>Core:
  1574. <ul>
  1575. <li>Improved performance of array_merge() and func_get_args() by eliminating useless copying.</li>
  1576. <li><?php bugfix(65947); ?> (basename is no more working after fgetcsv in certain situation).</li>
  1577. <li><?php bugfix(65939); ?> (Space before ";" breaks php.ini parsing).</li>
  1578. <li><?php bugfix(65911); ?> (scope resolution operator - strange behavior with $this).</li>
  1579. <li><?php bugfix(65936); ?> (dangling context pointer causes crash).</li>
  1580. </ul></li>
  1581. <li>FPM:
  1582. <ul>
  1583. <li>Changed default listen() backlog to 65535.</li>
  1584. </ul></li>
  1585. <li>JSON:
  1586. <ul>
  1587. <li><?php bugfix(64874); ?> (json_decode handles whitespace incorrectly).</li>
  1588. </ul></li>
  1589. <li>MySQLi:
  1590. <ul>
  1591. <li><?php bugfix(66043); ?> (Segfault calling bind_param() on mysqli).</li>
  1592. </ul></li>
  1593. <li>OPCache:
  1594. <ul>
  1595. <li>Increased limit for opcache.max_accelerated_files to 1,000,000.</li>
  1596. <li>Fixed issue #115 (path issue when using phar).</li>
  1597. <li>Fixed issue #149 (Phar mount points not working with OPcache enabled).</li>
  1598. </ul></li>
  1599. <li>ODBC:
  1600. <ul>
  1601. <li><?php bugfix(65950); ?> (Field name truncation if the field name is bigger than 32 characters).</li>
  1602. </ul></li>
  1603. <li>PDO:
  1604. <ul>
  1605. <li><?php bugfix(66033); ?> (Segmentation Fault when constructor of PDO statement throws an exception).</li>
  1606. <li><?php bugfix(65946); ?> (sql_parser permanently converts values bound to strings).</li>
  1607. </ul></li>
  1608. <li>Standard:
  1609. <ul>
  1610. <li><?php bugfix(64760); ?> (var_export() does not use full precision for floating-point numbers).</li>
  1611. </ul></li>
  1612. </ul>
  1613. <!-- }}} --></section>
  1614. <section class="version" id="5.4.23"><!-- {{{ 5.4.23 -->
  1615. <h3>Version 5.4.23</h3>
  1616. <?php release_date('12-Dec-2013'); ?>
  1617. <ul><li>Core:
  1618. <ul>
  1619. <li><?php bugfix(66094); ?> (unregister_tick_function tries to cast a Closure to a string).</li>
  1620. <li><?php bugfix(65947); ?> (basename is no more working after fgetcsv in certain situation).</li>
  1621. </ul></li>
  1622. <li>JSON:
  1623. <ul>
  1624. <li>Fixed whitespace part of <?php bugl(64874); ?> ("json_decode handles whitespace and case-sensitivity incorrectly").</li>
  1625. </ul></li>
  1626. <li>MySQLi:
  1627. <ul>
  1628. <li><?php bugfix(66043); ?> (Segfault calling bind_param() on mysqli).</li>
  1629. </ul></li>
  1630. <li>mysqlnd:
  1631. <ul>
  1632. <li><?php bugfix(66124); ?> (mysqli under mysqlnd loses precision when bind_param with 'i').</li>
  1633. <li><?php bugfix(66141); ?> (mysqlnd quote function is wrong with NO_BACKSLASH_ESCAPES after failed query).</li>
  1634. </ul></li>
  1635. <li>OpenSSL:
  1636. <ul>
  1637. <li>Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420). (Stefan Esser).</li>
  1638. </ul></li>
  1639. <li>PDO:
  1640. <ul>
  1641. <li><?php bugfix(65946); ?> (sql_parser permanently converts values bound to strings).</li>
  1642. </ul></li>
  1643. </ul>
  1644. <!-- }}} --></section>
  1645. <section class="version" id="5.4.22"><!-- {{{ 5.4.22 -->
  1646. <h3>Version 5.4.22</h3>
  1647. <?php release_date('14-Nov-2013'); ?>
  1648. <ul><li>Core:
  1649. <ul>
  1650. <li><?php bugfix(65911); ?> (scope resolution operator - strange behavior with $this).</li>
  1651. </ul></li>
  1652. <li>CLI server:
  1653. <ul>
  1654. <li><?php bugfix(65818); ?> (Segfault with built-in webserver and chunked transfer encoding).</li>
  1655. </ul></li>
  1656. <li>Exif:
  1657. <ul>
  1658. <li>Fixed crash on unknown encoding.</li>
  1659. </ul></li>
  1660. <li>FTP:
  1661. <ul>
  1662. <li><?php bugfix(65667); ?> (ftp_nb_continue produces segfault).</li>
  1663. </ul></li>
  1664. <li>ODBC:
  1665. <ul>
  1666. <li><?php bugfix(65950); ?> (Field name truncation if the field name is bigger than 32 characters).</li>
  1667. </ul></li>
  1668. <li>Sockets:
  1669. <ul>
  1670. <li><?php bugfix(65808); ?> (the socket_connect() won't work with IPv6 address).</li>
  1671. </ul></li>
  1672. <li>Standard:
  1673. <ul>
  1674. <li><?php bugfix(64760); ?> (var_export() does not use full precision for floating-point numbers).</li>
  1675. </ul></li>
  1676. <li>XMLReader:
  1677. <ul>
  1678. <li><?php bugfix(51936); ?> (Crash with clone XMLReader).</li>
  1679. <li><?php bugfix(64230); ?> (XMLReader does not suppress errors).</li>
  1680. </ul></li>
  1681. </ul>
  1682. <!-- }}} --></section>
  1683. <section class="version" id="5.5.5"><!-- {{{ 5.5.5 -->
  1684. <h3>Version 5.5.5</h3>
  1685. <?php release_date('17-Oct-2013'); ?>
  1686. <ul><li>Core:
  1687. <ul>
  1688. <li><?php bugfix(64979); ?> (Wrong behavior of static variables in closure generators).</li>
  1689. <li><?php bugfix(65322); ?> (compile time errors won't trigger auto loading).</li>
  1690. <li><?php bugfix(65821); ?> (By-ref foreach on property access of string offset segfaults).</li>
  1691. </ul></li>
  1692. <li>CLI Server:
  1693. <ul>
  1694. <li><?php bugfix(65633); ?> (built-in server treat some http headers as case-sensitive).</li>
  1695. <li><?php bugfix(65818); ?> (Segfault with built-in webserver and chunked transfer encoding).</li>
  1696. <li>Added application/pdf to PHP CLI Web Server mime types</li>
  1697. </ul></li>
  1698. <li>Datetime:
  1699. <ul>
  1700. <li><?php bugfix(64157); ?> (DateTime::createFromFormat() reports confusing error message).</li>
  1701. <li><?php bugfix(65502); ?> (DateTimeImmutable::createFromFormat returns DateTime).</li>
  1702. <li><?php bugfix(65548); ?> (Comparison for DateTimeImmutable doesn't work).</li>
  1703. </ul></li>
  1704. <li>DBA:
  1705. <ul>
  1706. <li><?php bugfix(65708); ?> (dba functions cast $key param to string in-place, bypassing copy on write).</li>
  1707. </ul></li>
  1708. <li>Filter:
  1709. <ul>
  1710. <li>Add RFC 6598 IPs to reserved addresses.</li>
  1711. <li><?php bugfix(64441); ?> (FILTER_VALIDATE_URL rejects fully qualified domain names).</li>
  1712. </ul></li>
  1713. <li>FTP:
  1714. <ul>
  1715. <li><?php bugfix(65667); ?> (ftp_nb_continue produces segfault).</li>
  1716. </ul></li>
  1717. <li>GD:
  1718. <ul>
  1719. <li>Ensure that the defined interpolation method is used with the generic scaling methods.</li>
  1720. </ul></li>
  1721. <li>IMAP:
  1722. <ul>
  1723. <li><?php bugfix(65721); ?> (configure script broken in 5.5.4 and 5.4.20 when enabling imap).</li>
  1724. </ul></li>
  1725. <li>OPCache:
  1726. <ul>
  1727. <li><?php bugfix(65845); ?> (Error when Zend Opcache Optimizer is fully enabled).</li>
  1728. <li><?php bugfix(65665); ?> (Exception not properly caught when opcache enabled).</li>
  1729. <li><?php bugfix(65510); ?> (5.5.2 crashes in _get_zval_ptr_ptr_var).</li>
  1730. <li>Fixed issue #135 (segfault in interned strings if initial memory is too low).</li>
  1731. <li>Added function opcache_compile_file() to load PHP scripts into cache without execution.</li>
  1732. <li>Added support for GNU Hurd.</li>
  1733. </ul></li>
  1734. <li>Sockets:
  1735. <ul>
  1736. <li><?php bugfix(65808); ?> (the socket_connect() won't work with IPv6 address).</li>
  1737. </ul></li>
  1738. <li>SPL:
  1739. <ul>
  1740. <li><?php bugfix(64782); ?> (SplFileObject constructor make $context optional / give it a default value).</li>
  1741. </ul></li>
  1742. <li>Standard:
  1743. <ul>
  1744. <li><?php bugfix(61548); ?> content-type must appear at the end of headers for 201 Location to work in http.</li>
  1745. </ul></li>
  1746. <li>XMLReader:
  1747. <ul>
  1748. <li><?php bugfix(51936); ?> Crash with clone XMLReader.</li>
  1749. <li><?php bugfix(64230); ?> XMLReader does not suppress errors.</li>
  1750. </ul></li>
  1751. <li>Build system:
  1752. <ul>
  1753. <li><?php bugfix(51076); ?> Race condition in shtool's mkdir -p implementation.</li>
  1754. <li><?php bugfix(62396); ?> 'make test' crashes starting with 5.3.14 (missing gzencode()).</li>
  1755. </ul></li>
  1756. </ul>
  1757. <!-- }}} --></section>
  1758. <section class="version" id="5.4.21"><!-- {{{ 5.4.21 -->
  1759. <h3>Version 5.4.21</h3>
  1760. <?php release_date('17-Oct-2013'); ?>
  1761. <ul><li>Core:
  1762. <ul>
  1763. <li><?php bugfix(65322); ?> (compile time errors won't trigger auto loading).</li>
  1764. </ul></li>
  1765. <li>CLI server:
  1766. <ul>
  1767. <li><?php bugfix(65633); ?> (built-in server treat some http headers as case-sensitive).</li>
  1768. </ul></li>
  1769. <li>Datetime:
  1770. <ul>
  1771. <li><?php bugfix(64157); ?> (DateTime::createFromFormat() reports confusing error message).</li>
  1772. </ul></li>
  1773. <li>DBA extension:
  1774. <ul>
  1775. <li><?php bugfix(65708); ?> (dba functions cast $key param to string in-place, bypassing copy on write).</li>
  1776. </ul></li>
  1777. <li>Filter:
  1778. <ul>
  1779. <li>Add RFC 6598 IPs to reserved addresses.</li>
  1780. <li><?php bugfix(64441); ?> (FILTER_VALIDATE_URL rejects fully qualified domain names).</li>
  1781. </ul></li>
  1782. <li>IMAP:
  1783. <ul>
  1784. <li><?php bugfix(65721); ?> (configure script broken in 5.5.4 and 5.4.20 when enabling imap).</li>
  1785. </ul></li>
  1786. <li>Standard:
  1787. <ul>
  1788. <li><?php bugfix(61548); ?> (content-type must appear at the end of headers for 201 Location to work in http).</li>
  1789. </ul></li>
  1790. <li>Build system:
  1791. <ul>
  1792. <li><?php bugfix(62396); ?> ('make test' crashes starting with 5.3.14 (missing gzencode())).</li>
  1793. </ul></li>
  1794. </ul>
  1795. <!-- }}} -->
  1796. </section>
  1797. <section class="version" id="5.5.4"><!-- {{{ 5.5.4 -->
  1798. <h3>Version 5.5.4</h3>
  1799. <?php release_date('19-Sep-2013'); ?>
  1800. <ul><li>Core:
  1801. <ul>
  1802. <li><?php bugfix(60598); ?> (cli/apache sapi segfault on objects manipulation).</li>
  1803. <li>Improved fputcsv() to allow specifying escape character.</li>
  1804. <li><?php bugfix(65483); ?> (quoted-printable encode stream filter incorrectly encoding spaces).</li>
  1805. <li><?php bugfix(65470); ?> (Segmentation fault in zend_error() with --enable-dtrace).</li>
  1806. <li><?php bugfix(65490); ?> (Duplicate calls to get lineno &amp; filename for DTRACE_FUNCTION_*).</li>
  1807. <li><?php bugfix(65225); ?> (PHP_BINARY incorrectly set).</li>
  1808. <li><?php bugfix(62692); ?> (PHP fails to build with DTrace). </li>
  1809. <li><?php bugfix(61759); ?> (class_alias() should accept classes with leading backslashes). </li>
  1810. <li><?php bugfix(46311); ?> (Pointer aliasing issue results in miscompile on gcc4.4). </li>
  1811. </ul></li>
  1812. <li>cURL:
  1813. <ul>
  1814. <li><?php bugfix(65458); ?> (curl memory leak).</li>
  1815. </ul></li>
  1816. <li>Datetime:
  1817. <ul>
  1818. <li><?php bugfix(65554); ?> (createFromFormat broken when weekday name is followed by some delimiters).</li>
  1819. <li><?php bugfix(65564); ?> (stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer).</li>
  1820. </ul></li>
  1821. <li>OPCache:
  1822. <ul>
  1823. <li><?php bugfix(65561); ?> (Zend Opcache on Solaris 11 x86 needs ZEND_MM_ALIGNMENT=4).</li>
  1824. </ul></li>
  1825. <li>Openssl:
  1826. <ul>
  1827. <li><?php bugfix(64802); ?> (openssl_x509_parse fails to parse subject properly in some cases).</li>
  1828. </ul></li>
  1829. <li>Session:
  1830. <ul>
  1831. <li><?php bugfix(65475); ?> (Session ID is not initialized properly when strict session is enabled).</li>
  1832. <li><?php bugfix(51127); ?> and <?php bugl(65359); ?>, FR <?php bugl(25630); ?>/<?php bugl(43980); ?>/<?php bugl(54383); ?> (Added php_serialize session serialize handler that uses plain serialize())</li>
  1833. </ul></li>
  1834. <li>Standard:
  1835. <ul>
  1836. <li> Fix issue with return types of password API helper functions. Found via static analysis by cjones.</li>
  1837. </ul></li>
  1838. </ul>
  1839. <!-- }}} --></section>
  1840. <section class="version" id="5.4.20"><!-- {{{ 5.4.20 -->
  1841. <h3>Version 5.4.20</h3>
  1842. <?php release_date('19-Sep-2013'); ?>
  1843. <ul><li>Core:
  1844. <ul>
  1845. <li><?php bugfix(60598); ?> (cli/apache sapi segfault on objects manipulation).</li>
  1846. <li><?php bugfix(65579); ?> (Using traits with get_class_methods causes segfault).</li>
  1847. <li><?php bugfix(65490); ?> (Duplicate calls to get lineno &amp; filename for DTRACE_FUNCTION_*).</li>
  1848. <li><?php bugfix(65483); ?> (quoted-printable encode stream filter incorrectly encoding spaces).</li>
  1849. <li><?php bugfix(65481); ?> (shutdown segfault due to serialize).</li>
  1850. <li><?php bugfix(65470); ?> (Segmentation fault in zend_error() with --enable-dtrace).</li>
  1851. <li><?php bugfix(65372); ?> (Segfault in gc_zval_possible_root when return reference fails).</li>
  1852. <li><?php bugfix(65304); ?> (Use of max int in array_sum).</li>
  1853. <li><?php bugfix(65291); ?> (get_defined_constants() causes PHP to crash in a very limited case).</li>
  1854. <li><?php bugfix(65225); ?> (PHP_BINARY incorrectly set).</li>
  1855. <li>Improved fix for bug <?php bugl(63186); ?> (compile failure on netbsd).</li>
  1856. <li><?php bugfix(62692); ?> (PHP fails to build with DTrace).</li>
  1857. <li><?php bugfix(61759); ?> (class_alias() should accept classes with leading backslashes).</li>
  1858. <li><?php bugfix(61345); ?> (CGI mode - make install don't work).</li>
  1859. <li>Cherry-picked some DTrace build commits (allowing builds on Linux, bug <?php bugl(62691); ?> and bug <?php bugl(63706); ?>) from PHP 5.5 branch.</li>
  1860. <li><?php bugfix(61268); ?> (--enable-dtrace leads make to clobber Zend/zend_dtrace.d)</li>
  1861. </ul></li>
  1862. <li>cURL:
  1863. <ul>
  1864. <li><?php bugfix(65458); ?> (curl memory leak).</li>
  1865. </ul></li>
  1866. <li>Datetime:
  1867. <ul>
  1868. <li><?php bugfix(65554); ?> (createFromFormat broken when weekday name is followed by some delimiters)</li>
  1869. <li><?php bugfix(65564); ?> (stack-buffer-overflow in DateTimeZone stuff caught by AddressSanitizer)</li>
  1870. </ul></li>
  1871. <li>Openssl:
  1872. <ul>
  1873. <li><?php bugfix(64802); ?> (openssl_x509_parse fails to parse subject properly in some cases).</li>
  1874. </ul></li>
  1875. <li>Session:
  1876. <ul>
  1877. <li><?php bugfix(62129); ?> (rfc1867 crashes php even though turned off).</li>
  1878. <li><?php bugfix(50308); ?> (session id not appended properly for empty anchor tags).</li>
  1879. <li>Fixed possible buffer overflow under Windows. Note: Not a security fix.</li>
  1880. <li>Changed session.auto_start to PHP_INI_PERDIR.</li>
  1881. </ul></li>
  1882. <li>SOAP:
  1883. <ul>
  1884. <li><?php bugfix(65018); ?> (SoapHeader problems with SoapServer).</li>
  1885. </ul></li>
  1886. <li>SPL:
  1887. <ul>
  1888. <li><?php bugfix(65328); ?> (Segfault when getting SplStack object Value).</li>
  1889. </ul></li>
  1890. <li>PDO:
  1891. <ul>
  1892. <li><?php bugfix(64953); ?> (Postgres prepared statement positional parameter casting).</li>
  1893. </ul></li>
  1894. <li>Phar:
  1895. <ul>
  1896. <li><?php bugfix(65028); ?> (Phar::buildFromDirectory creates corrupt archives for some specific contents).</li>
  1897. </ul></li>
  1898. <li>Pgsql:
  1899. <ul>
  1900. <li><?php bugfix(65336); ?> (pg_escape_literal/identifier() silently returns false).</li>
  1901. <li><?php bugfix(62978); ?> (Disallow possible SQL injections with pg_select()/pg_update() /pg_delete()/pg_insert()).</li>
  1902. </ul></li>
  1903. <li>Zlib:
  1904. <ul>
  1905. <li><?php bugfix(65391); ?> (Unable to send vary header user-agent when ob_start('ob_gzhandler') is called).</li>
  1906. </ul></li>
  1907. </ul>
  1908. <!-- }}} --></section>
  1909. <section class="version" id="5.5.3"><!-- {{{ 5.5.3 -->
  1910. <h3>Version 5.5.3</h3>
  1911. <?php release_date('22-Aug-2013'); ?>
  1912. <ul><li>Openssl:
  1913. <ul>
  1914. <li>Fixed UMR in fix for CVE-2013-4248.</li>
  1915. </ul></li>
  1916. </ul>
  1917. <!-- }}} --></section>
  1918. <section class="version" id="5.4.19"><!-- {{{ 5.4.19 -->
  1919. <h3>Version 5.4.19</h3>
  1920. <?php release_date('22-Aug-2013'); ?>
  1921. <ul><li>Core:
  1922. <ul>
  1923. <li><?php bugfix(64503); ?> (Compilation fails with error: conflicting types for 'zendparse').</li>
  1924. </ul></li>
  1925. <li>Openssl:
  1926. <ul>
  1927. <li>Fixed UMR in fix for CVE-2013-4248.</li>
  1928. </ul></li>
  1929. </ul>
  1930. <!-- }}} --></section>
  1931. <section class="version" id="5.5.2"><!-- {{{ 5.5.2 -->
  1932. <h3>Version 5.5.2</h3>
  1933. <?php release_date('15-Aug-2013'); ?>
  1934. <ul><li>Core:
  1935. <ul>
  1936. <li><?php bugfix(65372); ?> (Segfault in gc_zval_possible_root when return reference fails).</li>
  1937. <li>Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). </li>
  1938. <li><?php bugfix(65304); ?> (Use of max int in array_sum).</li>
  1939. <li><?php bugfix(65291); ?> (get_defined_constants() causes PHP to crash in a very limited case).</li>
  1940. <li><?php bugfix(62691); ?> (solaris sed has no -i switch).</li>
  1941. <li><?php bugfix(61345); ?> (CGI mode - make install don't work).</li>
  1942. <li><?php bugfix(61268); ?> (--enable-dtrace leads make to clobber Zend/zend_dtrace.d).</li>
  1943. </ul></li>
  1944. <li>DOM:
  1945. <ul>
  1946. <li>Added flags option to DOMDocument::schemaValidate() and DOMDocument::schemaValidateSource(). Added LIBXML_SCHEMA_CREATE flag.</li>
  1947. </ul></li>
  1948. <li>OPcache:
  1949. <ul>
  1950. <li>Added opcache.restrict_api configuration directive that may limit usage of OPcahce API functions only to patricular script(s).</li>
  1951. <li>Added support for glob symbols in blacklist entries (?, *, **).</li>
  1952. <li><?php bugfix(65338); ?> (Enabling both php_opcache and php_wincache AVs on shutdown).</li>
  1953. </ul></li>
  1954. <li>Openssl:
  1955. <ul>
  1956. <li>Fixed handling null bytes in subjectAltName (CVE-2013-4248).</li>
  1957. </ul></li>
  1958. <li>PDO_mysql:
  1959. <ul>
  1960. <li><?php bugfix(65299); ?> (pdo mysql parsing errors).</li>
  1961. </ul></li>
  1962. <li>Phar:
  1963. <ul>
  1964. <li><?php bugfix(65028); ?> (Phar::buildFromDirectory creates corrupt archives for some specific contents).</li>
  1965. </ul></li>
  1966. <li>Pgsql:
  1967. <ul>
  1968. <li><?php bugfix(62978); ?> (Disallow possible SQL injections with pg_select()/pg_update() /pg_delete()/pg_insert()).</li>
  1969. <li><?php bugfix(65336); ?> (pg_escape_literal/identifier() silently returns false).</li>
  1970. </ul></li>
  1971. <li>Sessions:
  1972. <ul>
  1973. <li>Implemented strict sessions RFC (https://wiki.php.net/rfc/strict_sessions) which protects against session fixation attacks and session collisions (CVE-2011-4718).</li>
  1974. <li>Fixed possible buffer overflow under Windows. Note: Not a security fix.</li>
  1975. <li>Changed session.auto_start to PHP_INI_PERDIR.</li>
  1976. </ul></li>
  1977. <li>SOAP:
  1978. <ul>
  1979. <li><?php bugfix(65018); ?> (SoapHeader problems with SoapServer).</li>
  1980. </ul></li>
  1981. <li>SPL:
  1982. <ul>
  1983. <li><?php bugfix(65328); ?> (Segfault when getting SplStack object Value).</li>
  1984. <li>Added RecursiveTreeIterator setPostfix and getPostifx methods.</li>
  1985. <li><?php bugfix(61697); ?> (spl_autoload_functions returns lambda functions incorrectly).</li>
  1986. </ul></li>
  1987. <li>Streams:
  1988. <ul>
  1989. <li><?php bugfix(65268); ?> (select() implementation uses outdated tick API).</li>
  1990. </ul></li>
  1991. </ul>
  1992. <!-- }}} --></section>
  1993. <section class="version" id="5.4.18"><!-- {{{ 5.4.18 -->
  1994. <h3>Version 5.4.18</h3>
  1995. <?php release_date('15-Aug-2013'); ?>
  1996. <ul><li>Core:
  1997. <ul>
  1998. <li>Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value).</li>
  1999. <li><?php bugfix(65254); ?> (Exception not catchable when exception thrown in autoload with a namespace).</li>
  2000. <li><?php bugfix(65108); ?> (is_callable() triggers Fatal Error).</li>
  2001. <li><?php bugfix(65088); ?> (Generated configure script is malformed on OpenBSD).</li>
  2002. <li><?php bugfix(62964); ?> (Possible XSS on "Registered stream filters" info).</li>
  2003. <li><?php bugfix(62672); ?> (Error on serialize of ArrayObject).</li>
  2004. <li><?php bugfix(62475); ?> (variant_* functions causes crash when null given as an argument).</li>
  2005. <li><?php bugfix(60732); ?> (php_error_docref links to invalid pages).</li>
  2006. <li><?php bugfix(65226); ?> (chroot() does not get enabled).</li>
  2007. </ul></li>
  2008. <li>CGI:
  2009. <ul>
  2010. <li><?php bugfix(65143); ?> (Missing php-cgi man page).</li>
  2011. </ul></li>
  2012. <li>CLI server:
  2013. <ul>
  2014. <li><?php bugfix(65066); ?> (Cli server not responsive when responding with 422 http status code).</li>
  2015. </ul></li>
  2016. <li>CURL:
  2017. <ul>
  2018. <li><?php bugfix(62665); ?> (curl.cainfo doesn't appear in php.ini).</li>
  2019. </ul></li>
  2020. <li>FPM:
  2021. <ul>
  2022. <li><?php bugfix(63983); ?> (enabling FPM borks compile on FreeBSD).</li>
  2023. </ul></li>
  2024. <li>FTP:
  2025. <ul>
  2026. <li><?php bugfix(65228); ?> (FTPs memory leak with SSL).</li>
  2027. </ul></li>
  2028. <li>GMP:
  2029. <ul>
  2030. <li><?php bugfix(65227); ?> (Memory leak in gmp_cmp second parameter).</li>
  2031. </ul></li>
  2032. <li>Imap:
  2033. <ul>
  2034. <li><?php bugfix(64467); ?> (Segmentation fault after imap_reopen failure).</li>
  2035. </ul></li>
  2036. <li>Intl:
  2037. <ul>
  2038. <li><?php bugfix(62759); ?> (Buggy grapheme_substr() on edge case).</li>
  2039. <li><?php bugfix(61860); ?> (Offsets may be wrong for grapheme_stri* functions).</li>
  2040. </ul></li>
  2041. <li>mysqlnd:
  2042. <ul>
  2043. <li>Fixed segfault in mysqlnd when doing long prepare. </li>
  2044. </ul></li>
  2045. <li>ODBC:
  2046. <ul>
  2047. <li><?php bugfix(61387); ?> (NULL valued anonymous column causes segfault in odbc_fetch_array).</li>
  2048. </ul></li>
  2049. <li>Openssl:
  2050. <ul>
  2051. <li>Fixed handling null bytes in subjectAltName (CVE-2013-4248).</li>
  2052. </ul></li>
  2053. <li>PDO:
  2054. <ul>
  2055. <li>Allowed PDO_OCI to compile with Oracle Database 12c client libraries.</li>
  2056. </ul></li>
  2057. <li>PDO_dblib:
  2058. <ul>
  2059. <li><?php bugfix(65219); ?> (PDO/dblib not working anymore ("use dbName" not sent)).</li>
  2060. </ul></li>
  2061. <li>PDO_pgsql:
  2062. <ul>
  2063. <li>Fixed meta data retrieve when OID is larger than 2^31.</li>
  2064. </ul></li>
  2065. <li>Phar:
  2066. <ul>
  2067. <li><?php bugfix(65142); ?> (Missing phar man page).</li>
  2068. </ul></li>
  2069. <li>Session:
  2070. <ul>
  2071. <li><?php bugfix(62535); ?> ($_SESSION[$key]["cancel_upload"] doesn't work as documented).</li>
  2072. <li><?php bugfix(35703); ?> (when session_name("123") consist only digits, should warning).</li>
  2073. <li><?php bugfix(49175); ?> (mod_files.sh does not support hash bits).</li>
  2074. </ul></li>
  2075. <li>Sockets:
  2076. <ul>
  2077. <li>Implemented FR <?php bugl(63472); ?> (Setting SO_BINDTODEVICE with socket_set_option).</li>
  2078. </ul></li>
  2079. <li>SPL:
  2080. <ul>
  2081. <li><?php bugfix(65136); ?> (RecursiveDirectoryIterator segfault).</li>
  2082. <li><?php bugfix(61828); ?> (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice).</li>
  2083. <li><?php bugfix(60560); ?> (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings).</li>
  2084. </ul></li>
  2085. <li>XML:
  2086. <ul>
  2087. <li><?php bugfix(65236); ?> (heap corruption in xml parser, CVE-2013-4113).</li>
  2088. </ul></li>
  2089. </ul>
  2090. <!-- }}} --></section>
  2091. <section class="version" id="5.5.1"><!-- {{{ 5.5.1 -->
  2092. <h3>Version 5.5.1</h3>
  2093. <?php release_date('18-Jul-2013'); ?>
  2094. <ul><li>Core:
  2095. <ul>
  2096. <li><?php bugfix(65254); ?> (Exception not catchable when exception thrown in autoload with a namespace).</li>
  2097. <li><?php bugfix(65088); ?> (Generated configure script is malformed on OpenBSD).</li>
  2098. <li><?php bugfix(65108); ?> (is_callable() triggers Fatal Error).</li>
  2099. <li><?php bugfix(65035); ?> (yield / exit segfault).</li>
  2100. <li><?php bugfix(65161); ?> (Generator + autoload + syntax error = segfault).</li>
  2101. <li><?php bugfix(65226); ?> (chroot() does not get enabled).</li>
  2102. <li>hex2bin() raises E_WARNING for invalid hex string.</li>
  2103. </ul></li>
  2104. <li>OPcache:
  2105. <ul>
  2106. <li><?php bugfix(64827); ?> (Segfault in zval_mark_grey (zend_gc.c)).</li>
  2107. <li>OPcache is now compatible with LiteSpeed SAPI.</li>
  2108. </ul></li>
  2109. <li>CGI:
  2110. <ul>
  2111. <li><?php bugfix(65143); ?> (Missing php-cgi man page).</li>
  2112. </ul></li>
  2113. <li>CLI server:
  2114. <ul>
  2115. <li><?php bugfix(65066); ?> (Cli server not responsive when responding with 422 http status code).</li>
  2116. </ul></li>
  2117. <li>DateTime:
  2118. <ul>
  2119. <li><?php bugfix(65184); ?> (strftime() returns insufficient-length string under multibyte locales).</li>
  2120. </ul></li>
  2121. <li>GD:
  2122. <ul>
  2123. <li><?php bugfix(65070); ?> (bgcolor does not use the same format as the input image with imagerotate).</li>
  2124. <li><?php bugfix(65060); ?> (imagecreatefrom... crashes with user streams).</li>
  2125. <li><?php bugfix(65084); ?> (imagecreatefromjpeg fails with URL).</li>
  2126. <li>Fix gdImageCreateFromWebpCtx and use same logic to load WebP image that other formats.</li>
  2127. </ul></li>
  2128. <li>Intl:
  2129. <ul>
  2130. <li>Add IntlCalendar::setMinimalDaysInFirstWeek()/intlcal_set_minimal_days_in_first_week().</li>
  2131. <li>Fixed trailing space in name of constant IntlCalendar::FIELD_FIELD_COUNT.</li>
  2132. <li><?php bugfix(62759); ?> (Buggy grapheme_substr() on edge case).</li>
  2133. <li><?php bugfix(61860); ?> (Offsets may be wrong for grapheme_stri* functions).</li>
  2134. </ul></li>
  2135. <li>OCI8:
  2136. <ul>
  2137. <li>Bump PECL package info version check to allow PECL installs with PHP 5.5+.</li>
  2138. </ul></li>
  2139. <li>PDO:
  2140. <ul>
  2141. <li>Allowed PDO_OCI to compile with Oracle Database 12c client libraries.</li>
  2142. </ul></li>
  2143. <li>Pgsql:
  2144. <ul>
  2145. <li>pg_unescape_bytea() raises E_WARNING for invalid inputs.</li>
  2146. </ul></li>
  2147. <li>Phar:
  2148. <ul>
  2149. <li><?php bugfix(65142); ?> (Missing phar man page).</li>
  2150. </ul></li>
  2151. <li>Session:
  2152. <ul>
  2153. <li>Added optional create_sid() argument to session_set_save_handler(), SessionHandler and new SessionIdInterface.</li>
  2154. </ul></li>
  2155. <li>Sockets:
  2156. <ul>
  2157. <li><?php bugl(63472); ?>Setting SO_BINDTODEVICE with socket_set_option.</li>
  2158. <li>Allowed specifying paths in the abstract namespace for the functions socket_bind(), socket_connect() and socket_sendmsg().</li>
  2159. <li><?php bugfix(65260); ?>sendmsg() ancillary data construction for SCM_RIGHTS is faulty.</li>
  2160. </ul></li>
  2161. <li>SPL:
  2162. <ul>
  2163. <li><?php bugfix(65136); ?>RecursiveDirectoryIterator segfault.</li>
  2164. <li><?php bugfix(61828); ?>Memleak when calling Directory(Recursive)Iterator/Spl(Temp)FileObject ctor twice.</li>
  2165. </ul></li>
  2166. <li>CGI/FastCGI SAPI:
  2167. <ul>
  2168. <li>Added PHP_FCGI_BACKLOG, overrides the default listen backlog.</li>
  2169. </ul></li>
  2170. </ul>
  2171. <!-- }}} --></section>
  2172. <section class="version" id="5.3.28"><!-- {{{ 5.3.28 -->
  2173. <h3>Version 5.3.28</h3>
  2174. <?php release_date('12-Dec-2013'); ?>
  2175. <ul><li>Openssl:
  2176. <ul>
  2177. <li>Fixed handling null bytes in subjectAltName (CVE-2013-4248).</li>
  2178. <li>Fixed memory corruption in openssl_x509_parse() (CVE-2013-6420). (Stefan Esser).</li>
  2179. </ul></li>
  2180. </ul>
  2181. <!-- }}} --></section>
  2182. <section class="version" id="5.3.27"><!-- {{{ 5.3.27 -->
  2183. <h3>Version 5.3.27</h3>
  2184. <?php release_date('11-Jul-2013'); ?>
  2185. <ul><li>Core:
  2186. <ul>
  2187. <li><?php bugfix(64966); ?> (segfault in zend_do_fcall_common_helper_SPEC).</li>
  2188. <li><?php bugfix(64960); ?> (Segfault in gc_zval_possible_root).</li>
  2189. <li><?php bugfix(64934); ?> (Apache2 TS crash with get_browser()).</li>
  2190. <li><?php bugfix(63186); ?> (compile failure on netbsd).</li>
  2191. </ul></li>
  2192. <li>DateTime:
  2193. <ul>
  2194. <li><?php bugfix(53437); ?> (Crash when using unserialized DatePeriod instance).</li>
  2195. </ul></li>
  2196. <li>PDO_firebird:
  2197. <ul>
  2198. <li><?php bugfix(64037); ?> (Firebird return wrong value for numeric field).</li>
  2199. <li><?php bugfix(62024); ?> (Cannot insert second row with null using parametrized query).</li>
  2200. </ul></li>
  2201. <li>PDO_pgsql:
  2202. <ul>
  2203. <li><?php bugfix(64949); ?> (Buffer overflow in _pdo_pgsql_error).</li>
  2204. </ul></li>
  2205. <li>pgsql:
  2206. <ul>
  2207. <li><?php bugfix(64609); ?> (pg_convert enum type support).</li>
  2208. </ul></li>
  2209. <li>SPL:
  2210. <ul>
  2211. <li><?php bugfix(64997); ?> (Segfault while using RecursiveIteratorIterator on 64-bits systems).</li>
  2212. </ul></li>
  2213. <li>XML:
  2214. <ul>
  2215. <li><?php bugfix(65236); ?> (heap corruption in xml parser).</li>
  2216. </ul></li>
  2217. </ul>
  2218. <!-- }}} --></section>
  2219. <section class="version" id="5.5.0"><!-- {{{ 5.5.0 -->
  2220. <h3>Version 5.5.0</h3>
  2221. <?php release_date('20-Jun-2013'); ?>
  2222. <ul>
  2223. <li>Drop support for bison &lt; 2.4 when building PHP from GIT source</li>
  2224. </ul>
  2225. <ul>
  2226. <li>Improved Zend Engine:
  2227. <ul>
  2228. <li>Added ARMv7/v8 versions of various Zend arithmetic functions that are implemented using inline assembler</li>
  2229. <li>Added systemtap support by enabling systemtap compatible dtrace probes on linux</li>
  2230. <li>Optimized access to temporary and compiled VM variables. 8% less memory reads</li>
  2231. <li>The VM stacks for passing function arguments and syntaticaly nested calls
  2232. were merged into a single stack. The stack size needed for op_array
  2233. execution is calculated at compile time and preallocated at once. As result
  2234. all the stack push operations don't require checks for stack overflow
  2235. any more</li>
  2236. </ul></li>
  2237. </ul>
  2238. <ul>
  2239. <li>General improvements:
  2240. <ul>
  2241. <li>Added generators and coroutines.</li>
  2242. <li>Added "finally" keyword. </li>
  2243. <li>Added simplified password hashing API.</li>
  2244. <li>Added support for constant array/string dereferencing.</li>
  2245. <li>Added Class Name Resolution As Scalar Via "class" Keyword</li>
  2246. <li>Added support for using empty() on the result of function calls and other expressions</li>
  2247. <li>Added support for non-scalar Iterator keys in foreach</li>
  2248. <li>Added support for list in foreach</li>
  2249. </ul></li>
  2250. </ul>
  2251. <ul>
  2252. <li>Core:
  2253. <ul>
  2254. <li>Added Zend Opcache extension and enable building it by default.</li>
  2255. <li>Added array_column function which returns a column in a multidimensional array</li>
  2256. <li>Added boolval()</li>
  2257. <li>Added "Z" option to pack/unpack</li>
  2258. <li>Added optional second argument for assert() to specify custom message</li>
  2259. <li>Added support for changing the process's title in CLI/CLI-Server SAPIs. The implementation is more robust that the proctitle PECL module</li>
  2260. <li>Improve set_exception_handler while doing reset</li>
  2261. <li>Return previous handler when passing NULL to set_error_handler and set_exception_handler</li>
  2262. <li>Implemented <?php bugl(64175); ?> (Added HTTP codes as of RFC 6585)</li>
  2263. <li>Implemented <?php bugl(60738); ?> (Allow 'set_error_handler' to handle NULL)</li>
  2264. <li>Implemented <?php bugl(60524); ?> (specify temp dir by php.ini)</li>
  2265. <li>Implemented <?php bugl(46487); ?> (Dereferencing process-handles no longer waits on those processes)</li>
  2266. <li><?php bugfix(65051); ?> (count() off by one inside unset())</li>
  2267. <li><?php bugfix(64988); ?> (Class loading order affects E_STRICT warning)</li>
  2268. <li><?php bugfix(64966); ?> (segfault in zend_do_fcall_common_helper_SPEC)</li>
  2269. <li><?php bugfix(64960); ?> (Segfault in gc_zval_possible_root)</li>
  2270. <li><?php bugfix(64936); ?> (doc comments picked up from previous scanner run)</li>
  2271. <li><?php bugfix(64934); ?> (Apache2 TS crash with get_browser())</li>
  2272. <li><?php bugfix(64879); ?> (Heap based buffer overflow in quoted_printable_encode, CVE 2013-2110)</li>
  2273. <li><?php bugfix(64853); ?> (Use of no longer available ini directives causes crash on TS build)</li>
  2274. <li><?php bugfix(64821); ?> (Custom Exceptions crash when internal properties overridden)</li>
  2275. <li><?php bugfix(64720); ?> (SegFault on zend_deactivate).</li>
  2276. <li><?php bugfix(64677); ?> (execution operator `` stealing surrounding arguments)</li>
  2277. <li><?php bugfix(64660); ?> (Segfault on memory exhaustion within function definition)</li>
  2278. <li><?php bugfix(64578); ?> (debug_backtrace in set_error_handler corrupts zend heap: segfault)</li>
  2279. <li><?php bugfix(64565); ?> (copy doesn't report failure on partial copy)</li>
  2280. <li><?php bugfix(64555); ?> (foreach no longer copies keys if they are interned)</li>
  2281. <li><?php bugfix(47675); ?> and <?php bugfix(64577); ?> (fd leak on Solaris)</li>
  2282. <li><?php bugfix(64544); ?> (Valgrind warnings after using putenv)</li>
  2283. <li><?php bugfix(64515); ?> (Memoryleak when using the same variablename 2times in function declaration)</li>
  2284. <li><?php bugfix(64503); ?> (Compilation fails with error: conflicting types for 'zendparse')</li>
  2285. <li><?php bugfix(64239); ?> (Debug backtrace changed behavior since 5.4.10 or 5.4.11)</li>
  2286. <li><?php bugfix(64523); ?> allow XOR in php.ini</li>
  2287. <li><?php bugfix(64354); ?> (Unserialize array of objects whose class can't be autoloaded fail)</li>
  2288. <li><?php bugfix(64370); ?> (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT'])</li>
  2289. <li><?php bugfix(64166); ?> (quoted-printable-encode stream filter incorrectly discarding whitespace)</li>
  2290. <li><?php bugfix(64142); ?> (dval to lval different behavior on ppc64)</li>
  2291. <li><?php bugfix(64135); ?> (Exceptions from set_error_handler are not always propagated)</li>
  2292. <li><?php bugfix(63980); ?> (object members get trimmed by zero bytes)</li>
  2293. <li><?php bugfix(63874); ?> (Segfault if php_strip_whitespace has heredoc)</li>
  2294. <li><?php bugfix(63830); ?> (Segfault on undefined function call in nested generator)</li>
  2295. <li><?php bugfix(63822); ?> (Crash when using closures with ArrayAccess)</li>
  2296. <li><?php bugfix(61681); ?> (Malformed grammar)</li>
  2297. <li><?php bugfix(61038); ?> (unpack("a5", "str\0\0") does not work as expected)</li>
  2298. <li><?php bugfix(61025); ?> (__invoke() visibility not honored)</li>
  2299. <li><?php bugfix(60833); ?> (self, parent, static behave inconsistently case-sensitive)</li>
  2300. <li><?php bugfix(52126); ?> timestamp for mail.log</li>
  2301. <li><?php bugfix(49348); ?> (Uninitialized ++$foo->bar; does not cause a notice)</li>
  2302. <li><?php bugfix(23955); ?> allow specifying Max-Age attribute in setcookie()</li>
  2303. <li><?php bugfix(18556); ?> (Engine uses locale rules to handle class names)</li>
  2304. <li>Fix undefined behavior when converting double variables to integers. The double is now always rounded towards zero, the remainder of its division by 2^32 or 2^64 (depending on sizeof(long)) is calculated and it's made signed assuming a two's complement representation</li>
  2305. </ul></li>
  2306. </ul>
  2307. <ul>
  2308. <li>Removed legacy features:
  2309. <ul>
  2310. <li>Remove php_logo_guid(), php_egg_logo_guid(), php_real_logo_guid(), zend_logo_guid()</li>
  2311. <li>Drop Windows XP and 2003 support</li>
  2312. </ul></li>
  2313. </ul>
  2314. <ul>
  2315. <li>Apache2 Handler SAPI:
  2316. <ul>
  2317. <li>Enabled Apache 2.4 configure option for Windows.</li>
  2318. </ul></li>
  2319. </ul>
  2320. <ul>
  2321. <li>Calendar:
  2322. <ul>
  2323. <li><?php bugfix(64895); ?> (Integer overflow in SndToJewish).</li>
  2324. <li><?php bugfix(54254); ?> (cal_from_jd returns month = 6 when there is only one Adar).</li>
  2325. </ul></li>
  2326. </ul>
  2327. <ul>
  2328. <li>CLI server:
  2329. <ul>
  2330. <li><?php bugfix(64128); ?> (buit-in web server is broken on ppc64).</li>
  2331. </ul></li>
  2332. </ul>
  2333. <ul>
  2334. <li>CURL:
  2335. <ul>
  2336. <li>Remove curl stream wrappers.</li>
  2337. <li>Implemented <?php bugl(46439); ?> - added CURLFile for safer file uploads</li>
  2338. <li>Added support for CURLOPT_FTP_RESPONSE_TIMEOUT, CURLOPT_APPEND,
  2339. CURLOPT_DIRLISTONLY, CURLOPT_NEW_DIRECTORY_PERMS, CURLOPT_NEW_FILE_PERMS,
  2340. CURLOPT_NETRC_FILE, CURLOPT_PREQUOTE, CURLOPT_KRBLEVEL, CURLOPT_MAXFILESIZE,
  2341. CURLOPT_FTP_ACCOUNT, CURLOPT_COOKIELIST, CURLOPT_IGNORE_CONTENT_LENGTH,
  2342. CURLOPT_CONNECT_ONLY, CURLOPT_LOCALPORT, CURLOPT_LOCALPORTRANGE,
  2343. CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_SSL_SESSIONID_CACHE,
  2344. CURLOPT_FTP_SSL_CCC, CURLOPT_HTTP_CONTENT_DECODING,
  2345. CURLOPT_HTTP_TRANSFER_DECODING, CURLOPT_PROXY_TRANSFER_MODE,
  2346. CURLOPT_ADDRESS_SCOPE, CURLOPT_CRLFILE, CURLOPT_ISSUERCERT,
  2347. CURLOPT_USERNAME, CURLOPT_PASSWORD, CURLOPT_PROXYUSERNAME,
  2348. CURLOPT_PROXYPASSWORD, CURLOPT_NOPROXY, CURLOPT_SOCKS5_GSSAPI_NEC,
  2349. CURLOPT_SOCKS5_GSSAPI_SERVICE, CURLOPT_TFTP_BLKSIZE,
  2350. CURLOPT_SSH_KNOWNHOSTS, CURLOPT_FTP_USE_PRET, CURLOPT_MAIL_FROM,
  2351. CURLOPT_MAIL_RCPT, CURLOPT_RTSP_CLIENT_CSEQ, CURLOPT_RTSP_SERVER_CSEQ,
  2352. CURLOPT_RTSP_SESSION_ID, CURLOPT_RTSP_STREAM_URI, CURLOPT_RTSP_TRANSPORT,
  2353. CURLOPT_RTSP_REQUEST, CURLOPT_RESOLVE, CURLOPT_ACCEPT_ENCODING,
  2354. CURLOPT_TRANSFER_ENCODING, CURLOPT_DNS_SERVERS and CURLOPT_USE_SSL</li>
  2355. <li><?php bugfix(55635); ?> (CURLOPT_BINARYTRANSFER no longer used. The constant
  2356. still exists for backward compatibility but is doing nothing)</li>
  2357. <li><?php bugfix(54995); ?> (Missing CURLINFO_RESPONSE_CODE support)</li>
  2358. <li>Added new functions curl_escape, curl_multi_setopt, curl_multi_strerror
  2359. curl_pause, curl_reset, curl_share_close, curl_share_init,
  2360. curl_share_setopt curl_strerror and curl_unescape</li>
  2361. <li>Addes new curl options CURLOPT_TELNETOPTIONS, CURLOPT_GSSAPI_DELEGATION,
  2362. CURLOPT_ACCEPTTIMEOUT_MS, CURLOPT_SSL_OPTIONS, CURLOPT_TCP_KEEPALIVE,
  2363. CURLOPT_TCP_KEEPIDLE and CURLOPT_TCP_KEEPINTVL</li>
  2364. </ul></li>
  2365. </ul>
  2366. <ul>
  2367. <li>DateTime:
  2368. <ul>
  2369. <li>Added DateTimeImmutable - a variant of DateTime that only returns the
  2370. modified state instead of changing itself.</li>
  2371. <li><?php bugfix(64825); ?> (Invalid free when unserializing DateTimeZone).</li>
  2372. <li><?php bugfix(64359); ?> (strftime crash with VS2012)</li>
  2373. <li><?php bugfix(62852); ?> (Unserialize Invalid Date causes crash)</li>
  2374. <li><?php bugfix(61642); ?> (modify("+5 weekdays") returns Sunday)</li>
  2375. <li><?php bugfix(60774); ?> (DateInterval::format("%a") is always zero when an
  2376. interval is created using the createFromDateString method)</li>
  2377. <li><?php bugfix(54567); ?> (DateTimeZone serialize/unserialize)</li>
  2378. <li><?php bugfix(53437); ?> (Crash when using unserialized DatePeriod instance)</li>
  2379. </ul></li>
  2380. </ul>
  2381. <ul>
  2382. <li>dba:
  2383. <ul>
  2384. <li><?php bugfix(62489); ?> (dba_insert not working as expected)</li>
  2385. </ul></li>
  2386. </ul>
  2387. <ul>
  2388. <li>Filter:
  2389. <ul>
  2390. <li>Implemented <?php bugl(49180); ?> added MAC address validation.</li>
  2391. </ul></li>
  2392. </ul>
  2393. <ul>
  2394. <li>Fileinfo:
  2395. <ul>
  2396. <li>Upgraded libmagic to 5.14.</li>
  2397. <li><?php bugfix(64830); ?> (mimetype detection segfaults on mp3 file)</li>
  2398. <li><?php bugfix(63590); ?> (Different results in TS and NTS under Windows)</li>
  2399. <li><?php bugfix(63248); ?> (Load multiple magic files from a directory under Windows)</li>
  2400. </ul></li>
  2401. </ul>
  2402. <ul>
  2403. <li>FPM:
  2404. <ul>
  2405. <li>Add --with-fpm-systemd option to report health to systemd, and
  2406. systemd_interval option to configure this. The service can now use
  2407. Type=notify in the systemd unit file.</li>
  2408. <li>Ignore QUERY_STRING when sent in SCRIPT_FILENAME</li>
  2409. <li>Log a warning when a syscall fails</li>
  2410. <li>Implemented <?php bugl(64764); ?> (add support for FPM init.d script)</li>
  2411. <li><?php bugfix(64915); ?> (error_log ignored when daemonize=0)</li>
  2412. <li><?php bugfix(63999); ?> (php with fpm fails to build on Solaris 10 or 11)</li>
  2413. <li>Fixed some possible memory or resource leaks and possible null dereference
  2414. detected by code coverity scan</li>
  2415. </ul></li>
  2416. </ul>
  2417. <ul>
  2418. <li>GD:
  2419. <ul>
  2420. <li><?php bugfix(64962); ?> (imagerotate produces corrupted image).</li>
  2421. <li><?php bugfix(64961); ?> (segfault in imagesetinterpolation)</li>
  2422. <li>Fix build with system libgd &gt;= 2.1 which is now the minimal
  2423. version required (as build with previous version is broken).
  2424. No change when bundled libgd is used</li>
  2425. <li>Upgraded libgd to 2.1</li>
  2426. </ul></li>
  2427. </ul>
  2428. <ul>
  2429. <li>hash:
  2430. <ul>
  2431. <li>Added support for PBKDF2 via hash_pbkdf2().</li>
  2432. <li><?php bugfix(64745); ?> (hash_pbkdf2() truncates data when using default length
  2433. and hex output)</li>
  2434. </ul></li>
  2435. </ul>
  2436. <ul>
  2437. <li>intl:
  2438. <ul>
  2439. <li>Added UConverter wrapper.</li>
  2440. <li>The intl extension now requires ICU 4.0+</li>
  2441. <li>Added intl.use_exceptions INI directive, which controls what happens when
  2442. global errors are set together with intl.error_level</li>
  2443. <li>MessageFormatter::format() and related functions now accepted named
  2444. arguments and mixed numeric/named arguments in ICU 4.8+</li>
  2445. <li>MessageFormatter::format() and related functions now don't error out when
  2446. an insufficient argument count is provided. Instead, the placeholders will
  2447. remain unsubstituted</li>
  2448. <li>MessageFormatter::parse() and MessageFormat::format() (and their static
  2449. equivalents) don't throw away better than second precision in the arguments</li>
  2450. <li>IntlDateFormatter::__construct and datefmt_create() now accept for the
  2451. $timezone argument time zone identifiers, IntlTimeZone objects, DateTimeZone
  2452. objects and NULL</li>
  2453. <li>IntlDateFormatter::__construct and datefmt_create() no longer accept invalid
  2454. timezone identifiers or empty strings</li>
  2455. <li>The default time zone used in IntlDateFormatter::__construct and
  2456. datefmt_create() (when the corresponding argument is not passed or NULL is
  2457. passed) is now the one given by date_default_timezone_get(), not the
  2458. default ICU time zone</li>
  2459. <li>The time zone passed to the IntlDateFormatter is ignored if it is NULL and
  2460. if the calendar passed is an IntlCalendar object -- in this case, the
  2461. IntlCalendar's time zone will be used instead. Otherwise, the time zone
  2462. specified in the $timezone argument is used instead. This does not affect
  2463. old code, as IntlCalendar was introduced in this version</li>
  2464. <li>IntlDateFormatter::__construct and datefmt_create() now accept for the
  2465. $calendar argument also IntlCalendar objects</li>
  2466. <li>IntlDateFormatter::getCalendar() and datefmt_get_calendar() return false
  2467. if the IntlDateFormatter was set up with an IntlCalendar instead of the
  2468. constants IntlDateFormatter::GREGORIAN/TRADITIONAL. IntlCalendar did not
  2469. exist before this version</li>
  2470. <li>IntlDateFormatter::setCalendar() and datefmt_set_calendar() now also accept
  2471. an IntlCalendar object, in which case its time zone is taken. Passing a
  2472. constant is still allowed, and still keeps the time zone</li>
  2473. <li>IntlDateFormatter::setTimeZoneID() and datefmt_set_timezone_id() are
  2474. deprecated. Use IntlDateFormatter::setTimeZone() or datefmt_set_timezone()
  2475. instead</li>
  2476. <li>IntlDateFormatter::format() and datefmt_format() now also accept an
  2477. IntlCalendar object for formatting</li>
  2478. <li>Added the classes: IntlCalendar, IntlGregorianCalendar, IntlTimeZone,
  2479. IntlBreakIterator, IntlRuleBasedBreakIterator and
  2480. IntlCodePointBreakIterator</li>
  2481. <li>Added the functions: intlcal_get_keyword_values_for_locale(),
  2482. intlcal_get_now(), intlcal_get_available_locales(), intlcal_get(),
  2483. intlcal_get_time(), intlcal_set_time(), intlcal_add(),
  2484. intlcal_set_time_zone(), intlcal_after(), intlcal_before(), intlcal_set(),
  2485. intlcal_roll(), intlcal_clear(), intlcal_field_difference(),
  2486. intlcal_get_actual_maximum(), intlcal_get_actual_minimum(),
  2487. intlcal_get_day_of_week_type(), intlcal_get_first_day_of_week(),
  2488. intlcal_get_greatest_minimum(), intlcal_get_least_maximum(),
  2489. intlcal_get_locale(), intlcal_get_maximum(),
  2490. intlcal_get_minimal_days_in_first_week(), intlcal_get_minimum(),
  2491. intlcal_get_time_zone(), intlcal_get_type(),
  2492. intlcal_get_weekend_transition(), intlcal_in_daylight_time(),
  2493. intlcal_is_equivalent_to(), intlcal_is_lenient(), intlcal_is_set(),
  2494. intlcal_is_weekend(), intlcal_set_first_day_of_week(),
  2495. intlcal_set_lenient(), intlcal_equals(),
  2496. intlcal_get_repeated_wall_time_option(),
  2497. intlcal_get_skipped_wall_time_option(),
  2498. intlcal_set_repeated_wall_time_option(),
  2499. intlcal_set_skipped_wall_time_option(), intlcal_from_date_time(),
  2500. intlcal_to_date_time(), intlcal_get_error_code(),
  2501. intlcal_get_error_message(), intlgregcal_create_instance(),
  2502. intlgregcal_set_gregorian_change(), intlgregcal_get_gregorian_change() and
  2503. intlgregcal_is_leap_year()</li>
  2504. <li>Added the functions: intltz_create_time_zone(), intltz_create_default(),
  2505. intltz_get_id(), intltz_get_gmt(), intltz_get_unknown(),
  2506. intltz_create_enumeration(), intltz_count_equivalent_ids(),
  2507. intltz_create_time_zone_id_enumeration(), intltz_get_canonical_id(),
  2508. intltz_get_region(), intltz_get_tz_data_version(),
  2509. intltz_get_equivalent_id(), intltz_use_daylight_time(), intltz_get_offset(),
  2510. intltz_get_raw_offset(), intltz_has_same_rules(), intltz_get_display_name(),
  2511. intltz_get_dst_savings(), intltz_from_date_time_zone(),
  2512. intltz_to_date_time_zone(), intltz_get_error_code(),
  2513. intltz_get_error_message()</li>
  2514. <li>Added the methods: IntlDateFormatter::formatObject(),
  2515. IntlDateFormatter::getCalendarObject(), IntlDateFormatter::getTimeZone(),
  2516. IntlDateFormatter::setTimeZone()</li>
  2517. <li>Added the functions: datefmt_format_object(), datefmt_get_calendar_object(),
  2518. datefmt_get_timezone(), datefmt_set_timezone(),
  2519. datefmt_get_calendar_object(), intlcal_create_instance()</li>
  2520. </ul></li>
  2521. </ul>
  2522. <ul>
  2523. <li>mbstring:
  2524. <ul>
  2525. <li><?php bugfix(64769); ?> (mbstring PHPTs crash on Windows x64).</li>
  2526. </ul></li>
  2527. </ul>
  2528. <ul>
  2529. <li>MCrypt:
  2530. <ul>
  2531. <li>mcrypt_ecb(), mcrypt_cbc(), mcrypt_cfb() and mcrypt_ofb() now throw E_DEPRECATED.</li>
  2532. </ul></li>
  2533. </ul>
  2534. <ul>
  2535. <li>mysql:
  2536. <ul>
  2537. <li>This extension is now deprecated, and deprecation warnings will be generated
  2538. when connections are established to databases via mysql_connect(),
  2539. mysql_pconnect(), or through implicit connection: use MySQLi or PDO_MySQL
  2540. instead</li>
  2541. <li>Dropped support for LOAD DATA LOCAL INFILE handlers when using libmysql.
  2542. Known for stability problems</li>
  2543. <li>Added support for SHA256 authentication available with MySQL 5.6.6+</li>
  2544. </ul></li>
  2545. </ul>
  2546. <ul>
  2547. <li>mysqli:
  2548. <ul>
  2549. <li>Added mysqli_begin_transaction()/mysqli::begin_transaction(). Implemented
  2550. all options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT
  2551. and ROLLBACK through options to mysqli_commit()/mysqli_rollback() and their
  2552. respective OO counterparts. They work in libmysql and mysqlnd mode</li>
  2553. <li>Added mysqli_savepoint(), mysqli_release_savepoint()</li>
  2554. <li><?php bugfix(64726); ?> (Segfault when calling fetch_object on a use_result and DB
  2555. pointer has closed)</li>
  2556. <li><?php bugfix(64394); ?> (MYSQL_OPT_CAN_HANDLE_EXPIRED_PASSWORDS undeclared when
  2557. using Connector/C)</li>
  2558. </ul></li>
  2559. </ul>
  2560. <ul>
  2561. <li>mysqlnd:
  2562. <ul>
  2563. <li>Add new begin_transaction() call to the connection object. Implemented all
  2564. options, per MySQL 5.6, which can be used with START TRANSACTION, COMMIT
  2565. and ROLLBACK</li>
  2566. <li>Added mysqlnd_savepoint(), mysqlnd_release_savepoint()</li>
  2567. <li><?php bugfix(63530); ?> (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc
  2568. for stmt-&gt;param_bind)</li>
  2569. <li>Fixed return value of mysqli_stmt_affected_rows() in the time after
  2570. prepare() and before execute()</li>
  2571. </ul></li>
  2572. </ul>
  2573. <ul>
  2574. <li>PCRE:
  2575. <ul>
  2576. <li>Merged PCRE 8.32</li>
  2577. <li>Deprecated the /e modifier</li>
  2578. <li><?php bugfix(63284); ?> (Upgrade PCRE to 8.31)</li>
  2579. </ul></li>
  2580. </ul>
  2581. <ul>
  2582. <li>PDO:
  2583. <ul>
  2584. <li><?php bugfix(63176); ?> (Segmentation fault when instantiate 2 persistent PDO to the same db server)</li>
  2585. </ul></li>
  2586. </ul>
  2587. <ul>
  2588. <li>PDO_DBlib:
  2589. <ul>
  2590. <li><?php bugfix(63638); ?> (Cannot connect to SQL Server 2008 with PDO dblib)</li>
  2591. <li><?php bugfix(64338); ?> (pdo_dblib can't connect to Azure SQL)</li>
  2592. <li><?php bugfix(64808); ?> (FreeTDS PDO getColumnMeta on a prepared but not executed statement crashes)</li>
  2593. </ul></li>
  2594. </ul>
  2595. <ul>
  2596. <li>PDO_pgsql:
  2597. <ul>
  2598. <li><?php bugfix(64949); ?> (Buffer overflow in _pdo_pgsql_error)</li>
  2599. </ul></li>
  2600. </ul>
  2601. <ul>
  2602. <li>PDO_mysql:
  2603. <ul>
  2604. <li><?php bugfix(48724); ?> (getColumnMeta() doesn't return native_type for BIT, TINYINT and YEAR)</li>
  2605. </ul></li>
  2606. </ul>
  2607. <ul>
  2608. <li>pgsql:
  2609. <ul>
  2610. <li>Added pg_escape_literal() and pg_escape_identifier()</li>
  2611. <li><?php bugfix(46408); ?> Locale number format settings can cause pg_query_params to break with numerics</li>
  2612. </ul></li>
  2613. </ul>
  2614. <ul>
  2615. <li>Phar:
  2616. <ul>
  2617. <li>Fixed timestamp update on Phar contents modification</li>
  2618. </ul></li>
  2619. </ul>
  2620. <ul>
  2621. <li>readline:
  2622. <ul>
  2623. <li><?php bugfix(55694); ?> (Expose additional readline variable to prevent default filename completion)</li>
  2624. </ul></li>
  2625. </ul>
  2626. <ul>
  2627. <li>Reflection:
  2628. <ul>
  2629. <li><?php bugfix(64007); ?> (There is an ability to create instance of Generator by hand)</li>
  2630. </ul></li>
  2631. </ul>
  2632. <ul>
  2633. <li>Sockets:
  2634. <ul>
  2635. <li>Added socket_cmsg_space(), socket_sendmsg(), and socket_recvmsg() functions</li>
  2636. <li><?php bugfix(64508); ?> (Fails to build with --disable-ipv6)</li>
  2637. <li><?php bugfix(64287); ?> (sendmsg/recvmsg shutdown handler causes segfault)</li>
  2638. </ul></li>
  2639. </ul>
  2640. <ul>
  2641. <li>SPL:
  2642. <ul>
  2643. <li><?php bugfix(64997); ?> (Segfault while using RecursiveIteratorIterator on 64-bits systems)</li>
  2644. <li><?php bugfix(64264); ?> (SPLFixedArray toArray problem)</li>
  2645. <li><?php bugfix(64228); ?> (RecursiveDirectoryIterator always assumes SKIP_DOTS)</li>
  2646. <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended)</li>
  2647. <li><?php bugfix(60560); ?> (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings)</li>
  2648. <li><?php bugfix(52861); ?> (unset fails with ArrayObject and deep arrays)</li>
  2649. <li>Implement <?php bugl(48358); ?> (Add SplDoublyLinkedList::add() to insert an element at a given offset)</li>
  2650. </ul></li>
  2651. </ul>
  2652. <ul>
  2653. <li>SNMP:
  2654. <ul>
  2655. <li><?php bugfix(64765); ?> (Some IPv6 addresses get interpreted wrong)</li>
  2656. <li><?php bugfix(64159); ?> (Truncated snmpget)</li>
  2657. <li><?php bugfix(64124); ?> (IPv6 malformed)</li>
  2658. <li><?php bugfix(61981); ?> (OO API, walk: $suffix_as_key is not working correctly)</li>
  2659. </ul></li>
  2660. </ul>
  2661. <ul>
  2662. <li>SOAP:
  2663. <ul>
  2664. <li>Added SoapClient constructor option 'ssl_method' to specify ssl method</li>
  2665. </ul></li>
  2666. </ul>
  2667. <ul>
  2668. <li>Streams:
  2669. <ul>
  2670. <li><?php bugfix(64770); ?> (stream_select() fails with pipes returned by proc_open() on Windows x64)</li>
  2671. <li>Fixed Windows x64 version of stream_socket_pair() and improved error handling</li>
  2672. </ul></li>
  2673. </ul>
  2674. <ul>
  2675. <li>Tokenizer:
  2676. <ul>
  2677. <li><?php bugfix(60097); ?> (token_get_all fails to lex nested heredoc)</li>
  2678. </ul></li>
  2679. </ul>
  2680. <ul>
  2681. <li>Zip:
  2682. <ul>
  2683. <li>Upgraded libzip to 0.10.1</li>
  2684. <li><?php bugfix(64452); ?> (Zip crash intermittently)</li>
  2685. <li><?php bugfix(64342); ?> (ZipArchive::addFile() has to check for file existence)</li>
  2686. </ul></li>
  2687. </ul>
  2688. <!-- }}} --></section>
  2689. <section class="version" id="5.4.17"><!-- {{{ 5.4.17 -->
  2690. <h3>Version 5.4.17</h3>
  2691. <?php release_date('04-Jul-2013'); ?>
  2692. <ul><li>Core:
  2693. <ul>
  2694. <li><?php bugfix(64988); ?> (Class loading order affects E_STRICT warning).</li>
  2695. <li><?php bugfix(64966); ?> (segfault in zend_do_fcall_common_helper_SPEC).</li>
  2696. <li><?php bugfix(64960); ?> (Segfault in gc_zval_possible_root).</li>
  2697. <li><?php bugfix(64936); ?> (doc comments picked up from previous scanner run).</li>
  2698. <li><?php bugfix(64934); ?> (Apache2 TS crash with get_browser()).</li>
  2699. <li><?php bugfix(64166); ?> (quoted-printable-encode stream filter incorrectly discarding whitespace).</li>
  2700. </ul></li>
  2701. <li>DateTime:
  2702. <ul>
  2703. <li><?php bugfix(53437); ?> (Crash when using unserialized DatePeriod instance).</li>
  2704. </ul></li>
  2705. <li>FPM:
  2706. <ul>
  2707. <li><?php bugfix(64915); ?> (error_log ignored when daemonize=0).</li>
  2708. <li>Implemented FR <?php bugl(64764); ?> (add support for FPM init.d script).</li>
  2709. </ul></li>
  2710. <li>PDO:
  2711. <ul>
  2712. <li><?php bugfix(63176); ?> (Segmentation fault when instantiate 2 persistent PDO to the same db server).</li>
  2713. </ul></li>
  2714. <li>PDO_DBlib:
  2715. <ul>
  2716. <li><?php bugfix(63638); ?> (Cannot connect to SQL Server 2008 with PDO dblib).</li>
  2717. <li><?php bugfix(64338); ?> (pdo_dblib can't connect to Azure SQL).</li>
  2718. <li><?php bugfix(64808); ?> (FreeTDS PDO getColumnMeta on a prepared but not executed statement crashes).</li>
  2719. </ul></li>
  2720. <li>PDO_firebird:
  2721. <ul>
  2722. <li><?php bugfix(64037); ?> (Firebird return wrong value for numeric field).</li>
  2723. <li><?php bugfix(62024); ?> (Cannot insert second row with null using parametrized query).</li>
  2724. </ul></li>
  2725. <li>PDO_mysql:
  2726. <ul>
  2727. <li><?php bugfix(48724); ?> (getColumnMeta() doesn't return native_type for BIT, TINYINT and YEAR).</li>
  2728. </ul></li>
  2729. <li>PDO_pgsql:
  2730. <ul>
  2731. <li><?php bugfix(64949); ?> (Buffer overflow in _pdo_pgsql_error).</li>
  2732. </ul></li>
  2733. <li>pgsql:
  2734. <ul>
  2735. <li><?php bugfix(64609); ?> (pg_convert enum type support).</li>
  2736. </ul></li>
  2737. <li>Readline:
  2738. <ul>
  2739. <li>Implement FR <?php bugl(55694); ?> (Expose additional readline variable to prevent default filename completion).</li>
  2740. </ul></li>
  2741. <li>SPL:
  2742. <ul>
  2743. <li><?php bugfix(64997); ?> (Segfault while using RecursiveIteratorIterator on 64-bits systems).</li>
  2744. </ul></li>
  2745. </ul>
  2746. <!-- }}} --></section>
  2747. <section class="version" id="5.4.16"><!-- {{{ 5.4.16 -->
  2748. <h3>Version 5.4.16</h3>
  2749. <?php release_date('06-Jun-2013'); ?>
  2750. <ul>
  2751. <li>Core:
  2752. <ul>
  2753. <li><?php bugfix(64879); ?> (Heap based buffer overflow in quoted_printable_encode, CVE-2013-2110).</li>
  2754. <li><?php bugfix(64853); ?> (Use of no longer available ini directives causes crash on TS build).</li>
  2755. <li><?php bugfix(64729); ?> (compilation failure on x32). </li>
  2756. <li><?php bugfix(64720); ?> (SegFault on zend_deactivate). </li>
  2757. <li><?php bugfix(64660); ?> (Segfault on memory exhaustion within function definition).</li>
  2758. </ul>
  2759. </li>
  2760. <li>Calendar:
  2761. <ul>
  2762. <li><?php bugfix(64895); ?> (Integer overflow in SndToJewish).</li>
  2763. </ul>
  2764. </li>
  2765. <li>Fileinfo:
  2766. <ul>
  2767. <li><?php bugfix(64830); ?> (mimetype detection segfaults on mp3 file).</li>
  2768. </ul>
  2769. </li>
  2770. <li>FPM:
  2771. <ul>
  2772. <li>Ignore QUERY_STRING when sent in SCRIPT_FILENAME.</li>
  2773. <li>Fixed some possible memory or resource leaks and possible null dereference detected by code coverity scan.</li>
  2774. <li>Log a warning when a syscall fails.</li>
  2775. <li>Add --with-fpm-systemd option to report health to systemd, and systemd_interval option to configure this. The service can now use Type=notify in the systemd unit file.</li>
  2776. </ul>
  2777. </li>
  2778. <li>MySQLi
  2779. <ul>
  2780. <li><?php bugfix(64726); ?> (Segfault when calling fetch_object on a use_result and DB pointer has closed).</li>
  2781. </ul>
  2782. </li>
  2783. <li>Phar:
  2784. <ul>
  2785. <li><?php bugfix(64214); ?> (PHAR PHPTs intermittently crash when run on DFS, SMB or with non std tmp dir).</li>
  2786. </ul>
  2787. </li>
  2788. <li>SNMP:
  2789. <ul>
  2790. <li><?php bugfix(64765); ?> (Some IPv6 addresses get interpreted wrong).</li>
  2791. <li><?php bugfix(64159); ?> (Truncated snmpget).</li>
  2792. </ul>
  2793. </li>
  2794. <li>Streams:
  2795. <ul>
  2796. <li><?php bugfix(64770); ?> (stream_select() fails with pipes returned by proc_open() on Windows x64).</li>
  2797. </ul>
  2798. </li>
  2799. <li>Zend Engine:
  2800. <ul>
  2801. <li><?php bugfix(64821); ?> (Custom Exceptions crash when internal properties overridden).</li>
  2802. </ul>
  2803. </li>
  2804. </ul>
  2805. <!-- }}} --></section>
  2806. <section class="version" id="5.3.26"><!-- {{{ 5.3.26 -->
  2807. <h3>Version 5.3.26</h3>
  2808. <?php release_date('06-Jun-2013'); ?>
  2809. <ul>
  2810. <li>Core:
  2811. <ul>
  2812. <li><?php bugfix(64879); ?> (Heap based buffer overflow in quoted_printable_encode, CVE-2013-2110).</li>
  2813. </ul>
  2814. </li>
  2815. <li>Calendar:
  2816. <ul>
  2817. <li><?php bugfix(64895); ?> (Integer overflow in SndToJewish).</li>
  2818. </ul>
  2819. </li>
  2820. <li>FPM:
  2821. <ul>
  2822. <li>Fixed some possible memory or resource leaks and possible null dereference detected by code coverity scan.</li>
  2823. <li>Log a warning when a syscall fails.</li>
  2824. </ul>
  2825. </li>
  2826. <li>MySQLi:
  2827. <ul>
  2828. <li><?php bugfix(64726); ?> (Segfault when calling fetch_object on a use_result and DB pointer has closed).</li>
  2829. </ul>
  2830. </li>
  2831. <li>Phar:
  2832. <ul>
  2833. <li><?php bugfix(64214); ?> (PHAR PHPTs intermittently crash when run on DFS, SMB or with non std tmp dir).</li>
  2834. </ul>
  2835. </li>
  2836. <li>Streams:
  2837. <ul>
  2838. <li><?php bugfix(64770); ?> (stream_select() fails with pipes returned by proc_open() on Windows x64).</li>
  2839. </ul>
  2840. </li>
  2841. <li>Zend Engine:
  2842. <ul>
  2843. <li><?php bugfix(64821); ?> (Custom Exception crash when internal properties overridden).</li>
  2844. </ul>
  2845. </li>
  2846. </ul>
  2847. <!-- }}} --></section>
  2848. <section class="version" id="5.4.15"><!-- {{{ 5.4.15 -->
  2849. <h3>Version 5.4.15</h3>
  2850. <?php release_date('09-May-2013'); ?>
  2851. <ul>
  2852. <li>Core:
  2853. <ul>
  2854. <li> <?php bugfix(64578); ?> (debug_backtrace in set_error_handler corrupts zend heap: segfault). </li>
  2855. <li> <?php bugfix(64458); ?> (dns_get_record result with string of length -1). </li>
  2856. <li> <?php bugfix(64433); ?> (follow_location parameter of context is ignored for most response codes). </li>
  2857. <li> <?php bugfix(47675); ?> (fd leak on Solaris).</li>
  2858. <li> <?php bugfix(64577); ?> (fd leak on Solaris).</li>
  2859. </ul></li>
  2860. <li>Fileinfo:
  2861. <ul>
  2862. <li> Upgraded libmagic to 5.14. </li>
  2863. </ul></li>
  2864. <li>Streams:
  2865. <ul>
  2866. <li> Fixed Windows x64 version of stream_socket_pair() and improved error handling.</li>
  2867. </ul></li>
  2868. <li>Zip:
  2869. <ul>
  2870. <li> <?php bugfix(64342); ?> (ZipArchive::addFile() has to check for file existence).</li>
  2871. </ul></li>
  2872. </ul>
  2873. <!-- }}} --></section>
  2874. <section class="version" id="5.3.25"><!-- {{{ 5.3.25 -->
  2875. <h3>Version 5.3.25</h3>
  2876. <?php release_date('09-May-2013'); ?>
  2877. <ul>
  2878. <li>Core:
  2879. <ul>
  2880. <li> <?php bugfix(64578); ?> (debug_backtrace in set_error_handler corrupts zend heap: segfault). </li>
  2881. <li> <?php bugfix(64458); ?> (dns_get_record result with string of length -1). </li>
  2882. <li> <?php bugfix(47675); ?> (fd leak on Solaris).</li>
  2883. <li> <?php bugfix(64577); ?> (fd leak on Solaris).</li>
  2884. </ul></li>
  2885. <li>Streams:
  2886. <ul>
  2887. <li> Fixed Windows x64 version of stream_socket_pair() and improved error handling.</li>
  2888. </ul></li>
  2889. <li>Zip:
  2890. <ul>
  2891. <li> <?php bugfix(64342); ?> (ZipArchive::addFile() has to check for file existence).</li>
  2892. </ul></li>
  2893. </ul>
  2894. <!-- }}} --></section>
  2895. <section class="version" id="5.4.14"><!-- {{{ 5.4.14 -->
  2896. <h3>Version 5.4.14</h3>
  2897. <?php echo release_date('11-April-2013'); ?>
  2898. <ul>
  2899. <li>Core:
  2900. <ul>
  2901. <li><?php bugfix(64529); ?> (Ran out of opcode space).</li>
  2902. <li><?php bugfix(64515); ?> (Memoryleak when using the same variablename two times in function declaration).</li>
  2903. <li><?php bugfix(64432); ?> (more empty delimiter warning in strX methods).</li>
  2904. <li><?php bugfix(64417); ?> (ArrayAccess::&amp;offsetGet() in a trait causes fatal error).</li>
  2905. <li><?php bugfix(64370); ?> (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).</li>
  2906. <li><?php bugfix(64239); ?> (Debug backtrace changed behavior since 5.4.10 or 5.4.11).</li>
  2907. <li><?php bugfix(63976); ?> (Parent class incorrectly using child constant in class property).</li>
  2908. <li><?php bugfix(63914); ?> (zend_do_fcall_common_helper_SPEC does not handle exceptions properly).</li>
  2909. <li><?php bugfix(62343); ?> (Show class_alias In get_declared_classes()).</li>
  2910. </ul></li>
  2911. <li>PCRE:
  2912. <ul>
  2913. <li>Merged PCRE 8.32.</li>
  2914. </ul></li>
  2915. <li>SNMP:
  2916. <ul>
  2917. <li><?php bugfix(61981); ?> (OO API, walk: $suffix_as_key is not working correctly).</li>
  2918. </ul></li>
  2919. <li>Zip:
  2920. <ul>
  2921. <li><?php bugfix(64452); ?> (Zip crash intermittently). (Anatol)</li>
  2922. </ul></li>
  2923. </ul>
  2924. <!-- }}} --></section>
  2925. <section class="version" id="5.3.24"><!-- {{{ 5.3.24 -->
  2926. <h3>Version 5.3.24</h3>
  2927. <?php release_date('11-Apr-2013'); ?>
  2928. <ul>
  2929. <li>Core:
  2930. <ul>
  2931. <li><?php bugfix(64370); ?> (microtime(true) less than $_SERVER['REQUEST_TIME_FLOAT']).</li>
  2932. <li><?php bugfix(63914); ?> (zend_do_fcall_common_helper_SPEC does not handle exceptions properly).</li>
  2933. <li><?php bugfix(62343); ?> (Show class_alias In get_declared_classes()).</li>
  2934. </ul></li>
  2935. <li>PCRE:
  2936. <ul>
  2937. <li>Merged PCRE 8.32.</li>
  2938. </ul></li>
  2939. <li>mysqlnd:
  2940. <ul>
  2941. <li><?php bugfix(63530); ?> (mysqlnd_stmt::bind_one_parameter crashes, uses wrong alloc for stmt->param_bind).</li>
  2942. </ul></li>
  2943. <li>DateTime:
  2944. <ul>
  2945. <li><?php bugfix(62852); ?> (Unserialize Invalid Date causes crash).</li>
  2946. </ul></li>
  2947. <li>Zip:
  2948. <ul>
  2949. <li><?php bugfix(64452); ?> (Zip crash intermittently).</li>
  2950. </ul></li>
  2951. </ul>
  2952. <!-- }}} --></section>
  2953. <section class="version" id="5.4.13"><!-- {{{ 5.4.13 -->
  2954. <h3>Version 5.4.13</h3>
  2955. <?php echo release_date('14-March-2013'); ?>
  2956. <ul>
  2957. <li>Core:
  2958. <ul>
  2959. <li><?php bugfix(64235); ?> (Insteadof not work for class method in 5.4.11).</li>
  2960. <li>Implemented FR <?php bugl(64175); ?> (Added HTTP codes as of RFC 6585).</li>
  2961. <li><?php bugfix(64142); ?> (dval to lval different behavior on ppc64). </li>
  2962. <li><?php bugfix(64070); ?> (Inheritance with Traits failed with error).</li>
  2963. </ul></li>
  2964. <li>CLI server:
  2965. <ul>
  2966. <li><?php bugfix(64128); ?> (buit-in web server is broken on ppc64).</li>
  2967. </ul></li>
  2968. <li>Mbstring:
  2969. <ul>
  2970. <li>mb_split() can now handle empty matches like preg_split() does.</li>
  2971. </ul></li>
  2972. <li>OpenSSL:
  2973. <ul>
  2974. <li><?php bugfix(61930); ?> (openssl corrupts ssl key resource when using
  2975. openssl_get_publickey()). </li>
  2976. </ul></li>
  2977. <li>PDO_mysql:
  2978. <ul>
  2979. <li><?php bugfix(60840); ?> (undefined symbol: mysqlnd_debug_std_no_trace_funcs).</li>
  2980. </ul></li>
  2981. <li>Phar:
  2982. <ul>
  2983. <li>Fixed timestamp update on Phar contents modification.</li>
  2984. </ul></li>
  2985. <li>SOAP:
  2986. <ul>
  2987. <li>Added check that soap.wsdl_cache_dir conforms to open_basedir
  2988. (CVE-2013-1635). </li>
  2989. <li>Disabled external entities loading (CVE-2013-1643, CVE-2013-1824).</li>
  2990. </ul></li>
  2991. <li>SPL:
  2992. <ul>
  2993. <li><?php bugfix(64264); ?> (SPLFixedArray toArray problem). </li>
  2994. <li><?php bugfix(64228); ?> (RecursiveDirectoryIterator always assumes SKIP_DOTS).</li>
  2995. <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended). </li>
  2996. <li><?php bugfix(52861); ?> (unset fails with ArrayObject and deep arrays).</li>
  2997. </ul></li>
  2998. <li>SNMP:
  2999. <ul>
  3000. <li><?php bugfix(64124); ?> (IPv6 malformed).</li>
  3001. </ul></li>
  3002. </ul>
  3003. <!-- }}} --></section>
  3004. <section class="version" id="5.3.23"><!-- {{{ 5.3.23 -->
  3005. <h3>Version 5.3.23</h3>
  3006. <?php echo release_date('14-March-2013'); ?>
  3007. <ul>
  3008. <li>Phar:
  3009. <ul>
  3010. <li>Fixed timestamp update on Phar contents modification.</li>
  3011. </ul></li>
  3012. <li>SOAP
  3013. <ul>
  3014. <li>Added check that soap.wsdl_cache_dir conforms to open_basedir
  3015. (CVE-2013-1635). </li>
  3016. <li>Disabled external entities loading (CVE-2013-1643, CVE-2013-1824).</li>
  3017. </ul></li>
  3018. <li>SPL:
  3019. <ul>
  3020. <li><?php bugfix(64264); ?> (SPLFixedArray toArray problem). </li>
  3021. <li><?php bugfix(64228); ?> (RecursiveDirectoryIterator always assumes SKIP_DOTS).</li>
  3022. <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended). </li>
  3023. <li><?php bugfix(52861); ?> (unset fails with ArrayObject and deep arrays).</li>
  3024. </ul></li>
  3025. </ul>
  3026. <!-- }}} --></section>
  3027. <section class="version" id="5.4.12"><!-- {{{ 5.4.12 -->
  3028. <h3>Version 5.4.12</h3>
  3029. <?php echo release_date('21-February-2013'); ?>
  3030. <ul>
  3031. <li>Core:
  3032. <ul>
  3033. <li><?php bugfix(64099); ?> (Wrong TSRM usage in zend_register_class alias).</li>
  3034. <li><?php bugfix(64011); ?> (get_html_translation_table() output incomplete with HTML_ENTITIES and ISO-8859-1).</li>
  3035. <li><?php bugfix(63982); ?> (isset() inconsistently produces a fatal error on protected property).</li>
  3036. <li><?php bugfix(63943); ?> (Bad warning text from strpos() on empty needle).</li>
  3037. <li><?php bugfix(63899); ?> (Use after scope error in zend_compile).</li>
  3038. <li><?php bugfix(63893); ?> (Poor efficiency of strtr() using array with keys of very different length).</li>
  3039. <li><?php bugfix(63882); ?> (zend_std_compare_objects crash on recursion).</li>
  3040. <li><?php bugfix(63462); ?> (Magic methods called twice for unset protected properties).</li>
  3041. <li><?php bugfix(62524); ?> (fopen follows redirects for non-3xx statuses).</li>
  3042. <li>Support BITMAPV5HEADER in getimagesize().</li>
  3043. </ul></li>
  3044. </ul>
  3045. <ul>
  3046. <li>Date:
  3047. <ul>
  3048. <li><?php bugfix(63699); ?> (Performance improvements for various ext/date functions).</li>
  3049. <li><?php bugfix(55397); ?> Comparsion of incomplete DateTime causes SIGSEGV.</li>
  3050. </ul></li>
  3051. </ul>
  3052. <ul>
  3053. <li>FPM:
  3054. <ul>
  3055. <li><?php bugfix(63999); ?> (php with fpm fails to build on Solaris 10 or 11).</li>
  3056. </ul></li>
  3057. </ul>
  3058. <ul>
  3059. <li>Litespeed:
  3060. <ul>
  3061. <li><?php bugfix(63228); ?> (-Werror=format-security error in lsapi code).</li>
  3062. </ul></li>
  3063. </ul>
  3064. <ul>
  3065. <li>sqlite3:
  3066. <ul>
  3067. <li><?php bugfix(63921); ?> (sqlite3::bindvalue and relative PHP functions aren't using sqlite3_*_int64 API).</li>
  3068. </ul></li>
  3069. </ul>
  3070. <ul>
  3071. <li>PDO_OCI:
  3072. <ul>
  3073. <li><?php bugfix(57702); ?> (Multi-row BLOB fetches).</li>
  3074. <li><?php bugfix(52958); ?> (Segfault in PDO_OCI on cleanup after running a long testsuite).</li>
  3075. </ul></li>
  3076. </ul>
  3077. <ul>
  3078. <li>PDO_sqlite:
  3079. <ul>
  3080. <li><?php bugfix(63916); ?> (PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite).</li>
  3081. </ul></li>
  3082. </ul>
  3083. <!-- }}} --></section>
  3084. <section class="version" id="5.3.22"><!-- {{{ 5.3.22 -->
  3085. <h3>Version 5.3.22</h3>
  3086. <?php echo release_date('21-February-2013'); ?>
  3087. <ul>
  3088. <li>Zend Engine:
  3089. <ul>
  3090. <li><?php bugfix(64099); ?> (Wrong TSRM usage in zend_Register_class alias).</li>
  3091. <li><?php bugfix(63899); ?> (Use after scope error in zend_compile).</li>
  3092. </ul></li>
  3093. </ul>
  3094. <ul>
  3095. <li>Core:
  3096. <ul>
  3097. <li><?php bugfix(63943); ?> (Bad warning text from strpos() on empty needle).</li>
  3098. </ul></li>
  3099. </ul>
  3100. <ul>
  3101. <li>Date:
  3102. <ul>
  3103. <li><?php bugfix(55397); ?> (comparsion of incomplete DateTime causes SIGSEGV).</li>
  3104. </ul></li>
  3105. </ul>
  3106. <ul>
  3107. <li>FPM:
  3108. <ul>
  3109. <li><?php bugfix(63999); ?> (php with fpm fails to build on Solaris 10 or 11).</li>
  3110. </ul></li>
  3111. </ul>
  3112. <ul>
  3113. <li>SPL:
  3114. <ul>
  3115. <li><?php bugfix(64106); ?> (Segfault on SplFixedArray[][x] = y when extended). </li>
  3116. </ul></li>
  3117. </ul>
  3118. <!-- }}} --></section>
  3119. <section class="version" id="5.4.11"><!-- {{{ 5.4.11 -->
  3120. <h3>Version 5.4.11</h3>
  3121. <?php echo release_date('17-January-2013'); ?>
  3122. <ul>
  3123. <li>Core:
  3124. <ul>
  3125. <li><?php bugfix(63762); ?> (Sigsegv when Exception::$trace is changed by user).</li>
  3126. <li><?php bugfix(43177); ?> (Errors in eval()'ed code produce status code 500).</li>
  3127. </ul></li>
  3128. </ul>
  3129. <ul>
  3130. <li>Filter:
  3131. <ul>
  3132. <li><?php bugfix(63757); ?> (getenv() produces memory leak with CGI SAPI).</li>
  3133. <li><?php bugfix(54096); ?> (FILTER_VALIDATE_INT does not accept +0 and -0).</li>
  3134. </ul></li>
  3135. </ul>
  3136. <ul>
  3137. <li>JSON:
  3138. <ul>
  3139. <li><?php bugfix(63737); ?> (json_decode does not properly decode with options parameter).</li>
  3140. </ul></li>
  3141. </ul>
  3142. <ul>
  3143. <li>CLI server:
  3144. <ul>
  3145. <li>Update list of common mime types. Added webm, ogv, ogg.</li>
  3146. </ul></li>
  3147. </ul>
  3148. <ul>
  3149. <li>cURL extension:
  3150. <ul>
  3151. <li>Fixed bug (segfault due to libcurl connection caching).</li>
  3152. <li><?php bugfix(63859); ?> (Memory leak when reusing curl-handle).</li>
  3153. <li><?php bugfix(63795); ?> (CURL &gt;= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST).</li>
  3154. <li><?php bugfix(63352); ?> (Can't enable hostname validation when using curl stream wrappers).</li>
  3155. <li><?php bugfix(55438); ?> (Curlwapper is not sending http header randomly).</li>
  3156. </ul></li>
  3157. </ul>
  3158. <!-- }}} --></section>
  3159. <section class="version" id="5.3.21"><!-- {{{ 5.3.21 -->
  3160. <h3>Version 5.3.21</h3>
  3161. <?php echo release_date('17-January-2013'); ?>
  3162. <ul>
  3163. <li>Zend Engine:
  3164. <ul>
  3165. <li><?php bugfix(63762); ?> (Sigsegv when Exception::$trace is changed by user).</li>
  3166. </ul></li>
  3167. </ul>
  3168. <ul>
  3169. <li>cURL extension:
  3170. <ul>
  3171. <li>Fixed bug (segfault due to libcurl connection caching).</li>
  3172. <li><?php bugfix(63795); ?> (CURL &gt;= 7.28.0 no longer support value 1 for CURLOPT_SSL_VERIFYHOST).</li>
  3173. <li><?php bugfix(63352); ?> (Can't enable hostname validation when using curl stream wrappers).</li>
  3174. <li><?php bugfix(55438); ?> (Curlwapper is not sending http header randomly).</li>
  3175. </ul></li>
  3176. </ul>
  3177. <!-- }}} --></section>
  3178. <section class="version" id="5.4.10"><!-- {{{ 5.4.10 -->
  3179. <h3>Version 5.4.10</h3>
  3180. <?php echo release_date('20-December-2012'); ?>
  3181. <ul>
  3182. <li>Core:
  3183. <ul>
  3184. <li><?php bugfix(63635); ?> (Segfault in gc_collect_cycles).</li>
  3185. <li><?php bugfix(63512); ?> (parse_ini_file() with INI_SCANNER_RAW removes quotes from value).</li>
  3186. <li><?php bugfix(63468); ?> (wrong called method as callback with inheritance).</li>
  3187. <li><?php bugfix(63451); ?> (config.guess file does not have AIX 7 defined, shared objects are not created).</li>
  3188. <li><?php bugfix(61557); ?> (Crasher in tt-rss backend.php).</li>
  3189. <li><?php bugfix(61272); ?> (ob_start callback gets passed empty string).</li>
  3190. </ul></li>
  3191. </ul>
  3192. <ul>
  3193. <li>Date:
  3194. <ul>
  3195. <li><?php bugfix(63666); ?> (Poor date() performance).</li>
  3196. <li><?php bugfix(63435); ?> (Datetime::format('u') sometimes wrong by 1 microsecond).</li>
  3197. </ul></li>
  3198. </ul>
  3199. <ul>
  3200. <li>Imap:
  3201. <ul>
  3202. <li><?php bugfix(63126); ?> (DISABLE_AUTHENTICATOR ignores array).</li>
  3203. </ul></li>
  3204. </ul>
  3205. <ul>
  3206. <li>Json:
  3207. <ul>
  3208. <li><?php bugfix(63588); ?> (use php_next_utf8_char and remove duplicate implementation).</li>
  3209. </ul></li>
  3210. </ul>
  3211. <ul>
  3212. <li>MySQLi:
  3213. <ul>
  3214. <li><?php bugfix(63361); ?> (missing header).</li>
  3215. </ul></li>
  3216. </ul>
  3217. <ul>
  3218. <li>MySQLnd:
  3219. <ul>
  3220. <li><?php bugfix(63398); ?> (Segfault when polling closed link).</li>
  3221. </ul></li>
  3222. </ul>
  3223. <ul>
  3224. <li>Fileinfo:
  3225. <ul>
  3226. <li><?php bugfix(63590); ?> (Different results in TS and NTS under Windows).</li>
  3227. </ul></li>
  3228. </ul>
  3229. <ul>
  3230. <li>FPM:
  3231. <ul>
  3232. <li><?php bugfix(63581); ?> Possible null dereference and buffer overflow.</li>
  3233. </ul></li>
  3234. </ul>
  3235. <ul>
  3236. <li>Pdo_sqlite:
  3237. <ul>
  3238. <li><?php bugfix(63149); ?> getColumnMeta should return the table name when system SQLite used.</li>
  3239. </ul></li>
  3240. </ul>
  3241. <ul>
  3242. <li>Apache2 Handler SAPI:
  3243. <ul>
  3244. <li>Enabled Apache 2.4 configure option for Windows.</li>
  3245. </ul></li>
  3246. </ul>
  3247. <ul>
  3248. <li>Reflection:
  3249. <ul>
  3250. <li><?php bugfix(63614); ?> (Fatal error on Reflection).</li>
  3251. </ul></li>
  3252. </ul>
  3253. <ul>
  3254. <li>SOAP:
  3255. <ul>
  3256. <li><?php bugfix(63271); ?> (SOAP wsdl cache is not enabled after initial requests).</li>
  3257. </ul></li>
  3258. </ul>
  3259. <ul>
  3260. <li>Sockets:
  3261. <ul>
  3262. <li><?php bugfix(49341); ?> (Add SO_REUSEPORT support for socket_set_option()).</li>
  3263. </ul></li>
  3264. </ul>
  3265. <!-- }}} --></section>
  3266. <section class="version" id="5.3.20"><!-- {{{ 5.3.20 -->
  3267. <h3>Version 5.3.20</h3>
  3268. <?php echo release_date('20-December-2012'); ?>
  3269. <ul>
  3270. <li>Zend Engine:
  3271. <ul>
  3272. <li><?php bugfix(63635); ?> (Segfault in gc_collect_cycles).</li>
  3273. <li><?php bugfix(63512); ?> (parse_ini_file() with INI_SCANNER_RAW removes quotes from value).</li>
  3274. <li><?php bugfix(63468); ?> (wrong called method as callback with inheritance).</li>
  3275. </ul></li>
  3276. </ul>
  3277. <ul>
  3278. <li>Core:
  3279. <ul>
  3280. <li><?php bugfix(63451); ?> (config.guess file does not have AIX 7 defined, shared objects are not created).</li>
  3281. <li><?php bugfix(63377); ?> (Segfault on output buffer).</li>
  3282. </ul></li>
  3283. </ul>
  3284. <ul>
  3285. <li>Apache2 Handler SAPI:
  3286. <ul>
  3287. <li>Enabled Apache 2.4 configure option for Windows.</li>
  3288. </ul></li>
  3289. </ul>
  3290. <ul>
  3291. <li>Date:
  3292. <ul>
  3293. <li><?php bugfix(63435); ?> (Datetime::format('u') sometimes wrong by 1 microsecond).</li>
  3294. </ul></li>
  3295. </ul>
  3296. <ul>
  3297. <li>Fileinfo:
  3298. <ul>
  3299. <li><?php bugfix(63248); ?> (Load multiple magic files from a directory under Windows).</li>
  3300. <li><?php bugfix(63590); ?> (Different results in TS and NTS under Windows).</li>
  3301. </ul></li>
  3302. </ul>
  3303. <ul>
  3304. <li>FPM:
  3305. <ul>
  3306. <li><?php bugfix(63581); ?> (Possible null dereference and buffer overflow).</li>
  3307. </ul></li>
  3308. </ul>
  3309. <ul>
  3310. <li>Imap:
  3311. <ul>
  3312. <li><?php bugfix(63126); ?> (DISABLE_AUTHENTICATOR ignores array).</li>
  3313. </ul></li>
  3314. </ul>
  3315. <ul>
  3316. <li>MySQLnd:
  3317. <ul>
  3318. <li><?php bugfix(63398); ?> (Segfault when polling closed link).</li>
  3319. </ul></li>
  3320. </ul>
  3321. <ul>
  3322. <li>Reflection:
  3323. <ul>
  3324. <li><?php bugfix(63614); ?> (Fatal error on Reflection).</li>
  3325. </ul></li>
  3326. </ul>
  3327. <ul>
  3328. <li>SOAP:
  3329. <ul>
  3330. <li><?php bugfix(63271); ?> (SOAP wsdl cache is not enabled after initial requests).</li>
  3331. </ul></li>
  3332. </ul>
  3333. <!-- }}} --></section>
  3334. <section class="version" id="5.4.9"><!-- {{{ 5.4.9 -->
  3335. <h3>Version 5.4.9</h3>
  3336. <?php echo release_date('22-November-2012'); ?>
  3337. <ul>
  3338. <li>Core:
  3339. <ul>
  3340. <li><?php bugfix(63305); ?> (zend_mm_heap corrupted with traits).</li>
  3341. <li><?php bugfix(63369); ?> ((un)serialize() leaves dangling pointers, causes crashes).</li>
  3342. <li><?php bugfix(63241); ?> (PHP fails to open Windows deduplicated files).</li>
  3343. <li><?php bugfix(62444); ?> (Handle leak in is_readable on windows). </li>
  3344. </ul></li>
  3345. </ul>
  3346. <ul>
  3347. <li>Curl:
  3348. <ul>
  3349. <li><?php bugfix(63363); ?> (Curl silently accepts boolean true for SSL_VERIFYHOST).</li>
  3350. </ul></li>
  3351. </ul>
  3352. <ul>
  3353. <li>Fileinfo:
  3354. <ul>
  3355. <li><?php bugfix(63248); ?> (Load multiple magic files from a directory under Windows).</li>
  3356. </ul></li>
  3357. </ul>
  3358. <ul>
  3359. <li>Libxml
  3360. <ul>
  3361. <li><?php bugfix(63389); ?> (Missing context check on libxml_set_streams_context()
  3362. causes memleak).</li>
  3363. </ul></li>
  3364. </ul>
  3365. <ul>
  3366. <li>Mbstring:
  3367. <ul>
  3368. <li><?php bugfix(63447); ?> (max_input_vars doesn't filter variables when
  3369. mbstring.encoding_translation = On).</li>
  3370. </ul></li>
  3371. </ul>
  3372. <ul>
  3373. <li>OCI8:
  3374. <ul>
  3375. <li><?php bugfix(63265); ?> (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)</li>
  3376. </ul></li>
  3377. </ul>
  3378. <ul>
  3379. <li>PCRE:
  3380. <ul>
  3381. <li><?php bugfix(63180); ?> (Corruption of hash tables).</li>
  3382. <li><?php bugfix(63055); ?> (Segfault in zend_gc with SF2 testsuite).</li>
  3383. <li><?php bugfix(63284); ?> (Upgrade PCRE to 8.31).</li>
  3384. </ul></li>
  3385. </ul>
  3386. <ul>
  3387. <li>PDO:
  3388. <ul>
  3389. <li><?php bugfix(63235); ?> (buffer overflow in use of SQLGetDiagRec).</li>
  3390. </ul></li>
  3391. </ul>
  3392. <ul>
  3393. <li>PDO_pgsql:
  3394. <ul>
  3395. <li><?php bugfix(62593); ?> (Emulate prepares behave strangely with PARAM_BOOL).</li>
  3396. </ul></li>
  3397. </ul>
  3398. <ul>
  3399. <li>Phar:
  3400. <ul>
  3401. <li><?php bugfix(63297); ?> (Phar fails to write an openssl based signature).</li>
  3402. </ul></li>
  3403. </ul>
  3404. <ul>
  3405. <li>Streams:
  3406. <ul>
  3407. <li><?php bugfix(63240); ?> (stream_get_line() return contains delimiter string).</li>
  3408. </ul></li>
  3409. </ul>
  3410. <ul>
  3411. <li>Reflection:
  3412. <ul>
  3413. <li><?php bugfix(63399); ?> (ReflectionClass::getTraitAliases() incorrectly resolves traitnames).</li>
  3414. </ul></li>
  3415. </ul>
  3416. <!-- }}} --></section>
  3417. <section class="version" id="5.3.19"><!-- {{{ 5.3.19 -->
  3418. <h3>Version 5.3.19</h3>
  3419. <?php echo release_date('22-November-2012'); ?>
  3420. <ul>
  3421. <li>Core:
  3422. <ul>
  3423. <li><?php bugfix(63241); ?> (PHP fails to open Windows deduplicated files).</li>
  3424. <li><?php bugfix(62444); ?> (Handle leak in is_readable on windows).</li>
  3425. </ul></li>
  3426. </ul>
  3427. <ul>
  3428. <li>Libxml:
  3429. <ul>
  3430. <li><?php bugfix(63389); ?> (Missing context check on libxml_set_streams_context() causes memleak).</li>
  3431. </ul></li>
  3432. </ul>
  3433. <ul>
  3434. <li>Mbstring:
  3435. <ul>
  3436. <li><?php bugfix(63447); ?> (max_input_vars doesn't filter variables when
  3437. mbstring.encoding_translation = On).</li>
  3438. </ul></li>
  3439. </ul>
  3440. <ul>
  3441. <li>MySQL:
  3442. <ul>
  3443. <li>Fixed compilation failure on mixed 32/64 bit systems.</li>
  3444. </ul></li>
  3445. </ul>
  3446. <ul>
  3447. <li>OCI8:
  3448. <ul>
  3449. <li><?php bugfix(63265); ?> (Add ORA-00028 to the PHP_OCI_HANDLE_ERROR macro)</li>
  3450. </ul></li>
  3451. </ul>
  3452. <ul>
  3453. <li>PCRE:
  3454. <ul>
  3455. <li><?php bugfix(63055); ?> (Segfault in zend_gc with SF2 testsuite).</li>
  3456. <li><?php bugfix(63284); ?> (Upgrade PCRE to 8.31).</li>
  3457. </ul></li>
  3458. </ul>
  3459. <ul>
  3460. <li>PDO:
  3461. <ul>
  3462. <li><?php bugfix(63235); ?> (buffer overflow in use of SQLGetDiagRec).</li>
  3463. </ul></li>
  3464. </ul>
  3465. <ul>
  3466. <li>PDO_pgsql:
  3467. <ul>
  3468. <li><?php bugfix(62593); ?> (Emulate prepares behave strangely with PARAM_BOOL).</li>
  3469. </ul></li>
  3470. </ul>
  3471. <ul>
  3472. <li>Phar:
  3473. <ul>
  3474. <li><?php bugfix(63297); ?> (Phar fails to write an openssl based signature).</li>
  3475. </ul></li>
  3476. </ul>
  3477. <ul>
  3478. <li>Streams:
  3479. <ul>
  3480. <li><?php bugfix(63240); ?> (stream_get_line() return contains delimiter string).</li>
  3481. </ul></li>
  3482. </ul>
  3483. <!-- }}} --></section>
  3484. <section class="version" id="5.4.8"><!-- {{{ 5.4.8 -->
  3485. <h3>Version 5.4.8</h3>
  3486. <?php echo release_date('18-October-2012'); ?>
  3487. <ul>
  3488. <li>CLI server
  3489. <ul>
  3490. <li>Changed response to unknown HTTP method to 501 according to RFC.</li>
  3491. <li>Support HTTP PATCH method.</li>
  3492. </ul></li>
  3493. </ul>
  3494. <ul>
  3495. <li>Core
  3496. <ul>
  3497. <li>Added optional second argument for assert() to specify custom message.</li>
  3498. <li>Support building PHP with the native client toolchain.</li>
  3499. <li>Added --offline option for tests.</li>
  3500. <li><?php bugfix(63162); ?> (parse_url does not match password component).</li>
  3501. <li><?php bugfix(63111); ?> (is_callable() lies for abstract static method).</li>
  3502. <li><?php bugfix(63093); ?> (Segfault while load extension failed in zts-build).</li>
  3503. <li><?php bugfix(62976); ?> (Notice: could not be converted to int when comparing some builtin classes).</li>
  3504. <li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry).</li>
  3505. <li><?php bugfix(62907); ?> (Double free when use traits).</li>
  3506. <li><?php bugfix(61767); ?> (Shutdown functions not called in certain error situation).</li>
  3507. <li><?php bugfix(60909); ?> (custom error handler throwing Exception + fatal error = no shutdown function).</li>
  3508. <li><?php bugfix(60723); ?> (error_log error time has changed to UTC ignoring default timezone).</li>
  3509. </ul></li>
  3510. </ul>
  3511. <ul>
  3512. <li>cURL
  3513. <ul>
  3514. <li><?php bugfix(62085); ?> (file_get_contents a remote file by Curl wrapper will cause cpu Soaring).</li>
  3515. </ul></li>
  3516. </ul>
  3517. <ul>
  3518. <li>Date
  3519. <ul>
  3520. <li><?php bugfix(62896); ?> ("DateTime-&gt;modify('+0 days')" modifies DateTime object)</li>
  3521. <li><?php bugfix(62561); ?> (DateTime add 'P1D' adds 25 hours).</li>
  3522. </ul></li>
  3523. </ul>
  3524. <ul>
  3525. <li>DOM
  3526. <ul>
  3527. <li><?php bugfix(63015); ?> (Incorrect arginfo for DOMErrorHandler).</li>
  3528. </ul></li>
  3529. </ul>
  3530. <ul>
  3531. <li>FPM
  3532. <ul>
  3533. <li><?php bugfix(62954); ?> (startup problems fpm / php-fpm).</li>
  3534. <li><?php bugfix(62886); ?> (PHP-FPM may segfault/hang on startup).</li>
  3535. <li><?php bugfix(63085); ?> (Systemd integration and daemonize).</li>
  3536. <li><?php bugfix(62947); ?> (Unneccesary warnings on FPM).</li>
  3537. <li><?php bugfix(62887); ?> (Only /status?plain&amp;full gives "last request cpu").</li>
  3538. <li><?php bugfix(62216); ?> (Add PID to php-fpm init.d script).</li>
  3539. </ul></li>
  3540. </ul>
  3541. <ul>
  3542. <li>OpenSSL
  3543. <ul>
  3544. <li>Implemented FR <?php bugl(61421); ?> (OpenSSL signature verification missing RMD160, SHA224, SHA256, SHA384, SHA512).</li>
  3545. </ul></li>
  3546. </ul>
  3547. <ul>
  3548. <li>SOA
  3549. <ul>
  3550. <li><?php bugfix(50997); ?> (SOAP Error when trying to submit 2nd Element of a choice).</li>
  3551. </ul></li>
  3552. </ul>
  3553. <ul>
  3554. <li>SPL
  3555. <ul>
  3556. <li>Bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables).</li>
  3557. </ul></li>
  3558. </ul>
  3559. <ul>
  3560. <li>mbstring
  3561. <ul>
  3562. <li>Allow passing null as a default value to mb_substr() and mb_strcut(). Patch by Alexander Moskaliov via GitHub PR #133.</li>
  3563. </ul></li>
  3564. </ul>
  3565. <ul>
  3566. <li>Filter extension
  3567. <ul>
  3568. <li>Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false.</li>
  3569. </ul></li>
  3570. </ul>
  3571. <ul>
  3572. <li>Socket
  3573. <ul>
  3574. <li><?php bugfix(63000); ?> (MCAST_JOIN_GROUP on OSX is broken, merge of PR 185 by Igor Wiedler).</li>
  3575. </ul></li>
  3576. </ul>
  3577. <!-- }}} --></section>
  3578. <section class="version" id="5.3.18"><!-- {{{ 5.3.18 -->
  3579. <h3>Version 5.3.18</h3>
  3580. <?php echo release_date('18-October-2012'); ?>
  3581. <ul>
  3582. <li>Core
  3583. <ul>
  3584. <li><?php bugfix(63111); ?> (is_callable() lies for abstract static method).</li>
  3585. <li><?php bugfix(63093); ?> (Segfault while load extension failed in zts-build).</li>
  3586. <li><?php bugfix(62976); ?> (Notice: could not be converted to int when comparing some builtin classes).</li>
  3587. <li><?php bugfix(61767); ?> (Shutdown functions not called in certain error situation).</li>
  3588. <li><?php bugfix(61442); ?> (exception threw in __autoload can not be catched).</li>
  3589. <li><?php bugfix(60909); ?> (custom error handler throwing Exception + fatal error = no shutdown function).</li>
  3590. </ul></li>
  3591. </ul>
  3592. <ul>
  3593. <li>cURL
  3594. <ul>
  3595. <li><?php bugfix(62085); ?> (file_get_contents a remote file by Curl wrapper will cause cpu Soaring).</li>
  3596. </ul></li>
  3597. </ul>
  3598. <ul>
  3599. <li>FPM
  3600. <ul>
  3601. <li><?php bugfix(62954); ?> (startup problems fpm / php-fpm).</li>
  3602. <li><?php bugfix(62886); ?> (PHP-FPM may segfault/hang on startup).</li>
  3603. <li><?php bugfix(63085); ?> (Systemd integration and daemonize).</li>
  3604. <li><?php bugfix(62947); ?> (Unneccesary warnings on FPM).</li>
  3605. <li><?php bugfix(62887); ?> (Only /status?plain&amp;full gives "last request cpu").</li>
  3606. <li><?php bugfix(62216); ?> (Add PID to php-fpm init.d script).</li>
  3607. </ul></li>
  3608. </ul>
  3609. <ul>
  3610. <li>Intl
  3611. <ul>
  3612. <li>Fix bug #62915 (defective cloning in several intl classes).</li>
  3613. </ul></li>
  3614. </ul>
  3615. <ul>
  3616. <li>SOAP
  3617. <ul>
  3618. <li><?php bugfix(50997); ?> (SOAP Error when trying to submit 2nd Element of a choice).</li>
  3619. </ul></li>
  3620. </ul>
  3621. <ul>
  3622. <li>SPL
  3623. <ul>
  3624. <li>Bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables).</li>
  3625. </ul></li>
  3626. </ul>
  3627. <!-- }}} --></section>
  3628. <section class="version" id="5.4.7"><!-- {{{ 5.4.7 -->
  3629. <h3>Version 5.4.7</h3>
  3630. <?php echo release_date('13-September-2012'); ?>
  3631. <ul>
  3632. <li>Core
  3633. <ul>
  3634. <li>Fixed bug (segfault while build with zts and GOTO vm-kind)</li>
  3635. <li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry)</li>
  3636. <li><?php bugfix(62844); ?> (parse_url() does not recognize //)</li>
  3637. <li><?php bugfix(62829); ?> (stdint.h included on platform where HAVE_STDINT_H is not set)</li>
  3638. <li><?php bugfix(62763); ?> (register_shutdown_function and extending class)</li>
  3639. <li><?php bugfix(62725); ?> (Calling exit() in a shutdown function does not return the exit value)</li>
  3640. <li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class)</li>
  3641. <li><?php bugfix(62716); ?> (munmap() is called with the incorrect length)</li>
  3642. <li><?php bugfix(62358); ?> (Segfault when using traits a lot)</li>
  3643. <li><?php bugfix(62328); ?> (implementing __toString and a cast to string fails)</li>
  3644. <li><?php bugfix(51363); ?> (Fatal error raised by var_export() not caught by error handler)</li>
  3645. <li><?php bugfix(40459); ?> (Stat and Dir stream wrapper methods do not call constructor)</li>
  3646. </ul></li>
  3647. </ul>
  3648. <ul>
  3649. <li>CURL
  3650. <ul>
  3651. <li><?php bugfix(62912); ?> (CURLINFO_PRIMARY_* AND CURLINFO_LOCAL_* not exposed)</li>
  3652. <li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE)</li>
  3653. </ul></li>
  3654. </ul>
  3655. <ul>
  3656. <li>DateTime
  3657. <ul>
  3658. <li><?php bugfix(62852); ?> (Unserialize invalid DateTime causes crash)</li>
  3659. </ul></li>
  3660. </ul>
  3661. <ul>
  3662. <li>Intl
  3663. <ul>
  3664. <li>Fixed Spoofchecker not being registered on ICU 49.1</li>
  3665. <li>Fix bug #62933 (ext/intl compilation error on icu 3.4.1)</li>
  3666. <li>Fix bug #62915 (defective cloning in several intl classes)</li>
  3667. </ul></li>
  3668. </ul>
  3669. <ul>
  3670. <li>Installation
  3671. <ul>
  3672. <li><?php bugfix(62460); ?> (php binaries installed as binary.dSYM)</li>
  3673. </ul></li>
  3674. </ul>
  3675. <ul>
  3676. <li>PCRE
  3677. <ul>
  3678. <li><?php bugfix(55856); ?> (preg_replace should fail on trailing garbage)</li>
  3679. </ul></li>
  3680. </ul>
  3681. <ul>
  3682. <li>PDO
  3683. <ul>
  3684. <li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction())</li>
  3685. </ul></li>
  3686. </ul>
  3687. <ul>
  3688. <li>Reflection
  3689. <ul>
  3690. <li><?php bugfix(62892); ?> (ReflectionClass::getTraitAliases crashes on importing trait methods as private)</li>
  3691. <li><?php bugfix(62715); ?> (ReflectionParameter::isDefaultValueAvailable() wrong result)</li>
  3692. </ul></li>
  3693. </ul>
  3694. <ul>
  3695. <li>Session
  3696. <ul>
  3697. <li>Fixed bug (segfault due to retval is not initialized)</li>
  3698. <li>Fixed bug (segfault due to PS(mod_user_implemented) not be reseted when close handler call exit)</li>
  3699. </ul></li>
  3700. </ul>
  3701. <ul>
  3702. <li>SPL
  3703. <ul>
  3704. <li><?php bugfix(62904); ?> (Crash when cloning an object which inherits SplFixedArray)</li>
  3705. <li>Implemented FR <?php bugl(62840); ?> (Add sort flag to ArrayObject::ksort)</li>
  3706. </ul></li>
  3707. </ul>
  3708. <ul>
  3709. <li>Standard
  3710. <ul>
  3711. <li><?php bugfix(62836); ?> (Seg fault or broken object references on unserialize())</li>
  3712. </ul></li>
  3713. </ul>
  3714. <ul>
  3715. <li>FPM
  3716. <ul>
  3717. <li>Merged PR 121 by minitux to add support for slow request counting on PHP FPM status page</li>
  3718. </ul></li>
  3719. </ul>
  3720. <!-- }}} --></section>
  3721. <section class="version" id="5.3.17"><!-- {{{ 5.3.17 -->
  3722. <h3>Version 5.3.17</h3>
  3723. <?php echo release_date('13-September-2012'); ?>
  3724. <ul>
  3725. <li>Core
  3726. <ul>
  3727. <li>Fixed bug (segfault while build with zts and GOTO vm-kind)</li>
  3728. <li><?php bugfix(62955); ?> (Only one directive is loaded from "Per Directory Values" Windows registry)</li>
  3729. <li><?php bugfix(62763); ?> (register_shutdown_function and extending class)</li>
  3730. <li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class)</li>
  3731. <li><?php bugfix(62716); ?> (munmap() is called with the incorrect length)</li>
  3732. <li>Fixed bug ##62460 (php binaries installed as binary.dSYM)</li>
  3733. </ul></li>
  3734. </ul>
  3735. <ul>
  3736. <li>CURL
  3737. <ul>
  3738. <li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE)</li>
  3739. </ul></li>
  3740. </ul>
  3741. <ul>
  3742. <li>DateTime
  3743. <ul>
  3744. <li><?php bugfix(62852); ?> (Unserialize invalid DateTime causes crash)</li>
  3745. </ul></li>
  3746. </ul>
  3747. <ul>
  3748. <li>Intl
  3749. <ul>
  3750. <li>Fix null pointer dereferences in some classes of ext/intl</li>
  3751. </ul></li>
  3752. </ul>
  3753. <ul>
  3754. <li>MySQLnd
  3755. <ul>
  3756. <li><?php bugfix(62885); ?> (mysqli_poll - Segmentation fault)</li>
  3757. </ul></li>
  3758. </ul>
  3759. <ul>
  3760. <li>PDO
  3761. <ul>
  3762. <li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction())</li>
  3763. </ul></li>
  3764. </ul>
  3765. <ul>
  3766. <li>Session
  3767. <ul>
  3768. <li>Fixed bug (segfault due to retval is not initialized)</li>
  3769. </ul></li>
  3770. </ul>
  3771. <ul>
  3772. <li>SPL
  3773. <ul>
  3774. <li><?php bugfix(62904); ?> (Crash when cloning an object which inherits SplFixedArray)</li>
  3775. </ul></li>
  3776. </ul>
  3777. <ul>
  3778. <li>Enchant
  3779. <ul>
  3780. <li><?php bugfix(62838); ?> (enchant_dict_quick_check() destroys zval, but fails to initialize it)</li>
  3781. </ul></li>
  3782. </ul>
  3783. <!-- }}} --></section>
  3784. <section class="version" id="5.4.6"><!-- {{{ 5.4.6 -->
  3785. <h3>Version 5.4.6</h3>
  3786. <?php echo release_date('16-August-2012'); ?>
  3787. <ul>
  3788. <li>CLI Server
  3789. <ul>
  3790. <li>Implemented FR <?php bugl(62700); ?> (have the console output 'Listening on http://localhost:8000').</li>
  3791. </ul></li>
  3792. </ul>
  3793. <ul>
  3794. <li>Core
  3795. <ul>
  3796. <li><?php bugfix(62661); ?> (Interactive php-cli crashes if include() is used in auto_prepend_file).</li>
  3797. <li><?php bugfix(62653); ?>: (unset($array[$float]) causes a crash).</li>
  3798. <li><?php bugfix(62565); ?> (Crashes due non-initialized internal properties_table).</li>
  3799. <li><?php bugfix(60194); ?> (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).</li>
  3800. </ul></li>
  3801. </ul>
  3802. <ul>
  3803. <li>CURL
  3804. <ul>
  3805. <li><?php bugfix(62499); ?> (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).</li>
  3806. </ul></li>
  3807. </ul>
  3808. <ul>
  3809. <li>DateTime
  3810. <ul>
  3811. <li><?php bugfix(62500); ?> (Segfault in DateInterval class when extended).</li>
  3812. </ul></li>
  3813. </ul>
  3814. <ul>
  3815. <li>Fileinfo
  3816. <ul>
  3817. <li><?php bugfix(61964); ?> (finfo_open with directory causes invalid free).</li>
  3818. </ul></li>
  3819. </ul>
  3820. <ul>
  3821. <li>Intl
  3822. <ul>
  3823. <li><?php bugfix(62564); ?> (Extending MessageFormatter and adding property causes crash).</li>
  3824. </ul></li>
  3825. </ul>
  3826. <ul>
  3827. <li>MySQLnd
  3828. <ul>
  3829. <li><?php bugfix(62594); ?> (segfault in mysqlnd_res_meta::set_mode).</li>
  3830. </ul></li>
  3831. </ul>
  3832. <ul>
  3833. <li>readline
  3834. <ul>
  3835. <li><?php bugfix(62612); ?> (readline extension compilation fails with sapi/cli/cli.h: No such file).</li>
  3836. </ul></li>
  3837. </ul>
  3838. <ul>
  3839. <li>Reflection
  3840. <ul>
  3841. <li>Implemented FR <?php bugl(61602); ?> (Allow access to name of constant used as default value).</li>
  3842. </ul></li>
  3843. </ul>
  3844. <ul>
  3845. <li>SimpleXML
  3846. <ul>
  3847. <li>Implemented FR <?php bugl(55218); ?> (Get namespaces from current node).</li>
  3848. </ul></li>
  3849. </ul>
  3850. <ul>
  3851. <li>SPL
  3852. <ul>
  3853. <li><?php bugfix(62616); ?> (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).</li>
  3854. <li><?php bugfix(61527); ?> (ArrayIterator gives misleading notice on next() when moved to the end).</li>
  3855. </ul></li>
  3856. </ul>
  3857. <ul>
  3858. <li>Streams
  3859. <ul>
  3860. <li><?php bugfix(62597); ?> (segfault in php_stream_wrapper_log_error with ZTS build).</li>
  3861. </ul></li>
  3862. </ul>
  3863. <ul>
  3864. <li>Zlib
  3865. <ul>
  3866. <li><?php bugfix(55544); ?> (ob_gzhandler always conflicts with zlib.output_compression).</li>
  3867. </ul></li>
  3868. </ul>
  3869. <!-- }}} --></section>
  3870. <section class="version" id="5.3.16"><!-- {{{ 5.3.16 -->
  3871. <h3>Version 5.3.16</h3>
  3872. <?php echo release_date('16-August-2012'); ?>
  3873. <ul>
  3874. <li>Core
  3875. <ul>
  3876. <li><?php bugfix(62763); ?> (register_shutdown_function and extending class).</li>
  3877. <li><?php bugfix(62744); ?> (dangling pointers made by zend_disable_class).</li>
  3878. <li><?php bugfix(62716); ?> (munmap() is called with the incorrect length).</li>
  3879. <li><?php bugfix(62460); ?> (php binaries installed as binary.dSYM).</li>
  3880. <li><?php bugfix(60194); ?> (--with-zend-multibyte and --enable-debug reports LEAK with run-test.php).</li>
  3881. </ul></li>
  3882. </ul>
  3883. <ul>
  3884. <li>CURL
  3885. <ul>
  3886. <li><?php bugfix(62839); ?> (curl_copy_handle segfault with CURLOPT_FILE).</li>
  3887. <li><?php bugfix(62499); ?> (curl_setopt($ch, CURLOPT_COOKIEFILE, "") returns false).</li>
  3888. </ul></li>
  3889. </ul>
  3890. <ul>
  3891. <li>DateTime
  3892. <ul>
  3893. <li><?php bugfix(62500); ?> (Segfault in DateInterval class when extended).</li>
  3894. </ul></li>
  3895. </ul>
  3896. <ul>
  3897. <li>Enchant
  3898. <ul>
  3899. <li><?php bugfix(62838); ?> (enchant_dict_quick_check() destroys zval, but fails to initialize it).</li>
  3900. </ul></li>
  3901. </ul>
  3902. <ul>
  3903. <li>PDO
  3904. <ul>
  3905. <li><?php bugfix(62685); ?> (Wrong return datatype in PDO::inTransaction()).</li>
  3906. </ul></li>
  3907. </ul>
  3908. <ul>
  3909. <li>Reflection
  3910. <ul>
  3911. <li><?php bugfix(62715); ?> (ReflectionParameter::isDefaultValueAvailable() wrong result).</li>
  3912. </ul></li>
  3913. </ul>
  3914. <ul>
  3915. <li>Session
  3916. <ul>
  3917. <li>Fixed bug (segfault due to retval is not initialized).</li>
  3918. </ul></li>
  3919. </ul>
  3920. <ul>
  3921. <li>SPL
  3922. <ul>
  3923. <li><?php bugfix(62616); ?> (ArrayIterator::count() from IteratorIterator instance gives Segmentation fault).</li>
  3924. </ul></li>
  3925. </ul>
  3926. <!-- }}} --></section>
  3927. <section class="version" id="5.4.5"><!-- {{{ 5.4.5 -->
  3928. <h3>Version 5.4.5</h3>
  3929. <?php echo release_date('19-July-2012'); ?>
  3930. <ul>
  3931. <li>Core
  3932. <ul>
  3933. <li><?php bugfix(62443); ?> (Crypt SHA256/512 Segfaults With Malformed Salt)</li>
  3934. <li><?php bugfix(62432); ?> (ReflectionMethod random corrupt memory on high concurrent)</li>
  3935. <li><?php bugfix(62373); ?> (serialize() generates wrong reference to the object).</li>
  3936. <li><?php bugfix(62357); ?> (compile failure: (S) Arguments missing for built-in function __memcmp)</li>
  3937. <li><?php bugfix(61998); ?> (Using traits with method aliases appears to result in crash during execution)</li>
  3938. <li><?php bugfix(51094); ?> (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)</li>
  3939. <li>Fixed potential overflow in _php_stream_scandir (CVE-2012-2688)</li>
  3940. </ul></li>
  3941. </ul>
  3942. <ul>
  3943. <li>EXIF
  3944. <ul>
  3945. <li>Fixed information leak in ext exif</li>
  3946. </ul></li>
  3947. </ul>
  3948. <ul>
  3949. <li>FPM
  3950. <ul>
  3951. <li><?php bugfix(62205); ?> (php-fpm segfaults (null passed to strstr)</li>
  3952. <li><?php bugfix(62160); ?> (Add process.priority to set nice(2) priorities)</li>
  3953. <li><?php bugfix(62153); ?> (when using unix sockets, multiples FPM instances)</li>
  3954. <li><?php bugfix(62033); ?> (php-fpm exits with status 0 on some failures to start)</li>
  3955. <li><?php bugfix(61839); ?> (Unable to cross-compile PHP with --enable-fpm)</li>
  3956. <li><?php bugfix(61835); ?> (php-fpm is not allowed to run as root)</li>
  3957. <li><?php bugfix(61295); ?> (php-fpm should not fail with commented 'user'</li>
  3958. <li><?php bugfix(61218); ?> (FPM drops connection while receiving some binary values in FastCGI requests)</li>
  3959. <li><?php bugfix(61045); ?> (fpm don't send error log to fastcgi clients). (fat) for non-root start)</li>
  3960. <li><?php bugfix(61026); ?> (FPM pools can listen on the same address). (fat) can be launched without errors)</li>
  3961. </ul></li>
  3962. </ul>
  3963. <ul>
  3964. <li>Iconv
  3965. <ul>
  3966. <li><?php bugfix(55042); ?> (Erealloc in iconv.c unsafe)</li>
  3967. </ul></li>
  3968. </ul>
  3969. <ul>
  3970. <li>Intl
  3971. <ul>
  3972. <li><?php bugfix(62083); ?> (grapheme_extract() memory leaks)</li>
  3973. <li><?php bugfix(62081); ?> (IntlDateFormatter constructor leaks memory when called twice)</li>
  3974. <li><?php bugfix(62070); ?> (Collator::getSortKey() returns garbage)</li>
  3975. <li><?php bugfix(62017); ?> (datefmt_create with incorrectly encoded timezone leaks pattern)</li>
  3976. <li><?php bugfix(60785); ?> (memory leak in IntlDateFormatter constructor)</li>
  3977. <li>ResourceBundle constructor now accepts NULL for the first two arguments</li>
  3978. </ul></li>
  3979. </ul>
  3980. <ul>
  3981. <li>JSON
  3982. <ul>
  3983. <li><?php bugfix(61359); ?> (json_encode() calls too many reallocs)</li>
  3984. </ul></li>
  3985. </ul>
  3986. <ul>
  3987. <li>libxml
  3988. <ul>
  3989. <li><?php bugfix(62266); ?> (Custom extension segfaults during xmlParseFile with FPM SAPI)</li>
  3990. </ul></li>
  3991. </ul>
  3992. <ul>
  3993. <li>Phar
  3994. <ul>
  3995. <li><?php bugfix(62227); ?> (Invalid phar stream path causes crash)</li>
  3996. </ul></li>
  3997. </ul>
  3998. <ul>
  3999. <li>Readline
  4000. <ul>
  4001. <li><?php bugfix(62186); ?> (readline fails to compile - void function should not return a value)</li>
  4002. </ul></li>
  4003. </ul>
  4004. <ul>
  4005. <li>Reflection
  4006. <ul>
  4007. <li><?php bugfix(62384); ?> (Attempting to invoke a Closure more than once causes segfault)</li>
  4008. <li><?php bugfix(62202); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant)</li>
  4009. </ul></li>
  4010. </ul>
  4011. <ul>
  4012. <li>Sockets
  4013. <ul>
  4014. <li><?php bugfix(62025); ?> (__ss_family was changed on AIX 5.3)</li>
  4015. </ul></li>
  4016. </ul>
  4017. <ul>
  4018. <li>SPL
  4019. <ul>
  4020. <li><?php bugfix(62433); ?> (Inconsistent behavior of RecursiveDirectoryIterator to dot files)</li>
  4021. <li><?php bugfix(62262); ?> (RecursiveArrayIterator does not implement Countable)</li>
  4022. </ul></li>
  4023. </ul>
  4024. <ul>
  4025. <li>XML Writer
  4026. <ul>
  4027. <li><?php bugfix(62064); ?> (memory leak in the XML Writer module)</li>
  4028. </ul></li>
  4029. </ul>
  4030. <ul>
  4031. <li>Zip
  4032. <ul>
  4033. <li>Upgraded libzip to 0.10.</li>
  4034. </ul></li>
  4035. </ul>
  4036. <!-- }}} --></section>
  4037. <section class="version" id="5.3.15"><!-- {{{ 5.3.15 -->
  4038. <h3>Version 5.3.15</h3>
  4039. <?php echo release_date('19-July-2012'); ?>
  4040. <ul>
  4041. <li>Zend Engine
  4042. <ul>
  4043. <li><?php bugfix(51094); ?> (parse_ini_file() with INI_SCANNER_RAW cuts a value that includes a semi-colon)</li>
  4044. </ul></li>
  4045. </ul>
  4046. <ul>
  4047. <li>COM
  4048. <ul>
  4049. <li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li>
  4050. </ul></li>
  4051. </ul>
  4052. <ul>
  4053. <li>Core
  4054. <ul>
  4055. <li>Fixed potential overflow in _php_stream_scandir, CVE-2012-2688</li>
  4056. <li><?php bugfix(62432); ?> (ReflectionMethod random corrupt memory on high concurrent)</li>
  4057. <li><?php bugfix(62443); ?> (Crypt SHA256/512 Segfaults With Malformed Salt)</li>
  4058. </ul></li>
  4059. </ul>
  4060. <ul>
  4061. <li>Fileinfo
  4062. <ul>
  4063. <li>Fixed magic file regex support</li>
  4064. </ul></li>
  4065. </ul>
  4066. <ul>
  4067. <li>FPM
  4068. <ul>
  4069. <li><?php bugfix(61045); ?> (fpm don't send error log to fastcgi clients)</li>
  4070. <li><?php bugfix(61835); ?> (php-fpm is not allowed to run as root)</li>
  4071. <li><?php bugfix(61295); ?> (php-fpm should not fail with commented 'user' for non-root start)</li>
  4072. <li><?php bugfix(61026); ?> (FPM pools can listen on the same address)</li>
  4073. <li><?php bugfix(62033); ?> (php-fpm exits with status 0 on some failures to start)</li>
  4074. <li><?php bugfix(62153); ?> (when using unix sockets, multiples FPM instances can be launched without errors)</li>
  4075. <li><?php bugfix(62160); ?> (Add process.priority to set nice(2) priorities)</li>
  4076. <li><?php bugfix(61218); ?> (FPM drops connection while receiving some binary values in FastCGI requests)</li>
  4077. <li><?php bugfix(62205); ?> (php-fpm segfaults (null passed to strstr))</li>
  4078. </ul></li>
  4079. </ul>
  4080. <ul>
  4081. <li>Intl
  4082. <ul>
  4083. <li><?php bugfix(62083); ?> (grapheme_extract() memory leaks)</li>
  4084. <li><?php bugfix(62081); ?> (IntlDateFormatter constructor leaks memory when called twice)</li>
  4085. <li><?php bugfix(62070); ?> (Collator::getSortKey() returns garbage)</li>
  4086. <li><?php bugfix(62017); ?> (datefmt_create with incorrectly encoded timezone leaks pattern)</li>
  4087. <li><?php bugfix(60785); ?> (memory leak in IntlDateFormatter constructor)</li>
  4088. </ul></li>
  4089. </ul>
  4090. <ul>
  4091. <li>JSON
  4092. <ul>
  4093. <li>Reverted fix for bug #61537</li>
  4094. </ul></li>
  4095. </ul>
  4096. <ul>
  4097. <li>Phar
  4098. <ul>
  4099. <li><?php bugfix(62227); ?> (Invalid phar stream path causes crash)</li>
  4100. </ul></li>
  4101. </ul>
  4102. <ul>
  4103. <li>Reflection
  4104. <ul>
  4105. <li><?php bugfix(62384); ?> (Attempting to invoke a Closure more than once causes segfault)</li>
  4106. <li><?php bugfix(62202); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant)</li>
  4107. </ul></li>
  4108. </ul>
  4109. <ul>
  4110. <li>SPL
  4111. <ul>
  4112. <li><?php bugfix(62262); ?> (RecursiveArrayIterator does not implement Countable)</li>
  4113. </ul></li>
  4114. </ul>
  4115. <ul>
  4116. <li>SQLite
  4117. <ul>
  4118. <li>Fixed open_basedir bypass, CVE-2012-3365</li>
  4119. </ul></li>
  4120. </ul>
  4121. <ul>
  4122. <li>XML Write
  4123. <ul>
  4124. <li><?php bugfix(62064); ?> (memory leak in the XML Writer module)</li>
  4125. </ul></li>
  4126. </ul>
  4127. <ul>
  4128. <li>Zip
  4129. <ul>
  4130. <li>Upgraded libzip to 0.10</li>
  4131. </ul></li>
  4132. </ul>
  4133. <!-- }}} --></section>
  4134. <section class="version" id="5.4.4"><!-- {{{ 5.4.4 -->
  4135. <h3>Version 5.4.4</h3>
  4136. <?php echo release_date('06-June-2012'); ?>
  4137. <ul>
  4138. <li>CLI SAPI
  4139. <ul>
  4140. <li>Implemented FR <?php bugl(61977); ?> (Need CLI web-server support for files with .htm &amp; svg extensions)</li>
  4141. <li>Improved performance while sending error page, this also fixed bug <?php bugfix(61785); ?>
  4142. (Memory leak when access a non-exists file without router)</li>
  4143. <li><?php bugfix(61546); ?> (functions related to current script failed when chdir() in cli sapi)</li>
  4144. </ul></li>
  4145. </ul>
  4146. <ul>
  4147. <li>Core
  4148. <ul>
  4149. <li>Fixed missing bound check in iptcparse()</li>
  4150. <li>Fixed CVE-2012-2143</li>
  4151. <li><?php bugfix(62097); ?> (fix for for bug #54547)</li>
  4152. <li><?php bugfix(62005); ?> (unexpected behavior when incrementally assigning to a member of a null object)</li>
  4153. <li><?php bugfix(61978); ?> (Object recursion not detected for classes that implement JsonSerializable)</li>
  4154. <li><?php bugfix(61991); ?> (long overflow in realpath_cache_get())</li>
  4155. <li><?php bugfix(61922); ?> (ZTS build doesn't accept zend.script_encoding config)</li>
  4156. <li><?php bugfix(61827); ?> (incorrect \e processing on Windows)</li>
  4157. <li><?php bugfix(61782); ?> (__clone/__destruct do not match other methods when checking access controls)</li>
  4158. <li><?php bugfix(61761); ?> ('Overriding' a private static method with a different signature causes crash)</li>
  4159. <li><?php bugfix(61730); ?> (Segfault from array_walk modifying an array passed by reference)</li>
  4160. <li><?php bugfix(61728); ?> (PHP crash when calling ob_start in request_shutdown phase)</li>
  4161. <li><?php bugfix(61660); ?> (bin2hex(hex2bin($data)) != $data)</li>
  4162. <li><?php bugfix(61650); ?> (ini parser crashes when using ${xxxx} ini variables (without apache2))</li>
  4163. <li><?php bugfix(61605); ?> (header_remove() does not remove all headers)</li>
  4164. <li><?php bugfix(54547); ?> (wrong equality of string numbers)</li>
  4165. <li><?php bugfix(54197); ?> ([PATH=] sections incompatibility with user_ini.filename set to null)</li>
  4166. <li>Changed php://fd to be available only for CLI</li>
  4167. </ul></li>
  4168. </ul>
  4169. <ul>
  4170. <li>CURL
  4171. <ul>
  4172. <li><?php bugfix(61948); ?> (CURLOPT_COOKIEFILE '' raises open_basedir restriction)</li>
  4173. </ul></li>
  4174. </ul>
  4175. <ul>
  4176. <li>COM
  4177. <ul>
  4178. <li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li>
  4179. </ul></li>
  4180. </ul>
  4181. <ul>
  4182. <li>Fileinfo
  4183. <ul>
  4184. <li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li>
  4185. </ul></li>
  4186. </ul>
  4187. <ul>
  4188. <li>FPM
  4189. <ul>
  4190. <li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li>
  4191. <li><?php bugfix(61565); ?> where php_stream_open_wrapper_ex tries to open a directory descriptor under windows</li>
  4192. <li><?php bugfix(61566); ?> failure caused by the posix lseek and read versions under windows in cdf_read()</li>
  4193. </ul></li>
  4194. </ul>
  4195. <ul>
  4196. <li>Iconv
  4197. <ul>
  4198. <li>Fixed a bug that iconv extension fails to link to the correct library when another extension makes use of a library that links to the iconv library. See <a href="https://bugs.gentoo.org/show_bug.cgi?id=364139">https://bugs.gentoo.org/show_bug.cgi?id=364139</a> for detail</li>
  4199. </ul></li>
  4200. </ul>
  4201. <ul>
  4202. <li>Intl
  4203. <ul>
  4204. <li><?php bugfix(62082); ?> (Memory corruption in internal function get_icu_disp_value_src_php()</li>
  4205. </ul></li>
  4206. </ul>
  4207. <ul>
  4208. <li>JSON
  4209. <ul>
  4210. <li><?php bugfix(61537); ?> (json_encode() incorrectly truncates/discards information)</li>
  4211. </ul></li>
  4212. </ul>
  4213. <ul>
  4214. <li>LibXML
  4215. <ul>
  4216. <li><?php bugfix(61617); ?> (Libxml tests failed(ht is already destroyed))</li>
  4217. </ul></li>
  4218. </ul>
  4219. <ul>
  4220. <li>PDO
  4221. <ul>
  4222. <li><?php bugfix(61755); ?> (A parsing bug in the prepared statements can lead to access violations)</li>
  4223. </ul></li>
  4224. </ul>
  4225. <ul>
  4226. <li>Phar
  4227. <ul>
  4228. <li><?php bugfix(61065); ?> (Secunia SA44335) (CVE-2012-2386)</li>
  4229. </ul></li>
  4230. </ul>
  4231. <ul>
  4232. <li>Streams
  4233. <ul>
  4234. <li><?php bugfix(61961); ?> (file_get_contents leaks when access empty file with maxlen set)</li>
  4235. </ul></li>
  4236. </ul>
  4237. <ul>
  4238. <li>zlib
  4239. <ul>
  4240. <li><?php bugfix(61820); ?> (using ob_gzhandler will complain about headers already sent when no compression)</li>
  4241. <li><?php bugfix(61443); ?> (can't change zlib.output_compression on the fly)</li>
  4242. <li><?php bugfix(60761); ?> (zlib.output_compression fails on refresh)</li>
  4243. </ul></li>
  4244. </ul>
  4245. <!-- }}} --></section>
  4246. <section class="version" id="5.3.14"><!-- {{{ 5.3.14 -->
  4247. <h3>Version 5.3.14</h3>
  4248. <?php echo release_date('06-June-2012'); ?>
  4249. <ul>
  4250. <li>CLI SAPI
  4251. <ul>
  4252. <li><?php bugfix(61546); ?> (functions related to current script failed when chdir() in cli sapi)</li>
  4253. </ul></li>
  4254. </ul>
  4255. <ul>
  4256. <li>Core
  4257. <ul>
  4258. <li>Fixed CVE-2012-2143</li>
  4259. <li><?php bugfix(62005); ?> (unexpected behavior when incrementally assigning to a member of a null object)</li>
  4260. <li><?php bugfix(61730); ?> (Segfault from array_walk modifying an array passed by reference)</li>
  4261. <li>Fixed missing bound check in iptcparse()</li>
  4262. <li><?php bugfix(61764); ?> ('I' unpacks n as signed if n &gt; 2^31-1 on LP64)</li>
  4263. <li><?php bugfix(54197); ?> ([PATH=] sections incompatibility with user_ini.filename set to null)</li>
  4264. <li><?php bugfix(61713); ?> (Logic error in charset detection for htmlentities)</li>
  4265. <li><?php bugfix(61991); ?> (long overflow in realpath_cache_get())</li>
  4266. <li>Changed php://fd to be available only for CLI.</li>
  4267. </ul></li>
  4268. </ul>
  4269. <ul>
  4270. <li>CURL
  4271. <ul>
  4272. <li><?php bugfix(61948); ?> (CURLOPT_COOKIEFILE '' raises open_basedir restriction)</li>
  4273. </ul></li>
  4274. </ul>
  4275. <ul>
  4276. <li>COM
  4277. <ul>
  4278. <li><?php bugfix(62146); ?> com_dotnet cannot be built shared</li>
  4279. </ul></li>
  4280. </ul>
  4281. <ul>
  4282. <li>Fileinfo
  4283. <ul>
  4284. <li><?php bugfix(61812); ?> (Uninitialised value used in libmagic)</li>
  4285. </ul></li>
  4286. </ul>
  4287. <ul>
  4288. <li>Iconv
  4289. <ul>
  4290. <li>Fixed a bug that iconv extension fails to link to the correct library when another extension makes use of a library that links to the iconv library. See <a href="https://bugs.gentoo.org/show_bug.cgi?id=364139">https://bugs.gentoo.org/show_bug.cgi?id=364139</a> for detail</li>
  4291. </ul></li>
  4292. </ul>
  4293. <ul>
  4294. <li>Intl
  4295. <ul>
  4296. <li><?php bugfix(62082); ?> (Memory corruption in internal function get_icu_disp_value_src_php()</li>
  4297. </ul></li>
  4298. </ul>
  4299. <ul>
  4300. <li>JSON
  4301. <ul>
  4302. <li><?php bugfix(61537); ?> (json_encode() incorrectly truncates/discards information)</li>
  4303. </ul></li>
  4304. </ul>
  4305. <ul>
  4306. <li>PDO
  4307. <ul>
  4308. <li><?php bugfix(61755); ?> (A parsing bug in the prepared statements can lead to access violations)</li>
  4309. </ul></li>
  4310. </ul>
  4311. <ul>
  4312. <li>Phar
  4313. <ul>
  4314. <li><?php bugfix(61065); ?> (Secunia SA44335)</li>
  4315. </ul></li>
  4316. </ul>
  4317. <ul>
  4318. <li>Streams
  4319. <ul>
  4320. <li><?php bugfix(61961); ?> (file_get_contents leaks when access empty file with maxlen set)</li>
  4321. </ul></li>
  4322. </ul>
  4323. <!-- }}} --></section>
  4324. <section class="version" id="5.4.3"><!-- {{{ 5.4.3 -->
  4325. <h3>Version 5.4.3</h3>
  4326. <?php release_date('08-May-2012'); ?>
  4327. <ul>
  4328. <li><?php bugfix(61807); ?> Buffer Overflow in apache_request_headers, CVE-2012-2329.</li>
  4329. <li><?php bugfix(61910); ?> Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.</li>
  4330. </ul>
  4331. <!-- }}} --></section>
  4332. <section class="version" id="5.3.13"><!-- {{{ 5.3.13 -->
  4333. <h3>Version 5.3.13</h3>
  4334. <?php release_date('08-May-2012'); ?>
  4335. <ul>
  4336. <li><?php bugfix(61910); ?> Improve fix for PHP-CGI query string parameter vulnerability, CVE-2012-2311.</li>
  4337. </ul>
  4338. <!-- }}} --></section>
  4339. <section class="version" id="5.4.2"><!-- {{{ 5.4.2 -->
  4340. <h3>Version 5.4.2</h3>
  4341. <?php release_date('03-May-2012'); ?>
  4342. <ul>
  4343. <li><?php bugfix(61910); ?> Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.</li>
  4344. </ul>
  4345. <!-- }}} --></section>
  4346. <section class="version" id="5.3.12"><!-- {{{ 5.3.12 -->
  4347. <h3>Version 5.3.12</h3>
  4348. <?php release_date('03-May-2012'); ?>
  4349. <ul>
  4350. <li><?php bugfix(61910); ?> Fix PHP-CGI query string parameter vulnerability, CVE-2012-1823.</li>
  4351. </ul>
  4352. <!-- }}} --></section>
  4353. <section class="version" id="5.4.1"><!-- {{{ 5.4.1 -->
  4354. <h3>Version 5.4.1</h3>
  4355. <?php release_date('26-Apr-2012'); ?>
  4356. <ul>
  4357. <li>CLI Server
  4358. <ul>
  4359. <li><?php bugfix(61461); ?> (missing checks around malloc() calls).</li>
  4360. <li>Implemented <?php bugl(60850); ?> (Built in web server does not set
  4361. $_SERVER['SCRIPT_FILENAME'] when using router).</li>
  4362. </ul></li>
  4363. </ul>
  4364. <ul>
  4365. <li>Core
  4366. <ul>
  4367. <li>Fixed crash in ZTS using same class in many threads.</li>
  4368. <li><?php bugfix(61374); ?> (html_entity_decode tries to decode code points that don't
  4369. exist in ISO-8859-1).</li>
  4370. <li><?php bugfix(61225); ?> (Incorrect lexing of 0b00*+&lt;NUM&gt;).</li>
  4371. <li><?php bugfix(61106); ?> (Segfault when using header_register_callback).</li>
  4372. <li><?php bugfix(61052); ?> (Missing error check in trait 'insteadof' clause).</li>
  4373. <li><?php bugfix(61011); ?> (Crash when an exception is thrown by __autoload
  4374. accessing a static property).</li>
  4375. <li><?php bugfix(60978); ?> (exit code incorrect).</li>
  4376. <li><?php bugfix(60911); ?> (Confusing error message when extending traits).</li>
  4377. <li><?php bugfix(60717); ?> (Order of traits in use statement can cause a fatal
  4378. error).</li>
  4379. <li><?php bugfix(60573); ?> (type hinting with "self" keyword causes weird errors).</li>
  4380. </ul></li>
  4381. </ul>
  4382. <ul>
  4383. <li>Fileinfo
  4384. <ul>
  4385. <li>Fix fileinfo test problems.</li>
  4386. </ul></li>
  4387. </ul>
  4388. <ul>
  4389. <li>Intl
  4390. <ul>
  4391. <li><?php bugfix(61487); ?> (Incorrent bounds checking in grapheme_strpos).</li>
  4392. </ul></li>
  4393. </ul>
  4394. <ul>
  4395. <li>mbstring
  4396. <ul>
  4397. <li>MFH mb_ereg_replace_callback() for security enhancements.</li>
  4398. </ul></li>
  4399. </ul>
  4400. <ul>
  4401. <li>mysqlnd
  4402. <ul>
  4403. <li><?php bugfix(60948); ?> (mysqlnd FTBFS when -Wformat-security is enabled).</li>
  4404. </ul></li>
  4405. </ul>
  4406. <ul>
  4407. <li>Standard
  4408. <ul>
  4409. <li>Fixed memory leak in substr_replace.</li>
  4410. <li>Make max_file_uploads ini directive settable outside of php.</li>
  4411. <li><?php bugfix(61409); ?> (Bad formatting on phpinfo()).</li>
  4412. <li><?php bugfix(60222); ?> (time_nanosleep() does validate input params).</li>
  4413. <li><?php bugfix(60106); ?> (stream_socket_server silently truncates long unix socket
  4414. paths).</li>
  4415. </ul></li>
  4416. </ul>
  4417. <!-- }}} --></section>
  4418. <section class="version" id="5.3.11"><!-- {{{ 5.3.11 -->
  4419. <h3>Version 5.3.11</h3>
  4420. <?php release_date('26-Apr-2012'); ?>
  4421. <ul>
  4422. <li>Core
  4423. <ul>
  4424. <li><?php bugfix(61650); ?> (ini parser crashes when using ${xxxx} ini variables
  4425. (without apache2)).</li>
  4426. <li><?php bugfix(61273); ?> (call_user_func_array with more than 16333 arguments
  4427. leaks / crashes).</li>
  4428. <li><?php bugfix(61165); ?> (Segfault - strip_tags()).</li>
  4429. <li><?php bugfix(61095); ?> (Incorect lexing of 0x00*+&lt;NUM&gt;).</li>
  4430. <li><?php bugfix(61087); ?> (Memory leak in parse_ini_file when specifying
  4431. invalid scanner mode).</li>
  4432. <li><?php bugfix(61072); ?> (Memory leak when restoring an exception handler).</li>
  4433. <li><?php bugfix(61058); ?> (array_fill leaks if start index is PHP_INT_MAX).</li>
  4434. <li><?php bugfix(61000); ?> (Exceeding max nesting level doesn't delete numerical
  4435. vars).</li>
  4436. <li><?php bugfix(60895); ?> (Possible invalid handler usage in windows random
  4437. functions).</li>
  4438. <li><?php bugfix(60825); ?> (Segfault when running symfony 2 tests).</li>
  4439. <li><?php bugfix(60801); ?> (strpbrk() mishandles NUL byte).</li>
  4440. <li><?php bugfix(60569); ?> (Nullbyte truncates Exception $message).</li>
  4441. <li><?php bugfix(60227); ?> (header() cannot detect the multi-line header with CR).</li>
  4442. <li><?php bugfix(60222); ?> (time_nanosleep() does validate input params).</li>
  4443. <li><?php bugfix(54374); ?> (Insufficient validating of upload name leading to
  4444. corrupted $_FILES indices). (CVE-2012-1172).</li>
  4445. <li><?php bugfix(52719); ?> (array_walk_recursive crashes if third param of the
  4446. function is by reference).</li>
  4447. <li>Improve performance of set_exception_handler while doing reset.</li>
  4448. <li><?php bugfix(51860); ?> (Include fails with toplevel symlink to /).</li>
  4449. </ul></li>
  4450. </ul>
  4451. <ul>
  4452. <li>DOM
  4453. <ul>
  4454. <li>Added debug info handler to DOM objects.</li>
  4455. </ul></li>
  4456. </ul>
  4457. <ul>
  4458. <li>FPM
  4459. <ul>
  4460. <li><?php bugfix(61430); ?> (Transposed memset() params in sapi/fpm/fpm/fpm_shm.)</li>
  4461. <li><?php bugfix(60811); ?> (php-fpm compilation problem).</li>
  4462. </ul></li>
  4463. </ul>
  4464. <ul>
  4465. <li>Fileinfo
  4466. <ul>
  4467. <li>Upgraded libmagic to 5.</li>
  4468. <li><?php bugfix(61565); ?> where php_stream_open_wrapper_ex tries to open a
  4469. directory descriptor under windows.</li>
  4470. <li><?php bugfix(61566); ?> failure caused by the posix lseek and read versions
  4471. under windows in cdf_read().</li>
  4472. <li><?php bugfix(61173); ?> (Unable to detect error from finfo constructor).</li>
  4473. </ul></li>
  4474. </ul>
  4475. <ul>
  4476. <li>Firebird Database extension (ibase)
  4477. <ul>
  4478. <li><?php bugfix(60802); ?> (ibase_trans() gives segfault when passing params).</li>
  4479. </ul></li>
  4480. </ul>
  4481. <ul>
  4482. <li>Ibase
  4483. <ul>
  4484. <li><?php bugfix(60947); ?> (Segmentation fault while executing ibase_db_info).</li>
  4485. </ul></li>
  4486. </ul>
  4487. <ul>
  4488. <li>Installation
  4489. <ul>
  4490. <li><?php bugfix(61172); ?> (Add Apache 2.4 support).</li>
  4491. </ul></li>
  4492. </ul>
  4493. <ul>
  4494. <li>mysqli
  4495. <ul>
  4496. <li><?php bugfix(61003); ?> (mysql_stat() require a valid connection).</li>
  4497. </ul></li>
  4498. </ul>
  4499. <ul>
  4500. <li>PDO_mysql
  4501. <ul>
  4502. <li><?php bugfix(61207); ?> (PDO::nextRowset() after a multi-statement query doesn't
  4503. always work).</li>
  4504. <li><?php bugfix(61194); ?> (PDO should export compression flag with myslqnd).</li>
  4505. </ul></li>
  4506. </ul>
  4507. <ul>
  4508. <li>PDO_odbc
  4509. <ul>
  4510. <li><?php bugfix(61212); ?> (PDO ODBC Segfaults on SQL_SUCESS_WITH_INFO).</li>
  4511. </ul></li>
  4512. </ul>
  4513. <ul>
  4514. <li>PDO_pgsql
  4515. <ul>
  4516. <li><?php bugfix(61267); ?> (pdo_pgsql's PDO::exec() returns the number of SELECTed
  4517. rows on postgresql &gt;= 9).</li>
  4518. </ul></li>
  4519. </ul>
  4520. <ul>
  4521. <li>PDO_Sqlite extension
  4522. <ul>
  4523. <li>Add createCollation support.</li>
  4524. </ul></li>
  4525. </ul>
  4526. <ul>
  4527. <li>pgsql
  4528. <ul>
  4529. <li><?php bugfix(60718); ?> (Compile problem with libpq (PostgreSQL 7.3 or less).</li>
  4530. </ul></li>
  4531. </ul>
  4532. <ul>
  4533. <li>Phar
  4534. <ul>
  4535. <li><?php bugfix(61184); ?> (Phar::webPhar() generates headers with trailing NUL
  4536. bytes).</li>
  4537. </ul></li>
  4538. </ul>
  4539. <ul>
  4540. <li>Readline
  4541. <ul>
  4542. <li><?php bugfix(61088); ?> (Memory leak in readline_callback_handler_install).</li>
  4543. <li>Add open_basedir checks to readline_write_history and readline_read_history.</li>
  4544. </ul></li>
  4545. </ul>
  4546. <ul>
  4547. <li>Reflection
  4548. <ul>
  4549. <li><?php bugfix(61388); ?> (ReflectionObject:getProperties() issues invalid reads
  4550. when get_properties returns a hash table with (inaccessible) dynamic
  4551. numeric properties).</li>
  4552. <li><?php bugfix(60968); ?> (Late static binding doesn't work with
  4553. ReflectionMethod::invokeArgs()).</li>
  4554. </ul></li>
  4555. </ul>
  4556. <ul>
  4557. <li>Session
  4558. <ul>
  4559. <li><?php bugfix(60860); ?> (session.save_handler=user without defined function core
  4560. dumps).</li>
  4561. <li><?php bugfix(60634); ?> (Segmentation fault when trying to die() in
  4562. SessionHandler::write()).</li>
  4563. </ul></li>
  4564. </ul>
  4565. <ul>
  4566. <li>SOAP
  4567. <ul>
  4568. <li><?php bugfix(61423); ?> (gzip compression fails).</li>
  4569. <li><?php bugfix(60887); ?> (SoapClient ignores user_agent option and sends no
  4570. User-Agent header).</li>
  4571. <li><?php bugfix(60842); ?>, <?php bugfix(51775); ?> (Chunked response parsing error when
  4572. chunksize length line is &gt; 10 bytes).</li>
  4573. <li><?php bugfix(49853); ?> (Soap Client stream context header option ignored).</li>
  4574. </ul></li>
  4575. </ul>
  4576. <ul>
  4577. <li>SPL
  4578. <ul>
  4579. <li>Fixed memory leak when calling SplFileInfo's constructor twice.</li>
  4580. <li><?php bugfix(61418); ?> (Segmentation fault when DirectoryIterator's or
  4581. FilesystemIterator's iterators are requested more than once without
  4582. having had its dtor callback called in between).</li>
  4583. <li><?php bugfix(61347); ?> (inconsistent isset behavior of Arrayobject).</li>
  4584. <li><?php bugfix(61326); ?> (ArrayObject comparison).</li>
  4585. </ul></li>
  4586. </ul>
  4587. <ul>
  4588. <li>SQLite3 extension
  4589. <ul>
  4590. <li>Add createCollation() method.</li>
  4591. </ul></li>
  4592. </ul>
  4593. <ul>
  4594. <li>Streams
  4595. <ul>
  4596. <li><?php bugfix(61371); ?> (stream_context_create() causes memory leaks on use
  4597. streams_socket_create).</li>
  4598. <li><?php bugfix(61253); ?> (Wrappers opened with errors concurrency problem on ZTS).</li>
  4599. <li><?php bugfix(61115); ?> (stream related segfault on fatal error in
  4600. php_stream_context_link).</li>
  4601. <li><?php bugfix(60817); ?> (stream_get_line() reads from stream even when there is
  4602. already sufficient data buffered). stream_get_line() now behaves more like
  4603. fgets(), as is documented.</li>
  4604. <li>Further fix for bug <?php bugfix(60455); ?> (stream_get_line misbehaves if EOF is not
  4605. detected together with the last read).</li>
  4606. <li><?php bugfix(60106); ?> (stream_socket_server silently truncates long unix
  4607. socket paths).</li>
  4608. </ul></li>
  4609. </ul>
  4610. <ul>
  4611. <li>Tidy
  4612. <ul>
  4613. <li><?php bugfix(54682); ?> (tidy null pointer dereference).</li>
  4614. </ul></li>
  4615. </ul>
  4616. <ul>
  4617. <li>XMLRPC
  4618. <ul>
  4619. <li><?php bugfix(61264); ?> (xmlrpc_parse_method_descriptions leaks temporary
  4620. variable).</li>
  4621. <li><?php bugfix(61097); ?> (Memory leak in xmlrpc functions copying zvals).</li>
  4622. </ul></li>
  4623. </ul>
  4624. <ul>
  4625. <li>Zlib
  4626. <ul>
  4627. <li><?php bugfix(61306); ?> (initialization of global inappropriate for ZTS).</li>
  4628. <li><?php bugfix(61287); ?> (A particular string fails to decompress).</li>
  4629. <li><?php bugfix(61139); ?> (gzopen leaks when specifying invalid mode).</li>
  4630. </ul></li>
  4631. </ul>
  4632. <!-- }}} --></section>
  4633. <section class="version" id="5.4.0"><!-- {{{ 5.4.0 -->
  4634. <h3>Version 5.4.0</h3>
  4635. <?php release_date('01-Mar-2012'); ?>
  4636. <ul>
  4637. <li>autoconf 2.59+ is now supported (and required) for generating the
  4638. configure script with ./buildconf. Autoconf 2.60+ is desirable
  4639. otherwise the configure help order may be incorrect.</li>
  4640. </ul>
  4641. <ul>
  4642. <li>Removed legacy features
  4643. <ul>
  4644. <li>break/continue $var syntax.</li>
  4645. <li>Safe mode and all related ini options.</li>
  4646. <li>register_globals and register_long_arrays ini options.</li>
  4647. <li>import_request_variables().</li>
  4648. <li>allow_call_time_pass_reference.</li>
  4649. <li>define_syslog_variables ini option and its associated function.</li>
  4650. <li>highlight.bg ini option.</li>
  4651. <li>Session bug compatibility mode (session.bug_compat_42 and
  4652. session.bug_compat_warn ini options).</li>
  4653. <li>session_is_registered(), session_register() and session_unregister()
  4654. functions.</li>
  4655. <li>y2k_compliance ini option.</li>
  4656. <li>magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase
  4657. ini options. get_magic_quotes_gpc, get_magic_quotes_runtime are kept
  4658. but always return false, set_magic_quotes_runtime raises an
  4659. E_CORE_ERROR.</li>
  4660. <li>Removed support for putenv("TZ=..") for setting the timezone.</li>
  4661. <li>Removed the timezone guessing algorithm in case the timezone isn't set with
  4662. date.timezone or date_default_timezone_set(). Instead of a guessed
  4663. timezone, "UTC" is now used instead.</li>
  4664. </ul></li>
  4665. </ul>
  4666. <ul>
  4667. <li>Moved extensions to PECL
  4668. <ul>
  4669. <li>ext/sqlite. (Note: the ext/sqlite3 and ext/pdo_sqlite extensions are
  4670. not affected)</li>
  4671. </ul></li>
  4672. </ul>
  4673. <ul>
  4674. <li>General improvements
  4675. <ul>
  4676. <li>Added short array syntax support ([1,2,3]), see UPGRADING guide for full
  4677. details.</li>
  4678. <li>Added binary numbers format (0b001010).</li>
  4679. <li>Added support for Class::{expr}() syntax.</li>
  4680. <li>Added multibyte support by default. Previously php had to be compiled
  4681. with --enable-zend-multibyte. Now it can be enabled or disabled through
  4682. zend.multibyte directive in php.ini.</li>
  4683. <li>Removed compile time dependency from ext/mbstring.</li>
  4684. <li>Added support for Traits.</li>
  4685. <li>Added closure $this support back.</li>
  4686. <li>Added array dereferencing support.</li>
  4687. <li>Added callable typehint.</li>
  4688. <li>Added indirect method call through array. <?php bugl(47160); ?>.</li>
  4689. <li>Added DTrace support.</li>
  4690. <li>Added class member access on instantiation (e.g. (new foo)-&gt;bar()) support.</li>
  4691. <li>&lt;?= is now always available regardless of the short_open_tag setting.</li>
  4692. <li>Implemented Zend Signal Handling (configurable option --enable-zend-signals,
  4693. off by default).</li>
  4694. <li>Improved output layer, see README.NEW-OUTPUT-API for internals.</li>
  4695. <li>Improved unix build system to allow building multiple PHP binary SAPIs and
  4696. one SAPI module the same time. <?php bugl(53271); ?>, <?php bugl(52419); ?>.</li>
  4697. <li>Implemented closure rebinding as parameter to bindTo.</li>
  4698. <li>Improved the warning message of incompatible arguments.</li>
  4699. <li>Improved ternary operator performance when returning arrays.
  4700. <li>Changed error handlers to only generate docref links when the docref_root
  4701. INI setting is not empty.</li>
  4702. <li>Changed silent conversion of array to string to produce a notice.</li>
  4703. <li>Changed default value of "default_charset" php.ini option from ISO-8859-1 to
  4704. UTF-8.</li>
  4705. <li>Changed silent casting of null/''/false into an Object when adding
  4706. a property into a warning.</li>
  4707. <li>Changed E_ALL to include E_STRICT.</li>
  4708. <li>Disabled windows CRT warning by default, can be enabled again using the ini
  4709. directive windows_show_crt_warnings.</li>
  4710. <li><?php bugfix(55378); ?>: Binary number literal returns float number though its
  4711. value is small enough.</li>
  4712. </ul></li>
  4713. </ul>
  4714. <ul>
  4715. <li>Improved Zend Engine memory usage
  4716. <ul>
  4717. <li>Improved parse error messages.</li>
  4718. <li>Replaced zend_function.pass_rest_by_reference by
  4719. ZEND_ACC_PASS_REST_BY_REFERENCE in zend_function.fn_flags.</li>
  4720. <li>Replaced zend_function.return_reference by ZEND_ACC_RETURN_REFERENCE
  4721. in zend_function.fn_flags.</li>
  4722. <li>Removed zend_arg_info.required_num_args as it was only needed for internal
  4723. functions. Now the first arg_info for internal functions (which has special
  4724. meaning) is represented by zend_internal_function_info structure.</li>
  4725. <li>Moved zend_op_array.size, size_var, size_literal, current_brk_cont,
  4726. backpatch_count into CG(context) as they are used only during compilation.</li>
  4727. <li>Moved zend_op_array.start_op into EG(start_op) as it's used only for
  4728. 'interactive' execution of single top-level op-array.</li>
  4729. <li>Replaced zend_op_array.done_pass_two by ZEND_ACC_DONE_PASS_TWO in
  4730. zend_op_array.fn_flags.</li>
  4731. <li>op_array.vars array is trimmed (reallocated) during pass_two.
  4732. <li>Replaced zend_class_entry.constants_updated by ZEND_ACC_CONSTANTS_UPDATED
  4733. in zend_class_entry.ce_flags.</li>
  4734. <li>Reduced the size of zend_class_entry by sharing the same memory space
  4735. by different information for internal and user classes.
  4736. See zend_class_entry.info union.</li>
  4737. <li>Reduced size of temp_variable.</li>
  4738. </ul></li>
  4739. </ul>
  4740. <ul>
  4741. <li>Improved Zend Engine, performance tweaks and optimizations
  4742. <ul>
  4743. <li>Inlined most probable code-paths for arithmetic operations directly into
  4744. executor.</li>
  4745. <li>Eliminated unnecessary iterations during request startup/shutdown.</li>
  4746. <li>Changed $GLOBALS into a JIT autoglobal, so it's initialized only if used.
  4747. (this may affect opcode caches!)</li>
  4748. <li>Improved performance of @ (silence) operator.</li>
  4749. <li>Simplified string offset reading. $str[1][0] is now a legal construct.</li>
  4750. <li>Added caches to eliminate repeatable run-time bindings of functions,
  4751. classes, constants, methods and properties.</li>
  4752. <li>Added concept of interned strings. All strings constants known at compile
  4753. time are allocated in a single copy and never changed.</li>
  4754. <li>ZEND_RECV now always has IS_CV as its result.</li>
  4755. <li>ZEND_CATCH now has to be used only with constant class names.</li>
  4756. <li>ZEND_FETCH_DIM_? may fetch array and dimension operands in different order.</li>
  4757. <li>Simplified ZEND_FETCH_*_R operations. They can't be used with the
  4758. EXT_TYPE_UNUSED flag any more. This is a very rare and useless case.
  4759. ZEND_FREE might be required after them instead.</li>
  4760. <li>Split ZEND_RETURN into two new instructions ZEND_RETURN and
  4761. ZEND_RETURN_BY_REF.</li>
  4762. <li>Optimized access to global constants using values with pre-calculated
  4763. hash_values from the literals table.</li>
  4764. <li>Optimized access to static properties using executor specialization.
  4765. A constant class name may be used as a direct operand of ZEND_FETCH_*
  4766. instruction without previous ZEND_FETCH_CLASS.</li>
  4767. <li>zend_stack and zend_ptr_stack allocation is delayed until actual usage.</li>
  4768. </ul></li>
  4769. </ul>
  4770. <ul>
  4771. <li>Other improvements to Zend Engine
  4772. <ul>
  4773. <li>Added an optimization which saves memory and emalloc/efree calls for empty
  4774. HashTables.</li>
  4775. <li>Added ability to reset user opcode handlers.</li>
  4776. <li>Changed the structure of op_array.opcodes. The constant values are moved from
  4777. opcode operands into a separate literal table.</li>
  4778. <li>Fixed (disabled) inline-caching for ZEND_OVERLOADED_FUNCTION methods.</li>
  4779. <li><?php bugfix(43200); ?> (Interface implementation / inheritence not possible in
  4780. abstract classes).</li>
  4781. </ul></li>
  4782. </ul>
  4783. <ul>
  4784. <li>Improved core functions
  4785. <ul>
  4786. <li>Added optional argument to debug_backtrace() and debug_print_backtrace()
  4787. to limit the amount of stack frames returned.</li>
  4788. <li>Added hex2bin() function.</li>
  4789. <li>number_format() no longer truncates multibyte decimal points and thousand
  4790. separators to the first byte. <?php bugl(53457); ?>.</li>
  4791. <li>Added support for object references in recursive serialize() calls.
  4792. <?php bugl(36424); ?>.</li>
  4793. <li>Added support for SORT_NATURAL and SORT_FLAG_CASE in array
  4794. sort functions (sort, rsort, ksort, krsort, asort, arsort and
  4795. array_multisort). <?php bugl(55158); ?>.</li>
  4796. <li>Added stream metadata API support and stream_metadata() stream class
  4797. handler.</li>
  4798. <li>User wrappers can now define a stream_truncate() method that responds
  4799. to truncation, e.g. through ftruncate(). <?php bugl(53888); ?>.</li>
  4800. <li>Improved unserialize() performance.</li>
  4801. <li>Changed array_combine() to return empty array instead of FALSE when both
  4802. parameter arrays are empty. <?php bugl(34857); ?>.</li>
  4803. <li>Fixed invalid free in call_user_method() function.</li>
  4804. <li>Fixed crypt_blowfish handling of 8-bit characters. (CVE-2011-2483).</li>
  4805. <li><?php bugfix(61095); ?> (Incorect lexing of 0x00*+&lt;NUM&gt;).</li>
  4806. <li><?php bugfix(60965); ?> (Buffer overflow on htmlspecialchars/entities with
  4807. $double=false).</li>
  4808. <li><?php bugfix(60895); ?> (Possible invalid handler usage in windows random
  4809. functions).</li>
  4810. <li><?php bugfix(60879); ?> (unserialize() Does not invoke __wakeup() on object).</li>
  4811. <li><?php bugfix(60825); ?> (Segfault when running symfony 2 tests).</li>
  4812. <li><?php bugfix(60809); ?> (TRAITS - PHPDoc Comment Style Bug).</li>
  4813. <li><?php bugfix(60627); ?> (httpd.worker segfault on startup with php_value).</li>
  4814. <li><?php bugfix(60613); ?> (Segmentation fault with $cls-&gt;{expr}() syntax).</li>
  4815. <li><?php bugfix(60611); ?> (Segmentation fault with Cls::{expr}() syntax).</li>
  4816. <li><?php bugfix(60558); ?> (Invalid read and writes).</li>
  4817. <li><?php bugfix(60536); ?> (Traits Segfault).</li>
  4818. <li><?php bugfix(60444); ?> (Segmentation fault with include &amp; class extending).</li>
  4819. <li><?php bugfix(60362); ?> (non-existent sub-sub keys should not have values).</li>
  4820. <li><?php bugfix(60350); ?> (No string escape code for ESC (ascii 27), normally \e).</li>
  4821. <li><?php bugfix(60321); ?> (ob_get_status(true) no longer returns an array when
  4822. buffer is empty).</li>
  4823. <li><?php bugfix(60282); ?> (Segfault when using ob_gzhandler() with open buffers).</li>
  4824. <li><?php bugfix(60240); ?> (invalid read/writes when unserializing specially crafted
  4825. strings).</li>
  4826. <li><?php bugfix(60227); ?> (header() cannot detect the multi-line header with
  4827. CR(0x0D)).</li>
  4828. <li><?php bugfix(60174); ?> (Notice when array in method prototype error).</li>
  4829. <li><?php bugfix(60169); ?> (Conjunction of ternary and list crashes PHP).</li>
  4830. <li><?php bugfix(60120); ?> (proc_open's streams may hang with stdin/out/err when the data exceeds or is equal to 2048 bytes).
  4831. <li><?php bugfix(60099); ?> (__halt_compiler() works in braced namespaces).</li>
  4832. <li><?php bugfix(60038); ?> (SIGALRM cause segfault in php_error_cb).</li>
  4833. <li><?php bugfix(55874); ?> (GCC does not provide __sync_fetch_and_add on some archs).</li>
  4834. <li><?php bugfix(55871); ?> (Interruption in substr_replace()).</li>
  4835. <li><?php bugfix(55825); ?> (Missing initial value of static locals in trait methods).</li>
  4836. <li><?php bugfix(55801); ?> (Behavior of unserialize has changed).</li>
  4837. <li><?php bugfix(55622); ?> (memory corruption in parse_ini_string).</li>
  4838. <li><?php bugfix(55758); ?> (Digest Authenticate missed in 5.4) .</li>
  4839. <li><?php bugfix(55748); ?> (multiple NULL Pointer Dereference with zend_strndup())
  4840. (CVE-2011-4153).</li>
  4841. <li><?php bugfix(55749); ?> (TOCTOU issue in getenv() on Windows builds).</li>
  4842. <li><?php bugfix(55707); ?> (undefined reference to `__sync_fetch_and_add_4' on Linux
  4843. parisc).</li>
  4844. <li><?php bugfix(55705); ?> (Omitting a callable typehinted argument causes a segfault).</li>
  4845. <li><?php bugfix(55475); ?> (is_a() triggers autoloader, new optional 3rd argument to
  4846. is_a and is_subclass_of).</li>
  4847. <li><?php bugfix(55471); ?> (ZTS build broken with dtrace).</li>
  4848. <li><?php bugfix(55124); ?> (recursive mkdir fails with current (dot) directory in path).</li>
  4849. <li><?php bugfix(55084); ?> (Function registered by header_register_callback is
  4850. called only once per process).</li>
  4851. <li>Implement <?php bugl(54514); ?> (Get php binary path during script execution).</li>
  4852. <li><?php bugfix(52624); ?> (tempnam() by-pass open_basedir with nonexistent
  4853. directory).</li>
  4854. <li><?php bugfix(52211); ?> (iconv() returns part of string on error).</li>
  4855. <li><?php bugfix(51860); ?> (Include fails with toplevel symlink to /).</li>
  4856. </ul></li>
  4857. </ul>
  4858. <ul>
  4859. <li>Improved generic SAPI support
  4860. <ul>
  4861. <li>Added $_SERVER['REQUEST_TIME_FLOAT'] to include microsecond precision.</li>
  4862. <li>Added max_input_vars directive to prevent attacks based on hash collisions.</li>
  4863. <li>Added header_register_callback() which is invoked immediately
  4864. prior to the sending of headers and after default headers have
  4865. been added.</li>
  4866. <li>Added http_response_code() function. <?php bugl(52555); ?>.</li>
  4867. <li><?php bugfix(55500); ?> (Corrupted $_FILES indices lead to security concern).</li>
  4868. <li><?php bugfix(54374); ?> (Insufficient validating of upload name leading to
  4869. corrupted $_FILES indices).</li>
  4870. </ul></li>
  4871. </ul>
  4872. <ul>
  4873. <li>Improved Apache SAPI
  4874. <ul>
  4875. <li><?php bugfix(60205); ?> (possible integer overflow in content_length).</li>
  4876. </ul></li>
  4877. </ul>
  4878. <ul>
  4879. <li>Improved CLI SAPI
  4880. <ul>
  4881. <li>Added friendly log messages. <?php bugl(55109); ?>.</li>
  4882. <li>Added built-in web server that is intended for testing purpose.</li>
  4883. <li>Added command line option --rz &lt;name&gt; which shows information of the
  4884. named Zend extension.</li>
  4885. <li>Interactive readline shell improvements
  4886. <ul>
  4887. <li>Added "cli.pager" php.ini setting to set a pager for output.</li>
  4888. <li>Added "cli.prompt" php.ini setting to configure the shell prompt.</li>
  4889. <li>Added shortcut #inisetting=value to change ini settings at run-time.</li>
  4890. <li>Changed shell not to terminate on fatal errors.</li>
  4891. <li>Interactive shell works with shared readline extension. <?php bugl(53878); ?>.</li>
  4892. </ul></li>
  4893. <li><?php bugfix(60591); ?> (Memory leak when access a non-exists file).</li>
  4894. <li><?php bugfix(60523); ?> (PHP Errors are not reported in browsers using built-in
  4895. SAPI).</li>
  4896. <li><?php bugfix(60477); ?> (Segfault after two multipart/form-data POST requests,
  4897. one 200 RQ and one 404).</li>
  4898. <li>Implement <?php bugl(60390); ?> (Missing $_SERVER['SERVER_PORT']).</li>
  4899. <li><?php bugfix(60180); ?> ($_SERVER["PHP_SELF"] incorrect).</li>
  4900. <li><?php bugfix(60159); ?> (Router returns false, but POST is not passed to requested
  4901. resource).</li>
  4902. <li><?php bugfix(60146); ?> (Last 2 lines of page not being output).</li>
  4903. <li><?php bugfix(60115); ?> (memory definitely lost in cli server).</li>
  4904. <li><?php bugfix(60112); ?> (If URI does not contain a file, index.php is not served).</li>
  4905. <li><?php bugfix(55759); ?> (memory leak when using built-in server).</li>
  4906. <li><?php bugfix(55755); ?> (SegFault when outputting header WWW-Authenticate).</li>
  4907. <li><?php bugfix(55747); ?> (request headers missed in $_SERVER).</li>
  4908. <li><?php bugfix(55726); ?> (Changing the working directory makes router script
  4909. inaccessible).</li>
  4910. <li><?php bugfix(55463); ?> (cli-server missing _SERVER[REMOTE_ADDR]).</li>
  4911. <li><?php bugfix(55450); ?> (Built in web server not accepting file uploads).</li>
  4912. <li><?php bugfix(55423); ?> (cli-server could not output correctly in some case).</li>
  4913. </ul></li>
  4914. </ul>
  4915. <ul>
  4916. <li>Improved CGI/FastCGI SAPI
  4917. <ul>
  4918. <li>Added apache compatible functions: apache_child_terminate(),
  4919. getallheaders(), apache_request_headers() and apache_response_headers().</li>
  4920. <li>Improved performance of FastCGI request parsing.</li>
  4921. <li>Fixed reinitialization of SAPI callbacks after php_module_startup().</li>
  4922. </ul></li>
  4923. </ul>
  4924. <ul>
  4925. <li>Improved PHP-FPM SAPI
  4926. <ul>
  4927. <li>Added partial syslog support (on error_log only). <?php bugl(52052); ?>.</li>
  4928. <li>Added .phar to default authorized extensions.</li>
  4929. <li>Added process.max to control the number of process FPM can fork. <?php bugl(55166); ?>.</li>
  4930. <li>Dropped restriction of not setting the same value multiple times, the last
  4931. one holds.</li>
  4932. <li>Lowered default value for Process Manager. <?php bugl(54098); ?>.</li>
  4933. <li>Enhanced security by limiting access to user defined extensions.
  4934. <?php bugl(55181); ?>.</li>
  4935. <li>Enhanced error log when the primary script can't be open. <?php bugl(60199); ?>.</li>
  4936. <li>Removed EXPERIMENTAL flag.</li>
  4937. <li><?php bugfix(60659); ?> (FPM does not clear auth_user on request accept).</li>
  4938. <li><?php bugfix(60629); ?> (memory corruption when web server closed the fcgi fd).</li>
  4939. </ul></li>
  4940. </ul>
  4941. <ul>
  4942. <li>Improved Litespeed SAPI
  4943. <ul>
  4944. <li><?php bugfix(55769); ?> (Make Fails with "Missing Separator" error).</li>
  4945. </ul></li>
  4946. </ul>
  4947. <ul>
  4948. <li>Improved BCmath extension
  4949. <ul>
  4950. <li><?php bugfix(60377); ?> (bcscale related crashes on 64bits platforms).</li>
  4951. </ul></li>
  4952. </ul>
  4953. <ul>
  4954. <li>Improved CURL extension
  4955. <ul>
  4956. <li>Added support for CURLOPT_MAX_RECV_SPEED_LARGE and
  4957. CURLOPT_MAX_SEND_SPEED_LARGE. <?php bugl(51815); ?>.</li>
  4958. <li><?php bugfix(60439); ?> (curl_copy_handle segfault when used with
  4959. CURLOPT_PROGRESSFUNCTION).</li>
  4960. </ul></li>
  4961. </ul>
  4962. <ul>
  4963. <li>Improved Date extension
  4964. <ul>
  4965. <li>Added the + modifier to parseFromFormat to allow trailing text in the
  4966. string to parse without throwing an error.</li>
  4967. </ul></li>
  4968. </ul>
  4969. <ul>
  4970. <li>Improved DBA extension
  4971. <ul>
  4972. <li>Added Tokyo Cabinet abstract DB support.</li>
  4973. <li>Added Berkeley DB 5 support.</li>
  4974. </ul></li>
  4975. </ul>
  4976. <ul>
  4977. <li>Improved DOM extension
  4978. <ul>
  4979. <li>Added the ability to pass options to loadHTML.</li>
  4980. </ul></li>
  4981. </ul>
  4982. <ul>
  4983. <li>Improved filesystem functions
  4984. <ul>
  4985. <li>scandir() now accepts SCANDIR_SORT_NONE as a possible sorting_order value.
  4986. <?php bugl(53407); ?>.</li>
  4987. </ul></li>
  4988. </ul>
  4989. <ul>
  4990. <li>Improved fileinfo extension
  4991. <ul>
  4992. <li>Fixed possible memory leak in finfo_open().</li>
  4993. <li>Fixed memory leak when calling the Finfo constructor twice.</li>
  4994. <li><?php bugfix(60094); ?> (C++ comment fails in c89).</li>
  4995. </ul></li>
  4996. </ul>
  4997. <ul>
  4998. <li>Improved HASH extension
  4999. <ul>
  5000. <li>Added Jenkins's one-at-a-time hash support.</li>
  5001. <li>Added FNV-1 hash support.</li>
  5002. <li>Made Adler32 algorithm faster. <?php bugl(53213); ?>.</li>
  5003. <li>Removed Salsa10/Salsa20, which are actually stream ciphers.</li>
  5004. <li><?php bugfix(60221); ?> (Tiger hash output byte order).</li>
  5005. </ul></li>
  5006. </ul>
  5007. <ul>
  5008. <li>Improved intl extension
  5009. <ul>
  5010. <li>Added Spoofchecker class, allows checking for visibly confusable characters and
  5011. other security issues.</li>
  5012. <li>Added Transliterator class, allowing transliteration of strings. </li>
  5013. <li>Added support for UTS #46.</li>
  5014. <li>Fixed memory leak in several Intl locale functions.</li>
  5015. <li>Fixed build on Fedora 15 / Ubuntu 11.</li>
  5016. <li><?php bugfix(55562); ?> (grapheme_substr() returns false on big length).</li>
  5017. </ul></li>
  5018. </ul>
  5019. <ul>
  5020. <li>Improved JSON extension
  5021. <ul>
  5022. <li>Added new json_encode() option JSON_UNESCAPED_UNICODE. <?php bugl(53946); ?>.</li>
  5023. <li>Added JsonSerializable interface.</li>
  5024. <li>Added JSON_BIGINT_AS_STRING, extended json_decode() sig with $options.</li>
  5025. <li>Added support for JSON_NUMERIC_CHECK option in json_encode() that converts
  5026. numeric strings to integers.</li>
  5027. <li>Added new json_encode() option JSON_UNESCAPED_SLASHES. <?php bugl(49366); ?>.</li>
  5028. <li>Added new json_encode() option JSON_PRETTY_PRINT. <?php bugl(44331); ?>.</li>
  5029. </ul></li>
  5030. </ul>
  5031. <ul>
  5032. <li>Improved LDAP extension
  5033. <ul>
  5034. <li>Added paged results support. <?php bugl(42060); ?>.</li>
  5035. </ul></li>
  5036. </ul>
  5037. <ul>
  5038. <li>Improved mbstring extension
  5039. <ul>
  5040. <li>Added Shift_JIS/UTF-8 Emoji (pictograms) support.</li>
  5041. <li>Added JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
  5042. support.</li>
  5043. <li>Ill-formed UTF-8 check for security enhancements.</li>
  5044. <li>Added MacJapanese (Shift_JIS) and gb18030 encoding support.</li>
  5045. <li>Added encode/decode in hex format to mb_[en|de]code_numericentity().</li>
  5046. <li>Added user JIS X0213:2004 (Shift_JIS-2004, EUC-JP-2004, ISO-2022-JP-2004)
  5047. support.</li>
  5048. <li>Added the user defined area for CP936 and CP950.</li>
  5049. <li>Fixed possible crash in mb_ereg_search_init() using empty pattern.</li>
  5050. <li><?php bugfix(60306); ?> (Characters lost while converting from cp936 to utf8).</li>
  5051. </ul></li>
  5052. </ul>
  5053. <ul>
  5054. <li>Improved MS SQL extension
  5055. <ul>
  5056. <li><?php bugfix(60267); ?> (Compile failure with freetds 0.91).</li>
  5057. </ul></li>
  5058. </ul>
  5059. <ul>
  5060. <li>Improved MySQL extensions
  5061. <ul>
  5062. <li>MySQL: Deprecated mysql_list_dbs(). <?php bugl(50667); ?>.</li>
  5063. <li>mysqlnd: Added named pipes support. <?php bugl(48082); ?>.</li>
  5064. <li>MySQLi: Added iterator support in MySQLi. mysqli_result implements
  5065. Traversable.</li>
  5066. <li>PDO_mysql: Removed support for linking with MySQL client libraries older
  5067. than 4.1.</li>
  5068. <li>ext/mysql, mysqli and pdo_mysql now use mysqlnd by default.</li>
  5069. <li><?php bugfix(55473); ?> (mysql_pconnect leaks file descriptors on reconnect). </li>
  5070. <li><?php bugfix(55653); ?> (PS crash with libmysql when binding same variable as
  5071. param and out).</li>
  5072. </ul></li>
  5073. </ul>
  5074. <ul>
  5075. <li>Improved OpenSSL extension
  5076. <ul>
  5077. <li>Added AES support. <?php bugl(48632); ?>.</li>
  5078. <li>Added a "no_ticket" SSL context option to disable the SessionTicket TLS
  5079. extension. <?php bugl(53447); ?>.</li>
  5080. <li>Added no padding option to openssl_encrypt()/openssl_decrypt().</li>
  5081. <li>Use php's implementation for Windows Crypto API in
  5082. openssl_random_pseudo_bytes.</li>
  5083. <li>On error in openssl_random_pseudo_bytes() made sure we set strong result
  5084. to false.</li>
  5085. <li>Fixed segfault with older versions of OpenSSL.</li>
  5086. <li>Fixed possible attack in SSL sockets with SSL 3.0 / TLS 1.0.
  5087. CVE-2011-3389.</li>
  5088. <li><?php bugfix(61124); ?> (Crash when decoding an invalid base64 encoded string).</li>
  5089. <li><?php bugfix(60279); ?> (Fixed NULL pointer dereference in
  5090. stream_socket_enable_crypto, case when ssl_handle of session_stream is not
  5091. initialized.</li>
  5092. </ul></li>
  5093. </ul>
  5094. <ul>
  5095. <li>Improved Oracle Database extension (OCI8)
  5096. <ul>
  5097. <li>Increased maximum Oracle error message buffer length for new 11.2.0.3 size.</li>
  5098. <li>Improved internal initalization failure error messages.</li>
  5099. <li><?php bugfix(59985); ?> (show normal warning text for OCI_NO_DATA).</li>
  5100. </ul></li>
  5101. </ul>
  5102. <ul>
  5103. <li>Improved PDO
  5104. <ul>
  5105. <li>Fixed PDO objects binary incompatibility.</li>
  5106. </ul></li>
  5107. </ul>
  5108. <ul>
  5109. <li>PDO DBlib driver
  5110. <ul>
  5111. <li>Added nextRowset support.</li>
  5112. <li><?php bugfix(60033); ?> (Incorrectly merged PDO dblib patches break
  5113. uniqueidentifier column type).</li>
  5114. <li><?php bugfix(50755); ?> (PDO DBLIB Fails with OOM).</li>
  5115. </ul></li>
  5116. </ul>
  5117. <ul>
  5118. <li>Improved Pdo Firebird driver
  5119. <ul>
  5120. <li><?php bugfix(53280); ?> (segfaults if query column count less than param count). </li>
  5121. <li><?php bugfix(48877); ?> ("bindValue" and "bindParam" do not work for PDO Firebird).</li>
  5122. <li><?php bugfix(47415); ?> (segfaults when passing lowercased column name to
  5123. bindColumn).</li>
  5124. </ul></li>
  5125. </ul>
  5126. <ul>
  5127. <li>Improved PostgreSQL extension
  5128. <ul>
  5129. <li>Added support for "extra" parameter for PGNotify().</li>
  5130. </ul></li>
  5131. </ul>
  5132. <ul>
  5133. <li>Improved preg extension
  5134. <ul>
  5135. <li>Changed third parameter of preg_match_all() to optional. <?php bugl(53238); ?>.</li>
  5136. </ul></li>
  5137. </ul>
  5138. <ul>
  5139. <li>Improved readline extension
  5140. <ul>
  5141. <li><?php bugfix(54450); ?> (Enable callback support when built against libedit).</li>
  5142. </ul></li>
  5143. </ul>
  5144. <ul>
  5145. <li>Improved Reflection extension
  5146. <ul>
  5147. <li>Added ReflectionClass::newInstanceWithoutConstructor() to create a new
  5148. instance of a class without invoking its constructor. <?php bugl(55490); ?>.</li>
  5149. <li>Added ReflectionExtension::isTemporary() and
  5150. ReflectionExtension::isPersistent() methods.</li>
  5151. <li>Added ReflectionZendExtension class.</li>
  5152. <li>Added ReflectionClass::isCloneable().</li>
  5153. <li><?php bugfix(60367); ?> (Reflection and Late Static Binding).</li>
  5154. <li><?php bugfix(60357); ?> (__toString() method triggers E_NOTICE "Array to string
  5155. conversion").</li>
  5156. </ul></li>
  5157. </ul>
  5158. <ul>
  5159. <li>Improved Session extension
  5160. <ul>
  5161. <li>Expose session status via new function, session_status. <?php bugl(52982); ?>.</li>
  5162. <li>Added support for object-oriented session handlers.</li>
  5163. <li>Added support for storing upload progress feedback in session data.</li>
  5164. <li>Changed session.entropy_file to default to /dev/urandom or /dev/arandom if
  5165. either is present at compile time.</li>
  5166. <li><?php bugfix(60860); ?> (session.save_handler=user without defined function core
  5167. dumps).</li>
  5168. <li>Implement <?php bugl(60551); ?> (session_set_save_handler should support a core's
  5169. session handler interface).</li>
  5170. <li><?php bugfix(60640); ?> (invalid return values).</li>
  5171. </ul></li>
  5172. </ul>
  5173. <ul>
  5174. <li>Improved SNMP extension
  5175. <ul>
  5176. <li>Added OO API. <?php bugl(53594); ?> (php-snmp rewrite).</li>
  5177. <li>Sanitized return values of existing functions. Now it returns FALSE on
  5178. failure.</li>
  5179. <li>Allow ~infinite OIDs in GET/GETNEXT/SET queries. Autochunk them to max_oids
  5180. upon request.</li>
  5181. <li>Introducing unit tests for extension with ~full coverage.
  5182. IPv6 support. (<?php bugl(42918); ?>)</li>
  5183. <li>Way of representing OID value can now be changed when SNMP_VALUE_OBJECT
  5184. is used for value output mode. Use or'ed SNMP_VALUE_LIBRARY(default if
  5185. not specified) or SNMP_VALUE_PLAIN. (<?php bugl(54502); ?>)</li>
  5186. <li><?php bugfix(60749); ?> (SNMP module should not strip non-standard SNMP port
  5187. from hostname).</li>
  5188. <li><?php bugfix(60585); ?> (php build fails with USE flag snmp when IPv6 support
  5189. is disabled).</li>
  5190. <li><?php bugfix(53862); ?> (snmp_set_oid_output_format does not allow returning to default).</li>
  5191. <li><?php bugfix(51336); ?> (snmprealwalk (snmp v1) does not handle end of OID tree correctly).</li>
  5192. <li><?php bugfix(46065); ?> (snmp_set_quick_print() persists between requests).</li>
  5193. <li><?php bugfix(45893); ?> (Snmp buffer limited to 2048 char).</li>
  5194. <li><?php bugfix(44193); ?> (snmp v3 noAuthNoPriv doesn't work).</li>
  5195. </ul></li>
  5196. </ul>
  5197. <ul>
  5198. <li>Improved SOAP extension
  5199. <ul>
  5200. <li>Added new SoapClient option "keep_alive". <?php bugl(60329); ?>.</li>
  5201. <li>Fixed basic HTTP authentication for WSDL sub requests.</li>
  5202. </ul></li>
  5203. </ul>
  5204. <ul>
  5205. <li>Improved SPL extension
  5206. <ul>
  5207. <li>Added RegexIterator::getRegex() method.</li>
  5208. <li>Added SplObjectStorage::getHash() hook.</li>
  5209. <li>Added CallbackFilterIterator and RecursiveCallbackFilterIterator.</li>
  5210. <li>Added missing class_uses(..) as pointed out by #55266.</li>
  5211. <li>Immediately reject wrong usages of directories under Spl(Temp)FileObject
  5212. and friends.</li>
  5213. <li>FilesystemIterator, GlobIterator and (Recursive)DirectoryIterator now use
  5214. the default stream context.</li>
  5215. <li><?php bugfix(60201); ?> (SplFileObject::setCsvControl does not expose third
  5216. argument via Reflection).</li>
  5217. <li><?php bugfix(55807); ?> (Wrong value for splFileObject::SKIP_EMPTY).</li>
  5218. <li><?php bugfix(55287); ?> (spl_classes() not includes CallbackFilter classes)</li>
  5219. </ul></li>
  5220. </ul>
  5221. <ul>
  5222. <li>Improved Sysvshm extension
  5223. <ul>
  5224. <li><?php bugfix(55750); ?> (memory copy issue in sysvshm extension).</li>
  5225. </ul></li>
  5226. </ul>
  5227. <ul>
  5228. <li>Improved Tidy extension
  5229. <ul>
  5230. <li><?php bugfix(54682); ?> (Tidy::diagnose() NULL pointer dereference).</li>
  5231. </ul></li>
  5232. </ul>
  5233. <ul>
  5234. <li>Improved Tokenizer extension
  5235. <ul>
  5236. <li><?php bugfix(54089); ?> (token_get_all with regards to __halt_compiler is
  5237. not binary safe).</li>
  5238. </ul></li>
  5239. </ul>
  5240. <ul>
  5241. <li>Improved XSL extension
  5242. <ul>
  5243. <li>Added XsltProcessor::setSecurityPrefs($options) and getSecurityPrefs() to
  5244. define forbidden operations within XSLT stylesheets, default is not to
  5245. enable write operations from XSLT. <?php bugfix(54446); ?>.</li>
  5246. <li>XSL doesn't stop transformation anymore, if a PHP function can't be called</li>
  5247. </ul></li>
  5248. </ul>
  5249. <ul>
  5250. <li>Improved ZLIB extension
  5251. <ul>
  5252. <li>Re-implemented non-file related functionality.</li>
  5253. <li><?php bugfix(55544); ?> (ob_gzhandler always conflicts with zlib.output_compression).</li>
  5254. </ul></li>
  5255. </ul>
  5256. <!-- }}} --></section>
  5257. <section class="version" id="5.3.10"><!-- {{{ 5.3.10 -->
  5258. <h3>Version 5.3.10</h3>
  5259. <?php release_date('02-Feb-2012'); ?>
  5260. <ul>
  5261. <li>Core:
  5262. <ul>
  5263. <li>Fixed arbitrary remote code execution vulnerability reported by Stefan
  5264. Esser, CVE-2012-0830.</li>
  5265. </ul>
  5266. </li>
  5267. </ul>
  5268. <!-- }}} --></section>
  5269. <section class="version" id="5.3.9"><!-- {{{ 5.3.9 -->
  5270. <h3>Version 5.3.9</h3>
  5271. <?php release_date('10-Jan-2012'); ?>
  5272. <ul>
  5273. <li>Core:
  5274. <ul>
  5275. <li>Added max_input_vars directive to prevent attacks based on hash collisions
  5276. (Dmitry).</li>
  5277. <li><?php bugfix(60205); ?> (possible integer overflow in content_length). (Laruence)</li>
  5278. <li><?php bugfix(60139); ?> (Anonymous functions create cycles not detected by the
  5279. GC). (Dmitry)</li>
  5280. <li><?php bugfix(60138); ?> (GC crash with referenced array in RecursiveArrayIterator)
  5281. (Dmitry).</li>
  5282. <li><?php bugfix(60120); ?> (proc_open's streams may hang with stdin/out/err when
  5283. the data exceeds or is equal to 2048 bytes). (Pierre, Pascal Borreli)</li>
  5284. <li><?php bugfix(60099); ?> (__halt_compiler() works in braced namespaces). (Felipe)</li>
  5285. <li><?php bugfix(60019); ?> (Function time_nanosleep() is undefined on OS X). (Ilia)</li>
  5286. <li><?php bugfix(55874); ?> (GCC does not provide __sync_fetch_and_add on some archs).
  5287. (klightspeed at netspace dot net dot au)</li>
  5288. <li><?php bugfix(55798); ?> (serialize followed by unserialize with numeric object
  5289. prop. gives integer prop). (Gustavo)</li>
  5290. <li><?php bugfix(55749); ?> (TOCTOU issue in getenv() on Windows builds). (Pierre)</li>
  5291. <li><?php bugfix(55707); ?> (undefined reference to `__sync_fetch_and_add_4' on Linux
  5292. parisc). (Felipe)</li>
  5293. <li><?php bugfix(55674); ?> (fgetcsv &amp; str_getcsv skip empty fields in some
  5294. tab-separated records). (Laruence)</li>
  5295. <li><?php bugfix(55649); ?> (Undefined function Bug()). (Laruence)</li>
  5296. <li><?php bugfix(55622); ?> (memory corruption in parse_ini_string). (Pierre)</li>
  5297. <li><?php bugfix(55576); ?> (Cannot conditionally move uploaded file without race
  5298. condition). (Gustavo)</li>
  5299. <li><?php bugfix(55510); ?>: $_FILES 'name' missing first character after upload.
  5300. (Arpad)</li>
  5301. <li><?php bugfix(55509); ?> (segfault on x86_64 using more than 2G memory). (Laruence)</li>
  5302. <li><?php bugfix(55504); ?> (Content-Type header is not parsed correctly on
  5303. HTTP POST request). (Hannes)</li>
  5304. <li><?php bugfix(55475); ?> (is_a() triggers autoloader, new optional 3rd argument to
  5305. is_a and is_subclass_of). (alan_k)</li>
  5306. <li><?php bugfix(52461); ?> (Incomplete doctype and missing xmlns).
  5307. (virsacer at web dot de, Pierre)</li>
  5308. <li><?php bugfix(55366); ?> (keys lost when using substr_replace an array). (Arpad)</li>
  5309. <li><?php bugfix(55273); ?> (base64_decode() with strict rejects whitespace after
  5310. pad). (Ilia)</li>
  5311. <li><?php bugfix(52624); ?> (tempnam() by-pass open_basedir with nonnexistent
  5312. directory). (Felipe)</li>
  5313. <li><?php bugfix(50982); ?> (incorrect assumption of PAGE_SIZE size). (Dmitry)</li>
  5314. <li>Fixed invalid free in call_user_method() function. (Felipe)</li>
  5315. <li><?php bugfix(43200); ?> (Interface implementation / inheritence not possible in
  5316. abstract classes). (Felipe)</li>
  5317. </ul>
  5318. </li>
  5319. <li>BCmath:
  5320. <ul>
  5321. <li><?php bugfix(60377); ?> (bcscale related crashes on 64bits platforms). (shm)</li>
  5322. </ul>
  5323. </li>
  5324. <li>Calendar:
  5325. <ul>
  5326. <li><?php bugfix(55797); ?> (Integer overflow in SdnToGregorian leads to segfault (in
  5327. optimized builds). (Gustavo)</li>
  5328. </ul>
  5329. </li>
  5330. <li>cURL:
  5331. <ul>
  5332. <li><?php bugfix(60439); ?> (curl_copy_handle segfault when used with
  5333. CURLOPT_PROGRESSFUNCTION). (Pierrick)</li>
  5334. <li><?php bugfix(54798); ?> (Segfault when CURLOPT_STDERR file pointer is closed
  5335. before calling curl_exec). (Hannes)</li>
  5336. <li>Fixed issues were curl_copy_handle() would sometimes lose copied
  5337. preferences. (Hannes)</li>
  5338. </ul>
  5339. </li>
  5340. <li>DateTime:
  5341. <ul>
  5342. <li><?php bugfix(60373); ?> (Startup errors with log_errors on cause segfault).
  5343. (Derick)</li>
  5344. <li><?php bugfix(60236); ?> (TLA timezone dates are not converted properly from
  5345. timestamp). (Derick)</li>
  5346. <li><?php bugfix(55253); ?> (DateTime::add() and sub() result -1 hour on objects with
  5347. time zone type 2). (Derick)</li>
  5348. <li><?php bugfix(54851); ?> (DateTime::createFromFormat() doesn't interpret "D").
  5349. (Derick)</li>
  5350. <li><?php bugfix(53502); ?> (strtotime with timezone memory leak). (Derick)</li>
  5351. <li><?php bugfix(52062); ?> (large timestamps with DateTime::getTimestamp and
  5352. DateTime::setTimestamp). (Derick)</li>
  5353. <li><?php bugfix(51994); ?> (date_parse_from_format is parsing invalid date using 'yz'
  5354. format). (Derick)</li>
  5355. <li><?php bugfix(52113); ?> (Seg fault while creating (by unserialization)
  5356. DatePeriod). (Derick)</li>
  5357. <li><?php bugfix(48476); ?> (cloning extended DateTime class without calling
  5358. parent::__constr crashed PHP). (Hannes)</li>
  5359. </ul>
  5360. </li>
  5361. <li>EXIF:
  5362. <ul>
  5363. <li><?php bugfix(60150); ?> (Integer overflow during the parsing of invalid exif
  5364. header). (Stas, flolechaud at gmail dot com)</li>
  5365. </ul>
  5366. </li>
  5367. <li>Fileinfo:
  5368. <ul>
  5369. <li><?php bugfix(60094); ?> (C++ comment fails in c89). (Laruence)</li>
  5370. <li>Fixed possible memory leak in finfo_open(). (Felipe)</li>
  5371. <li>Fixed memory leak when calling the Finfo constructor twice. (Felipe)</li>
  5372. </ul>
  5373. </li>
  5374. <li>Filter:
  5375. <ul>
  5376. <li>Fixed Bug #55478 (FILTER_VALIDATE_EMAIL fails with internationalized
  5377. domain name addresses containing &gt;1 -). (Ilia)</li>
  5378. </ul>
  5379. </li>
  5380. <li>FTP:
  5381. <ul>
  5382. <li><?php bugfix(60183); ?> (out of sync ftp responses). (bram at ebskamp dot me,
  5383. rasmus)</li>
  5384. </ul>
  5385. </li>
  5386. <li>Gd:
  5387. <ul>
  5388. <li><?php bugfix(60160); ?> (imagefill() doesn't work correctly
  5389. for small images). (Florian)</li>
  5390. </ul>
  5391. </li>
  5392. <li>Intl:
  5393. <ul>
  5394. <li><?php bugfix(60192); ?> (SegFault when Collator not constructed
  5395. properly). (Florian)</li>
  5396. <li>Fixed memory leak in several Intl locale functions. (Felipe)</li>
  5397. </ul>
  5398. </li>
  5399. <li>JSON:
  5400. <ul>
  5401. <li><?php bugfix(55543); ?> (json_encode() with JSON_NUMERIC_CHECK fails on objects
  5402. with numeric string properties). (Ilia, dchurch at sciencelogic dot com)</li>
  5403. </ul>
  5404. </li>
  5405. <li>mbstring:
  5406. <ul>
  5407. <li>Fixed possible crash in mb_ereg_search_init() using empty pattern. (Felipe)</li>
  5408. </ul>
  5409. </li>
  5410. <li>MS SQL:
  5411. <ul>
  5412. <li><?php bugfix(60267); ?> (Compile failure with freetds 0.91). (Felipe)</li>
  5413. </ul>
  5414. </li>
  5415. <li>MySQL:
  5416. <ul>
  5417. <li><?php bugfix(55550); ?> (mysql.trace_mode miscounts result sets). (Johannes)</li>
  5418. </ul>
  5419. </li>
  5420. <li>MySQLi extension:
  5421. <ul>
  5422. <li><?php bugfix(55859); ?> (mysqli-&gt;stat property access gives error). (Andrey)</li>
  5423. <li><?php bugfix(55582); ?> (mysqli_num_rows() returns always 0 for unbuffered, when
  5424. mysqlnd is used). (Andrey)</li>
  5425. <li><?php bugfix(55703); ?> (PHP crash when calling mysqli_fetch_fields).
  5426. (eran at zend dot com, Laruence)</li>
  5427. </ul>
  5428. </li>
  5429. <li>mysqlnd:
  5430. <ul>
  5431. <li><?php bugfix(55609); ?> (mysqlnd cannot be built shared). (Johannes)</li>
  5432. <li><?php bugfix(55067); ?> (MySQL doesn't support compression - wrong config option).
  5433. (Andrey)</li>
  5434. </ul>
  5435. </li>
  5436. <li>NSAPI SAPI:
  5437. <ul>
  5438. <li>Don't set $_SERVER['HTTPS'] on unsecure connection (bug #55403). (Uwe
  5439. Schindler)</li>
  5440. </ul>
  5441. </li>
  5442. <li>OpenSSL:
  5443. <ul>
  5444. <li><?php bugfix(60279); ?> (Fixed NULL pointer dereference in
  5445. stream_socket_enable_crypto, case when ssl_handle of session_stream is not
  5446. initialized.) (shm)</li>
  5447. <li>Fix segfault with older versions of OpenSSL. (Scott)</li>
  5448. </ul>
  5449. </li>
  5450. <li>Oracle Database extension (OCI8):
  5451. <ul>
  5452. <li><?php bugfix(59985); ?> (show normal warning text for OCI_NO_DATA).
  5453. (Chris Jones)</li>
  5454. <li>Increased maximum Oracle error message buffer length for new 11.2.0.3 size.
  5455. (Chris Jones)</li>
  5456. <li>Improve internal initalization failure error messages. (Chris Jones)</li>
  5457. </ul>
  5458. </li>
  5459. <li>PDO
  5460. <ul>
  5461. <li><?php bugfix(55776); ?> (PDORow to session bug). (Johannes)</li>
  5462. </ul>
  5463. </li>
  5464. <li>PDO Firebird:
  5465. <ul>
  5466. <li><?php bugfix(48877); ?> ("bindValue" and "bindParam" do not work for PDO Firebird).
  5467. (Mariuz)</li>
  5468. <li><?php bugfix(47415); ?> (PDO_Firebird segfaults when passing lowercased column name to bindColumn).</li>
  5469. <li><?php bugfix(53280); ?> (PDO_Firebird segfaults if query column count less than param count).
  5470. (Mariuz)</li>
  5471. </ul>
  5472. </li>
  5473. <li>PDO MySQL driver:
  5474. <ul>
  5475. <li><?php bugfix(60155); ?> (pdo_mysql.default_socket ignored). (Johannes)</li>
  5476. <li><?php bugfix(55870); ?> (PDO ignores all SSL parameters when used with mysql
  5477. native driver). (Pierre)</li>
  5478. <li><?php bugfix(54158); ?> (MYSQLND+PDO MySQL requires #define
  5479. MYSQL_OPT_LOCAL_INFILE). (Andrey)</li>
  5480. </ul>
  5481. </li>
  5482. <li>PDO OCI driver:
  5483. <ul>
  5484. <li><?php bugfix(55768); ?> (PDO_OCI can't resume Oracle session after it's been
  5485. killed). (mikhail dot v dot gavrilov at gmail dot com, Chris Jones, Tony)</li>
  5486. </ul>
  5487. </li>
  5488. <li>Phar:
  5489. <ul>
  5490. <li><?php bugfix(60261); ?> (NULL pointer dereference in phar). (Felipe)</li>
  5491. <li><?php bugfix(60164); ?> (Stubs of a specific length break phar_open_from_fp
  5492. scanning for __HALT_COMPILER). (Ralph Schindler)</li>
  5493. <li><?php bugfix(53872); ?> (internal corruption of phar). (Hannes)</li>
  5494. <li><?php bugfix(52013); ?> (Unable to decompress files in a compressed phar). (Hannes)</li>
  5495. </ul>
  5496. </li>
  5497. <li>PHP-FPM SAPI:
  5498. <ul>
  5499. <li><?php bugfix(60659); ?> (FPM does not clear auth_user on request accept).
  5500. (bonbons at linux-vserver dot org)</li>
  5501. <li><?php bugfix(60629); ?> (memory corruption when web server closed the fcgi fd).
  5502. (fat)</li>
  5503. <li><?php bugfix(60179); ?> (php_flag and php_value does not work properly). (fat)</li>
  5504. <li><?php bugfix(55526); ?> (Heartbeat causes a lot of unnecessary events). (fat)</li>
  5505. <li><?php bugfix(55533); ?> (The -d parameter doesn't work). (fat)</li>
  5506. <li>Implemented FR <?php bugl(52569); ?> (Add the "ondemand" process-manager
  5507. to allow zero children). (fat)</li>
  5508. <li><?php bugfix(55486); ?> (status show BIG processes number). (fat)</li>
  5509. <li><?php bugfix(55577); ?> (status.html does not install). (fat)</li>
  5510. <li>Backported from 5.4 branch (Dropped restriction of not setting the same
  5511. value multiple times, the last one holds).
  5512. (giovanni at giacobbi dot net, fat)</li>
  5513. <li>Backported FR <?php bugl(55166); ?> from 5.4 branch (Added process.max to control
  5514. the number of process FPM can fork). (fat)</li>
  5515. <li>Backported FR <?php bugl(55181); ?> from 5.4 branch (Enhance security by limiting access
  5516. to user defined extensions). (fat)</li>
  5517. <li>Backported FR <?php bugl(54098); ?> from 5.4 branch (Lowered process manager
  5518. default value). (fat)</li>
  5519. <li>Backported FR <?php bugl(52052); ?> from 5.4 branch (Added partial syslog support). (fat)</li>
  5520. <li>Implemented FR <?php bugl(54577); ?> (Enhanced status page with full status and details
  5521. about each processes. Also provide a web page (status.html) for
  5522. real-time FPM status. (fat)</li>
  5523. <li>Enhance error log when the primary script can't be open. FR <?php bugl(60199); ?>. (fat)</li>
  5524. <li>Added .phar to default authorized extensions. (fat)</li>
  5525. </ul>
  5526. </li>
  5527. <li>Postgres:
  5528. <ul>
  5529. <li><?php bugfix(60244); ?> (pg_fetch_* functions do not validate that row param
  5530. is &gt;0). (Ilia)</li>
  5531. </ul>
  5532. </li>
  5533. <li>Reflection:
  5534. <ul>
  5535. <li><?php bugfix(60367); ?> (Reflection and Late Static Binding). (Laruence)</li>
  5536. </ul>
  5537. </li>
  5538. <li>Session:
  5539. <ul>
  5540. <li><?php bugfix(55267); ?> (session_regenerate_id fails after header sent). (Hannes)</li>
  5541. </ul>
  5542. </li>
  5543. <li>SimpleXML:
  5544. <ul>
  5545. <li>Reverted the SimpleXML-&gt;query() behaviour to returning empty arrays
  5546. instead of false when no nodes are found as it was since 5.3.3
  5547. (bug #48601). (chregu, rrichards)</li>
  5548. </ul>
  5549. </li>
  5550. <li>SOAP
  5551. <ul>
  5552. <li><?php bugfix(54911); ?> (Access to a undefined member in inherit SoapClient may
  5553. cause Segmentation Fault). (Dmitry)</li>
  5554. <li><?php bugfix(48216); ?> (PHP Fatal error: SOAP-ERROR: Parsing WSDL:
  5555. Extra content at the end of the doc, when server uses chunked transfer
  5556. encoding with spaces after chunk size). (Dmitry)</li>
  5557. <li><?php bugfix(44686); ?> (SOAP-ERROR: Parsing WSDL with references). (Dmitry)</li>
  5558. </ul>
  5559. </li>
  5560. <li>Sockets:
  5561. <ul>
  5562. <li><?php bugfix(60048); ?> (sa_len a #define on IRIX). (china at thewrittenword dot
  5563. com)</li>
  5564. </ul>
  5565. </li>
  5566. <li>SPL:
  5567. <ul>
  5568. <li><?php bugfix(60082); ?> (Crash in ArrayObject() when using recursive references).
  5569. (Tony)</li>
  5570. <li><?php bugfix(55807); ?> (Wrong value for splFileObject::SKIP_EMPTY).
  5571. (jgotti at modedemploi dot fr, Hannes)</li>
  5572. <li><?php bugfix(54304); ?> (RegexIterator::accept() doesn't work with scalar values).
  5573. (Hannes)</li>
  5574. </ul>
  5575. </li>
  5576. <li>Streams:
  5577. <ul>
  5578. <li><?php bugfix(60455); ?> (stream_get_line misbehaves if EOF is not detected together
  5579. with the last read). (Gustavo)</li>
  5580. </ul>
  5581. </li>
  5582. <li>Tidy:
  5583. <ul>
  5584. <li><?php bugfix(54682); ?> (Tidy::diagnose() NULL pointer dereference).
  5585. (Maksymilian Arciemowicz, Felipe)</li>
  5586. </ul>
  5587. </li>
  5588. <li>XSL:
  5589. <ul>
  5590. <li>Added xsl.security_prefs ini option to define forbidden operations within
  5591. XSLT stylesheets, default is not to enable write operations. This option
  5592. won't be in 5.4, since there's a new method. Fixes Bug <?php bugl(54446); ?>. (Chregu,
  5593. Nicolas Gregoire)</li>
  5594. </ul>
  5595. </li>
  5596. </ul>
  5597. <!-- }}} --></section>
  5598. <section class="version" id="5.3.8"><!-- {{{ 5.3.8 -->
  5599. <h3>Version 5.3.8</h3>
  5600. <?php release_date('23-Aug-2011'); ?>
  5601. <ul>
  5602. <li>Core:
  5603. <ul>
  5604. <li><?php bugfix(55439); ?> (crypt() returns only the salt for MD5). (Stas)</li>
  5605. </ul>
  5606. </li>
  5607. <li>OpenSSL:
  5608. <ul>
  5609. <li>Reverted a change in timeout handling restoring PHP 5.3.6 behavior,
  5610. as the new behavior caused mysqlnd SSL connections to hang (
  5611. <a href="http://bugs.php.net/55283">Bug #55283</a>).
  5612. (Pierre, Andrey, Johannes)</li>
  5613. </ul>
  5614. </li>
  5615. </ul>
  5616. <!-- }}} --></section>
  5617. <section class="version" id="5.3.7"><!-- {{{ 5.3.7 -->
  5618. <h3>Version 5.3.7</h3>
  5619. <?php release_date('18-Aug-2011'); ?>
  5620. <ul>
  5621. <li>Upgraded bundled SQLite to version 3.7.7.1. (Scott)</li>
  5622. <li>Upgraded bundled PCRE to version 8.12. (Scott)</li>
  5623. <li>Zend Engine:
  5624. <ul>
  5625. <li><?php bugfix(55156); ?> (ReflectionClass::getDocComment() returns comment even though the class has none). (Felipe)</li>
  5626. <li><?php bugfix(55007); ?> (compiler fail after previous fail). (Felipe)</li>
  5627. <li><?php bugfix(54910); ?> (Crash when calling call_user_func with unknown function name). (Dmitry)</li>
  5628. <li><?php bugfix(54804); ?> (__halt_compiler and imported namespaces). (Pierrick, Felipe)</li>
  5629. <li><?php bugfix(54624); ?> (class_alias and type hint). (Felipe)</li>
  5630. <li><?php bugfix(54585); ?> (track_errors causes segfault). (Dmitry)</li>
  5631. <li><?php bugfix(54423); ?> (classes from dl()'ed extensions are not destroyed). (Tony, Dmitry)</li>
  5632. <li><?php bugfix(54372); ?> (Crash accessing global object itself returned from its __get() handle). (Dmitry)</li>
  5633. <li><?php bugfix(54367); ?> (Use of closure causes problem in ArrayAccess). (Dmitry)</li>
  5634. <li><?php bugfix(54358); ?> (Closure, use and reference). (Dmitry)</li>
  5635. <li><?php bugfix(54262); ?> (Crash when assigning value to a dimension in a non-array). (Dmitry)</li>
  5636. <li><?php bugfix(54039); ?> (use() of static variables in lambda functions can break staticness). (Dmitry)</li>
  5637. </ul>
  5638. </li>
  5639. <li>Core:
  5640. <ul>
  5641. <li>Updated crypt_blowfish to 1.2. (CVE-2011-2483) (Solar Designer) <a href="http://php.net/security/crypt_blowfish">(more info)</a></li>
  5642. <li>Removed warning when argument of is_a() or is_subclass_of() is not a known class. (Stas)</li>
  5643. <li>Fixed crash in error_log(). (Felipe) Reported by Mateusz Kocielski.</li>
  5644. <li>Added PHP_MANDIR constant telling where the manpages were installed into, and an --man-dir argument to php-config. (Hannes)</li>
  5645. <li>Fixed a crash inside dtor for error handling. (Ilia)</li>
  5646. <li>Fixed buffer overflow on overlog salt in crypt(). (Clément LECIGNE, Stas</li>
  5647. <li>Implemented FR <?php bugfix(54459); ?> (Range function accuracy). (Adam)</li>
  5648. <li><?php bugfix(55399); ?> (parse_url() incorrectly treats ':' as a valid path). (Ilia)</li>
  5649. <li><?php bugfix(55339); ?> (Segfault with allow_call_time_pass_reference = Off). (Dmitry)</li>
  5650. <li><?php bugfix(55295); ?> [NEW]: popen_ex on windows, fixed possible heap overflow (Pierre)</li>
  5651. <li><?php bugfix(55258); ?> (Windows Version Detecting Error). ( xiaomao5 at live dot com, Pierre)</li>
  5652. <li><?php bugfix(55187); ?> (readlink returns weird characters when false result). (Pierre)</li>
  5653. <li><?php bugfix(55082); ?> (var_export() doesn't escape properties properly). (Gustavo)</li>
  5654. <li><?php bugfix(55014); ?> (Compile failure due to improper use of ctime_r()). (Ilia)</li>
  5655. <li><?php bugfix(54939); ?> (File path injection vulnerability in RFC1867 File upload filename). (Felipe) Reported by Krzysztof Kotowicz. (CVE-2011-2202)</li>
  5656. <li><?php bugfix(54935); ?> php_win_err can lead to crash. (Pierre)</li>
  5657. <li><?php bugfix(54924); ?> (assert.* is not being reset upon request shutdown). (Ilia)</li>
  5658. <li><?php bugfix(54895); ?> (Fix compiling with older gcc version without need for membar_producer macro). (mhei at heimpold dot de)</li>
  5659. <li><?php bugfix(54866); ?> (incorrect accounting for realpath_cache_size). (Dustin Ward)</li>
  5660. <li><?php bugfix(54723); ?> (getimagesize() doesn't check the full ico signature). (Scott)</li>
  5661. <li><?php bugfix(54721); ?> (Different Hashes on Windows, BSD and Linux on wrong Salt size). (Pierre, os at irj dot ru)</li>
  5662. <li><?php bugfix(54580); ?> (get_browser() segmentation fault when browscap ini directive is set through php_admin_value). (Gustavo)</li>
  5663. <li><?php bugfix(54332); ?> (Crash in zend_mm_check_ptr // Heap corruption). (Dmitry)</li>
  5664. <li><?php bugfix(54305); ?> (Crash in gc_remove_zval_from_buffer). (Dmitry)</li>
  5665. <li><?php bugfix(54238); ?> (use-after-free in substr_replace()). (Stas) (CVE-2011-1148)</li>
  5666. <li><?php bugfix(54204); ?> (Can't set a value with a PATH section in php.ini). (Pierre)</li>
  5667. <li><?php bugfix(54180); ?> (parse_url() incorrectly parses path when ? in fragment). (tomas dot brastavicius at quantum dot lt, Pierrick)</li>
  5668. <li><?php bugfix(54137); ?> (file_get_contents POST request sends additional line break). (maurice-php at mertinkat dot net, Ilia)</li>
  5669. <li><?php bugfix(53848); ?> (fgetcsv() ignores spaces at beginnings of fields). (Ilia)</li>
  5670. <li>Alternative fix for bug <?php bugfix(52550); ?>, as applied to the round() function (signed overflow), as the old fix impacted the algorithm for numbers with magnitude smaller than 0. (Gustavo)</li>
  5671. <li><?php bugfix(53727); ?> (Inconsistent behavior of is_subclass_of with interfaces) (Ralph Schindler, Dmitry)</li>
  5672. <li><?php bugfix(52935); ?> (call exit in user_error_handler cause stream relate core). (Gustavo)</li>
  5673. <li><?php bugfix(51997); ?> (SEEK_CUR with 0 value, returns a warning). (Ilia)</li>
  5674. <li><?php bugfix(50816); ?> (Using class constants in array definition fails). (Pierrick, Dmitry)</li>
  5675. <li><?php bugfix(50363); ?> (Invalid parsing in convert.quoted-printable-decode filter). (slusarz at curecanti dot org)</li>
  5676. <li><?php bugfix(48465); ?> (sys_get_temp_dir() possibly inconsistent when using TMPDIR on Windows). (Pierre)</li>
  5677. </ul>
  5678. </li>
  5679. <li>Apache2 Handler SAPI:
  5680. <ul>
  5681. <li><?php bugfix(54529); ?> (SAPI crashes on apache_config.c:197). (hebergement at riastudio dot fr)</li>
  5682. </ul>
  5683. </li>
  5684. <li>CLI SAPI:
  5685. <ul>
  5686. <li><?php bugfix(52496); ?> (Zero exit code on option parsing failure). (Ilia)</li>
  5687. </ul>
  5688. </li>
  5689. <li>cURL extension:
  5690. <ul>
  5691. <li>Added ini option curl.cainfo (support for custom cert db). (Pierre)</li>
  5692. <li>Added CURLINFO_REDIRECT_URL support. (Daniel Stenberg, Pierre)</li>
  5693. <li>Added support for CURLOPT_MAX_RECV_SPEED_LARGE and CURLOPT_MAX_SEND_SPEED_LARGE. FR <?php bugfix(51815); ?>. (Pierrick)</li>
  5694. </ul>
  5695. </li>
  5696. <li>DateTime extension:
  5697. <ul>
  5698. <li>Fixed bug where the DateTime object got changed while using date_diff(). (Derick)</li>
  5699. <li><?php bugfix(54340); ?> (DateTime::add() method bug). (Adam)</li>
  5700. <li><?php bugfix(54316); ?> (DateTime::createFromFormat does not handle trailing '|' correctly). (Adam)</li>
  5701. <li><?php bugfix(54283); ?> (new DatePeriod(NULL) causes crash). (Felipe)</li>
  5702. <li><?php bugfix(51819); ?> (Case discrepancy in timezone names cause Uncaught exception and fatal error). (Hannes)</li>
  5703. </ul>
  5704. </li>
  5705. <li>DBA extension:
  5706. <ul>
  5707. <li>Supress warning on non-existent file open with Berkeley DB 5.2 (Chris Jones)</li>
  5708. <li><?php bugfix(54242); ?> (dba_insert returns true if key already exists). (Felipe)</li>
  5709. </ul>
  5710. </li>
  5711. <li>Exif extesion:
  5712. <ul>
  5713. <li><?php bugfix(54121); ?> (error message format string typo). (Ilia)</li>
  5714. </ul>
  5715. </li>
  5716. <li>Fileinfo extension:
  5717. <ul>
  5718. <li><?php bugfix(54934); ?> (Unresolved symbol strtoull in HP-UX 11.11). (Felipe)</li>
  5719. </ul>
  5720. </li>
  5721. <li>Filter extension:
  5722. <ul>
  5723. <li>Added 3rd parameter to filter_var_array() and filter_input_array() functions that allows disabling addition of empty elements. (Ilia)</li>
  5724. <li><?php bugfix(53037); ?> (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). (Ilia)</li>
  5725. </ul>
  5726. </li>
  5727. <li>Interbase extension:
  5728. <ul>
  5729. <li><?php bugfix(54269); ?> (Short exception message buffer causes crash). (Felipe)</li>
  5730. </ul>
  5731. </li>
  5732. <li>intl extension:
  5733. <ul>
  5734. <li>Implemented FR <?php bugfix(54561); ?> (Expose ICU version info). (David Zuelke, Ilia)</li>
  5735. <li>Implemented FR <?php bugfix(54540); ?> (Allow loading of arbitrary resource bundles when fallback is disabled). (David Zuelke, Stas)</li>
  5736. </ul>
  5737. </li>
  5738. <li>Imap extension:
  5739. <ul>
  5740. <li><?php bugfix(55313); ?> (Number of retries not set when params specified). (kevin at kevinlocke dot name)</li>
  5741. </ul>
  5742. </li>
  5743. <li>json extension:
  5744. <ul>
  5745. <li><?php bugfix(54484); ?> (Empty string in json_decode doesn't reset json_last_error()). (Ilia)</li>
  5746. </ul>
  5747. </li>
  5748. <li>LDAP extension:
  5749. <ul>
  5750. <li><?php bugfix(53339); ?> (Fails to build when compilng with gcc 4.5 and DSO libraries). (Clint Byrum, Raphael)</li>
  5751. </ul>
  5752. </li>
  5753. <li>libxml extension:
  5754. <ul>
  5755. <li><?php bugfix(54601); ?> (Removing the doctype node segfaults). (Hannes)</li>
  5756. <li><?php bugfix(54440); ?> (libxml extension ignores default context). (Gustavo)</li>
  5757. </ul>
  5758. </li>
  5759. <li>mbstring extension:
  5760. <ul>
  5761. <li><?php bugfix(54494); ?> (mb_substr() mishandles UTF-32LE and UCS-2LE). (Gustavo)</li>
  5762. </ul>
  5763. </li>
  5764. <li>MCrypt extension:
  5765. <ul>
  5766. <li>Change E_ERROR to E_WARNING in mcrypt_create_iv when not enough data has been fetched (Windows). (Pierre)</li>
  5767. <li><?php bugfix(55169); ?> (mcrypt_create_iv always fails to gather sufficient random data on Windows). (Pierre)</li>
  5768. </ul>
  5769. </li>
  5770. <li>MySQL Improved extension:
  5771. <ul>
  5772. <li>Fixed Bug <?php bugfix(54221); ?> (mysqli::get_warnings segfault when used in multi queries). (Andrey)</li>
  5773. </ul>
  5774. </li>
  5775. <li>mysqlnd
  5776. <ul>
  5777. <li>Fixed crash when using more than 28,000 bound parameters. Workaround is to set mysqlnd.net_cmd_buffer_size to at least 9000. (Andrey)</li>
  5778. <li><?php bugfix(54674); ?> mysqlnd valid_sjis_(head|tail) is using invalid operator and range). (nihen at megabbs dot com, Andrey)</li>
  5779. </ul>
  5780. </li>
  5781. <li>MySQLi extension:
  5782. <ul>
  5783. <li><?php bugfix(55283); ?> (SSL options set by mysqli_ssl_set ignored for MySQLi persistent connections). (Andrey)</li>
  5784. </ul>
  5785. </li>
  5786. <li>OpenSSL extension:
  5787. <ul>
  5788. <li>openssl_encrypt()/openssl_decrypt() truncated keys of variable length ciphers to the OpenSSL default for the algorithm. (Scott)</li>
  5789. <li>On blocking SSL sockets respect the timeout option where possible. (Scott)</li>
  5790. <li><?php bugfix(54992); ?> (Stream not closed and error not returned when SSL CN_match fails). (Gustavo, laird_ngrps at dodo dot com dot au)</li>
  5791. </ul>
  5792. </li>
  5793. <li>Oracle Database extension (OCI8):
  5794. <ul>
  5795. <li>Added oci_client_version() returning the runtime Oracle client library version (Chris Jones)</li>
  5796. </ul>
  5797. </li>
  5798. <li>PCRE extension:
  5799. <ul>
  5800. <li>Increased the backtrack limit from 100000 to 1000000 (Rasmus)</li>
  5801. </ul>
  5802. </li>
  5803. <li>PDO extension:
  5804. <ul>
  5805. <li><?php bugfix(54929); ?> (Parse error with single quote in sql comment). (Felipe)</li>
  5806. <li><?php bugfix(52104); ?> (bindColumn creates Warning regardless of ATTR_ERRMODE settings). (Ilia)</li>
  5807. </ul>
  5808. </li>
  5809. <li>PDO DBlib driver:
  5810. <ul>
  5811. <li><?php bugfix(54329); ?> (MSSql extension memory leak). (dotslashpok at gmail dot com)</li>
  5812. <li><?php bugfix(54167); ?> (PDO_DBLIB returns null on SQLUNIQUE field). (mjh at hodginsmedia dot com, Felipe)</li>
  5813. </ul>
  5814. </li>
  5815. <li>PDO ODBC driver:
  5816. <ul>
  5817. <li>Fixed data type usage in 64bit. (leocsilva at gmail dot com)</li>
  5818. </ul>
  5819. </li>
  5820. <li>PDO MySQL driver:
  5821. <ul>
  5822. <li><?php bugfix(54644); ?> (wrong pathes in php_pdo_mysql_int.h). (Tony, Johannes)</li>
  5823. <li><?php bugfix(53782); ?> (foreach throws irrelevant exception). (Johannes, Andrey)</li>
  5824. <li>Implemented FR <?php bugfix(48587); ?> (MySQL PDO driver doesn't support SSL connections). (Rob)</li>
  5825. </ul>
  5826. </li>
  5827. <li>PDO PostgreSQL driver:
  5828. <ul>
  5829. <li><?php bugfix(54318); ?> (Non-portable grep option used in PDO pgsql configuration). (bwalton at artsci dot utoronto dot ca)</li>
  5830. </ul>
  5831. </li>
  5832. <li>PDO Oracle driver:
  5833. <ul>
  5834. <li><?php bugfix(44989); ?> (64bit Oracle RPMs still not supported by pdo-oci). (jbnance at tresgeek dot net)</li>
  5835. </ul>
  5836. </li>
  5837. <li>Phar extension:
  5838. <ul>
  5839. <li><?php bugfix(54395); ?> (Phar::mount() crashes when calling with wrong parameters). (Felipe)</li>
  5840. </ul>
  5841. </li>
  5842. <li>PHP-FPM SAPI:
  5843. <ul>
  5844. <li>Implemented FR <?php bugfix(54499); ?> (FPM ping and status_path should handle HEAD request). (fat)</li>
  5845. <li>Implemented FR <?php bugfix(54172); ?> (Overriding the pid file location of php-fpm). (fat)</li>
  5846. <li>Fixed missing Expires and Cache-Control headers for ping and status pages. (fat)</li>
  5847. <li>Fixed memory leak. (fat) Reported and fixed by Giovanni Giacobbi.
  5848. <li>Fixed wrong value of log_level when invoking fpm with -tt. (fat)</li>
  5849. <li>Added xml format to the status page. (fat)</li>
  5850. <li>Removed timestamp in logs written by children processes. (fat)</li>
  5851. <li>Fixed exit at FPM startup on fpm_resources_prepare() errors. (fat)</li>
  5852. <li>Added master rlimit_files and rlimit_core in the global configuration settings. (fat)</li>
  5853. <li>Removed pid in debug logs written by chrildren processes. (fat)</li>
  5854. <li>Added custom access log (also added per request %CPU and memory mesurement). (fat)</li>
  5855. <li>Added a real scoreboard and several improvements to the status page. (fat)</li>
  5856. </ul>
  5857. </li>
  5858. <li>Reflection extension:
  5859. <ul>
  5860. <li><?php bugfix(54347); ?> (reflection_extension does not lowercase module function name). (Felipe, laruence at yahoo dot com dot cn)</li>
  5861. </ul>
  5862. </li>
  5863. <li>SOAP extension:
  5864. <ul>
  5865. <li><?php bugfix(55323); ?> (SoapClient segmentation fault when XSD_TYPEKIND_EXTENSION contains itself). (Dmitry)</li>
  5866. <li><?php bugfix(54312); ?> (soap_version logic bug). (tom at samplonius dot org)</li>
  5867. </ul>
  5868. </li>
  5869. <li>Sockets extension:
  5870. <ul>
  5871. <li>Fixed stack buffer overflow in socket_connect(). (CVE-2011-1938) Found by Mateusz Kocielski, Marek Kroemeke and Filip Palian. (Felipe)</li>
  5872. <li>Changed socket_set_block() and socket_set_nonblock() so they emit warnings on error. (Gustavo)</li>
  5873. <li><?php bugfix(51958); ?> (socket_accept() fails on IPv6 server sockets). (Gustavo)</li>
  5874. </ul>
  5875. </li>
  5876. <li>SPL extension:
  5877. <ul>
  5878. <li><?php bugfix(54971); ?> (Wrong result when using iterator_to_array with use_keys on true). (Pierrick)</li>
  5879. <li><?php bugfix(54970); ?> (SplFixedArray::setSize() isn't resizing). (Felipe)</li>
  5880. <li><?php bugfix(54609); ?> (Certain implementation(s) of SplFixedArray cause hard crash). (Felipe)</li>
  5881. <li><?php bugfix(54384); ?> (Dual iterators, GlobIterator, SplFileObject and SplTempFileObject crash when user-space classes don't call the paren constructor). (Gustavo)</li>
  5882. <li><?php bugfix(54292); ?> (Wrong parameter causes crash in SplFileObject::__construct()). (Felipe)</li>
  5883. <li><?php bugfix(54291); ?> (Crash iterating DirectoryIterator for dir name starting with \0). (Gustavo)</li>
  5884. <li><?php bugfix(54281); ?> (Crash in non-initialized RecursiveIteratorIterator). (Felipe)</li>
  5885. </ul>
  5886. </li>
  5887. <li>Streams:
  5888. <ul>
  5889. <li><?php bugfix(54946); ?> (stream_get_contents infinite loop). (Hannes)</li>
  5890. <li><?php bugfix(54623); ?> (Segfault when writing to a persistent socket after closing a copy of the socket). (Gustavo)</li>
  5891. <li><?php bugfix(54681); ?> (addGlob() crashes on invalid flags). (Felipe)</li>
  5892. </ul>
  5893. </li>
  5894. </ul>
  5895. <!-- }}} --></section>
  5896. <section class="version" id="5.3.6"><!-- {{{ 5.3.6 -->
  5897. <h3>Version 5.3.6</h3>
  5898. <?php release_date('17-Mar-2011'); ?>
  5899. <ul>
  5900. <li>Upgraded bundled Sqlite3 to version 3.7.4. (Ilia)</li>
  5901. <li>Upgraded bundled PCRE to version 8.11. (Ilia)</li>
  5902. <li>Zend Engine:
  5903. <ul>
  5904. <li>Indirect reference to $this fails to resolve if direct $this is never used in method. (Scott)</li>
  5905. <li>Fixed bug numerous crashes due to setlocale (crash on error, pcre, mysql etc.) on Windows in thread safe mode. (Pierre)</li>
  5906. <li>Added options to debug backtrace functions. (Stas)</li>
  5907. <li><?php bugfix(53971); ?> (isset() and empty() produce apparently spurious runtime error). (Dmitry)</li>
  5908. <li><?php bugfix(53958); ?> (Closures can't 'use' shared variables by value and by reference). (Dmitry)</li>
  5909. <li><?php bugfix(53629); ?> (memory leak inside highlight_string()). (Hannes, Ilia)</li>
  5910. <li><?php bugfix(51458); ?> (Lack of error context with nested exceptions). (Stas)</li>
  5911. <li><?php bugfix(47143); ?> (Throwing an exception in a destructor causes a fatal error). (Stas)</li>
  5912. <li><?php bugfix(43512); ?> (same parameter name can be used multiple times in method/function definition). (Felipe)</li>
  5913. </ul>
  5914. </li>
  5915. <li>Core:
  5916. <ul>
  5917. <li>Added ability to connect to HTTPS sites through proxy with basic authentication using stream_context/http/header/Proxy-Authorization (Dmitry)</li>
  5918. <li>Changed default value of ini directive serialize_precision from 100 to 17. (Gustavo)</li>
  5919. <li><?php bugfix(54055); ?> (buffer overrun with high values for precision ini setting). (Gustavo)</li>
  5920. <li><?php bugfix(53959); ?> (reflection data for fgetcsv out-of-date). (Richard)</li>
  5921. <li><?php bugfix(53577); ?> (Regression introduced in 5.3.4 in open_basedir with a trailing forward slash). (lekensteyn at gmail dot com, Pierre)</li>
  5922. <li><?php bugfix(53682); ?> (Fix compile on the VAX). (Rasmus, jklos)</li>
  5923. <li><?php bugfix(48484); ?> (array_product() always returns 0 for an empty array). (Ilia)</li>
  5924. <li><?php bugfix(48607); ?> (fwrite() doesn't check reply from ftp server before exiting). (Ilia)</li>
  5925. </ul>
  5926. </li>
  5927. <li>Calendar extension:
  5928. <ul>
  5929. <li><?php bugfix(53574); ?> (Integer overflow in SdnToJulian, sometimes leading to segfault). (Gustavo)</li>
  5930. </ul>
  5931. </li>
  5932. <li>DOM extension:
  5933. <ul>
  5934. <li>Implemented FR <?php bugl(39771); ?> (Made DOMDocument::saveHTML accept an optional DOMNode like DOMDocument::saveXML). (Gustavo)</li>
  5935. </ul>
  5936. </li>
  5937. <li>DateTime extension:
  5938. <ul>
  5939. <li>Fixed a bug in DateTime-&gt;modify() where absolute date/time statements had no effect. (Derick)</li>
  5940. <li><?php bugfix(53729); ?> (DatePeriod fails to initialize recurrences on 64bit big-endian systems). (Derick, rein@basefarm.no)</li>
  5941. <li><?php bugfix(52808); ?> (Segfault when specifying interval as two dates). (Stas)</li>
  5942. <li><?php bugfix(52738); ?> (Can't use new properties in class extended from DateInterval). (Stas)</li>
  5943. <li><?php bugfix(52290); ?> (setDate, setISODate, setTime works wrong when DateTime created from timestamp). (Stas)</li>
  5944. <li><?php bugfix(52063); ?> (DateTime constructor's second argument doesn't have a null default value). (Gustavo, Stas)</li>
  5945. </ul>
  5946. </li>
  5947. <li>Exif extension:
  5948. <ul>
  5949. <li><?php bugfix(54002); ?> (crash on crafted tag, reported by Luca Carettoni). (Pierre) (CVE-2011-0708)</li>
  5950. </ul>
  5951. </li>
  5952. <li>Filter extension:
  5953. <ul>
  5954. <li><?php bugfix(53924); ?> (FILTER_VALIDATE_URL doesn't validate port number). (Ilia, Gustavo)</li>
  5955. <li><?php bugfix(53150); ?> (FILTER_FLAG_NO_RES_RANGE is missing some IP ranges). (Ilia)</li>
  5956. <li><?php bugfix(52209); ?> (INPUT_ENV returns NULL for set variables (CLI)). (Ilia)</li>
  5957. <li><?php bugfix(47435); ?> (FILTER_FLAG_NO_RES_RANGE don't work with ipv6). (Ilia, valli at icsurselva dot ch)</li>
  5958. </ul>
  5959. </li>
  5960. <li>Fileinfo extension:
  5961. <ul>
  5962. <li><?php bugfix(54016); ?> (finfo_file() Cannot determine filetype in archives). (Hannes)</li>
  5963. </ul>
  5964. </li>
  5965. <li>Gettext
  5966. <ul>
  5967. <li><?php bugfix(53837); ?> (_() crashes on Windows when no LANG or LANGUAGE environment variable are set). (Pierre)</li>
  5968. </ul>
  5969. </li>
  5970. <li>IMAP extension:
  5971. <ul>
  5972. <li>Implemented FR <?php bugl(53812); ?> (get MIME headers of the part of the email). (Stas)</li>
  5973. <li><?php bugfix(53377); ?> (imap_mime_header_decode() doesn't ignore \t during long MIME header unfolding). (Adam)</li>
  5974. </ul>
  5975. </li>
  5976. <li>Intl extension:
  5977. <ul>
  5978. <li><?php bugfix(53612); ?> (Segmentation fault when using cloned several intl objects). (Gustavo)</li>
  5979. <li><?php bugfix(53512); ?> (NumberFormatter::setSymbol crash on bogus $attr values). (Felipe)</li>
  5980. <li>Implemented clone functionality for number, date &amp; message formatters. (Stas).</li>
  5981. </ul>
  5982. </li>
  5983. <li>JSON extension:
  5984. <ul>
  5985. <li><?php bugfix(53963); ?> (Ensure error_code is always set during some failed decodings). (Scott)</li>
  5986. </ul>
  5987. </li>
  5988. <li>mysqlnd
  5989. <ul>
  5990. <li>Fixed problem with always returning 0 as num_rows for unbuffered sets. (Andrey, Ulf)</li>
  5991. </ul>
  5992. </li>
  5993. <li>MySQL Improved extension:
  5994. <ul>
  5995. <li>Added 'db' and 'catalog' keys to the field fetching functions (FR <?php bugl(39847); ?>). (Kalle)</li>
  5996. <li>Fixed buggy counting of affected rows when using the text protocol. The collected statistics were wrong when multi_query was used with mysqlnd (Andrey)</li>
  5997. <li><?php bugfix(53795); ?> (Connect Error from MySqli (mysqlnd) when using SSL). (Kalle)</li>
  5998. <li><?php bugfix(53503); ?> (mysqli::query returns false after successful LOAD DATA query). (Kalle, Andrey)</li>
  5999. <li><?php bugfix(53425); ?> (mysqli_real_connect() ignores client flags when built to call libmysql). (Kalle, tre-php-net at crushedhat dot com)</li>
  6000. </ul>
  6001. </li>
  6002. <li>OpenSSL extension:
  6003. <ul>
  6004. <li>Fixed stream_socket_enable_crypto() not honoring the socket timeout in server mode. (Gustavo)</li>
  6005. <li><?php bugfix(54060); ?> (Memory leaks when openssl_encrypt). (Pierre)</li>
  6006. <li><?php bugfix(54061); ?> (Memory leaks when openssl_decrypt). (Pierre)</li>
  6007. <li><?php bugfix(53592); ?> (stream_socket_enable_crypto() busy-waits in client mode). (Gustavo)</li>
  6008. <li>Implemented FR <?php bugl(53447); ?> (Cannot disable SessionTicket extension for servers that do not support it) by adding a no_ticket SSL context option. (Adam, Tony)</li>
  6009. </ul>
  6010. </li>
  6011. <li>PDO MySQL driver:
  6012. <ul>
  6013. <li><?php bugfix(53551); ?> (PDOStatement execute segfaults for pdo_mysql driver). (Johannes)</li>
  6014. <li>Implemented FR <?php bugl(47802); ?> (Support for setting character sets in DSN strings). (Kalle)</li>
  6015. </ul>
  6016. </li>
  6017. <li>PDO Oracle driver:
  6018. <ul>
  6019. <li><?php bugfix(39199); ?> (Cannot load Lob data with more than 4000 bytes on ORACLE 10). (spatar at mail dot nnov dot ru)</li>
  6020. </ul>
  6021. </li>
  6022. <li>PDO PostgreSQL driver:
  6023. <ul>
  6024. <li><?php bugfix(53517); ?> (segfault in pgsql_stmt_execute() when postgres is down). (gyp at balabit dot hu)</li>
  6025. </ul>
  6026. <li>Phar extension:
  6027. <ul>
  6028. <li><?php bugfix(54247); ?> (format-string vulnerability on Phar). (Felipe) (CVE-2011-1153)</li>
  6029. <li><?php bugfix(53541); ?> (format string bug in ext/phar). (crrodriguez at opensuse dot org, Ilia)</li>
  6030. <li><?php bugfix(53898); ?> (PHAR reports invalid error message, when the directory does not exist). (Ilia)</li>
  6031. </ul>
  6032. </li>
  6033. <li>PHP-FPM SAPI:
  6034. <ul>
  6035. <li>Enforce security in the fastcgi protocol parsing. (ef-lists at email dotde)</li>
  6036. <li><?php bugfix(53777); ?> (php-fpm log format now match php_error log format). (fat)</li>
  6037. <li><?php bugfix(53527); ?> (php-fpm --test doesn't set a valuable return value). (fat)</li>
  6038. <li><?php bugfix(53434); ?> (php-fpm slowlog now also logs the original request). (fat)</li>
  6039. </ul>
  6040. </li>
  6041. <li>Readline extension:
  6042. <ul>
  6043. <li><?php bugfix(53630); ?> (Fixed parameter handling inside readline() function). (jo at feuersee dot de, Ilia)</li>
  6044. </ul>
  6045. </li>
  6046. <li>Reflection extension:
  6047. <ul>
  6048. <li><?php bugfix(53915); ?> (ReflectionClass::getConstant(s) emits fatal error on constants with self::). (Gustavo)</li>
  6049. </ul>
  6050. </li>
  6051. <li>Shmop extension:
  6052. <ul>
  6053. <li><?php bugfix(54193); ?> (Integer overflow in shmop_read()). (Felipe) Reported by Jose Carlos Norte (CVE-2011-1092)</li>
  6054. </ul>
  6055. </li>
  6056. <li>SNMP extension:
  6057. <ul>
  6058. <li><?php bugfix(51336); ?> (snmprealwalk (snmp v1) does not handle end of OID tree correctly). (Boris Lytochkin)</li>
  6059. </ul>
  6060. </li>
  6061. <li>SOAP extension:
  6062. <ul>
  6063. <li>Fixed possible crash introduced by the NULL poisoning patch. (Mateusz Kocielski, Pierre)</li>
  6064. </ul>
  6065. </li>
  6066. <li>SPL extension:
  6067. <ul>
  6068. <li>Fixed memory leak in DirectoryIterator::getExtension() and SplFileInfo::getExtension(). (Felipe)</li>
  6069. <li><?php bugfix(53914); ?> (SPL assumes HAVE_GLOB is defined). (Chris Jones)</li>
  6070. <li><?php bugfix(53515); ?> (property_exists incorrect on ArrayObject null and 0 values). (Felipe)</li>
  6071. <li>Added SplFileInfo::getExtension(). FR <?php bugl(48767); ?>. (Peter Cowburn)</li>
  6072. </ul>
  6073. </li>
  6074. <li>SQLite3 extension:
  6075. <ul>
  6076. <li>Fixed memory leaked introduced by the NULL poisoning patch. (Mateusz Kocielski, Pierre)</li>
  6077. <li>Fixed memory leak on SQLite3Result and SQLite3Stmt when assigning to a reference. (Felipe)</li>
  6078. <li>Add SQlite3_Stmt::readonly() for checking if a statement is read only. (Scott)</li>
  6079. <li>Implemented FR <?php bugl(53466); ?> (SQLite3Result::columnType() should return false after all of the rows have been fetched). (Scott)</li>
  6080. </ul>
  6081. </li>
  6082. <li>Streams:
  6083. <ul>
  6084. <li><?php bugfix(54092); ?> (Segmentation fault when using HTTP proxy with the FTP wrapper). (Gustavo)</li>
  6085. <li><?php bugfix(53913); ?> (Streams functions assume HAVE_GLOB is defined). (Chris Jones)</li>
  6086. <li><?php bugfix(53903); ?> (userspace stream stat callback does not separate the elements of the returned array before converting them). (Gustavo)</li>
  6087. <li>Implemented FR <?php bugl(26158); ?> (open arbitrary file descriptor with fopen). (Gustavo)</li>
  6088. </ul>
  6089. </li>
  6090. <li>Tokenizer Extension
  6091. <ul>
  6092. <li><?php bugfix(54089); ?> (token_get_all() does not stop after __halt_compiler). (Ilia)</li>
  6093. </ul>
  6094. </li>
  6095. <li>XSL extension:
  6096. <ul>
  6097. <li>Fixed memory leaked introduced by the NULL poisoning patch. (Mateusz Kocielski, Pierre)</li>
  6098. </ul>
  6099. </li>
  6100. <li>Zip extension:
  6101. <ul>
  6102. <li>Added the filename into the return value of stream_get_meta_data(). (Hannes)</li>
  6103. <li><?php bugfix(53923); ?> (Zip functions assume HAVE_GLOB is defined). (Adam)</li>
  6104. <li><?php bugfix(53893); ?> (Wrong return value for ZipArchive::extractTo()). (Pierre)</li>
  6105. <li><?php bugfix(53885); ?> (ZipArchive segfault with FL_UNCHANGED on empty archive). (Stas, Maksymilian Arciemowicz). (CVE-2011-0421)</li>
  6106. <li><?php bugfix(53854); ?> (Missing constants for compression type). (Richard, Adam)</li>
  6107. <li><?php bugfix(53603); ?> (ZipArchive should quiet stat errors). (brad dot froehle at gmail dot com, Gustavo)</li>
  6108. <li><?php bugfix(53579); ?> (stream_get_contents() segfaults on ziparchive streams). (Hannes)</li>
  6109. <li><?php bugfix(53568); ?> (swapped memset arguments in struct initialization). (crrodriguez at opensuse dot org)</li>
  6110. <li><?php bugfix(53166); ?> (Missing parameters in docs and reflection definition). (Richard)</li>
  6111. <li><?php bugfix(49072); ?> (feof never returns true for damaged file in zip). (Gustavo, Richard Quadling)</li>
  6112. </ul>
  6113. </li>
  6114. </ul>
  6115. <!-- }}} --></section>
  6116. <section class="version" id="5.3.5"><!-- {{{ 5.3.5 -->
  6117. <h3>Version 5.3.5</h3>
  6118. <?php release_date('06-Jan-2011'); ?>
  6119. <ul>
  6120. <li><?php bugfix(53632); ?> (PHP hangs on numeric value 2.2250738585072011e-308). (CVE-2010-4645) (Rasmus, Scott)</li>
  6121. </ul>
  6122. <!-- }}} --></section>
  6123. <section class="version" id="5.2.17"><!-- {{{ 5.2.17 -->
  6124. <h3>Version 5.2.17</h3>
  6125. <?php release_date('06-Jan-2011'); ?>
  6126. <ul>
  6127. <li><?php bugfix(53632); ?> (PHP hangs on numeric value 2.2250738585072011e-308). (CVE-2010-4645) (Rasmus, Scott)</li>
  6128. </ul>
  6129. <!-- }}} --></section>
  6130. <section class="version" id="5.2.16"><!-- {{{ 5.2.16 -->
  6131. <h3>Version 5.2.16</h3>
  6132. <?php release_date('16-Dec-2010'); ?>
  6133. <ul>
  6134. <li><?php bugfix(53517); ?> (segfault in pgsql_stmt_execute() when postgres is down). (gyp at balabit dot hu)</li>
  6135. <li><?php bugfix(53516); ?> (Regression in open_basedir handling). (Ilia)</li>
  6136. </ul>
  6137. <!-- }}} --></section>
  6138. <section class="version" id="5.3.4"><!-- {{{ 5.3.4 -->
  6139. <h3>Version 5.3.4</h3>
  6140. <?php release_date('09-Dec-2010'); ?>
  6141. <ul>
  6142. <li>Upgraded bundled Sqlite3 to version 3.7.3. (Ilia)</li>
  6143. <li>Upgraded bundled PCRE to version 8.10. (Ilia)</li>
  6144. <li>Security enhancements:
  6145. <ul>
  6146. <li>Fixed crash in zip extract method (possible CWE-170).
  6147. (Maksymilian Arciemowicz, Pierre)</li>
  6148. <li>Paths with NULL in them (foo\0bar.txt) are now considered as invalid. (Rasmus)</li>
  6149. <li>Fixed a possible double free in imap extension (Identified by Mateusz
  6150. Kocielski). (CVE-2010-4150). (Ilia)</li>
  6151. <li>Fixed NULL pointer dereference in ZipArchive::getArchiveComment.
  6152. (CVE-2010-3709). (Maksymilian Arciemowicz)</li>
  6153. <li>Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre)</li>
  6154. <li>Fixed MOPS-2010-24, fix string validation. (CVE-2010-2950). (Pierre)</li>
  6155. <li>Fixed symbolic resolution support when the target is a DFS share. (Pierre)</li>
  6156. <li><?php bugfix(52929); ?> (Segfault in filter_var with FILTER_VALIDATE_EMAIL with
  6157. large amount of data) (CVE-2010-3710). (Adam)</li>
  6158. </ul>
  6159. </li>
  6160. <li>General improvements:
  6161. <ul>
  6162. <li>Added stat support for zip stream. (Pierre)</li>
  6163. <li>Added follow_location (enabled by default) option for the http stream
  6164. support. (Pierre)</li>
  6165. <li>Improved support for is_link and related functions on Windows. (Pierre)</li>
  6166. <li>Added a 3rd parameter to get_html_translation_table. It now takes a charset
  6167. hint, like htmlentities et al. (Gustavo)</li>
  6168. </ul>
  6169. </li>
  6170. <li>Implemented feature requests:
  6171. <ul>
  6172. <li>Implemented FR <?php bugl(52348); ?>, added new constant ZEND_MULTIBYTE to detect
  6173. zend multibyte at runtime. (Kalle)</li>
  6174. <li>Implemented FR <?php bugl(52173); ?>, added functions pcntl_get_last_error() and
  6175. pcntl_strerror(). (nick dot telford at gmail dot com, Arnaud)</li>
  6176. <li>Implemented symbolic links support for open_basedir checks. (Pierre)</li>
  6177. <li>Implemented FR <?php bugl(51804); ?>, SplFileInfo::getLinkTarget on Windows. (Pierre)</li>
  6178. <li>Implemented FR <?php bugl(50692); ?>, not uploaded files don't count towards
  6179. max_file_uploads limit. As a side improvement, temporary files are not opened
  6180. for empty uploads and, in debug mode, 0-length uploads. (Gustavo)</li>
  6181. </ul>
  6182. </li>
  6183. <li>Improved MySQLnd:
  6184. <ul>
  6185. <li>Added new character sets to mysqlnd, which are available in MySQL 5.5
  6186. (Andrey)</li>
  6187. </ul>
  6188. </li>
  6189. <li>Improved PHP-FPM SAPI:
  6190. <ul>
  6191. <li>Added '-p/--prefix' to php-fpm to use a custom prefix and run multiple
  6192. instances. (fat)</li>
  6193. <li>Added custom process title for FPM. (fat)</li>
  6194. <li>Added '-t/--test' to php-fpm to check and validate FPM conf file. (fat)</li>
  6195. <li>Added statistics about listening socket queue length for FPM.
  6196. (andrei dot nigmatulin at gmail dot com, fat)</li>
  6197. </ul>
  6198. </li>
  6199. <li>Core:
  6200. <ul>
  6201. <li>Fixed extract() to do not overwrite $GLOBALS and $this when using
  6202. EXTR_OVERWRITE. (jorto at redhat dot com)</li>
  6203. <li>Fixed bug in the Windows implementation of dns_get_record, where the two
  6204. last parameters wouldn't be filled unless the type were DNS_ANY (Gustavo).</li>
  6205. <li>Changed the $context parameter on copy() to actually have an effect. (Kalle)</li>
  6206. <li>Fixed htmlentities/htmlspecialchars accepting certain ill-formed UTF-8
  6207. sequences. (Gustavo)</li>
  6208. <li><?php bugfix(53409); ?> (sleep() returns NULL on Windows). (Pierre)</li>
  6209. <li><?php bugfix(53319); ?> (strip_tags() may strip '&lt;br /&gt;' incorrectly). (Felipe)</li>
  6210. <li><?php bugfix(53304); ?> (quot_print_decode does not handle lower-case hex digits).
  6211. (Ilia, daniel dot mueller at inexio dot net)</li>
  6212. <li><?php bugfix(53248); ?> (rawurlencode RFC 3986 EBCDIC support misses tilde char).
  6213. (Justin Martin) </li>
  6214. <li><?php bugfix(53226); ?> (file_exists fails on big filenames). (Adam)</li>
  6215. <li><?php bugfix(53198); ?> (changing INI setting "from" with ini_set did not have any
  6216. effect). (Gustavo)</li>
  6217. <li><?php bugfix(53180); ?> (post_max_size=0 not disabling the limit when the content
  6218. type is application/x-www-form-urlencoded or is not registered with PHP).
  6219. (gm at tlink dot de, Gustavo)</li>
  6220. <li><?php bugfix(53141); ?> (autoload misbehaves if called from closing session).
  6221. (ladislav at marek dot su)</li>
  6222. <li><?php bugfix(53021); ?> (In html_entity_decode, failure to convert numeric entities
  6223. with ENT_NOQUOTES and ISO-8859-1). Fixed and extended the fix of ENT_NOQUOTES
  6224. in html_entity_decode that had introduced the bug (rev #185591) to other
  6225. encodings. Additionaly, html_entity_decode() now doesn't decode &amp;#34; if
  6226. ENT_NOQUOTES is given. (Gustavo)</li>
  6227. <li><?php bugfix(52931); ?> (strripos not overloaded with function overloading enabled).
  6228. (Felipe)</li>
  6229. <li><?php bugfix(52772); ?> (var_dump() doesn't check for the existence of
  6230. get_class_name before calling it). (Kalle, Gustavo)</li>
  6231. <li><?php bugfix(52534); ?> (var_export array with negative key). (Felipe)</li>
  6232. <li><?php bugfix(52327); ?> (base64_decode() improper handling of leading padding in
  6233. strict mode). (Ilia)</li>
  6234. <li><?php bugfix(52260); ?> (dns_get_record fails with non-existing domain on Windows).
  6235. (a_jelly_doughnut at phpbb dot com, Pierre)</li>
  6236. <li><?php bugfix(50953); ?> (socket will not connect to IPv4 address when the host has
  6237. both IPv4 and IPv6 addresses, on Windows). (Gustavo, Pierre)</li>
  6238. <li><?php bugfix(50524); ?> (proc_open on Windows does not respect cwd as it does on
  6239. other platforms). (Pierre)</li>
  6240. <li><?php bugfix(49687); ?> (utf8_decode vulnerabilities and deficiencies in the number
  6241. of reported malformed sequences). (CVE-2010-3870) (Gustavo)</li>
  6242. <li><?php bugfix(49407); ?> (get_html_translation_table doesn't handle UTF-8). (Gustavo)</li>
  6243. <li><?php bugfix(48831); ?> (php -i has different output to php --ini). (Richard,
  6244. Pierre)</li>
  6245. <li><?php bugfix(47643); ?> (array_diff() takes over 3000 times longer than php 5.2.4).
  6246. (Felipe)</li>
  6247. <li><?php bugfix(47168); ?> (printf of floating point variable prints maximum of 40
  6248. decimal places). (Ilia)</li>
  6249. <li><?php bugfix(46587); ?> (mt_rand() does not check that max is greater than min).
  6250. (Ilia)</li>
  6251. <li><?php bugfix(29085); ?> (bad default include_path on Windows). (Pierre)</li>
  6252. <li><?php bugfix(25927); ?> (get_html_translation_table calls the ' &amp;#39; instead of
  6253. &amp;#039;). (Gustavo)</li>
  6254. </ul>
  6255. </li>
  6256. <li>Zend engine:
  6257. <ul>
  6258. <li>Reverted fix for bug <?php bugl(51176); ?> (Static calling in non-static method behaves
  6259. like $this-&gt;). (Felipe)</li>
  6260. <li>Changed deprecated ini options on startup from E_WARNING to E_DEPRECATED.
  6261. (Kalle)</li>
  6262. <li>Fixed NULL dereference in lex_scan on zend multibyte builds where the script
  6263. had a flex incompatible encoding and there was no converter. (Gustavo)</li>
  6264. <li>Fixed covariance of return-by-ref constraints. (Etienne)</li>
  6265. <li><?php bugfix(53305); ?> (E_NOTICE when defining a constant starts with
  6266. __COMPILER_HALT_OFFSET__). (Felipe)</li>
  6267. <li><?php bugfix(52939); ?> (zend_call_function does not respect ZEND_SEND_PREFER_REF).
  6268. (Dmitry)</li>
  6269. <li><?php bugfix(52879); ?> (Objects unreferenced in __get, __set, __isset or __unset
  6270. can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)</li>
  6271. <li><?php bugfix(52786); ?> (PHP should reset section to [PHP] after ini sections).
  6272. (Fedora at famillecollet dot com)</li>
  6273. <li><?php bugfix(52508); ?> (newline problem with parse_ini_file+INI_SCANNER_RAW).
  6274. (Felipe)</li>
  6275. <li><?php bugfix(52484); ?> (__set() ignores setting properties with empty names).
  6276. (Felipe)</li>
  6277. <li><?php bugfix(52361); ?> (Throwing an exception in a destructor causes invalid
  6278. catching). (Dmitry)</li>
  6279. <li><?php bugfix(51008); ?> (Zend/tests/bug45877.phpt fails). (Dmitry)</li>
  6280. </ul>
  6281. </li>
  6282. <li>Build issues:
  6283. <ul>
  6284. <li><?php bugfix(52436); ?> (Compile error if systems do not have stdint.h)
  6285. (Sriram Natarajan)</li>
  6286. <li><?php bugfix(50345); ?> (nanosleep not detected properly on some solaris versions).
  6287. (Ulf, Tony)</li>
  6288. <li><?php bugfix(49215); ?> (make fails on glob_wrapper). (Felipe)</li>
  6289. </ul>
  6290. </li>
  6291. <li>Calendar extension:
  6292. <ul>
  6293. <li><?php bugfix(52744); ?> (cal_days_in_month incorrect for December 1 BCE).
  6294. (gpap at internet dot gr, Adam)</li>
  6295. </ul>
  6296. </li>
  6297. <li>cURL extension:
  6298. <ul>
  6299. <li><?php bugfix(52828); ?> (curl_setopt does not accept persistent streams).
  6300. (Gustavo, Ilia)</li>
  6301. <li><?php bugfix(52827); ?> (cURL leaks handle and causes assertion error
  6302. (CURLOPT_STDERR)). (Gustavo)</li>
  6303. <li><?php bugfix(52202); ?> (CURLOPT_PRIVATE gets corrupted). (Ilia)</li>
  6304. <li><?php bugfix(50410); ?> (curl extension slows down PHP on Windows). (Pierre)</li>
  6305. </ul>
  6306. </li>
  6307. <li>DateTime extension:
  6308. <ul>
  6309. <li><?php bugfix(53297); ?> (gettimeofday implementation in php/win32/time.c can return
  6310. 1 million microsecs). (ped at 7gods dot org)</li>
  6311. <li><?php bugfix(52668); ?> (Iterating over a dateperiod twice is broken). (Derick)</li>
  6312. <li><?php bugfix(52454); ?> (Relative dates and getTimestamp increments by one day).
  6313. (Derick)</li>
  6314. <li><?php bugfix(52430); ?> (date_parse parse 24:xx:xx as valid time). (Derick)</li>
  6315. <li>Added support for the ( and ) delimiters/separators to
  6316. DateTime::createFromFormat(). (Derick)</li>
  6317. </ul>
  6318. </li>
  6319. <li>DBA extension:
  6320. <ul>
  6321. <li>Added Berkeley DB 5.1 support to the DBA extension. (Oracle Corp.)</li>
  6322. </ul>
  6323. </li>
  6324. <li>DOM extension:
  6325. <ul>
  6326. <li><?php bugfix(52656); ?> (DOMCdataSection does not work with splitText). (Ilia)</li>
  6327. </ul>
  6328. </li>
  6329. <li>Filter extension:
  6330. <ul>
  6331. <li>Fixed the filter extension accepting IPv4 octets with a leading 0 as that
  6332. belongs to the unsupported "dotted octal" representation. (Gustavo)</li>
  6333. <li><?php bugfix(53236); ?> (problems in the validation of IPv6 addresses with leading
  6334. and trailing :: in the filter extension). (Gustavo)</li>
  6335. <li><?php bugfix(50117); ?> (problems in the validation of IPv6 addresses with IPv4
  6336. addresses and ::). (Gustavo)</li>
  6337. </ul>
  6338. </li>
  6339. <li>GD extension:
  6340. <ul>
  6341. <li><?php bugfix(53492); ?> (fix crash if anti-aliasing steps are invalid). (Pierre)</li>
  6342. </ul>
  6343. </li>
  6344. <li>GMP extension:
  6345. <ul>
  6346. <li><?php bugfix(52906); ?> (gmp_mod returns negative result when non-negative is
  6347. expected). (Stas)</li>
  6348. <li><?php bugfix(52849); ?> (GNU MP invalid version match). (Adam)</li>
  6349. </ul>
  6350. </li>
  6351. <li>Hash extension:
  6352. <ul>
  6353. <li><?php bugfix(51003); ?> (unaligned memory access in ext/hash/hash_tiger.c).
  6354. (Mike, Ilia)</li>
  6355. </ul>
  6356. </li>
  6357. <li>Iconv extension:
  6358. <ul>
  6359. <li><?php bugfix(52941); ?> (The 'iconv_mime_decode_headers' function is skipping
  6360. headers). (Adam)</li>
  6361. <li><?php bugfix(52599); ?> (iconv output handler outputs incorrect content type
  6362. when flags are used). (Ilia)</li>
  6363. <li><?php bugfix(51250); ?> (iconv_mime_decode() does not ignore malformed Q-encoded
  6364. words). (Ilia)</li>
  6365. </ul>
  6366. </li>
  6367. <li>Intl extension:
  6368. <ul>
  6369. <li>Fixed crashes on invalid parameters in intl extension. (CVE-2010-4409). (Stas, Maksymilian
  6370. Arciemowicz)</li>
  6371. <li>Added support for formatting the timestamp stored in a DateTime object.
  6372. (Stas)</li>
  6373. <li><?php bugfix(50590); ?> (IntlDateFormatter::parse result is limited to the integer
  6374. range). (Stas)</li>
  6375. </ul>
  6376. </li>
  6377. <li>Mbstring extension:
  6378. <ul>
  6379. <li><?php bugfix(53273); ?> (mb_strcut() returns garbage with the excessive length
  6380. parameter). (CVE-2010-4156) (Mateusz Kocielski, Pierre, Moriyoshi)</li>
  6381. <li><?php bugfix(52981); ?> (Unicode casing table was out-of-date. Updated with
  6382. UnicodeData-6.0.0d7.txt and included the source of the generator program with
  6383. the distribution) (Gustavo).</li>
  6384. <li><?php bugfix(52681); ?> (mb_send_mail() appends an extra MIME-Version header).
  6385. (Adam)</li>
  6386. </ul>
  6387. </li>
  6388. <li>MSSQL extension:
  6389. <ul>
  6390. <li>Fixed possible crash in mssql_fetch_batch(). (Kalle)</li>
  6391. <li><?php bugfix(52843); ?> (Segfault when optional parameters are not passed in to
  6392. mssql_connect). (Felipe)</li>
  6393. </ul>
  6394. </li>
  6395. <li>MySQL extension:
  6396. <ul>
  6397. <li><?php bugfix(52636); ?> (php_mysql_fetch_hash writes long value into int).
  6398. (Kalle, rein at basefarm dot no)</li>
  6399. </ul>
  6400. </li>
  6401. <li>MySQLi extension:
  6402. <ul>
  6403. <li><?php bugfix(52891); ?> (Wrong data inserted with mysqli/mysqlnd when using
  6404. mysqli_stmt_bind_param and value> PHP_INT_MAX). (Andrey)</li>
  6405. <li><?php bugfix(52686); ?> (mysql_stmt_attr_[gs]et argument points to incorrect type).
  6406. (rein at basefarm dot no)</li>
  6407. <li><?php bugfix(52654); ?> (mysqli doesn't install headers with structures it uses).
  6408. (Andrey)</li>
  6409. <li><?php bugfix(52433); ?> (Call to undefined method mysqli::poll() - must be static).
  6410. (Andrey)</li>
  6411. <li><?php bugfix(52417); ?> (MySQLi build failure with mysqlnd on MacOS X). (Andrey)</li>
  6412. <li><?php bugfix(52413); ?> (MySQLi/libmysql build failure on OS X, FreeBSD). (Andrey)</li>
  6413. <li><?php bugfix(52390); ?> (mysqli_report() should be per-request setting). (Kalle)</li>
  6414. <li><?php bugfix(52302); ?> (mysqli_fetch_all does not work with MYSQLI_USE_RESULT).
  6415. (Andrey)</li>
  6416. <li><?php bugfix(52221); ?> (Misbehaviour of magic_quotes_runtime (get/set)). (Andrey)</li>
  6417. <li><?php bugfix(45921); ?> (Can't initialize character set hebrew). (Andrey)</li>
  6418. </ul>
  6419. </li>
  6420. <li>MySQLnd:
  6421. <ul>
  6422. <li><?php bugfix(52613); ?> (crash in mysqlnd after hitting memory limit). (Andrey)</li>
  6423. </ul>
  6424. </li>
  6425. <li>ODBC extension:
  6426. <ul>
  6427. <li><?php bugfix(52512); ?> (Broken error handling in odbc_execute).
  6428. (mkoegler at auto dot tuwien dot ac dot at)</li>
  6429. </ul>
  6430. </li>
  6431. <li>Openssl extension:
  6432. <ul>
  6433. <li>Fixed possible blocking behavior in openssl_random_pseudo_bytes on Windows.
  6434. (Pierre)</li>
  6435. <li><?php bugfix(53136); ?> (Invalid read on openssl_csr_new()). (Felipe)</li>
  6436. <li><?php bugfix(52947); ?> (segfault when ssl stream option capture_peer_cert_chain
  6437. used). (Felipe)</li>
  6438. </ul>
  6439. </li>
  6440. <li>Oracle Database extension (OCI8):
  6441. <ul>
  6442. <li><?php bugfix(53284); ?> (Valgrind warnings in oci_set_* functions) (Oracle Corp.)</li>
  6443. <li><?php bugfix(51610); ?> (Using oci_connect causes PHP to take a long time to
  6444. exit). Requires Oracle 11.2.0.2 client libraries (or Oracle bug fix
  6445. 9891199) for this patch to have an effect. (Oracle Corp.)</li>
  6446. </ul>
  6447. </li>
  6448. <li>PCNTL extension:
  6449. <ul>
  6450. <li><?php bugfix(52784); ?> (Race condition when handling many concurrent signals).
  6451. (nick dot telford at gmail dot com, Arnaud)</li>
  6452. </ul>
  6453. </li>
  6454. <li>PCRE extension:
  6455. <ul>
  6456. <li><?php bugfix(52971); ?> (PCRE-Meta-Characters not working with utf-8). (Felipe)</li>
  6457. <li><?php bugfix(52732); ?> (Docs say preg_match() returns FALSE on error, but it
  6458. returns int(0)). (slugonamission at gmail dot com)</li>
  6459. </ul>
  6460. </li>
  6461. <li>PHAR extension:
  6462. <ul>
  6463. <li><?php bugfix(50987); ?> (unaligned memory access in phar.c).
  6464. (geissert at debian dot org, Ilia)</li>
  6465. </ul>
  6466. </li>
  6467. <li>PHP-FPM SAPI:
  6468. <ul>
  6469. <li><?php bugfix(53412); ?> (segfault when using -y). (fat)</li>
  6470. <li>Fixed inconsistent backlog default value (-1) in FPM on many systems. (fat)</li>
  6471. <li><?php bugfix(52501); ?> (libevent made FPM crashed when forking - libevent has
  6472. been removed). (fat)</li>
  6473. <li><?php bugfix(52725); ?> (gcc builtin atomic functions were sometimes used when they
  6474. were not available). (fat)</li>
  6475. <li><?php bugfix(52693); ?> (configuration file errors are not logged to stderr). (fat)</li>
  6476. <li><?php bugfix(52674); ?> (FPM Status page returns inconsistent Content-Type headers).
  6477. (fat)</li>
  6478. <li><?php bugfix(52498); ?> (libevent was not only linked to php-fpm). (fat)</li>
  6479. </ul>
  6480. </li>
  6481. <li>PDO:
  6482. <ul>
  6483. <li><?php bugfix(52699); ?> (PDO bindValue writes long int 32bit enum).
  6484. (rein at basefarm dot no) </li>
  6485. <li><?php bugfix(52487); ?> (PDO::FETCH_INTO leaks memory). (Felipe)</li>
  6486. </ul>
  6487. </li>
  6488. <li>PDO DBLib driver:
  6489. <ul>
  6490. <li><?php bugfix(52546); ?> (pdo_dblib segmentation fault when iterating MONEY values).
  6491. (Felipe)</li>
  6492. </ul>
  6493. </li>
  6494. <li>PDO Firebird driver:
  6495. <ul>
  6496. <li>Restored firebird support (VC9 builds only). (Pierre)</li>
  6497. <li><?php bugfix(53335); ?> (pdo_firebird did not implement rowCount()).
  6498. (preeves at ibphoenix dot com)</li>
  6499. <li><?php bugfix(53323); ?> (pdo_firebird getAttribute() crash).
  6500. (preeves at ibphoenix dot com)</li>
  6501. </ul>
  6502. </li>
  6503. <li>PDO MySQL driver:
  6504. <ul>
  6505. <li><?php bugfix(52745); ?> (Binding params doesn't work when selecting a date inside a
  6506. CASE-WHEN). (Andrey)</li>
  6507. </ul>
  6508. </li>
  6509. <li>PostgreSQL extension:
  6510. <ul>
  6511. <li><?php bugfix(47199); ?> (pg_delete() fails on NULL). (ewgraf at gmail dot com)</li>
  6512. </ul>
  6513. </li>
  6514. <li>Reflection extension:
  6515. <ul>
  6516. <li>Fixed ReflectionProperty::isDefault() giving a wrong result for properties
  6517. obtained with ReflectionClass::getProperties(). (Gustavo)</li>
  6518. <li><?php bugfix(53366); ?> (Reflection doesnt get dynamic property value from
  6519. getProperty()). (Felipe)</li>
  6520. <li><?php bugfix(52854); ?> (ReflectionClass::newInstanceArgs does not work for classes
  6521. without constructors). (Johannes)</li>
  6522. </ul>
  6523. </li>
  6524. <li>SOAP extension:
  6525. <ul>
  6526. <li><?php bugfix(44248); ?> (RFC2616 transgression while HTTPS request through proxy
  6527. with SoapClient object). (Dmitry)</li>
  6528. </ul>
  6529. </li>
  6530. <li>SPL extension:
  6531. <ul>
  6532. <li><?php bugfix(53362); ?> (Segmentation fault when extending SplFixedArray). (Felipe)</li>
  6533. <li><?php bugfix(53279); ?> (SplFileObject doesn't initialise default CSV escape
  6534. character). (Adam)</li>
  6535. <li><?php bugfix(53144); ?> (Segfault in SplObjectStorage::removeAll()). (Felipe)</li>
  6536. <li><?php bugfix(53071); ?> (SPLObjectStorage defeats gc_collect_cycles). (Gustavo)</li>
  6537. <li><?php bugfix(52573); ?> (SplFileObject::fscanf Segmentation fault). (Felipe)</li>
  6538. <li><?php bugfix(51763); ?> (SplFileInfo::getType() does not work symbolic link
  6539. and directory). (Pierre)</li>
  6540. <li><?php bugfix(50481); ?> (Storing many SPLFixedArray in an array crashes). (Felipe)</li>
  6541. <li><?php bugfix(50579); ?> (RegexIterator::REPLACE doesn't work). (Felipe)</li>
  6542. </ul>
  6543. </li>
  6544. <li>SQLite3 extension:
  6545. <ul>
  6546. <li><?php bugfix(53463); ?> (sqlite3 columnName() segfaults on bad column_number).
  6547. (Felipe)</li>
  6548. </ul>
  6549. </li>
  6550. <li>Streams:
  6551. <ul>
  6552. <li>Fixed forward stream seeking emulation in streams that don't support seeking
  6553. in situations where the read operation gives back less data than requested
  6554. and when there was data in the buffer before the emulation started. Also made
  6555. more consistent its behavior -- should return failure every time less data
  6556. than was requested was skipped. (Gustavo)</li>
  6557. <li><?php bugfix(53241); ?> (stream casting that relies on fdopen/fopencookie fails
  6558. with streams opened with, inter alia, the 'xb' mode). (Gustavo)</li>
  6559. <li><?php bugfix(53006); ?> (stream_get_contents has an unpredictable behavior when the
  6560. underlying stream does not support seeking). (Gustavo)</li>
  6561. <li><?php bugfix(52944); ?> (Invalid write on second and subsequent reads with an
  6562. inflate filter fed invalid data). (Gustavo)</li>
  6563. <li><?php bugfix(52820); ?> (writes to fopencookie FILE* not commited when seeking the
  6564. stream). (Gustavo)</li>
  6565. </ul>
  6566. </li>
  6567. <li>WDDX extension:
  6568. <ul>
  6569. <li><?php bugfix(52468); ?> (wddx_deserialize corrupts integer field value when left
  6570. empty). (Felipe)</li>
  6571. </ul>
  6572. </li>
  6573. <li>Zlib extension:
  6574. <ul>
  6575. <li><?php bugfix(52926); ?> (zlib fopen wrapper does not use context). (Gustavo)</li>
  6576. </ul>
  6577. </li>
  6578. </ul>
  6579. <!-- }}} --></section>
  6580. <section class="version" id="5.2.15"><!-- {{{ 5.2.15 -->
  6581. <h3>Version 5.2.15</h3>
  6582. <?php release_date('08-Dec-2010'); ?>
  6583. <ul>
  6584. <li>Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE. (jorto at redhat dot com)</li>
  6585. <li>Fixed crash in zip extract method (possible CWE-170). (Maksymilian Arciemowicz, Pierre)</li>
  6586. <li>Fixed a possible double free in imap extension (Identified by Mateusz Kocielski). (CVE-2010-4150). (Ilia)</li>
  6587. <li>Fixed possible flaw in open_basedir (CVE-2010-3436). (Pierre)</li>
  6588. <li>Fixed possible crash in mssql_fetch_batch(). (Kalle)</li>
  6589. <li>Fixed NULL pointer dereference in ZipArchive::getArchiveComment. (CVE-2010-3709). (Maksymilian Arciemowicz)</li>
  6590. <li><?php bugfix(53492); ?> (fix crash if anti-aliasing steps are invalid). (Pierre)</li>
  6591. <li><?php bugfix(53323); ?> (pdo_firebird getAttribute() crash). (preeves at ibphoenix dot com)</li>
  6592. <li><?php bugfix(52929); ?> (Segfault in filter_var with FILTER_VALIDATE_EMAIL with large amount of data). (CVE-2010-3709). (Adam)</li>
  6593. <li><?php bugfix(52879); ?> (Objects unreferenced in __get, __set, __isset or __unset can be freed too early). (mail_ben_schmidt at yahoo dot com dot au, Dmitry)</li>
  6594. <li><?php bugfix(52772); ?> (var_dump() doesn't check for the existence of get_class_name before calling it). (Kalle, Gustavo)</li>
  6595. <li><?php bugfix(52546); ?> (pdo_dblib segmentation fault when iterating MONEY values). (Felipe, Adam)</li>
  6596. <li><?php bugfix(52436); ?> (Compile error if systems do not have stdint.h) (Sriram Natarajan)</li>
  6597. <li><?php bugfix(52390); ?> (mysqli_report() should be per-request setting). (Kalle)</li>
  6598. <li><?php bugfix(51008); ?> (Zend/tests/bug45877.phpt fails). (Dmitry)</li>
  6599. <li><?php bugfix(47643); ?> (array_diff() takes over 3000 times longer than php 5.2.4). (Felipe)</li>
  6600. <li><?php bugfix(44248); ?> (RFC2616 transgression while HTTPS request through proxy with SoapClient object). (Dmitry)</li>
  6601. </ul>
  6602. <!-- }}} --></section>
  6603. <section class="version" id="5.3.3"><!-- {{{ 5.3.3 -->
  6604. <h3>Version 5.3.3</h3>
  6605. <?php release_date('22-Jul-2010'); ?>
  6606. <ul>
  6607. <li>Upgraded bundled sqlite to version 3.6.23.1. (Ilia)</li>
  6608. <li>Upgraded bundled PCRE to version 8.02. (Ilia)</li>
  6609. </ul>
  6610. <ul>
  6611. <li>Added support for JSON_NUMERIC_CHECK option in json_encode() that converts numeric strings to integers. (Ilia)</li>
  6612. <li>Added stream_set_read_buffer, allows to set the buffer for read operation. (Pierre)</li>
  6613. <li>Added stream filter support to mcrypt extension (ported from mcrypt_filter). (Stas)</li>
  6614. <li>Added full_special_chars filter to ext/filter. (Rasmus)</li>
  6615. <li>Added backlog socket context option for stream_socket_server(). (Mike)</li>
  6616. <li>Added fifth parameter to openssl_encrypt()/openssl_decrypt() (string $iv) to use non-NULL IV.
  6617. Made implicit use of NULL IV a warning. (Sara)</li>
  6618. <li>Added openssl_cipher_iv_length(). (Sara)</li>
  6619. <li>Added FastCGI Process Manager (FPM) SAPI. (Tony)</li>
  6620. <li>Added recent Windows versions to php_uname and fix undefined windows version support. (Pierre)</li>
  6621. <li>Added Berkeley DB 5 support to the DBA extension. (Johannes, Chris Jones)</li>
  6622. <li>Added support for copy to/from array/file for pdo_pgsql extension. (Denis Gasparin, Ilia)</li>
  6623. <li>Added inTransaction() method to PDO, with specialized support for Postgres. (Ilia, Denis Gasparin)</li>
  6624. </ul>
  6625. <ul>
  6626. <li>Changed namespaced classes so that the ctor can only be named __construct now. (Stas)</li>
  6627. <li>Reset error state in PDO::beginTransaction() reset error state. (Ilia)</li>
  6628. </ul>
  6629. <ul>
  6630. <li>Implemented FR <?php bugl(51295); ?> (SQLite3::busyTimeout not existing). (Mark)</li>
  6631. <li>Implemented FR <?php bugl(35638); ?> (Adding udate to imap_fetch_overview results). (Charles_Duffy at dell dot com )</li>
  6632. <li>Rewrote var_export() to use smart_str rather than output buffering, prevents data disclosure if a fatal error occurs (CVE-2010-2531). (Scott)</li>
  6633. <li>Fixed possible buffer overflows in mysqlnd_list_fields, mysqlnd_change_user. (Andrey)</li>
  6634. <li>Fixed possible buffer overflows when handling error packets in mysqlnd. Reported by Stefan Esser. (Andrey)</li>
  6635. <li>Fixed very rare memory leak in mysqlnd, when binding thousands of columns. (Andrey)</li>
  6636. <li>Fixed a crash when calling an inexistent method of a class that inherits PDOStatement if instantiated directly instead of doing by the PDO methods. (Felipe)</li>
  6637. </ul>
  6638. <ul>
  6639. <li>Fixed memory leak on error in mcrypt_create_iv on Windows. (Pierre)</li>
  6640. <li>Fixed a possible crash because of recursive GC invocation. (Dmitry)</li>
  6641. <li>Fixed a possible resource destruction issues in shm_put_var(). Reported by Stefan Esser. (Dmitry)</li>
  6642. <li>Fixed a possible information leak because of interruption of XOR operator. Reported by Stefan Esser. (Dmitry)</li>
  6643. <li>Fixed a possible memory corruption because of unexpected call-time pass by refernce and following memory clobbering through callbacks.
  6644. Reported by Stefan Esser. (Dmitry)</li>
  6645. <li>Fixed a possible memory corruption in ArrayObject::uasort(). Reported by Stefan Esser. (Dmitry)</li>
  6646. <li>Fixed a possible memory corruption in parse_str(). Reported by Stefan Esser. (Dmitry)</li>
  6647. <li>Fixed a possible memory corruption in pack(). Reported by Stefan Esser. (Dmitry)</li>
  6648. <li>Fixed a possible memory corruption in substr_replace(). Reported by Stefan Esser. (Dmitry)</li>
  6649. <li>Fixed a possible memory corruption in addcslashes(). Reported by Stefan Esser. (Dmitry)</li>
  6650. <li>Fixed a possible stack exhaustion inside fnmatch(). Reported by Stefan Esser. (Ilia)</li>
  6651. <li>Fixed a possible dechunking filter buffer overflow. Reported by Stefan Esser. (Pierre)</li>
  6652. <li>Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski. (Ilia)</li>
  6653. <li>Fixed string format validation inside phar extension. Reported by Stefan Esser. (Ilia)</li>
  6654. <li>Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser. (Ilia)</li>
  6655. <li>Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug <?php bugl(51288); ?>). (Raphael Geissert)</li>
  6656. <li>Fixed 64-bit integer overflow in mhash_keygen_s2k(). (Clément LECIGNE, Stas)</li>
  6657. <li>Fixed SplObjectStorage unserialization problems (CVE-2010-2225). (Stas)</li>
  6658. <li>Fixed the mail.log ini setting when no filename was given. (Johannes)</li>
  6659. </ul>
  6660. <ul>
  6661. <li><?php bugfix(52317); ?> (Segmentation fault when using mail() on a rhel 4.x (only 64 bit)). (Adam)</li>
  6662. <li><?php bugfix(52262); ?> (json_decode() shows no errors on invalid UTF-8). (Scott)</li>
  6663. <li><?php bugfix(52240); ?> (hash_copy() does not copy the HMAC key, causes wrong results and PHP crashes). (Felipe)</li>
  6664. <li><?php bugfix(52238); ?> (Crash when an Exception occured in iterator_to_array). (Johannes)</li>
  6665. <li><?php bugfix(52193); ?> (converting closure to array yields empty array). (Felipe)</li>
  6666. <li><?php bugfix(52183); ?> (Reflectionfunction reports invalid number of arguments for function aliases). (Felipe)</li>
  6667. <li><?php bugfix(52162); ?> (custom request header variables with numbers are removed). (Sriram Natarajan)</li>
  6668. <li><?php bugfix(52160); ?> (Invalid E_STRICT redefined constructor error). (Felipe)</li>
  6669. <li><?php bugfix(52138); ?> (Constants are parsed into the ini file for section names). (Felipe)</li>
  6670. <li><?php bugfix(52115); ?> (mysqli_result::fetch_all returns null, not an empty array). (Andrey)</li>
  6671. <li><?php bugfix(52101); ?> (dns_get_record() garbage in 'ipv6' field on Windows). (Pierre)</li>
  6672. <li><?php bugfix(52082); ?> (character_set_client &amp; character_set_connection reset after mysqli_change_user()). (Andrey)</li>
  6673. <li><?php bugfix(52043); ?> (GD doesn't recognize latest libJPEG versions). (php at group dot apple dot com, Pierre) </li>
  6674. <li><?php bugfix(52041); ?> (Memory leak when writing on uninitialized variable returned from function). (Dmitry)</li>
  6675. <li><?php bugfix(52060); ?> (Memory leak when passing a closure to method_exists()). (Felipe)</li>
  6676. <li><?php bugfix(52057); ?> (ReflectionClass fails on Closure class). (Felipe)</li>
  6677. <li><?php bugfix(52051); ?> (handling of case sensitivity of old-style constructors changed in 5.3+). (Felipe)</li>
  6678. <li><?php bugfix(52037); ?> (Concurrent builds fail in install-programs). (seanius at debian dot org, Kalle)</li>
  6679. <li><?php bugfix(52019); ?> (make lcov doesn't support TESTS variable anymore). (Patrick)</li>
  6680. <li><?php bugfix(52010); ?> (open_basedir restrictions mismatch on vacuum command). (Ilia)</li>
  6681. <li><?php bugfix(52001); ?> (Memory allocation problems after using variable variables). (Dmitry)</li>
  6682. <li><?php bugfix(51991); ?> (spl_autoload and *nix support with namespace). (Felipe)</li>
  6683. <li><?php bugfix(51943); ?> (AIX: Several files are out of ANSI spec). (Kalle, coreystup at gmail dot com)</li>
  6684. <li><?php bugfix(51911); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant array). (Felipe)</li>
  6685. <li><?php bugfix(51905); ?> (ReflectionParameter fails if default value is an array with an access to self::). (Felipe)</li>
  6686. <li><?php bugfix(51899); ?> (Parse error in parse_ini_file() function when empy value followed by no newline). (Felipe)</li>
  6687. <li><?php bugfix(51844); ?> (checkdnsrr does not support types other than MX). (Pierre)</li>
  6688. <li><?php bugfix(51827); ?> (Bad warning when register_shutdown_function called with wrong num of parameters). (Felipe)</li>
  6689. <li><?php bugfix(51822); ?> (Segfault with strange __destruct() for static class variables). (Dmitry)</li>
  6690. <li><?php bugfix(51791); ?> (constant() aborts execution when fail to check undefined constant). (Felipe)</li>
  6691. <li><?php bugfix(51732); ?> (Fileinfo __construct or open does not work with NULL). (Pierre)</li>
  6692. <li><?php bugfix(51725); ?> (xmlrpc_get_type() returns true on invalid dates). (Mike)</li>
  6693. <li><?php bugfix(51723); ?> (Content-length header is limited to 32bit integer with Apache2 on Windows). (Pierre)</li>
  6694. <li><?php bugfix(51721); ?> (mark DOMNodeList and DOMNamedNodeMap as Traversable). (David Zuelke)</li>
  6695. <li><?php bugfix(51712); ?> (Test mysql_mysqlnd_read_timeout_long must fail on MySQL4). (Andrey)</li>
  6696. <li><?php bugfix(51697); ?> (Unsafe operations in free_storage of SPL iterators, causes crash during shutdown). (Etienne)</li>
  6697. <li><?php bugfix(51690); ?> (Phar::setStub looks for case-sensitive __HALT_COMPILER()). (Ilia)</li>
  6698. <li><?php bugfix(51688); ?> (ini per dir crashes when invalid document root are given). (Pierre)</li>
  6699. <li><?php bugfix(51671); ?> (imagefill does not work correctly for small images). (Pierre)</li>
  6700. <li><?php bugfix(51670); ?> (getColumnMeta causes segfault when re-executing query after calling nextRowset). (Pierrick)</li>
  6701. <li><?php bugfix(51647); ?> Certificate file without private key (pk in another file) doesn't work. (Andrey)</li>
  6702. <li><?php bugfix(51629); ?> (CURLOPT_FOLLOWLOCATION error message is misleading). (Pierre)</li>
  6703. <li><?php bugfix(51627); ?> (script path not correctly evaluated). (russell dot tempero at rightnow dot com)</li>
  6704. <li><?php bugfix(51624); ?> (Crash when calling mysqli_options()). (Felipe)</li>
  6705. <li><?php bugfix(51615); ?> (PHP crash with wrong HTML in SimpleXML). (Felipe)</li>
  6706. <li><?php bugfix(51609); ?> (pg_copy_to: Invalid results when using fourth parameter). (Felipe)</li>
  6707. <li><?php bugfix(51608); ?> (pg_copy_to: WARNING: nonstandard use of \\ in a string literal). (cbandy at jbandy dot com)</li>
  6708. <li><?php bugfix(51607); ?> (pg_copy_from does not allow schema in the tablename argument). (cbandy at jbandy dot com)</li>
  6709. <li><?php bugfix(51605); ?> (Mysqli - zombie links). (Andrey)</li>
  6710. <li><?php bugfix(51604); ?> (newline in end of header is shown in start of message). (Daniel Egeberg)</li>
  6711. <li><?php bugfix(51590); ?> (JSON_ERROR_UTF8 is undefined). (Felipe)</li>
  6712. <li><?php bugfix(51583); ?> (Bus error due to wrong alignment in mysqlnd). (Rainer Jung)</li>
  6713. <li><?php bugfix(51582); ?> (Don't assume UINT64_C it's ever available). (reidrac at usebox dot net, Pierre)</li>
  6714. <li><?php bugfix(51577); ?> (Uninitialized memory reference with oci_bind_array_by_name) (Oracle Corp.)</li>
  6715. <li><?php bugfix(51562); ?> (query timeout in mssql can not be changed per query). (ejsmont dot artur at gmail dot com)</li>
  6716. <li><?php bugfix(51552); ?> (debug_backtrace() causes segmentation fault and/or memory issues). (Dmitry)</li>
  6717. <li><?php bugfix(51445); ?> (var_dump() invalid/slow *RECURSION* detection). (Felipe)</li>
  6718. <li><?php bugfix(51435); ?> (Missing ifdefs / logic bug in crypt code cause compile errors). (Felipe)</li>
  6719. <li><?php bugfix(51424); ?> (crypt() function hangs after 3rd call). (Pierre, Sriram)</li>
  6720. <li><?php bugfix(51394); ?> (Error line reported incorrectly if error handler throws an exception). (Stas)</li>
  6721. <li><?php bugfix(51393); ?> (DateTime::createFromFormat() fails if format string contains timezone). (Adam)</li>
  6722. <li><?php bugfix(51347); ?> (mysqli_close / connection memory leak). (Andrey, Johannes)</li>
  6723. <li><?php bugfix(51338); ?> (URL-Rewriter is still enabled if use_only_cookies is on). (Ilia, j dot jeising at gmail dot com)</li>
  6724. <li><?php bugfix(51291); ?> (oci_error doesn't report last error when called two times) (Oracle Corp.)</li>
  6725. <li><?php bugfix(51276); ?> (php_load_extension() is missing when HAVE_LIBDL is undefined). (Tony)</li>
  6726. <li><?php bugfix(51273); ?> (Faultstring property does not exist when the faultstring is empty) (Ilia, dennis at transip dot nl)</li>
  6727. <li><?php bugfix(51269); ?> (zlib.output_compression Overwrites Vary Header). (Adam)</li>
  6728. <li><?php bugfix(51257); ?> (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1). (aron dot ujvari at microsec dot hu)</li>
  6729. <li><?php bugfix(51242); ?> (Empty mysql.default_port does not default to 3306 anymore, but 0). (Adam)</li>
  6730. <li><?php bugfix(51237); ?> (milter SAPI crash on startup). (igmar at palsenberg dot com)</li>
  6731. <li><?php bugfix(51213); ?> (pdo_mssql is trimming value of the money column). (Ilia, alexr at oplot dot com)</li>
  6732. <li><?php bugfix(51190); ?> (ftp_put() returns false when transfer was successful). (Ilia)</li>
  6733. <li><?php bugfix(51183); ?> (ext/date/php_date.c fails to compile with Sun Studio). (Sriram Natarajan)</li>
  6734. <li><?php bugfix(51176); ?> (Static calling in non-static method behaves like $this-&gt;). (Felipe)</li>
  6735. <li><?php bugfix(51171); ?> (curl_setopt() doesn't output any errors or warnings when an invalid option is provided). (Ilia)</li>
  6736. <li><?php bugfix(51128); ?> (imagefill() doesn't work with large images). (Pierre)</li>
  6737. <li><?php bugfix(51096); ?> ('last day' and 'first day' are handled incorrectly when parsing date strings). (Derick)</li>
  6738. <li><?php bugfix(51086); ?> (DBA DB4 doesn't work with Berkeley DB 4.8). (Chris Jones)</li>
  6739. <li><?php bugfix(51062); ?> (DBA DB4 uses mismatched headers and libraries). (Chris Jones)</li>
  6740. <li><?php bugfix(51026); ?> (mysqli_ssl_set not working). (Andrey)</li>
  6741. <li><?php bugfix(51023); ?> (filter doesn't detect int overflows with GCC 4.4). (Raphael Geissert)</li>
  6742. <li><?php bugfix(50999); ?> (unaligned memory access in dba_fetch()). (Felipe)</li>
  6743. <li><?php bugfix(50976); ?> (Soap headers Authorization not allowed). (Brain France, Dmitry)</li>
  6744. <li><?php bugfix(50828); ?> (DOMNotation is not subclass of DOMNode). (Rob)</li>
  6745. <li><?php bugfix(50810); ?> (property_exists does not work for private). (Felipe)</li>
  6746. <li><?php bugfix(50762); ?> (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)</li>
  6747. <li><?php bugfix(50731); ?> (Inconsistent namespaces sent to functions registered with spl_autoload_register). (Felipe)</li>
  6748. <li><?php bugfix(50563); ?> (removing E_WARNING from parse_url). (ralph at smashlabs dot com, Pierre)</li>
  6749. <li><?php bugfix(50578); ?> (incorrect shebang in phar.phar). (Fedora at FamilleCollet dot com)</li>
  6750. <li><?php bugfix(50392); ?> (date_create_from_format enforces 6 digits for 'u' format character). (Derick)</li>
  6751. <li><?php bugfix(50383); ?> (Exceptions thrown in __call / __callStatic do not include file and line in trace). (Felipe)</li>
  6752. <li><?php bugfix(50358); ?> (Compile failure compiling ext/phar/util.lo). (Felipe)</li>
  6753. <li><?php bugfix(50101); ?> (name clash between global and local variable). (patch by yoarvi at gmail dot com)</li>
  6754. <li><?php bugfix(50055); ?> (DateTime::sub() allows 'relative' time modifications). (Derick)</li>
  6755. <li><?php bugfix(51002); ?> (fix possible memory corruption with very long names). (Pierre)</li>
  6756. <li><?php bugfix(49893); ?> (Crash while creating an instance of Zend_Mail_Storage_Pop3). (Dmitry)</li>
  6757. <li><?php bugfix(49819); ?> (STDOUT losing data with posix_isatty()). (Mike)</li>
  6758. <li><?php bugfix(49778); ?> (DateInterval::format("%a") is always zero when an interval is created from an ISO string). (Derick)</li>
  6759. <li><?php bugfix(49700); ?> (memory leaks in php_date.c if garbage collector is enabled). (Dmitry)</li>
  6760. <li><?php bugfix(49576); ?> (FILTER_VALIDATE_EMAIL filter needs updating) (Rasmus)</li>
  6761. <li><?php bugfix(49490); ?> (XPath namespace prefix conflict). (Rob)</li>
  6762. <li><?php bugfix(49429); ?> (odbc_autocommit doesn't work). (Felipe)</li>
  6763. <li><?php bugfix(49320); ?> (PDO returns null when SQLite connection fails). (Felipe)</li>
  6764. <li><?php bugfix(49234); ?> (mysqli_ssl_set not found). (Andrey)</li>
  6765. <li><?php bugfix(49216); ?> (Reflection doesn't seem to work properly on MySqli). (Andrey)</li>
  6766. <li><?php bugfix(49192); ?> (PHP crashes when GC invoked on COM object). (Stas)</li>
  6767. <li><?php bugfix(49081); ?> (DateTime::diff() mistake if start in January and interval &gt; 28 days). (Derick)</li>
  6768. <li><?php bugfix(49059); ?> (DateTime::diff() repeats previous sub() operation). (yoarvi@gmail.com, Derick)</li>
  6769. <li><?php bugfix(48983); ?> (DomDocument : saveHTMLFile wrong charset). (Rob)</li>
  6770. <li><?php bugfix(48930); ?> (__COMPILER_HALT_OFFSET__ incorrect in PHP &gt;= 5.3). (Felipe)</li>
  6771. <li><?php bugfix(48902); ?> (Timezone database fallback map is outdated). (Derick)</li>
  6772. <li><?php bugfix(48781); ?> (Cyclical garbage collector memory leak). (Dmitry)</li>
  6773. <li><?php bugfix(48601); ?> (xpath() returns FALSE for legitimate query). (Rob)</li>
  6774. <li><?php bugfix(48361); ?> (SplFileInfo::getPathInfo should return the parent dir). (Etienne)</li>
  6775. <li><?php bugfix(48289); ?> (iconv_mime_encode() quoted-printable scheme is broken). (Adam, patch from hiroaki dot kawai at gmail dot com).</li>
  6776. <li><?php bugfix(47842); ?> (sscanf() does not support 64-bit values). (Mike)</li>
  6777. <li><?php bugfix(46111); ?> (Some timezone identifiers can not be parsed). (Derick)</li>
  6778. <li><?php bugfix(45808); ?> (stream_socket_enable_crypto() blocks and eats CPU). (vincent at optilian dot com)</li>
  6779. <li><?php bugfix(43233); ?> (sasl support for ldap on Windows). (Pierre)</li>
  6780. <li><?php bugfix(35673); ?> (formatOutput does not work with saveHTML). (Rob)</li>
  6781. <li><?php bugfix(33210); ?> (getimagesize() fails to detect width/height on certain JPEGs). (Ilia)</li>
  6782. </ul>
  6783. <!-- }}} --></section>
  6784. <section class="version" id="5.2.14"><!-- {{{ 5.2.14 -->
  6785. <h3>Version 5.2.14</h3>
  6786. <?php release_date('22-Jul-2010'); ?>
  6787. <ul>
  6788. <li>Reverted bug fix #49521 (PDO fetchObject sets values before calling constructor). (Felipe)</li>
  6789. </ul>
  6790. <ul>
  6791. <li>Updated timezone database to version 2010.5. (Derick)</li>
  6792. <li>Upgraded bundled PCRE to version 8.02. (Ilia)</li>
  6793. </ul>
  6794. <ul>
  6795. <li>Rewrote var_export() to use smart_str rather than output buffering, revents data disclosure if a fatal error occurs (CVE-2010-2531). (Scott)</li>
  6796. <li>Fixed a possible interruption array leak in strrchr(). Reported by Péter Veres. (CVE-2010-2484) (Felipe)</li>
  6797. <li>Fixed a possible interruption array leak in strchr(), strstr(), substr(), chunk_split(), strtok(), addcslashes(), str_repeat(), trim(). (Felipe)</li>
  6798. <li>Fixed a possible memory corruption in substr_replace() (Dmitry)</li>
  6799. <li>Fixed SplObjectStorage unserialization problems (CVE-2010-2225). (Stas)</li>
  6800. <li>Fixed a possible stack exaustion inside fnmatch(). Reporeted by Stefan Esser (Ilia)</li>
  6801. <li>Reset error state in PDO::beginTransaction() reset error state. (Ilia)</li>
  6802. <li>Fixed a NULL pointer dereference when processing invalid XML-RPC requests (Fixes CVE-2010-0397, bug <?php bugl(51288); ?>). (Raphael Geissert)</li>
  6803. <li>Fixed handling of session variable serialization on certain prefix characters. Reported by Stefan Esser (Ilia)</li>
  6804. <li>Fixed a possible arbitrary memory access inside sqlite extension. Reported by Mateusz Kocielski. (Ilia) </li>
  6805. <li>Fixed a crash when calling an inexistent method of a class that inherits PDOStatement if instantiated directly instead of doing by the PDO methods. (Felipe)</li>
  6806. </ul>
  6807. <ul>
  6808. <li><?php bugfix(52317); ?> (Segmentation fault when using mail() on a rhel 4.x (only 64 bit)). (Adam)</li>
  6809. <li><?php bugfix(52238); ?> (Crash when an Exception occured in iterator_to_array). (Johannes)</li>
  6810. <li><?php bugfix(52237); ?> (Crash when passing the reference of the property of a non-object). (Dmitry)</li>
  6811. <li><?php bugfix(52163); ?> (SplFileObject::fgetss() fails due to parameter that can't be set). (Felipe)</li>
  6812. <li><?php bugfix(52162); ?> (custom request header variables with numbers are removed). (Sriram Natarajan)</li>
  6813. <li><?php bugfix(52160); ?> (Invalid E_STRICT redefined constructor error). (Felipe)</li>
  6814. <li><?php bugfix(52061); ?> (memory_limit above 2G). (Felipe)</li>
  6815. <li><?php bugfix(52041); ?> (Memory leak when writing on uninitialized variable returned from function). (Dmitry)</li>
  6816. <li><?php bugfix(52037); ?> (Concurrent builds fail in install-programs). (seanius at debian dot org, Kalle)</li>
  6817. <li><?php bugfix(52019); ?> (make lcov doesn't support TESTS variable anymore). (Patrick)</li>
  6818. <li><?php bugfix(52010); ?> (open_basedir restrictions mismatch on vacuum command). (Ilia, Felipe)</li>
  6819. <li><?php bugfix(51943); ?> (AIX: Several files are out of ANSI spec). (Kalle, coreystup at gmail dot com)</li>
  6820. <li><?php bugfix(51911); ?> (ReflectionParameter::getDefaultValue() memory leaks with constant array). (Felipe)</li>
  6821. <li><?php bugfix(51905); ?> (ReflectionParameter fails if default value is an array with an access to self::). (Felipe)</li>
  6822. <li><?php bugfix(51822); ?> (Segfault with strange __destruct() for static class variables). (Dmitry)</li>
  6823. <li><?php bugfix(51671); ?> (imagefill does not work correctly for small images). (Pierre)</li>
  6824. <li><?php bugfix(51670); ?> (getColumnMeta causes segfault when re-executing query after calling nextRowset). (Pierrick)</li>
  6825. <li><?php bugfix(51629); ?> (CURLOPT_FOLLOWLOCATION error message is misleading). (Pierre)</li>
  6826. <li><?php bugfix(51617); ?> (PDO PGSQL still broken against PostGreSQL &lt;7.4). (Felipe, wdierkes at 5dollarwhitebox dot org)</li>
  6827. <li><?php bugfix(51615); ?> (PHP crash with wrong HTML in SimpleXML). (Felipe)</li>
  6828. <li><?php bugfix(51609); ?> (pg_copy_to: Invalid results when using fourth parameter). (Felipe)</li>
  6829. <li><?php bugfix(51608); ?> (pg_copy_to: WARNING: nonstandard use of \\ in a string literal). (cbandy at jbandy dot com)</li>
  6830. <li><?php bugfix(51607); ?> (pg_copy_from does not allow schema in the tablename argument). (cbandy at jbandy dot com)</li>
  6831. <li><?php bugfix(51604); ?> (newline in end of header is shown in start of message). (Daniel Egeberg)</li>
  6832. <li><?php bugfix(51562); ?> (query timeout in mssql can not be changed per query). (ejsmont dot artur at gmail dot com)</li>
  6833. <li><?php bugfix(51552); ?> (debug_backtrace() causes segmentation fault and/or memory issues). (Dmitry)</li>
  6834. <li><?php bugfix(51532); ?> (Wrong prototype for SplFileObject::fscanf()). (Etienne)</li>
  6835. <li><?php bugfix(51445); ?> (var_dump() invalid/slow *RECURSION* detection). (Felipe)</li>
  6836. <li><?php bugfix(51393); ?> (DateTime::createFromFormat() fails if format string contains timezone). (Adam)</li>
  6837. <li><?php bugfix(51374); ?> (Wrongly initialized object properties). (Etienne)</li>
  6838. <li><?php bugfix(51338); ?> (URL-Rewriter is still enabled if use_only_cookies is on). (Ilia, j dot jeising at gmail dot com)</li>
  6839. <li><?php bugfix(51273); ?> (Faultstring property does not exist when the faultstring is empty) (Ilia, dennis at transip dot nl)</li>
  6840. <li><?php bugfix(51269); ?> (zlib.output_compression Overwrites Vary Header). (Adam)</li>
  6841. <li><?php bugfix(51263); ?> (imagettftext and rotated text uses wrong baseline) (cschneid at cschneid dot com, Takeshi Abe)</li>
  6842. <li><?php bugfix(51237); ?> (milter SAPI crash on startup). (igmar at palsenberg dot com)</li>
  6843. <li><?php bugfix(51213); ?> (pdo_mssql is trimming value of the money column). (Ilia, alexr at oplot dot com)</li>
  6844. <li><?php bugfix(51192); ?> (FILTER_VALIDATE_URL will invalidate a hostname that includes '-'). (Adam, solar at azrael dot ws).</li>
  6845. <li><?php bugfix(51190); ?> (ftp_put() returns false when transfer was successful). (Ilia)</li>
  6846. <li><?php bugfix(51183); ?> (ext/date/php_date.c fails to compile with Sun Studio). (Sriram Natarajan)</li>
  6847. <li><?php bugfix(51171); ?> (curl_setopt() doesn't output any errors or warnings when an invalid option is provided). (Ilia)</li>
  6848. <li><?php bugfix(51128); ?> (imagefill() doesn't work with large images). (Pierre)</li>
  6849. <li><?php bugfix(51086); ?> (DBA DB4 doesn't work with Berkeley DB 4.8). (Chris Jones)</li>
  6850. <li><?php bugfix(51062); ?> (DBA DB4 uses mismatched headers and libraries). (Chris Jones)</li>
  6851. <li><?php bugfix(51023); ?> (filter doesn't detect int overflows with GCC 4.4). (Raphael Geissert)</li>
  6852. <li><?php bugfix(50762); ?> (in WSDL mode Soap Header handler function only being called if defined in WSDL). (mephius at gmail dot com)</li>
  6853. <li><?php bugfix(50698); ?> (SoapClient should handle wsdls with some incompatiable endpoints). (Justin Dearing)</li>
  6854. <li><?php bugfix(50383); ?> (Exceptions thrown in __call() / __callStatic() do not include file and line in trace). (Felipe)</li>
  6855. <li><?php bugfix(49730); ?> (Firebird - new PDO() returns NULL). (Felipe)</li>
  6856. <li><?php bugfix(49723); ?> (LimitIterator with empty SeekableIterator). (Etienne)</li>
  6857. <li><?php bugfix(49576); ?> (FILTER_VALIDATE_EMAIL filter needs updating) (Rasmus)</li>
  6858. <li><?php bugfix(49320); ?> (PDO returns null when SQLite connection fails). (Felipe)</li>
  6859. <li><?php bugfix(49267); ?> (Linking fails for iconv). (Moriyosh)</li>
  6860. <li><?php bugfix(48601); ?> (xpath() returns FALSE for legitimate query). (Rob)</li>
  6861. <li><?php bugfix(48289); ?> (iconv_mime_encode() quoted-printable scheme is broken).
  6862. (Adam, patch from hiroaki dot kawai at gmail dot com).</li>
  6863. <li><?php bugfix(43314); ?> (iconv_mime_encode(), broken Q scheme). (Rasmus)</li>
  6864. <li><?php bugfix(33210); ?> (getimagesize() fails to detect width/height on certain
  6865. JPEGs). (Ilia)</li>
  6866. <li><?php bugfix(23229); ?> (syslog() truncates messages). (Adam)</li>
  6867. </ul>
  6868. <!-- }}} --></section>
  6869. <section class="version" id="5.3.2"><!-- {{{ 5.3.2 -->
  6870. <h3>Version 5.3.2</h3>
  6871. <?php release_date('04-Mar-2010'); ?>
  6872. <ul>
  6873. <li>Security Fixes
  6874. <ul>
  6875. <li>Improved LCG entropy. (Rasmus, Samy Kamkar)</li>
  6876. <li>Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)</li>
  6877. <li>Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia)</li>
  6878. </ul>
  6879. </li>
  6880. <li>Upgraded bundled sqlite to version 3.6.22. (Ilia)</li>
  6881. <li>Upgraded bundled libmagic to version 5.03. (Mikko)</li>
  6882. <li>Upgraded bundled PCRE to version 8.00. (Scott)</li>
  6883. <li>Updated timezone database to version 2010.3. (Derick)</li>
  6884. <li>Improved LCG entropy. (Rasmus, Samy Kamkar)</li>
  6885. <li>Improved crypt support for edge cases (UFC compatibility). (Solar Designer, Joey, Pierre)</li>
  6886. <li>Changed gmp_strval() to use full range from 2 to 62, and -2 to -36. FR <?php bugl(50283); ?> (David Soria Parra)</li>
  6887. <li>Changed "post_max_size" php.ini directive to allow unlimited post size by setting it to 0. (Rasmus)</li>
  6888. <li>Changed tidyNode class to disallow manual node creation. (Pierrick)</li>
  6889. <li>Removed automatic file descriptor unlocking happening on shutdown and/or stream close (on all OSes). (Tony, Ilia)</li>
  6890. <li>Added libpng 1.4.0 support. (Pierre)</li>
  6891. <li>Added support for DISABLE_AUTHENTICATOR for imap_open. (Pierre)</li>
  6892. <li>Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL. (Ilia)</li>
  6893. <li>Added stream_resolve_include_path(). (Mikko)</li>
  6894. <li>Added INTERNALDATE support to imap_append. (nick at mailtrust dot com)</li>
  6895. <li>Added support for SHA-256 and SHA-512 to php's crypt. (Pierre)</li>
  6896. <li>Added realpath_cache_size() and realpath_cache_get() functions. (Stas)</li>
  6897. <li>Added FILTER_FLAG_STRIP_BACKTICK option to the filter extension. (Ilia)</li>
  6898. <li>Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check. (Stas)</li>
  6899. <li>Added LIBXML_PARSEHUGE constant to override the maximum text size of a single text node when using libxml2.7.3+. (Kalle)</li>
  6900. <li>Added ReflectionMethod::setAccessible() for invoking non-public methods through the Reflection API. (Sebastian)</li>
  6901. <li>Added Collator::getSortKey for intl extension. (Stas)</li>
  6902. <li>Added support for CURLOPT_POSTREDIR. FR <?php bugl(49571); ?>. (Sriram Natarajan)</li>
  6903. <li>Added support for CURLOPT_CERTINFO. FR <?php bugl(49253); ?>. (Linus Nielsen Feltzing &lt;linus@haxx.se&gt;)</li>
  6904. <li>Added client-side server name indication support in openssl. (Arnaud)</li>
  6905. <li>Improved fix for bug <?php bugl(50006); ?> (Segfault caused by uksort()). (Stas)</li>
  6906. <li>Fixed mysqlnd hang when queries exactly 16777214 bytes long are sent. (Andrey)</li>
  6907. <li>Fixed incorrect decoding of 5-byte BIT sequences in mysqlnd. (Andrey)</li>
  6908. <li>Fixed error_log() to be binary safe when using message_type 3. (Jani)</li>
  6909. <li>Fixed unnecessary invocation of setitimer when timeouts have been disabled. (Arvind Srinivasan)</li>
  6910. <li>Fixed memory leak in extension loading when an error occurs on Windows. (Pierre)</li>
  6911. <li>Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)</li>
  6912. <li>Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak. (Ilia)</li>
  6913. <li>Fixed possible crash when a error/warning is raised during php startup. (Pierre)</li>
  6914. <li>Fixed possible bad behavior of rename on windows when used with symbolic links or invalid paths. (Pierre)</li>
  6915. <li>Fixed error output to stderr on Windows. (Pierre)</li>
  6916. <li>Fixed memory leaks in is_writable/readable/etc on Windows. (Pierre)</li>
  6917. <li>Fixed memory leaks in the ACL function on Windows. (Pierre)</li>
  6918. <li>Fixed memory leak in the realpath cache on Windows. (Pierre)</li>
  6919. <li>Fixed memory leak in zip_close. (Pierre)</li>
  6920. <li>Fixed crypt's blowfish sanity check of the "setting" string, to reject iteration counts encoded as 36 through 39. (Solar Designer, Joey, Pierre)</li>
  6921. <li><?php bugfix(51059); ?> (crypt crashes when invalid salt are given). (Pierre)</li>
  6922. <li><?php bugfix(50952); ?> (allow underscore _ in constants parsed in php.ini files). (Jani)</li>
  6923. <li><?php bugfix(50940); ?> (Custom content-length set incorrectly in Apache SAPIs). (Brian France, Rasmus)</li>
  6924. <li><?php bugfix(50930); ?> (Wrong date by php_date.c patch with ancient gcc/glibc versions). (Derick)</li>
  6925. <li><?php bugfix(50907); ?> (X-PHP-Originating-Script adding two new lines in *NIX). (Ilia)</li>
  6926. <li><?php bugfix(50859); ?> (build fails with openssl 1.0 due to md2 deprecation). (Ilia, hanno at hboeck dot de)</li>
  6927. <li><?php bugfix(50847); ?> (strip_tags() removes all tags greater then 1023 bytes long). (Ilia)</li>
  6928. <li><?php bugfix(50829); ?> (php.ini directive pdo_mysql.default_socket is ignored). (Ilia)</li>
  6929. <li><?php bugfix(50832); ?> (HTTP fopen wrapper does not support passwordless HTTP authentication). (Jani)</li>
  6930. <li><?php bugfix(50787); ?> (stream_set_write_buffer() has no effect on socket streams). (vnegrier at optilian dot com, Ilia)</li>
  6931. <li><?php bugfix(50761); ?> (system.multiCall crashes in xmlrpc extension). (hiroaki dot kawai at gmail dot com, Ilia)</li>
  6932. <li><?php bugfix(50756); ?> (CURLOPT_FTP_SKIP_PASV_IP does not exist). (Sriram)</li>
  6933. <li><?php bugfix(50732); ?> (exec() adds single byte twice to $output array). (Ilia)</li>
  6934. <li><?php bugfix(50728); ?> (All PDOExceptions hardcode 'code' property to 0). (Joey, Ilia)</li>
  6935. <li><?php bugfix(50723); ?> (Bug in garbage collector causes crash). (Dmitry)</li>
  6936. <li><?php bugfix(50690); ?> (putenv does not set ENV when the value is only one char). (Pierre)</li>
  6937. <li><?php bugfix(50680); ?> (strtotime() does not support eighth ordinal number). (Ilia)</li>
  6938. <li><?php bugfix(50661); ?> (DOMDocument::loadXML does not allow UTF-16). (Rob)</li>
  6939. <li><?php bugfix(50657); ?> (copy() with an empty (zero-byte) HTTP source succeeds but returns false). (Ilia)</li>
  6940. <li><?php bugfix(50632); ?> (filter_input() does not return default value if the variable does not exist). (Ilia)</li>
  6941. <li><?php bugfix(50576); ?> (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick)</li>
  6942. <li><?php bugfix(50558); ?> (Broken object model when extending tidy). (Pierrick)</li>
  6943. <li><?php bugfix(50540); ?> (Crash while running ldap_next_reference test cases). (Sriram)</li>
  6944. <li><?php bugfix(50519); ?> (segfault in garbage collection when using set_error_handler and DomDocument). (Dmitry)</li>
  6945. <li><?php bugfix(50508); ?> (compile failure: Conflicting HEADER type declarations). (Jani)</li>
  6946. <li><?php bugfix(50496); ?> (Use of &lt;stdbool.h&gt; is valid only in a c99 compilation environment. (Sriram)</li>
  6947. <li><?php bugfix(50464); ?> (declare encoding doesn't work within an included file). (Felipe)</li>
  6948. <li><?php bugfix(50458); ?> (PDO::FETCH_FUNC fails with Closures). (Felipe, Pierrick)</li>
  6949. <li><?php bugfix(50445); ?> (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault). (davbrown4 at yahoo dot com, Felipe)</li>
  6950. <li><?php bugfix(50416); ?> (PROCEDURE db.myproc can't return a result set in the given context). (Andrey)</li>
  6951. <li><?php bugfix(50394); ?> (Reference argument converted to value in __call). (Stas)</li>
  6952. <li><?php bugfix(50351); ?> (performance regression handling objects, ten times slowerin 5.3 than in 5.2). (Dmitry)</li>
  6953. <li><?php bugfix(50392); ?> (date_create_from_format() enforces 6 digits for 'u' format character). (Ilia)</li>
  6954. <li><?php bugfix(50345); ?> (nanosleep not detected properly on some solaris versions). (Jani)</li>
  6955. <li><?php bugfix(50340); ?> (php.ini parser does not allow spaces in ini keys). (Jani)</li>
  6956. <li><?php bugfix(50334); ?> (crypt ignores sha512 prefix). (Pierre)</li>
  6957. <li><?php bugfix(50323); ?> (Allow use of ; in values via ;; in PDO DSN). (Ilia, Pierrick)</li>
  6958. <li><?php bugfix(50285); ?> (xmlrpc does not preserve keys in encoded indexed arrays). (Felipe)</li>
  6959. <li><?php bugfix(50282); ?> (xmlrpc_encode_request() changes object into array in calling function). (Felipe)</li>
  6960. <li><?php bugfix(50267); ?> (get_browser(null) does not use HTTP_USER_AGENT). (Jani)</li>
  6961. <li><?php bugfix(50266); ?> (conflicting types for llabs). (Jani)</li>
  6962. <li><?php bugfix(50261); ?> (Crash When Calling Parent Constructor with call_user_func()). (Dmitry)</li>
  6963. <li><?php bugfix(50255); ?> (isset() and empty() silently casts array to object). (Felipe)</li>
  6964. <li><?php bugfix(50240); ?> (pdo_mysql.default_socket in php.ini shouldn't used if it is empty). (foutrelis at gmail dot com, Ilia)</li>
  6965. <li><?php bugfix(50231); ?> (Socket path passed using --with-mysql-sock is ignored when mysqlnd is enabled). (Jani)</li>
  6966. <li><?php bugfix(50219); ?> (soap call Segmentation fault on a redirected url). (Pierrick)</li>
  6967. <li><?php bugfix(50212); ?> (crash by ldap_get_option() with LDAP_OPT_NETWORK_TIMEOUT). (Ilia, shigeru_kitazaki at cybozu dot co dot jp)</li>
  6968. <li><?php bugfix(50209); ?> (Compiling with libedit cannot find readline.h). (tcallawa at redhat dot com)</li>
  6969. <li><?php bugfix(50207); ?> (segmentation fault when concatenating very large strings on 64bit linux). (Ilia)</li>
  6970. <li><?php bugfix(50196); ?> (stream_copy_to_stream() produces warning when source is not file). (Stas)</li>
  6971. <li><?php bugfix(50195); ?> (pg_copy_to() fails when table name contains schema. (Ilia)</li>
  6972. <li><?php bugfix(50185); ?> (ldap_get_entries() return false instead of an empty array when there is no error). (Jani)</li>
  6973. <li><?php bugfix(50174); ?> (Incorrectly matched docComment). (Felipe)</li>
  6974. <li><?php bugfix(50168); ?> (FastCGI fails with wrong error on HEAD request to non-existant file). (Dmitry)</li>
  6975. <li><?php bugfix(50162); ?> (Memory leak when fetching timestamp column from Oracle database). (Felipe)</li>
  6976. <li><?php bugfix(50159); ?> (wrong working directory in symlinked files). (Dmitry)</li>
  6977. <li><?php bugfix(50158); ?> (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?). (Pierrick)</li>
  6978. <li><?php bugfix(50152); ?> (ReflectionClass::hasProperty behaves like isset() not property_exists). (Felipe)</li>
  6979. <li><?php bugfix(50146); ?> (property_exists: Closure object cannot have properties). (Felipe)</li>
  6980. <li><?php bugfix(50145); ?> (crash while running bug35634.phpt). (Felipe)</li>
  6981. <li><?php bugfix(50140); ?> (With default compilation option, php symbols are unresolved for nsapi). (Uwe Schindler)</li>
  6982. <li><?php bugfix(50087); ?> (NSAPI performance improvements). (Uwe Schindler)</li>
  6983. <li><?php bugfix(50073); ?> (parse_url() incorrect when ? in fragment). (Ilia)</li>
  6984. <li><?php bugfix(50023); ?> (pdo_mysql doesn't use PHP_MYSQL_UNIX_SOCK_ADDR). (Ilia)</li>
  6985. <li><?php bugfix(50005); ?> (Throwing through Reflection modified Exception object makes segmentation fault). (Felipe)</li>
  6986. <li><?php bugfix(49990); ?> (SNMP3 warning message about security level printed twice). (Jani)</li>
  6987. <li><?php bugfix(49985); ?> (pdo_pgsql prepare() re-use previous aborted transaction). (ben dot pineau at gmail dot com, Ilia, Matteo) </li>
  6988. <li><?php bugfix(49938); ?> (Phar::isBuffering() returns inverted value). (Greg)</li>
  6989. <li><?php bugfix(49936); ?> (crash with ftp stream in php_stream_context_get_option()). (Pierrick)</li>
  6990. <li><?php bugfix(49921); ?> (Curl post upload functions changed). (Ilia)</li>
  6991. <li><?php bugfix(49866); ?> (Making reference on string offsets crashes PHP). (Dmitry)</li>
  6992. <li><?php bugfix(49855); ?> (import_request_variables() always returns NULL). (Ilia, sjoerd at php dot net)</li>
  6993. <li><?php bugfix(49851); ?>, #50451 (http wrapper breaks on 1024 char long headers). (Ilia)</li>
  6994. <li><?php bugfix(49800); ?> (SimpleXML allow (un)serialize() calls without warning). (Ilia, wmeler at wp-sa dot pl)</li>
  6995. <li><?php bugfix(49719); ?> (ReflectionClass::hasProperty returns true for a private property in base class). (Felipe)</li>
  6996. <li><?php bugfix(49677); ?> (ini parser crashes with apache2 and using ${something} ini variables). (Jani)</li>
  6997. <li><?php bugfix(49660); ?> (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)</li>
  6998. <li><?php bugfix(49647); ?> (DOMUserData does not exist). (Rob)</li>
  6999. <li><?php bugfix(49600); ?> (imageTTFText text shifted right). (Takeshi Abe)</li>
  7000. <li><?php bugfix(49585); ?> (date_format buffer not long enough for >4 digit years). (Derick, Adam)</li>
  7001. <li><?php bugfix(49560); ?> (oci8: using LOBs causes slow PHP shutdown). (Oracle Corp.)</li>
  7002. <li><?php bugfix(49521); ?> (PDO fetchObject sets values before calling constructor). (Pierrick)</li>
  7003. <li><?php bugfix(49472); ?> (Constants defined in Interfaces can be overridden). (Felipe)</li>
  7004. <li><?php bugfix(49463); ?> (setAttributeNS fails setting default namespace). (Rob)</li>
  7005. <li><?php bugfix(49244); ?> (Floating point NaN cause garbage characters). (Sjoerd)</li>
  7006. <li><?php bugfix(49224); ?> (Compile error due to old DNS functions on AIX systems). (Scott)</li>
  7007. <li><?php bugfix(49174); ?> (crash when extending PDOStatement and trying to set queryString property). (Felipe)</li>
  7008. <li><?php bugfix(48811); ?> (Directives in PATH section do not get applied to subdirectories). (Patch by: ct at swin dot edu dot au)</li>
  7009. <li><?php bugfix(48590); ?> (SoapClient does not honor max_redirects). (Sriram)</li>
  7010. <li><?php bugfix(48190); ?> (Content-type parameter "boundary" is not case-insensitive in HTTP uploads). (Ilia)</li>
  7011. <li><?php bugfix(47848); ?> (importNode doesn't preserve attribute namespaces). (Rob)</li>
  7012. <li><?php bugfix(47409); ?> (extract() problem with array containing word "this"). (Ilia, chrisstocktonaz at gmail dot com)</li>
  7013. <li><?php bugfix(47281); ?> ($php_errormsg is limited in size of characters) (Oracle Corp.)</li>
  7014. <li><?php bugfix(46478); ?> (htmlentities() uses obsolete mapping table for character entity references). (Moriyoshi)</li>
  7015. <li><?php bugfix(45599); ?> (strip_tags() truncates rest of string with invalid attribute). (Ilia, hradtke)</li>
  7016. <li><?php bugfix(45120); ?> (PDOStatement->execute() returns true then false for same statement). (Pierrick)</li>
  7017. <li><?php bugfix(44827); ?> (define() allows :: in constant names). (Ilia)</li>
  7018. <li><?php bugfix(44098); ?> (imap_utf8() returns only capital letters). (steffen at dislabs dot de, Pierre)</li>
  7019. <li><?php bugfix(34852); ?> (Failure in odbc_exec() using oracle-supplied odbc driver). (tim dot tassonis at trivadis dot com)</li>
  7020. </ul>
  7021. <!-- }}} --></section>
  7022. <section class="version" id="5.2.13"><!-- {{{ 5.2.13 -->
  7023. <h3>Version 5.2.13</h3>
  7024. <?php release_date('25-Feb-2010'); ?>
  7025. <ul>
  7026. <li>Security Fixes
  7027. <ul>
  7028. <li>Improved LCG entropy. (Rasmus, Samy Kamkar)</li>
  7029. <li>Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). (Martin Jansen)</li>
  7030. <li>Fixed a possible open_basedir/safe_mode bypass in the session extension identified by Grzegorz Stachowiak. (Ilia)</li>
  7031. </ul>
  7032. </li>
  7033. <li>Updated timezone database to version 2010.2. (Derick)</li>
  7034. <li>Upgraded bundled PCRE to version 7.9. (Ilia)</li>
  7035. <li>Removed automatic file descriptor unlocking happening on shutdown and/or stream close (on all OSes excluding Windows). (Tony, Ilia)</li>
  7036. <li>Changed tidyNode class to disallow manual node creation. (Pierrick)</li>
  7037. <li>Added missing host validation for HTTP urls inside FILTER_VALIDATE_URL. (Ilia)</li>
  7038. <li>Fixed bug in bundled libgd causing spurious horizontal lines drawn by gdImageFilledPolygon (libgd #100). (Takeshi Abe)</li>
  7039. <li>Fixed build of mysqli with MySQL 5.5.0-m2. (Andrey)</li>
  7040. <li><?php bugfix(50940); ?> (Custom content-length set incorrectly in Apache sapis). (Brian France, Rasmus)</li>
  7041. <li><?php bugfix(50930); ?> (Wrong date by php_date.c patch with ancient gcc/glibc versions). (Derick)</li>
  7042. <li><?php bugfix(50859); ?> (build fails with openssl 1.0 due to md2 deprecation). (Ilia, hanno at hboeck dot de)</li>
  7043. <li><?php bugfix(50847); ?> (strip_tags() removes all tags greater then 1023 bytes long). (Ilia)</li>
  7044. <li><?php bugfix(50832); ?> (HTTP fopen wrapper does not support passwordless HTTP authentication). (Jani)</li>
  7045. <li><?php bugfix(50823); ?> (ReflectionFunction::isDeprecated producing &quot;cannot be called statically&quot; error). (Jani, Felipe)</li>
  7046. <li><?php bugfix(50791); ?> (Compile failure: Bad logic in defining fopencookie emulation). (Jani)</li>
  7047. <li><?php bugfix(50787); ?> (stream_set_write_buffer() has no effect on socket streams). (vnegrier at optilian dot com, Ilia)</li>
  7048. <li><?php bugfix(50772); ?> (mysqli constructor without parameters does not return a working mysqli object). (Andrey)</li>
  7049. <li><?php bugfix(50761); ?> (system.multiCall crashes in xmlrpc extension). (hiroaki dot kawai at gmail dot com, Ilia)</li>
  7050. <li><?php bugfix(50732); ?> (exec() adds single byte twice to $output array). (Ilia)</li>
  7051. <li><?php bugfix(50728); ?> (All PDOExceptions hardcode 'code' property to 0). (Joey, Ilia)</li>
  7052. <li><?php bugfix(50727); ?> (Accessing mysqli->affected_rows on no connection causes segfault). (Andrey, Johannes)</li>
  7053. <li><?php bugfix(50680); ?> (strtotime() does not support eighth ordinal number). (Ilia)</li>
  7054. <li><?php bugfix(50661); ?> (DOMDocument::loadXML does not allow UTF-16). (Rob)</li>
  7055. <li><?php bugfix(50657); ?> (copy() with an empty (zero-byte) HTTP source succeeds but returns false). (Ilia)</li>
  7056. <li><?php bugfix(50636); ?> (MySQLi_Result sets values before calling constructor). (Pierrick)</li>
  7057. <li><?php bugfix(50632); ?> (filter_input() does not return default value if the variable does not exist). (Ilia)</li>
  7058. <li><?php bugfix(50576); ?> (XML_OPTION_SKIP_TAGSTART option has no effect). (Pierrick)</li>
  7059. <li><?php bugfix(50575); ?> (PDO_PGSQL LOBs are not compatible with PostgreSQL 8.5). (Matteo)</li>
  7060. <li><?php bugfix(50558); ?> (Broken object model when extending tidy). (Pierrick)</li>
  7061. <li><?php bugfix(50540); ?> (Crash while running ldap_next_reference test cases). (Sriram)</li>
  7062. <li><?php bugfix(50508); ?> (compile failure: Conflicting HEADER type declarations). (Jani)</li>
  7063. <li><?php bugfix(50394); ?> (Reference argument converted to value in __call). (Stas)</li>
  7064. <li><?php bugfix(49851); ?> (http wrapper breaks on 1024 char long headers). (Ilia)</li>
  7065. <li><?php bugfix(49600); ?> (imageTTFText text shifted right). (Takeshi Abe)</li>
  7066. <li><?php bugfix(49585); ?> (date_format buffer not long enough for >4 digit years). (Derick, Adam)</li>
  7067. <li><?php bugfix(49463); ?> (setAttributeNS fails setting default namespace). (Rob)</li>
  7068. <li><?php bugfix(48667); ?> (Implementing Iterator and IteratorAggregate). (Etienne)</li>
  7069. <li><?php bugfix(48590); ?> (SoapClient does not honor max_redirects). (Sriram)</li>
  7070. <li><?php bugfix(48190); ?> (Content-type parameter &quot;boundary&quot; is not case-insensitive in HTTP uploads). (Ilia)</li>
  7071. <li><?php bugfix(47601); ?> (defined() requires class to exist when testing for class constants). (Ilia)</li>
  7072. <li><?php bugfix(47409); ?> (extract() problem with array containing word &quot;this&quot;). (Ilia, chrisstocktonaz at gmail dot com)</li>
  7073. <li><?php bugfix(47002); ?> (Field truncation when reading from dbase dbs with more then 1024 fields). (Ilia, sjoerd-php at linuxonly dot nl)</li>
  7074. <li><?php bugfix(45599); ?> (strip_tags() truncates rest of string with invalid attribute). (Ilia, hradtke) </li>
  7075. <li><?php bugfix(44827); ?> (define() allows :: in constant names). (Ilia)</li>
  7076. </ul>
  7077. <!-- }}} --></section>
  7078. <section class="version" id="5.3.1"><!-- {{{ 5.3.1 -->
  7079. <h3>Version 5.3.1</h3>
  7080. <?php release_date('19-Nov-2009'); ?>
  7081. <ul>
  7082. <li>Security Fixes
  7083. <ul>
  7084. <li>Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion. (Ilia)</li>
  7085. <li>Added missing sanity checks around exif processing. (Ilia)</li>
  7086. <li>Fixed a safe_mode bypass in tempnam(). (Rasmus)</li>
  7087. <li>Fixed a open_basedir bypass in posix_mkfifo(). (Rasmus)</li>
  7088. <li><?php bugfix(50063); ?> (safe_mode_include_dir fails). (Johannes, christian at elmerot dot se)</li>
  7089. </ul>
  7090. </li>
  7091. <li>Added error constant when json_encode() detects an invalid UTF-8 sequence. (Scott)</li>
  7092. <li>Added support for ACL on Windows for thread safe SAPI (Apache2 for example) and fix its support on NTS. (Pierre)</li>
  7093. <li>Upgraded bundled sqlite to version 3.6.19. (Scott)</li>
  7094. <li>Updated timezone database to version 2009.17 (2009q). (Derick)</li>
  7095. <li>Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)</li>
  7096. <li>Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. (Rasmus)</li>
  7097. <li>Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak. (Rasmus)</li>
  7098. <li>Fixed certificate validation inside php_openssl_apply_verification_policy (Ryan Sleevi, Ilia)</li>
  7099. <li>Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() when calling using Reflection. (Felipe)</li>
  7100. <li>Fixed crash when instantiating PDORow and PDOStatement through Reflection. (Felipe)</li>
  7101. <li>Fixed sanity check for the color index in imagecolortransparent. (Pierre)</li>
  7102. <li>Fixed scandir/readdir when used mounted points on Windows. (Pierre)</li>
  7103. <li>Fixed zlib.deflate compress filter to actually accept level parameter. (Jani)</li>
  7104. <li>Fixed leak on error in popen/exec (and related functions) on Windows. (Pierre)</li>
  7105. <li>Fixed possible bad caching of symlinked directories in the realpath cache on Windows. (Pierre)</li>
  7106. <li>Fixed atime and mtime in stat related functions on Windows. (Pierre)</li>
  7107. <li>Fixed spl_autoload_unregister/spl_autoload_functions wrt. Closures and Functors. (Christian Seiler)</li>
  7108. <li>Fixed open_basedir circumvention for "mail.log" ini directive. (Maksymilian Arciemowicz, Stas)</li>
  7109. <li>Fixed signature generation/validation for zip archives in ext/phar. (Greg)</li>
  7110. <li>Fixed memory leak in stream_is_local(). (Felipe, Tony)</li>
  7111. <li>Fixed BC break in mime_content_type(), removes the content encoding. (Scott) </li>
  7112. <li>Changed ini file directives [PATH=](on Win32) and [HOST=](on all) to be case insensitive (garretts)</li>
  7113. <li>Restored shebang line check to CGI sapi (not checked by scanner anymore). (Jani)</li>
  7114. <li>Improve symbolic, mounted volume and junctions support for realpath on Windows. (Pierre)</li>
  7115. <li>Improved readlink on Windows, suppress \??\ and use the drive syntax only. (Pierre)</li>
  7116. <li>Improved dns_get_record() AAAA support on windows. Always available when IPv6 is support is installed, format is now the same than on unix. (Pierre)</li>
  7117. <li>Improved the DNS functions on OSX to use newer APIs, also use Bind 9 API where available on other platforms. (Scott)</li>
  7118. <li>Improved shared extension loading on OSX to use the standard Unix dlopen() API. (Scott)</li>
  7119. <li><?php bugfix(50063); ?> (safe_mode_include_dir fails). (Johannes, christian at elmerot dot se)</li>
  7120. <li><?php bugfix(50052); ?> (Different Hashes on Windows and Linux on wrong Salt size). (Pierre)</li>
  7121. <li><?php bugfix(49910); ?> (no support for ././@LongLink for long filenames in phar tar support). (Greg)</li>
  7122. <li><?php bugfix(49908); ?> (throwing exception in __autoload crashes when interface is not defined). (Felipe)</li>
  7123. <li><?php bugfix(49847); ?> (exec() fails to return data inside 2nd parameter, given output lines &gt;4095 bytes). (Ilia)</li>
  7124. <li><?php bugfix(49809); ?> (time_sleep_until() is not available on OpenSolaris). (Jani)</li>
  7125. <li><?php bugfix(49757); ?> (long2ip() can return wrong value in a multi-threaded applications). (Ilia, Florian Anderiasch)</li>
  7126. <li><?php bugfix(49738); ?> (calling mcrypt after mcrypt_generic_deinit crashes). (Sriram Natarajan)</li>
  7127. <li><?php bugfix(49732); ?> (crashes when using fileinfo when timestamp conversion fails). (Pierre)</li>
  7128. <li><?php bugfix(49698); ?> (Unexpected change in strnatcasecmp()). (Rasmus)</li>
  7129. <li><?php bugfix(49630); ?> (imap_listscan function missing). (Felipe)</li>
  7130. <li><?php bugfix(49572); ?> (use of C++ style comments causes build failure). (Sriram Natarajan)</li>
  7131. <li><?php bugfix(49531); ?> (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set"). (Felipe)</li>
  7132. <li><?php bugfix(49517); ?> (cURL's CURLOPT_FILE prevents file from being deleted after fclose). (Ilia)</li>
  7133. <li><?php bugfix(49470); ?> (FILTER_SANITIZE_EMAIL allows disallowed characters). (Ilia)</li>
  7134. <li><?php bugfix(49447); ?> (php engine need to correctly check for socket API return status on windows). (Sriram Natarajan)</li>
  7135. <li><?php bugfix(49391); ?> (ldap.c utilizing deprecated ldap_modify_s). (Ilia)</li>
  7136. <li><?php bugfix(49361); ?> (wordwrap() wraps incorrectly on end of line boundaries). (Ilia, code-it at mail dot ru)</li>
  7137. <li><?php bugfix(49372); ?> (segfault in php_curl_option_curl). (Pierre)</li>
  7138. <li><?php bugfix(49306); ?> (inside pdo_mysql default socket settings are ignored). (Ilia)</li>
  7139. <li><?php bugfix(49289); ?> (bcmath module doesn't compile with phpize configure). (Jani)</li>
  7140. <li><?php bugfix(49286); ?> (php://input (php_stream_input_read) is broken). (Jani)</li>
  7141. <li><?php bugfix(49269); ?> (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry)</li>
  7142. <li><?php bugfix(49236); ?> (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)</li>
  7143. <li><?php bugfix(49223); ?> (Inconsistency using get_defined_constants). (Garrett)</li>
  7144. <li><?php bugfix(49193); ?> (gdJpegGetVersionString() inside gd_compact identifies wrong type in declaration). (Ilia)</li>
  7145. <li><?php bugfix(49183); ?> (dns_get_record does not return NAPTR records). (Pierre)</li>
  7146. <li><?php bugfix(49144); ?> (Import of schema from different host transmits original authentication details). (Dmitry)</li>
  7147. <li><?php bugfix(49142); ?> (crash when exception thrown from __tostring()). (David Soria Parra)</li>
  7148. <li><?php bugfix(49986); ?> (Missing ICU DLLs on windows package). (Pierre)</li>
  7149. <li><?php bugfix(49132); ?> (posix_times returns false without error). (phpbugs at gunnu dot us)</li>
  7150. <li><?php bugfix(49125); ?> (Error in dba_exists C code). (jdornan at stanford dot edu)</li>
  7151. <li><?php bugfix(49122); ?> (undefined reference to mysqlnd_stmt_next_result on compile with --with-mysqli and MySQL 6.0). (Jani)</li>
  7152. <li><?php bugfix(49108); ?> (2nd scan_dir produces segfault). (Felipe)</li>
  7153. <li><?php bugfix(49098); ?> (mysqli segfault on error). (Rasmus)</li>
  7154. <li><?php bugfix(49095); ?> (proc_get_status['exitcode'] fails on win32). (Felipe)</li>
  7155. <li><?php bugfix(49092); ?> (ReflectionFunction fails to work with functions in fully qualified namespaces). (Kalle, Jani)</li>
  7156. <li><?php bugfix(49074); ?> (private class static fields can be modified by using reflection). (Jani)</li>
  7157. <li><?php bugfix(49072); ?> (feof never returns true for damaged file in zip). (Pierre)</li>
  7158. <li><?php bugfix(49065); ?> ("disable_functions" php.ini option does not work on Zend extensions). (Stas)</li>
  7159. <li><?php bugfix(49064); ?> (--enable-session=shared does not work: undefined symbol: php_url_scanner_reset_vars). (Jani)</li>
  7160. <li><?php bugfix(49056); ?> (parse_ini_file() regression in 5.3.0 when using non-ASCII strings as option keys). (Jani)</li>
  7161. <li><?php bugfix(49052); ?> (context option headers freed too early when using --with-curlwrappers). (Jani)</li>
  7162. <li><?php bugfix(49047); ?> (The function touch() fails on directories on Windows). (Pierre)</li>
  7163. <li><?php bugfix(49032); ?> (SplFileObject::fscanf() variables passed by reference). (Jani)</li>
  7164. <li><?php bugfix(49027); ?> (mysqli_options() doesn't work when using mysqlnd). (Andrey)</li>
  7165. <li><?php bugfix(49026); ?> (proc_open() can bypass safe_mode_protected_env_vars restrictions). (Ilia)</li>
  7166. <li><?php bugfix(49012); ?> (phar tar signature algorithm reports as Unknown (0) in getSignature() call). (Greg)</li>
  7167. <li><?php bugfix(49020); ?> (phar misinterprets ustar long filename standard). (Greg)</li>
  7168. <li><?php bugfix(49018); ?> (phar tar stores long filenames wit prefix/name reversed). (Greg)</li>
  7169. <li><?php bugfix(49014); ?> (dechunked filter broken when serving more than 8192 bytes in a chunk). (andreas dot streichardt at globalpark dot com, Ilia)</li>
  7170. <li><?php bugfix(49000); ?> (PHP CLI in Interactive mode (php -a) crashes when including files from function). (Stas)</li>
  7171. <li><?php bugfix(48994); ?> (zlib.output_compression does not output HTTP headers when set to a string value). (Jani)</li>
  7172. <li><?php bugfix(48980); ?> (Crash when compiling with pdo_firebird). (Felipe)</li>
  7173. <li><?php bugfix(48962); ?> (cURL does not upload files with specified filename). (Ilia)</li>
  7174. <li><?php bugfix(48929); ?> (Double \r\n after HTTP headers when "header" context option is an array). (David Zülke)</li>
  7175. <li><?php bugfix(48913); ?> (Too long error code strings in pdo_odbc driver). (naf at altlinux dot ru, Felipe)</li>
  7176. <li><?php bugfix(48912); ?> (Namespace causes unexpected strict behaviour with extract()). (Dmitry)</li>
  7177. <li><?php bugfix(48909); ?> (Segmentation fault in mysqli_stmt_execute()). (Andrey)</li>
  7178. <li><?php bugfix(48899); ?> (is_callable returns true even if method does not exist in parent class). (Felipe)</li>
  7179. <li><?php bugfix(48893); ?> (Problems compiling with Curl). (Felipe)</li>
  7180. <li><?php bugfix(48872); ?> (string.c: errors: duplicate case values). (Kalle)</li>
  7181. <li><?php bugfix(48854); ?> (array_merge_recursive modifies arrays after first one). (Felipe)</li>
  7182. <li><?php bugfix(48805); ?> (IPv6 socket transport is not working). (Ilia)</li>
  7183. <li><?php bugfix(48802); ?> (printf() returns incorrect outputted length). (Jani)</li>
  7184. <li><?php bugfix(48880); ?> (Random Appearing open_basedir problem). (Rasmus, Gwynne)</li>
  7185. <li><?php bugfix(48791); ?> (open office files always reported as corrupted). (Greg)</li>
  7186. <li><?php bugfix(48788); ?> (RecursiveDirectoryIterator doesn't descend into symlinked directories). (Ilia)</li>
  7187. <li><?php bugfix(48783); ?> (make install will fail saying phar file exists). (Greg)</li>
  7188. <li><?php bugfix(48774); ?> (SIGSEGVs when using curl_copy_handle()). (Sriram Natarajan)</li>
  7189. <li><?php bugfix(48771); ?> (rename() between volumes fails and reports no error on Windows). (Pierre)</li>
  7190. <li><?php bugfix(48768); ?> (parse_ini_*() crash with INI_SCANNER_RAW). (Jani)</li>
  7191. <li><?php bugfix(48763); ?> (ZipArchive produces corrupt archive). (dani dot church at gmail dot com, Pierre)</li>
  7192. <li><?php bugfix(48762); ?> (IPv6 address filter still rejects valid address). (Felipe)</li>
  7193. <li><?php bugfix(48757); ?> (ReflectionFunction::invoke() parameter issues). (Kalle)</li>
  7194. <li><?php bugfix(48754); ?> (mysql_close() crash php when no handle specified). (Johannes, Andrey)</li>
  7195. <li><?php bugfix(48752); ?> (Crash during date parsing with invalid date). (Pierre)</li>
  7196. <li><?php bugfix(48746); ?> (Unable to browse directories within Junction Points). (Pierre, Kanwaljeet Singla)</li>
  7197. <li><?php bugfix(48745); ?> (mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields). (Andrey)</li>
  7198. <li><?php bugfix(48740); ?> (PHAR install fails when INSTALL_ROOT is not the final install location). (james dot cohen at digitalwindow dot com, Greg)</li>
  7199. <li><?php bugfix(48733); ?> (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on files that have been opened with r+). (Ilia)</li>
  7200. <li><?php bugfix(48719); ?> (parse_ini_*(): scanner_mode parameter is not checked for sanity). (Jani)</li>
  7201. <li><?php bugfix(48718); ?> (FILTER_VALIDATE_EMAIL does not allow numbers in domain components). (Ilia)</li>
  7202. <li><?php bugfix(48681); ?> (openssl signature verification for tar archives broken). (Greg)</li>
  7203. <li><?php bugfix(48660); ?> (parse_ini_*(): dollar sign as last character of value fails). (Jani)</li>
  7204. <li><?php bugfix(48645); ?> (mb_convert_encoding() doesn't understand hexadecimal html-entities). (Moriyoshi)</li>
  7205. <li><?php bugfix(48637); ?> ("file" fopen wrapper is overwritten when using --with-curlwrappers). (Jani)</li>
  7206. <li><?php bugfix(48608); ?> (Invalid libreadline version not detected during configure). (Jani)</li>
  7207. <li><?php bugfix(48400); ?> (imap crashes when closing stream opened with OP_PROTOTYPE flag). (Jani)</li>
  7208. <li><?php bugfix(48377); ?> (error message unclear on converting phar with existing file). (Greg)</li>
  7209. <li><?php bugfix(48247); ?> (Infinite loop and possible crash during startup with errors when errors are logged). (Jani)</li>
  7210. <li><?php bugfix(48198); ?> error: 'MYSQLND_LLU_SPEC' undeclared. Cause for #48780 and #46952 - both fixed too. (Andrey)</li>
  7211. <li><?php bugfix(48189); ?> (ibase_execute error in return param). (Kalle)</li>
  7212. <li><?php bugfix(48182); ?> (ssl handshake fails during asynchronous socket connection). (Sriram Natarajan)</li>
  7213. <li><?php bugfix(48116); ?> (Fixed build with Openssl 1.0). (Pierre, Al dot Smith at aeschi dot ch dot eu dot org)</li>
  7214. <li><?php bugfix(48057); ?> (Only the date fields of the first row are fetched, others are empty). (info at programmiernutte dot net)</li>
  7215. <li><?php bugfix(47481); ?> (natcasesort() does not sort extended ASCII characters correctly). (Herman Radtke)</li>
  7216. <li><?php bugfix(47351); ?> (Memory leak in DateTime). (Derick, Tobias John)</li>
  7217. <li><?php bugfix(47273); ?> (Encoding bug in SoapServer-&gt;fault). (Dmitry)</li>
  7218. <li><?php bugfix(46682); ?> (touch() afield returns different values on windows). (Pierre)</li>
  7219. <li><?php bugfix(46614); ?> (Extended MySQLi class gives incorrect empty() result). (Andrey)</li>
  7220. <li><?php bugfix(46020); ?> (with Sun Java System Web Server 7.0 on HPUX, #define HPUX). (Uwe Schindler)</li>
  7221. <li><?php bugfix(45905); ?> (imagefilledrectangle() clipping error). (markril at hotmail dot com, Pierre)</li>
  7222. <li><?php bugfix(45554); ?> (Inconsistent behavior of the u format char). (Derick)</li>
  7223. <li><?php bugfix(45141); ?> (setcookie will output expires years of &gt;4 digits). (Ilia)</li>
  7224. <li><?php bugfix(44683); ?> (popen crashes when an invalid mode is passed). (Pierre)</li>
  7225. <li><?php bugfix(43510); ?> (stream_get_meta_data() does not return same mode as used in fopen). (Jani)</li>
  7226. <li><?php bugfix(42434); ?> (ImageLine w/ antialias = 1px shorter). (wojjie at gmail dot com, Kalle)</li>
  7227. <li><?php bugfix(40013); ?> (php_uname() does not return nodename on Netware (Guenter Knauf)</li>
  7228. <li><?php bugfix(38091); ?> (Mail() does not use FQDN when sending SMTP helo). (Kalle, Rick Yorgason)</li>
  7229. <li><?php bugfix(28038); ?> (Sent incorrect RCPT TO commands to SMTP server) (Garrett)</li>
  7230. <li><?php bugfix(27051); ?> (Impersonation with FastCGI does not exec process as impersonated user). (Pierre)</li>
  7231. <li><?php peclbugfix(16842) ?> (oci_error return false when NO_DATA_FOUND is raised). (Chris Jones)</li>
  7232. </ul>
  7233. <!-- }}} --></section>
  7234. <section class="version" id="5.3.0"><!-- {{{ 5.3.0 -->
  7235. <h3>Version 5.3.0</h3>
  7236. <?php release_date('30-Jun-2009'); ?>
  7237. <ul>
  7238. <li>Upgraded bundled PCRE to version 7.9. (Nuno)</li>
  7239. <li>Upgraded bundled sqlite to version 3.6.15. (Scott)</li>
  7240. <li>Moved extensions to PECL (Derick, Lukas, Pierre, Scott):
  7241. <ul>
  7242. <li>ext/dbase</li>
  7243. <li>ext/fbsql</li>
  7244. <li>ext/fdf</li>
  7245. <li>ext/ncurses</li>
  7246. <li>ext/mhash (BC layer is now entirely within ext/hash)</li>
  7247. <li>ext/ming</li>
  7248. <li>ext/msql</li>
  7249. <li>ext/sybase (not maintained anymore, sybase_ct has to be used instead)</li>
  7250. </ul>
  7251. </li>
  7252. <li>Removed the experimental RPL (master/slave) functions from mysqli. (Andrey)</li>
  7253. <li>Removed zend.ze1_compatibility_mode. (Dmitry)</li>
  7254. <li>Removed all zend_extension_* php.ini directives. Zend extensions are now
  7255. always loaded using zend_extension directive. (Derick)</li>
  7256. <li>Removed special treatment of "/tmp" in sessions for open_basedir.
  7257. Note: This undocumented behaviour was introduced in 5.2.2. (Alexey)</li>
  7258. <li>Removed shebang line check from CGI sapi (checked by scanner). (Dmitry)</li>
  7259. <li>Changed PCRE, Reflection and SPL extensions to be always enabled. (Marcus)</li>
  7260. <li>Changed md5() to use improved implementation. (Solar Designer, Dmitry)</li>
  7261. <li>Changed HTTP stream wrapper to accept any code between and including
  7262. 200 to 399 as successful. (Mike, Noah Fontes)</li>
  7263. <li>Changed __call() to be invoked on private/protected method access, similar to
  7264. properties and __get(). (Andrei)</li>
  7265. <li>Changed dl() to be disabled by default. Enabled only when explicitly
  7266. registered by the SAPI. Currently enabled with cli, cgi and embed SAPIs.
  7267. (Dmitry)</li>
  7268. <li>Changed opendir(), dir() and scandir() to use default context when no context
  7269. argument is passed. (Sara)</li>
  7270. <li>Changed open_basedir to allow tightening in runtime contexts. (Sara)</li>
  7271. <li>Changed PHP/Zend extensions to use flexible build IDs. (Stas)</li>
  7272. <li>Changed error level E_ERROR into E_WARNING in Soap extension methods
  7273. parameter validation. (Felipe)</li>
  7274. <li>Changed openssl info to show the shared library version number. (Scott)</li>
  7275. <li>Changed floating point behaviour to consistently use double precision on all
  7276. platforms and with all compilers. (Christian Seiler)</li>
  7277. <li>Changed round() to act more intuitively when rounding to a certain precision
  7278. and round very large and very small exponents correctly. (Christian Seiler)</li>
  7279. <li>Changed session_start() to return false when session startup fails. (Jani)</li>
  7280. <li>Changed property_exists() to check the existence of a property independent of
  7281. accessibility (like method_exists()). (Felipe)</li>
  7282. <li>Changed array_reduce() to allow mixed $initial (Christian Seiler)</li>
  7283. <li>Improved PHP syntax and semantics:
  7284. <ul>
  7285. <li>Added lambda functions and closures. (Christian Seiler, Dmitry)</li>
  7286. <li>Added "jump label" operator (limited "goto"). (Dmitry, Sara)</li>
  7287. <li>Added NOWDOC syntax. (Gwynne Raskind, Stas, Dmitry)</li>
  7288. <li>Added HEREDOC syntax with double quotes. (Lars Strojny, Felipe)</li>
  7289. <li>Added support for using static HEREDOCs to initialize static variables and
  7290. class members or constants. (Matt)</li>
  7291. <li>Improved syntax highlighting and consistency for variables in double-quoted
  7292. strings and literal text in HEREDOCs and backticks. (Matt)</li>
  7293. <li>Added "?:" operator. (Marcus)</li>
  7294. <li>Added support for namespaces. (Dmitry, Stas, Gregory, Marcus)</li>
  7295. <li>Added support for Late Static Binding. (Dmitry, Etienne Kneuss)</li>
  7296. <li>Added support for __callStatic() magic method. (Sara)</li>
  7297. <li>Added forward_static_call(_array) to complete LSB. (Mike Lively)</li>
  7298. <li>Added support for dynamic access of static members using $foo::myFunc().
  7299. (Etienne Kneuss)</li>
  7300. <li>Improved checks for callbacks. (Marcus)</li>
  7301. <li>Added __DIR__ constant. (Lars Strojny)</li>
  7302. <li>Added new error modes E_USER_DEPRECATED and E_DEPRECATED.
  7303. E_DEPRECATED is used to inform about stuff being scheduled for removal
  7304. in future PHP versions. (Lars Strojny, Felipe, Marcus)</li>
  7305. <li>Added "request_order" INI variable to control specifically $_REQUEST
  7306. behavior. (Stas)</li>
  7307. <li>Added support for exception linking. (Marcus)</li>
  7308. <li>Added ability to handle exceptions in destructors. (Marcus)</li>
  7309. </ul>
  7310. </li>
  7311. <li>Improved PHP runtime speed and memory usage:
  7312. <ul>
  7313. <li>Substitute global-scope, persistent constants with their values at compile
  7314. time. (Matt)</li>
  7315. <li>Optimized ZEND_SIGNED_MULTIPLY_LONG(). (Matt)</li>
  7316. <li>Removed direct executor recursion. (Dmitry)</li>
  7317. <li>Use fastcall calling convention in executor on x86. (Dmitry)</li>
  7318. <li>Use IS_CV for direct access to $this variable. (Dmitry)</li>
  7319. <li>Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR). (Dmitry)</li>
  7320. <li>Lazy EG(active_symbol_table) initialization. (Dmitry)</li>
  7321. <li>Optimized ZEND_RETURN opcode to not allocate and copy return value if it is
  7322. not used. (Dmitry)</li>
  7323. <li>Replaced all flex based scanners with re2c based scanners.
  7324. (Marcus, Nuno, Scott)</li>
  7325. <li>Added garbage collector. (David Wang, Dmitry).</li>
  7326. <li>Improved PHP binary size and startup speed with GCC4 visibility control.
  7327. (Nuno)</li>
  7328. <li>Improved engine stack implementation for better performance and stability.
  7329. (Dmitry)</li>
  7330. <li>Improved memory usage by moving constants to read only memory.
  7331. (Dmitry, Pierre)</li>
  7332. <li>Changed exception handling. Now each op_array doesn't contain
  7333. ZEND_HANDLE_EXCEPTION opcode in the end. (Dmitry)</li>
  7334. <li>Optimized require_once() and include_once() by eliminating fopen(3) on
  7335. second usage. (Dmitry)</li>
  7336. <li>Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single
  7337. ZEND_ADD_INTERFACE opcode. (Dmitry)</li>
  7338. <li>Optimized string searching for a single character.
  7339. (Michal Dziemianko, Scott)</li>
  7340. <li>Optimized interpolated strings to use one less opcode. (Matt)</li>
  7341. </ul>
  7342. </li>
  7343. <li>Improved php.ini handling: (Jani)
  7344. <ul>
  7345. <li>Added ".htaccess" style user-defined php.ini files support for CGI/FastCGI.</li>
  7346. <li>Added support for special [PATH=/opt/httpd/www.example.com/] and
  7347. [HOST=www.example.com] sections. Directives set in these sections can
  7348. not be overridden by user-defined ini-files or during runtime.</li>
  7349. <li>Added better error reporting for php.ini syntax errors.</li>
  7350. <li>Allowed using full path to load modules using "extension" directive.</li>
  7351. <li>Allowed "ini-variables" to be used almost everywhere ini php.ini files.</li>
  7352. <li>Allowed using alphanumeric/variable indexes in "array" ini options.</li>
  7353. <li>Added 3rd optional parameter to parse_ini_file() to specify the scanning
  7354. mode of INI_SCANNER_NORMAL or INI_SCANNER_RAW. In raw mode option values
  7355. and section values are treated as-is.</li>
  7356. <li>Fixed get_cfg_var() to be able to return "array" ini options.</li>
  7357. <li>Added optional parameter to ini_get_all() to only retrieve the current
  7358. value. (Hannes)</li>
  7359. </ul>
  7360. </li>
  7361. <li>Improved Windows support:
  7362. <ul>
  7363. <li>Update all libraries to their latest stable version. (Pierre, Rob, Liz,
  7364. Garrett).</li>
  7365. <li>Added Windows support for stat(), touch(), filemtime(), filesize() and
  7366. related functions. (Pierre)</li>
  7367. <li>Re-added socket_create_pair() for Windows in sockets extension. (Kalle)</li>
  7368. <li>Added inet_pton() and inet_ntop() also for Windows platforms.
  7369. (Kalle, Pierre)</li>
  7370. <li>Added mcrypt_create_iv() for Windows platforms. (Pierre)</li>
  7371. <li>Added ACL Cache support on Windows.
  7372. (Kanwaljeet Singla, Pierre, Venkat Raman Don)</li>
  7373. <li>Added constants based on Windows' GetVersionEx information.
  7374. PHP_WINDOWS_VERSION_* and PHP_WINDOWS_NT_*. (Pierre)</li>
  7375. <li>Added support for ACL (is_writable, is_readable, reports now correct
  7376. results) on Windows. (Pierre, Venkat Raman Don, Kanwaljeet Singla)</li>
  7377. <li>Added support for fnmatch() on Windows. (Pierre)</li>
  7378. <li>Added support for time_nanosleep() and time_sleep_until() on Windows.
  7379. (Pierre)</li>
  7380. <li>Added support for symlink(), readlink(), linkinfo() and link() on Windows.
  7381. They are available only when the running platform supports them. (Pierre)</li>
  7382. <li>the GMP extension now relies on MPIR instead of the GMP library. (Pierre)</li>
  7383. <li>Added Windows support for stream_socket_pair(). (Kalle)</li>
  7384. <li>Drop all external dependencies for the core features. (Pierre)</li>
  7385. <li>Drastically improve the build procedure (Pierre, Kalle, Rob):
  7386. <ul>
  7387. <li>VC9 (Visual C++ 2008) or later support</li>
  7388. <li>Initial experimental x64 support</li>
  7389. </ul>
  7390. </li>
  7391. <li>MSI installer now supports all recent Windows versions, including
  7392. Windows 7. (John, Kanwaljeet Singla)</li>
  7393. </ul>
  7394. </li>
  7395. <li>Improved and cleaned CGI code:
  7396. <ul>
  7397. <li>FastCGI is now always enabled and cannot be disabled.
  7398. See sapi/cgi/CHANGES for more details. (Dmitry)</li>
  7399. <li>Added CGI SAPI -T option which can be used to measure execution
  7400. time of script repeated several times. (Dmitry)</li>
  7401. </ul>
  7402. </li>
  7403. <li>Improved streams:
  7404. <ul>
  7405. <li>Fixed confusing error message on failure when no errors are logged. (Greg)</li>
  7406. <li>Added stream_supports_lock() function. (Benjamin Schulz)</li>
  7407. <li>Added context parameter for copy() function. (Sara)</li>
  7408. <li>Added "glob://" stream wrapper. (Marcus)</li>
  7409. <li>Added "params" as optional parameter for stream_context_create(). (Sara)</li>
  7410. <li>Added ability to use stream wrappers in include_path. (Gregory, Dmitry)</li>
  7411. </ul>
  7412. </li>
  7413. <li>Improved DNS API
  7414. <ul>
  7415. <li>Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and
  7416. getmxrr(). (Pierre)</li>
  7417. <li>Added support for old style DNS functions (supports OSX and FBSD). (Scott)</li>
  7418. <li>Added a new "entries" array in dns_check_record() containing the TXT
  7419. elements. (Felipe, Pierre)</li>
  7420. </ul>
  7421. </li>
  7422. <li>Improved hash extension:
  7423. <ul>
  7424. <li>Changed mhash to be a wrapper layer around the hash extension. (Scott)</li>
  7425. <li>Added hash_copy() function. (Tony)</li>
  7426. <li>Added sha224 hash algorithm to the hash extension. (Scott)</li>
  7427. </ul>
  7428. </li>
  7429. <li>Improved IMAP support (Pierre):
  7430. <ul>
  7431. <li>Added imap_gc() to clear the imap cache</li>
  7432. <li>Added imap_utf8_to_mutf7() and imap_mutf7_to_utf8()</li>
  7433. </ul>
  7434. </li>
  7435. <li>Improved mbstring extension:
  7436. <ul>
  7437. <li>Added "mbstring.http_output_conv_mimetypes" INI directive that allows
  7438. common non-text types such as "application/xhtml+xml" to be converted
  7439. by mb_output_handler(). (Moriyoshi)</li>
  7440. </ul>
  7441. </li>
  7442. <li>Improved OCI8 extension (Chris Jones/Oracle Corp.):
  7443. <ul>
  7444. <li>Added Database Resident Connection Pooling (DRCP) and Fast
  7445. Application Notification (FAN) support.</li>
  7446. <li>Added support for Oracle External Authentication (not supported
  7447. on Windows).</li>
  7448. <li>Improve persistent connection handling of restarted DBs.</li>
  7449. <li>Added SQLT_AFC (aka CHAR datatype) support to oci_bind_by_name.</li>
  7450. <li><?php bugfix(45458); ?> (Numeric keys for associative arrays are not
  7451. handled properly)</li>
  7452. <li><?php bugfix(41069); ?> (Segmentation fault with query over DB link).</li>
  7453. <li>Fixed define of SQLT_BDOUBLE and SQLT_BFLOAT constants with Oracle
  7454. 10g ORACLE_HOME builds.</li>
  7455. <li>Changed default value of oci8.default_prefetch from 10 to 100.</li>
  7456. <li><?php peclbugfix(16035); ?> (OCI8: oci_connect without ORACLE_HOME defined causes
  7457. segfault) (Chris Jones/Oracle Corp.)</li>
  7458. <li><?php peclbugfix(15988); ?> (OCI8: sqlnet.ora isn't read with older Oracle
  7459. libraries) (Chris Jones/Oracle Corp.)</li>
  7460. <li><?php peclbugfix(14268); ?> (Allow "pecl install oci8" command to "autodetect" an
  7461. Instant Client RPM install) (Chris Jones/Oracle Corp.)</li>
  7462. <li><?php peclbugfix(12431); ?> (OCI8 ping functionality is broken).</li>
  7463. <li>Allow building (e.g from PECL) the PHP 5.3-based OCI8 code with
  7464. PHP 4.3.9 onwards.</li>
  7465. <li>Provide separate extensions for Oracle 11g and 10g on Windows.
  7466. (Pierre, Chris)</li>
  7467. </ul>
  7468. </li>
  7469. <li>Improved OpenSSL extension:
  7470. <ul>
  7471. <li>Added support for OpenSSL digest and cipher functions. (Dmitry)</li>
  7472. <li>Added access to internal values of DSA, RSA and DH keys. (Dmitry)</li>
  7473. <li>Fixed a memory leak on openssl_decrypt(). (Henrique)</li>
  7474. <li>Fixed segfault caused by openssl_pkey_new(). (Henrique)</li>
  7475. <li>Fixed bug caused by uninitilized variables in openssl_pkcs7_encrypt() and
  7476. openssl_pkcs7_sign(). (Henrique)</li>
  7477. <li>Fixed error message in openssl_seal(). (Henrique)</li>
  7478. </ul>
  7479. </li>
  7480. <li>Improved pcntl extension: (Arnaud)
  7481. <ul>
  7482. <li>Added pcntl_signal_dispatch().</li>
  7483. <li>Added pcntl_sigprocmask().</li>
  7484. <li>Added pcntl_sigwaitinfo().</li>
  7485. <li>Added pcntl_sigtimedwait().</li>
  7486. </ul>
  7487. </li>
  7488. <li>Improved SOAP extension:
  7489. <ul>
  7490. <li>Added support for element names in context of XMLSchema's &lt;any>. (Dmitry)</li>
  7491. <li>Added ability to use Traversable objects instead of plain arrays.
  7492. (Joshua Reese, Dmitry)</li>
  7493. <li>Fixed possible crash bug caused by an uninitialized value. (Zdash Urf)</li>
  7494. </ul>
  7495. </li>
  7496. <li>Improved SPL extension:
  7497. <ul>
  7498. <li>Added SPL to list of standard extensions that cannot be disabled. (Marcus)</li>
  7499. <li>Added ability to store associative information with objects in
  7500. SplObjectStorage. (Marcus)</li>
  7501. <li>Added ArrayAccess support to SplObjectStorage. (Marcus)</li>
  7502. <li>Added SplDoublyLinkedList, SplStack, SplQueue classes. (Etienne)</li>
  7503. <li>Added FilesystemIterator. (Marcus)</li>
  7504. <li>Added GlobIterator. (Marcus)</li>
  7505. <li>Added SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue classes. (Etienne)</li>
  7506. <li>Added new parameter $prepend to spl_autoload_register(). (Etienne)</li>
  7507. <li>Added SplFixedArray. (Etienne, Tony)</li>
  7508. <li>Added delaying exceptions in SPL's autoload mechanism. (Marcus)</li>
  7509. <li>Added RecursiveTreeIterator. (Arnaud, Marcus)</li>
  7510. <li>Added MultipleIterator. (Arnaud, Marcus, Johannes)</li>
  7511. </ul>
  7512. </li>
  7513. <li>Improved Zend Engine:
  7514. <ul>
  7515. <li>Added "compact" handler for Zend MM storage. (Dmitry)</li>
  7516. <li>Added "+" and "*" specifiers to zend_parse_parameters(). (Andrei)</li>
  7517. <li>Added concept of "delayed early binding" that allows opcode caches to
  7518. perform class declaration (early and/or run-time binding) in exactly
  7519. the same order as vanilla PHP. (Dmitry)</li>
  7520. </ul>
  7521. </li>
  7522. <li>Improved crypt() function: (Pierre)
  7523. <ul>
  7524. <li>Added Blowfish and extended DES support. (Using Blowfish implementation
  7525. from Solar Designer).</li>
  7526. <li>Made crypt features portable by providing our own implementations
  7527. for crypt_r and the algorithms which are used when OS does not provide
  7528. them. PHP implementations are always used for Windows builds.</li>
  7529. </ul>
  7530. </li>
  7531. <li>Deprecated session_register(), session_unregister() and
  7532. session_is_registered(). (Hannes)</li>
  7533. <li>Deprecated define_syslog_variables(). (Kalle)</li>
  7534. <li>Deprecated ereg extension. (Felipe)</li>
  7535. <li>Added new extensions:
  7536. <ul>
  7537. <li>Added Enchant extension as a way to access spell checkers. (Pierre)</li>
  7538. <li>Added fileinfo extension as replacement for mime_magic extension. (Derick)</li>
  7539. <li>Added intl extension for Internationalization. (Ed B., Vladimir I.,
  7540. Dmitry L., Stanislav M., Vadim S., Kirti V.)</li>
  7541. <li>Added mysqlnd extension as replacement for libmysql for ext/mysql, mysqli
  7542. and PDO_mysql. (Andrey, Johannes, Ulf)</li>
  7543. <li>Added phar extension for handling PHP Archives. (Greg, Marcus, Steph)</li>
  7544. <li>Added SQLite3 extension. (Scott)</li>
  7545. </ul>
  7546. </li>
  7547. <li>Added new date/time functionality: (Derick)
  7548. <ul>
  7549. <li>date_parse_from_format(): Parse date/time strings according to a format.</li>
  7550. <li>date_create_from_format()/DateTime::createFromFormat(): Create a date/time
  7551. object by parsing a date/time string according to a given format.</li>
  7552. <li>date_get_last_errors()/DateTime::getLastErrors(): Return a list of warnings
  7553. and errors that were found while parsing a date/time string through:
  7554. <ul>
  7555. <li>strtotime() / new DateTime</li>
  7556. <li>date_create_from_format() / DateTime::createFromFormat()</li>
  7557. <li>date_parse_from_format().</li>
  7558. </ul>
  7559. </li>
  7560. <li>support for abbreviation and offset based timezone specifiers for
  7561. the 'e' format specifier, DateTime::__construct(), DateTime::getTimeZone()
  7562. and DateTimeZone::getName().</li>
  7563. <li>support for selectively listing timezone identifiers by continent or
  7564. country code through timezone_identifiers_list() / DateTimezone::listIdentifiers().</li>
  7565. <li>timezone_location_get() / DateTimezone::getLocation() for retrieving
  7566. location information from timezones.</li>
  7567. <li>date_timestamp_set() / DateTime::setTimestamp() to set a Unix timestamp
  7568. without invoking the date parser. (Scott, Derick)</li>
  7569. <li>date_timestamp_get() / DateTime::getTimestamp() to retrieve the Unix
  7570. timestamp belonging to a date object.</li>
  7571. <li>two optional parameters to timezone_transitions_get() /
  7572. DateTimeZone::getTranstions() to limit the range of transitions being
  7573. returned.</li>
  7574. <li>support for "first/last day of &lt;month&gt;" style texts.</li>
  7575. <li>support for date/time strings returned by MS SQL.</li>
  7576. <li>support for serialization and unserialization of DateTime objects.</li>
  7577. <li>support for diffing date/times through date_diff() / DateTime::diff().</li>
  7578. <li>support for adding/subtracting weekdays with strtotime() and
  7579. DateTime::modify().</li>
  7580. <li>DateInterval class to represent the difference between two date/times.</li>
  7581. <li>support for parsing ISO intervals for use with DateInterval.</li>
  7582. <li>date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
  7583. interval to an existing date/time.</li>
  7584. <li>proper support for "this week", "previous week"/"last week" and "next week"
  7585. phrases so that they actually mean the week and not a seven day period
  7586. around the current day.</li>
  7587. <li>support for "&lt;xth&gt; &lt;weekday&gt; of" and "last &lt;weekday&gt; of" phrases to be used
  7588. with months - like in "last saturday of februari 2008".</li>
  7589. <li>support for "back of &lt;hour&gt;" and "front of &lt;hour&gt;" phrases that are used in
  7590. Scotland.</li>
  7591. <li>DatePeriod class which supports iterating over a DateTime object applying
  7592. DateInterval on each iteration, up to an end date or limited by maximum
  7593. number of occurences.</li>
  7594. </ul>
  7595. </li>
  7596. <li>Added compatibility mode in GD, imagerotate, image(filled)ellipse
  7597. imagefilter, imageconvolution and imagecolormatch are now always enabled.
  7598. (Pierre)</li>
  7599. <li>Added array_replace() and array_replace_recursive() functions. (Matt)</li>
  7600. <li>Added ReflectionProperty::setAccessible() method that allows non-public
  7601. property's values to be read through ::getValue() and set through
  7602. ::setValue(). (Derick, Sebastian)</li>
  7603. <li>Added msg_queue_exists() function to sysvmsg extension. (Benjamin Schulz)</li>
  7604. <li>Added Firebird specific attributes that can be set via PDO::setAttribute()
  7605. to control formatting of date/timestamp columns: PDO::FB_ATTR_DATE_FORMAT,
  7606. PDO::FB_ATTR_TIME_FORMAT and PDO::FB_ATTR_TIMESTAMP_FORMAT. (Lars W)</li>
  7607. <li>Added gmp_testbit() function. (Stas)</li>
  7608. <li>Added icon format support to getimagesize(). (Scott)</li>
  7609. <li>Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow
  7610. setting network timeout (FR <?php bugl(42837); ?>). (Jani)</li>
  7611. <li>Added optional escape character parameter to fgetcsv(). (David Soria Parra)</li>
  7612. <li>Added an optional parameter to strstr() and stristr() for retrieval of either
  7613. the part of haystack before or after first occurrence of needle.
  7614. (Johannes, Felipe)</li>
  7615. <li>Added xsl->setProfiling() for profiling stylesheets. (Christian)</li>
  7616. <li>Added long-option feature to getopt() and made getopt() available also on
  7617. win32 systems by adding a common getopt implementation into core.
  7618. (David Soria Parra, Jani)</li>
  7619. <li>Added support for optional values, and = as separator, in getopt(). (Hannes)</li>
  7620. <li>Added lcfirst() function. (David C)</li>
  7621. <li>Added PREG_BAD_UTF8_OFFSET_ERROR constant. (Nuno)</li>
  7622. <li>Added native support for asinh(), acosh(), atanh(), log1p() and expm1().
  7623. (Kalle)</li>
  7624. <li>Added LIBXML_LOADED_VERSION constant (libxml2 version currently used). (Rob)</li>
  7625. <li>Added JSON_FORCE_OBJECT flag to json_encode(). (Scott, Richard Quadling)</li>
  7626. <li>Added timezone_version_get() to retrieve the version of the used timezone
  7627. database. (Derick)</li>
  7628. <li>Added 'n' flag to fopen to allow passing O_NONBLOCK to the underlying
  7629. open(2) system call. (Mikko)</li>
  7630. <li>Added "dechunk" filter which can decode HTTP responses with chunked
  7631. transfer-encoding. HTTP streams use this filter automatically in case
  7632. "Transfer-Encoding: chunked" header is present in response. It's possible to
  7633. disable this behaviour using "http"=>array("auto_decode"=>0) in stream
  7634. context. (Dmitry)</li>
  7635. <li>Added support for CP850 encoding in mbstring extension.
  7636. (Denis Giffeler, Moriyoshi)</li>
  7637. <li>Added stream_cast() and stream_set_options() to user-space stream wrappers,
  7638. allowing stream_select(), stream_set_blocking(), stream_set_timeout() and
  7639. stream_set_write_buffer() to work with user-space stream wrappers. (Arnaud)</li>
  7640. <li>Added header_remove() function. (chsc at peytz dot dk, Arnaud)</li>
  7641. <li>Added stream_context_get_params() function. (Arnaud)</li>
  7642. <li>Added optional parameter "new" to sybase_connect(). (Timm)</li>
  7643. <li>Added parse_ini_string() function. (grange at lemonde dot fr, Arnaud)</li>
  7644. <li>Added str_getcsv() function. (Sara)</li>
  7645. <li>Added openssl_random_pseudo_bytes() function. (Scott)</li>
  7646. <li>Added ability to send user defined HTTP headers with SOAP request.
  7647. (Brian J.France, Dmitry)</li>
  7648. <li>Added concatenation option to bz2.decompress stream filter.
  7649. (Keisial at gmail dot com, Greg)</li>
  7650. <li>Added support for using compressed connections with PDO_mysql. (Johannes)</li>
  7651. <li>Added the ability for json_decode() to take a user specified depth. (Scott)</li>
  7652. <li>Added support for the mysql_stmt_next_result() function from libmysql.
  7653. (Andrey)</li>
  7654. <li>Added function preg_filter() that does grep and replace in one go. (Marcus)</li>
  7655. <li>Added system independent realpath() implementation which caches intermediate
  7656. directories in realpath-cache. (Dmitry)</li>
  7657. <li>Added optional clear_realpath_cache and filename parameters to
  7658. clearstatcache(). (Jani, Arnaud)</li>
  7659. <li>Added litespeed SAPI module. (George Wang)</li>
  7660. <li>Added ext/hash support to ext/session's ID generator. (Sara)</li>
  7661. <li>Added quoted_printable_encode() function. (Tony)</li>
  7662. <li>Added stream_context_set_default() function. (Davey Shafik)</li>
  7663. <li>Added optional "is_xhtml" parameter to nl2br() which makes the function
  7664. output &lt;br&gt; when false and &lt;br /&gt; when true (FR <?php bugl(34381); ?>). (Kalle)</li>
  7665. <li>Added PHP_MAXPATHLEN constant (maximum length of a path). (Pierre)</li>
  7666. <li>Added support for SSH via libssh2 in cURL. (Pierre)</li>
  7667. <li>Added support for gray levels PNG image with alpha in GD extension. (Pierre)</li>
  7668. <li>Added support for salsa hashing functions in HASH extension. (Scott)</li>
  7669. <li>Added DOMNode::getLineNo to get line number of parsed node. (Rob)</li>
  7670. <li>Added table info to PDO::getColumnMeta() with SQLite. (Martin Jansen, Scott)</li>
  7671. <li>Added mail logging functionality that allows logging of mail sent via
  7672. mail() function. (Ilia)</li>
  7673. <li>Added json_last_error() to return any error information from json_decode().
  7674. (Scott)</li>
  7675. <li>Added gethostname() to return the current system host name. (Ilia)</li>
  7676. <li>Added shm_has_var() function. (Mike)</li>
  7677. <li>Added depth parameter to json_decode() to lower the nesting depth from the
  7678. maximum if required. (Scott)</li>
  7679. <li>Added pixelation support in imagefilter(). (Takeshi Abe, Kalle)</li>
  7680. <li>Added SplObjectStorage::addAll/removeAll. (Etienne)</li>
  7681. <li>Implemented FR <?php bugl(41712); ?> (curl progress callback: CURLOPT_PROGRESSFUNCTION).
  7682. (sdteffen[at]gmail[dot].com, Pierre)</li>
  7683. <li>Implemented FR <?php bugl(47739); ?> (Missing cURL option do disable IPv6). (Pierre)</li>
  7684. <li>Implemented FR <?php bugl(39637); ?> (Missing cURL option CURLOPT_FTP_FILEMETHOD). (Pierre)</li>
  7685. <li>Fixed an issue with ReflectionProperty::setAccessible().
  7686. (Sebastian, Roman Borschel)</li>
  7687. <li>Fixed html_entity_decode() incorrectly converting numeric html entities
  7688. to different characters with cp1251 and cp866. (Scott)</li>
  7689. <li>Fixed an issue in date() where a : was printed for the O modifier after a P
  7690. modifier was used. (Derick)</li>
  7691. <li>Fixed exec() on Windows to not eat the first and last double quotes. (Scott)</li>
  7692. <li>Fixed readlink on Windows in thread safe SAPI (apache2.x etc.). (Pierre)</li>
  7693. <li>Fixed a bug causing miscalculations with the "last &lt;weekday&gt; of &lt;n&gt; month"
  7694. relative time string. (Derick)</li>
  7695. <li>Fixed bug causing the algorithm parameter of mhash() to be modified. (Scott)</li>
  7696. <li>Fixed invalid calls to free when internal fileinfo magic file is used. (Scott)</li>
  7697. <li>Fixed memory leak inside wddx_add_vars() function. (Felipe)</li>
  7698. <li>Fixed check in recode extension to allow builing of recode and mysql
  7699. extensions when using a recent libmysql. (Johannes)</li>
  7700. <li><?php peclbugfix(12794); ?> (PDOStatement->nextRowset() doesn't work). (Johannes)</li>
  7701. <li><?php peclbugfix(12401); ?> (Add support for ATTR_FETCH_TABLE_NAMES). (Johannes)</li>
  7702. <li><?php bugfix(48696); ?> (ldap_read() segfaults with invalid parameters). (Felipe)</li>
  7703. <li><?php bugfix(48643); ?> (String functions memory issue). (Dmitry)</li>
  7704. <li><?php bugfix(48641); ?> (tmpfile() uses old parameter parsing).
  7705. (crrodriguez at opensuse dot org)</li>
  7706. <li><?php bugfix(48624); ?> (.user.ini never gets parsed). (Pierre)</li>
  7707. <li><?php bugfix(48620); ?> (X-PHP-Originating-Script assumes no trailing CRLF in
  7708. existing headers). (Ilia)</li>
  7709. <li><?php bugfix(48578); ?> (Can't build 5.3 on FBSD 4.11). (Rasmus)</li>
  7710. <li><?php bugfix(48535); ?> (file_exists returns false when impersonate is used).
  7711. (Kanwaljeet Singla, Venkat Raman Don)</li>
  7712. <li><?php bugfix(48493); ?> (spl_autoload_register() doesn't work correctly when
  7713. prepending functions). (Scott)</li>
  7714. <li><?php bugfix(48215); ?> (Calling a method with the same name as the parent class
  7715. calls the constructor). (Scott)</li>
  7716. <li><?php bugfix(48200); ?> (compile failure with mbstring.c when
  7717. --enable-zend-multibyte is used). (Jani)</li>
  7718. <li><?php bugfix(48188); ?> (Cannot execute a scrollable cursors twice with PDO_PGSQL).
  7719. (Matteo)</li>
  7720. <li><?php bugfix(48185); ?> (warning: value computed is not used in
  7721. pdo_sqlite_stmt_get_col line 271). (Matteo)</li>
  7722. <li><?php bugfix(48087); ?> (call_user_method() invalid free of arguments). (Felipe)</li>
  7723. <li><?php bugfix(48060); ?> (pdo_pgsql - large objects are returned as empty). (Matteo)</li>
  7724. <li><?php bugfix(48034); ?> (PHP crashes when script is 8192 (8KB) bytes long). (Dmitry)</li>
  7725. <li><?php bugfix(48004); ?> (Error handler prevents creation of default object). (Dmitry)</li>
  7726. <li><?php bugfix(47880); ?> (crashes in call_user_func_array()). (Dmitry)</li>
  7727. <li><?php bugfix(47856); ?> (stristr() converts needle to lower-case). (Ilia)</li>
  7728. <li><?php bugfix(47851); ?> (is_callable throws fatal error). (Dmitry)</li>
  7729. <li><?php bugfix(47816); ?> (pcntl tests failing on NetBSD). (Matteo)</li>
  7730. <li><?php bugfix(47779); ?> (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants).
  7731. (Matteo)</li>
  7732. <li><?php bugfix(47771); ?> (Exception during object construction from arg call calls
  7733. object's destructor). (Dmitry)</li>
  7734. <li><?php bugfix(47767); ?> (include_once does not resolve windows symlinks or junctions)
  7735. (Kanwaljeet Singla, Venkat Raman Don)</li>
  7736. <li><?php bugfix(47757); ?> (rename JPG to JPEG in phpinfo). (Pierre)</li>
  7737. <li><?php bugfix(47745); ?> (FILTER_VALIDATE_INT doesn't allow minimum integer). (Dmitry)</li>
  7738. <li><?php bugfix(47714); ?> (autoloading classes inside exception_handler leads to
  7739. crashes). (Dmitry)</li>
  7740. <li><?php bugfix(47671); ?> (Cloning SplObjectStorage instances). (Etienne)</li>
  7741. <li><?php bugfix(47664); ?> (get_class returns NULL instead of FALSE). (Dmitry)</li>
  7742. <li><?php bugfix(47662); ?> (Support more than 127 subpatterns in preg_match). (Nuno)</li>
  7743. <li><?php bugfix(47596); ?> (Bus error on parsing file). (Dmitry)</li>
  7744. <li><?php bugfix(47572); ?> (Undefined constant causes segmentation fault). (Felipe)</li>
  7745. <li><?php bugfix(47560); ?> (explode()'s limit parameter odd behaviour). (Matt)</li>
  7746. <li><?php bugfix(47549); ?> (get_defined_constants() return array with broken array
  7747. categories). (Ilia)</li>
  7748. <li><?php bugfix(47535); ?> (Compilation failure in ps_fetch_from_1_to_8_bytes()).
  7749. (Johannes)</li>
  7750. <li><?php bugfix(47534); ?> (RecursiveDiteratoryIterator::getChildren ignoring
  7751. CURRENT_AS_PATHNAME). (Etienne)</li>
  7752. <li><?php bugfix(47443); ?> (metaphone('scratch') returns wrong result). (Felipe)</li>
  7753. <li><?php bugfix(47438); ?> (mysql_fetch_field ignores zero offset). (Johannes)</li>
  7754. <li><?php bugfix(47398); ?> (PDO_Firebird doesn't implements quoter correctly). (Felipe)</li>
  7755. <li><?php bugfix(47390); ?> (odbc_fetch_into - BC in php 5.3.0). (Felipe)</li>
  7756. <li><?php bugfix(47359); ?> (Use the expected unofficial mimetype for bmp files). (Scott)</li>
  7757. <li><?php bugfix(47343); ?> (gc_collect_cycles causes a segfault when called within a
  7758. destructor in one case). (Dmitry)</li>
  7759. <li><?php bugfix(47320); ?> ($php_errormsg out of scope in functions). (Dmitry)</li>
  7760. <li><?php bugfix(47318); ?> (UMR when trying to activate user config). (Pierre)</li>
  7761. <li><?php bugfix(47243); ?> (OCI8: Crash at shutdown on Windows) (Chris Jones/Oracle
  7762. Corp.)</li>
  7763. <li><?php bugfix(47231); ?> (offsetGet error using incorrect offset). (Etienne)</li>
  7764. <li><?php bugfix(47229); ?> (preg_quote() should escape the '-' char). (Nuno)</li>
  7765. <li><?php bugfix(47165); ?> (Possible memory corruption when passing return value by
  7766. reference). (Dmitry)</li>
  7767. <li><?php bugfix(47087); ?> (Second parameter of mssql_fetch_array()). (Felipe)</li>
  7768. <li><?php bugfix(47085); ?> (rename() returns true even if the file in PHAR does not
  7769. exist). (Greg)</li>
  7770. <li><?php bugfix(47050); ?> (mysqli_poll() modifies improper variables). (Johannes)</li>
  7771. <li><?php bugfix(47045); ?> (SplObjectStorage instances compared with ==). (Etienne)</li>
  7772. <li><?php bugfix(47038); ?> (Memory leak in include). (Dmitry)</li>
  7773. <li><?php bugfix(47031); ?> (Fix constants in DualIterator example). (Etienne)</li>
  7774. <li><?php bugfix(47021); ?> (SoapClient stumbles over WSDL delivered with
  7775. "Transfer-Encoding: chunked"). (Dmitry)</li>
  7776. <li><?php bugfix(46994); ?> (OCI8: CLOB size does not update when using CLOB IN OUT param
  7777. in stored procedure) (Chris Jones/Oracle Corp.)</li>
  7778. <li><?php bugfix(46979); ?> (use with non-compound name *has* effect). (Dmitry)</li>
  7779. <li><?php bugfix(46957); ?> (The tokenizer returns deprecated values). (Felipe)</li>
  7780. <li><?php bugfix(46944); ?> (UTF-8 characters outside the BMP aren't encoded correctly).
  7781. (Scott)</li>
  7782. <li><?php bugfix(46897); ?> (ob_flush() should fail to flush unerasable buffers).
  7783. (David C.)</li>
  7784. <li><?php bugfix(46849); ?> (Cloning DOMDocument doesn't clone the properties). (Rob)</li>
  7785. <li><?php bugfix(46847); ?> (phpinfo() is missing some settings). (Hannes)</li>
  7786. <li><?php bugfix(46844); ?> (php scripts or included files with first line starting
  7787. with # have the 1st line missed from the output). (Ilia)</li>
  7788. <li><?php bugfix(46817); ?> (tokenizer misses last single-line comment (PHP 5.3+, with
  7789. re2c lexer)). (Matt, Shire)</li>
  7790. <li><?php bugfix(46811); ?> (ini_set() doesn't return false on failure). (Hannes)</li>
  7791. <li><?php bugfix(46763); ?> (mb_stristr() wrong output when needle does not exist).
  7792. (Henrique M. Decaria)</li>
  7793. <li><?php bugfix(46755); ?> (warning: use statement with non-compound name). (Dmitry)</li>
  7794. <li><?php bugfix(46746); ?> (xmlrpc_decode_request outputs non-suppressable error when
  7795. given bad data). (Ilia)</li>
  7796. <li><?php bugfix(46738); ?> (Segfault when mb_detect_encoding() fails). (Scott)</li>
  7797. <li><?php bugfix(46731); ?> (Missing validation for the options parameter of the
  7798. imap_fetch_overview() function). (Ilia)</li>
  7799. <li><?php bugfix(46711); ?> (cURL curl_setopt leaks memory in foreach loops). (magicaltux
  7800. [at] php [dot] net)</li>
  7801. <li><?php bugfix(46701); ?> (Creating associative array with long values in the key fails
  7802. on 32bit linux). (Shire)</li>
  7803. <li><?php bugfix(46681); ?> (mkdir() fails silently on PHP 5.3). (Hannes)</li>
  7804. <li><?php bugfix(46653); ?> (can't extend mysqli). (Johannes)</li>
  7805. <li><?php bugfix(46646); ?> (Restrict serialization on some internal classes like Closure
  7806. and SplFileInfo using exceptions). (Etienne)</li>
  7807. <li><?php bugfix(46623); ?> (OCI8: phpinfo doesn't show compile time ORACLE_HOME with
  7808. phpize) (Chris Jones/Oracle Corp.)</li>
  7809. <li><?php bugfix(46578); ?> (strip_tags() does not honor end-of-comment when it
  7810. encounters a single quote). (Felipe)</li>
  7811. <li><?php bugfix(46546); ?> (Segmentation fault when using declare statement with
  7812. non-string value). (Felipe)</li>
  7813. <li><?php bugfix(46542); ?> (Extending PDO class with a __call() function doesn't work as
  7814. expected). (Johannes)</li>
  7815. <li><?php bugfix(46421); ?> (SplFileInfo not correctly handling /). (Etienne)</li>
  7816. <li><?php bugfix(46347); ?> (parse_ini_file() doesn't support * in keys). (Nuno)</li>
  7817. <li><?php bugfix(46268); ?> (DateTime::modify() does not reset relative time values).
  7818. (Derick)</li>
  7819. <li><?php bugfix(46241); ?> (stacked error handlers, internal error handling in general).
  7820. (Etienne)</li>
  7821. <li><?php bugfix(46238); ?> (Segmentation fault on static call with empty string method).
  7822. (Felipe)</li>
  7823. <li><?php bugfix(46192); ?> (ArrayObject with objects as storage serialization).
  7824. (Etienne)</li>
  7825. <li><?php bugfix(46185); ?> (importNode changes the namespace of an XML element). (Rob)</li>
  7826. <li><?php bugfix(46178); ?> (memory leak in ext/phar). (Greg)</li>
  7827. <li><?php bugfix(46160); ?> (SPL - Memory leak when exception is thrown in offsetSet).
  7828. (Felipe)</li>
  7829. <li><?php bugfix(46147); ?> (after stream seek, appending stream filter reads incorrect
  7830. data). (Greg)</li>
  7831. <li><?php bugfix(46127); ?> (php_openssl_tcp_sockop_accept forgets to set context on
  7832. accepted stream) (Mark Karpeles, Pierre)</li>
  7833. <li><?php bugfix(46115); ?> (Memory leak when calling a method using Reflection).
  7834. (Dmitry)</li>
  7835. <li><?php bugfix(46110); ?> (XMLWriter - openmemory() and openuri() leak memory on
  7836. multiple calls). (Ilia)</li>
  7837. <li><?php bugfix(46108); ?> (DateTime - Memory leak when unserializing). (Felipe)</li>
  7838. <li><?php bugfix(46106); ?> (Memory leaks when using global statement). (Dmitry)</li>
  7839. <li><?php bugfix(46099); ?> (Xsltprocessor::setProfiling - memory leak). (Felipe, Rob).</li>
  7840. <li><?php bugfix(46087); ?> (DOMXPath - segfault on destruction of a cloned object).
  7841. (Ilia)</li>
  7842. <li><?php bugfix(46048); ?> (SimpleXML top-level @attributes not part of iterator).
  7843. (David C.)</li>
  7844. <li><?php bugfix(46044); ?> (Mysqli - wrong error message). (Johannes)</li>
  7845. <li><?php bugfix(46042); ?> (memory leaks with reflection of mb_convert_encoding()).
  7846. (Ilia)</li>
  7847. <li><?php bugfix(46039); ?> (ArrayObject iteration is slow). (Arnaud)</li>
  7848. <li><?php bugfix(46033); ?> (Direct instantiation of SQLite3stmt and SQLite3result cause
  7849. a segfault.) (Scott)</li>
  7850. <li><?php bugfix(45991); ?> (Ini files with the UTF-8 BOM are treated as invalid).
  7851. (Scott)</li>
  7852. <li><?php bugfix(45989); ?> (json_decode() doesn't return NULL on certain invalid
  7853. strings). (magicaltux, Scott)</li>
  7854. <li><?php bugfix(45976); ?> (Moved SXE from SPL to SimpleXML). (Etienne)</li>
  7855. <li><?php bugfix(45928); ?> (large scripts from stdin are stripped at 16K border).
  7856. (Christian Schneider, Arnaud)</li>
  7857. <li><?php bugfix(45911); ?> (Cannot disable ext/hash). (Arnaud)</li>
  7858. <li><?php bugfix(45907); ?> (undefined reference to 'PHP_SHA512Init'). (Greg)</li>
  7859. <li><?php bugfix(45826); ?> (custom ArrayObject serialization). (Etienne)</li>
  7860. <li><?php bugfix(45820); ?> (Allow empty keys in ArrayObject). (Etienne)</li>
  7861. <li><?php bugfix(45791); ?> (json_decode() doesn't convert 0e0 to a double). (Scott)</li>
  7862. <li><?php bugfix(45786); ?> (FastCGI process exited unexpectedly). (Dmitry)</li>
  7863. <li><?php bugfix(45757); ?> (FreeBSD4.11 build failure: failed include; stdint.h).
  7864. (Hannes)</li>
  7865. <li><?php bugfix(45743); ?> (property_exists fails to find static protected member in
  7866. child class). (Felipe)</li>
  7867. <li><?php bugfix(45717); ?> (Fileinfo/libmagic build fails, missing err.h and getopt.h).
  7868. (Derick)</li>
  7869. <li><?php bugfix(45706); ?> (Unserialization of classes derived from ArrayIterator
  7870. fails). (Etienne, Dmitry)</li>
  7871. <li><?php bugfix(45696); ?> (Not all DateTime methods allow method chaining). (Derick)</li>
  7872. <li><?php bugfix(45682); ?> (Unable to var_dump(DateInterval)). (Derick)</li>
  7873. <li><?php bugfix(45447); ?> (Filesystem time functions on Vista and server 2008).
  7874. (Pierre)</li>
  7875. <li><?php bugfix(45432); ?> (PDO: persistent connection leak). (Felipe)</li>
  7876. <li><?php bugfix(45392); ?> (ob_start()/ob_end_clean() and memory_limit). (Ilia)</li>
  7877. <li><?php bugfix(45384); ?> (parse_ini_file will result in parse error with no trailing
  7878. newline). (Arnaud)</li>
  7879. <li><?php bugfix(45382); ?> (timeout bug in stream_socket_enable_crypto). (vnegrier at
  7880. optilian dot com, Ilia)</li>
  7881. <li><?php bugfix(45044); ?> (relative paths not resolved correctly). (Dmitry)</li>
  7882. <li><?php bugfix(44861); ?> (scrollable cursor don't work with pgsql). (Matteo)</li>
  7883. <li><?php bugfix(44842); ?> (parse_ini_file keys that start/end with underscore).
  7884. (Arnaud)</li>
  7885. <li><?php bugfix(44575); ?> (parse_ini_file comment # line problems). (Arnaud)</li>
  7886. <li><?php bugfix(44409); ?> (PDO::FETCH_SERIALIZE calls __construct()). (Matteo)</li>
  7887. <li><?php bugfix(44173); ?> (PDO->query() parameter parsing/checking needs an update).
  7888. (Matteo)</li>
  7889. <li><?php bugfix(44154); ?> (pdo->errorInfo() always have three elements in the returned
  7890. array). (David C.)</li>
  7891. <li><?php bugfix(44153); ?> (pdo->errorCode() returns NULL when there are no errors).
  7892. (David C.)</li>
  7893. <li><?php bugfix(44135); ?> (PDO MySQL does not support CLIENT_FOUND_ROWS). (Johannes,
  7894. chx1975 at gmail dot com)</li>
  7895. <li><?php bugfix(44100); ?> (Inconsistent handling of static array declarations with
  7896. duplicate keys). (Dmitry)</li>
  7897. <li><?php bugfix(43831); ?> ($this gets mangled when extending PDO with persistent
  7898. connection). (Felipe)</li>
  7899. <li><?php bugfix(43817); ?> (opendir() fails on Windows directories with parent directory
  7900. unaccessible). (Dmitry)</li>
  7901. <li><?php bugfix(43069); ?> (SoapClient causes 505 HTTP Version not supported error
  7902. message). (Dmitry)</li>
  7903. <li><?php bugfix(43008); ?> (php://filter uris ignore url encoded filternames and can't
  7904. handle slashes). (Arnaud)</li>
  7905. <li><?php bugfix(42362); ?> (HTTP status codes 204 and 304 should not be gzipped).
  7906. (Scott, Edward Z. Yang)</li>
  7907. <li><?php bugfix(41874); ?> (separate STDOUT and STDERR in exec functions). (Kanwaljeet
  7908. Singla, Venkat Raman Don, Pierre)</li>
  7909. <li><?php bugfix(41534); ?> (SoapClient over HTTPS fails to reestablish connection).
  7910. (Dmitry)</li>
  7911. <li><?php bugfix(38802); ?> (max_redirects and ignore_errors). (patch by
  7912. datibbaw@php.net)</li>
  7913. <li><?php bugfix(35980); ?> (touch() works on files but not on directories). (Pierre)</li>
  7914. </ul>
  7915. <!-- }}} --></section>
  7916. <section class="version" id="5.2.12"><!-- {{{ 5.2.12 -->
  7917. <h3>Version 5.2.12</h3>
  7918. <?php release_date('17-Dec-2009'); ?>
  7919. <ul>
  7920. <li>Security Fixes
  7921. <ul>
  7922. <li>Fixed a safe_mode bypass in tempnam() identified by Grzegorz Stachowiak. (Rasmus)</li>
  7923. <li>Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz Stachowiak. (Rasmus)</li>
  7924. <li>Added "max_file_uploads" INI directive, which can be set to limit the number of file uploads per-request to 20 by default, to prevent possible DOS via temporary file exhaustion. (Ilia)</li>
  7925. <li>Added protection for $_SESSION from interrupt corruption and improved "session.save_path" check, identified by Stefan Esser. (Stas)</li>
  7926. <li><?php bugfix(49785); ?> (insufficient input string validation of htmlspecialchars()). (Moriyoshi, hello at iwamot dot com)</li>
  7927. </ul>
  7928. </li>
  7929. <li>Updated timezone database to version 2009.19 (2009s). (Derick)</li>
  7930. <li>Added LIBXML_PARSEHUGE constant to overrides the maximum text size of a single text node when using libxml2.7.3+. (Kalle)</li>
  7931. <li>Changed "post_max_size" php.ini directive to allow unlimited post size by setting it to 0. (Rasmus)</li>
  7932. <li>Fixed error_log() to be binary safe when using message_type 3. (Jani)</li>
  7933. <li>Fixed unnecessary invocation of setitimer when timeouts have been disabled. (Arvind Srinivasan)</li>
  7934. <li>Fixed crash in com_print_typeinfo when an invalid typelib is given. (Pierre)</li>
  7935. <li>Fixed crash in SQLiteDatabase::ArrayQuery() and SQLiteDatabase::SingleQuery() when calling using Reflection. (Felipe)</li>
  7936. <li>Fixed crash when instantiating PDORow and PDOStatement through Reflection. (Felipe)</li>
  7937. <li>Fixed memory leak in openssl_pkcs12_export_to_file(). (Felipe)</li>
  7938. <li><?php bugfix(50445); ?> (PDO-ODBC stored procedure call from Solaris 64-bit causes seg fault). (davbrown4 at yahoo dot com, Felipe)</li>
  7939. <li><?php bugfix(50345); ?> (nanosleep not detected properly on some solaris versions). (Jani)</li>
  7940. <li><?php bugfix(50323); ?> (Allow use of ; in values via ;; in PDO DSN). (Ilia, Pierrick)</li>
  7941. <li><?php bugfix(50285); ?> (xmlrpc does not preserve keys in encoded indexed arrays). (Felipe)</li>
  7942. <li><?php bugfix(50282); ?> (xmlrpc_encode_request() changes object into array in calling function). (Felipe)</li>
  7943. <li><?php bugfix(50266); ?> (conflicting types for llabs). (Jani)</li>
  7944. <li><?php bugfix(50255); ?> (isset() and empty() silently casts array to object). (Felipe)</li>
  7945. <li><?php bugfix(50219); ?> (soap call Segmentation fault on a redirected url). (Pierrick)</li>
  7946. <li><?php bugfix(50209); ?> (Compiling with libedit cannot find readline.h). (tcallawa at redhat dot com)</li>
  7947. <li><?php bugfix(50207); ?> (segmentation fault when concatenating very large strings on 64bit linux). (Ilia)</li>
  7948. <li><?php bugfix(50195); ?> (pg_copy_to() fails when table name contains schema. (Ilia)</li>
  7949. <li><?php bugfix(50185); ?> (ldap_get_entries() return false instead of an empty array when there is no error). (Jani)</li>
  7950. <li><?php bugfix(50174); ?> (Incorrectly matched docComment). (Felipe)</li>
  7951. <li><?php bugfix(50168); ?> (FastCGI fails with wrong error on HEAD request to non-existent file). (Dmitry)</li>
  7952. <li><?php bugfix(50162); ?> (Memory leak when fetching timestamp column from Oracle database). (Felipe)</li>
  7953. <li><?php bugfix(50158); ?> (FILTER_VALIDATE_EMAIL fails with valid addresses containing = or ?). (Pierrick)</li>
  7954. <li><?php bugfix(50073); ?> (parse_url() incorrect when ? in fragment). (Ilia)</li>
  7955. <li><?php bugfix(50006); ?> (Segfault caused by uksort()). (Felipe)</li>
  7956. <li><?php bugfix(50005); ?> (Throwing through Reflection modified Exception object makes segmentation fault). (Felipe)</li>
  7957. <li><?php bugfix(49990); ?> (SNMP3 warning message about security level printed twice). (Jani)</li>
  7958. <li><?php bugfix(49985); ?> (pdo_pgsql prepare() re-use previous aborted transaction). (ben dot pineau at gmail dot com, Ilia, Matteo)</li>
  7959. <li><?php bugfix(49972); ?> (AppendIterator undefined function crash). (Johannes)</li>
  7960. <li><?php bugfix(49921); ?> (Curl post upload functions changed). (Ilia)</li>
  7961. <li><?php bugfix(49855); ?> (import_request_variables() always returns NULL). (Ilia, sjoerd at php dot net)</li>
  7962. <li><?php bugfix(49847); ?> (exec() fails to return data inside 2nd parameter, given output lines &gt;4095 bytes). (Ilia)</li>
  7963. <li><?php bugfix(49809); ?> (time_sleep_until() is not available on OpenSolaris). (Jani)</li>
  7964. <li><?php bugfix(49757); ?> (long2ip() can return wrong value in a multi-threaded applications). (Ilia, Florian Anderiasch)</li>
  7965. <li><?php bugfix(49738); ?> (calling mcrypt() after mcrypt_generic_deinit() crashes). (Sriram Natarajan)</li>
  7966. <li><?php bugfix(49719); ?> (ReflectionClass::hasProperty returns true for a private property in base class). (Felipe)</li>
  7967. <li><?php bugfix(49698); ?> (Unexpected change in strnatcasecmp()). (Rasmus)</li>
  7968. <li><?php bugfix(49677); ?> (ini parser crashes with apache2 and using ${something} ini variables). (Jani)</li>
  7969. <li><?php bugfix(49660); ?> (libxml 2.7.3+ limits text nodes to 10MB). (Felipe)</li>
  7970. <li><?php bugfix(49647); ?> (DOMUserData does not exist). (Rob)</li>
  7971. <li><?php bugfix(49630); ?> (imap_listscan() function missing). (Felipe)</li>
  7972. <li><?php bugfix(49627); ?> (error_log to specified file does not log time according to date.timezone). (Dmitry)</li>
  7973. <li><?php bugfix(49578); ?> (make install-pear fails). (Hannes)</li>
  7974. <li><?php bugfix(49536); ?> (mb_detect_encoding() returns incorrect results when mbstring.strict_mode is turned on). (Moriyoshi)</li>
  7975. <li><?php bugfix(49531); ?> (CURLOPT_INFILESIZE sometimes causes warning "CURLPROTO_FILE cannot be set"). (Felipe)</li>
  7976. <li><?php bugfix(49528); ?> (UTF-16 strings prefixed by BOMs wrongly converted). (Moriyoshi)</li>
  7977. <li><?php bugfix(49521); ?> (PDO fetchObject sets values before calling constructor). (Pierrick)</li>
  7978. <li><?php bugfix(49517); ?> (cURL's CURLOPT_FILE prevents file from being deleted after fclose()). (Ilia)</li>
  7979. <li><?php bugfix(49472); ?> (Constants defined in Interfaces can be overridden). (Felipe)</li>
  7980. <li><?php bugfix(49354); ?> (mb_strcut() cuts wrong length when offset is in the middle of a multibyte character). (Moriyoshi)</li>
  7981. <li><?php bugfix(49332); ?> (Build error with Snow Leopard). (Scott)</li>
  7982. <li><?php bugfix(49244); ?> (Floating point NaN cause garbage characters). (Sjoerd)</li>
  7983. <li><?php bugfix(49174); ?> (crash when extending PDOStatement and trying to set queryString property). (Felipe)</li>
  7984. <li><?php bugfix(49098); ?> (mysqli segfault on error). (Rasmus)</li>
  7985. <li><?php bugfix(48805); ?> (IPv6 socket transport is not working). (Ilia)</li>
  7986. <li><?php bugfix(48764); ?> (PDO_pgsql::query() always uses implicit prepared statements if v3 proto available). (Matteo, Mark Kirkwood)</li>
  7987. <li><?php bugfix(47848); ?> (importNode doesn't preserve attribute namespaces). (Rob)</li>
  7988. <li><?php bugfix(45120); ?> (PDOStatement-&gt;execute() returns true then false for same statement). (Pierrick)</li>
  7989. <li><?php bugfix(34852); ?> (Failure in odbc_exec() using oracle-supplied odbc driver). (tim dot tassonis at trivadis dot com)</li>
  7990. </ul>
  7991. <!-- }}} --></section>
  7992. <section class="version" id="5.2.11"><!-- {{{ 5.2.11 -->
  7993. <h3>Version 5.2.11</h3>
  7994. <?php release_date('16-Sep-2009'); ?>
  7995. <ul>
  7996. <li>Security Fixes
  7997. <ul>
  7998. <li>Fixed certificate validation inside php_openssl_apply_verification_policy. (Ryan Sleevi, Ilia)</li>
  7999. <li>Added missing sanity checks around exif processing. (Ilia)</li>
  8000. <li>Fixed sanity check for the color index in imagecolortransparent. (Pierre)</li>
  8001. <li><?php bugfix(44683); ?> (popen crashes when an invalid mode is passed). (Pierre)</li>
  8002. </ul>
  8003. </li>
  8004. <li>Updated timezone database to version 2009.13 (2009m) (Derick)</li>
  8005. <li>Fixed zlib.deflate compress filter to actually accept level parameter. (Jani)</li>
  8006. <li>Fixed leak on error in popen/exec (and related functions) on Windows. (Pierre)</li>
  8007. <li>Fixed regression in cURL extension that prevented flush of data to output defined as a file handle. (Ilia)</li>
  8008. <li>Fixed memory leak in stream_is_local(). (Felipe, Tony)</li>
  8009. <li><?php bugfix(49470); ?> (FILTER_SANITIZE_EMAIL allows disallowed characters). (Ilia)</li>
  8010. <li><?php bugfix(49447); ?> (php engine needs to correctly check for socket API return status on windows). (Sriram Natarajan)</li>
  8011. <li><?php bugfix(49372); ?> (segfault in php_curl_option_curl). (Pierre)</li>
  8012. <li><?php bugfix(49361); ?> (wordwrap() wraps incorrectly on end of line boundaries). (Ilia, code-it at mail dot ru)</li>
  8013. <li><?php bugfix(49289); ?> (bcmath module doesn't compile with phpize configure). (Jani)</li>
  8014. <li><?php bugfix(49286); ?> (php://input (php_stream_input_read) is broken). (Jani)</li>
  8015. <li><?php bugfix(49269); ?> (Ternary operator fails on Iterator object when used inside foreach declaration). (Etienne, Dmitry)</li>
  8016. <li><?php bugfix(49236); ?> (Missing PHP_SUBST(PDO_MYSQL_SHARED_LIBADD)). (Jani)</li>
  8017. <li><?php bugfix(49144); ?> (Import of schema from different host transmits original authentication details). (Dmitry)</li>
  8018. <li><?php bugfix(49132); ?> (posix_times returns false without error). (phpbugs at gunnu dot us)</li>
  8019. <li><?php bugfix(49125); ?> (Error in dba_exists C code). (jdornan at stanford dot edu)</li>
  8020. <li><?php bugfix(49095); ?> (proc_get_status['exitcode'] fails on win32). (Felipe)</li>
  8021. <li><?php bugfix(49074); ?> (private class static fields can be modified by using reflection). (Jani)</li>
  8022. <li><?php bugfix(49072); ?> (feof never returns true for damaged file in zip). (Pierre)</li>
  8023. <li><?php bugfix(49052); ?> (context option headers freed too early when using --with-curlwrappers). (Jani)</li>
  8024. <li><?php bugfix(49032); ?> (SplFileObject::fscanf() variables passed by reference). (Jani)</li>
  8025. <li><?php bugfix(49026); ?> (proc_open() can bypass safe_mode_protected_env_vars restrictions). (Ilia)</li>
  8026. <li><?php bugfix(49000); ?> (PHP CLI in Interactive mode (php -a) crashes when including files from function). (Stas)</li>
  8027. <li><?php bugfix(48994); ?> (zlib.output_compression does not output HTTP headers when set to a string value). (Jani)</li>
  8028. <li><?php bugfix(48980); ?> (Crash when compiling with pdo_firebird). (Felipe)</li>
  8029. <li><?php bugfix(48962); ?> (cURL does not upload files with specified filename). (Ilia)</li>
  8030. <li><?php bugfix(48929); ?> (Double \r\n after HTTP headers when &quot;header&quot; context option is an array). (David Zülke)</li>
  8031. <li><?php bugfix(48913); ?> (Too long error code strings in pdo_odbc driver). (naf at altlinux dot ru, Felipe)</li>
  8032. <li><?php bugfix(48802); ?> (printf() returns incorrect outputted length). (Jani)</li>
  8033. <li><?php bugfix(48801); ?> (Problem with imagettfbbox). (Takeshi Abe)</li>
  8034. <li><?php bugfix(48788); ?> (RecursiveDirectoryIterator doesn't descend into symlinked directories). (Ilia)</li>
  8035. <li><?php bugfix(48774); ?> (SIGSEGVs when using curl_copy_handle()). (Sriram Natarajan)</li>
  8036. <li><?php bugfix(48763); ?> (ZipArchive produces corrupt archive). (dani dot church at gmail dot com, Pierre)</li>
  8037. <li><?php bugfix(48762); ?> (IPv6 address filter still rejects valid address). (Felipe)</li>
  8038. <li><?php bugfix(48733); ?> (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on files that have been opened with r+). (Ilia)</li>
  8039. <li><?php bugfix(48732); ?> (TTF Bounding box wrong for letters below baseline). (Takeshi Abe)</li>
  8040. <li><?php bugfix(48718); ?> (FILTER_VALIDATE_EMAIL does not allow numbers in domain components). (Ilia)</li>
  8041. <li><?php bugfix(48709); ?> (metaphone and 'wh'). (brettz9 at yahoo dot com, Felipe)</li>
  8042. <li><?php bugfix(48697); ?> (mb_internal_encoding() value gets reset by parse_str()). (Moriyoshi)</li>
  8043. <li><?php bugfix(48696); ?> (ldap_read() segfaults with invalid parameters). (Felipe)</li>
  8044. <li><?php bugfix(48693); ?> (Double declaration of __lambda_func when lambda wrongly formatted). (peter at lvp-media dot com, Felipe)</li>
  8045. <li><?php bugfix(48661); ?> (phpize is broken with non-bash shells). (Jani)</li>
  8046. <li><?php bugfix(48645); ?> (mb_convert_encoding() doesn't understand hexadecimal html-entities). (Moriyoshi)</li>
  8047. <li><?php bugfix(48637); ?> (&quot;file&quot; fopen wrapper is overwritten when using --with-curlwrappers). (Jani)</li>
  8048. <li><?php bugfix(48636); ?> (Error compiling of ext/date on netware). (guenter at php.net, Ilia)</li>
  8049. <li><?php bugfix(48629); ?> (get_defined_constants() ignores categorize parameter). (Felipe)</li>
  8050. <li><?php bugfix(48619); ?> (imap_search ALL segfaults). (Pierre)</li>
  8051. <li><?php bugfix(48608); ?> (Invalid libreadline version not detected during configure). (Jani)</li>
  8052. <li><?php bugfix(48555); ?> (ImageFTBBox() differs from previous versions for texts with new lines) (Takeshi Abe)</li>
  8053. <li><?php bugfix(48539); ?> (pdo_dblib fails to connect, throws empty PDOException &quot;SQLSTATE[] (null)&quot;). (Felipe)</li>
  8054. <li><?php bugfix(48465); ?> (sys_get_temp_dir() possibly inconsistent when using TMPDIR). (Ilia)</li>
  8055. <li><?php bugfix(48450); ?> (Compile failure under IRIX 6.5.30 building gd.c). (Kalle)</li>
  8056. <li><?php bugfix(48400); ?> (imap crashes when closing stream opened with OP_PROTOTYPE flag). (Jani)</li>
  8057. <li><?php bugfix(48284); ?> (hash &quot;adler32&quot; byte order is reversed). (Scott)</li>
  8058. <li><?php bugfix(48276); ?> (date(&quot;Y&quot;) on big endian machines produces the wrong result). (Scott)</li>
  8059. <li><?php bugfix(48247); ?> (Infinite loop and possible crash during startup with errors when errors are logged). (Jani)</li>
  8060. <li><?php bugfix(48182); ?> (ssl handshake fails during asynchronous socket connection). (Sriram Natarajan)</li>
  8061. <li><?php bugfix(48116); ?> (Fixed build with Openssl 1.0). (Pierre, Al dot Smith at aeschi dot ch dot eu dot org)</li>
  8062. <li><?php bugfix(48060); ?> (pdo_pgsql - large objects are returned as empty). (Matteo)</li>
  8063. <li><?php bugfix(48057); ?> (Only the date fields of the first row are fetched, others are empty). (info at programmiernutte dot net)</li>
  8064. <li><?php bugfix(47481); ?> (natcasesort() does not sort extended ASCII characters correctly). (Herman Radtke)</li>
  8065. <li><?php bugfix(47351); ?> (Memory leak in DateTime). (Derick, Tobias John)</li>
  8066. <li><?php bugfix(47273); ?> (Encoding bug in SoapServer->fault). (Dmitry)</li>
  8067. <li><?php bugfix(46020); ?> (with Sun Java System Web Server 7.0 on HPUX, #define HPUX). (Uwe Schindler)</li>
  8068. <li><?php bugfix(45905); ?> (imagefilledrectangle() clipping error). (markril at hotmail dot com, Pierre)</li>
  8069. <li><?php bugfix(45280); ?> (Reflection of instantiated COM classes causes PHP to crash) (Paul Richards, Kalle)</li>
  8070. <li><?php bugfix(45141); ?> (setcookie will output expires years of &gt;4 digits). (Ilia)</li>
  8071. <li><?php bugfix(44144); ?> (spl_autoload_functions() should return object instance when appropriate). (Hannes, Etienne)</li>
  8072. <li><?php bugfix(43510); ?> (stream_get_meta_data() does not return same mode as used in fopen). (Jani)</li>
  8073. <li><?php bugfix(42434); ?> (ImageLine w/ antialias = 1px shorter). (wojjie at gmail dot com, Kalle)</li>
  8074. <li><?php bugfix(28038); ?> (Sent incorrect RCPT TO commands to SMTP server) (Garrett)</li>
  8075. </ul>
  8076. <!-- }}} --></section>
  8077. <section class="version" id="5.2.10"><!-- {{{ 5.2.10 -->
  8078. <h3>Version 5.2.10</h3>
  8079. <?php release_date('18-Jun-2009'); ?>
  8080. <ul>
  8081. <li>Security Fixes
  8082. <ul>
  8083. <li><?php bugfix(48378); ?> (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)</li>
  8084. </ul>
  8085. </li>
  8086. <li>Updated timezone database to version 2009.9 (2009i) (Derick)</li>
  8087. <li>Added "ignore_errors" option to http fopen wrapper. (David Zulke, Sara)</li>
  8088. <li>Added new CURL options CURLOPT_REDIR_PROTOCOLS, CURLOPT_PROTOCOLS, and CURLPROTO_* for redirect fixes in CURL 7.19.4. (Yoram Bar Haim, Stas)</li>
  8089. <li>Added support for Sun CC (FR <?php bugl(46595); ?> and FR <?php bugl(46513); ?>). (David Soria Parra)</li>
  8090. <li>Changed default value of array_unique()'s optional sorting type parameter back to SORT_STRING to fix backwards compatibility breakage introduced in PHP 5.2.9. (Moriyoshi)</li>
  8091. <li>Fixed memory corruptions while reading properties of zip files. (Ilia)</li>
  8092. <li>Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)</li>
  8093. <li>Fixed segfault on invalid session.save_path. (Hannes)</li>
  8094. <li>Fixed leaks in imap when a mail_criteria is used. (Pierre)</li>
  8095. <li>Fixed missing erealloc() in fix for bug <?php bugl(40091); ?> in spl_autoload_register. (Greg)</li>
  8096. <li><?php bugfix(48562); ?> (Reference recursion causes segfault when used in wddx_serialize_vars()). (Felipe)</li>
  8097. <li><?php bugfix(48557); ?> (Numeric string keys in Apache Hashmaps are not cast to integers). (David Zuelke)</li>
  8098. <li><?php bugfix(48518); ?> (curl crashes when writing into invalid file handle). (Tony)</li>
  8099. <li><?php bugfix(48514); ?> (cURL extension uses same resource name for simple and multi APIs). (Felipe)</li>
  8100. <li><?php bugfix(48469); ?> (ldap_get_entries() leaks memory on empty search results). (Patrick)</li>
  8101. <li><?php bugfix(48456); ?> (CPPFLAGS not restored properly in phpize.m4). (Jani, spisek at kerio dot com)</li>
  8102. <li><?php bugfix(48448); ?> (Compile failure under IRIX 6.5.30 building cast.c). (Kalle)</li>
  8103. <li><?php bugfix(48441); ?> (ldap_search() sizelimit, timelimit and deref options persist). (Patrick)</li>
  8104. <li><?php bugfix(48434); ?> (Improve memory_get_usage() accuracy). (Arnaud)</li>
  8105. <li><?php bugfix(48416); ?> (Force a cache limit in ereg() to stop excessive memory usage). (Scott)</li>
  8106. <li><?php bugfix(48409); ?> (Crash when exception is thrown while passing function arguments). (Arnaud)</li>
  8107. <li><?php bugfix(48378); ?> (exif_read_data() segfaults on certain corrupted .jpeg files). (Pierre)</li>
  8108. <li><?php bugfix(48359); ?> (Script hangs on snmprealwalk if OID is not increasing). (Ilia, simonov at gmail dot com)</li>
  8109. <li><?php bugfix(48336); ?> (ReflectionProperty::getDeclaringClass() does not work with redeclared property). (patch by Markus dot Lidel at shadowconnect dot com)</li>
  8110. <li><?php bugfix(48326); ?> (constant MSG_DONTWAIT not defined). (Arnaud)</li>
  8111. <li><?php bugfix(48313); ?> (fgetcsv() does not return null for empty rows). (Ilia)</li>
  8112. <li><?php bugfix(48309); ?> (stream_copy_to_stream() and fpasstru() do not update stream position of plain files). (Arnaud)</li>
  8113. <li><?php bugfix(48307); ?> (stream_copy_to_stream() copies 0 bytes when $source is a socket). (Arnaud)</li>
  8114. <li><?php bugfix(48273); ?> (snmp*_real_walk() returns SNMP errors as values). (Ilia, lytboris at gmail dot com)</li>
  8115. <li><?php bugfix(48256); ?> (Crash due to double-linking of history.o). (tstarling at wikimedia dot org)</li>
  8116. <li><?php bugfix(48248); ?> (SIGSEGV when access to private property via &amp;__get). (Felipe)</li>
  8117. <li><?php bugfix(48247); ?> (Crash on errors during startup). (Stas)</li>
  8118. <li><?php bugfix(48240); ?> (DBA Segmentation fault dba_nextkey). (Felipe)</li>
  8119. <li><?php bugfix(48224); ?> (Incorrect shuffle in array_rand). (Etienne)</li>
  8120. <li><?php bugfix(48221); ?> (memory leak when passing invalid xslt parameter). (Felipe)</li>
  8121. <li><?php bugfix(48207); ?> (CURLOPT_(FILE|WRITEHEADER options do not error out when working with a non-writable stream). (Ilia)</li>
  8122. <li><?php bugfix(48206); ?> (Iterating over an invalid data structure with RecursiveIteratorIterator leads to a segfault). (Scott)</li>
  8123. <li><?php bugfix(48204); ?> (xmlwriter_open_uri() does not emit warnings on invalid paths). (Ilia)</li>
  8124. <li><?php bugfix(48203); ?> (Crash when CURLOPT_STDERR is set to regular file). (Jani)</li>
  8125. <li><?php bugfix(48202); ?> (Out of Memory error message when passing invalid file path) (Pierre)</li>
  8126. <li><?php bugfix(48156); ?> (Added support for lcov v1.7). (Ilia)</li>
  8127. <li><?php bugfix(48132); ?> (configure check for curl ssl support fails with --disable-rpath). (Jani)</li>
  8128. <li><?php bugfix(48131); ?> (Don't try to bind ipv4 addresses to ipv6 ips via bindto). (Ilia)</li>
  8129. <li><?php bugfix(48070); ?> (PDO_OCI: Segfault when using persistent connection). (Pierre, Matteo, jarismar dot php at gmail dot com)</li>
  8130. <li><?php bugfix(48058); ?> (Year formatter goes wrong with out-of-int range). (Derick)</li>
  8131. <li><?php bugfix(48038); ?> (odbc_execute changes variables used to form params array). (Felipe)</li>
  8132. <li><?php bugfix(47997); ?> (stream_copy_to_stream returns 1 on empty streams). (Arnaud)</li>
  8133. <li><?php bugfix(47991); ?> (SSL streams fail if error stack contains items). (Mikko)</li>
  8134. <li><?php bugfix(47981); ?> (error handler not called regardless). (Hannes)</li>
  8135. <li><?php bugfix(47969); ?> (ezmlm_hash() returns different values depend on OS). (Ilia)</li>
  8136. <li><?php bugfix(47946); ?> (ImageConvolution overwrites background). (Ilia)</li>
  8137. <li><?php bugfix(47940); ?> (memory leaks in imap_body). (Pierre, Jake Levitt)</li>
  8138. <li><?php bugfix(47937); ?> (system() calls sapi_flush() regardless of output buffering). (Ilia)</li>
  8139. <li><?php bugfix(47903); ?> (&quot;@&quot; operator does not work with string offsets). (Felipe)</li>
  8140. <li><?php bugfix(47893); ?> (CLI aborts on non blocking stdout). (Arnaud)</li>
  8141. <li><?php bugfix(47849); ?> (Non-deep import loses the namespace). (Rob)</li>
  8142. <li><?php bugfix(47845); ?> (PDO_Firebird omits first row from query). (Lars W)</li>
  8143. <li><?php bugfix(47836); ?> (array operator [] inconsistency when the array has PHP_INT_MAX index value). (Matt)</li>
  8144. <li><?php bugfix(47831); ?> (Compile warning for strnlen() in main/spprintf.c). (Ilia, rainer dot jung at kippdata dot de)</li>
  8145. <li><?php bugfix(47828); ?> (openssl_x509_parse() segfaults when a UTF-8 conversion fails). (Scott, Kees Cook, Pierre)</li>
  8146. <li><?php bugfix(47818); ?> (Segfault due to bound callback param). (Felipe)</li>
  8147. <li><?php bugfix(47801); ?> (__call() accessed via parent:: operator is provided incorrect method name). (Felipe)</li>
  8148. <li><?php bugfix(47769); ?> (Strange extends PDO). (Felipe)</li>
  8149. <li><?php bugfix(47745); ?> (FILTER_VALIDATE_INT doesn't allow minimum integer). (Dmitry)</li>
  8150. <li><?php bugfix(47721); ?> (Alignment issues in mbstring and sysvshm extension) (crrodriguez at opensuse dot org, Ilia)</li>
  8151. <li><?php bugfix(47704); ?> (PHP crashes on some &quot;bad&quot; operations with string offsets). (Dmitry)</li>
  8152. <li><?php bugfix(47695); ?> (build error when xmlrpc and iconv are compiled against different iconv versions). (Scott)</li>
  8153. <li><?php bugfix(47667); ?> (ZipArchive::OVERWRITE seems to have no effect). (Mikko, Pierre)</li>
  8154. <li><?php bugfix(47644); ?> (Valid integers are truncated with json_decode()). (Scott)</li>
  8155. <li><?php bugfix(47639); ?> (pg_copy_from() WARNING: nonstandard use of \\ in a string literal). (Ilia)</li>
  8156. <li><?php bugfix(47616); ?> (curl keeps crashing). (Felipe)</li>
  8157. <li><?php bugfix(47598); ?> (FILTER_VALIDATE_EMAIL is locale aware). (Ilia)</li>
  8158. <li><?php bugfix(47566); ?> (pcntl_wexitstatus() returns signed status). (patch by james at jamesreno dot com)</li>
  8159. <li><?php bugfix(47564); ?> (unpacking unsigned long 32bit bit endian returns wrong result). (Ilia)</li>
  8160. <li><?php bugfix(47487); ?> (performance degraded when reading large chunks after fix of bug <?php bugl(44607); ?>). (Arnaud)</li>
  8161. <li><?php bugfix(47468); ?> (enable cli|cgi-only extensions for embed sapi). (Jani)</li>
  8162. <li><?php bugfix(47435); ?> (FILTER_FLAG_NO_PRIV_RANGE does not work with ipv6 addresses in the filter extension). (Ilia)</li>
  8163. <li><?php bugfix(47430); ?> (Errors after writing to nodeValue parameter of an absent previousSibling). (Rob)</li>
  8164. <li><?php bugfix(47365); ?> (ip2long() may allow some invalid values on certain 64bit systems). (Ilia)</li>
  8165. <li><?php bugfix(47254); ?> (Wrong Reflection for extends class). (Felipe)</li>
  8166. <li><?php bugfix(47042); ?> (cgi sapi is incorrectly removing SCRIPT_FILENAME). (Sriram Natarajan, David Soria Parra)</li>
  8167. <li><?php bugfix(46882); ?> (Serialize / Unserialize misbehaviour under OS with different bit numbers). (Matt)</li>
  8168. <li><?php bugfix(46812); ?> (get_class_vars() does not include visible private variable looking at subclass). (Arnaud)</li>
  8169. <li><?php bugfix(46386); ?> (Digest authentication with SOAP module fails against MSSQL SOAP services). (Ilia, lordelph at gmail dot com)</li>
  8170. <li><?php bugfix(46109); ?> (Memory leak when mysqli::init() is called multiple times). (Andrey)</li>
  8171. <li><?php bugfix(45997); ?> (safe_mode bypass with exec/system/passthru (windows only)). (Pierre)</li>
  8172. <li><?php bugfix(45877); ?> (Array key '2147483647' left as string). (Matt)</li>
  8173. <li><?php bugfix(45822); ?> (Near infinite-loops while parsing huge relative offsets). (Derick, Mike Sullivan)</li>
  8174. <li><?php bugfix(45799); ?> (imagepng() crashes on empty image). (Martin McNickle, Takeshi Abe)</li>
  8175. <li><?php bugfix(45622); ?> (isset($arrayObject-&gt;p) misbehaves with ArrayObject:: ARRAY_AS_PROPS set). (robin_fernandes at uk dot ibm dot com, Arnaud)</li>
  8176. <li><?php bugfix(45614); ?> (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object). (robin_fernandes at uk dot ibm dot com, Arnaud)</li>
  8177. <li><?php bugfix(45540); ?> (stream_context_create creates bad http request). (Arnaud)</li>
  8178. <li><?php bugfix(45202); ?> (zlib.output_compression can not be set with ini_set()). (Jani)</li>
  8179. <li><?php bugfix(45191); ?> (error_log ignores date.timezone php.ini val when setting logging timestamps). (Derick)</li>
  8180. <li><?php bugfix(45092); ?> (header HTTP context option not being used when compiled using --with-curlwrappers). (Jani)</li>
  8181. <li><?php bugfix(44996); ?> (xmlrpc_decode() ignores time zone on iso8601.datetime). (Ilia, kawai at apache dot org) </li>
  8182. <li><?php bugfix(44827); ?> (define() is missing error checks for class constants). (Ilia)</li>
  8183. <li><?php bugfix(44214); ?> (Crash using preg_replace_callback() and global variables). (Nuno, Scott)</li>
  8184. <li><?php bugfix(43073); ?> (TrueType bounding box is wrong for angle&lt;&gt;0). (Martin McNickle)</li>
  8185. <li><?php bugfix(42663); ?> (gzinflate() try to allocate all memory with truncated data). (Arnaud)</li>
  8186. <li><?php bugfix(42414); ?> (some odbc_*() functions incompatible with Oracle ODBC driver). (jhml at gmx dot net)</li>
  8187. <li><?php bugfix(42362); ?> (HTTP status codes 204 and 304 should not be gzipped). (Scott, Edward Z. Yang)</li>
  8188. <li><?php bugfix(42143); ?> (The constant NAN is reported as 0 on Windows) (Kanwaljeet Singla, Venkat Raman Don)</li>
  8189. <li><?php bugfix(38805); ?> (PDO truncates text from SQL Server text data type field). (Steph)</li>
  8190. </ul>
  8191. <!-- }}} --></section>
  8192. <section class="version" id="5.2.9"><!-- {{{ 5.2.9 -->
  8193. <h3>Version 5.2.9</h3>
  8194. <?php release_date('26-Feb-2009'); ?>
  8195. <ul>
  8196. <li>Security Fixes
  8197. <ul>
  8198. <li>Fixed security issue in imagerotate(), background colour isn't validated correctly with a non truecolour image. Reported by Hamid Ebadi, APA Laboratory (Fixes CVE-2008-5498). (Scott)</li>
  8199. <li>Fixed a crash on extract in zip when files or directories entry names contain a relative path. (Pierre)</li>
  8200. <li>Fixed explode() behavior with empty string to respect negative limit. (Shire)</li>
  8201. <li>Fixed a segfault when malformed string is passed to json_decode(). (Scott)</li>
  8202. <li>Fixed bug in xml_error_string() which resulted in messages being off by one. (Scott)</li>
  8203. </ul>
  8204. </li>
  8205. <li>Changed __call() to be invoked on private/protected method access, similar to properties and __get(). (Andrei)</li>
  8206. <li>Added optional sorting type flag parameter to array_unique(). Default is SORT_REGULAR. (Andrei)</li>
  8207. <li>Fixed zip filename property read. (Pierre)</li>
  8208. <li>Fixed error conditions handling in stream_filter_append(). (Arnaud)</li>
  8209. <li><?php bugfix(47422); ?> (modulus operator returns incorrect results on 64 bit linux). (Matt)</li>
  8210. <li><?php bugfix(47399); ?> (mb_check_encoding() returns true for some illegal SJIS characters). (for-bugs at hnw dot jp, Moriyoshi)</li>
  8211. <li><?php bugfix(47353); ?> (crash when creating a lot of objects in object destructor). (Tony)</li>
  8212. <li><?php bugfix(47322); ?> (sscanf %d doesn't work). (Felipe)</li>
  8213. <li><?php bugfix(47282); ?> (FILTER_VALIDATE_EMAIL is marking valid email addresses as invalid). (Ilia)</li>
  8214. <li><?php bugfix(47220); ?> (segfault in dom_document_parser in recovery mode). (Rob)</li>
  8215. <li><?php bugfix(47217); ?> (content-type is not set properly for file uploads). (Ilia)</li>
  8216. <li><?php bugfix(47174); ?> (base64_decode() interprets pad char in mid string as terminator). (Ilia)</li>
  8217. <li><?php bugfix(47165); ?> (Possible memory corruption when passing return value by reference). (Dmitry)</li>
  8218. <li><?php bugfix(47152); ?> (gzseek/fseek using SEEK_END produces strange results). (Felipe)</li>
  8219. <li><?php bugfix(47131); ?> (SOAP Extension ignores &quot;user_agent&quot; ini setting). (Ilia)</li>
  8220. <li><?php bugfix(47109); ?> (Memory leak on $a-&gt;{&quot;a&quot;.&quot;b&quot;} when $a is not an object). (Etienne, Dmitry)</li>
  8221. <li><?php bugfix(47104); ?> (Linking shared extensions fails with icc). (Jani)</li>
  8222. <li><?php bugfix(47049); ?> (SoapClient::__soapCall causes a segmentation fault). (Dmitry)</li>
  8223. <li><?php bugfix(47048); ?> (Segfault with new pg_meta_data). (Felipe)</li>
  8224. <li><?php bugfix(47042); ?> (PHP cgi sapi is removing SCRIPT_FILENAME for non apache). (Sriram Natarajan)</li>
  8225. <li><?php bugfix(47037); ?> (No error when using fopen with empty string). (Cristian Rodriguez R., Felipe)</li>
  8226. <li><?php bugfix(47035); ?> (dns_get_record returns a garbage byte at the end of a TXT record). (Felipe)</li>
  8227. <li><?php bugfix(47027); ?> (var_export doesn't show numeric indices on ArrayObject). (Derick)</li>
  8228. <li><?php bugfix(46985); ?> (OVERWRITE and binary mode does not work, regression introduced in 5.2.8). (Pierre)</li>
  8229. <li><?php bugfix(46973); ?> (IPv6 address filter rejects valid address). (Felipe)</li>
  8230. <li><?php bugfix(46964); ?> (Fixed pdo_mysql build with older version of MySQL). (Ilia)</li>
  8231. <li><?php bugfix(46959); ?> (Unable to disable PCRE). (Scott)</li>
  8232. <li><?php bugfix(46918); ?> (imap_rfc822_parse_adrlist host part not filled in correctly). (Felipe)</li>
  8233. <li><?php bugfix(46889); ?> (Memory leak in strtotime()). (Derick)</li>
  8234. <li><?php bugfix(46887); ?> (Invalid calls to php_error_docref()). (oeriksson at mandriva dot com, Ilia)</li>
  8235. <li><?php bugfix(46873); ?> (extract($foo) crashes if $foo['foo'] exists). (Arnaud)</li>
  8236. <li><?php bugfix(46843); ?> (CP936 euro symbol is not converted properly). (ty_c at cybozuy dot co dot jp, Moriyoshi)</li>
  8237. <li><?php bugfix(46798); ?> (Crash in mssql extension when retrieving a NULL value inside a binary or image column type). (Ilia)</li>
  8238. <li><?php bugfix(46782); ?> (fastcgi.c parse error). (Matt)</li>
  8239. <li><?php bugfix(46760); ?> (SoapClient doRequest fails when proxy is used). (Felipe)</li>
  8240. <li><?php bugfix(46748); ?> (Segfault when an SSL error has more than one error). (Scott)</li>
  8241. <li><?php bugfix(46739); ?> (array returned by curl_getinfo should contain content_type key). (Mikko)</li>
  8242. <li><?php bugfix(46699); ?> (xml_parse crash when parser is namespace aware). (Rob)</li>
  8243. <li><?php bugfix(46419); ?> (Elements of associative arrays with NULL value are lost). (Dmitry)</li>
  8244. <li><?php bugfix(46282); ?> (Corrupt DBF When Using DATE). (arne at bukkie dot nl)</li>
  8245. <li><?php bugfix(46026); ?> (bz2.decompress/zlib.inflate filter tries to decompress after end of stream). (Greg)</li>
  8246. <li><?php bugfix(46005); ?> (User not consistently logged under Apache2). (admorten at umich dot edu, Stas)</li>
  8247. <li><?php bugfix(45996); ?> (libxml2 2.7 causes breakage with character data in xml_parse()). (Rob)</li>
  8248. <li><?php bugfix(45940); ?> (MySQLI OO does not populate connect_error property on failed connect). (Johannes)</li>
  8249. <li><?php bugfix(45923); ?> (mb_st[r]ripos() offset not handled correctly). (Moriyoshi)</li>
  8250. <li><?php bugfix(45327); ?> (memory leak if offsetGet throws exception). (Greg)</li>
  8251. <li><?php bugfix(45239); ?> (Encoding detector hangs with mbstring.strict_detection enabled). (Moriyoshi)</li>
  8252. <li><?php bugfix(45161); ?> (Reusing a curl handle leaks memory). (Mark Karpeles, Jani)</li>
  8253. <li><?php bugfix(44336); ?> (Improve pcre UTF-8 string matching performance). (frode at coretrek dot com, Nuno)</li>
  8254. <li><?php bugfix(43841); ?> (mb_strrpos() offset is byte count for negative values). (Moriyoshi)</li>
  8255. <li><?php bugfix(37209); ?> (mssql_execute with non fatal errors). (Kalle)</li>
  8256. <li><?php bugfix(35975); ?> (Session cookie expires date format isn't the most compatible. Now matches that of setcookie()). (Scott)</li>
  8257. </ul>
  8258. <!-- }}} --></section>
  8259. <section class="version" id="5.2.8"><!-- {{{ 5.2.8 -->
  8260. <h3>Version 5.2.8</h3>
  8261. <?php release_date('08-Dec-2008'); ?>
  8262. <ul>
  8263. <li>Reverted bug fix <?php bugfix(42718); ?> that broke magic_quotes_gpc (Scott)</li>
  8264. </ul>
  8265. <!-- }}} --></section>
  8266. <section class="version" id="5.2.7"><!-- {{{ 5.2.7 -->
  8267. <h3>Version 5.2.7</h3>
  8268. <?php release_date('04-Dec-2008'); ?>
  8269. <ul>
  8270. <li>Security Fixes
  8271. <ul>
  8272. <li>Upgraded PCRE to version 7.8 (Fixes CVE-2008-2371) (Ilia)</li>
  8273. <li>Fixed missing initialization of BG(page_uid) and BG(page_gid), reported by Maksymilian Arciemowicz. (Stas)</li>
  8274. <li>Fixed incorrect php_value order for Apache configuration, reported by Maksymilian Arciemowicz. (Stas)</li>
  8275. <li>Fixed a crash inside gd with invalid fonts (Fixes CVE-2008-3658). (Pierre)</li>
  8276. <li>Fixed a possible overflow inside memnstr (Fixes CVE-2008-3659). (Laurent Gaffie)</li>
  8277. <li>Fixed security issues detailed in CVE-2008-2665 and CVE-2008-2666. (Christian Hoffmann)</li>
  8278. <li><?php bugfix(45151); ?> (Crash with URI/file..php (filename contains 2 dots)).(Fixes CVE-2008-3660) (Dmitry)</li>
  8279. <li><?php bugfix(42862); ?> (IMAP toolkit crash: rfc822.c legacy routine buffer overflow). (Fixes CVE-2008-2829) (Dmitry)</li>
  8280. </ul>
  8281. </li>
  8282. <li>Updated timezone database to version 2008.9. (Derick)</li>
  8283. <li>Upgraded bundled libzip to 0.9.0. (Pierre)</li>
  8284. <li>Added logging option for error_log to send directly to SAPI. (Stas)</li>
  8285. <li>Added PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION,PHP_EXTRA_VERSION, PHP_VERSION_ID, PHP_ZTS and PHP_DEBUG constants. (Pierre)</li>
  8286. <li>Added &quot;PHP_INI_SCAN_DIR&quot; environment variable which can be used to either disable or change the compile time ini scan directory (FR <?php bugfix(45114); ?>). (Jani)</li>
  8287. <li>Fixed memory leak inside sqlite_create_aggregate(). (Felipe)</li>
  8288. <li>Fixed memory leak inside PDO sqlite's sqliteCreateAggregate() method. (Felipe)</li>
  8289. <li>Fixed memory leak inside readline_callback_handler_remove() function. (Felipe)</li>
  8290. <li>Fixed sybase_fetch_*() to continue reading after CS_ROW_FAIL status (Timm)</li>
  8291. <li>Fixed a bug inside dba_replace() that could cause file truncation with invalid keys. (Ilia)</li>
  8292. <li>Fixed memory leak inside readline_callback_handler_install() function. (Ilia)</li>
  8293. <li>Fixed memory leak inside readline_completion_function() function. (Felipe) </li>
  8294. <li>Fixed stream_get_contents() when using $maxlength and socket is not closed. indeyets [at] php [dot] net on <?php bugfix(46049); ?>. (Arnaud)</li>
  8295. <li>Fixed stream_get_line() to behave as documented on non-blocking streams. (Arnaud)</li>
  8296. <li>Fixed endless loop in PDOStatement::debugDumpParams().(jonah.harris at gmail dot com)</li>
  8297. <li>Fixed ability to use &quot;internal&quot; heaps in extensions. (Arnaud, Dmitry)</li>
  8298. <li>Fixed weekdays adding/subtracting algorithm. (Derick)</li>
  8299. <li>Fixed some ambiguities in the date parser. (Derick)</li>
  8300. <li>Fixed a bug with the YYYY-MM format not resetting the day correctly. (Derick)</li>
  8301. <li>Fixed a bug in the DateTime->modify() methods, it would not use the advanced relative time strings. (Derick)</li>
  8302. <li>Fixed extraction of zip files or directories when the entry name is a relative path. (Pierre)</li>
  8303. <li>Fixed read or write errors for large zip archives. (Pierre)</li>
  8304. <li>Fixed simplexml asXML() not to lose encoding when dumping entire document to file. (Ilia)</li>
  8305. <li>Fixed a crash inside PDO when trying instantiate PDORow manually. (Felipe)</li>
  8306. <li>Fixed build failure of ext/mysqli with libmysql 6.0 - missing rpl functions. (Andrey)</li>
  8307. <li>Fixed a regression when using strip_tags() and &lt; is within an attribute. (Scott)</li>
  8308. <li>Fixed a crash on invalid method in ReflectionParameter constructor. (Christian Seiler)</li>
  8309. <li>Reverted fix for bug <?php bugfix(44197); ?> due to behaviour change in minor version. (Felipe)</li>
  8310. <li><?php bugfix(46732); ?> (mktime.year description is wrong). (Derick)</li>
  8311. <li><?php bugfix(46696); ?> (cURL fails in upload files with specified content-type). (Ilia)</li>
  8312. <li><?php bugfix(46673); ?> (stream_lock call with wrong parameter). (Arnaud)</li>
  8313. <li><?php bugfix(46649); ?> (Setting array element with that same array produces inconsistent results). (Arnaud)</li>
  8314. <li><?php bugfix(46626); ?> (mb_convert_case does not handle apostrophe correctly). (Ilia)</li>
  8315. <li><?php bugfix(46543); ?> (ibase_trans() memory leaks when using wrong parameters). (Felipe)</li>
  8316. <li><?php bugfix(46521); ?> (Curl ZTS OpenSSL, error in config.m4 fragment). (jd at cpanel dot net)</li>
  8317. <li><?php bugfix(46496); ?> (wddx_serialize treats input as ISO-8859-1). (Mark Karpeles)</li>
  8318. <li><?php bugfix(46427); ?> (SoapClient() stumbles over its &quot;stream_context&quot; parameter). (Dmitry, Herman Radtke)</li>
  8319. <li><?php bugfix(46426); ?> (offset parameter of stream_get_contents() does not workfor &quot;0&quot;). (Felipe)</li>
  8320. <li><?php bugfix(46406); ?> (Unregistering nodeclass throws E_FATAL). (Rob)</li>
  8321. <li><?php bugfix(46389); ?> (NetWare needs small patch for _timezone). (patch by guenter@php.net)</li>
  8322. <li><?php bugfix(46388); ?> (stream_notification_callback inside of object destroys object variables). (Felipe)</li>
  8323. <li><?php bugfix(46381); ?> (wrong $this passed to internal methods causes segfault). (Tony)</li>
  8324. <li><?php bugfix(46379); ?> (Infinite loop when parsing '#' in one line file). (Arnaud)</li>
  8325. <li><?php bugfix(46366); ?> (bad cwd with / as pathinfo). (Dmitry)</li>
  8326. <li><?php bugfix(46360); ?> (TCP_NODELAY constant for socket_{get,set}_option). (bugs at trick dot vanstaveren dot us)</li>
  8327. <li><?php bugfix(46343); ?> (IPv6 address filter accepts invalid address). (Ilia)</li>
  8328. <li><?php bugfix(46335); ?> (DOMText::splitText doesn't handle multibyte characters). (Rob)</li>
  8329. <li><?php bugfix(46323); ?> (compilation of simplexml for NetWare breaks). (Patch by guenter@php.net)</li>
  8330. <li><?php bugfix(46319); ?> (PHP sets default Content-Type header for HTTP 304 response code, in cgi sapi). (Ilia)</li>
  8331. <li><?php bugfix(46313); ?> (Magic quotes broke $_FILES). (Arnaud)</li>
  8332. <li><?php bugfix(46308); ?> (Invalid write when changing property from inside getter). (Dmitry)</li>
  8333. <li><?php bugfix(46292); ?> (PDO::setFetchMode() shouldn't requires the 2nd arg when using FETCH_CLASSTYPE). (Felipe)</li>
  8334. <li>Fixed bugs <?php bugl(46274); ?>, <?php bugl(46249); ?> (pdo_pgsql always fill in NULL for empty BLOB and segfaults when returned by SELECT). (Felipe)</li>
  8335. <li><?php bugfix(46271); ?> (local_cert option is not resolved to full path). (Ilia)</li>
  8336. <li><?php bugfix(46247); ?> (ibase_set_event_handler() is allowing to pass callback without event). (Felipe)</li>
  8337. <li><?php bugfix(46246); ?> (difference between call_user_func(array($this, $method))and $this->$method()). (Dmitry)</li>
  8338. <li><?php bugfix(46222); ?> (ArrayObject EG(uninitialized_var_ptr) overwrite). (Etienne)</li>
  8339. <li><?php bugfix(46215); ?> (json_encode mutates its parameter and has some class-specific state). (Felipe)</li>
  8340. <li><?php bugfix(46206); ?> (pg_query_params/pg_execute convert passed values to strings). (Ilia)</li>
  8341. <li><?php bugfix(46191); ?> (BC break: DOMDocument saveXML() doesn't accept null). (Rob)</li>
  8342. <li><?php bugfix(46164); ?> (stream_filter_remove() closes the stream). (Arnaud)</li>
  8343. <li><?php bugfix(46157); ?> (PDOStatement::fetchObject prototype error). (Felipe)</li>
  8344. <li><?php bugfix(46147); ?> (after stream seek, appending stream filter reads incorrect data). (Greg)</li>
  8345. <li><?php bugfix(46139); ?> (PDOStatement->setFetchMode() forgets FETCH_PROPS_LATE). (chsc at peytz dot dk, Felipe)</li>
  8346. <li><?php bugfix(46127); ?> (php_openssl_tcp_sockop_accept forgets to set context on accepted stream). (Mark Karpeles, Pierre)</li>
  8347. <li><?php bugfix(46110); ?> (XMLWriter - openmemory() and openuri() leak memory on multiple calls). (Ilia)</li>
  8348. <li><?php bugfix(46088); ?> (RegexIterator::accept - segfault). (Felipe)</li>
  8349. <li><?php bugfix(46082); ?> (stream_set_blocking() can cause a crash in some circumstances). (Felipe)</li>
  8350. <li><?php bugfix(46064); ?> (Exception when creating ReflectionProperty object on dynamicly created property). (Felipe)</li>
  8351. <li><?php bugfix(46059); ?> (Compile failure under IRIX 6.5.30 building posix.c). (Arnaud)</li>
  8352. <li><?php bugfix(46053); ?> (SplFileObject::seek - Endless loop). (Arnaud)</li>
  8353. <li><?php bugfix(46051); ?> (SplFileInfo::openFile - memory overlap). (Arnaud)</li>
  8354. <li><?php bugfix(46047); ?> (SimpleXML converts empty nodes into object with nested array). (Rob)</li>
  8355. <li><?php bugfix(46031); ?> (Segfault in AppendIterator::next). (Arnaud)</li>
  8356. <li><?php bugfix(46029); ?> (Segfault in DOMText when using with Reflection). (Rob)</li>
  8357. <li><?php bugfix(46026); ?> (bzip2.decompress/zlib.inflate filter tries to decompress after end of stream). (Keisial at gmail dot com, Greg)</li>
  8358. <li><?php bugfix(46024); ?> (stream_select() doesn't return the correct number).(Arnaud)</li>
  8359. <li><?php bugfix(46010); ?> (warnings incorrectly generated for iv in ecb mode). (Felipe)</li>
  8360. <li><?php bugfix(46003); ?> (isset on nonexisting node return unexpected results). (Rob)</li>
  8361. <li><?php bugfix(45956); ?> (parse_ini_file() does not return false with syntax errors in parsed file). (Jani)</li>
  8362. <li><?php bugfix(45901); ?> (wddx_serialize_value crash with SimpleXMLElement object).(Rob)</li>
  8363. <li><?php bugfix(45862); ?> (get_class_vars is inconsistent with 'protected' and 'private' variables). (ilewis at uk dot ibm dot com, Felipe)</li>
  8364. <li><?php bugfix(45860); ?> (header() function fails to correctly replace all Status lines). (Dmitry)</li>
  8365. <li><?php bugfix(45805); ?> (Crash on throwing exception from error handler). (Dmitry)</li>
  8366. <li><?php bugfix(45765); ?> (ReflectionObject with default parameters of self::xxx cause an error). (Felipe)</li>
  8367. <li><?php bugfix(45751); ?> (Using auto_prepend_file crashes (out of scope stack address use)). (basant dot kukreja at sun dot com) </li>
  8368. <li><?php bugfix(45722); ?> (mb_check_encoding() crashes). (Moriyoshi)</li>
  8369. <li><?php bugfix(45705); ?> (rfc822_parse_adrlist() modifies passed address parameter). (Jani)</li>
  8370. <li><?php bugfix(45691); ?> (Some per-dir or runtime settings may leak into other requests). (Moriyoshi)</li>
  8371. <li><?php bugfix(45581); ?> (htmlspecialchars() double encoding &amp;#x hex items). (Arnaud)</li>
  8372. <li><?php bugfix(45580); ?> (levenshtein() crashes with invalid argument). (Ilia)</li>
  8373. <li><?php bugfix(45575); ?> (Segfault with invalid non-string as event handler callback). (Christian Seiler)</li>
  8374. <li><?php bugfix(45568); ?> (ISAPI doesn't properly clear auth_digest in header). (Patch by: navara at emclient dot com)</li>
  8375. <li><?php bugfix(45556); ?> (Return value from callback isn't freed). (Felipe)</li>
  8376. <li><?php bugfix(45555); ?> (Segfault with invalid non-string as register_introspection_callback). (Christian Seiler)</li>
  8377. <li><?php bugfix(45553); ?> (Using XPath to return values for attributes with a namespace does not work). (Rob)</li>
  8378. <li><?php bugfix(45529); ?> (new DateTimeZone() and date_create()-&gt;getTimezone() behave different). (Derick)</li>
  8379. <li><?php bugfix(45522); ?> (FCGI_GET_VALUES request does not return supplied values). (Arnaud)</li>
  8380. <li><?php bugfix(45486); ?> (mb_send_mail(); header 'Content-Type: text/plain; charset=' parsing incorrect). (Felipe)</li>
  8381. <li><?php bugfix(45485); ?> (strip_tags and &lt;?XML tag). (Felipe)</li>
  8382. <li><?php bugfix(45460); ?> (imap patch for fromlength fix in imap_headerinfo doesn't accept lengths of 1024). (Felipe, andrew at lifescale dot com)</li>
  8383. <li><?php bugfix(45449); ?> (filesize() regression using ftp wrapper). (crrodriguez at suse dot de)</li>
  8384. <li><?php bugfix(45423); ?> (fastcgi parent process doesn't invoke php_module_shutdown before shutdown). (basant dot kukreja at sun dot com)</li>
  8385. <li><?php bugfix(45406); ?> (session.serialize_handler declared by shared extension fails). (Kalle, oleg dot grenrus at dynamoid dot com)</li>
  8386. <li><?php bugfix(45405); ?> (snmp extension memory leak). (Federico Cuello, Rodrigo Campos)</li>
  8387. <li><?php bugfix(45392); ?> (ob_start()/ob_end_clean() and memory_limit). (Arnaud)</li>
  8388. <li><?php bugfix(45382); ?> (timeout bug in stream_socket_enable_crypto). (Ilia)</li>
  8389. <li><?php bugfix(45373); ?> (php crash on query with errors in params). (Felipe)</li>
  8390. <li><?php bugfix(45352); ?> (Segmentation fault because of tick function on second request). (Dmitry)</li>
  8391. <li><?php bugfix(45312); ?> (Segmentation fault on second request for array functions). (Dmitry)</li>
  8392. <li><?php bugfix(45303); ?> (Opening php:// wrapper in append mode results in a warning). (Arnaud)</li>
  8393. <li><?php bugfix(45251); ?> (double free or corruption with setAttributeNode()). (Rob)</li>
  8394. <li>Fixed bugs <?php bugl(45226); ?>, <?php bugl(18916); ?> (xmlrpc_set_type() segfaults and wrong behavior with valid ISO8601 date string). (Jeff Lawsons)</li>
  8395. <li><?php bugfix(45220); ?> (curl_read callback returns -1 when needs to return size_t (unsigned)). (Felipe)</li>
  8396. <li><?php bugfix(45181); ?> (chdir() should clear relative entries in stat cache). (Arnaud)</li>
  8397. <li><?php bugfix(45178); ?> (memory corruption on assignment result of &quot;new&quot; by reference). (Dmitry)</li>
  8398. <li><?php bugfix(45166); ?> (substr() overflow changes). (Felipe)</li>
  8399. <li><?php bugfix(45139); ?> (ReflectionProperty returns incorrect declaring class).(Felipe)</li>
  8400. <li><?php bugfix(45124); ?> ($_FILES['upload']['size'] sometimes return zero and sometimes the filesize). (Arnaud)</li>
  8401. <li><?php bugfix(45028); ?> (CRC32 output endianness is different between crc32() and hash()). (Tony)</li>
  8402. <li><?php bugfix(45004); ?> (pg_insert() does not accept 4 digit timezone format). (Ilia)</li>
  8403. <li><?php bugfix(44991); ?> (Compile Failure With freetds0.82). (jklowden at freetds dot org, matthias at dsx dot at)</li>
  8404. <li><?php bugfix(44938); ?> (gettext functions crash with overly long domain). (Christian Schneider, Ilia)</li>
  8405. <li><?php bugfix(44925); ?> (preg_grep() modifies input array). (Nuno)</li>
  8406. <li><?php bugfix(44900); ?> (OpenSSL extension fails to link with OpenSSL 0.9.6). (jd at cpanel dot net, Pierre)</li>
  8407. <li><?php bugfix(44891); ?> Memory leak using registerPHPFunctions and XSLT Variable as function parameter. (Rob)</li>
  8408. <li><?php bugfix(44882); ?> (SOAP extension object decoding bug). (Dmitry)</li>
  8409. <li><?php bugfix(44830); ?> (Very minor issue with backslash in heredoc). (Matt)</li>
  8410. <li><?php bugfix(44818); ?> (php://memory writeable when opened read only). (Arnaud)</li>
  8411. <li><?php bugfix(44811); ?> (Improve error message when creating a new SoapClient that contains invalid data). (Markus Fischer, David C)</li>
  8412. <li><?php bugfix(44798); ?> (Memory leak assigning value to attribute). (Ilia)</li>
  8413. <li><?php bugfix(44716); ?> (Progress notifications incorrect). (Hannes)</li>
  8414. <li><?php bugfix(44712); ?> (stream_context_set_params segfaults on invalid arguments). (Hannes)</li>
  8415. <li><?php bugfix(44617); ?> (wrong HTML entity output when substitute_character=entity). (Moriyoshi)</li>
  8416. <li><?php bugfix(44607); ?> (stream_get_line unable to correctly identify the &quot;ending&quot; in the stream content). (Arnaud)</li>
  8417. <li><?php bugfix(44425); ?> (Extending PDO/MySQL class with a __call() function doesn'twork). (Johannes)</li>
  8418. <li><?php bugfix(44327); ?> (PDORow::queryString property &amp; numeric offsets / Crash). (Felipe)</li>
  8419. <li>Fixed bugs <?php bugl(44251); ?>, <?php bugl(41125); ?> (PDO + quote() + prepare() can result in segfault). (tsteiner at nerdclub dot net)</li>
  8420. <li><?php bugfix(44246); ?> (closedir() accepts a file resource opened by fopen()). (Dmitry, Tony)</li>
  8421. <li><?php bugfix(44182); ?> (extract($a, EXTR_REFS) can fail to split copy-on-write references). (robin_fernandes at uk dot ibm dot com)</li>
  8422. <li><?php bugfix(44181); ?> (extract($a, EXTR_OVERWRITE|EXTR_REFS) can fail to create references to $a). (robin_fernandes at uk dot ibm dot com)</li>
  8423. <li><?php bugfix(44127); ?> (UNIX abstract namespace socket connect does not work). (Jani)</li>
  8424. <li><?php bugfix(43993); ?> (mb_substr_count() behaves differently to substr_count() with overlapping needles). (Moriyoshi)</li>
  8425. <li><?php bugfix(43958); ?> (class name added into the error message). (Dmitry)</li>
  8426. <li><?php bugfix(43941); ?> (json_encode silently cuts non-UTF8 strings). (Stas)</li>
  8427. <li><?php bugfix(43925); ?> (Incorrect argument counter in prepared statements with pgsql). (Felipe)</li>
  8428. <li><?php bugfix(43731); ?> (socket_getpeername: cannot use on stdin with inetd). (Arnaud)</li>
  8429. <li><?php bugfix(43723); ?> (SOAP not sent properly from client for &lt;choice&gt;). (Dmitry)</li>
  8430. <li><?php bugfix(43668); ?> (Added odbc.default_cursortype to control the ODBCcursor model). (Patrick)</li>
  8431. <li><?php bugfix(43666); ?> (Fixed code to use ODBC 3.52 datatypes for 64bit systems). (Patrick)</li>
  8432. <li><?php bugfix(43540); ?> (rfc1867 handler newlength problem). (Arnaud)</li>
  8433. <li><?php bugfix(43452); ?> (strings containing a weekday, or a number plus weekday behaved incorrect of the current day-of-week was the same as the one in the phrase).(Derick)</li>
  8434. <li><?php bugfix(43353); ?> (wrong detection of 'data' wrapper causes notice). (gk at gknw dot de, Arnaud)</li>
  8435. <li><?php bugfix(43053); ?> (Regression: some numbers shown in scientific notation). (int-e at gmx dot de)</li>
  8436. <li><?php bugfix(43045); ?> (SOAP encoding violation on &quot;INF&quot; for type double/float). (Dmitry)</li>
  8437. <li><?php bugfix(42855); ?> (dns_get_record() doesn't return all text from TXT record). (a dot u dot savchuk at gmail dot com)</li>
  8438. <li><?php bugfix(42737); ?> (preg_split('//u') triggers a E_NOTICE with newlines). (Nuno)</li>
  8439. <li><?php bugfix(42718); ?> (FILTER_UNSAFE_RAW not applied when configured as default filter). (Arnaud)</li>
  8440. <li><?php bugfix(42604); ?> (&quot;make test&quot; fails with --with-config-file-scan-dir=path). (Jani)</li>
  8441. <li><?php bugfix(42473); ?> (ob_start php://output and headers). (Arnaud)</li>
  8442. <li><?php bugfix(42318); ?> (problem with nm on AIX, not finding object files). (Dmitry)</li>
  8443. <li><?php bugfix(42294); ?> (Unified solution for round() based on C99 round). (Ilia)</li>
  8444. <li><?php bugfix(42078); ?> (pg_meta_data mix tables metadata from different schemas). (Felipe)</li>
  8445. <li><?php bugfix(41348); ?> (OCI8: allow compilation with Oracle 8.1). (Chris Jones)</li>
  8446. <li><?php bugfix(41033); ?> (enable signing with DSA keys. (gordyf at google dot com, Pierre)</li>
  8447. <li><?php bugfix(37100); ?> (data is returned truncated with BINARY CURSOR). (Tony)</li>
  8448. <li><?php bugfix(30312); ?> (crash in sybase_unbuffered_query() function). (Timm)</li>
  8449. <li><?php bugfix(24679); ?> (pg_* functions doesn't work using schema). (Felipe)</li>
  8450. <li><?php peclbugfix(14962); ?> (::extractTo 2nd argument is not really optional). (Mark van Der Velden)</li>
  8451. <li><?php bugfix(14032); ?> (Mail() always returns false but mail is sent). (Mikko)</li>
  8452. </ul>
  8453. <!-- }}} --></section>
  8454. <section class="version" id="5.2.6"><!-- {{{ 5.2.6 -->
  8455. <h3>Version 5.2.6</h3>
  8456. <?php release_date('01-May-2008'); ?>
  8457. <ul>
  8458. <li>Security Fixes
  8459. <ul>
  8460. <li>Fixed possible stack buffer overflow in FastCGI SAPI. (Andrei Nigmatulin)</li>
  8461. <li>Properly address incomplete multibyte chars inside escapeshellcmd() (Ilia, Stefan Esser)</li>
  8462. <li>Fixed security issue detailed in CVE-2008-0599. (Rasmus)</li>
  8463. <li>Fixed a safe_mode bypass in cURL identified by Maksymilian Arciemowicz. (Ilia)</li>
  8464. <li>Upgraded PCRE to version 7.6 (Nuno)</li>
  8465. </ul>
  8466. </li>
  8467. <li>Fixed two possible crashes inside posix extension (Tony)</li>
  8468. <li>Fixed incorrect heredoc handling when label is used within the block. (Matt)</li>
  8469. <li>Fixed sending of uninitialized paddings which may contain some information. (Andrei Nigmatulin)</li>
  8470. <li>Fixed a bug in formatting timestamps when DST is active in the default timezone (Derick)</li>
  8471. <li>Fix integer overflow in printf(). (Stas, Maksymilian Aciemowicz)</li>
  8472. <li>Fixed potential memleak in stream filter parameter for zlib filter. (Greg)</li>
  8473. <li>Added Reflection API metadata for the methods of the DOM classes. (Sebastian)</li>
  8474. <li>Fixed weird behavior in CGI parameter parsing. (Dmitry, Hannes Magnusson)</li>
  8475. <li>Fixed a bug with PDO::FETCH_COLUMN|PDO::FETCH_GROUP mode when a column # by which to group by data is specified. (Ilia)</li>
  8476. <li>Fixed segfault in filter extension when using callbacks. (Arnar Mar Sig, Felipe)</li>
  8477. <li>Fixed faulty fix for bug <?php bugfix(40189); ?> (endless loop in zlib.inflate stream filter). (Greg)</li>
  8478. <li><?php bugfix(44742); ?> (timezone_offset_get() causes segmentation faults). (Derick)</li>
  8479. <li><?php bugfix(44720); ?> (Prevent crash within session_register()). (Scott)</li>
  8480. <li><?php bugfix(44703); ?> (htmlspecialchars() does not detect bad character set argument). (Andy Wharmby)</li>
  8481. <li><?php bugfix(44673); ?> (With CGI argv/argc starts from arguments, not from script) (Dmitry)</li>
  8482. <li><?php bugfix(44667); ?> (proc_open() does not handle pipes with the mode 'wb' correctly). (Jani)</li>
  8483. <li><?php bugfix(44663); ?> (Crash in imap_mail_compose if "body" parameter invalid). (Ilia)</li>
  8484. <li><?php bugfix(44650); ?> (escapeshellscmd() does not check arg count). (Ilia)</li>
  8485. <li><?php bugfix(44613); ?> (Crash inside imap_headerinfo()). (Ilia, jmessa)</li>
  8486. <li><?php bugfix(44603); ?> (Order issues with Content-Type/Length headers on POST). (Ilia)</li>
  8487. <li><?php bugfix(44594); ?> (imap_open() does not validate # of retries parameter). (Ilia)</li>
  8488. <li><?php bugfix(44591); ?> (imagegif's filename parameter). (Felipe)</li>
  8489. <li><?php bugfix(44557); ?> (Crash in imap_setacl when supplied integer as username) (Thomas Jarosch)</li>
  8490. <li><?php bugfix(44487); ?> (call_user_method_array issues a warning when throwing an exception). (David Soria Parra)</li>
  8491. <li><?php bugfix(44478); ?> (Inconsistent behaviour when assigning new nodes). (Rob, Felipe)</li>
  8492. <li><?php bugfix(44445); ?> (email validator does not handle domains starting/ending with a -). (Ilia)</li>
  8493. <li><?php bugfix(44440); ?> (st_blocks undefined under BeOS). (Felipe)</li>
  8494. <li><?php bugfix(44394); ?> (Last two bytes missing from output). (Felipe)</li>
  8495. <li><?php bugfix(44388); ?> (Crash inside exif_read_data() on invalid images) (Ilia)</li>
  8496. <li><?php bugfix(44373); ?> (PDO_OCI extension compile failed). (Felipe)</li>
  8497. <li><?php bugfix(44333); ?> (SEGFAULT when using mysql_pconnect() with client_flags). (Felipe)</li>
  8498. <li><?php bugfix(44306); ?> (Better detection of MIPS processors on Windows). (Ilia)</li>
  8499. <li><?php bugfix(44242); ?> (metaphone('CMXFXM') crashes PHP). (Felipe)</li>
  8500. <li><?php bugfix(44233); ?> (MSG_PEEK undefined under BeOS R5). (jonathonfreeman at gmail dot com, Ilia)</li>
  8501. <li><?php bugfix(44216); ?> (strftime segfaults on large negative value). (Derick)</li>
  8502. <li><?php bugfix(44209); ?> (strtotime() doesn't support 64 bit timestamps on 64 bit platforms). (Derick)</li>
  8503. <li><?php bugfix(44206); ?> (OCI8 selecting ref cursors leads to ORA-1000 maximum open cursors reached). (Oracle Corp.)</li>
  8504. <li><?php bugfix(44200); ?> (A crash in PDO when no bound targets exists and yet bound parameters are present). (Ilia)</li>
  8505. <li><?php bugfix(44197); ?> (socket array keys lost on socket_select). (Felipe)</li>
  8506. <li><?php bugfix(44191); ?> (preg_grep messes up array index). (Felipe)</li>
  8507. <li><?php bugfix(44189); ?> (PDO setAttribute() does not properly validate values for native numeric options). (Ilia)</li>
  8508. <li><?php bugfix(44184); ?> (Double free of loop-variable on exception). (Dmitry)</li>
  8509. <li><?php bugfix(44171); ?> (Invalid FETCH_COLUMN index does not raise an error). (Ilia)</li>
  8510. <li><?php bugfix(44166); ?> (Parameter handling flaw in PDO::getAvailableDrivers()). (Ilia)</li>
  8511. <li><?php bugfix(44159); ?> (Crash: $pdo->setAttribute(PDO::STATEMENT_ATTR_CLASS, NULL)). (Felipe)</li>
  8512. <li><?php bugfix(44152); ?> (Possible crash with syslog logging on ZTS builds). (Ilia)</li>
  8513. <li><?php bugfix(44141); ?> (private parent constructor callable through static function). (Dmitry)</li>
  8514. <li><?php bugfix(44113); ?> (OCI8 new collection creation can fail with OCI-22303). (Oracle Corp.)</li>
  8515. <li><?php bugfix(44069); ?> (Huge memory usage with concatenation using . instead of .=). (Dmitry)</li>
  8516. <li><?php bugfix(44046); ?> (crash inside array_slice() function with an invalid by-ref offset). (Ilia)</li>
  8517. <li><?php bugfix(44028); ?> (crash inside stream_socket_enable_crypto() when enabling encryption without crypto type). (Ilia)</li>
  8518. <li><?php bugfix(44018); ?> (RecursiveDirectoryIterator options inconsistancy). (Marcus)</li>
  8519. <li><?php bugfix(44008); ?> (OCI8 incorrect usage of OCI-Lob->close crashes PHP). (Oracle Corp.)</li>
  8520. <li><?php bugfix(43998); ?> (Two error messages returned for incorrect encoding for mb_strto[upper|lower]). (Rui)</li>
  8521. <li><?php bugfix(43994); ?> (mb_ereg 'successfully' matching incorrect). (Rui)</li>
  8522. <li><?php bugfix(43954); ?> (Memory leak when sending the same HTTP status code multiple times). (Scott)</li>
  8523. <li><?php bugfix(43927); ?> (koi8r is missing from html_entity_decode()). (andy at demos dot su, Tony)</li>
  8524. <li><?php bugfix(43912); ?> (Interbase column names are truncated to 31 characters). (Ilia)</li>
  8525. <li><?php bugfix(43875); ?> (Two error messages returned for $new and $flag argument in mysql_connect()). (Hannes)</li>
  8526. <li><?php bugfix(43863); ?> (str_word_count() breaks on cyrillic "ya" in locale cp1251). (phprus at gmail dot com, Tony)</li>
  8527. <li><?php bugfix(43841); ?> (mb_strrpos offset is byte count for negative values). (Rui)</li>
  8528. <li><?php bugfix(43840); ?> (mb_strpos bounds check is byte count rather than a character count). (Rui)</li>
  8529. <li><?php bugfix(43808); ?> (date_create never fails (even when it should)). (Derick)</li>
  8530. <li><?php bugfix(43793); ?> (zlib filter is unable to auto-detect gzip/zlib file headers). (Greg)</li>
  8531. <li><?php bugfix(43703); ?> (Signature compatibility check broken). (Dmitry)</li>
  8532. <li><?php bugfix(43677); ?> (Inconsistent behaviour of include_path set with php_value). (manuel at mausz dot at)</li>
  8533. <li><?php bugfix(43663); ?> (Extending PDO class with a __call() function doesn't work). (David Soria Parra)</li>
  8534. <li><?php bugfix(43647); ?> (Make FindFile use PATH_SEPARATOR instead of ";"). (Ilia)</li>
  8535. <li><?php bugfix(43635); ?> (mysql extension ingores INI settings on NULL values passed to mysql_connect()). (Ilia)</li>
  8536. <li><?php bugfix(43620); ?> (Workaround for a bug inside libcurl 7.16.2 that can result in a crash). (Ilia)</li>
  8537. <li><?php bugfix(43614); ?> (incorrect processing of numerical string keys of array in arbitrary serialized data). (Dmitriy Buldakov, Felipe)</li>
  8538. <li><?php bugfix(43606); ?> (define missing depencies of the exif extension). (crrodriguez at suse dot de)</li>
  8539. <li><?php bugfix(43589); ?> (a possible infinite loop in bz2_filter.c). (Greg)</li>
  8540. <li><?php bugfix(43580); ?> (removed bogus declaration of a non-existent php_is_url() function). (Ilia)</li>
  8541. <li><?php bugfix(43559); ?> (array_merge_recursive() doesn't behave as expected with duplicate NULL values). (Felipe, Tony)</li>
  8542. <li><?php bugfix(43533); ?> (escapeshellarg('') returns null). (Ilia)</li>
  8543. <li><?php bugfix(43527); ?> (DateTime created from a timestamp reports environment timezone). (Derick)</li>
  8544. <li><?php bugfix(43522); ?> (stream_get_line() eats additional characters). (Felipe, Ilia, Tony)</li>
  8545. <li><?php bugfix(43507); ?> (SOAPFault HTTP Status 500 - would like to be able to set the HTTP Status). (Dmitry)</li>
  8546. <li><?php bugfix(43505); ?> (Assign by reference bug). (Dmitry)</li>
  8547. <li><?php bugfix(43498); ?> (file_exists() on a proftpd server got SIZE not allowed in ASCII mode). (Ilia, crrodriguez at suse dot de)</li>
  8548. <li><?php bugfix(43497); ?> (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory). (Chris)</li>
  8549. <li><?php bugfix(43495); ?> (array_merge_recursive() crashes with recursive arrays). (Ilia)</li>
  8550. <li><?php bugfix(43493); ?> (pdo_pgsql does not send username on connect when password is not available). (Ilia)</li>
  8551. <li><?php bugfix(43491); ?> (Under certain conditions, file_exists() never returns). (Dmitry)</li>
  8552. <li><?php bugfix(43483); ?> (get_class_methods() does not list all visible methods). (Dmitry)</li>
  8553. <li><?php bugfix(43482); ?> (array_pad() does not warn on very small pad numbers). (Ilia)</li>
  8554. <li><?php bugfix(43457); ?> (Prepared statement with incorrect parms doesn't throw exception with pdo_pgsql driver). (Ilia)</li>
  8555. <li><?php bugfix(43450); ?> (Memory leak on some functions with implicit object __toString() call). (David C.)</li>
  8556. <li><?php bugfix(43386); ?> (array_globals not reset to 0 properly on init). (Ilia)</li>
  8557. <li><?php bugfix(43377); ?> (PHP crashes with invalid argument for DateTimeZone). (Ilia)</li>
  8558. <li><?php bugfix(43373); ?> (pcntl_fork() should not raise E_ERROR on error). (Ilia)</li>
  8559. <li><?php bugfix(43364); ?> (recursive xincludes don't remove internal xml nodes properly). (Rob, patch from ddb@bitxtender.de)</li>
  8560. <li><?php bugfix(43301); ?> (mb_ereg*_replace() crashes when replacement string is invalid PHP expression and 'e' option is used). (Jani)</li>
  8561. <li><?php bugfix(43295); ?> (crash because of uninitialized SG(sapi_headers).mimetype). (Dmitry)</li>
  8562. <li><?php bugfix(43293); ?> (Multiple segfaults in getopt()). (Hannes)</li>
  8563. <li><?php bugfix(43279); ?> (pg_send_query_params() converts all elements in 'params' to strings). (Ilia)</li>
  8564. <li><?php bugfix(43276); ?> (Incomplete fix for bug <?php bugl(42739); ?>, mkdir() under safe_mode). (Ilia)</li>
  8565. <li><?php bugfix(43248); ?> (backward compatibility break in realpath()). (Dmitry)</li>
  8566. <li><?php bugfix(43221); ?> (SimpleXML adding default namespace in addAttribute). (Rob)</li>
  8567. <li><?php bugfix(43216); ?> (stream_is_local() returns false on "file://"). (Dmitry)</li>
  8568. <li><?php bugfix(43201); ?> (Crash on using uninitialized vals and __get/__set). (Dmitry)</li>
  8569. <li><?php bugfix(43182); ?> (file_put_contents() LOCK_EX does not work properly on file truncation). (Ilia)</li>
  8570. <li><?php bugfix(43175); ?> (__destruct() throwing an exception with __call() causes segfault). (Dmitry)</li>
  8571. <li><?php bugfix(43128); ?> (Very long class name causes segfault). (Dmitry)</li>
  8572. <li><?php bugfix(43105); ?> (PHP seems to fail to close open files). (Hannes)</li>
  8573. <li><?php bugfix(43092); ?> (curl_copy_handle() crashes with > 32 chars long URL). (Jani)</li>
  8574. <li><?php bugfix(43003); ?> (Invalid timezone reported for DateTime objects constructed using a timestamp). (Derick)</li>
  8575. <li><?php bugfix(42978); ?> (mismatch between number of bound params and values causes a crash in pdo_pgsql). (Ilia)</li>
  8576. <li><?php bugfix(42945); ?> (preg_split() swallows part of the string). (Nuno)</li>
  8577. <li><?php bugfix(42937); ?> (__call() method not invoked when methods are called on parent from child class). (Dmitry)</li>
  8578. <li><?php bugfix(42841); ?> (REF CURSOR and oci_new_cursor() crash PHP). (Chris)</li>
  8579. <li><?php bugfix(42838); ?> (Wrong results in array_diff_uassoc) (Felipe)</li>
  8580. <li><?php bugfix(42779); ?> (Incorrect forcing from HTTP/1.0 request to HTTP/1.1 response). (Ilia)</li>
  8581. <li><?php bugfix(42736); ?> (xmlrpc_server_call_method() crashes). (Tony)</li>
  8582. <li><?php bugfix(42692); ?> (Procedure 'int1' not present with doc/lit SoapServer). (Dmitry)</li>
  8583. <li><?php bugfix(42548); ?> (mysqli PROCEDURE calls can't return result sets). (Hartmut)</li>
  8584. <li><?php bugfix(42505); ?> (new sendmail default breaks on Netware platform) (Guenter Knauf)</li>
  8585. <li><?php bugfix(42369); ?> (Implicit conversion to string leaks memory). (David C., Rob).</li>
  8586. <li><?php bugfix(42272); ?> (var_export() incorrectly escapes char(0)). (Derick)</li>
  8587. <li><?php bugfix(42261); ?> (Incorrect lengths for date and boolean data types). (Ilia)</li>
  8588. <li><?php bugfix(42190); ?> (Constructing DateTime with TimeZone Indicator invalidates DateTimeZone). (Derick)</li>
  8589. <li><?php bugfix(42177); ?> (Warning "array_merge_recursive(): recursion detected" comes again...). (Felipe)</li>
  8590. <li><?php bugfix(41941); ?> (oci8 extension not lib64 savvy). (Chris)</li>
  8591. <li><?php bugfix(41828); ?> (Failing to call RecursiveIteratorIterator::__construct() causes a sefault). (Etienne)</li>
  8592. <li><?php bugfix(41599); ?> (setTime() fails after modify() is used). (Derick)</li>
  8593. <li><?php bugfix(41562); ?> (SimpleXML memory issue). (Rob)</li>
  8594. <li><?php bugfix(40013); ?> (php_uname() does not return nodename on Netware (Guenter Knauf)</li>
  8595. <li><?php bugfix(38468); ?> (Unexpected creation of cycle). (Dmitry)</li>
  8596. <li><?php bugfix(32979); ?> (OpenSSL stream-&gt;fd casts broken in 64-bit build) (stotty at tvnet dot hu)</li>
  8597. </ul>
  8598. <!-- }}} --></section>
  8599. <section class="version" id="5.2.5"><!-- {{{ 5.2.5 -->
  8600. <h3>Version 5.2.5</h3>
  8601. <?php release_date('08-Nov-2007'); ?>
  8602. <ul>
  8603. <li>Security Fixes
  8604. <ul>
  8605. <li>Fixed dl() to only accept filenames. reported by Laurent Gaffie.</li>
  8606. <li>Fixed dl() to limit argument size to MAXPATHLEN (CVE-2007-4887).</li>
  8607. <li>Fixed htmlentities/htmlspecialchars not to accept partial multibyte sequences.</li>
  8608. <li>Fixed possible triggering of buffer overflows inside glibc implementations of the fnmatch(), setlocale() and glob() functions. Reported by Laurent Gaffie.</li>
  8609. <li>Fixed "mail.force_extra_parameters" php.ini directive not to be modifiable in .htaccess due to the security implications reported by SecurityReason.</li>
  8610. <li><?php bugfix(42869); ?> (automatic session id insertion adds sessions id to non-local forms).</li>
  8611. <li><?php bugfix(41561); ?> (Values set with php_admin_* in httpd.conf can be overwritten with ini_set()).</li>
  8612. </ul>
  8613. </li>
  8614. <li>Upgraded PCRE to version 7.3 (Nuno)</li>
  8615. <li>Added optional parameter $provide_object to debug_backtrace(). (Sebastian)</li>
  8616. <li>Added alpha support for imagefilter() IMG_FILTER_COLORIZE. (Pierre)</li>
  8617. <li>Added ability to control memory consumption between request using ZEND_MM_COMPACT environment variable. (Dmitry)</li>
  8618. <li>Improved speed of array_intersect_key(), array_intersect_assoc(), array_uintersect_assoc(), array_diff_key(), array_diff_assoc() and array_udiff_assoc(). (Dmitry)</li>
  8619. <li>Fixed move_uploaded_file() to always set file permissions of resulting file according to UMASK. (Andrew Sitnikov)</li>
  8620. <li>Fixed possible crash in ext/soap because of uninitialized value. (Zdash Urf)</li>
  8621. <li>Fixed regression in glob() when enforcing safe_mode/open_basedir checks on paths containing '*'. (Ilia)</li>
  8622. <li>Fixed PDO crash when driver returns empty LOB stream. (Stas)</li>
  8623. <li>Fixed iconv_*() functions to limit argument sizes as workaround to libc bug (CVE-2007-4783, CVE-2007-4840 by Laurent Gaffie). (Christian Hoffmann, Stas)</li>
  8624. <li>Fixed missing brackets leading to build warning and error in the log. Win32 code. (Andrey)</li>
  8625. <li>Fixed leaks with multiple connects on one mysqli object. (Andrey)</li>
  8626. <li>Fixed endianness detection on MacOS when building universal binary. (Uwe Schindler, Christian Speich, Tony)</li>
  8627. <li>Fixed imagerectangle regression with 1x1 rectangle (libgd #106). (Pierre)</li>
  8628. <li><?php bugfix(43196); ?> (array_intersect_assoc() crashes with non-array input). (Jani)</li>
  8629. <li><?php bugfix(43139); ?> (PDO ignores ATTR_DEFAULT_FETCH_MODE in some cases with fetchAll()). (Ilia)</li>
  8630. <li><?php bugfix(43137); ?> (rmdir() and rename() do not clear statcache). (Jani)</li>
  8631. <li><?php bugfix(43130); ?> (Bound parameters cannot have - in their name). (Ilia)</li>
  8632. <li><?php bugfix(43099); ?> (XMLWriter::endElement() does not check # of params). (Ilia)</li>
  8633. <li><?php bugfix(43020); ?> (Warning message is missing with shuffle() and more than one argument). (Scott)</li>
  8634. <li><?php bugfix(42976); ?> (Crash when constructor for newInstance() or newInstanceArgs() fails) (Ilia)</li>
  8635. <li><?php bugfix(42943); ?> (ext/mssql: Move *timeout initialization from RINIT to connect time). (Ilia)</li>
  8636. <li><?php bugfix(42917); ?> (PDO::FETCH_KEY_PAIR doesn't work with setFetchMode). (Ilia)</li>
  8637. <li><?php bugfix(42890); ?> (Constant "LIST" defined by mysqlclient and c-client). (Andrey)</li>
  8638. <li><?php bugfix(42818); ?> ($foo = clone(array()); leaks memory). (Dmitry)</li>
  8639. <li><?php bugfix(42817); ?> (clone() on a non-object does not result in a fatal error). (Ilia)</li>
  8640. <li><?php bugfix(42785); ?> (json_encode() formats doubles according to locale rather then following standard syntax). (Ilia)</li>
  8641. <li><?php bugfix(42783); ?> (pg_insert() does not accept an empty list for insertion). (Ilia)</li>
  8642. <li><?php bugfix(42773); ?> (WSDL error causes HTTP 500 Response). (Dmitry)</li>
  8643. <li><?php bugfix(42772); ?> (Storing $this in a static var fails while handling a cast to string). (Dmitry)</li>
  8644. <li><?php bugfix(42767); ?> (highlight_string() truncates trailing comment). (Ilia)</li>
  8645. <li><?php bugfix(42739); ?> (mkdir() doesn't like a trailing slash when safe_mode is enabled). (Ilia)</li>
  8646. <li><?php bugfix(42703); ?> (Exception raised in an iterator::current() causes segfault in FilterIterator) (Marcus)</li>
  8647. <li><?php bugfix(42699); ?> (PHP_SELF duplicates path). (Dmitry)</li>
  8648. <li><?php bugfix(42654); ?> (RecursiveIteratorIterator modifies only part of leaves) (Marcus)</li>
  8649. <li><?php bugfix(42643); ?> (CLI segfaults if using ATTR_PERSISTENT). (Ilia)</li>
  8650. <li><?php bugfix(42637); ?> (SoapFault : Only http and https are allowed). (Bill Moran)</li>
  8651. <li><?php bugfix(42629); ?> (Dynamically loaded PHP extensions need symbols exported on MacOSX). (jdolecek at NetBSD dot org)</li>
  8652. <li><?php bugfix(42627); ?> (bz2 extension fails to build with -fno-common). (dolecek at netbsd dot org)</li>
  8653. <li><?php bugfix(42596); ?> (session.save_path MODE option does not work). (Ilia)</li>
  8654. <li><?php bugfix(42590); ?> (Make the engine recognize \v and \f escape sequences). (Ilia)</li>
  8655. <li><?php bugfix(42587); ?> (behavior change regarding symlinked .php files). (Dmitry)</li>
  8656. <li><?php bugfix(42579); ?> (apache_reset_timeout() does not exist). (Jani)</li>
  8657. <li><?php bugfix(42549); ?> (ext/mysql failed to compile with libmysql 3.23). (Scott)</li>
  8658. <li><?php bugfix(42523); ?> (PHP_SELF duplicates path). (Dmitry)</li>
  8659. <li><?php bugfix(42512); ?> (ip2long('255.255.255.255') should return 4294967295 on 64-bit PHP). (Derick)</li>
  8660. <li><?php bugfix(42506); ?> (php_pgsql_convert() timezone parse bug) (nonunnet at gmail dot com, Ilia)</li>
  8661. <li><?php bugfix(42462); ?> (Segmentation when trying to set an attribute in a DOMElement). (Rob)</li>
  8662. <li><?php bugfix(42453); ?> (CGI SAPI does not shut down cleanly with -i/-m/-v cmdline options). (Dmitry)</li>
  8663. <li><?php bugfix(42452); ?> (PDO classes do not expose Reflection API information). (Hannes)</li>
  8664. <li><?php bugfix(42468); ?> (Write lock on file_get_contents fails when using a compression stream). (Ilia)</li>
  8665. <li><?php bugfix(42488); ?> (SoapServer reports an encoding error and the error itself breaks). (Dmitry)</li>
  8666. <li><?php bugfix(42378); ?> (mysqli_stmt_bind_result memory exhaustion). (Andrey)</li>
  8667. <li><?php bugfix(42359); ?> (xsd:list type not parsed). (Dmitry)</li>
  8668. <li><?php bugfix(42326); ?> (SoapServer crash). (Dmitry)</li>
  8669. <li><?php bugfix(42214); ?> (SoapServer sends clients internal PHP errors). (Dmitry)</li>
  8670. <li><?php bugfix(42189); ?> (xmlrpc_set_type() crashes php on invalid datetime values). (Ilia)</li>
  8671. <li><?php bugfix(42139); ?> (XMLReader option constants are broken using XML()). (Rob)</li>
  8672. <li><?php bugfix(42086); ?> (SoapServer return Procedure '' not present for WSIBasic compliant wsdl). (Dmitry)</li>
  8673. <li><?php bugfix(41822); ?> (Relative includes broken when getcwd() fails). (Ab5602, Jani)</li>
  8674. <li><?php bugfix(39651); ?> (proc_open() append mode doesn't work on windows). (Nuno)</li>
  8675. </ul>
  8676. <!-- }}} --></section>
  8677. <section class="version" id="5.2.4"><!-- {{{ 5.2.4 -->
  8678. <h3>Version 5.2.4</h3>
  8679. <?php release_date('30-Aug-2007'); ?>
  8680. <ul>
  8681. <li>Security Fixes
  8682. <ul>
  8683. <li>Fixed "Floating point exception" inside wordwrap(). (Mattias Bengtsson, Ilia)</li>
  8684. <li>Fixed several integer overflows in ImageCreate(), ImageCreateTrueColor(), ImageCopyResampled() and ImageFilledPolygon() reported by Mattias Bengtsson. (Tony)</li>
  8685. <li>Fixed size calculation in chunk_split(). (Stas)</li>
  8686. <li>Fixed integer overflow in str[c]spn(). (Stas)</li>
  8687. <li>Fixed money_format() not to accept multiple %i or %n tokens. (Stas, Ilia)</li>
  8688. <li>Fixed zend_alter_ini_entry() memory_limit interruption vulnerability. (Ilia)</li>
  8689. <li>Fixed INFILE LOCAL option handling with MySQL extensions not to be allowed when open_basedir or safe_mode is active. (Stas)</li>
  8690. <li>Fixed session.save_path and error_log values to be checked against open_basedir and safe_mode (CVE-2007-3378) (Stas, Maksymilian Arciemowicz)</li>
  8691. <li>Fixed possible invalid read in glob() win32 implementation (CVE-2007-3806). (Tony)</li>
  8692. <li>Improved fix for MOPB-03-2007. (Ilia)</li>
  8693. <li>Corrected fix for CVE-2007-2872. (Ilia)</li>
  8694. </ul>
  8695. </li>
  8696. <li>Removed --enable-versioning configure option. (Jani)</li>
  8697. <li>Upgraded PCRE to version 7.2 (Nuno)</li>
  8698. <li>Updated timezone database to version 2007.6. (Derick)</li>
  8699. <li>Improved openssl_x509_parse() to return extensions in readable form. (Dmitry)</li>
  8700. <li>Enabled changing the size of statement cache for non-persistent OCI8 connections. (Chris Jones, Tony)</li>
  8701. <li>Changed display_errors php.ini option to accept stderr as value which makes the error messages to be outputted to STDERR instead of STDOUT with CGI and CLI SAPIs (<?php bugl(22839); ?>). (Jani)</li>
  8702. <li>Changed error handler to send HTTP 500 instead of blank page on PHP errors. (Dmitry, Andrei Nigmatulin)</li>
  8703. <li>Changed mail() function to be always available. (Johannes)</li>
  8704. <li>Added check for unknown options passed to configure. (Jani)</li>
  8705. <li>Added persistent connection status checker to pdo_pgsql. (Elvis Pranskevichus, Ilia)</li>
  8706. <li>Added support for ATTR_TIMEOUT inside pdo_pgsql driver. (Ilia)</li>
  8707. <li>Added php_ini_loaded_file() function which returns the path to the actual php.ini in use. (Jani)</li>
  8708. <li>Added GD version constants GD_MAJOR_VERSION, GD_MINOR_VERSION GD_RELEASE_VERSION, GD_EXTRA_VERSION and GD_VERSION_STRING. (Pierre)</li>
  8709. <li>Added missing open_basedir checks to CGI. (anight at eyelinkmedia dot com, Tony)</li>
  8710. <li>Added missing format validator to unpack() function. (Ilia)</li>
  8711. <li>Added missing error check inside bcpowmod(). (Ilia)</li>
  8712. <li>Added CURLOPT_PRIVATE &amp; CURLINFO_PRIVATE constants. (Andrey A. Belashkov, Tony)</li>
  8713. <li>Added missing MSG_EOR and MSG_EOF constants to sockets extension. (Jani)</li>
  8714. <li>Added PCRE_VERSION constant. (Tony)</li>
  8715. <li>Added ReflectionExtension::info() function to print the phpinfo() block for an extension. (Johannes)</li>
  8716. <li>Implemented FR <?php bugl(41884); ?> (ReflectionClass::getDefaultProperties() does not handle static attributes). (Tony)</li>
  8717. <li>Fixed possible crash in imagepsloadfont(), work around a bug in the pslib on Windows. (Pierre)</li>
  8718. <li>Fixed oci8 and PDO_OCI extensions to allow configuring with Oracle 11g client libraries. (Chris Jones)</li>
  8719. <li>Fixed EOF handling in case of reading from file opened in write only mode. (Dmitry)</li>
  8720. <li>Fixed var_export() to use the new H modifier so that it can generate parseable PHP code for floats, independent of the locale. (Derick)</li>
  8721. <li>Fixed regression introduced by the fix for the libgd bug #74. (Pierre)</li>
  8722. <li>Fixed SimpleXML's behavior when used with empty(). (Sara)</li>
  8723. <li>Fixed crash in OpenSSL extension because of non-string passphrase. (Dmitry)</li>
  8724. <li><?php peclbugfix(11345); ?> (PDO_OCI crash after National language Support &quot;NLS&quot; environment initialization error). (Chris Jones)</li>
  8725. <li><?php peclbugfix(11216); ?> (crash in ZipArchive::addEmptyDir when a directory already exists). (Pierre)</li>
  8726. <li><?php bugfix(42368); ?> (Incorrect error message displayed by pg_escape_string). (Ilia)</li>
  8727. <li><?php bugfix(42365); ?> (glob() crashes and/or accepts way too many flags). (Jani)</li>
  8728. <li><?php bugfix(42364); ?> (Crash when using getRealPath with DirectoryIterator). (Johannes)</li>
  8729. <li><?php bugfix(42292); ?> ($PHP_CONFIG not set for phpized builds). (Jani)</li>
  8730. <li><?php bugfix(42261); ?> (header wrong for date field). (roberto at spadim dot com dot br, Ilia)</li>
  8731. <li><?php bugfix(42259); ?> (SimpleXMLIterator loses ancestry). (Rob)</li>
  8732. <li><?php bugfix(42247); ?> (ldap_parse_result() not defined under win32). (Jani)</li>
  8733. <li><?php bugfix(42243); ?> (copy() does not output an error when the first arg is a dir). (Ilia)</li>
  8734. <li><?php bugfix(42242); ?> (sybase_connect() crashes). (Ilia)</li>
  8735. <li><?php bugfix(42237); ?> (stream_copy_to_stream returns invalid values for mmaped streams). (andrew dot minerd at sellingsource dot com, Ilia)</li>
  8736. <li><?php bugfix(42233); ?> (Problems with æøå in extract()). (Jani)</li>
  8737. <li><?php bugfix(42222); ?> (possible buffer overflow in php_openssl_make_REQ). (Pierre)</li>
  8738. <li><?php bugfix(42211); ?> (property_exists() fails to find protected properties from a parent class). (Dmitry)</li>
  8739. <li><?php bugfix(42208); ?> (substr_replace() crashes when the same array is passed more than once). (crrodriguez at suse dot de, Ilia)</li>
  8740. <li><?php bugfix(42198); ?> (SCRIPT_NAME and PHP_SELF truncated when inside a userdir and using PATH_INFO). (Dmitry)</li>
  8741. <li><?php bugfix(42195); ?> (C++ compiler required always). (Jani)</li>
  8742. <li><?php bugfix(42183); ?> (classmap causes crash in non-wsdl mode). (Dmitry)</li>
  8743. <li><?php bugfix(42173); ?> (oci8 INTERVAL and TIMESTAMP type fixes). (Chris)</li>
  8744. <li><?php bugfix(42151); ?> (__destruct functions not called after catching a SoapFault exception). (Dmitry)</li>
  8745. <li><?php bugfix(42142); ?> (substr_replace() returns FALSE when length &gt; string length). (Ilia) </li>
  8746. <li><?php bugfix(42135); ?> (Second call of session_start() causes creation of SID). (Ilia)</li>
  8747. <li><?php bugfix(42134); ?> (oci_error() returns false after oci_new_collection() fails). (Tony)</li>
  8748. <li><?php bugfix(42119); ?> (array_push($arr,&amp;$obj) doesn't work with zend.ze1_compatibility_mode On). (Dmitry)</li>
  8749. <li><?php bugfix(42117); ?> (bzip2.compress loses data in internal buffer). (Philip, Ilia)</li>
  8750. <li><?php bugfix(42112); ?> (deleting a node produces memory corruption). (Rob)</li>
  8751. <li><?php bugfix(42107); ?> (sscanf broken when using %2$s format parameters). (Jani)</li>
  8752. <li><?php bugfix(42090); ?> (json_decode causes segmentation fault). (Hannes)</li>
  8753. <li><?php bugfix(42082); ?> (NodeList length zero should be empty). (Hannes)</li>
  8754. <li><?php bugfix(42072); ?> (No warning message for clearstatcache() with arguments). (Ilia)</li>
  8755. <li><?php bugfix(42071); ?> (ini scanner allows using NULL as option name). (Jani)</li>
  8756. <li><?php bugfix(42027); ?> (is_file() / is_dir() matches file/dirnames with wildcard char or trailing slash in Windows). (Dmitry)</li>
  8757. <li><?php bugfix(42019); ?> (configure option --with-adabas=DIR does not work). (Jani)</li>
  8758. <li><?php bugfix(42015); ?> (ldap_rename(): server error &quot;DSA is unwilling to perform&quot;). (bob at mroczka dot com, Jani)</li>
  8759. <li><?php bugfix(42009); ?> (is_a() and is_subclass_of() should NOT call autoload, in the same way as &quot;instanceof&quot; operator). (Dmitry)</li>
  8760. <li><?php bugfix(41989); ?> (move_uploaded_file() &amp; relative path in ZTS mode). (Tony)</li>
  8761. <li><?php bugfix(41984); ?> (Hangs on large SoapClient requests). (Dmitry)</li>
  8762. <li><?php bugfix(41983); ?> (Error Fetching http headers terminated by '\n'). (Dmitry)</li>
  8763. <li><?php bugfix(41973); ?> (--with-ldap=shared fails with LDFLAGS=&quot;-Wl,--as-needed&quot;). (Nuno)</li>
  8764. <li><?php bugfix(41971); ?> (PDOStatement::fetch and PDOStatement::setFetchMode causes unexpected behavior). (Ilia)</li>
  8765. <li><?php bugfix(41964); ?> (strtotime returns a timestamp for non-time string of pattern '(A|a) .+'). (Derick)</li>
  8766. <li><?php bugfix(41961); ?> (Ensure search for hidden private methods does not stray from class hierarchy). (robin_fernandes at uk dot ibm dot com)</li>
  8767. <li><?php bugfix(41947); ?> (SimpleXML incorrectly registers empty strings as namespaces). (Rob)</li>
  8768. <li><?php bugfix(41929); ?> (Foreach on object does not iterate over all visible properties). (Dmitry)</li>
  8769. <li><?php bugfix(41919); ?> (crash in string to array conversion). (judas dot iscariote at gmail dot com, Ilia)</li>
  8770. <li><?php bugfix(41909); ?> (var_export() is locale sensitive when exporting float values). (Derick)</li>
  8771. <li><?php bugfix(41908); ?> (CFLAGS=&quot;-Os&quot; ./configure --enable-debug fails). (christian at hoffie dot info, Tony) </li>
  8772. <li><?php bugfix(41904); ?> (proc_open(): empty env array should cause empty environment to be passed to process). (Jani)</li>
  8773. <li><?php bugfix(41867); ?> (SimpleXML: getName is broken). (Rob)</li>
  8774. <li><?php bugfix(41865); ?> (fputcsv(): 2nd parameter is not optional). (Jani)</li>
  8775. <li><?php bugfix(41861); ?> (SimpleXML: getNamespaces() returns the namespaces of a node's siblings). (Rob)</li>
  8776. <li><?php bugfix(41845); ?> (pgsql extension does not compile with PostgreSQL &lt;7.4). (Ilia)</li>
  8777. <li><?php bugfix(41844); ?> (Format returns incorrect number of digits for negative years -0001 to -0999). (Derick)</li>
  8778. <li><?php bugfix(41842); ?> (Cannot create years &lt; 0100 &amp; negative years with date_create or new DateTime). (Derick)</li>
  8779. <li><?php bugfix(41833); ?> (addChild() on a non-existent node, no node created, getName() segfaults). (Rob)</li>
  8780. <li><?php bugfix(41831); ?> (pdo_sqlite prepared statements convert resources to strings). (Ilia)</li>
  8781. <li><?php bugfix(41815); ?> (Concurrent read/write fails when EOF is reached). (Sascha)</li>
  8782. <li><?php bugfix(41813); ?> (segmentation fault when using string offset as an object). (judas dot iscariote at gmail dot com, Tony)</li>
  8783. <li><?php bugfix(41795); ?> (checkdnsrr does not support DNS_TXT type). (lucas at facebook dot com, Tony)</li>
  8784. <li><?php bugfix(41773); ?> (php_strip_whitespace() sends headers with errors suppressed). (Tony)</li>
  8785. <li><?php bugfix(41770); ?> (SSL: fatal protocol error due to buffer issues). (Ilia)</li>
  8786. <li><?php bugfix(41765); ?> (Recode crashes/does not work on amd64). (nexus at smoula dot net, Stas)</li>
  8787. <li><?php bugfix(41724); ?> (libxml_get_last_error() - errors service request scope). (thekid at php dot net, Ilia)</li>
  8788. <li><?php bugfix(41717); ?> (imagepolygon does not respect thickness). (Pierre)</li>
  8789. <li><?php bugfix(41713); ?> (Persistent memory consumption on win32 since 5.2). (Dmitry)</li>
  8790. <li><?php bugfix(41711); ?> (NULL temporary lobs not supported in OCI8). (Chris Jones, Tony)</li>
  8791. <li><?php bugfix(41709); ?> (strtotime() does not handle 00.00.0000). (Derick)</li>
  8792. <li><?php bugfix(41698); ?> (float parameters truncated to integer in prepared statements). (Ilia)</li>
  8793. <li><?php bugfix(41692); ?> (ArrayObject shows weird behavior in respect to inheritance). (Tony)</li>
  8794. <li><?php bugfix(41691); ?> (ArrayObject::exchangeArray hangs Apache). (Tony)</li>
  8795. <li><?php bugfix(41686); ?> (Omitting length param in array_slice not possible). (Ilia)</li>
  8796. <li><?php bugfix(41685); ?> (array_push() fails to warn when next index is already occupied). (Ilia)</li>
  8797. <li><?php bugfix(41655); ?> (open_basedir bypass via glob()). (Ilia)</li>
  8798. <li><?php bugfix(41640); ?> (get_class_vars produces error on class constants). (Johannes)</li>
  8799. <li><?php bugfix(41635); ?> (SoapServer and zlib.output_compression with FastCGI result in major slowdown). (Dmitry)</li>
  8800. <li><?php bugfix(41633); ?> (Crash instantiating classes with self-referencing constants). (Dmitry)</li>
  8801. <li><?php bugfix(41630); ?> (segfault when an invalid color index is present in the image data). (Reported by Elliot wccoder@gmail dot com) (Pierre)</li>
  8802. <li><?php bugfix(41628); ?> (PHP settings leak between Virtual Hosts in Apache 1.3). (Scott, manuel at mausz dot at)</li>
  8803. <li><?php bugfix(41608); ?> (segfault on a weird code with objects and switch()). (Tony)</li>
  8804. <li><?php bugfix(41600); ?> (url rewriter tags doesn't work with namespaced tags). (Ilia)</li>
  8805. <li><?php bugfix(41596); ?> (Fixed a crash inside pdo_pgsql on some non-well-formed SQL queries). (Ilia)</li>
  8806. <li><?php bugfix(41594); ?> (OCI8 statement cache is flushed too frequently). (Tony)</li>
  8807. <li><?php bugfix(41582); ?> (SimpleXML crashes when accessing newly created element). (Tony)</li>
  8808. <li><?php bugfix(41576); ?> (configure failure when using --without-apxs or some other SAPIs disabling options). (Jani)</li>
  8809. <li><?php bugfix(41567); ?> (json_encode() double conversion is inconsistent with PHP). (Lucas, Ilia)</li>
  8810. <li><?php bugfix(41566); ?> (SOAP Server not properly generating href attributes). (Dmitry)</li>
  8811. <li><?php bugfix(41555); ?> (configure failure: regression caused by fix for <?php bugl(41265); ?>). (Jani)</li>
  8812. <li><?php bugfix(41527); ?> (WDDX deserialize numeric string array key). (Matt, Ilia)</li>
  8813. <li><?php bugfix(41523); ?> (strtotime('0000-00-00 00:00:00') is parsed as 1999-11-30). (Derick)</li>
  8814. <li><?php bugfix(41518); ?> (file_exists() warns of open_basedir restriction on non-existent file). (Tony)</li>
  8815. <li><?php bugfix(41445); ?> (parse_ini_file() has a problem with certain types of integer as sections). (Tony)</li>
  8816. <li><?php bugfix(41433); ?> (DBA: configure fails to include correct db.h for db4). (Jani)</li>
  8817. <li><?php bugfix(41372); ?> (Internal pointer of source array resets during array copying). (Dmitry)</li>
  8818. <li><?php bugfix(41350); ?> (my_thread_global_end() error during request shutdown on Windows). (Scott, Andrey)</li>
  8819. <li><?php bugfix(41278); ?> (get_loaded_extensions() should list Zend extensions). (Johannes)</li>
  8820. <li><?php bugfix(41127); ?> (Memory leak in ldap_{first|next}_attribute functions). (Jani)</li>
  8821. <li><?php bugfix(40757); ?> (get_object_vars get nothing in child class). (Dmitry)</li>
  8822. <li><?php bugfix(40705); ?> (Iterating within function moves original array pointer). (Dmitry)</li>
  8823. <li><?php bugfix(40509); ?> (key() function changed behaviour if global array is used within function). (Dmitry)</li>
  8824. <li><?php bugfix(40419); ?> (Trailing slash in CGI request does not work). (Dmitry)</li>
  8825. <li><?php bugfix(39330); ?> (apache2handler does not call shutdown actions before apache child die). (isk at ecommerce dot com, Gopal, Tony)</li>
  8826. <li><?php bugfix(39291); ?> (ldap_sasl_bind() misses the sasl_authc_id parameter). (diafour at gmail dot com, Jani)</li>
  8827. <li><?php bugfix(37715); ?> (array pointers resetting on copy). (Dmitry)</li>
  8828. <li><?php bugfix(37273); ?> (Symlinks and mod_files session handler allow open_basedir bypass). (Ilia)</li>
  8829. <li><?php bugfix(36492); ?> (Userfilters can leak buckets). (Sara)</li>
  8830. <li>Fixed bugs <?php bugl(36796); ?>, <?php bugl(36918); ?>, <?php bugl(41371); ?> (stream_set_blocking() does not work). (Jani)</li>
  8831. <li><?php bugfix(35981); ?> (pdo-pgsql should not use pkg-config when not present). (Jani)</li>
  8832. <li><?php bugfix(31892); ?> (PHP_SELF incorrect without cgi.fix_pathinfo, but turning on screws up PATH_INFO). (Dmitry)</li>
  8833. <li><?php bugfix(21197); ?> (socket_read() outputs error with PHP_NORMAL_READ). (Nuno, Jani)</li>
  8834. </ul>
  8835. <!-- }}} --></section>
  8836. <section class="version" id="5.2.3"><!-- {{{ 5.2.3 -->
  8837. <h3>Version 5.2.3</h3>
  8838. <?php release_date('31-May-2007'); ?>
  8839. <ul>
  8840. <li>Security Fixes
  8841. <ul>
  8842. <li>Fixed an integer overflow inside chunk_split() (by Gerhard Wagner, CVE-2007-2872)</li>
  8843. <li>Fixed possible infinite loop in imagecreatefrompng. (by Xavier Roche, CVE-2007-2756)</li>
  8844. <li>Fixed ext/filter Email Validation Vulnerability (MOPB-45 by Stefan Esser, CVE-2007-1900)</li>
  8845. <li><?php bugfix(41492); ?> (open_basedir/safe_mode bypass inside realpath()) (by bugs dot php dot net at chsc dot dk)</li>
  8846. <li>Improved fix for CVE-2007-1887 to work with non-bundled sqlite2 lib.</li>
  8847. <li>Added mysql_set_charset() to allow runtime altering of connection encoding.</li>
  8848. </ul>
  8849. </li>
  8850. <li>Changed CGI install target to php-cgi and 'make install' to install CLI when CGI is selected. (Jani)</li>
  8851. <li>Changed JSON maximum nesting depth from 20 to 128. (Rasmus)</li>
  8852. <li>Improved compilation of heredocs and interpolated strings. (Matt, Dmitry)</li>
  8853. <li>Optimized out a couple of per-request syscalls. (Rasmus)</li>
  8854. <li>Optimized digest generation in md5() and sha1() functions. (Ilia)</li>
  8855. <li>Upgraded bundled SQLite 3 to version 3.3.17. (Ilia)</li>
  8856. <li>Added "max_input_nesting_level" php.ini option to limit nesting level of input variables. Fix for MOPB-03-2007. (Stas)</li>
  8857. <li>Added a 4th parameter flag to htmlspecialchars() and htmlentities() that makes the function not encode existing html entities. (Ilia)</li>
  8858. <li>Added PDO::FETCH_KEY_PAIR mode that will fetch a 2 column result set into an associated array. (Ilia)</li>
  8859. <li>Added CURLOPT_TIMEOUT_MS and CURLOPT_CONNECTTIMEOUT_MS cURL constants. (Sara)</li>
  8860. <li>Added --ini switch to CLI that prints out configuration file names. (Marcus)</li>
  8861. <li>Implemented FR <?php bugl(41416); ?> (getColumnMeta() should also return table name). (Tony)</li>
  8862. <li>Fixed filetype() and linkinfo() processing of symlinks on ZTS systems. (Oliver Block, Tony, Dmitry)</li>
  8863. <li>Fixed SOAP extension's handler() to work even when "always_populate_raw_post_data" is off. (Ilia)</li>
  8864. <li>Fixed altering $this via argument named "this". (Dmitry)</li>
  8865. <li>Fixed PHP CLI usage of php.ini from the binary location. (Hannes)</li>
  8866. <li>Fixed segfault in strripos(). (Tony, Joxean Koret)</li>
  8867. <li>Fixed gd build when used with freetype 1.x (Pierre, Tony)</li>
  8868. <li><?php bugfix(41525); ?> (ReflectionParameter::getPosition() not available). (Marcus)</li>
  8869. <li><?php bugfix(41511); ?> (Compile failure under IRIX 6.5.30 building md5.c). (Jani)</li>
  8870. <li><?php bugfix(41504); ?> (json_decode() incorrectly decodes JSON arrays with empty string keys). (Ilia)</li>
  8871. <li><?php bugfix(41477); ?> (no arginfo about SoapClient::__soapCall()). (Ilia)</li>
  8872. <li><?php bugfix(41455); ?> (ext/dba/config.m4 pollutes global $LIBS and $LDFLAGS). (mmarek at suse dot cz, Tony)</li>
  8873. <li><?php bugfix(41442); ?> (imagegd2() under output control). (Tony)</li>
  8874. <li><?php bugfix(41430); ?> (Fatal error with negative values of maxlen parameter of file_get_contents()). (Tony)</li>
  8875. <li><?php bugfix(41423); ?> (PHP assumes wrongly that certain ciphers are enabled in OpenSSL). (Pierre)</li>
  8876. <li><?php bugfix(41421); ?> (Uncaught exception from a stream wrapper segfaults). (Tony, Dmitry)</li>
  8877. <li><?php bugfix(41403); ?> (json_decode cannot decode floats if localeconv decimal_point is not '.'). (Tony)</li>
  8878. <li><?php bugfix(41401); ?> (wrong unary operator precedence). (Stas)</li>
  8879. <li><?php bugfix(41394); ?> (dbase_create creates file with corrupted header). (Tony)</li>
  8880. <li><?php bugfix(41390); ?> (Clarify error message with invalid protocol scheme). (Scott)</li>
  8881. <li><?php bugfix(41378); ?> (fastcgi protocol lacks support for Reason-Phrase in "Status:" header). (anight at eyelinkmedia dot com, Dmitry)</li>
  8882. <li><?php bugfix(41374); ?> (whole text concats values of wrong nodes). (Rob)</li>
  8883. <li><?php bugfix(41358); ?> (configure cannot determine SSL lib with libcurl >= 7.16.2). (Mike)</li>
  8884. <li><?php bugfix(41353); ?> (crash in openssl_pkcs12_read() on invalid input). (Ilia)</li>
  8885. <li><?php bugfix(41351); ?> (Invalid opcode with foreach ($a[] as $b)). (Dmitry, Tony)</li>
  8886. <li><?php bugfix(41347); ?> (checkdnsrr() segfaults on empty hostname). (Scott)</li>
  8887. <li><?php bugfix(41337); ?> (WSDL parsing doesn't ignore non soap bindings). (Dmitry)</li>
  8888. <li><?php bugfix(41326); ?> (Writing empty tags with Xmlwriter::WriteElement[ns]) (Pierre)</li>
  8889. <li><?php bugfix(41321); ?> (downgrade read errors in getimagesize() to E_NOTICE). (Ilia)</li>
  8890. <li><?php bugfix(41304); ?> (compress.zlib temp files left). (Dmitry)</li>
  8891. <li><?php bugfix(41293); ?> (Fixed creation of HTTP_RAW_POST_DATA when there is no default post handler). (Ilia)</li>
  8892. <li><?php bugfix(41291); ?> (FastCGI does not set SO_REUSEADDR). (fmajid at kefta dot com, Dmitry)</li>
  8893. <li><?php bugfix(41287); ?> (Namespace functions don't allow xmlns definition to be optional). (Rob)</li>
  8894. <li><?php bugfix(41283); ?> (Bug with deserializing array key that are doubles or floats in wddx). (Ilia)</li>
  8895. <li><?php bugfix(41257); ?> (lookupNamespaceURI does not work as expected). (Rob)</li>
  8896. <li><?php bugfix(41236); ?> (Regression in timeout handling of non-blocking SSL connections during reads and writes). (Ilia)</li>
  8897. <li><?php bugfix(41134); ?> (zend_ts_hash_clean not thread-safe). (marco dot cova at gmail dot com, Tony)</li>
  8898. <li><?php bugfix(41097); ?> (ext/soap returning associative array as indexed without using WSDL). (Dmitry)</li>
  8899. <li><?php bugfix(41004); ?> (minOccurs="0" and null class member variable). (Dmitry)</li>
  8900. <li><?php bugfix(39542); ?> (Behavior of require/include different to &lt; 5.2.0). (Dmitry)</li>
  8901. </ul>
  8902. <!-- }}} --></section>
  8903. <section class="version" id="5.2.2"><!-- {{{ 5.2.2 -->
  8904. <h3>Version 5.2.2</h3>
  8905. <?php release_date('03-May-2007'); ?>
  8906. <ul>
  8907. <li>Security Fixes
  8908. <ul>
  8909. <li>Fixed CVE-2007-1001, GD wbmp used with invalid image size (by Ivan Fratric) (Pierre)</li>
  8910. <li>Fixed a header injection via Subject and To parameters to the mail() function (MOPB-34 by Stefan Esser) (Ilia)</li>
  8911. <li>Fixed asciiz byte truncation inside mail() (MOPB-33 by Stefan Esser) (Ilia)</li>
  8912. <li>Fixed wrong length calculation in unserialize S type (MOPB-29 by Stefan Esser) (Stas)</li>
  8913. <li>Fixed a bug in mb_parse_str() that can be used to activate register_globals (MOPB-26 by Stefan Esser) (Ilia)</li>
  8914. <li>Fixed unallocated memory access/double free in in array_user_key_compare() (MOPB-24 by Stefan Esser) (Stas)</li>
  8915. <li>Fixed a double free inside session_regenerate_id() (MOPB-22 by Stefan Esser) (Ilia)</li>
  8916. <li>Added missing open_basedir &amp; safe_mode checks to zip:// and bzip:// wrappers. (MOPB-20, MOPB-21 by Stefan Esser). (Ilia)</li>
  8917. <li>Fixed substr_compare and substr_count information leak (MOPB-14 by Stefan Esser) (Stas, Ilia)</li>
  8918. <li>Limit nesting level of input variables with max_input_nesting_level as fix for (MOPB-03 by Stefan Esser) (Stas)</li>
  8919. <li>Fixed CRLF injection inside ftp_putcmd(). (by loveshell[at]Bug.Center.Team) (Ilia)</li>
  8920. <li>Fixed a possible super-global overwrite inside import_request_variables(). (by Stefano Di Paola, Stefan Esser) (Ilia)</li>
  8921. <li>Fixed a remotely trigger-able buffer overflow inside make_http_soap_request(). (Ilia)</li>
  8922. <li>Fixed a buffer overflow inside user_filter_factory_create(). (Ilia)</li>
  8923. <li>Fixed a remotely trigger-able buffer overflow inside bundled libxmlrpc library. (Stas)</li>
  8924. </ul>
  8925. </li>
  8926. <li>Improved bundled GD
  8927. <ul>
  8928. <li>Sync to 2.0.35</li>
  8929. <li>Added imagegrabwindow and imagegrabscreen, capture a screen or a window using its handle (Pierre)</li>
  8930. <li>colors allocated henceforth from the resulting image overwrite the palette colors (Rob Leslie)</li>
  8931. <li>Improved thread safety of the gif support (Roman Nemecek, Nuno, Pierre)
  8932. <ul>
  8933. <li>Use the dimension of the GIF frame to create the destination image (Pierre)</li>
  8934. <li>Load only once the local color map from a GIF data (Pierre)</li>
  8935. </ul>
  8936. </li>
  8937. </ul>
  8938. </li>
  8939. <li>Improved thread safety of the freetype cache (Scott MacVicar, Nuno, Pierre)
  8940. <ul>
  8941. <li>imagearc huge CPU usage with large angles, libgd bug #74 (Pierre)</li>
  8942. </ul>
  8943. </li>
  8944. <li>Improved FastCGI SAPI to support external pipe and socket servers on win32. (Dmitry)</li>
  8945. <li>Improved Zend Memory Manager
  8946. <ul>
  8947. <li>guarantee of reasonable time for worst cases of best-fit free block searching algorithm. (Dmitry)</li>
  8948. <li>better cache usage and less fragmentation on erealloc() (Tony, Dmitry)</li>
  8949. </ul>
  8950. </li>
  8951. <li>Improved SPL (Marcus)
  8952. <ul>
  8953. <li>Added SplFileInfo::getBasename(), DirectoryIterator::getBasename().</li>
  8954. <li>Added SplFileInfo::getLinkTarget(), SplFileInfo::getRealPath().</li>
  8955. <li>Made RecursiveFilterIterator::accept() abstract as stated in documentation.</li>
  8956. </ul>
  8957. </li>
  8958. <li>Improved SOAP
  8959. <ul>
  8960. <li>Added ability to encode arrays with &quot;SOAP-ENC:Array&quot; type instead of WSDL type. To activate the ability use &quot;feature&quot;=&gt;SOAP_USE_XSI_ARRAY_TYPE option in SoapClient/SoapServer constructors. (Rob, Dmitry)</li>
  8961. </ul>
  8962. </li>
  8963. <li>Added GMP_VERSION constant. (Tony)</li>
  8964. <li>Added --ri switch to CLI which allows to check extension information. (Marcus)</li>
  8965. <li>Added tidyNode::getParent() method (John, Nuno)</li>
  8966. <li>Added openbasedir and safemode checks in zip:// stream wrapper and ZipArchive::open (Pierre)</li>
  8967. <li>Added php_pdo_sqlite_external.dll, a version of the PDO SQLite driver that links against an external sqlite3.dll. This provides Windows users to upgrade their sqlite3 version outside of the PHP release cycle. (Wez, Edin)</li>
  8968. <li>Added linenumbers to array returned by token_get_all(). (Johannes)</li>
  8969. <li>Implement #40947, allow a single filter as argument for filter_var_array (Pierre)</li>
  8970. <li>Implement #39867 (openssl PKCS#12 support) (Marc Delling, Pierre)</li>
  8971. <li>Upgraded SQLite 3 to version 3.3.16 (Ilia)</li>
  8972. <li>Upgraded libraries bundled in the Windows distribution. (Edin)
  8973. <ul>
  8974. <li>c-client (imap) to version 2006e</li>
  8975. <li>libpq (PostgreSQL) to version 8.2.3</li>
  8976. <li>libmysql (MySQL) to version 5.0.37</li>
  8977. <li>openssl to version 0.9.8e</li>
  8978. </ul>
  8979. </li>
  8980. <li>Upgraded PCRE to version 7.0 (Nuno)</li>
  8981. <li>Updated timezone database to version 2007.5. (Derick)</li>
  8982. <li>Fixed commandline handling for CLI and CGI. (Marcus, Johannes)</li>
  8983. <li>Fixed iterator_apply() with a callback using __call(). (Johannes)</li>
  8984. <li>Fixed possible multi bytes issues in openssl csr parser (Pierre)</li>
  8985. <li>Fixed shmop_open() with IPC_CREAT|IPC_EXCL flags on Windows. (Vladimir Kamaev, Tony).</li>
  8986. <li>Fixed possible leak in ZipArchive::extractTo when safemode checks fails (Ilia)</li>
  8987. <li>Fixed possible relative path issues in zip_open and TS mode (old API) (Pierre)</li>
  8988. <li>Fixed zend_llist_remove_tail (Michael Wallner, Dmitry)</li>
  8989. <li>Fixed a thread safety issue in gd gif read code (Nuno, Roman Nemecek)</li>
  8990. <li>Fixed crash on op-assign where argument is string offset (Brian, Stas)</li>
  8991. <li><?php bugfix(41215); ?> (setAttribute return code reversed). (Ilia)</li>
  8992. <li><?php bugfix(41192); ?> (Per Directory Values only work for one key). (Dmitry)</li>
  8993. <li><?php bugfix(41175); ?> (addAttribute() fails to add an attribute with an empty value). (Ilia)</li>
  8994. <li><?php bugfix(41159); ?> (mysql_pconnect() hash does not account for connect flags). (Ilia)</li>
  8995. <li><?php bugfix(41121); ?> (range() overflow handling for large numbers on 32bit machines). (Ilia)</li>
  8996. <li><?php bugfix(41118); ?> (PHP does not handle overflow of octal integers). (Tony)</li>
  8997. <li><?php bugfix(41109); ?> (recursiveiterator.inc says &quot;implements&quot; Iterator instead of &quot;extends&quot;). (Marcus)</li>
  8998. <li><?php bugfix(40130); ?> (TTF usage doesn't work properly under Netware). (Scott, gk at gknw dot de)</li>
  8999. <li><?php bugfix(41093); ?> (magic_quotes_gpc ignores first arrays keys). (Arpad, Ilia)</li>
  9000. <li><?php bugfix(41075); ?> (memleak when creating default object caused exception). (Dmitry)</li>
  9001. <li><?php bugfix(41067); ?> (json_encode() problem with UTF-16 input). (jp at df5ea dot net. Ilia)</li>
  9002. <li><?php bugfix(41063); ?> (chdir doesn't like root paths). (Dmitry)</li>
  9003. <li><?php bugfix(41061); ?> (&quot;visibility error&quot; in ReflectionFunction::export()). (Johannes)</li>
  9004. <li><?php bugfix(41043); ?> (pdo_oci crash when freeing error text with persistent connection). (Tony)</li>
  9005. <li><?php bugfix(41037); ?> (unregister_tick_function() inside the tick function crash PHP). (Tony)</li>
  9006. <li><?php bugfix(41034); ?> (json_encode() ignores null byte started keys in arrays). (Ilia)</li>
  9007. <li><?php bugfix(41026); ?> (segfault when calling &quot;self::method()&quot; in shutdown functions). (Tony)</li>
  9008. <li><?php bugfix(40999); ?> (mcrypt_create_iv() not using random seed). (Ilia)</li>
  9009. <li><?php bugfix(40998); ?> (long session array keys are truncated). (Tony)</li>
  9010. <li><?php bugfix(40935); ?> (pdo_mysql does not raise an exception on empty fetchAll()). (Ilia)</li>
  9011. <li><?php bugfix(40931); ?> (open_basedir bypass via symlink and move_uploaded_file()). (Tony)</li>
  9012. <li><?php bugfix(40921); ?> (php_default_post_reader crashes when post_max_size is exceeded). (trickie at gmail dot com, Ilia)</li>
  9013. <li><?php bugfix(40915); ?> (addcslashes unexpected behavior with binary input). (Tony)</li>
  9014. <li><?php bugfix(40899); ?> (memory leak when nesting list()). (Dmitry)</li>
  9015. <li><?php bugfix(40897); ?> (error_log file not locked). (Ilia)</li>
  9016. <li><?php bugfix(40883); ?> (mysql_query() is allocating memory incorrectly). (Tony)</li>
  9017. <li><?php bugfix(40872); ?> (inconsistency in offsetSet, offsetExists treatment of string enclosed integers). (Marcus)</li>
  9018. <li><?php bugfix(40861); ?> (strtotime() doesn't handle double negative relative time units correctly). (Derick, Ilia)</li>
  9019. <li><?php bugfix(40854); ?> (imap_mail_compose() creates an invalid terminator for multipart e-mails). (Ilia)</li>
  9020. <li><?php bugfix(40848); ?> (sorting issue on 64-bit Solaris). (Wez)</li>
  9021. <li><?php bugfix(40836); ?> (Segfault in ext/dom). (Rob)</li>
  9022. <li><?php bugfix(40833); ?> (Crash when using unset() on an ArrayAccess object retrieved via __get()). (Dmitry)</li>
  9023. <li><?php bugfix(40822); ?> (pdo_mysql does not return rowCount() on select). (Ilia)</li>
  9024. <li><?php bugfix(40815); ?> (using strings like &quot;class::func&quot; and static methods in set_exception_handler() might result in crash). (Tony)</li>
  9025. <li><?php bugfix(40809); ?> (Poor performance of &quot;.=&quot;). (Dmitry)</li>
  9026. <li><?php bugfix(40805); ?> (Failure executing function ibase_execute()). (Tony)</li>
  9027. <li><?php bugfix(40800); ?> (cannot disable memory_limit with -1). (Dmitry, Tony)</li>
  9028. <li><?php bugfix(40794); ?> (ReflectionObject::getValues() may crash when used with dynamic properties). (Tony)</li>
  9029. <li><?php bugfix(40784); ?> (Case sensitivity in constructor's fallback). (Tony)</li>
  9030. <li><?php bugfix(40770); ?> (Apache child exits when PHP memory limit reached). (Dmitry)</li>
  9031. <li><?php bugfix(40764); ?> (line thickness not respected for horizontal and vertical lines). (Pierre)</li>
  9032. <li><?php bugfix(40758); ?> (Test fcgi_is_fastcgi() is wrong on windows). (Dmitry)</li>
  9033. <li><?php bugfix(40754); ?> (added substr() &amp; substr_replace() overflow checks). (Ilia)</li>
  9034. <li><?php bugfix(40752); ?> (parse_ini_file() segfaults when a scalar setting is redeclared as an array). (Tony)</li>
  9035. <li><?php bugfix(40750); ?> (openssl stream wrapper ignores default_stream_timeout). (Tony)</li>
  9036. <li><?php bugfix(40727); ?> (segfault in PDO when failed to bind parameters). (Tony)</li>
  9037. <li><?php bugfix(40709); ?> (array_reduce() behaves strange with one item stored arrays). (Ilia)</li>
  9038. <li><?php bugfix(40703); ?> (Resolved a possible namespace conflict between libxmlrpc and MySQL's NDB table handler). (Ilia)</li>
  9039. <li><?php bugfix(40961); ?> (Incorrect results of DateTime equality check). (Mike)</li>
  9040. <li><?php bugfix(40678); ?> (Cross compilation fails). (Tony)</li>
  9041. <li><?php bugfix(40621); ?> (Crash when constructor called inappropriately). (Tony)</li>
  9042. <li><?php bugfix(40609); ?> (Segfaults when using more than one SoapVar in a request). (Rob, Dmitry)</li>
  9043. <li><?php bugfix(40606); ?> (umask is not being restored when request is finished). (Tony)</li>
  9044. <li><?php bugfix(40598); ?> (libxml segfault). (Rob)</li>
  9045. <li><?php bugfix(40591); ?> (list()=&quot;string&quot;; gives invalid opcode). (Dmitry)</li>
  9046. <li><?php bugfix(40578); ?> (imagettftext() multithreading issue). (Tony, Pierre)</li>
  9047. <li><?php bugfix(40576); ?> (double values are truncated to 6 decimal digits when encoding). (Tony)</li>
  9048. <li><?php bugfix(40560); ?> (DIR functions do not work on root UNC path). (Dmitry)</li>
  9049. <li><?php bugfix(40548); ?> (SplFileInfo::getOwner/getGroup give a warning on broken symlink). (Marcus)</li>
  9050. <li><?php bugfix(40546); ?> (SplFileInfo::getPathInfo() throws an exception if directory is in root dir). (Marcus)</li>
  9051. <li><?php bugfix(40545); ?> (multithreading issue in zend_strtod()). (Tony)</li>
  9052. <li><?php bugfix(40503); ?> (json_encode() value corruption on 32bit systems with overflown values). (Ilia)</li>
  9053. <li><?php bugfix(40467); ?> (Partial SOAP request sent when XSD sequence or choice include minOccurs=0). (Dmitry) </li>
  9054. <li><?php bugfix(40465); ?> (Ensure that all PHP elements are printed by var_dump). (wharmby at uk dot ibm dot com, Ilia)</li>
  9055. <li><?php bugfix(40464); ?> (session.save_path wont use default-value when safe_mode or open_basedir is enabled). (Ilia)</li>
  9056. <li><?php bugfix(40455); ?> (proc_open() uses wrong command line when safe_mode_exec_dir is set). (Tony)</li>
  9057. <li><?php bugfix(40432); ?> (strip_tags() fails with greater than in attribute). (Ilia)</li>
  9058. <li><?php bugfix(40431); ?> (dynamic properties may cause crash in ReflectionProperty methods). (Tony)</li>
  9059. <li><?php bugfix(40451); ?> (addAttribute() may crash when used with non-existent child node). (Tony)</li>
  9060. <li><?php bugfix(40442); ?> (ArrayObject::offsetExists broke in 5.2.1, works in 5.2.0). (olivier at elma dot fr, Marcus)</li>
  9061. <li><?php bugfix(40428); ?> (imagepstext() doesn't accept optional parameter). (Pierre)</li>
  9062. <li><?php bugfix(40417); ?> (Allow multiple instances of the same named PDO token in prepared statement emulation code). (Ilia)</li>
  9063. <li><?php bugfix(40414); ?> (possible endless fork() loop when running fastcgi). (Dmitry)</li>
  9064. <li><?php bugfix(40410); ?> (ext/posix does not compile on MacOS 10.3.9). (Tony)</li>
  9065. <li><?php bugfix(40392); ?> (memory leaks in PHP milter SAPI). (tuxracer69 at gmail dot com, Tony)</li>
  9066. <li><?php bugfix(40371); ?> (pg_client_encoding() not working on Windows). (Edin)</li>
  9067. <li><?php bugfix(40352); ?> (FCGI_WEB_SERVER_ADDRS function get lost). (Dmitry)</li>
  9068. <li><?php bugfix(40290); ?> (strtotime() returns unexpected result with particular timezone offset). (Derick)</li>
  9069. <li><?php bugfix(40286); ?> (PHP fastcgi with PHP_FCGI_CHILDREN don't kill children when parent is killed). (Dmitry)</li>
  9070. <li><?php bugfix(40261); ?> (Extremely slow data handling due to memory fragmentation). (Dmitry)</li>
  9071. <li><?php bugfix(40236); ?> (php -a function allocation eats memory). (Dmitry)</li>
  9072. <li><?php bugfix(40109); ?> (iptcembed fails on non-jfif jpegs). (Tony)</li>
  9073. <li><?php bugfix(39965); ?> (Latitude and longitude are backwards in date_sun_info()). (Derick)</li>
  9074. <li><?php bugfix(39836); ?> (SplObjectStorage empty after unserialize). (Marcus)</li>
  9075. <li><?php bugfix(39416); ?> (Milliseconds in date()). (Derick)</li>
  9076. <li><?php bugfix(39396); ?> (stream_set_blocking crashes on Win32). (Ilia, maurice at iceblog dot de)</li>
  9077. <li><?php bugfix(39351); ?> (relative include fails on Solaris). (Dmitry, Tony)</li>
  9078. <li><?php bugfix(39322); ?> (proc_terminate() destroys process resource). (Nuno)</li>
  9079. <li><?php bugfix(38406); ?> (crash when assigning objects to SimpleXML attributes). (Tony)</li>
  9080. <li><?php bugfix(37799); ?> (ftp_ssl_connect() falls back to non-ssl connection). (Nuno)</li>
  9081. <li><?php bugfix(36496); ?> (SSL support in imap_open() not working on Windows). (Edin)</li>
  9082. <li><?php bugfix(36226); ?> (Inconsistent handling when passing nillable arrays). (Dmitry)</li>
  9083. <li><?php bugfix(35872); ?> (Avoid crash caused by object store being referenced during RSHUTDOWN). (Andy) </li>
  9084. <li><?php bugfix(34794); ?> (proc_close() hangs when used with two processes). (jdolecek at netbsd dot org, Nuno)</li>
  9085. <li><?php bugfix(38710); ?> (data leakage because of nonexisting boundary checking in statements in mysqli) (Stas)</li>
  9086. <li><?php bugfix(37386); ?> (autocreating element doesn't assign value to first node). (Rob)</li>
  9087. <li><?php bugfix(37013); ?> (server hangs when returning circular object references). (Dmitry)</li>
  9088. <li><?php bugfix(33664); ?> Console window appears when using exec() (Richard Quadling, Stas)</li>
  9089. <li><?php peclbugfix(10194); ?> (crash in Oracle client when memory limit reached in the callback). (Tony)</li>
  9090. </ul>
  9091. <!-- }}} --></section>
  9092. <section class="version" id="5.2.1"><!-- {{{ 5.2.1 -->
  9093. <h3>Version 5.2.1</h3>
  9094. <?php release_date('08-Feb-2007'); ?>
  9095. <ul>
  9096. <li>Added CURLOPT_TCP_NODELAY constant to Curl extension. (Sara)</li>
  9097. <li>Added support for hex numbers of any size. (Matt)</li>
  9098. <li>Added function stream_socket_shutdown(). It is a wrapper for system shutdown() function, that shut downs part of a full-duplex connection. (Dmitry)</li>
  9099. <li>Added internal heap protection (Dmitry)
  9100. <ul>
  9101. <li>memory-limit is always enabled (--enable-memory-limit removed)</li>
  9102. <li>default value if memory-limit is set to 128M</li>
  9103. <li>safe unlinking</li>
  9104. <li>cookies</li>
  9105. <li>canary protection (debug build only)</li>
  9106. <li>random generation of cookies and canaries</li>
  9107. </ul>
  9108. </li>
  9109. <li>Added forward support for 'b' prefix in front of string literals. (Andrei)</li>
  9110. <li>Added three new functions to ext/xmlwriter (Rob, Ilia)
  9111. <ul>
  9112. <li>xmlwriter_start_dtd_entity()</li>
  9113. <li>xmlwriter_end_dtd_entity()</li>
  9114. <li>xmlwriter_write_dtd_entity()</li>
  9115. </ul>
  9116. </li>
  9117. <li>Added a meta tag to phpinfo() output to prevent search engines from indexing the page. (Ilia)</li>
  9118. <li>Added new function, sys_get_temp_dir(). (Hartmut)</li>
  9119. <li>Added missing object support to file_put_contents(). (Ilia)</li>
  9120. <li>Added support for md2, ripemd256 and ripemd320 algos to hash(). (Sara)</li>
  9121. <li>Added forward support for (binary) cast. (Derick)</li>
  9122. <li>Added optimization for imageline with horizontal and vertical lines (Pierre)</li>
  9123. <li>Removed dependency from SHELL32.DLL. (Dmitry)</li>
  9124. <li>Removed double &quot;wrong parameter count&quot; warnings in various functions. (Hannes)</li>
  9125. <li>Moved extensions to PECL:
  9126. <ul>
  9127. <li>ext/informix (Derick, Tony)</li>
  9128. </ul>
  9129. </li>
  9130. <li>Changed double-to-string utilities to use BSD implementation. (Dmitry, Tony)</li>
  9131. <li>Updated bundled libcURL to version 7.16.0 in the Windows distro. (Edin)</li>
  9132. <li>Updated timezone database to version 2006.16. (Derick)</li>
  9133. <li>cgi.* and fastcgi.* directives are moved to INI subsystem. The new directive cgi.check_shebang_line can be used to omitting check for &quot;#! /usr/bin/php&quot; line. (Dmitry).</li>
  9134. <li>Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE. (Dmitry)</li>
  9135. <li>VCWD_REALPATH() is improved to use realpath cache without VIRTUAL_DIR. (Dmitry)</li>
  9136. <li>ext/bcmath initialization code is moved from request startup to module startup. (Dmitry)</li>
  9137. <li>Zend Memory Manager Improvements (Dmitry)
  9138. <ul>
  9139. <li>use HeapAlloc() instead of VirtualAlloc()</li>
  9140. <li>use &quot;win32&quot; storage manager (instead of &quot;malloc&quot;) on Windows by default</li>
  9141. </ul>
  9142. </li>
  9143. <li>Zip Extension Improvements (Pierre)
  9144. <ul>
  9145. <li>Fixed leak in statName and stateIndex</li>
  9146. <li>Fixed return setComment (Hannes)</li>
  9147. <li>Added addEmptyDir method</li>
  9148. </ul>
  9149. </li>
  9150. <li>Filter Extension Improvements (Ilia, Pierre)
  9151. <ul>
  9152. <li>Fixed a bug when callback function returns a non-modified value.</li>
  9153. <li>Added filter support for $_SERVER in cgi/apache2 sapis.</li>
  9154. <li>Make sure PHP_SELF is filtered in Apache 1 sapi.</li>
  9155. <li><?php bugfix(39358); ?> (INSTALL_HEADERS contains incorrect reference to php_filter.h).</li>
  9156. <li>Added &quot;default&quot; option that allows a default value to be set for an invalid or missing value.</li>
  9157. <li>Invalid filters fails instead of returning unsafe value</li>
  9158. <li>Fixed possible double encoding problem with sanitizing filters</li>
  9159. <li>Make use of space-strict strip_tags() function</li>
  9160. <li>Fixed whitespace trimming</li>
  9161. <li>Added support for FastCGI environment variables. (Dmitry)</li>
  9162. </ul>
  9163. </li>
  9164. <li>PDO_MySQL Extension Improvements (Ilia)
  9165. <ul>
  9166. <li>Enabled buffered queries by default.</li>
  9167. <li>Enabled prepared statement emulation by default.</li>
  9168. </ul>
  9169. </li>
  9170. <li>Small optimization of the date() function. (Matt,Ilia)</li>
  9171. <li>Optimized the internal is_numeric_string() function. (Matt,Ilia)</li>
  9172. <li>Optimized array functions utilizing php_splice(). (Ilia)</li>
  9173. <li>Windows related optimizations (Dmitry, Stas)
  9174. <ul>
  9175. <li>COM initialization/deinitialization are done only if necessary</li>
  9176. <li>removed unnecessary checks for ISREG file and corresponding stat() calls</li>
  9177. <li>opendir() is reimplementation using GetFirstFile/GetNextFile those are faster then _findfirst/_findnext</li>
  9178. <li>implemented registry cache that prevent registry lookup on each request. In case of modification of corresponding registry-tree PHP will reload it automatic</li>
  9179. <li>start timeout thread only if necessary</li>
  9180. <li>stat() is reimplementation using GetFileAttributesEx(). The new implementation is faster then implementation in MS VC CRT, but it doesn't support Windows 95.</li>
  9181. </ul>
  9182. </li>
  9183. <li>Streams optimization (Dmitry)
  9184. <ul>
  9185. <li>removed unnecessary ftell() calls (one call for each included PHP file)</li>
  9186. <li>disabled calls to read() after EOF</li>
  9187. </ul>
  9188. </li>
  9189. <li>Fixed incorrect function names on FreeBSD where inet_pton() was named __inet_pton() and inet_ntop() was named __inet_ntop(). (Hannes)</li>
  9190. <li>Fixed FastCGI impersonation for persistent connections on Windows. (Dmitry)</li>
  9191. <li>Fixed wrong signature initialization in imagepng (Takeshi Abe)</li>
  9192. <li>Fixed ftruncate() with negative size on FreeBSD. (Hannes)</li>
  9193. <li>Fixed segfault in RegexIterator when given invalid regex. (Hannes)</li>
  9194. <li>Fixed segfault in SplFileObject-&gt;openFile()-&gt;getPathname(). (Hannes)</li>
  9195. <li>Fixed segfault in ZTS mode when OCI8 statements containing sub-statements are destroyed in wrong order. (Tony)</li>
  9196. <li>Fixed the validate email filter so that the letter &quot;v&quot; can also be used in the user part of the email address. (Derick)</li>
  9197. <li><?php bugfix(40297); ?> (compile failure in ZTS mode when collections support is missing). (Tony)</li>
  9198. <li><?php bugfix(40285); ?> (The PDO prepare parser goes into an infinite loop in some instances). (Ilia)</li>
  9199. <li><?php bugfix(40274); ?> (Sessions fail with numeric root keys). (Ilia)</li>
  9200. <li><?php bugfix(40259); ?> (ob_start call many times - memory error). (Dmitry)</li>
  9201. <li><?php bugfix(40231); ?> (file_exists incorrectly reports false). (Dmitry)</li>
  9202. <li><?php bugfix(40228); ?> (ZipArchive::extractTo does create empty directories recursively). (Pierre)</li>
  9203. <li><?php bugfix(40200); ?> (The FastCgi version has different realpath results than thread safe version). (Dmitry)</li>
  9204. <li><?php bugfix(40191); ?> (use of array_unique() with objects triggers segfault). (Tony)</li>
  9205. <li><?php bugfix(40189); ?> (possible endless loop in zlib.inflate stream filter). (Greg, Tony)</li>
  9206. <li><?php bugfix(40169); ?> (CURLOPT_TCP_NODELAY only available in curl >= 7.11.2). (Tony)</li>
  9207. <li><?php bugfix(40129); ?> (iconv extension doesn't compile with CodeWarrior on Netware). (gk at gknw dot de, Tony)</li>
  9208. <li><?php bugfix(40127); ?> (apache2handler doesn't compile on Netware). (gk at gknw dot de)</li>
  9209. <li><?php bugfix(40121); ?> (PDO_DBLIB driver wont free statements). (Ilia)</li>
  9210. <li><?php bugfix(40098); ?> (php_fopen_primary_script() not thread safe). (Ilia)</li>
  9211. <li><?php bugfix(40092); ?> (chroot() doesn't clear realpath cache). (Dmitry)</li>
  9212. <li><?php bugfix(40091); ?> (spl_autoload_register with 2 instances of the same class). (Ilia)</li>
  9213. <li><?php bugfix(40083); ?> (milter SAPI functions always return false/null). (Tony)</li>
  9214. <li><?php bugfix(40079); ?> (php_get_current_user() not thread safe). (Ilia, wharmby at uk dot ibm dot com)</li>
  9215. <li><?php bugfix(40078); ?> (ORA-01405 when fetching NULL values using oci_bind_array_by_name()). (Tony)</li>
  9216. <li><?php bugfix(40076); ?> (zend_alloc.c: Value of enumeration constant must be in range of signed integer). (Dmitry)</li>
  9217. <li><?php bugfix(40073); ?> (exif_read_data dies on certain images). (Tony, Marcus)</li>
  9218. <li><?php bugfix(40036); ?> (empty() does not work correctly with ArrayObject when using ARRAY_AS_PROPS). (Ilia)</li>
  9219. <li><?php bugfix(40012); ?> (php_date.c doesn't compile on Netware). (gk at gknw dot de, Derick)</li>
  9220. <li><?php bugfix(40009); ?> (http_build_query(array()) returns NULL). (Ilia)</li>
  9221. <li><?php bugfix(40002); ?> (Try/Catch performs poorly). (Dmitry)</li>
  9222. <li><?php bugfix(39993); ?> (tr_TR.UTF-8 locale has problems with PHP). (Ilia)</li>
  9223. <li><?php bugfix(39990); ?> (Cannot &quot;foreach&quot; over overloaded properties). (Dmitry)</li>
  9224. <li><?php bugfix(39988); ?> (type argument of oci_define_by_name() is ignored). (Chris Jones, Tony)</li>
  9225. <li><?php bugfix(39984); ?> (redirect response code in header() could be ignored in CGI sapi). (Ilia)</li>
  9226. <li><?php bugfix(39979); ?> (PGSQL_CONNECT_FORCE_NEW will causes next connect to establish a new connection). (Ilia)</li>
  9227. <li><?php bugfix(39971); ?> (pg_insert/pg_update do not allow now() to be used for timestamp fields). (Ilia)</li>
  9228. <li><?php bugfix(39969); ?> (ini setting short_open_tag has no effect when using --enable-maintainer-zts). (Dmitry)</li>
  9229. <li><?php bugfix(39952); ?> (zip ignoring --with-libdir on zlib checks) (judas dot iscariote at gmail dot com)</li>
  9230. <li><?php bugfix(39944); ?> (References broken). (Dmitry)</li>
  9231. <li><?php bugfix(39935); ?> (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores --with-libdir). (judas dot iscariote at gmail dot com, Derick)</li>
  9232. <li><?php bugfix(39903); ?> (Notice message when executing __halt_compiler() more than once). (Tony)</li>
  9233. <li><?php bugfix(39898); ?> (FILTER_VALIDATE_URL validates \r\n\t etc). (Ilia)</li>
  9234. <li><?php bugfix(39890); ?> (using autoconf 2.6x and --with-layout=GNU breaks PEAR install path). (Tony)</li>
  9235. <li><?php bugfix(39884); ?> (ReflectionParameter::getClass() throws exception for type hint self). (thekid at php dot net)</li>
  9236. <li><?php bugfix(39878); ?> (CURL doesn't compile on Sun Studio Pro). (Ilia)</li>
  9237. <li><?php bugfix(39873); ?> (number_format() breaks with locale &amp; decimal points). (Ilia)</li>
  9238. <li><?php bugfix(39869); ?> (safe_read does not initialize errno). (michiel at boland dot org, Dmitry)</li>
  9239. <li><?php bugfix(39850); ?> (SplFileObject throws contradictory/wrong error messages when trying to open &quot;php://wrong&quot;). (Tony)</li>
  9240. <li><?php bugfix(39846); ?> (Invalid IPv4 treated as valid). (Ilia)</li>
  9241. <li><?php bugfix(39845); ?> (Persistent connections generate a warning in pdo_pgsql). (Ilia)</li>
  9242. <li><?php bugfix(39832); ?> (SOAP Server: parameter not matching the WSDL specified type are set to 0). (Dmitry)</li>
  9243. <li><?php bugfix(39825); ?> (foreach produces memory error). (Dmitry)</li>
  9244. <li><?php bugfix(39816); ?> (apxs2filter ignores httpd.conf &amp; .htaccess php config settings). (Ilia)</li>
  9245. <li><?php bugfix(39815); ?> (SOAP double encoding is not locale-independent). (Dmitry)</li>
  9246. <li><?php bugfix(39797); ?> (virtual() does not reset changed INI settings). (Ilia) </li>
  9247. <li><?php bugfix(39795); ?> (build fails on AIX because crypt_r() uses different data struct). (Tony)</li>
  9248. <li><?php bugfix(39791); ?> (Crash in strtotime() on overly long relative date multipliers). (Ilia)</li>
  9249. <li><?php bugfix(39787); ?> (PHP doesn't work with Apache 2.3). (mv at binarysec dot com).</li>
  9250. <li><?php bugfix(39782); ?> (setTime() on a DateTime constructed with a Weekday yields incorrect results). (Ilia)</li>
  9251. <li><?php bugfix(39780); ?> (PNG image with CRC/data error raises fatal error) (Pierre)</li>
  9252. <li><?php bugfix(39779); ?> (Enable AUTH PLAIN mechanism in underlying libc-client). (michael dot heimpold at s2000 dot tu-chemnitz dot de, Ilia)</li>
  9253. <li><?php bugfix(39775); ?> (&quot;Indirect modification ...&quot; message is not shown). (Dmitry)</li>
  9254. <li><?php bugfix(39763); ?> (magic quotes are applied twice by ext/filter in parse_str()). (Ilia) </li>
  9255. <li><?php bugfix(39760); ?> (cloning fails on nested SimpleXML-Object). (Rob)</li>
  9256. <li><?php bugfix(39759); ?> (Can't use stored procedures fetching multiple result sets in pdo_mysql). (Ilia)</li>
  9257. <li><?php bugfix(39754); ?> (Some POSIX extension functions not thread safe). (Ilia, wharmby at uk dot ibm dot com)</li>
  9258. <li><?php bugfix(39751); ?> (putenv crash on Windows). (KevinJohnHoffman at gmail.com)</li>
  9259. <li><?php bugfix(39732); ?> (oci_bind_array_by_name doesn't work on Solaris 64bit). (Tony)</li>
  9260. <li><?php bugfix(39724); ?> (Broken build due to spl/filter usage of pcre extension). (Tony, Ilia)</li>
  9261. <li><?php bugfix(39718); ?> (possible crash if assert.callback is set in ini). (Ilia)</li>
  9262. <li><?php bugfix(39702); ?> (php crashes in the allocator on linux-m68k). (Dmitry)</li>
  9263. <li><?php bugfix(39685); ?> (iconv() - undefined function). (Hannes)</li>
  9264. <li><?php bugfix(39673); ?> (file_get_contents causes bus error on certain offsets). (Tony)</li>
  9265. <li><?php bugfix(39663); ?> (Memory leak in pg_get_notify() and a possible memory corruption on Windows in pgsql and pdo_pgsql extensions). (Ilia, matteo at beccati dot com)</li>
  9266. <li><?php bugfix(39662); ?> (Segfault when calling asXML() of a cloned SimpleXMLElement). (Rob, Tony)</li>
  9267. <li><?php bugfix(39656); ?> (crash when calling fetch() on a PDO statment object after closeCursor()). (Ilia, Tony)</li>
  9268. <li><?php bugfix(39653); ?> (ext/dba doesn't check for db-4.5 and db-4.4 when db4 support is enabled). (Tony)</li>
  9269. <li><?php bugfix(39652); ?> (Wrong negative results from memory_get_usage()). (Dmitry)</li>
  9270. <li><?php bugfix(39648); ?> (Implementation of PHP functions chown() and chgrp() are not thread safe). (Ilia, wharmby at uk dot ibm dot com)</li>
  9271. <li><?php bugfix(39640); ?> (Segfault with &quot;Allowed memory size exhausted&quot;). (Dmitry)</li>
  9272. <li><?php bugfix(39625); ?> (Apache crashes on importStylesheet call). (Rob)</li>
  9273. <li><?php bugfix(39623); ?> (thread safety fixes on *nix for putenv() &amp; mime_magic). (Ilia, wharmby at uk dot ibm dot com)</li>
  9274. <li><?php bugfix(39621); ?> (str_replace() is not binary safe on strings with equal length). (Tony)</li>
  9275. <li><?php bugfix(39613); ?> (Possible segfault in imap initialization due to missing module dependency). (wharmby at uk dot ibm dot com, Tony)</li>
  9276. <li><?php bugfix(39606); ?> (Use of com.typelib_file in PHP.ini STILL causes A/V). (Rob)</li>
  9277. <li><?php bugfix(39602); ?> (Invalid session.save_handler crashes PHP). (Dmitry)</li>
  9278. <li><?php bugfix(39596); ?> (Creating Variant of type VT_ARRAY). (Rob)</li>
  9279. <li><?php bugfix(39583); ?> (ftp_put() does not change transfer mode to ASCII). (Tony)</li>
  9280. <li><?php bugfix(39576); ?> (array_walk() doesn't separate user data zval). (Tony)</li>
  9281. <li><?php bugfix(39575); ?> (move_uploaded_file() no longer working (safe mode related)). (Tony)</li>
  9282. <li><?php bugfix(39571); ?> (timeout ssl:// connections). (Ilia)</li>
  9283. <li><?php bugfix(39564); ?> (PDO::errorInfo() returns inconsistent information when sqlite3_step() fails). (Tony)</li>
  9284. <li><?php bugfix(39548); ?> (ZMSG_LOG_SCRIPT_NAME not routed to OutputDebugString() on Windows). (Dmitry)</li>
  9285. <li><?php bugfix(39538); ?> (fgetcsv can't handle starting newlines and trailing odd number of backslashes). (David Soria Parra, Pierre)</li>
  9286. <li><?php bugfix(39534); ?> (Error in maths to calculate of ZEND_MM_ALIGNED_MIN_HEADER_SIZE). (wharmby at uk dot ibm dot com, Dmitry)</li>
  9287. <li><?php bugfix(39527); ?> (Failure to retrieve results when multiple unbuffered, prepared statements are used in pdo_mysql). (Ilia)</li>
  9288. <li><?php bugfix(39508); ?> (imagefill crashes with small images 3 pixels or less). (Pierre)</li>
  9289. <li><?php bugfix(39506); ?> (Archive corrupt with ZipArchive::addFile method). (Pierre)</li>
  9290. <li><?php bugfix(39504); ?> (xmlwriter_write_dtd_entity() creates Attlist tag, not entity). (Hannes)</li>
  9291. <li><?php bugfix(39483); ?> (Problem with handling of \ char in prepared statements). (Ilia, suhachov at gmail dot com)</li>
  9292. <li><?php bugfix(39458); ?> (ftp_nlist() returns false on empty dirs). (Nuno)</li>
  9293. <li><?php bugfix(39454); ?> (Returning a SOAP array segfaults PHP). (Dmitry)</li>
  9294. <li><?php bugfix(39450); ?> (getenv() fills other super-globals). (Ilia, Tony)</li>
  9295. <li><?php bugfix(39449); ?> (Overloaded array properties do not work correctly). (Dmitry)</li>
  9296. <li><?php bugfix(39445); ?> (Calling debug_backtrace() in the __toString() function produces a crash). (Dmitry)</li>
  9297. <li><?php bugfix(39438); ?> (Fatal error: Out of memory). (Dmitry)</li>
  9298. <li><?php bugfix(39435); ?> ('foo' instanceof bar gives invalid opcode error). (Sara)</li>
  9299. <li><?php bugfix(39414); ?> (Syntax error while compiling with Sun Workshop Complier). (Johannes)</li>
  9300. <li><?php bugfix(39398); ?> (Booleans are not automatically translated to integers). (Ilia)</li>
  9301. <li><?php bugfix(39394); ?> (Missing check for older variants of openssl). (Ilia)</li>
  9302. <li><?php bugfix(39367); ?> (clearstatcache() doesn't clear realpath cache). (j at pureftpd dot org, Dmitry)</li>
  9303. <li><?php bugfix(39366); ?> (imagerotate does not use alpha with angle > 45 degrees) (Pierre)</li>
  9304. <li><?php bugfix(39364); ?> (Removed warning on empty haystack inside mb_strstr()). (Ilia)</li>
  9305. <li><?php bugfix(39362); ?> (Added an option to imap_open/imap_reopen to control the number of connection retries). (Ilia)</li>
  9306. <li>Fixed bugs <?php bugl(39361); ?>, <?php bugl(39400); ?> (mbstring function overloading problem). (Seiji)</li>
  9307. <li><?php bugfix(39354); ?> (Allow building of curl extension against libcurl 7.16.0). (Ilia) </li>
  9308. <li><?php bugfix(39350); ?> (crash with implode(&quot;\n&quot;, array(false))). (Ilia)</li>
  9309. <li><?php bugfix(39344); ?> (Unnecessary calls to OnModify callback routine for an extension INI directive). (wharmby at uk dot ibm dot com, Dmitry)</li>
  9310. <li><?php bugfix(39320); ?> (ZEND_HASH_APPLY_STOP causes deletion). (Marcus)</li>
  9311. <li><?php bugfix(39313); ?> (spl_autoload triggers Fatal error). (Marcus)</li>
  9312. <li><?php bugfix(39300); ?> (make install fails if wget is not available). (Tony)</li>
  9313. <li><?php bugfix(39297); ?> (Memory corruption because of indirect modification of overloaded array). (Dmitry)</li>
  9314. <li><?php bugfix(39286); ?> (misleading error message when invalid dimensions are given) (Pierre)</li>
  9315. <li><?php bugfix(39273); ?> (imagecopyresized may ignore alpha channel) (Pierre)</li>
  9316. <li><?php bugfix(39265); ?> (Fixed path handling inside mod_files.sh). (michal dot taborsky at gmail dot com, Ilia)</li>
  9317. <li><?php bugfix(39217); ?> (serialNumber might be -1 when the value is too large). (Pierre, Tony)</li>
  9318. <li><?php bugfix(39215); ?> (Inappropriate close of stdin/stdout/stderr). (Wez, Ilia)</li>
  9319. <li><?php bugfix(39201); ?> (Possible crash in Apache 2 with 413 ErrorHandler). (Ilia)</li>
  9320. <li><?php bugfix(39151); ?> (Parse error in recursiveiteratoriterator.php). (Marcus)</li>
  9321. <li><?php bugfix(39121); ?> (Incorrect return array handling in non-wsdl soap client). (Dmitry)</li>
  9322. <li><?php bugfix(39090); ?> (DirectoryFilterDots doxygen docs and example is wrong). (Marcus)</li>
  9323. <li><?php bugfix(38852); ?> (XML-RPC Breaks iconv). (Hannes)</li>
  9324. <li><?php bugfix(38770); ?> (unpack() broken with longs on 64 bit machines). (Ilia, David Soria Parra).</li>
  9325. <li><?php bugfix(38698); ?> (for some keys cdbmake creates corrupted db and cdb can't read valid db). (Marcus)</li>
  9326. <li><?php bugfix(38680); ?> (Added missing handling of basic types in json_decode). (Ilia)</li>
  9327. <li><?php bugfix(38604); ?> (Fixed request time leak inside foreach() when iterating through virtual properties). (Dmitry)</li>
  9328. <li><?php bugfix(38602); ?> (header( &quot;HTTP/1.0 ...&quot; ) does not change proto version). (Ilia)</li>
  9329. <li><?php bugfix(38542); ?> (proc_get_status() returns wrong PID on windows). (Nuno)</li>
  9330. <li><?php bugfix(38536); ?> (SOAP returns an array of values instead of an object). (Dmitry)</li>
  9331. <li><?php bugfix(38456); ?> (Apache2 segfaults when virtual() is called in .php ErrorDocument). (Ilia)</li>
  9332. <li><?php bugfix(38325); ?> (spl_autoload_register() gives wrong line for &quot;class not found&quot;). (Ilia)</li>
  9333. <li><?php bugfix(38319); ?> (Remove bogus warnings from persistent PDO connections). (Ilia)</li>
  9334. <li><?php bugfix(38274); ?> (Memlimit fatal error sent to &quot;wrong&quot; stderr when using fastcgi). (Dmitry)</li>
  9335. <li><?php bugfix(38252); ?> (Incorrect PDO error message on invalid default fetch mode). (Ilia)</li>
  9336. <li><?php bugfix(37927); ?> (Prevent trap when COM extension processes argument of type VT_DISPATCH|VT_REF) (Andy)</li>
  9337. <li><?php bugfix(37773); ?> (iconv_substr() gives &quot;Unknown error&quot; when string length = 1&quot;). (Ilia)</li>
  9338. <li><?php bugfix(37627); ?> (session save_path check checks the parent directory). (Ilia)</li>
  9339. <li><?php bugfix(37619); ?> (proc_open() closes stdin on fork() failure). (jdolecek at NetBSD dot org, Nuno)</li>
  9340. <li><?php bugfix(37588); ?> (COM Property propputref converts to PHP function and can't be accesed). (Rob)</li>
  9341. <li><?php bugfix(36975); ?> (natcasesort() causes array_pop() to misbehave). (Hannes)</li>
  9342. <li><?php bugfix(36812); ?> (pg_execute() modifies input array). (Ilia)</li>
  9343. <li><?php bugfix(36798); ?> (Error parsing named parameters with queries containing high-ascii chars). (Ilia)</li>
  9344. <li><?php bugfix(36644); ?> (possible crash in variant_date_from_timestamp()). (Ilia)</li>
  9345. <li><?php bugfix(36427); ?> (proc_open() / proc_close() leak handles on windows). (jdolecek at NetBSD dot org, Nuno)</li>
  9346. <li><?php bugfix(36392); ?> (wrong number of decimal digits with %e specifier in sprintf). (Matt,Ilia)</li>
  9347. <li><?php bugfix(36214); ?> (__get method works properly only when conditional operator is used). (Dmitry)</li>
  9348. <li><?php bugfix(35634); ?> (Erroneous &quot;Class declarations may not be nested&quot; error raised). (Carl P. Corliss, Dmitry)</li>
  9349. <li><?php bugfix(35106); ?> (nested foreach fails when array variable has a reference). (Dmitry)</li>
  9350. <li><?php bugfix(34564); ?> (COM extension not returning modified &quot;out&quot; argument) (Andy)</li>
  9351. <li><?php bugfix(33734); ?> (Something strange with COM Object). (Rob)</li>
  9352. <li><?php bugfix(33386); ?> (ScriptControl only sees last function of class). (Rob)</li>
  9353. <li><?php bugfix(33282); ?> (Re-assignment by reference does not clear the is_ref flag) (Ilia, Dmitry, Matt Wilmas)</li>
  9354. <li><?php bugfix(30074); ?> (apparent symbol table error with extract($blah, EXTR_REFS)) (Brian)</li>
  9355. <li><?php bugfix(29840); ?> (is_executable() does not honor safe_mode_exec_dir setting). (Ilia)</li>
  9356. <li><?php peclbugfix(7295); ?> (ORA-01405: fetched column value is NULL on LOB fields). (Tony)</li>
  9357. </ul>
  9358. <!-- }}} --></section>
  9359. <section class="version" id="5.2.0"><!-- {{{ 5.2.0 -->
  9360. <h3>Version 5.2.0</h3>
  9361. <?php release_date('02-Nov-2006'); ?>
  9362. <ul>
  9363. <li>Updated bundled OpenSSL to version 0.9.8d in the Windows distro. (Edin)</li>
  9364. <li>Updated Postgresql client libraries to 8.1.4 in the Windows distro. (Edin)</li>
  9365. <li>Updated PCRE to version 6.7. (Ilia)</li>
  9366. <li>Updated libsqlite in ext/pdo_sqlite to 3.3.7. (Ilia)</li>
  9367. <li>Updated bundled MySQL client library to version 5.0.22 in the Windows distribution. (Edin)</li>
  9368. <li>Updated timezonedb to version 2006.14. (Derick)</li>
  9369. <li>Added ability to make SOAP call userspace PHP&lt;-&gt;XML converters. (Dmitry)</li>
  9370. <li>Added support for character sets in pg_escape_string() for PostgreSQL 8.1.4 and higher. (Ilia)</li>
  9371. <li>Added support for character sets in PDO quote() method for PostgreSQL 8.1.4 and higher. (Ilia)</li>
  9372. <li>Added DSA key generation support to openssl_pkey_new(), FR <?php bugl(38731); ?> (marci at balabit dot hu, Tony)</li>
  9373. <li>Added SoapServer::setObject() method (it is a simplified version of SoapServer::setClass() method). (Dmitry)</li>
  9374. <li>Added support for hexadecimal entity in imagettftext() for the bundled GD. (Pierre)</li>
  9375. <li>Added support for httpOnly flag for session extension and cookie setting functions. (Scott MacVicar, Ilia)</li>
  9376. <li>Added version specific registry keys to allow different configurations for different php version. (Richard, Dmitry)</li>
  9377. <li>Added &quot;PHPINIDir&quot; Apache directive to apache and apache_hooks SAPIs. (Dmitry)</li>
  9378. <li>Added an optional boolean parameter to memory_get_usage() and memory_get_peak_usage() to get memory size allocated by emalloc() or real size of memory allocated from system. (Dmitry)</li>
  9379. <li>Added Zip Archive extension. (Pierre)</li>
  9380. <li>Added RFC1867 fileupload processing hook. (Stefan E.)</li>
  9381. <li>Added JSON and Filter extensions. (Derick, Rasmus, Pierre, Ilia)</li>
  9382. <li>Added error messages to disk_free_space() and disk_total_space() functions. FR <?php bugl(37971); ?> (Tony)</li>
  9383. <li>Added PATHINFO_FILENAME option to pathinfo() to get the filename. (Toby S. and Christian S.)</li>
  9384. <li>Added array_fill_keys() function. (Marcus, Matt Wilmas)</li>
  9385. <li>Added posix_initgroups() function. (Ilia)</li>
  9386. <li>Added optional parameter to http_build_query() to allow specification of string separator. (Ilia)</li>
  9387. <li>Added image_type_to_extension() function. (Hannes, Ilia)</li>
  9388. <li>Added allow_