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
Xinchen Hui
f53ea4cd60
Fixed test in travis
2017-02-15 17:31:27 +08:00
Xinchen Hui
41bd2087ea
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Make it slower
2017-02-15 15:27:33 +08:00
Xinchen Hui
8d94d5d942
Make it slower
2017-02-15 15:27:21 +08:00
Xinchen Hui
49dca87029
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed test
2017-02-15 14:49:09 +08:00
Xinchen Hui
dad5281a89
Fixed test
2017-02-15 14:49:02 +08:00
Xinchen Hui
bf91fc565c
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Add a test for hard_timeout(bug #74093 )
2017-02-15 13:52:08 +08:00
Xinchen Hui
6767ef05a5
Add a test for hard_timeout(bug #74093 )
2017-02-15 13:51:45 +08:00
Xinchen Hui
00e5ea7b76
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Update NEWS
Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite)
Conflicts:
Zend/zend_gc.c
2017-02-13 19:24:00 +08:00
Xinchen Hui
9df7cc3e68
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite)
2017-02-13 19:17:09 +08:00
Xinchen Hui
3917350531
Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite)
2017-02-13 19:16:17 +08:00
Xinchen Hui
963981df58
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Update NEWS
Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)
2017-02-12 20:36:43 +08:00
Xinchen Hui
b56114e8fb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)
Conflicts:
Zend/zend_operators.c
2017-02-12 20:36:18 +08:00
Xinchen Hui
26fdebc63b
Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)
2017-02-12 20:34:08 +08:00
Dmitry Stogov
c39147d136
Fixed bug #74053 (Corrupted class entries on shutdown when a destructor spawns another object). (jim at commercebyte dot com)
...
Merge branch 'master' of github.com:commercebyte/php-src
* 'master' of github.com:commercebyte/php-src:
Added EG(flags) - executor global flags EG_FLAGS_IN_SHUTDOWN - is set when PHP is in shutdown state
newly added zend_object_store.no_reuse is redefined as a global zend_object_store_no_reuse, to avoid alignment issues
Alignment fix, as per @nikic
The test scripts bug64720.phpt and bug68652.phpt were relying on the buggy behavior, when PHP returns "Undefined static property" error due to class entry corruption. With my fix for bug 74053, both tests return no errors now, I corrected the EXPECTF accordingly
Bug Fix: Corrupted class entries on shutdown when a destructor spawns another object (C) 2017 CommerceByte Consulting
2017-02-10 10:31:43 +03:00
Jim Zubov
d94b067504
The test scripts bug64720.phpt and bug68652.phpt were relying on the buggy behavior,
...
when PHP returns "Undefined static property" error due to class entry corruption.
With my fix for bug 74053, both tests return no errors now, I corrected the EXPECTF accordingly
[Anybody please advice if I'm wrong?]
Also created bug74053.phpt, for the code I mentioned in the bug description
2017-02-07 09:19:16 -05:00
Anatol Belski
a7269c09d2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
use some dynamically generated NAN as well
2017-02-07 13:19:50 +01:00
Anatol Belski
189ea77101
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use some dynamically generated NAN as well
2017-02-07 13:18:38 +01:00
Anatol Belski
044dd30440
use some dynamically generated NAN as well
2017-02-07 13:16:30 +01:00
Andrea Faulds
07d1cd3bc3
Merge branch 'PHP-7.1'
2017-02-05 01:34:15 +00:00
Andrea Faulds
b87e399393
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-05 01:31:42 +00:00
Andrea Faulds
21d7878690
Fix bug #73954
2017-02-05 01:30:20 +00:00
Niklas Keller
2edc3cf8d2
Implement Parameter Type Widening RFC
2017-02-04 23:33:24 +01:00
Nikita Popov
06a0340162
Deprecate each()
2017-02-03 21:02:52 +01:00
Nikita Popov
6ba7206620
Deprecate assert() with string argument
2017-02-03 21:02:52 +01:00
Nikita Popov
c61daf415d
Deprecate track_errors / $php_errormsg
2017-02-03 21:02:52 +01:00
Nikita Popov
2df9346e7f
Deprecate mb_parse_str() without second argument
2017-02-03 18:52:57 +01:00
Nikita Popov
2634b13e88
Deprecate parse_str() without second argument
2017-02-03 18:52:57 +01:00
Nikita Popov
7a73c5f6bb
Deprecate (unset)
...
Pecularily, there wasn't a single test for the (unset) cast...
2017-02-03 18:52:57 +01:00
Nikita Popov
162aa1a5fc
Deprecate __autoload()
2017-02-03 18:52:57 +01:00
Nikita Popov
eaeecc523b
Deprecate create_function()
2017-02-03 18:52:57 +01:00
Dmitry Stogov
7aff166e57
Arguments array can't make cycles
2017-02-03 17:38:03 +03:00
Nikita Popov
795a4c1bb3
Merge branch 'PHP-7.1'
2017-02-02 18:35:35 +01:00
Nikita Popov
e81f30ad1d
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-02 18:33:42 +01:00
Mitch Hagstrand
dd9cf23457
BUG #73998 : Numeric properties are not accessible from get_object_vars
2017-02-02 18:33:10 +01:00
Nikita Popov
fb008bf60e
Remove obsolete version checks from tests
2017-02-02 00:58:04 +01:00
Joe Watkins
46de334452
Revert "Inheritance checks should not ignore parents if these implement an interface"
...
This reverts commit b67eb3440b
.
2017-02-01 18:34:14 +00:00
Joe Watkins
648238da5c
Revert "Added tests demonstrating the same effect with abstracts"
...
This reverts commit c11b2b809d
.
2017-02-01 18:33:47 +00:00
Nikita Popov
a8d901a80c
Remove zend_version() checks from tests
2017-01-30 22:50:25 +01:00