Commit Graph

575 Commits

Author SHA1 Message Date
Jakub Zelenka
02cecc0fb5 Update UPGRADING with info about AEAD changes in openssl_(en|de)crypt 2016-11-27 19:05:49 +00:00
Derick Rethans
69a3659d41 Add hint that naive DateTime comparisions now are more likely to fail 2016-11-07 16:40:42 +00:00
Benjamin Morel
da22cfe032 Typo 2016-10-28 10:04:23 +02:00
Yasuo Ohgaki
e893abda81 Revert "Update UPGRADING to reflect bug fix"
This change was made in 7.0. Sorry for the noise.

This reverts commit e9c8e50b66.
2016-10-26 04:01:55 +09:00
Yasuo Ohgaki
e9c8e50b66 Update UPGRADING to reflect bug fix 2016-10-26 03:26:44 +09:00
Christoph M. Becker
2cc3aeb4b9 Implement #72918: negative offset inside a quoted string leads to parse error
We allow negative numeric offsets for the simple syntax inside
double-quoted and heredoc strings.
2016-10-14 14:14:08 +02:00
Yasuo Ohgaki
bccc1dd1e7 Update UPGRADING 2016-10-14 07:53:16 +09:00
Christoph M. Becker
14d4ee93a8 Implement #65038: IMAGETYPE_WEBP constant missing
We add WebP support for getimagesize(), getimagesizefromstring)(),
image_type_to_extension() and image_type_to_mime_type(). For now we
care only about the simple lossy WebP format (VP8) and ignore the
lossless (VP8L) and extended (VP8X) formats. We use image/webp as MIME
type as it appears to be pretty common, even though it is not yet
registered with IANA.

Relevant specifications:
 * <https://developers.google.com/speed/webp/docs/riff_container>
 * <https://tools.ietf.org/html/rfc6386>
2016-10-08 00:02:21 +02:00
Christoph M. Becker
5b52d5acde Fix #73207: Array ordering is same between 5.6.21 and 7.1.0 RC3 2016-10-03 18:55:39 +02:00
Davey Shafik
94f7e4a5f4 Update UPGRADING to reflect new reality 2016-09-28 11:24:43 -07:00
Nikita Popov
bd893061d6 Use SEND_USER for CONST|TMP as well
Otherwise we're missing the "expected to be a reference, value
given" warning that appears for ordinary calls to call_user_func().

Also update an UPGRADING note with recent changes wrt
call_user_func().
2016-09-25 12:39:23 +02:00
Christoph M. Becker
219d8599b0 Fix #72430: [] operator not supported for strings 2016-09-14 12:43:22 +02:00
Christoph M. Becker
68d3501381 Merge branch 'pull-request/2115' into PHP-7.1 2016-09-06 14:14:23 +02:00
Stephan Muggli
9c69d98614 Fix typo in UPGRADING 2016-09-02 15:04:58 +00:00
Teoh Han Hui
2c3408f5cb Fix some grammatical errors in PHP 7.1 Upgrade Notes
[skip ci]
2016-09-01 12:58:32 +02:00
Yasuo Ohgaki
4f07f0e93f Update NEWS and UPGRADING 2016-09-01 10:32:34 +09:00
Yasuo Ohgaki
80d514d294 Update UPGRADING 2016-09-01 03:24:50 +09:00
Levi Morrison
f4e68a3968 Revert "Do not prepend ? on nullables in ReflectionType::__toString()"
This reverts commit 8855a2ce76.
2016-08-23 09:43:31 -06:00
Aaron Piotrowski
8855a2ce76 Do not prepend ? on nullables in ReflectionType::__toString()
Better BC with 7.0.
2016-08-21 00:12:47 -05:00
Julien Pauli
5818b09a45 Updated UPGRADING about function call args 2016-08-18 15:46:02 +02:00
Anatol Belski
32c94deac3 update UPGRADING 2016-08-14 20:55:26 +02:00
Yasuo Ohgaki
3467526a65 Merge RFC: Session ID without hashing
https://wiki.php.net/rfc/session-id-without-hashing
2016-08-12 12:31:02 +09:00
Andrea Faulds
1dab96c1db Show "or null" in TypeErrors for nullable arg_infos 2016-08-11 18:44:43 +02:00
Aaron Piotrowski
622d2f41d1 ReflectionType improvements
Added ReflectionNamedType and updated ReflectionType::__toString()
2016-08-11 12:19:33 +02:00
Yasuo Ohgaki
a53a6b3fb4 Fix URL rewriter issues 2016-08-11 08:31:48 +09:00
Christoph M. Becker
b50a4a485a Class constant visibility modifiers are now supported 2016-08-09 11:54:43 +02:00
Christoph M. Becker
f706897f33 Implement #38992: invoke() and invokeArgs() static method calls should match
We don't want ReflectionMethod::invoke() to simply ignore its first argument,
if the method to invoke is a static method. Instead we match its ZPP with
that of ReflectionMethod::invokeArgs(). Furthermore, we apply the DRY
principle by factoring out the code to a common helper function to prevent
inadvertent future divergence of the implementations of both methods.

As can be seen from the necessity to adapt some test cases, this causes a
BC break for some pathological cases. Therefore we apply this patch to PHP
7.1 only, which is still in beta phase.
2016-08-08 01:43:03 +02:00
ju1ius
03d03243fa Fix #72711: mb_ereg does not clear the $regs parameter on failure
When `mb_ereg` failed to match, it didn't update the `$regs` argument.
Now it will always set it to the empty array.
2016-08-05 13:22:10 +02:00
Nikita Popov
1315a3dd62 Merge branch 'PHP-7.0' into PHP-7.1 2016-07-28 18:52:04 +02:00
Pierrick Charron
942d6c14d2 Add new curl functions in UPGRADING 2016-07-27 23:54:45 -04:00
Pierrick Charron
bf37b97d9c Merge branch 'PHP-5.6' into PHP-7.0
Conflicts:
	ext/curl/interface.c
2016-07-27 23:36:22 -04:00
Pierrick Charron
30a5ed3a79 Fixed bug #71929 (CURLINFO_CERTINFO data parsing error). 2016-07-27 23:30:20 -04:00
Anatol Belski
ec97e78a8d update UPGRADING 2016-07-19 20:34:22 +02:00
Anatol Belski
7f3375d5f2 make constant name more descriptive 2016-07-18 23:33:22 +02:00
Anatol Belski
2170841e57 update NEWS and UPGRADING 2016-07-18 23:04:22 +02:00
Jakub Zelenka
839dc42f7e Merge branch 'openssl_drop_ssl2' 2016-07-17 17:14:38 +01:00
Jakub Zelenka
a3a6436985 Update NEWS and UPGRADING with info about dropping SSL2 2016-07-17 17:13:24 +01:00
Leigh
ab834f472f Merge RNG fixes RFC. PR #1986
* rng-fixes:
  Fix legacy mode RAND_RANGE and 32/64-bit consistency
  Fix crypt salt not being converted to b64
  Make mode selection part of mt_srand()
  Use zend_bitset
  Improve array_rand distribution
  Fix some insecure usages of php_rand
  Alias rand to mt_rand
  Fix RAND_RANGE for mt_rand
  Fix mt_rand impl. Provide legacy impl. access.
  Split rand and mt_rand into separate files
2016-07-17 16:05:10 +00:00
Christoph M. Becker
5829458215 Merge branch 'PHP-5.6' into PHP-7.0 2016-07-14 17:25:13 +02:00
Christoph M. Becker
8bb3bd04a9 Fix bug #72596: imagetypes function won't advertise WEBP support
We add the constant IMG_WEBP and make sure that WebP support is properly
reported by imagetypes().
2016-07-14 17:17:59 +02:00
Dmitry Stogov
afd3e39d66 Fixed bug #29368 (The destructor is called when an exception is thrown from the constructor). 2016-07-13 16:43:47 +03:00
Julien Pauli
c70f1fa6fb Update for NEWS 2016-07-11 13:30:46 +02:00
Anatol Belski
6442aac72f move the internal only info into UPGRADING.INTERNALS 2016-07-11 11:22:00 +02:00
Christoph M. Becker
0c98f51c84 Implement RFC "Deprecate mb_ereg_replace eval option"
<https://wiki.php.net/rfc/deprecate_mb_ereg_replace_eval_option> has been
accepted, so we implement it.
2016-07-11 11:20:01 +02:00
Anatol Belski
cf8c217e8f add comment and fix typo 2016-07-11 11:17:34 +02:00
Anatol Belski
55ffabaa69 added UPGRADING and NEWS notes 2016-07-11 10:55:43 +02:00
Julien Pauli
2bdeec8396 Updated NEWS 2016-07-08 16:58:26 +02:00
Julien Pauli
09ea4a850a Updated NEWS 2016-07-08 15:25:28 +02:00
Aaron Piotrowski
0e8fe163b0 Update NEWS and UPGRADING 2016-07-06 14:06:01 -05:00
Aaron Piotrowski
210b6a2528 Update NEWS and UPGRADING with missed DBA changes 2016-07-05 16:09:21 -05:00