Pedro Magalhães
c6c1e75e6b
Fix bug #74607 : Don't check for bi-directional compatibility in traits
2017-06-03 00:24:43 +02:00
marcosptf
3efef6d0c0
test for ErrorException::getSeverity();
2017-06-01 08:23:53 +01:00
Xinchen Hui
8af21f3ca6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Added NEWs
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
2017-05-27 12:09:28 +08:00
Xinchen Hui
cd3520c4d3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
2017-05-27 12:08:48 +08:00
Xinchen Hui
5269c4cacb
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
2017-05-27 12:06:43 +08:00
Pedro Magalhães
a5eb57c96e
Allow overriding abstract methods
...
RFC: https://wiki.php.net/rfc/allow-abstract-function-override
2017-05-24 17:42:01 +02:00
Bob Weinand
ccb5591728
Merge branch 'PHP-7.1'
2017-05-17 19:59:36 +02:00
Bob Weinand
649494c0ee
Fixed bug #74606 (Segfault within try/catch/finally nesting in Generators)
...
Thanks to Nikita for pointing out the error source.
2017-05-17 19:58:51 +02:00
Xinchen Hui
1466925cb0
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Update NEWS
Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
2017-05-08 11:33:01 +08:00
Xinchen Hui
2c070847e7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
2017-05-08 11:32:27 +08:00
Xinchen Hui
87d56a3d07
Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
2017-05-08 11:32:08 +08:00
Pedro Magalhães
5324fb1f34
Fixed bug #61970 : Allow a child class to restrict access to ctor
2017-05-01 14:15:57 +02:00
Pedro Magalhães
92124f9cdc
Fixed bug #74269 : Strict comparison of initial trait property values
2017-05-01 12:59:27 +02:00
Sammy Kaye Powers
12300f465e
Add trailing comma syntax support for mixed and unmixed group use lists
...
RFC: https://wiki.php.net/rfc/list-syntax-trailing-commas
2017-05-01 12:19:47 +02:00
Nikita Popov
28218b4acc
Merge branch 'PHP-7.1'
2017-04-15 18:15:45 +02:00
Nikita Popov
2719b8e91c
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-15 18:15:33 +02:00
Nikita Popov
e433c23b96
Improve accuracy of opline lineno information
...
If compile_var() was used instead of compile_expr() we did not
update the current lineno.
2017-04-15 18:15:24 +02:00
Nikita Popov
7f5d47dfd1
Merge branch 'PHP-7.1'
2017-04-15 01:40:59 +02:00
David Matejka
2135b057ec
Fixed bug #74444 : multiple catch freezes in some cases
...
zend_emit_jump() may reallocate, so reload the opline.
2017-04-15 01:38:37 +02:00
Xinchen Hui
5340587c25
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Update NEWS
Fixed bug #74408 (Endless loop bypassing execution time limit)
2017-04-11 18:47:06 +08:00
Xinchen Hui
87e6e1982b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74408 (Endless loop bypassing execution time limit)
2017-04-11 18:46:41 +08:00
Xinchen Hui
eb03f16442
Fixed bug #74408 (Endless loop bypassing execution time limit)
2017-04-11 18:46:16 +08:00
Nikita Popov
ad8652818a
Implement jumptable optimization
2017-04-10 22:23:14 +02:00
Nikita Popov
515e1e0cea
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-09 15:35:44 +02:00
Thomas Punt
744c4a5592
Resolve bug #74188 (undefined statics raising with ?? operator)
2017-04-09 15:29:31 +02:00
Nikita Popov
3a890180d3
Merge branch 'PHP-7.1'
2017-04-02 13:31:07 +02:00
Nikita Popov
fe46a7da78
Fixed bug #74340
2017-04-02 13:30:35 +02:00
Sara Golemon
819e66599a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix bug where `yield from` is captured too greedily
2017-03-23 13:40:09 -07:00
Sara Golemon
7835e2ebc5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug where `yield from` is captured too greedily
2017-03-23 13:38:58 -07:00
Sara Golemon
0fb640c717
Fix bug where yield from
is captured too greedily
...
In the following piece of code:
```php
function from1234($x) {
return $x;
}
function foo($x) {
yield from1234($x);
}
```
The statement inside foo is taken as `yield from` `1234($x)`
which is neither the intent, nor even legal syntax for an fcall.
Do a lookahead for breaking non-label characters after the
`yield from` and only accept it if they occur.
2017-03-23 13:31:06 -07:00
Rowan Collins
1b565f1393
Change 'undefined constant' from E_NOTICE to E_WARNING and mention deprecation
...
Implements RFC "Deprecate and Remove Bareword (Unquoted) Strings"
[https://wiki.php.net/rfc/deprecate-bareword-strings ]
2017-03-23 18:52:43 +01:00
Nikita Popov
6ad0a6fb04
Merge branch 'PHP-7.1'
2017-03-15 19:50:26 +01:00
Nikita Popov
2bba4a0d7f
Fix bug #69676
2017-03-15 19:49:02 +01:00
Nikita Popov
16ae9f82e8
Fix SKIPIF conditions
2017-03-14 12:06:58 +01:00
Nikita Popov
b3ca0c2500
zend-test extension to house code that is required for testing internal APIs, but that we would not want to expose for regular builds
2017-03-12 18:58:50 +00:00
Nikita Popov
22e6b5ef22
Merge branch 'PHP-7.1'
2017-03-10 18:21:09 +01:00
Nikita Popov
280e8dafe4
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-10 18:20:58 +01:00
Nikita Popov
29ee3e3c49
Fixed bug #73960
2017-03-10 18:20:32 +01:00
Sara Golemon
5b52a44860
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fix potential crash when setting invalid declare value
2017-02-28 17:18:08 -08:00
Sara Golemon
c5727a30cf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix potential crash when setting invalid declare value
2017-02-28 17:17:41 -08:00
Sara Golemon
868930e079
Fix potential crash when setting invalid declare value
...
Using a non-literal expression in a declare value can cause the
compiler to crash trying to turn that AST node into a usable zval.
There was an existing test for such values using 'encoding',
but that didn't crash because it's handled by the lexer
rather than being compiled.
Trying to use a non-literal with ticks reproduces the crash.
2017-02-28 17:08:23 -08:00
Remi Collet
18293f9a6f
Merge branch 'PHP-7.1'
...
* PHP-7.1:
make test slower again
2017-02-28 11:36:42 +01:00
Remi Collet
3006d1de5b
make test slower again
2017-02-28 11:36:24 +01:00
Xinchen Hui
b806287e43
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74157 (Segfault with nested generators)
2017-02-26 12:07:03 +08:00
Xinchen Hui
6a584cf318
Fixed bug #74157 (Segfault with nested generators)
2017-02-26 12:05:56 +08:00
Xinchen Hui
fa6144b077
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg)
Fixed typo (it should be typo)
2017-02-25 12:00:57 +08:00
Xinchen Hui
36fcc4cb5d
Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg)
2017-02-25 12:00:42 +08:00
Anatol Belski
e35376c1e2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
skip test
2017-02-15 16:14:46 +01:00
Anatol Belski
8ad75bec97
skip test
...
The code path not available on Windows.
2017-02-15 16:12:34 +01:00
Xinchen Hui
b4fd233be0
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed test in travis
2017-02-15 17:31:35 +08:00