Nikita Popov
8b8b625d08
Fixed bug #72635
...
This seems to be a simple oversight, where we did not enable
exceptions. Other constexpr conditions already throw, so there is
no particular reason to stick to a fatal error here.
2018-09-29 14:21:08 +02:00
Nikita Popov
7189e0b70f
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-28 19:17:53 +02:00
Nikita Popov
8e7dfc6ddf
Merge branch 'PHP-7.1' into PHP-7.2
2018-09-28 19:17:29 +02:00
Nikita Popov
83e2b9e220
Fixed bug #76946
2018-09-28 19:15:19 +02:00
Nikita Popov
8ebe1b8de1
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-28 13:41:29 +02:00
Nikita Popov
99eb4b2ea4
Merge branch 'PHP-7.1' into PHP-7.2
2018-09-28 13:41:06 +02:00
Nikita Popov
fa84b8ebb4
Fix test for release builds
2018-09-28 13:40:58 +02:00
Nikita Popov
25522baec4
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-28 12:58:59 +02:00
Nikita Popov
1c35357b31
Merge branch 'PHP-7.1' into PHP-7.2
2018-09-28 12:57:55 +02:00
Nikita Popov
45cdcb2d0b
Fixed bug #76846
2018-09-28 12:56:47 +02:00
Nikita Popov
040ca85eac
Merge branch 'PHP-7.2' into PHP-7.3
2018-09-19 09:39:31 +02:00
Nikita Popov
cc1fb02760
Merge branch 'PHP-7.1' into PHP-7.2
2018-09-19 09:39:13 +02:00
Nikita Popov
294fb83ee8
Fixed bug #76901
...
get_method() may modify the object pointer passed to it if method
forwarding is used. In this case we do not want to modify the
passed zval, so make sure that we copy the object into a temporary
first.
2018-09-19 09:37:04 +02:00
Dmitry Stogov
17c7b71057
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Fixed bug #76800 (foreach inconsistent if array modified during loop)
2018-09-14 10:32:31 +03:00
Dmitry Stogov
3bc4a63fc2
Fixed bug #76800 (foreach inconsistent if array modified during loop)
2018-09-14 10:28:31 +03:00
Dmitry Stogov
655a99d131
Fixed bug #76869 (Incorrect bypassing protected method accessibilty check).
2018-09-12 12:16:50 +03:00
Sara Golemon
a26a107aae
Enforce ordering of property compare in object comparisons
2018-09-10 08:47:50 -04:00
Chris Wright
9ace33b9c5
Fix #76773 - Methods with a concrete scope need to be added again
2018-08-22 14:08:15 +02:00
Xinchen Hui
3131ebcea8
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
Update NEWS
Fixed bug #76754 (parent private constant in extends class memory leak)
2018-08-17 13:36:03 +08:00
Xinchen Hui
ca103b415e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76754 (parent private constant in extends class memory leak)
2018-08-17 13:35:31 +08:00
Xinchen Hui
04c4854fdf
Fixed bug #76754 (parent private constant in extends class memory leak)
2018-08-17 13:35:15 +08:00
Xinchen Hui
fd463a9a60
Fixed bug #76752 (Crash in ZEND_COALESCE_SPEC_TMP_HANDLER - assertion in _get_zval_ptr_tmp failed).
2018-08-17 12:19:31 +08:00
Pedro Magalhães
887235773d
Fix #76700 - Methods with altered visibility need to be added again
2018-08-07 14:22:37 +08:00
Gabriel Caruso
9c8b3ae43f
Make more tests run on 64bit plataforms
2018-07-30 09:43:09 -03:00
Gabriel Caruso
4a1336de7c
Give a reason why the test was skipped
2018-07-30 09:03:21 -03:00
Gabriel Caruso
745f6627bd
Remove superfluous SKIPIF sections of always available functions
2018-07-30 09:01:39 -03:00
Xinchen Hui
a7746d10a5
Fixed bug #76667 (Segfault with divide-assign op and __get + __set)
2018-07-27 13:00:14 +08:00
Gabriel Caruso
562150906a
Remove extra semicolons
2018-07-26 12:38:22 +02:00
Peter Kokot
8d3f8ca12a
Remove unused Git attributes ident
...
The $Id$ keywords were used in Subversion where they can be substituted
with filename, last revision number change, last changed date, and last
user who changed it.
In Git this functionality is different and can be done with Git attribute
ident. These need to be defined manually for each file in the
.gitattributes file and are afterwards replaced with 40-character
hexadecimal blob object name which is based only on the particular file
contents.
This patch simplifies handling of $Id$ keywords by removing them since
they are not used anymore.
2018-07-25 00:53:25 +02:00
Nikita Popov
5c4047b339
Deprecate defining a free-standing assert() function
...
Part of https://wiki.php.net/rfc/deprecations_php_7_3 .
2018-07-21 22:34:09 +02:00
Nikita Popov
3588d8af12
Deprecate case-insensitive constants
...
RFC: https://wiki.php.net/rfc/case_insensitive_constant_deprecation
2018-07-16 19:16:55 +02:00
Nikita Popov
04e3523b7d
Warn if continue is used on switch
...
Supersedes RFC https://wiki.php.net/rfc/continue_on_switch_deprecation
by generating a warning instead of deprecating and removing this
functionality.
2018-07-07 11:12:48 +02:00
Dmitry Stogov
265c3ed6cf
Fixed incorrrecr zval_dtor() usage to replace value of argument passed by reference, that may lead to memory leaks.
2018-07-05 10:57:49 +03:00
Dmitry Stogov
5898583e94
Fixed some incorrect zval_dtor() usages
2018-07-04 23:48:39 +03:00
Dmitry Stogov
3a8f26060c
Argument unpacking with Traversables and non-integer keys.
...
Changed error message, added UPGRADING note and test.
2018-07-04 22:34:36 +03:00
Kalle Sommer Nielsen
6337af09dc
Added test case for bug #76539 for master only as the behavior has been restored
2018-07-04 19:50:34 +02:00
Kalle Sommer Nielsen
c49f0fd9ac
Fixed bug #76501 (Funny message with fatal error)
2018-07-04 03:04:31 +02:00
Nikita Popov
e080fb6d92
Do not continue extract()ing after an exception has been thrown
...
Make behavior consistent with a loop of normal assignments.
This is not a big issue now, because $this is the only case that
may generate an error. However typed references introduce additional
error conditions, which would be silenced by this kind of behavior.
2018-07-03 22:45:35 +02:00
Rudi Theunissen
30156d588c
Fixed bug #63217
...
Don't automatically convert literal string keys to integers on
array access, as we may be dealing with an ArrayAccess object,
rather than a plain array.
2018-07-02 16:41:59 +02:00
Nikita Popov
8faa6ef30e
Add test for void return type on internal function
2018-06-30 20:14:15 +02:00
Nikita Popov
43c533d799
Merge branch 'PHP-7.2'
2018-06-29 23:23:08 +02:00
Nikita Popov
deb1bad80f
Merge branch 'PHP-7.1' into PHP-7.2
2018-06-29 23:23:02 +02:00
Nikita Popov
962706d16c
Fix nullable type pretty-printing
2018-06-29 23:22:41 +02:00
Nikita Popov
17afe6430f
Fixed bug #76439
2018-06-27 14:15:56 +02:00
Xinchen Hui
3d8c82c353
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Update NEWS
Fixed bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler)
Conflicts:
Zend/zend_vm_execute.h
2018-06-27 13:08:47 +08:00
Xinchen Hui
3521661bd1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler)
Conflicts:
Zend/zend_execute.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h
2018-06-27 13:07:36 +08:00
Xinchen Hui
d1b1866a3a
Fixed bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler)
2018-06-27 13:05:11 +08:00
Nikita Popov
61d00a6cf3
Use COPY_DEREF instead of COPY_UNREF
...
This fixes the behavior when the storage location of the fetch is
modified before the operand is dereferenced by the using VM opcode.
Furthermore it elimiates references as a possible return value from
*_R opcodes, which will give us more opportunities for inferences,
in particular in regard to typed properties.
2018-06-25 11:23:59 +02:00
Nikita Popov
4abf423d75
Merge branch 'PHP-7.2'
2018-06-24 22:29:19 +02:00
Nikita Popov
14b22704c7
Merge branch 'PHP-7.1' into PHP-7.2
2018-06-24 22:28:57 +02:00