Nikita Popov
9a45e920aa
Support dropping rc1/rcn from dumps
...
For non-JIT we're not interested in rc inference.
2016-02-27 15:36:04 +01:00
Nikita Popov
8d758e7be9
Fix dominator tree construction
...
The used dominator intersection algorithm assumes a postorder
numbering of the CFG. The reversal of our natural numbering is
quite similar to postorder, but not the same.
In the future we should precompute both preorder/postorder
numberings and orderings, as these are useful in many places.
2016-02-27 15:10:18 +01:00
Dmitry Stogov
b8e30a492a
Use more general optimisation patterns
2016-02-26 21:02:41 +03:00
Xinchen Hui
b378c7cff1
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed bug #71660 (array_column behaves incorrectly after foreach by reference)
2016-02-25 16:07:38 +08:00
Xinchen Hui
c299b272c7
Fixed bug #71660 (array_column behaves incorrectly after foreach by reference)
2016-02-25 16:07:22 +08:00
Nikita Popov
a1c9bd8803
Merge branch 'PHP-7.0'
2016-02-24 22:35:14 +01:00
Nikita Popov
fd561505f4
Fix construction of AO with overloaded object error
...
a) Fix uses of zend_string in error message
b) Don't assign the overloaded object as the backing storage, that
sort of defeats the point. Instead leave the previous value.
2016-02-24 22:34:50 +01:00
Nikita Popov
0aa7163816
Fix AO object properties separation
2016-02-24 22:34:50 +01:00
Nikita Popov
079f2f7eb3
Forbid exchangeArray() during sorting
...
Previously this would leak.
2016-02-24 22:34:50 +01:00
Dmitry Stogov
2517835c64
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed possible crash at PCRE on MSHUTDOWN
2016-02-24 23:47:05 +03:00
Dmitry Stogov
6842a3674d
Fixed possible crash at PCRE on MSHUTDOWN
2016-02-24 23:46:11 +03:00
Dmitry Stogov
1a46917740
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed more synchronisation issues during SHM reload
2016-02-24 21:16:35 +03:00
Dmitry Stogov
43366f8ba8
Fixed more synchronisation issues during SHM reload
2016-02-24 21:15:53 +03:00
Nikita Popov
55c0de8f95
Merge branch 'PHP-7.0'
2016-02-24 17:44:33 +01:00
Nikita Popov
eb885e9d6e
Fix leak on assignment to illegal AO offset
2016-02-24 17:39:16 +01:00
Nikita Popov
ea02f57656
Don't use ht applyCount for AO sorting protection
...
Instead use the AOs own applyCount that just got freed up. Using the
apply count of the HashTable has various side effects, e.g. preventing
the ArrayObject from being dumped.
2016-02-24 17:18:07 +01:00
Nikita Popov
38db6ff306
Remove recursion checks from AO get_properties
...
These are pointless, there is no recursion (of that kind) happening
there.
2016-02-24 17:10:28 +01:00
Anatol Belski
d313d6aedd
Merge branch 'PHP-7.0'
...
* PHP-7.0:
update NEWS
Port patch and test for bug #47803 to 7.0
2016-02-24 12:07:06 +01:00
Anatol Belski
c9778d3eb9
Port patch and test for bug #47803 to 7.0
...
See ff115e285a
2016-02-24 12:03:21 +01:00
Anatol Belski
c1b3a3d935
Merge branch 'PHP-7.0'
...
* PHP-7.0:
add test for bug #71171
2016-02-23 14:39:49 +01:00
Anatol Belski
01e85f3fdc
add test for bug #71171
2016-02-23 14:39:17 +01:00
Anatol Belski
38e77fd4d4
Merge branch 'PHP-7.0'
...
* PHP-7.0:
make ext/odbc test credentials configurable
2016-02-23 14:22:39 +01:00
Anatol Belski
cd75429ad8
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
make ext/odbc test credentials configurable
2016-02-23 14:22:06 +01:00
Anatol Belski
9623d2dd83
make ext/odbc test credentials configurable
2016-02-23 14:21:04 +01:00
Nikita Popov
2d1559f827
Move free_chunk and resize_chunk into memory pool
...
Drops 24 bytes from each chunk. For the example in bug #71468 it
reduces memory usage by 30%.
2016-02-22 19:40:32 +01:00
Nikita Popov
42fe5e6791
Drop mysqlnd mempool refcount
...
This member was no longer used.
Also fix handling of from_pool in resize_chunk. It was setting
pool to NULL instead of from_pool to FALSE.
2016-02-22 19:40:32 +01:00
Remi Collet
79db0859f0
Merge branch 'PHP-7.0'
...
* PHP-7.0:
missing include
2016-02-22 18:45:30 +01:00
Remi Collet
18e3b11d62
missing include
2016-02-22 18:45:18 +01:00
Remi Collet
29cc010829
Merge branch 'PHP-7.0'
...
* PHP-7.0:
update bundled libzip to 1.1.2
2016-02-22 18:18:43 +01:00
Remi Collet
0d57c06b2c
update bundled libzip to 1.1.2
2016-02-22 18:18:30 +01:00
Nikita Popov
d5769d4234
Merge branch 'PHP-7.0'
2016-02-22 13:11:24 +01:00
Nikita Popov
78b29310bc
Remove check_std_props arg from get_hash_table
...
get_properties() is the only place using it, so handle it only
there.
2016-02-22 13:09:54 +01:00
Nikita Popov
3f5c80e8c2
Don't recurse into USE_OTHER checking STD_PROP_LIST
...
If STD_PROP_LIST is explicitly disabled in the constructor, it
should really be disabled.
2016-02-22 13:04:19 +01:00
Nikita Popov
7e81b8adbb
Merge branch 'PHP-7.0'
2016-02-22 12:40:30 +01:00
Nikita Popov
6c2ca18fe0
Fix typo in previous commit
...
Happened to be correct because array is the first member, but
definitely not what I wanted...
2016-02-22 12:39:07 +01:00
Nikita Popov
e24bf80352
Merge branch 'PHP-7.0'
2016-02-22 12:35:09 +01:00
Nikita Popov
fd6ac61064
Fix ArrayObject clone for certain USE_OTHER cases
...
We can't simply use HASH_OF, need to use the usual hash table
getter.
2016-02-22 12:35:00 +01:00
Nikita Popov
32e2801ff9
Use USE_OTHER for ArrayIterator cloning
...
intern->array should never be an array with refcount 2.
2016-02-22 12:35:00 +01:00
Remi Collet
54380cd56a
Merge branch 'PHP-7.0'
...
* PHP-7.0:
cleanup $Id
2016-02-22 09:26:48 +01:00
Remi Collet
e8385a60b3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
cleanup $Id
2016-02-22 09:26:14 +01:00
Remi Collet
d20f1d8f1f
cleanup $Id
2016-02-22 09:26:00 +01:00
Nikita Popov
37d1bbe456
Merge branch 'PHP-7.0'
2016-02-21 13:01:28 +01:00
Nikita Popov
0bd64b50b8
Fixed bug #71617
2016-02-21 13:00:37 +01:00
Dmitry Stogov
11a43f10de
Added comments about special functions
2016-02-19 15:44:11 +03:00
Andrea Faulds
8b410c5705
Merge branch 'PHP-7.0'
2016-02-18 22:37:51 +00:00
Andrea Faulds
a50c31da19
Test that mt_rand() consistently produces the wrong results
...
See 6f6bd8ce53 and its revert,
a0724d3081 .
2016-02-18 22:35:44 +00:00
Dmitry Stogov
791b8f0c89
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string
2016-02-18 23:18:56 +03:00
Dmitry Stogov
796e1629b0
Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string
2016-02-18 23:15:38 +03:00
Anatol Belski
fe7076814e
Merge branch 'PHP-7.0'
...
* PHP-7.0:
add test for bug #71625 , 7 variant
add test for bug #71625
2016-02-18 19:40:39 +01:00
Anatol Belski
b3df715f50
add test for bug #71625 , 7 variant
2016-02-18 19:40:17 +01:00