Nikita Popov
8aa92c1465
Merge branch 'PHP-7.4'
2019-07-24 10:52:18 +02:00
Nikita Popov
a49d53baa2
Don't skip uninitialized typed props in get_class_vars()
...
For bug #78319 .
2019-07-24 10:52:01 +02:00
Nikita Popov
d37d418927
Merge branch 'PHP-7.4'
2019-07-23 11:28:10 +02:00
George Peter Banyard
6d6d954d0d
Cleanup of remaining E_STRICT in tests
2019-07-23 11:27:23 +02:00
Nikita Popov
36db71df47
Merge branch 'PHP-7.4'
2019-07-22 12:28:40 +02:00
Nikita Popov
28cf080701
Deprecate unbinding $this from non-static closure
2019-07-22 11:39:52 +02:00
Nikita Popov
b3f74b0b7d
Deprecate allow_url_include
2019-07-22 11:39:52 +02:00
Nikita Popov
e41b7f6db4
Deprecate (real) cast
2019-07-22 11:39:52 +02:00
Nikita Popov
46b982409a
Deprecate implode() with swapped parameter order
2019-07-22 11:39:52 +02:00
Nikita Popov
3121b7174f
Deprecate Reflection export() methods
...
And remove the Reflector::export() interface method.
2019-07-22 11:39:52 +02:00
Nikita Popov
eb766751dc
Merge branch 'PHP-7.4'
2019-07-19 10:06:30 +02:00
rjhdby
d574df63dc
Deprecate alternative array access syntax
...
RFC: https://wiki.php.net/rfc/deprecate_curly_braces_array_access
2019-07-19 10:06:10 +02:00
Nikita Popov
b32e9a9227
Merge branch 'PHP-7.4'
2019-07-17 10:41:34 +02:00
Nikita Popov
a986e70991
Avoid double buffering in Zend streams
...
Disable buffering in PHP streams, to avoid storing and copying the
file contents twice.
This will call stream_set_option() on custom stream wrapper as
well, so the method needs to be implemented to avoid a warning.
2019-07-17 10:40:04 +02:00
Nikita Popov
ce972ba349
Merge branch 'PHP-7.4'
2019-07-16 11:54:40 +02:00
Nikita Popov
c9acc90186
Support <?php followed by EOF
...
This is an annoying edge-case for canonicalization.
2019-07-16 11:53:48 +02:00
Nikita Popov
25985fedcf
Merge branch 'PHP-7.4'
2019-07-15 13:49:36 +02:00
Nikita Popov
d60d16bda6
Merge branch 'PHP-7.3' into PHP-7.4
2019-07-15 13:49:29 +02:00
Nikita Popov
193f28c7d5
Fixed bug #78010
...
Prevent the gc_info from becoming all zero for a registered root
by setting the top bit to one for compressed root addresses.
2019-07-15 12:00:30 +02:00
Nikita Popov
61601dfcfd
Merge branch 'PHP-7.4'
2019-07-11 16:20:22 +02:00
George Peter Banyard
e6c2b28865
Convert short tag to standard tag in Zend test file
...
Closes GH-4389.
2019-07-11 16:20:05 +02:00
Nikita Popov
df84d680bf
Merge branch 'PHP-7.4'
2019-07-10 17:28:52 +02:00
Nikita Popov
a54ee8a947
Merge branch 'PHP-7.3' into PHP-7.4
2019-07-10 17:28:37 +02:00
Nikita Popov
e7a83ec8df
Fix bug #78271
...
When cleaning nops in the dfa pass, we were always keeping the
smart branch inhibiting nop that occurs directly before the jump
instruction. However, as we skip unreachable blocks entirely, it
may happen that we need to keep a nop that occurs further back,
prior to the unreachable blocks. Account for that case now.
We should really do something about the smart branch situation,
this is very fragile...
2019-07-10 17:25:40 +02:00
Nikita Popov
106f71cc94
Merge branch 'PHP-7.4'
2019-07-10 12:05:24 +02:00
Nikita Popov
c42b7dd6d3
Throw notice on array access on illegal type
...
No notice is thrown for list() accesses, because we did not come
to an agreement regarding patterns like
while ([$key, $value] = yield $it->next()) { ... }
where silent null access may be desirable.
No effort is made to suppress multiple notices in access chains
likes $x[0][0][0], because the technical complexity this causes
does not seem worthwhile.
RFC: https://wiki.php.net/rfc/notice-for-non-valid-array-container
2019-07-10 12:02:14 +02:00
Nikita Popov
825f47564a
Merge branch 'PHP-7.2' into PHP-7.3
2019-07-09 11:05:18 +02:00
Nikita Popov
22ed362810
Revert "Fixed bug #76980 "
...
This reverts commit 35353dc49a .
This changes causes issues for Symfony, see
https://github.com/symfony/symfony/issues/32395 . I'm reverting it
from PHP 7.2 and PHP 7.3 and only leaving it in PHP 7.4.
2019-07-09 11:04:16 +02:00
Nikita Popov
105300afe4
Merge branch 'PHP-7.4'
2019-07-03 11:00:23 +02:00
Nikita Popov
2bf880db2c
Fixed bug #78239
2019-07-03 11:00:12 +02:00
Joe Watkins
d41ab64456
Merge branch 'PHP-7.4'
...
* PHP-7.4:
simple ignore arguments in exceptions implementation
2019-07-02 13:19:25 +02:00
Joe Watkins
0819e6dc9b
simple ignore arguments in exceptions implementation
2019-07-02 13:18:39 +02:00
Nikita Popov
9ab5c28c8b
Merge branch 'PHP-7.4'
2019-07-01 17:28:01 +02:00
Nikita Popov
59522c5a85
Generate less code in compile time binary op test
...
Don't generate try {} blocks for the operations that don't throw.
2019-07-01 17:27:42 +02:00
Nikita Popov
0588c38a2c
Merge branch 'PHP-7.4'
2019-06-28 16:11:37 +02:00
Nikita Popov
345a3b277c
Merge branch 'PHP-7.3' into PHP-7.4
2019-06-28 16:09:23 +02:00
Nikita Popov
19d0a51533
Merge branch 'PHP-7.2' into PHP-7.3
2019-06-28 16:09:09 +02:00
sunnyeo
f7327b6244
Fix bugs in AST printer
...
Closes GH-4324.
2019-06-28 16:08:44 +02:00
Nikita Popov
b98c148f78
Merge branch 'PHP-7.4'
2019-06-28 15:05:00 +02:00
Nikita Popov
54dd762f59
Set up asan+ubsan scheduled build on azure
...
Also adds an --asan flag to run-tests.php to setup all the necessary
environment variables. Some tests are marked as skipped because they
are incompatible with asan or too slow.
I'm basing this on the DEBUG_ZTS build, which seems to give us the
most mileage.
2019-06-28 15:00:54 +02:00
Dmitry Stogov
7dc4dd4d7c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fixed variance check for abstract constructor during erlay binding
2019-06-25 17:44:49 +03:00
Dmitry Stogov
f09d41ffc0
Fixed variance check for abstract constructor during erlay binding
2019-06-25 17:43:46 +03:00
Nikita Popov
6ae9c10534
Merge branch 'PHP-7.4'
2019-06-19 16:36:29 +02:00
Nikita Popov
268b5fec8e
Fixed bug #78182
2019-06-19 16:35:12 +02:00
Nikita Popov
7e066a4b3b
Merge branch 'PHP-7.4'
2019-06-14 11:37:41 +02:00
Theodore Brown
f74109d9a4
Implement numeric literal separators
...
RFC: https://wiki.php.net/rfc/numeric_literal_separator
2019-06-14 11:37:04 +02:00
Nikita Popov
719a19d825
Merge branch 'PHP-7.4'
2019-06-13 10:59:18 +02:00
Nikita Popov
cac6b04113
Fixed bug #78154
2019-06-13 10:59:01 +02:00
Joe Watkins
d7bb0d5840
Merge branch 'PHP-7.4'
...
* PHP-7.4:
test for bug #78151
2019-06-12 22:39:43 +02:00
Joe Watkins
b2b0e52466
test for bug #78151
2019-06-12 22:39:00 +02:00