Jonathan Torres
1cb3c15032
Fix typo in upgrade notes
2018-03-09 12:06:17 +01:00
Gabriel Caruso
701437a948
Remove return types from some magic method in protos
...
__construct, __destruct, __wakeup does not have return types defined.
2018-03-09 12:04:46 +01:00
Anatol Belski
acda5e084e
Document new configurue options
2018-03-08 12:14:48 +01:00
Anatol Belski
d047137d7e
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Disable PGO for phpdbg
2018-03-08 11:57:55 +01:00
Anatol Belski
d1ed6b1b15
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Disable PGO for phpdbg
2018-03-08 11:49:25 +01:00
Anatol Belski
34b9f9dedf
Disable PGO for phpdbg
...
For executable files, the linker seems to have issues dealing with the
empty profiling database. As PGO is unlikely to bring any benefit in
this case, the easiest is to disable it.
2018-03-08 11:48:37 +01:00
Anatol Belski
70a1b23c2c
Remove unused assignment
2018-03-07 18:09:58 +01:00
Anatol Belski
98aeb528c3
Remove unused assignment
2018-03-07 17:12:27 +01:00
Anatol Belski
b7940d368f
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Exclude /Qspectre for clang analyzer
2018-03-07 15:23:39 +01:00
Anatol Belski
2d660dd630
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Exclude /Qspectre for clang analyzer
2018-03-07 15:23:03 +01:00
Anatol Belski
00bfc6eb49
Exclude /Qspectre for clang analyzer
2018-03-07 12:34:16 +01:00
Anatol Belski
f28630eae0
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Guard platform dependent code
2018-03-07 12:29:56 +01:00
Anatol Belski
22857f1d89
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Guard platform dependent code
2018-03-07 12:29:22 +01:00
Anatol Belski
281e2f8207
Guard platform dependent code
2018-03-07 12:28:29 +01:00
Nikita Popov
3b5b64ce75
Fix garbage marking in gc_collect_roots()
...
gc_collect_white() will mark white nodes as black and add them as
garbage, but only if it's not buffered yet. The already buffered
roots are instead marked as garbage in gc_collect_roots() directly.
However, if gc_collect_white() marked a (buffered) root as black
through recursion, it would not subsequently be marked as garbage.
2018-03-07 09:50:25 +01:00
Dmitry Stogov
dcbac8ade6
Fixed use-after-free.
2018-03-07 10:21:51 +03:00
Dmitry Stogov
228687362c
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
[ci skip] Update NEWS
[ci skip] Update NEWS
2018-03-07 00:53:50 +03:00
Anatol Belski
7febfe068a
Merge branch 'PHP-7.2'
...
* PHP-7.2:
[ci skip] Update NEWS
[ci skip] Update NEWS
2018-03-06 22:08:49 +01:00
Anatol Belski
7780bfc7b3
[ci skip] Update NEWS
2018-03-06 22:07:58 +01:00
Anatol Belski
000e35db81
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
2018-03-06 22:07:31 +01:00
Anatol Belski
8a57fcdfbd
[ci skip] Update NEWS
2018-03-06 22:06:52 +01:00
Dmitry Stogov
a2d1f2df46
Eliminate conditional branches
2018-03-07 00:03:13 +03:00
Dmitry Stogov
a4109e1f4c
Added expectation
2018-03-06 23:22:01 +03:00
Dmitry Stogov
856b63a632
Avoid double copying
2018-03-06 21:59:02 +03:00
Dmitry Stogov
9716bd68a3
Avoid double copying
2018-03-06 21:58:40 +03:00
Dmitry Stogov
d03e95442a
Use reference counting instead of duplication
2018-03-06 21:20:19 +03:00
Dmitry Stogov
4d75504d4f
Avoid double copying and string length recalculation
2018-03-06 21:19:18 +03:00
Christoph M. Becker
a98eb1ec2c
[ci skip] Fix reference notation in protos
2018-03-06 13:22:39 +01:00
Gabriel Caruso
b47b3596ef
[ci skip] Use float instead of double in proto
2018-03-06 13:16:18 +01:00
Dmitry Stogov
c060d88c36
Fixed bug #76050
2018-03-06 03:31:06 +03:00
Dmitry Stogov
44e1d2f8a9
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Replaced usafe reference from SHM to process memory with SHM to SHM reference.
2018-03-06 03:00:46 +03:00
Dmitry Stogov
020a02ef9d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Replaced usafe reference from SHM to process memory with SHM to SHM reference.
2018-03-06 02:47:01 +03:00
Dmitry Stogov
50949c9332
Replaced usafe reference from SHM to process memory with SHM to SHM reference.
2018-03-06 02:43:26 +03:00
Dmitry Stogov
47f5f87826
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Don't keep HashTable.pDestructor in SHM and always set it into ZVAL_PTR_DTOR in zval_array_dup(). Keeping pointer to a function in SHM is not safe because of ASLR.
2018-03-06 01:02:31 +03:00
Dmitry Stogov
b48d2f6d10
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Don't keep HashTable.pDestructor in SHM and always set it into ZVAL_PTR_DTOR in zval_array_dup(). Keeping pointer to a function in SHM is not safe because of ASLR.
2018-03-06 01:00:14 +03:00
Dmitry Stogov
b711a96acb
Don't keep HashTable.pDestructor in SHM and always set it into ZVAL_PTR_DTOR in zval_array_dup().
...
Keeping pointer to a function in SHM is not safe because of ASLR.
2018-03-06 00:56:16 +03:00
Dmitry Stogov
033ce8f28c
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:php-src:
Fixed bug #76044 'date: illegal option -- -' in ./configure on FreeBSD
2018-03-06 00:47:40 +03:00
Dmitry Stogov
d740024e35
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed invalid destructor
2018-03-06 00:47:05 +03:00
Dmitry Stogov
b7ebf90221
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed invalid destructor
2018-03-06 00:46:40 +03:00
Dmitry Stogov
a83581e223
Fixed invalid destructor
2018-03-06 00:46:19 +03:00
Anatol Belski
5c41de2e1d
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed bug #76044 'date: illegal option -- -' in ./configure on FreeBSD
2018-03-05 22:39:06 +01:00
Anatol Belski
b53f326f67
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76044 'date: illegal option -- -' in ./configure on FreeBSD
2018-03-05 22:38:03 +01:00
Anatol Belski
60ac255897
Fixed bug #76044 'date: illegal option -- -' in ./configure on FreeBSD
2018-03-05 22:35:58 +01:00
Dmitry Stogov
d9d30a7f38
AST is not COPYABLE anymore and its reference-counter doesn't have to be initialized by 2.
2018-03-06 00:30:25 +03:00
Dmitry Stogov
84a0423e05
Set and keep HASH_FLAG_STATIC_KEYS for all HashTables stored in SHM (or file cache).
2018-03-06 00:00:13 +03:00
Dmitry Stogov
d76061d5c1
Merge branch 'PHP-7.2'
...
* PHP-7.2:
Fixed invalid destructor
2018-03-05 23:38:15 +03:00
Dmitry Stogov
53baf6fa1d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed invalid destructor
2018-03-05 23:33:53 +03:00
Dmitry Stogov
87553b0730
Fixed invalid destructor
2018-03-05 23:33:08 +03:00
Dmitry Stogov
877da311bc
Typo
2018-03-05 20:45:26 +03:00
Dmitry Stogov
ab139b6bfd
Reverted e6d6fcedf7
and overdesign introduced in ae64dd6d56
.
...
Now we have just indexex, pointers and linked list od unused buffers.
2018-03-05 20:20:58 +03:00