Nikita Popov
32d7e08286
Remove some redundant uses of HASH_OF
...
GET etc are always arrays, they cannot be objects. We just need to
check that they are initialized.
2018-10-11 12:01:18 +02:00
Nikita Popov
a8bc3889fd
Remember redundant check in filter.c
...
We already check existence through zend_hash_str_find, no need
to check it twice.
2018-10-11 11:55:16 +02:00
Nikita Popov
4d5d77904e
Fix foreach/get_object_vars for shadowed properties
...
If we are in a scope where the shadowed private property is
visible, the shadowing public property should not be visible.
2018-10-10 23:18:34 +02:00
Nikita Popov
76c8d79df6
Merge branch 'PHP-7.3'
2018-10-10 15:00:56 +02:00
Nikita Popov
01948f20b8
Fixed bug #76991
...
Back up exceptions while the scan-ahead loop, to avoid an early
bail out.
2018-10-10 15:00:18 +02:00
Nikita Popov
4f4d0eccaf
Specify timezone in test
2018-10-10 13:28:06 +02:00
Nikita Popov
5a679341b8
Add UPGRADING notes
...
[ci skip]
2018-10-10 12:00:57 +02:00
Nikita Popov
a5fa51afbb
Don't overload get_properties for ArrayObject
...
Instead overload get_properties_for for a few specific cases such
as array casts. This resolves the issue where ArrayObject
get_properties may violate engine invariants in some cases.
2018-10-10 10:39:10 +02:00
Nikita Popov
1270e5008a
Migrate ext/date to get_properties_for where appropriate
...
This resolves the long-standing issue where var_dump
a DateTime (etc) object makes a number of additional properties
accessible, which may also change other behaviors as a side-effect.
2018-10-10 10:39:10 +02:00
Nikita Popov
7ec8087f80
Introduce get_properties_for() handler
...
This handler allows getting the object properties for a particular
purpose, such as array casting, serialization, etc.
2018-10-10 10:39:10 +02:00
Peter Kokot
77c85b3119
Merge branch 'PHP-7.3'
...
* PHP-7.3:
[ci skip] Update UPGRADING about Autoconf version
Bump minimum Autoconf requirement to 2.68
2018-10-09 21:17:19 +02:00
Peter Kokot
1386b029f9
[ci skip] Update UPGRADING about Autoconf version
2018-10-09 21:16:17 +02:00
Peter Kokot
0b0d4b5f0d
Bump minimum Autoconf requirement to 2.68
...
This patch syncs and bumps the minimum required version of Autoconf for
the `phpize.m4` script and the main `configure.ac` from previously mixed
2.64 and 2.59 to 2.68.
At the time of this writing Autoconf 2.63 is still the version on
Centos 6, however by the PHP 7.3 release current systems out there
should all have pretty much updated Autoconf versions to 2.64+ at
least. Centos 7 already has Autoconf 2.69, for example.
This provides more options to update and get current with the *nix
build system and also avoids broken builds in certain cases as pointed
out in the relevant discussion [1].
Additionally, phpize also already provides the `AX_CHECK_COMPILE_FLAG`
Autoconf Archive m4 file that has Autoconf 2.64 minimum requirement.
Autoconf 2.68 was released in 2010, 8 years ago, relative to this patch.
[1] https://github.com/php/php-src/pull/3562
2018-10-09 21:06:10 +02:00
Christoph M. Becker
f2856da6e8
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fix #30875 : xml_parse_into_struct() does not resolve entities
2018-10-09 16:09:46 +02:00
Christoph M. Becker
54e152cb92
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #30875 : xml_parse_into_struct() does not resolve entities
2018-10-09 16:08:55 +02:00
Christoph M. Becker
ebecf569f9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #30875 : xml_parse_into_struct() does not resolve entities
2018-10-09 16:06:56 +02:00
Christoph M. Becker
2845f859c1
Fix #30875 : xml_parse_into_struct() does not resolve entities
...
Setting up an empty default handler is not only useless, but actually
harmful, since internal entity-references are not resolved anymore.
From the libexpat docs[1]:
| Setting the handler with this call has the side effect of
| turning off expansion of references to internally defined general
| entities. Instead these references are passed to the default
| handler.
[1] <https://www.xml.com/pub/1999/09/expat/reference.html#setdefhandler >
2018-10-09 16:04:43 +02:00
Christoph M. Becker
6b015e51ad
Merge branch 'PHP-7.3'
...
* PHP-7.3:
[ci skip] Update NEWS
2018-10-09 13:31:38 +02:00
Christoph M. Becker
efb9ccc91b
[ci skip] Update NEWS
2018-10-09 13:30:59 +02:00
Derick Rethans
d21aa93dd4
Merge branch 'PHP-7.3'
2018-10-09 11:38:01 +01:00
Derick Rethans
1eac7c1ea3
Fixed tests
2018-10-09 11:37:53 +01:00
Derick Rethans
0ef3b125cd
Merge branch 'PHP-7.3'
2018-10-09 11:08:48 +01:00
Derick Rethans
e47444d1e1
Added test case for bug #75577
2018-10-09 11:08:40 +01:00
Derick Rethans
09340ea9b9
Fixed bug #75577 : DateTime::createFromFormat does not accept 'v' format specifier, by updating timelib to 2018.01alpha2
2018-10-09 11:08:40 +01:00
Derick Rethans
d16e23d8c9
Merge branch 'PHP-7.3'
2018-10-09 11:07:15 +01:00
Derick Rethans
bb2eaa6d61
Added test case for bug #75577
2018-10-09 11:06:58 +01:00
Derick Rethans
43f7a5735c
Fixed bug #75577 : DateTime::createFromFormat does not accept 'v' format specifier, by updating timelib to 2018.01alpha2
2018-10-09 11:06:42 +01:00
Christoph M. Becker
5527c74c53
Merge branch 'PHP-7.3'
...
* PHP-7.3:
[ci skip] Update NEWS wrt. php-7.3.0RC3 tagging
2018-10-09 11:59:09 +02:00
Christoph M. Becker
3d4167c3de
[ci skip] Update NEWS wrt. php-7.3.0RC3 tagging
2018-10-09 11:58:48 +02:00
Pierrick Charron
9b4594515a
Merge branch 'PHP-7.3'
2018-10-09 01:27:39 -04:00
Pierrick Charron
44d2c8c6dd
Merge branch 'PHP-7.2' into PHP-7.3
2018-10-09 01:26:55 -04:00
Pierrick Charron
efa5674a9b
Merge branch 'PHP-7.1' into PHP-7.2
2018-10-09 01:20:01 -04:00
Pierrick Charron
f42d7bddc0
Fixed bug #76965 INI_SCANNER_RAW doesn't strip trailing whitespace
2018-10-09 00:00:21 -04:00
Dmitry Stogov
ca7ccd01e4
During size calculation, pointer should be kept unchanged
2018-10-08 23:52:24 +03:00
Anatol Belski
8a5ababea2
Add missing packaging entries
2018-10-08 18:42:09 +02:00
Pierrick Charron
c4983b179d
Merge branch 'PHP-7.3'
2018-10-08 10:21:03 -04:00
Pierrick Charron
64881a1e64
Add constants from curl 7.56 to 7.61
2018-10-08 10:19:35 -04:00
Nikita Popov
01cc547f44
Merge branch 'PHP-7.3'
2018-10-08 13:16:54 +02:00
Nikita Popov
d982bbe175
Fix ref ID handling when serializing $GLOBALS
...
This was already broken previously, but in PHP 7.3 stricter
validation during unserialization made this into an error.
2018-10-08 13:16:23 +02:00
Christoph M. Becker
b0e1b43c6c
Merge branch 'PHP-7.3'
...
* PHP-7.3:
[ci skip] Note the required configure changes for bundled libzip
2018-10-08 12:48:46 +02:00
Christoph M. Becker
c5df679ca8
[ci skip] Note the required configure changes for bundled libzip
2018-10-08 12:48:20 +02:00
Christoph M. Becker
c266a19094
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fix #76954 : apache_response_headers removes last character from header name
2018-10-08 12:33:32 +02:00
Christoph M. Becker
6178786233
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #76954 : apache_response_headers removes last character from header name
2018-10-08 12:32:52 +02:00
Christoph M. Becker
879c937a27
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #76954 : apache_response_headers removes last character from header name
2018-10-08 12:30:45 +02:00
stodorovic
47b89bc531
Fix #76954 : apache_response_headers removes last character from header name
2018-10-08 12:29:31 +02:00
Christoph M. Becker
a80456e7dd
Merge branch 'PHP-7.3'
...
* PHP-7.3:
Fix #75851 : Year component overflow with date formats "c", "o", "r" and "y"
2018-10-08 11:53:24 +02:00
Christoph M. Becker
e68f60b087
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fix #75851 : Year component overflow with date formats "c", "o", "r" and "y"
2018-10-08 11:52:37 +02:00
Christoph M. Becker
1b97f291a7
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75851 : Year component overflow with date formats "c", "o", "r" and "y"
2018-10-08 11:50:37 +02:00
Adam Saponara
c097acd52e
Fix #75851 : Year component overflow with date formats "c", "o", "r" and "y"
2018-10-08 11:48:58 +02:00
Peter Kokot
c2cbf37235
Update and refactor shmop extension's README
...
The shmop functions are documented with more information in the PHP
manual.
2018-10-08 06:27:17 +02:00