Andrea Faulds
a0502b89a6
Convert numeric keys in object/array casts
...
RFC: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts
This converts key types as appropriate in object to array and array to object
casts, as well as in get_object_vars().
2016-11-14 18:20:45 +00:00
Christoph M. Becker
189bbb586c
Merge branch 'pull-request/2164'
2016-11-13 23:31:40 +01:00
Kalle Sommer Nielsen
2104bea5d7
Remove Netware support
...
If this does not break the Unix system somehow, I'll be amazed. This should get most of it out, apologies for any errors this may cause on non-Windows ends which I cannot test atm.
2016-11-12 11:20:01 +01:00
Derick Rethans
69a3659d41
Add hint that naive DateTime comparisions now are more likely to fail
2016-11-07 16:40:42 +00:00
Anatol Belski
1667acbf72
fix doc
2016-10-28 23:02:38 +02:00
Anatol Belski
cc81971e9e
extend info to float related constants
2016-10-28 20:49:12 +02:00
Anatol Belski
431abb2117
note to UPDRADING
2016-10-28 20:27:32 +02:00
Benjamin Morel
da22cfe032
Typo
2016-10-28 10:04:23 +02:00
Anatol Belski
701df2c410
note to UPGRADING
2016-10-26 21:10:17 +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
ed61791a5a
Update UPGRADING wrt. imageresolution()
...
Cf. <http://git.php.net/?p=php-src.git;a=commit;h=209d4220 >.
2016-10-20 12:59:03 +02:00
Andrea Faulds
858531661b
NEWS and UPGRADING for utf8_encode() and utf8_decode() move
2016-10-17 15:45:01 +01:00
Christoph M. Becker
0f49aa3287
Merge branch 'pull-request/2151'
2016-10-17 10:37:38 +02:00
Kalle Sommer Nielsen
64945e9387
Implemented proc_nice() for Windows (FR #49806 )
...
The core implementation details are described in win32/nice.c for values sent to proc_nice(), these can however be discussed to maybe comply with those of wmic, Anatol, thoughts?
The test supplied uses wmic for testing the functionality, it could potentially fail on systems where either wmic is not available or the system language is not english (as Microsoft tends to translate even CLI programs).
2016-10-16 04:17:35 +02: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
Christoph M. Becker
82a8e57f37
Add support for gdEffectMultiply
...
gdLayerMultiply() has been introduced in libgd 2.1.1, and as such would have
been already available for imagelayereffect() with a system libgd. We port
the respective code to the bundled libgd, and also make IMG_EFFECT_MULTIPLY
available to userland.
2016-10-02 19:10:13 +02:00
Christoph M. Becker
d0f14a4429
Switch to libgd anti-aliased drawing API
...
Instead of rolling our own in the bundled libgd, we use libgd's anti-aliased
drawing API. This way imageantialias() is also available, when built against
a system libgd.
2016-10-02 13:16:40 +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
2e1d20a28b
Merge branch 'pull-request/2026'
2016-09-24 15:41:55 +02:00
Christoph M. Becker
d95b8eaf31
Don't enforce palette conversion when writing GD images
...
The GD image format is able to handle truecolor images as of libgd 2.0.12
(<https://github.com/libgd/libgd/blob/gd-2.2.3/src/gd_gd.c#L31-L33 >).
Therefore we don't need the potentially lossy and time consuming palette
conversion.
This way, imagegd() can also be used to export raw truecolor image data.
2016-09-24 14:46:37 +02:00
Yasuo Ohgaki
6e530502d2
Implemented Bug #68776 mail() does not have mail header injection prevention for additional headers
...
(PR 2060)
2016-09-15 06:43:57 +09:00
Christoph M. Becker
219d8599b0
Fix #72430 : [] operator not supported for strings
2016-09-14 12:43:22 +02:00
Christoph M. Becker
494c5dc77a
Remove effectless --enable-gd-native-ttf and USE_GD_IMGSTRTTF
...
--enable-gd-native-ttf did set USE_GD_IMGSTRTTF, which is otherwise unused
as of commit 8a90aad3
(i.e. PHP 5.5.0), at least.
2016-09-14 01:01:19 +02:00
Christoph M. Becker
8bea911f79
Update UPGRADING wrt. [RFC]: Add Argon2 to password_*
2016-09-08 19:59:21 +02:00
Christoph M. Becker
68d3501381
Merge branch 'pull-request/2115' into PHP-7.1
2016-09-06 14:14:23 +02:00
Yasuo Ohgaki
2605ceeaca
Added array parameter support to mb_convert_encoding()
2016-09-06 18:20:24 +09:00
Christoph M. Becker
cc8691cc4b
Update UPGRADING wrt. commit c4fe264b
2016-09-05 11:27:46 +02:00
Christoph M. Becker
272ba2b738
Update UPGRADING wrt. RFC: Implement socket_getaddrinfo()
2016-09-02 20:19:09 +02:00
Stephan Muggli
9c69d98614
Fix typo in UPGRADING
2016-09-02 15:04:58 +00:00
Yasuo Ohgaki
b651b96738
Allow array input for mb_check_encoding()
2016-09-02 14:18:34 +09: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
a3c162665d
Revert "Update UPGRADING"
...
This reverts commit 567f19dd89
.
2016-09-01 10:42:03 +09:00
Yasuo Ohgaki
4f07f0e93f
Update NEWS and UPGRADING
2016-09-01 10:32:34 +09:00
Yasuo Ohgaki
567f19dd89
Update UPGRADING
2016-09-01 05:56:09 +09:00
Yasuo Ohgaki
80d514d294
Update UPGRADING
2016-09-01 03:24:50 +09:00
Aaron Piotrowski
6dccadaac6
Remove accidental NEWS and UPGRADING entries
...
Merge mistake from PHP-7.1.
2016-08-23 11:49:57 -05: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
83bdcf075b
Merge branch 'PHP-7.1'
...
# Conflicts:
# NEWS
# UPGRADING
2016-08-21 00:34:00 -05: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
Nikita Popov
89f6377971
Return true for is_object() on Incomplete_Class
2016-08-15 23:13:09 +02:00
Nikita Popov
34824b70f8
gettype(): Use "resource (closed)" instead of "unknown type"
2016-08-15 23:12:24 +02:00
Nikita Popov
0374a98e14
Scrub UPGRADING and UPGRADING.INTERNALS
...
There were already some master-only entries in there -- I hope I
didn't remove anything that was supposed to be there.
[skip ci]
2016-08-15 23:01:19 +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
Kalle Sommer Nielsen
197051f3ab
Remove sql.safe_mode
...
This is one of the last old and odd deprecated settings we still have in PHP, it was never fully implemented in all the database extensions and should probably have been gone back in 5.4, along with safe_mode. Although if my memory strikes me right, mysql was also supporting it back then, but not mysqli.
So far only interbase was supporting this feature, and the removal of it causes two effects for interbase:
- CREATE DATABASE is now allowed no matter
- The default database set by php.ini (ibase.default_db) is no longer forced
http://php.net/ini.core#ini.sql.safe-mode
2016-08-11 05:06:55 +02:00
Yasuo Ohgaki
a53a6b3fb4
Fix URL rewriter issues
2016-08-11 08:31:48 +09:00
Yasuo Ohgaki
ee797e7ecc
Update NEWS and UPGRADING
2016-08-10 14:53:27 +09:00
Yasuo Ohgaki
087dcd9381
pull-request/1100
...
Request #65081 mb_chr() and mb_ord()
Added test cases and little optimization.
2016-08-10 11:32:10 +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
Kalle Sommer Nielsen
7cce4496e5
Note about the recent change to the WSA version check on Windows
2016-08-07 05:40:56 +02:00
Kalle Sommer Nielsen
b944a7a549
NEWS + UPGRADING for recent EXIF additions
2016-08-06 12:39:05 +02:00
Christoph M. Becker
67786d343a
Merge branch 'PHP-7.1'
2016-08-05 13:25:30 +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
Kalle Sommer Nielsen
d9e4d5116b
NEWS and UPGRADING for recent fixes and additions to ext/exif
2016-08-05 07:54:36 +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
Páll Haraldsson
98d8c70a91
Typo..
...
[skip ci]
2016-07-21 20:56:18 +00: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
Aaron Piotrowski
9962ab2962
Update NEWS and UPGRADING
2016-07-05 02:10:33 -05:00
Joe Watkins
42666da171
upgrading entry for Closure::fromCallable
2016-07-05 08:03:00 +01:00
Aaron Piotrowski
d8507d4f58
Update NEWS and UPGRADING
2016-07-03 23:35:40 -05:00
Christoph M. Becker
f6af81d5c8
Update NEWS and UPGRADING
2016-07-03 12:43:30 +02:00
Jakub Zelenka
53edf441b7
Fix typos in UPGRADING
2016-06-28 20:27:11 +01:00
Jakub Zelenka
341b35114e
Update NEWS and UPGRADING
2016-06-27 19:40:17 +01:00
Anatol Belski
c1db861fb4
fix typos
2016-06-21 17:44:29 +02:00
Jakub Zelenka
f0d1cca672
Use empty keys instead of _empty_ in json decoding
2016-06-20 19:44:00 +01:00
Anatol Belski
7e1087026e
notes to UPGRADING
2016-06-20 16:54:43 +02:00
Anatol Belski
7cb871d630
fix SQLite info
2016-06-17 17:26:31 +02:00
Anatol Belski
0d01f61b2a
update NEWS and UPGRADING
2016-06-17 17:18:29 +02:00
Anatol Belski
f3998d2303
update UPGRADING
2016-06-02 14:30:27 +02:00
sskaje
788a2d0226
Add entry to UPGRADING
2016-06-01 09:28:20 +08:00
Anatol Belski
f6e79af3ef
update UPGRADING
2016-05-30 10:32:43 +02:00