Remi Collet
ba2fe0c96b
Update versions for PHP 7.2.5
2018-04-24 14:55:20 +00:00
Remi Collet
b14bfacb92
Update NEWS for PHP 7.2.5
2018-04-24 14:55:20 +00:00
Remi Collet
4bd28cf296
clean
2018-04-24 09:41:13 +02:00
Remi Collet
ac0f7f7342
add NEWS entries
2018-04-24 09:18:41 +02:00
Stanislav Malyshev
ebbef8503f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix tsrm_ls
Fix #76129 - remove more potential unfiltered outputs for phar
Fix test
Fix bug #76248 - Malicious LDAP-Server Response causes Crash
Fix bug #76249 - fail on invalid sequences
Fix #76130 : Heap Buffer Overflow (READ: 1786) in exif_iif_add_value
Fix bug #75981 : prevent reading beyond buffer start
(cherry picked from commit 4c06d929c0 )
2018-04-24 09:10:12 +02:00
Remi Collet
64513c8571
Update NEWS for 7.2.5
2018-04-11 05:35:38 +00:00
Remi Collet
81f414ef23
Update NEWS for PHP 7.2.5RC1
2018-04-11 05:19:35 +00:00
George Wang
043ac320a0
Merge branch 'PHP-7.1' into PHP-7.2
2018-04-10 16:49:29 -04:00
George Wang
5b529bbc94
Updated LiteSpeed SAPI to 7.1 .
2018-04-10 16:48:04 -04:00
Xinchen Hui
22a8ea2a0a
Update NEWS
2018-04-10 16:33:31 +08:00
Xinchen Hui
474895915e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite)
2018-04-10 16:32:28 +08:00
Xinchen Hui
8cfb648761
Fixed bug #76143 (Memory corruption: arbitrary NUL overwrite)
2018-04-10 16:32:08 +08:00
Anatol Belski
e01f88df7c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Group common flags
2018-04-05 16:45:41 +02:00
Anatol Belski
09d7ffabcd
Group common flags
2018-04-05 16:44:12 +02:00
Anatol Belski
7768f5e2de
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Rename var
2018-04-05 14:54:14 +02:00
Anatol Belski
ed5aabe8b7
Rename var
2018-04-05 14:52:40 +02:00
George Wang
1e1695e8de
Merge branch 'PHP-7.1' into PHP-7.2
2018-04-03 11:47:41 -04:00
George Wang
37e1d7c776
[BUGFIX] allow php_admin_value to override value set in php.ini without restriction, like adding an extra directory to open_basedir.
2018-04-03 11:46:24 -04:00
Anatol Belski
2115878aaa
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync fix for bug #72498 for 32-bit
2018-04-03 17:25:13 +02:00
Anatol Belski
821f13fd79
Sync fix for bug #72498 for 32-bit
2018-04-03 17:24:13 +02:00
Anatol Belski
062f93c93e
[ci skip] Update NEWS
2018-04-03 11:29:38 +02:00
Anatol Belski
5cd94db8bb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
2018-04-03 11:29:08 +02:00
Anatol Belski
c3fa86867b
[ci skip] Update NEWS
2018-04-03 11:28:19 +02:00
Anatol Belski
22e8a3c347
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix shared ext/intl compilation
2018-04-03 10:43:17 +02:00
Anatol Belski
2bd299f731
Fix shared ext/intl compilation
2018-04-03 10:42:14 +02:00
Rasmus Lerdorf
aaae3637e0
Better explanation for the opcache.max_wasted_percentage ini setting
...
since it was pretty confusing before
2018-03-30 13:24:17 -07:00
Christoph M. Becker
76f421dd3a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #52070 : imagedashedline() - dashed line sometimes is not visible
2018-03-30 19:29:10 +02:00
Christoph M. Becker
9c37d95627
Fix #52070 : imagedashedline() - dashed line sometimes is not visible
...
We finally remove the inadvertent leftover from the synchronization
with GD 2.0.12.
2018-03-30 19:22:23 +02:00
Jakub Zelenka
8b642af484
Merge branch 'PHP-7.1' into PHP-7.2
2018-03-30 17:58:29 +01:00
Jakub Zelenka
2688023c7f
Update NEWS with FPM fixes
2018-03-30 17:56:17 +01:00
Jakub Zelenka
0be5b9e6b0
Prevent modifying of getenv result
2018-03-30 17:20:19 +01:00
Jacob Hipps
008eb1461c
68440: ensure backwards compatibility with FPM_SOCKETS var; fix sockname size
2018-03-30 17:20:19 +01:00
Jacob Hipps
77bf9245d2
Fix bug #68440 : [sapi/fpm] use multiple FPM_SOCKETS env vars to prevent hitting MAX_ARG_STRLEN with a large number of pools
2018-03-30 17:20:19 +01:00
Anatol Belski
35e3d597f5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix clang build, ref buf #76153
2018-03-30 14:16:44 +02:00
Anatol Belski
8b104d7893
Fix clang build, ref buf #76153
...
Clang only allows -std=c++11 for C++ source.
2018-03-30 14:14:35 +02:00
Anatol Belski
99194d1831
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update binary SDK version for AppVeyor
2018-03-29 17:00:47 +02:00
Anatol Belski
e324f82d3c
Update binary SDK version for AppVeyor
2018-03-29 16:59:42 +02:00
Anatol Belski
9510611cdd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Adjust tests for ICU 61.1 compatibility
2018-03-29 14:13:48 +02:00
Anatol Belski
398f56dbc8
Adjust tests for ICU 61.1 compatibility
2018-03-29 14:12:19 +02:00
Ferenc Kovacs
87a9fc3b85
Merge branch 'PHP-7.1' into PHP-7.2
2018-03-28 23:21:04 +02:00
Ferenc Kovacs
c8e55a6fd4
Merge branch 'PHP-7.0' into PHP-7.1
2018-03-28 23:19:30 +02:00
Ferenc Kovacs
01f42b836c
Merge branch 'PHP-5.6' into PHP-7.0
2018-03-28 23:17:59 +02:00
Ferenc Kovacs
cb981e39c2
[ci skip] 5.6.36 will be next
2018-03-28 23:14:30 +02:00
Anatol Belski
4e39968e4d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76153 Intl compilation fails with icu4c 61.1
2018-03-28 18:04:09 +02:00
Anatol Belski
710284cbc4
Fixed bug #76153 Intl compilation fails with icu4c 61.1
...
Additionally, ICU >= 59.1 requires C++11, so add the flags. Some
refactoring is needed to comply with the latest recommended build
options, such as automatic icu namespace addition.
2018-03-28 18:01:44 +02:00
Joe Watkins
fc6cbc3eaa
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #75996 : Add the right urls to the header of mt_rand.
2018-03-27 22:09:42 +02:00
TATAR Balazs Janos
ac4d9fd055
Fixed #75996 : Add the right urls to the header of mt_rand.
2018-03-27 22:09:08 +02:00
Joe Watkins
3e267ca91b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #76131 some arginfo params are different from the documentation
2018-03-27 21:58:24 +02:00
Gabriel Caruso
63934ea71e
Fix #76131 some arginfo params are different from the documentation
2018-03-27 21:56:46 +02:00
Anatol Belski
a492fe213a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update libs_versions.txt
2018-03-27 19:46:25 +02:00
Anatol Belski
cdf72523f3
Update libs_versions.txt
2018-03-27 19:44:17 +02:00
Anatol Belski
c529e9f602
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Fix release date
2018-03-27 16:04:38 +02:00
Anatol Belski
6229e42ae5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Fix release date
2018-03-27 16:03:54 +02:00
Anatol Belski
1e4273d881
[ci skip] Fix release date
2018-03-27 16:02:19 +02:00
Anatol Belski
8b2bfaab66
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
7.0.30 next
2018-03-27 15:02:46 +02:00
Anatol Belski
04c0497ed7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
7.0.30 next
2018-03-27 15:02:07 +02:00
Anatol Belski
48f835efbf
7.0.30 next
2018-03-27 15:00:54 +02:00
Anatol Belski
8b20e86491
[skip ci] Update NEWS
2018-03-27 14:29:03 +02:00
Anatol Belski
d83a75bb00
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
[ci skip] Update NEWS
[ci skip] Update NEWS
2018-03-27 14:28:20 +02:00
Anatol Belski
631ed7288c
[ci skip] Update NEWS
2018-03-27 14:27:44 +02:00
Anatol Belski
ad148c5ac2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Update NEWS
[ci skip] Update NEWS
2018-03-27 14:26:36 +02:00
Anatol Belski
ca51458081
[ci skip] Update NEWS
2018-03-27 14:26:06 +02:00
Anatol Belski
e2b7392b96
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] Update NEWS
2018-03-27 14:25:24 +02:00
Anatol Belski
2885f62816
[ci skip] Update NEWS
2018-03-27 14:24:43 +02:00
Anatol Belski
600b6277f8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Do not set PR_SET_DUMPABLE by default
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:20:53 +02:00
Anatol Belski
6b39c81957
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Do not set PR_SET_DUMPABLE by default
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:20:10 +02:00
Jakub Zelenka
276d19feaa
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:19:36 +02:00
Anatol Belski
eac822e897
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:19:22 +02:00
Jakub Zelenka
d20bebfe13
Do not set PR_SET_DUMPABLE by default
2018-03-27 14:18:01 +02:00
Anatol Belski
35f832a007
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix phpize build when DEFINE() is involved
2018-03-26 13:38:55 +02:00
Anatol Belski
5b2c30d7e6
Fix phpize build when DEFINE() is involved
2018-03-26 13:33:55 +02:00
Anatol Belski
86aecd8801
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync version for VC++ 15.7
2018-03-25 12:59:59 +02:00
Anatol Belski
84f565ec71
Sync version for VC++ 15.7
2018-03-25 12:59:15 +02:00
Nikita Popov
3306577797
Followup fix for bug #75729
...
The case of overloaded substr() with 3 arguments was not handled.
2018-03-24 13:15:59 +01:00
Derick Rethans
c72c4c5271
Updated to version 2018.4 (2018d)
2018-03-24 11:26:16 +00:00
Derick Rethans
ab5dcc83a1
Empty merge
2018-03-24 11:26:16 +00:00
Derick Rethans
869ca9b733
Updated to version 2018.4 (2018d)
2018-03-24 11:26:15 +00:00
Michael Heimpold
25ba60b147
Fixed bug #75722 : Rework valgrind detection
...
As described in bug report #75722 , the configure script (acinclude.m4)
currently searches for the valgrind header file and enables valgrind
support if found.
When cross-compiling the searched paths are invalid for the target
platform because they belong to the host system. At the moment, there is
no way to tell the build system a dedicated path where to look for the
header file.
This leads to the issue, that when cross-compiling eg. for ARMv5 platform,
that valgrind header file is detected - e.g. because host system is amd64 -
and support is enabled - but target platform will never support valgrind
(valgrind requires e.g. at least ARMv7).
This change reworks the detection so that user could manually opt-in
valgrind support and optionally specify a directory where the build system
should look for the header file using the --with-valgrind option.
2018-03-23 22:02:17 +01:00
Tom Van Looy
7f4327bc24
Fix expat_compat.h path used in #include
...
Using ext/xml/expat_compat.h does not work if the extension is
compiled out-of-tree.
2018-03-23 22:01:25 +01:00
Thomas Petazzoni
2842aa2a07
main/php_ini.c: build empty php_load_zend_extension_cb() when !HAVE_LIBDL
...
Commit 0782a7fc63 ("Fixed bug #74866
extension_dir = "./ext" now use current directory for base") modified
the php_load_zend_extension_cb() function to use php_load_shlib(), and
pass a handle to the newly introduced zend_load_extension_handle()
function instead of passing the extension path to
zend_load_extension().
While doing so, it introduced a call to php_load_shlib() from code
that is built even when HAVE_LIBDL is not defined. However,
php_load_shlib() is not implemented when HAVE_LIBDL is not defined,
for obvious reasons.
It turns out that zend_load_extension_handle() anyway doesn't do
anything when ZEND_EXTENSIONS_SUPPORT is defined to 0, and
ZEND_EXTENSIONS_SUPPORT is not defined when HAVE_LIBDL is not defined
(Zend/zend_portability.h).
Fixes the following build failure when building on a system that
doesn't have libdl:
main/php_ini.o: In function `php_load_zend_extension_cb':
php_ini.c:(.text+0x478): undefined reference to `php_load_shlib'
php_ini.c:(.text+0x4b0): undefined reference to `php_load_shlib'
collect2: error: ld returned 1 exit status
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2018-03-23 21:13:45 +01:00
atvoicu
17ed2f21cf
Add missing skip prefix for some SKIPIF messages
2018-03-23 18:56:36 +01:00
Anatol Belski
7b8861204e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update SDK version for AppVeyor
2018-03-21 13:17:44 +01:00
Anatol Belski
6c30014600
Update SDK version for AppVeyor
2018-03-21 13:15:29 +01:00
Christoph M. Becker
8f5c34cd39
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #76113 : mbstring does not build with Oniguruma 6.8.1
2018-03-20 16:53:17 +01:00
Christoph M. Becker
4072b27870
Fix #76113 : mbstring does not build with Oniguruma 6.8.1
...
As of Oniguruma 6.8.1, the regex structure has been moved from the
public `oniguruma.h` to the private `regint.h`. Thus, it is no longer
possible to directly access the struct's members, and actually, there
is no need to, since there are respective accessor functions available
at least of 2.3.1.
2018-03-20 16:42:28 +01:00
Christoph M. Becker
cd2912af5e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75944 : Wrong cp1251 detection
2018-03-19 14:34:09 +01:00
Christoph M. Becker
47461368ca
Fix #75944 : Wrong cp1251 detection
...
`\xFF` is a valid character of CP-1251.
2018-03-19 14:24:27 +01:00
Stanislav Malyshev
13a33f7c7b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Set tests exit status by defaul - also in other instance.
2018-03-19 01:17:36 -07:00
Stanislav Malyshev
f46da1da7d
Set tests exit status by defaul - also in other instance.
2018-03-19 01:17:14 -07:00
Stanislav Malyshev
077b7705af
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Set tests exit status by default.
2018-03-18 15:06:08 -07:00
Stanislav Malyshev
f19c94b555
Set tests exit status by default.
...
Use REPORT_EXIT_STATUS=0 or REPORT_EXIT_STATUS=no to prevent it.
Based on discussion in https://www.mail-archive.com/internals@lists.php.net/msg94141.html
2018-03-18 15:04:50 -07:00
Anatol Belski
615ca3c99d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync test with newer output
2018-03-16 18:56:08 +01:00
Anatol Belski
dfc07f038b
Sync test with newer output
...
Czech Republic vs. newer Czechia
2018-03-16 18:54:55 +01:00
Xinchen Hui
4758164ac5
Fixed bug #76094 (Access violation when using opcache)
2018-03-15 11:17:00 +08:00
Anatol Belski
84881c654e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Reduce var scope
2018-03-14 23:10:24 +01:00
Anatol Belski
efd0e7222b
Reduce var scope
2018-03-14 22:59:54 +01:00
Anatol Belski
783778b9d3
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix stack use after scope
2018-03-14 22:23:04 +01:00
Anatol Belski
7bcd55c264
Fix stack use after scope
2018-03-14 22:21:43 +01:00
Anatol Belski
1e31ac079b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Upgrade binary SDK version for AppVeyor
2018-03-14 12:01:01 +01:00
Anatol Belski
77c202a2e6
Upgrade binary SDK version for AppVeyor
2018-03-14 11:59:37 +01:00
Dmitry Stogov
975d144027
Fixed user-opcode support
2018-03-14 09:41:25 +03:00
Dmitry Stogov
2db6d8e415
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed use-after-free
2018-03-14 09:14:16 +03:00
Dmitry Stogov
b6a41ad5ba
Fixed use-after-free
2018-03-14 09:11:48 +03:00
Joe Watkins
a18a11cf80
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
bump versions
2018-03-14 05:59:18 +01:00
Joe Watkins
d2b47e8065
bump versions
2018-03-14 05:58:42 +01:00
Christoph M. Becker
7448b03300
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #74139 : mail.add_x_header default inconsistent with docs [ci skip]
2018-03-13 23:56:31 +01:00
Christoph M. Becker
25f324fad7
Fix #74139 : mail.add_x_header default inconsistent with docs [ci skip]
...
mail.add_x_header actually defaults to `Off`, so we should use this
default in the provided `php.ini`s.
2018-03-13 23:54:42 +01:00
Christoph M. Becker
b2622ed838
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #76088 : ODBC functions are not available by default on Windows
2018-03-13 14:33:20 +01:00
Christoph M. Becker
cab354debd
Fix #76088 : ODBC functions are not available by default on Windows
2018-03-13 14:30:43 +01:00
Remi Collet
d660d6d31b
next is 7.2.5
2018-03-13 12:49:25 +01:00
Dmitry Stogov
5574562f8f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 )."
2018-03-13 11:03:57 +03:00
Dmitry Stogov
0643c7ab4d
Revert "More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 )."
...
This reverts commit 44ba557de5 .
2018-03-13 11:03:45 +03:00
Dmitry Stogov
575f5002c0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 ).
2018-03-13 10:45:53 +03:00
Dmitry Stogov
44ba557de5
More accurate symbolic constraints oferflow/unserflow handling (better fix for bug #76074 ).
2018-03-13 10:44:53 +03:00
Xinchen Hui
98fe858275
Forgot NEWs
2018-03-13 13:01:33 +08:00
Xinchen Hui
8e576e5abc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Forgot NEWS
2018-03-13 13:00:59 +08:00
Xinchen Hui
998a2ddc37
Forgot NEWS
2018-03-13 13:00:47 +08:00
Xinchen Hui
e547c9f139
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)
2018-03-13 12:52:07 +08:00
Xinchen Hui
4ee9098514
Fixed bug #76085 (Segmentation fault in buildFromIterator when directory name contains a \n)
2018-03-13 12:51:26 +08:00
Anatol Belski
c469213e7b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix heap use after free
2018-03-12 21:02:40 +01:00
Anatol Belski
4cd64aad8a
Fix heap use after free
...
The value may only be used until PGresult was destroyed, thus it needs
to be copied.
2018-03-12 20:57:21 +01:00
Anatol Belski
16570b8c79
Use literal as format
2018-03-12 16:00:24 +01:00
Anatol Belski
8a985403f6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use string literal as format
2018-03-12 15:18:11 +01:00
Anatol Belski
eaa5b1f911
Use string literal as format
2018-03-12 15:17:08 +01:00
Anatol Belski
fc09d7e76f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Provide core includes for the resource compiler by default
2018-03-12 14:16:08 +01:00
Anatol Belski
4dd1be2079
Provide core includes for the resource compiler by default
2018-03-12 14:14:34 +01:00
Dmitry Stogov
e6fb787c66
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-12 11:18:33 +03:00
Dmitry Stogov
f31c4d5398
Replaced usafe reference from SHM to process memory with SHM to SHM reference
2018-03-12 11:18:12 +03:00
Christoph M. Becker
2b02e6dff3
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #62545 : wrong unicode mapping in some charsets
2018-03-11 17:54:45 +01:00
Christoph M. Becker
01ea314e8c
Fix #62545 : wrong unicode mapping in some charsets
...
Undefined characters are best mapped to Unicode REPLACEMENT characters.
2018-03-11 17:38:28 +01:00
Thomas Petazzoni
8489ecefd3
ext/sockets: make AI_IDN usage optional
...
AI_IDN is not supported by all C libraries (uClibc, musl), so make it
optional, like AI_ALL.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com >
2018-03-11 16:35:17 +01:00
Anatol Belski
d34ab3a53c
[ci skip] Update NEWS
2018-03-10 20:08:43 +01:00
Anatol Belski
53f227bb2a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
2018-03-10 20:08:03 +01:00
Anatol Belski
76fc73cbfc
[ci skip] Update NEWS
2018-03-10 20:07:23 +01:00
Bob Weinand
9d908c70d5
Fixup mess in NEWS file (mixed 7.2.3 and 7.2.4 NEWS)
2018-03-10 15:29:07 +01:00
Bob Weinand
cfd0979be5
Merge branch 'PHP-7.1' into PHP-7.2
2018-03-10 15:21:16 +01:00
Bob Weinand
9c6df8a238
Fix bug #76074 (opcache corrupts variable in for-loop)
2018-03-10 15:20:45 +01:00
Anatol Belski
cf0012dad0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault
2018-03-10 11:20:11 +01:00
Anatol Belski
8417a23973
Fixed bug #76068 parse_ini_string fails to parse "[foo]\nbar=1|>baz" with segfault
2018-03-10 11:18:21 +01:00
Anatol Belski
d4cb4168ba
[ci skip] Update link
2018-03-10 09:40:50 +01:00
Christoph M. Becker
d709922979
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #73957 : signed integer conversion in imagescale()
2018-03-10 00:25:11 +01:00
Christoph M. Becker
f1b358c9a9
Fix #73957 : signed integer conversion in imagescale()
...
We must not pass values to `gdImageScale()` which cannot be represented
by an `unsigned int`. Instead we return FALSE, according to what we
already did for negative integers.
2018-03-10 00:17:09 +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
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
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
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
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
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
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
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
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
Nikita Popov
634a1ff033
Merge branch 'PHP-7.1' into PHP-7.2
2018-03-05 15:32:39 +01:00
Nikita Popov
fd5bd37ab1
Revert "Fixed bug #75961 (Strange references behavior)"
...
This reverts commit 94e9d0a2ae .
This code needs to be mindful about modifications to the array
happening during callback execution. It was written in a way that
only accessed the reference, which is guaranteed not to move. The
changed implementation instead accesses the array slot, leading to
use-after-free.
Run ext/standard/tests/array/bug61967.phpt under valgrind to see
the issue.
2018-03-05 15:32:21 +01:00
Anatol Belski
54212dfbf9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Include username into the file cache path
2018-03-05 15:21:31 +01:00
Anatol Belski
27a603e811
Include username into the file cache path
2018-03-05 15:16:55 +01:00
Dmitry Stogov
a8fbb15311
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed "opcache.file_cache_fallback" mode.
2018-03-05 16:15:38 +03:00
Dmitry Stogov
350082ed71
Fixed "opcache.file_cache_fallback" mode.
...
It's not safe to change value of ZCG(accel_directives).file_cache_only, becuse it might be altered by INI subsystem.
Use global variable instead.
2018-03-05 16:01:43 +03:00
Christoph M. Becker
d83467d70b
Fix #76041 : null pointer access crashed php
...
We must not draw anti-aliased lines on palette images, because that is
not supported by `gdImageSetAAPixelColor()` and it wouldn't make much
sense to support it, due to the limitation to at most 256 colors.
2018-03-02 17:18:45 +01:00
Anatol Belski
3c58b2c31a
Remove TSRMLS_*
2018-03-01 12:12:11 +01:00
Joe Watkins
23ebda3a71
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix news date
2018-02-28 12:23:08 +01:00
Joe Watkins
a827aefe47
fix news date
2018-02-28 12:10:58 +01:00
Xinchen Hui
07fb188492
Update NEWS
2018-02-28 18:07:05 +08:00
Xinchen Hui
858ebd9285
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #76025 (Segfault while throwing exception in error_handler).
2018-02-28 18:06:49 +08:00
Xinchen Hui
d5c171311d
Fixed bug #76025 (Segfault while throwing exception in error_handler).
2018-02-28 18:06:37 +08:00
George Wang
66e3912f3a
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-27 23:33:36 -05:00
George Wang
d4387fca0a
revert last change, for PHP7 no need to do strlen() + 1 for hash look up.
2018-02-27 23:31:43 -05:00
George Wang
3af5722e11
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-27 23:21:04 -05:00
George Wang
2b033607f3
[BUGFIX] calling php_ini_activate_per_host_config() with correct name length.
2018-02-27 23:18:51 -05:00
Bob Weinand
15d611e451
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-28 02:35:44 +01:00
Bob Weinand
3f32bd9f43
Fix pcntl build on mac
...
Apparently on mac WIF*(x) macros resolve to (*(int*)&x) (_W_INT macro in sys/wait.h), forcing the value to be a lvalue
2018-02-28 02:13:28 +01:00
Ferenc Kovacs
fe181463a7
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-28 00:05:10 +01:00
Ferenc Kovacs
b53e547d85
Merge branch 'PHP-7.0' into PHP-7.1
2018-02-28 00:02:48 +01:00
Ferenc Kovacs
c28a6253e5
Merge branch 'PHP-5.6' into PHP-7.0
2018-02-28 00:00:12 +01:00
Ferenc Kovacs
3db7427b71
5.6.35 is next
2018-02-27 23:57:06 +01:00
George Wang
9607d15d7d
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-27 13:56:19 -05:00
George Wang
97ff815cbb
release LiteSpeed SAPI 7.0.
...
add CRIU support.
add support for [PATH=] and [HOST=] sections in php.ini
2018-02-27 13:54:28 -05:00
Anatol Belski
1ec4d3698b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
7.0.29 next
2018-02-27 11:51:10 +01:00
Anatol Belski
ea4ba9d008
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
7.0.29 next
2018-02-27 11:50:22 +01:00
Anatol Belski
c61b56ed00
7.0.29 next
2018-02-27 11:48:49 +01:00
Anatol Belski
74bdb8fb15
[ci skip] Update NEWS
2018-02-27 11:39:19 +01:00
Anatol Belski
ba8818325e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
[ci skip] Update NEWS
[ci skip] Update NEWS
2018-02-27 11:38:23 +01:00
Anatol Belski
f6356b435a
[ci skip] Update NEWS
2018-02-27 11:37:24 +01:00
Anatol Belski
9e1113dee1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Update NEWS
[ci skip] Update NEWS
2018-02-27 11:34:13 +01:00
Anatol Belski
fed294d2a8
[ci skip] Update NEWS
2018-02-27 11:33:40 +01:00
Anatol Belski
1e0499b095
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] Update NEWS
2018-02-27 11:32:26 +01:00
Anatol Belski
4698a412bf
[ci skip] Update NEWS
2018-02-27 11:31:37 +01:00
Stanislav Malyshev
ab9f9b5d3b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #75981 : prevent reading beyond buffer start
2018-02-26 22:26:55 -08:00
Stanislav Malyshev
a6f7760d57
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #75981 : prevent reading beyond buffer start
2018-02-26 22:26:50 -08:00
Stanislav Malyshev
dde7a05978
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #75981 : prevent reading beyond buffer start
2018-02-26 22:26:26 -08:00
Stanislav Malyshev
523f230c83
Fix bug #75981 : prevent reading beyond buffer start
2018-02-26 22:25:51 -08:00
Christoph M. Becker
feef202718
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
2018-02-24 23:39:28 +01:00
Christoph M. Becker
6e300bdeae
[ci skip] Update NEWS
2018-02-24 23:37:43 +01:00
Christoph M. Becker
8c396e0e88
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix imagesetinterpolation arginfo
2018-02-24 11:32:03 +01:00
Gabriel Caruso
a358211a75
Fix imagesetinterpolation arginfo
...
imagesetinterpolation only requires one parameter.
2018-02-24 11:30:24 +01:00
Stanislav Malyshev
c904d380a2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Set FPM maintainership
2018-02-23 17:57:57 -08:00
Stanislav Malyshev
ae1f18b69c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Set FPM maintainership
2018-02-23 17:57:50 -08:00
Stanislav Malyshev
09a19e778b
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] Set FPM maintainership
2018-02-23 17:57:26 -08:00
Stanislav Malyshev
1f4b057b63
[ci skip] Set FPM maintainership
...
As per http://news.php.net/php.internals/101897 , Jakub is officially
annointed as new FPM maintainer.
2018-02-23 16:43:10 -08:00
Christoph M. Becker
32df2b6617
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75873 : pcntl_wexitstatus returns incorrect on Big_Endian platform (s390x)
2018-02-23 23:52:07 +01:00
Sam Ding
78c1ef2adb
Fix #75873 : pcntl_wexitstatus returns incorrect on Big_Endian platform (s390x)
...
Cf. https://github.com/php/php-src/pull/3141 .
2018-02-23 23:50:36 +01:00
Christoph M. Becker
c6cf3d4ada
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix some arginfos
2018-02-23 11:29:21 +01:00
Gabriel Caruso
0b8cfa6c78
Fix some arginfos
...
* all arguments for ftp_pasv are required
* $varname for getenv function isn't required anymore
* fsockopen and pfsockopen only require $hostname
* strtok can work with only one parameter
* strpbrk needs two parameters to work
* required parameters and add some parameters in openssl_* functions
2018-02-23 11:27:14 +01:00
Johannes Schlüter
2577cdbea2
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-20 23:32:25 +01:00
Johannes Schlüter
42952a756e
Merge branch 'PHP-7.0' into PHP-7.1
2018-02-20 23:32:05 +01:00
Johannes Schlüter
73cd5fca2c
Fix NEWS
2018-02-20 23:31:30 +01:00
Johannes Schlüter
74ed42c169
Fix a memleak with mysqlnd and SSL
2018-02-20 23:28:23 +01:00
Johannes Schlüter
1c98955d0f
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-20 23:20:28 +01:00
Johannes Schlüter
e3cf72b829
Merge branch 'PHP-7.0' into PHP-7.1
2018-02-20 23:20:02 +01:00
Johannes Schlüter
8f3c29aee1
Fix negotiaton of MySQL auth plugin
2018-02-20 23:13:03 +01:00
Christoph M. Becker
6237bcd39e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Sort recent NEWS entries alphabetically
2018-02-20 16:33:55 +01:00
Christoph M. Becker
656381745a
[ci skip] Sort recent NEWS entries alphabetically
2018-02-20 16:31:56 +01:00
Christoph M. Becker
e80e38ab7c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix openssl_* arginfos
2018-02-20 16:25:22 +01:00
Gabriel Caruso
276b57316c
Fix openssl_* arginfos
...
openssl_pkcs12_export and openssl_x509_parse had wrong arginfos
2018-02-20 16:23:42 +01:00
Anatol Belski
884697a290
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update binary tools SDK branch for AppVeyor
2018-02-20 15:52:42 +01:00
Anatol Belski
c28b03a8e7
Update binary tools SDK branch for AppVeyor
2018-02-20 15:40:10 +01:00
Anatol Belski
ea0355632d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
dos2unix
2018-02-20 08:00:08 +01:00
Anatol Belski
ef04bc4a51
dos2unix
2018-02-20 07:59:34 +01:00
Nikita Popov
1b6a9ea584
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-19 21:46:11 +01:00
Nikita Popov
7b3a2d16aa
Fix incorrect printf modifiers
2018-02-19 21:44:36 +01:00
Anatol Belski
fa7c32040c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use more jobs with cppcheck
2018-02-19 11:27:42 +01:00
Anatol Belski
08b4f3c745
Use more jobs with cppcheck
2018-02-19 11:27:03 +01:00
Nikita Popov
500632ac13
Fix pfsockopen() func info
2018-02-18 17:42:12 +01:00
Nikita Popov
c0abab5fca
Fix ZEND_SL range inference
...
This is a bit tricker than right shifts because shifting in the
sign bit flips the sign. The computed bounds are not tight.
2018-02-18 17:42:12 +01:00
Nikita Popov
202989edf8
Fix ZEND_SR range inference
...
Handle out-of-range RHS correctly.
2018-02-18 17:42:12 +01:00
Nikita Popov
40ff001381
Fix constant() func info
...
Since PHP 5.6 this can also be an array.
2018-02-18 17:42:11 +01:00
Nikita Popov
ae837db8cf
Handle overloaded GMP operators in type inference
2018-02-18 15:33:30 +01:00
Nikita Popov
39974dd65d
Disable negative range inference
...
The negative range inference implementation does not work correctly,
and it's not clear right now how it can be fixed. As such, disable
it entirely for now.
2018-02-18 15:33:28 +01:00
Nikita Popov
846e8a3ec9
Fix COUNT range inference
...
count() on objects may return a negative number :(
2018-02-17 23:18:30 +01:00
Nikita Popov
fa7c23ba27
Fix hash_init() and hash_copy() func info
...
These functions were switched to use objects instead of resources.
2018-02-17 23:18:29 +01:00
Nikita Popov
acb9426a6b
Fix curl_multi_close() func info
...
Returns false on failure
2018-02-17 23:18:29 +01:00
Nikita Popov
8bdf9905da
Fix get_object_vars() func info
...
Numeric keys will be converted to integer nowadays.
2018-02-17 23:18:29 +01:00
Nikita Popov
1a50a50bcf
Add RC flags in init_func_return_info
2018-02-17 23:18:29 +01:00
Nikita Popov
fd5644cd0b
Fix array_values() and array_keys() func info
...
Can return RCN for empty/packed arrays
2018-02-17 23:18:28 +01:00
Anatol Belski
0255c21319
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Remove duplicated assignment
2018-02-17 13:12:29 +01:00
Anatol Belski
a468752e53
Remove duplicated assignment
2018-02-17 13:10:59 +01:00
Xinchen Hui
114e5d0206
Update NEWS
2018-02-17 16:35:42 +08:00
Xinchen Hui
26dda8999c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75961 (Strange references behavior)
2018-02-17 16:33:39 +08:00
Xinchen Hui
94e9d0a2ae
Fixed bug #75961 (Strange references behavior)
2018-02-17 16:33:15 +08:00
Nikita Popov
0674d677bc
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-16 20:30:49 +01:00
Nikita Popov
372bf8a923
Fixed bug #75969
...
Move NOP stripping out of zend_optimize_block: NOP stripping may
move instructions, which may invalidate a Tsource shared across
an extended basic block.
2018-02-16 20:30:03 +01:00
Anatol Belski
4800a95e72
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Wrap var depending on conditional compilation
2018-02-16 13:41:13 +01:00
Anatol Belski
da0ed5cdb1
Wrap var depending on conditional compilation
2018-02-16 13:40:44 +01:00
Joe Watkins
34ab10ef1b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed print_const_table function and zval types in ____printzv_contents
2018-02-15 08:57:43 +01:00
Mitch Hagstrand
da5db1c9b2
Fixed print_const_table function and zval types in ____printzv_contents
...
1. Fixed print_const_table to work in ZE3
2. Removed ____print_const_table to use more generic ____print_ht
3. Fixed up zval types in ____printzv_contents
2018-02-15 08:57:32 +01:00
Joe Watkins
0b5466c0a6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
bump versions
2018-02-15 08:56:08 +01:00
Gabriel Caruso
8a3f45f90b
Remove getmxrr alias dns_get_mx test
...
The test is currently failing, and the same functionality is
already tested (in a better way) in the getmxrr() test.
2018-02-14 19:00:07 +01:00
Remi Collet
a93dba4324
add pkg-config example in extension skeleton
2018-02-14 13:28:21 +01:00
Remi Collet
17164bcf8d
factorization of duplicated code
2018-02-14 13:15:09 +01:00
Remi Collet
528bc00d84
Fix timezone var_dump from 51f2a5803f
2018-02-14 08:59:24 +01:00
Sara Golemon
2cc8cf2994
Now working on 7.2.4-dev
2018-02-13 14:37:00 -05:00
Sara Golemon
5dd2a4185c
Now working on 7.2.4-dev
2018-02-13 14:32:37 -05:00
Joe
1f0ea7fa4d
bump versions
2018-02-13 20:24:34 +01:00
Anatol Belski
2235da59af
Extend skipif check
2018-02-13 14:04:51 +01:00
Joe
8c1147b089
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it
2018-02-12 09:19:11 +01:00
jhdxr
070211b3e3
Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it
2018-02-12 09:17:21 +01:00
Christoph M. Becker
7554fd9101
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75857 : Timezone gets truncated when formatted
2018-02-11 12:49:41 +01:00
Gabriel Caruso
f706937120
Fix #75857 : Timezone gets truncated when formatted
...
Use sizeof buffer instead of hard-coded lenghts
2018-02-11 03:14:41 +01:00
Nikita Popov
ee3f3a9d75
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-10 19:30:57 +01:00
Pedro Lacerda
fddd7e38bd
Fixed bug #75928
2018-02-10 19:29:47 +01:00
Nikita Popov
e87283fa3f
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-10 19:19:09 +01:00
Mitch Hagstrand
01f7998db0
Enhancements and fixes for print_pi in gdbinit
...
1) Outputs the default value and the offset of a property
2) Fixed output of property flags
2018-02-10 19:18:39 +01:00
Nikita Popov
7aac61ce76
Fixed bug #75938
...
New modulus range inference implementation has been verified using
https://gist.github.com/nikic/67947ff92cf0e1f7e931f2f0d4cf817f .
The computed bounds are not tight, but it seems to be very hard to
compute tight bounds on modulus operations.
2018-02-09 15:10:23 +01:00
Joe
f9a16d492e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixes bug #75871 Use pkg-config for libxml2 if available
2018-02-08 10:51:07 +01:00
Pedro Magalhães
5673c641dc
Fixes bug #75871 Use pkg-config for libxml2 if available
2018-02-08 10:50:22 +01:00
Joe
d803dcba3b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #49876 lib path on 64bit distros
2018-02-08 10:42:42 +01:00
David Zuelke
8000334538
Fixed bug #49876 lib path on 64bit distros
2018-02-08 10:41:46 +01:00
Joe
44a1271ea0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #65414
2018-02-08 10:33:03 +01:00
Bishop Bettini
d806d0315f
Fixed bug #65414
2018-02-08 10:32:08 +01:00
Bishop Bettini
4765ba7dc3
Fixed bug #65414
2018-02-08 10:29:56 +01:00
Joe
ab770401e1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74519 strange behavior of AppendIterator
2018-02-08 10:18:31 +01:00
CHU Zhaowei
01eafceea1
Fixed bug #74519 strange behavior of AppendIterator
2018-02-08 10:16:24 +01:00
CHU Zhaowei
495508eceb
fix #74519 strange behavior of AppendIterator
2018-02-08 10:15:09 +01:00
Nikita Popov
1391a0fa0b
Fixed bug #75893
...
It is not sufficient to just add the additional types for aliased
variables at the end of type inference, because types of derived
variables may depend on them. Make sure the additional types are
always added whenever the type of an aliased variable is updated.
2018-02-05 21:41:44 +01:00
Nikita Popov
d9e71169e6
Fixed bug #75729
...
Don't try to evaluate substr() and strpos() at compile-time if
mbstring function overloading is enabled. I'm reusing the
COMPILE_NO_BUILTIN_STRLEN for the detection of mbstring function
overloading here, even if it's technically only about strlen()...
2018-02-05 21:08:18 +01:00
Anatol Belski
51a0e051fc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Finer conditions, so /Qspectre is already usable with latest vc15
2018-02-05 10:40:45 +01:00
Anatol Belski
1368aea352
Finer conditions, so /Qspectre is already usable with latest vc15
2018-02-05 10:38:06 +01:00
Michael Wallner
3ef3f74a65
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix bug #75916 DNS_CAA record results contain garbage
2018-02-05 09:08:12 +01:00
Michael Wallner
42f2ae0572
fix bug #75916 DNS_CAA record results contain garbage
...
It is assumed that DNS_CAA record values are zero terminated,
while its length is defined as (RDATA_LENGTH - tag_length - 2).
2018-02-05 09:04:07 +01:00
Nikita Popov
3e15465f31
Merge branch 'PHP-7.1' into PHP-7.2
2018-02-02 22:31:40 +01:00
Chris Lamb
a694433bff
Fix SOURCE_DATE_EPOCH to not vary on timezones
2018-02-02 22:31:17 +01:00
Anatol Belski
b7575758a9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Switch to the new PHP SDK version on AppVeyor
2018-02-02 14:09:20 +01:00
Anatol Belski
b1ee215c69
Switch to the new PHP SDK version on AppVeyor
2018-02-02 14:06:53 +01:00
Anatol Belski
138ea7c3fe
Ensure there are no line breaks in the error msg
2018-02-01 15:30:01 +01:00
Anatol Belski
bc584c408c
[ci skip] Update NEWS
2018-02-01 15:26:12 +01:00
Anatol Belski
88aeb104a2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
Fix race conditions with Apache vhost vs. per dir config
2018-02-01 15:25:55 +01:00
Anatol Belski
2ae46f8eb6
[ci skip] Update NEWS
2018-02-01 15:25:15 +01:00
Anatol Belski
bced074124
Fix race conditions with Apache vhost vs. per dir config
...
If the same php_value/php_flag is present in httpd.conf and .htaccess,
the key is potentially shared between threads. Unfortunately we can't
intern these keys using the current mechanism, because the MPM is setup
before the SAPI module setup is even started. A more elegant way were
to implement a kind of string pool for the thread safe Apache SAPI
config directives with the mechanism similar to what is done for the
SAPI setup now, but doing a separate management.
(cherry picked from commit 73eb5a78b9 )
2018-02-01 15:24:31 +01:00
Anatol Belski
73eb5a78b9
Fix race conditions with Apache vhost vs. per dir config
...
If the same php_value/php_flag is present in httpd.conf and .htaccess,
the key is potentially shared between threads. Unfortunately we can't
intern these keys using the current mechanism, because the MPM is setup
before the SAPI module setup is even started. A more elegant way were
to implement a kind of string pool for the thread safe Apache SAPI
config directives with the mechanism similar to what is done for the
SAPI setup now, but doing a separate management.
2018-01-31 20:15:30 +01:00
Derick Rethans
5feb53964f
Sync with timelib 2017.06
2018-01-31 11:55:35 +00:00
Jakub Zelenka
3348d40a7b
Use correct certs for SNI server tests with separate key and cert
2018-01-30 20:08:19 +00:00
Jakub Zelenka
aef59537e6
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-30 20:02:34 +00:00
Jakub Zelenka
fe2ac52d50
Use correct certs for SNI server tests
2018-01-30 19:58:40 +00:00
Thomas Punt
0f393a6102
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use the correct freeing function
2018-01-29 11:13:22 +00:00
Thomas Punt
fb128f6512
Use the correct freeing function
2018-01-29 11:13:10 +00:00
Bishop Bettini
fa586cee3e
Fixed bug #54289
...
If a directory is passed to Phar::extractTo(), loop over all
entries and extract all files with the given prefix.
2018-01-28 21:51:25 +01:00
Anatol Belski
a99df321f1
[ci skip] Update NEWS.
2018-01-27 17:24:29 +01:00
Sam Ding
a8c6b36d62
fixed Big_endian issue on s390x for stream test cases
2018-01-27 16:39:03 +01:00
Christoph M. Becker
96595a232a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Revert "Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature"
2018-01-27 13:13:06 +01:00
Christoph M. Becker
a882f95e39
Revert "Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature"
...
This reverts commit 4bd7658e1b .
To avoid the BC break we apply the fix to master only.
2018-01-27 13:11:30 +01:00
Christoph M. Becker
d7a02844f9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature
2018-01-27 12:41:15 +01:00
Christoph M. Becker
4bd7658e1b
Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature
2018-01-27 12:33:36 +01:00
Nikita Popov
fd255b8878
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-26 22:28:48 +01:00
Philip Prindeville
aad76a9b79
Be consistent in clearing out in php_iconv_string()
2018-01-26 22:28:27 +01:00
Dmitry Stogov
aad12cb49c
Restore initial values on graceful server restart.
2018-01-26 15:22:36 +03:00
Michael Orlitzky
3fe9e10a1b
ext/session: catch incompatible configure flags earlier.
...
The session extension has a --with-mm flag that tells it to build
the mm backend ("mm" is the name of the library). However, that
backend is not thread-safe, and mod_mm.c will refuse to compile if
the --enable-maintainer-zts flag was also passed to the configure
script.
Rather than crash halfway through the build, this commit adds a check
to the session extension's config.m4 file. If both --with-mm and
--enable-maintainer-zts are "on," then the configure script will
die and explain that they can't be used together.
PHP-bug: 14269
2018-01-24 21:22:15 +01:00
Derick Rethans
6dbe046154
Updated to version 2018.3 (2018c)
2018-01-24 13:57:07 +00:00
Derick Rethans
3bdcb6cf3e
Empty merge
2018-01-24 13:57:07 +00:00
Derick Rethans
f80e59a566
Updated to version 2018.3 (2018c)
2018-01-24 13:57:06 +00:00
Sara Golemon
0c22cda951
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix alignment of PG struct cause by ignore_user_abort big endian fix
2018-01-23 11:11:37 -05:00
Sara Golemon
3ffdf6c088
Fix alignment of PG struct cause by ignore_user_abort big endian fix
2018-01-23 11:06:34 -05:00
Sara Golemon
0067420049
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
2018-01-23 09:24:47 -05:00
Sara Golemon
e954bafc28
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
2018-01-23 09:24:40 -05:00
Sara Golemon
e88e83d3e5
Use Z_EXPECTED_LONG to initialize FAST_ZPP parsing loop
2018-01-23 09:24:10 -05:00
Sara Golemon
871066523e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
2018-01-23 08:58:53 -05:00
Sara Golemon
d46d53a7bc
BigEndian fix for ignore_user_abort. Use zend_bool to match OnUpdateBool
2018-01-23 08:58:19 -05:00
Anatol Belski
4626c28e9c
[ci skip] Update NEWS
2018-01-22 19:15:30 +01:00
Anatol Belski
b8f14008eb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
2018-01-22 19:15:02 +01:00
Anatol Belski
594a4da3e5
[ci skip] Update NEWS
2018-01-22 19:14:24 +01:00
Anatol Belski
e403e122cd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73725 Unable to retrieve value of varchar(max) type
2018-01-22 17:03:48 +01:00
Anatol Belski
2384ade53c
Fixed bug #73725 Unable to retrieve value of varchar(max) type
2018-01-22 17:02:54 +01:00
Xinchen Hui
2dc1cd1154
Updated NEWS
2018-01-18 10:53:58 +08:00
Xinchen Hui
6184301212
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #75838 (Memory leak in pg_escape_bytea())
2018-01-18 10:53:39 +08:00
Xinchen Hui
fb205020ce
Fixed #75838 (Memory leak in pg_escape_bytea())
2018-01-18 10:53:23 +08:00
Anatol Belski
f0aa379dc1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add switches for Spectre variant 1 mitigation
2018-01-17 14:47:39 +01:00
Anatol Belski
043d53c789
Add switches for Spectre variant 1 mitigation
2018-01-17 14:33:08 +01:00
Anatol Belski
13dd12e85f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
7.0.15 next
2018-01-16 19:49:23 +01:00
Anatol Belski
ea56fc840e
7.0.15 next
2018-01-16 19:47:35 +01:00
Xinchen Hui
9206afc652
Fixed NEWS
2018-01-16 17:31:44 +08:00
Remi Collet
5a54107879
next is 7.2.3
2018-01-16 09:54:57 +01:00
Anatol Belski
be89405839
[ci skip] Update NEWS
2018-01-15 17:49:21 +01:00
Anatol Belski
cc5e53695a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
2018-01-15 17:47:29 +01:00
Anatol Belski
47941976b7
[ci skip] Update NEWS
2018-01-15 17:46:34 +01:00
Anatol Belski
c5768a7e24
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Allow pecl like usage in ext/phar, closes #2955
2018-01-15 14:25:45 +01:00
Anatol Belski
2d4fb56c1d
Allow pecl like usage in ext/phar, closes #2955
2018-01-15 14:23:46 +01:00
Nikita Popov
f3c1726d25
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-15 12:16:00 +01:00
Nikita Popov
2023346973
Fixed bug #75079
2018-01-15 12:15:40 +01:00
Anatol Belski
be0620a2f0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync for upcoming vc++ 15.6 version raise
2018-01-14 16:42:17 +01:00
Anatol Belski
089a3213ae
Sync for upcoming vc++ 15.6 version raise
2018-01-14 16:38:36 +01:00
Anatol Belski
43c578b4b2
[ci skip] Update NEWS
2018-01-13 14:50:58 +01:00
Anatol Belski
4fabee770f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Update NEWS
2018-01-13 14:50:00 +01:00
Anatol Belski
05c4f72ab6
[ci skip] Update NEWS
2018-01-13 14:48:48 +01:00
Anatol Belski
1350f4f997
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix invalid free
2018-01-13 12:33:02 +01:00
Anatol Belski
2503a27ae0
Fix invalid free
2018-01-13 12:32:22 +01:00
Nikita Popov
cf70e1910b
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-13 11:06:46 +01:00
Nikita Popov
8c07170ddb
Fix generator GC if yield from parent chain does not reach root
...
Parents may be unlinked while another generator sharing part of the
chain is running. As such, we cannot assume that the parent chain
goes all the way to the root. Instead walk backwards from root to
leaf, like we also do during destruction.
2018-01-13 11:04:26 +01:00
Nikita Popov
d00f52b6a9
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-12 22:51:20 +01:00
Nikita Popov
cab0a814bd
Try to fix yield from GC issues
...
Make sure we always update root and parent references before
releasing the old root object.
This fixes some crashes under aggressive cycle collection, so
hopefully this will also fix bug #75351 .
2018-01-12 22:51:03 +01:00
Nikita Popov
e112b8474a
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-12 21:28:24 +01:00
Nikita Popov
420d11e8ca
Fixed bug #75396
...
Do not run finally blocks in generators on unclean shutdown (e.g.
caused by exit). This is consistent with how finally blocks outside
of generators behave.
2018-01-12 21:27:23 +01:00
Nikita Popov
8c73fc8027
Fixed bug #75653
2018-01-12 18:30:22 +01:00
Nikita Popov
f8c889760c
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-12 18:18:34 +01:00
Nikita Popov
9e98e99a3a
Revert "Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)"
...
This reverts commit 816758eda2 .
After this commit relative router scripts were resolved against
docroot rather than shell cwd.
2018-01-12 18:11:12 +01:00
Anatol Belski
1d05750c50
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75774 imap_append HeapCorruction
2018-01-12 17:14:19 +01:00
Anatol Belski
cecf734dc3
Fixed bug #75774 imap_append HeapCorruction
2018-01-12 17:13:18 +01:00
Anatol Belski
baaf73be69
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Unify EOL
Extend test, latest cURL ships also with smb and smbs
2018-01-12 12:21:43 +01:00
Anatol Belski
9d2662ea4b
Unify EOL
2018-01-12 12:20:31 +01:00
Anatol Belski
4bb46c133d
Extend test, latest cURL ships also with smb and smbs
2018-01-12 12:17:57 +01:00
Anatol Belski
e3fda6e5f6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test for libtidy 5.6.0
2018-01-11 14:33:59 +01:00
Anatol Belski
83a77383b9
Fix test for libtidy 5.6.0
...
libtidy 5.6.0 remove the language option from the library, it is only
supported on cli. Prior to that, this option was not used in the
library. Thus, exclude the option presence from test.
2018-01-11 14:29:49 +01:00
Christoph M. Becker
7e1d2bd82a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75799 (arg of get_defined_functions is optional)
2018-01-11 13:13:49 +01:00
Gabriel Caruso
a843a86e6f
Fixed bug #75799 (arg of get_defined_functions is optional)
2018-01-11 13:10:47 +01:00
Nikita Popov
2dd80a0782
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-09 20:24:48 +01:00
Nikita Popov
fd30c59e04
Fixed bug #75786
...
SEND_UNPACK on iterators was duplicating references in-place,
which effectively leaks the original value and causes an off-by-one
refcount on the duplicated value.
Replace this with a deref, as an actual duplication is not even
needed in this case.
2018-01-09 20:20:31 +01:00
Nikita Popov
c8eda195aa
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-09 18:44:20 +01:00
Nikita Popov
f208187773
Backport narrowing fix to 7.1
...
This is a cherry-pick of 8a4532319d .
2018-01-09 18:41:46 +01:00
Xinchen Hui
0a1f52fb09
Update NEWS
2018-01-09 16:23:26 +08:00
Xinchen Hui
9a2fc39542
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75781 (substr_count incorrect result)
2018-01-09 16:21:13 +08:00
Xinchen Hui
6da44fefb2
Fixed bug #75781 (substr_count incorrect result)
2018-01-09 16:21:02 +08:00
Dmitry Stogov
cfee682802
Fixed possible incorrect "mark" usage
2018-01-09 10:30:00 +03:00
Anatol Belski
fc6a990891
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix tests
2018-01-04 16:09:51 +01:00
Anatol Belski
1448f0912f
Fix tests
2018-01-04 16:08:41 +01:00
Lior Kaplan
fc528afd2b
Happy new year (Update copyright to 2018)
2018-01-04 00:50:42 +02:00
Anatol Belski
4635cc5b9d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip on Travis-CI
2018-01-03 18:36:10 +01:00
Anatol Belski
904e0d7212
Skip on Travis-CI
...
The current doc states max ram for a test VM would be 7.5G, the
currently used container image has even less. This skip should be
revisited, as the available memory amount shifts. The way of checking
/proc/meminfo doesn't work reliably on containers at least, thus
skipping explicitly on Travis-CI makes sense.
2018-01-03 18:32:33 +01:00
Anatol Belski
e282e52967
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Extend skip section
2018-01-03 16:56:00 +01:00
Anatol Belski
2508d5051f
Extend skip section
...
The test requires some untrivial amount of RAM. Added a simple check for
the system free RAM to avoid false positive fails.
2018-01-03 16:54:14 +01:00
Remi Collet
c0862892ff
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
2018
2018-01-03 15:13:10 +01:00
Remi Collet
ce0ab999e5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
2018
2018-01-03 15:13:03 +01:00
Remi Collet
27347613fe
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
2018
2018-01-03 15:12:56 +01:00
Remi Collet
67ec3ce1ec
2018
2018-01-03 15:12:39 +01:00
Remi Collet
421787db6b
missing changelog entries + fix version and date
2018-01-03 15:10:09 +01:00
Remi Collet
6659689c74
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
missing changelog entries
2018
2018-01-03 15:07:36 +01:00
Remi Collet
618c3b765d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
2018
2018-01-03 15:07:18 +01:00
Remi Collet
d6e4132ca6
missing changelog entries
2018-01-03 15:07:09 +01:00
Remi Collet
1aa8e42036
2018
2018-01-03 15:04:48 +01:00
Xinchen Hui
0e62639d28
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Happy new year (Update copyright to 2018)
2018-01-03 16:00:34 +08:00
Xinchen Hui
471aa5d50d
Merge branch 'PHP-7.1-copyright' of https://github.com/kaplanlior/php-src into PHP-7.1
...
* 'PHP-7.1-copyright' of https://github.com/kaplanlior/php-src :
Happy new year (Update copyright to 2018)
2018-01-03 15:59:05 +08:00
Ferenc Kovacs
5275149e3a
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-03 00:35:50 +01:00
Ferenc Kovacs
ca2619ff9a
Merge branch 'PHP-7.0' into PHP-7.1
2018-01-03 00:34:24 +01:00
Ferenc Kovacs
4888495178
Merge branch 'PHP-5.6' into PHP-7.0
2018-01-03 00:33:20 +01:00
Ferenc Kovacs
028507f1f6
php 5.6.34 is next
2018-01-03 00:30:58 +01:00
Lior Kaplan
fbfdd1e1c4
Happy new year (Update copyright to 2018)
2018-01-02 23:42:29 +02:00
Anatol Belski
8a8bf1dc13
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip test for pdo_odbc
2018-01-02 12:29:19 +01:00
Anatol Belski
463fd04758
Skip test for pdo_odbc
...
The error messages are too discrepant and '-' is otherwise not allowed
by the parser.
2018-01-02 12:12:46 +01:00
Anatol Belski
08d06f7d4f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test for pdo_odbc
2018-01-02 11:39:09 +01:00
Anatol Belski
1a9d09784e
Fix test for pdo_odbc
...
SqlServer requires parentheses to the TOP argument.
2018-01-02 11:34:57 +01:00
Stanislav Malyshev
4380ba7f9c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix some int/long confusion issues in GMP
2018-01-02 00:12:33 -08:00
Stanislav Malyshev
c0f0a0a862
Fix some int/long confusion issues in GMP
...
mpz_setbit seems to have limit of INT_MAX * GMP_NUMB_BITS on
the number of bits supported, and will abort() if that limit
is exceeded.
2018-01-02 00:12:24 -08:00
Anatol Belski
e07eda1235
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2018-01-02 07:50:18 +01:00
Anatol Belski
2f56142034
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2018-01-02 07:49:53 +01:00
Anatol Belski
5d8e298ebf
[ci skip] update NEWS
2018-01-02 07:49:09 +01:00
Xinchen Hui
b2346a9888
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
regenerated with newer re2c
2018-01-02 13:57:56 +08:00
Xinchen Hui
b65abecfdf
regenerated with newer re2c
2018-01-02 13:54:29 +08:00
Xinchen Hui
0ebe87dc17
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
2018-01-02 13:50:46 +08:00
Xinchen Hui
e8eb52dc98
Merge branch 'PHP-7.2' of git.php.net:/php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:/php-src:
Update NEWS
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-02 13:50:18 +08:00
Xinchen Hui
bd23bcec3e
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Update NEWS
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-02 13:49:58 +08:00
Stanislav Malyshev
a68dc899bb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-01 21:07:21 -08:00
Xinchen Hui
7a7ec01a49
year++
2018-01-02 12:55:14 +08:00
Xinchen Hui
1f2ea6c59a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
year++
2018-01-02 12:54:07 +08:00
Xinchen Hui
ccd4716ec7
year++
2018-01-02 12:53:31 +08:00
Stanislav Malyshev
92c19f8a26
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update NEWS
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-01 20:52:34 -08:00
Stanislav Malyshev
459ab2eef4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update NEWS
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-01 20:28:01 -08:00
Stanislav Malyshev
2881199c80
Update NEWS
2018-01-01 19:53:00 -08:00
Christoph M. Becker
8d6e958867
Fixed bug #75571 : Potential infinite loop in gdImageCreateFromGifCtx
...
Due to a signedness confusion in `GetCode_` a corrupt GIF file can
trigger an infinite loop. Furthermore we make sure that a GIF without
any palette entries is treated as invalid *after* open palette entries
have been removed.
2018-01-01 19:51:26 -08:00
Stanislav Malyshev
73ca9b3773
Fix bug #74782 : remove file name from output to avoid XSS
2018-01-01 19:51:02 -08:00
Nikita Popov
4422f86fde
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-01 21:30:30 +01:00
Nikita Popov
d534d59bd8
Fixed bug #75502
...
The string keys were not duplicated into persistent memory in this
case.
2018-01-01 21:29:24 +01:00
Jakub Zelenka
84aad458ca
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-30 17:41:45 +00:00
Jakub Zelenka
2fd0b994dd
Use seialize_precision instead of precision in all json tests
2017-12-30 17:34:01 +00:00
Dmitry Stogov
9188f1d861
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75720 (File cache not populated after SHM runs full)
2017-12-28 14:08:38 +03:00
Dmitry Stogov
60b2d67828
Fixed bug #75720 (File cache not populated after SHM runs full)
2017-12-28 14:08:12 +03:00
Xinchen Hui
650264e360
Fixed bug #75742 (potential memleak in internal classes's static members)
2017-12-28 16:31:09 +08:00
Dmitry Stogov
4b5e182d61
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed reference-counting
2017-12-28 11:20:43 +03:00
Dmitry Stogov
7c96e974d9
Fixed reference-counting
2017-12-28 11:19:52 +03:00
Xinchen Hui
14304faae2
Updated NEWS
2017-12-27 12:52:25 +08:00
Xinchen Hui
6693898b30
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry)
2017-12-27 12:52:06 +08:00
Xinchen Hui
dc3822c343
Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry)
2017-12-27 12:51:50 +08:00
Anatol Belski
eb5ba59ad5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Revert to Postgres 9.6, AppVeyor seems to have issues with 10
2017-12-22 23:39:37 +01:00
Anatol Belski
9cafc33ba3
Revert to Postgres 9.6, AppVeyor seems to have issues with 10
2017-12-22 23:38:04 +01:00
Anatol Belski
5f235e42fb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update tool path
2017-12-22 23:26:42 +01:00
Anatol Belski
7b47b7297d
Update tool path
2017-12-22 23:25:39 +01:00
Anatol Belski
76dee7dd07
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Switch AppVeyor to PostgreSQL 10 for tests
2017-12-22 23:14:50 +01:00
Anatol Belski
620b9b369d
Switch AppVeyor to PostgreSQL 10 for tests
2017-12-22 23:13:28 +01:00
Anatol Belski
3e2c67b10c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-22 19:01:02 +01:00
Anatol Belski
118bd77793
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-22 18:59:30 +01:00
Nikita Popov
12e991f5bd
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-22 18:22:47 +01:00
Anatol Belski
e19c71e3d5
[ci skip] update NEWS
2017-12-22 18:22:33 +01:00
Dmitry Stogov
da61c7a2a4
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
...
(cherry picked from commit 37bf8bdc14 )
2017-12-22 18:22:08 +01:00
Nikita Popov
f14b6f4920
Fixed bug #73209
2017-12-22 18:22:00 +01:00
Nikita Popov
2c880037f5
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-22 18:12:17 +01:00
Nikita Popov
ec142f2c86
Fixed bug #75242
2017-12-22 18:11:38 +01:00
Nikita Popov
74e3da5c8c
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-22 18:01:30 +01:00
Nikita Popov
ccb113c3e5
Fixed bug #75717
2017-12-22 18:01:03 +01:00
Nikita Popov
3237336985
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-22 17:50:04 +01:00
Anton Artamonov
0246373788
Fixed bug #70469
...
Don't generate an E_ERROR if we've already thrown an exception.
This interacts badly with error_get_last() checks.
2017-12-22 17:47:54 +01:00
Anatol Belski
2252d8d730
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix wrong return value for fail case in set attribute handler in pdo_odbc
2017-12-22 16:45:25 +01:00
Anatol Belski
77b0e2fd3f
Fix wrong return value for fail case in set attribute handler in pdo_odbc
2017-12-22 16:41:46 +01:00
Anatol Belski
a93445bf55
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
pdo_odbc has no driver API for quoting, skip the test
2017-12-22 16:28:10 +01:00
Anatol Belski
d7cc1ce58f
pdo_odbc has no driver API for quoting, skip the test
2017-12-22 16:22:12 +01:00
Dmitry Stogov
a1810758d5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-21 23:36:51 +03:00
Dmitry Stogov
f2c22d11cc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-21 23:35:23 +03:00
Dmitry Stogov
37bf8bdc14
Fixed bug #75579 (Interned strings buffer overflow may cause crash)
2017-12-21 23:34:21 +03:00
Anatol Belski
4d45f53e87
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Ensure expected items delivered in same order
2017-12-21 18:38:16 +01:00
Anatol Belski
cc5a0da006
Ensure expected items delivered in same order
2017-12-21 18:37:23 +01:00
Anatol Belski
9408f1efa7
Update libmagic.patch
2017-12-21 15:43:04 +01:00
Riccardo Magliocchetti
e313daa598
fileinfo: fix misleading indentation in libmagic
2017-12-21 15:39:00 +01:00
Anatol Belski
ddd401859c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix segfault. Compile param --with-tsrm-pth=yes
2017-12-21 13:49:05 +01:00
Evgeny Kalashnikov
a46f952c0f
Fix segfault. Compile param --with-tsrm-pth=yes
2017-12-21 13:48:10 +01:00
Anatol Belski
dcc3f00090
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Templatize driver name in the expected string
2017-12-20 18:50:10 +01:00
Anatol Belski
c2308d5d7c
Templatize driver name in the expected string
2017-12-20 18:46:56 +01:00
Remi Collet
ac4da9a0ed
NEWS
2017-12-19 14:47:59 +01:00
Remi Collet
c21ec44b21
display headers (buildtime) and library (runtime) versions in phpinfo (libzip >= 1.3.1)
2017-12-19 14:46:32 +01:00
Nikita Popov
a1d2bf831f
Document removal of opcache.fast_shutdown
...
[ci skip]
2017-12-18 21:44:48 +01:00
Jaromír Doleček
11eed9f3ba
Fixed bug #75616
...
PDO can be built shared on Darwin nowadays. There used to be issues
relating to symbol references between dynamically loaded shared
objects.
2017-12-17 12:56:37 +01:00
Jaromír Doleček
200bf9b5d7
Fix bug #75615
...
Remove -I without argument in pdo_mysql config.m4.
2017-12-17 12:47:35 +01:00
Xinchen Hui
a3b5b93ba9
Updated NEWS
2017-12-17 09:42:01 +08:00
Nikita Popov
340255a694
Fixed bug #75614
...
Replace non-standard == with = in shell scripts.
2017-12-16 22:31:10 +01:00
Nikita Popov
ee45104dba
Fixed bug #75698
2017-12-16 22:04:18 +01:00
Nikita Popov
19d0c5dc9f
Add test for bug #75681
...
The issue itself has been fixed by 8a4532319d .
2017-12-16 21:24:26 +01:00
Nikita Popov
8a4532319d
Improve fix for bug #75687
...
Adding an (incorrect) UNDEF here may cause subsequent narrowing in
other places.
Instead, let's try to handle this edge-case once for all
instructions...
2017-12-16 21:11:40 +01:00
Nikita Popov
f01d5faf30
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-16 17:21:01 +01:00
David Carlier
14393b5fb3
Move includes in ps_title.c
...
The HAVE_UNISTD_H check has to be after including config.h.
Also include sys/types.h, which may be needed for setproctitle.
2017-12-16 17:20:05 +01:00
Pedro Magalhães
83964e0468
Fix #75607 - Check if existing static trait property is a ref before comparing
2017-12-16 17:07:12 +01:00
Xinchen Hui
a20c9bd3fe
Fixed bug #75687 (var 8 (TMP) has array key type but not value type)
2017-12-16 23:59:10 +08:00
Nikita Popov
eb77c2c2a7
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-15 22:04:34 +01:00
Jelle van der Waa
8a179fa02b
Fix bug #69727 : Support SOURCE_DATE_EPOCH for Build Date
...
When checking for reproducible builds php is build twice, once with the
current date and once with a date in the future. To keep the build date
supported and reproducible builds possible, SOURCE_DATE_EPOCH is
introduced which can be set to the same epoch value for both builds.
2017-12-15 22:03:01 +01:00
Anatol Belski
d9a110a294
[ci skip] update NEWS
2017-12-15 16:26:40 +01:00
Anatol Belski
697e02d016
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-12-15 16:26:21 +01:00
Anatol Belski
f14f3ed7b4
[ci skip] update NEWS
2017-12-15 16:25:36 +01:00
Anatol Belski
171f1baff1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75671 pg_version() crashes when called on a connection to cockroach
2017-12-15 15:34:44 +01:00
Anatol Belski
acf1472ffd
Fixed bug #75671 pg_version() crashes when called on a connection to cockroach
2017-12-15 15:33:14 +01:00
Anatol Belski
90cccffe89
[ci skip] update NEWS
2017-12-14 18:18:26 +01:00
Anatol Belski
4c4ff47c16
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-12-14 18:17:54 +01:00
Anatol Belski
fd81881e5e
[ci skip] update NEWS
2017-12-14 18:17:19 +01:00
Anatol Belski
ed210c186a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75679 Path 260 character problem
2017-12-14 16:17:37 +01:00
Anatol Belski
4c0af1fbd4
Fixed bug #75679 Path 260 character problem
2017-12-14 16:16:50 +01:00
Danilo Correa
8c36588ee8
Set default value for some properties in generate-phpt
2017-12-13 21:28:29 +01:00
Nikita Popov
652d30acdc
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-13 21:25:21 +01:00
Levi Morrison
580bae4a2c
Fix copy-and-paste bugs
2017-12-13 21:25:00 +01:00
Sara Golemon
4cbc1f7e0d
Prep NEWS for PHP 7.2.2
2017-12-12 15:18:44 -05:00
Anatol Belski
10bb7065cb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync known vc++ versions in 7.1
2017-12-11 14:14:44 +01:00
Anatol Belski
f749448fc6
Sync known vc++ versions in 7.1
2017-12-11 14:13:38 +01:00
Anatol Belski
2d7bea0462
Add vc++ 19.12 to the known list
2017-12-11 12:57:58 +01:00
Nikita Popov
c069db52ae
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-09 19:07:40 +01:00
Michael Heimpold
1b10e6318b
ext/imap/config.m4: fix ac_cv_u8t_decompose check
...
Once upon the time, commit c58f63a38a
changed the check from U8T_CANONICAL to U8T_DECOMPOSE. However,
the autoconf cache id was not renamed.
Sometimes it is desirable to preseed the autoconf variables, e.g. when
cross-compiling to avoid the tests running on the host system. In this
case it's confusing when the cache id does not match the variable to
set, so let's adjust it.
Signed-off-by: Michael Heimpold <mhei@heimpold.de >
2017-12-09 19:05:45 +01:00
Anatol Belski
57f33b4ce2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix yet one data race in PCRE
2017-12-06 16:04:22 +01:00
Anatol Belski
1b29dc0b1c
Fix yet one data race in PCRE
...
PCRE 8.x initializes the pattern compiler on demand during the first
pcre_study call. It could be worse, but since the compiled patterns are
cached, the locking impact is minimal. PCRE 10.x always compiles the
pattern and thread sanitizer doesn't complain about the compiler
initialization, thus the newer PCRE version seems to be unafected.
2017-12-06 15:59:21 +01:00
Anatol Belski
d4af204637
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix use after free revealed by phpdbg
2017-12-05 18:34:39 +01:00
Anatol Belski
092fd44474
Fix use after free revealed by phpdbg
2017-12-05 18:32:32 +01:00
Anatol Belski
75a2ee7f7b
Fixed bug #75601 Thread race in PCRE JIT support
2017-12-05 17:40:00 +01:00
Anatol Belski
ed2434a6aa
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75601 Thread race in PCRE JIT support
bump versions
2017-12-05 17:39:28 +01:00
Anatol Belski
31b2b14a71
Fixed bug #75601 Thread race in PCRE JIT support
2017-12-05 17:38:18 +01:00
krakjoe
71a460ba7e
bump versions
2017-12-05 14:18:48 +01:00
Anatol Belski
b79082c99d
[ci skip] update NEWS
2017-12-05 09:01:02 +01:00
Anatol Belski
2edd10f27b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-12-05 09:00:12 +01:00
Anatol Belski
3110bc10f5
[ci skip] update NEWS
2017-12-05 08:59:33 +01:00
Anatol Belski
c4ad9741cd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
7.0.28 is next
2017-12-05 08:52:40 +01:00
Anatol Belski
be50c2fa85
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
7.0.28 is next
2017-12-05 08:52:14 +01:00
Anatol Belski
484c11a541
7.0.28 is next
2017-12-05 08:51:30 +01:00
Anatol Belski
95c828b982
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-12-05 08:42:25 +01:00
Anatol Belski
59c36a7e17
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-12-05 08:42:02 +01:00
Anatol Belski
dab205cb9a
[ci skip] update NEWS
2017-12-05 08:41:24 +01:00
Dmitry Stogov
3503dc7482
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75608 ("Narrowing occurred during type inference" error)
2017-12-04 17:22:28 +03:00
Dmitry Stogov
5934bff913
Fixed bug #75608 ("Narrowing occurred during type inference" error)
2017-12-04 17:22:06 +03:00
Anatol Belski
5a0eb2446c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use dtor unconditionally in error case
2017-12-04 14:16:45 +01:00
Anatol Belski
1da28c55c4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use dtor unconditionally in error case
2017-12-04 14:16:23 +01:00
Anatol Belski
0eb262eacb
Use dtor unconditionally in error case
2017-12-04 14:15:42 +01:00
Anatol Belski
94d7b7f3db
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26)
2017-12-04 11:52:33 +01:00
Anatol Belski
4201f5bcfd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26)
2017-12-04 11:52:09 +01:00
Xinchen Hui
d4dee4a614
Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26)
...
(cherry picked from commit 3b9ba7b6bd )
2017-12-04 11:50:44 +01:00
Anatol Belski
36f85e17e2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix compat with libcurl 7.56.1+ and file:// wrapper
2017-12-03 12:28:41 +01:00
Anatol Belski
aaf00ae0a9
Fix compat with libcurl 7.56.1+ and file:// wrapper
...
Since 7.52.x libcurl file:// scheme was implemented in a way described
in https://tools.ietf.org/html/draft-ietf-appsawg-file-scheme-16 . The
draft is still not accepted and the change contained a BC breach with
win32 path handling. It was reported upstream and 7.52.x fixed it, but
the BC breaching behavior was reintroduced in 7.56.1. Thus, it is better
to handle this on the PHP side.
2017-12-03 12:23:25 +01:00
Nikita Popov
f9b8bd07c7
Merge branch 'PHP-7.1' into PHP-7.2
2017-12-02 18:11:17 +01:00
Nikita Popov
cbe60003f1
Merge branch 'PHP-7.0' into PHP-7.1
2017-12-02 18:11:03 +01:00
Andy Postnikov
d6d4f2a9b3
Fix ZEND_SIGNED_MULTIPLY_LONG for AArch64
...
Register operands are required in this context.
This is a backport of 8c8679207a
to PHP 7.0+. The current code caused incorrect behavior on AArch64
when compiling with clang.
2017-12-02 18:10:17 +01:00
Anatol Belski
f282b7720a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Consider Xdebug for tmi ini generation, too
2017-12-01 16:03:09 +01:00
Anatol Belski
ffd94f9bf8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Consider Xdebug for tmi ini generation, too
2017-12-01 16:02:38 +01:00
Anatol Belski
958fdc997c
Consider Xdebug for tmi ini generation, too
2017-12-01 16:01:34 +01:00
Dmitry Stogov
01b85f0e17
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Set trailing zero
2017-12-01 17:00:51 +03:00
Dmitry Stogov
b73151845f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Set trailing zero
2017-12-01 17:00:42 +03:00
Dmitry Stogov
24d5adbd5a
Set trailing zero
2017-12-01 17:00:11 +03:00
Anatol Belski
b6a27c7332
Revert "Fix macro redefinition warnings"
...
This reverts commit 23d2bd3748 .
2017-11-30 13:21:04 +01:00
Anatol Belski
23d2bd3748
Fix macro redefinition warnings
...
The corresponding implementations are available from APR.
2017-11-30 12:40:52 +01:00
Christoph M. Becker
995ac8a094
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Define floorf if system doesn't have it (follow up for 22c48761 )
2017-11-29 16:59:17 +01:00
Christoph M. Becker
f166ea9c09
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Define floorf if system doesn't have it (follow up for 22c48761 )
2017-11-29 16:53:11 +01:00
Lior Kaplan
32e3d7b99e
Define floorf if system doesn't have it (follow up for 22c48761)
...
floorf is checked in config.m4
2017-11-29 16:46:47 +01:00
Frank Denis
fc8793499a
Revert "Revert "ext/sodium: pwhash: do not warn on low parameters""
...
This reverts commit a1845b7fdb .
Revert "Revert "ext/sodium: throw exceptions instead of errors""
This reverts commit 31d221f9c7 .
2017-11-29 13:19:56 +01:00
Anatol Belski
367c0b4c33
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-11-29 09:31:29 +01:00
Anatol Belski
6a23add631
[ci skip] update NEWS
2017-11-29 09:31:14 +01:00
Anatol Belski
39d1818bd3
[ci skip] update NEWS
...
Move entry to proper section
2017-11-29 09:30:04 +01:00
Xinchen Hui
17338ddb48
Update NEWS
2017-11-29 14:47:26 +08:00
Xinchen Hui
bedf6093ad
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26)
2017-11-29 14:46:44 +08:00
Xinchen Hui
3b9ba7b6bd
Fixed bug #75573 (Segmentation fault in 7.1.12 and 7.0.26)
2017-11-29 14:46:21 +08:00
Frank Denis
a1845b7fdb
Revert "ext/sodium: pwhash: do not warn on low parameters"
...
This reverts commit c219991c77 .
2017-11-29 01:22:59 +01:00
Nikita Popov
1d557e4a62
Merge remote-tracking branch 'php-src/PHP-7.2' into PHP-7.2
2017-11-28 23:37:05 +01:00
Nikita Popov
060baf78cb
Merge branch 'PHP-7.1' into PHP-7.2
2017-11-28 23:34:25 +01:00
johnstevenson
6ed242dfc8
Fixed #73124 : php_ini_scanned_files()
...
Additional ini files are reported using the --ini option, but not by
`php_ini_scanned_files()`, which relied on PHP_CONFIG_FILE_SCAN_DIR.
2017-11-28 23:33:48 +01:00
Frank Denis
31d221f9c7
Revert "ext/sodium: throw exceptions instead of errors"
...
This reverts commit c05cbd1e77 .
2017-11-28 23:30:21 +01:00
Anatol Belski
0b30461764
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Follow up on bug #75574 for FCGI side
2017-11-28 20:34:44 +01:00
Anatol Belski
8b57a5bca0
Follow up on bug #75574 for FCGI side
2017-11-28 20:33:11 +01:00
Remi Collet
7c043fff53
NEWS
2017-11-28 18:00:36 +01:00
Remi Collet
9c8748316a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
NEWS
NEWS
Fixed bug #64938 libxml_disable_entity_loader setting is shared between requests (FPM)
2017-11-28 18:00:21 +01:00
Remi Collet
2873316d1d
NEWS
2017-11-28 18:00:07 +01:00
Remi Collet
40f2668230
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fixed bug #64938 libxml_disable_entity_loader setting is shared between requests (FPM)
2017-11-28 17:59:36 +01:00
Remi Collet
26656684ea
NEWS
2017-11-28 17:59:16 +01:00
Remi Collet
8e5b9532da
Fixed bug #64938 libxml_disable_entity_loader setting is shared between requests (FPM)
2017-11-28 17:58:28 +01:00
Remi Collet
bd44a2cb05
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
better fix for #75514
2017-11-28 17:43:15 +01:00
Remi Collet
2b07102897
better fix for #75514
2017-11-28 17:42:43 +01:00
Frank Denis
f2cb9c39c4
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
[ci skip] update NEWS
[ci skip] update NEWS
Fixed bug #73830 Directory does not exist.
2017-11-28 13:56:46 +01:00
Frank Denis
c05cbd1e77
ext/sodium: throw exceptions instead of errors
2017-11-28 13:56:11 +01:00
Anatol Belski
e722f7bf06
[ci skip] update NEWS
2017-11-28 12:46:39 +01:00
Anatol Belski
71786ed50b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-11-28 12:46:03 +01:00
Anatol Belski
cf084416dd
[ci skip] update NEWS
2017-11-28 12:45:30 +01:00
Anatol Belski
79940993de
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73830 Directory does not exist.
2017-11-28 12:42:40 +01:00
Anatol Belski
578049fdb6
Fixed bug #73830 Directory does not exist.
2017-11-28 12:41:49 +01:00
Frank Denis
c219991c77
ext/sodium: pwhash: do not warn on low parameters
...
but raise an explicit error if these are too low
2017-11-28 11:24:49 +01:00
Remi Collet
391d889f2c
drop -dev from Zend version
2017-11-28 08:01:41 +01:00
Xinchen Hui
c52900d7f0
Update NEWS
2017-11-28 13:16:39 +08:00
Xinchen Hui
e02c2d2dfb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWs (added bug entry)
2017-11-28 13:16:22 +08:00
Xinchen Hui
ee9e32caca
Update NEWs (added bug entry)
2017-11-28 13:15:54 +08:00
Anatol Belski
eb0cc77133
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix allocation
Fix memory leak
2017-11-27 21:18:54 +01:00
Anatol Belski
06202f0feb
Fix allocation
2017-11-27 21:18:08 +01:00
Anatol Belski
2868ff84df
Fix memory leak
2017-11-27 20:24:30 +01:00
Anatol Belski
3c0bd0014d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75574 putenv does not work properly if parameter contains non-ASCII unicode character
2017-11-27 18:50:05 +01:00
Anatol Belski
2b7d283cc5
Fixed bug #75574 putenv does not work properly if parameter contains non-ASCII unicode character
2017-11-27 18:49:02 +01:00
Remi Collet
51404ad063
Prepare NEWS file for release
...
- set release date
- merge all alpha/beta/RC entries
- clean entries already in 7.1
2017-11-27 12:49:28 +01:00
Anatol Belski
155b244c12
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix normalized path length calculation and error handling
2017-11-27 12:33:23 +01:00
Anatol Belski
34b19387c2
Fix normalized path length calculation and error handling
2017-11-27 12:32:19 +01:00
Dmitry Stogov
a4b2ae69e9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug in type inference
2017-11-27 10:16:46 +03:00
Dmitry Stogov
776bef8447
Fixed bug in type inference
2017-11-27 10:16:16 +03:00
Xinchen Hui
9d02227243
Improved fix
2017-11-27 12:03:37 +08:00
Xinchen Hui
c412b8b384
Fixed bug #75556 (Invalid opcode 138/1/1)
2017-11-25 00:54:15 +08:00
Remi Collet
0dbb327d70
add 7.1 NEW entries
2017-11-23 11:08:53 +01:00
Dmitry Stogov
2a6a1fd22c
typo
2017-11-22 16:30:57 +03:00
krakjoe
ae810d785c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Check for binary_location allocation failure
2017-11-22 04:49:43 +00:00
krakjoe
fee6c812c4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Check for binary_location allocation failure
2017-11-22 04:49:34 +00:00
Sebastian Ramadan
7e0feb8856
Check for binary_location allocation failure
2017-11-22 04:49:04 +00:00
krakjoe
1362c849e8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #75409
2017-11-22 04:32:42 +00:00
krakjoe
5a7459a082
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #75409
2017-11-22 04:30:59 +00:00
Scott
269d160159
Fix bug #75409
2017-11-22 04:26:54 +00:00
Anatol Belski
62e96c2b6f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-11-21 22:24:54 +01:00
Anatol Belski
9988f05628
[ci skip] update NEWS
2017-11-21 22:24:32 +01:00
Anatol Belski
3ad116b7bd
[ci skip] update NEWS
2017-11-21 22:23:31 +01:00
Anatol Belski
b75fd81563
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-11-21 22:22:59 +01:00
Anatol Belski
38be3c4ac4
[ci skip] update NEWS
2017-11-21 22:22:21 +01:00
Anatol Belski
f6b0d365a7
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #75539 and #74183 - preg_last_error not returning error code after error
2017-11-21 20:11:21 +01:00
Anatol Belski
f5c0754f6e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #75539 and #74183 - preg_last_error not returning error code after error
2017-11-21 20:10:49 +01:00
Nester
8fdef981ef
Fixed #75539 and #74183 - preg_last_error not returning error code after error
2017-11-21 20:10:18 +01:00
Remi Collet
307e15592b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
2017-11-20 09:42:58 +01:00
Remi Collet
d773a92f3c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Better fix bug #75540 Segfault with libzip 1.3.1 - only 1.3.1 is affected - fix use after free
2017-11-20 09:42:47 +01:00
Remi Collet
702ef27364
Better fix bug #75540 Segfault with libzip 1.3.1
...
- only 1.3.1 is affected
- fix use after free
2017-11-20 09:42:20 +01:00
Remi Collet
045e0fc0c7
NEWS
2017-11-20 08:51:42 +01:00
Remi Collet
fa427a86cc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
NEWS
NEWS
fix bug #75540 Segfault with libzip 1.3.1
2017-11-20 08:51:29 +01:00
Remi Collet
50a867eb07
NEWS
2017-11-20 08:51:13 +01:00
Remi Collet
0c54397879
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
fix bug #75540 Segfault with libzip 1.3.1
2017-11-20 08:50:51 +01:00
Remi Collet
8832c46607
NEWS
2017-11-20 08:50:33 +01:00
Remi Collet
de47d4792f
fix bug #75540 Segfault with libzip 1.3.1
2017-11-20 08:49:46 +01:00
Nikita Popov
31d9287d2b
Merge branch 'PHP-7.1' into PHP-7.2
2017-11-17 23:22:07 +01:00
Nikita Popov
092d0922ea
Merge branch 'PHP-7.0' into PHP-7.1
2017-11-17 23:21:48 +01:00
Nikita Popov
0e097f2c96
Fixed bug #75535
...
The sizeof()s for Content-Length and Transfer-Encoding were missing
the trailing ":". Apart from being generally wrong, this no longer
verified that the header actually contains a colon, leading to the
null http_header_value being used.
Additionally, in the interest of being defensive, also make sure
that http_header_value is non-null by setting it to the end of
the header line (effectively an empty string) if there is no colon.
If the following conditions are correct, this value is not going
to be used though.
2017-11-17 23:18:05 +01:00
Nikita Popov
1310234aa3
Fix printf format issues on i386
2017-11-17 22:25:03 +01:00
Anatol Belski
d5a2ddab53
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update SDK version for AppVeyor
2017-11-17 16:38:32 +01:00
Anatol Belski
61f5af6e05
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update SDK version for AppVeyor
2017-11-17 16:37:40 +01:00
Anatol Belski
1ed08f9877
Update SDK version for AppVeyor
2017-11-17 16:37:00 +01:00
Nikita Popov
95e9cc2871
Backport some printf() fixes to 7.2
2017-11-16 21:26:33 +01:00
Tyson Andre
9379b319b0
Fix typo in UPGRADING, should be oci_unregister_taf_callback
...
See de65a2243f which exposes
the unregister functionality.
[ci skip]
2017-11-16 00:19:36 +01:00
Nikita Popov
6640e03df8
Merge branch 'PHP-7.1' into PHP-7.2
2017-11-15 23:01:25 +01:00
DanielCiochiu
dba5a798a2
Fixed #74862 : Unable to clone instance when private __clone defined
...
Even though __clone was implemented as private and called only from
parent class, child extending class instance could not be cloned.
2017-11-15 23:00:26 +01:00
Anatol Belski
97b046a608
[ci skip] update NEWS
2017-11-15 20:41:15 +01:00
Anatol Belski
6f41ca4de1
Refine allocation
...
None of currently supported codepages would claim more than 5
bytes per a multibyte glyph, that's (255*5+1)kb, not 2kb anymore.
2017-11-15 18:02:01 +01:00
Remi Collet
4764574910
NEWS
2017-11-15 15:35:21 +01:00
Anatol Belski
0e5d4ea555
Fix C++ compatibility for TSRM_TLS
...
If a C++11 source is compiled, thread_local is preferred. Furthermore,
at least GCC treats __thread vs. thread_local a different way and under
certain circumstances would refuse to compile __thread is a C++11 source.
This change is far behind in time, any up-to-date compiler supports C++11
and otherwise it won't take effect on lower versions.
2017-11-15 12:44:04 +01:00
Anatol Belski
5b28218cc6
Add missing var declarations for phpize mode
2017-11-15 12:00:58 +01:00
Anatol Belski
7f35502bd1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Regenerate cp map
2017-11-15 11:24:12 +01:00
Anatol Belski
c94d091889
Regenerate cp map
...
Add missing encoding name and don't put nameless cp
2017-11-15 11:17:30 +01:00
Anatol Belski
020fdfd55d
Fixed bug #75525 Access Violation in vcruntime140.dll
...
It was a mistake to make d_name a pointer. d_name has to be allocated
in the body of struct dirent as per POSIX.1-2008. The binary
compatibility is kept through the extra padding, which will be removed
in 7.3.
2017-11-15 09:55:29 +01:00
Anatol Belski
235d33ac7a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
update NEWS
Update NEWS
Fix bug 60471 by correctly identifying unused speculative preconnections
2017-11-14 20:05:28 +01:00
Anatol Belski
4615fcf24d
update NEWS
2017-11-14 20:04:42 +01:00
Anatol Belski
85021602ba
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update NEWS
Fix bug 60471 by correctly identifying unused speculative preconnections
2017-11-14 20:03:02 +01:00
Sammy Kaye Powers
a5206bc690
Update NEWS
2017-11-14 20:00:45 +01:00
Sammy Kaye Powers
3bc5c9f118
Fix bug 60471 by correctly identifying unused speculative preconnections
...
* Correctly identify unused speculative preconnections from browsers
like Chrome and Firefox
* Add a new message to the debug level that is emitted when a TCP
connection is closed without sending any request (a preconnection)
* Fix an issue where the existing debug messages were not being
displayed even when debug mode was enabled
2017-11-14 20:00:45 +01:00
Anatol Belski
0d13323915
Fix UTF check in pcre_grep
...
In this case it loops through different subjects without looking for sub
matches and matches are done against the same pattern. Thus, don't reset
the UTF check flag but use it to check whether JIT should be used and
otherwise let PCRE to do the job according to what was saved into the
pattern.
2017-11-14 13:49:06 +01:00
Anatol Belski
3c241ea326
Fix uninitialized flag when JIT is disabled
2017-11-14 10:12:55 +01:00
Sara Golemon
0a45e8f096
Bugfix#75515 php://streams behaving greedily
...
5060fc23 attempted to fix #68948 by treating all non-uri streams
as non-blocking, however php://fd/* streams (which includes stdin)
may block if the other end of the IPC isn't finished.
This represents a partial revert to the pre RC6 state,
but includes an escape hatch for php://memory and php://temp
streams which are local to the current process.
This also restores stream_set_chunk_size test to previous state.
2017-11-13 09:40:34 -05:00
Remi Collet
704bcd385f
next version is 7.2.1
2017-11-13 12:46:30 +01:00
Remi Collet
8c73c9a150
NEWS
2017-11-13 10:23:07 +01:00
Remi Collet
9e3bd1b288
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
NEWS
Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bit
2017-11-13 10:22:51 +01:00
Remi Collet
3dbe8dd16f
NEWS
2017-11-13 10:22:32 +01:00
Remi Collet
e704e1e8c2
Fixed bug #75514 mt_rand returns value outside [$min,$max]+ on 32-bit
2017-11-13 10:21:46 +01:00
Xinchen Hui
2d88b2a1ea
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Avoid overflow
2017-11-13 11:19:42 +08:00
Xinchen Hui
c718fd16a1
Avoid overflow
2017-11-13 11:18:56 +08:00
Xinchen Hui
1ab03bc316
Update NEWS
2017-11-13 11:13:58 +08:00
Xinchen Hui
bc38c06752
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75511 (fread not free unused buffer)
2017-11-13 11:13:42 +08:00
Xinchen Hui
1c1df0d937
Fixed bug #75511 (fread not free unused buffer)
2017-11-13 11:13:27 +08:00
Anatol Belski
1426be1054
[ci skip] update NEWS
2017-11-10 11:43:02 +01:00
Anatol Belski
1b8f03c796
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-11-10 11:41:52 +01:00
Anatol Belski
0bbb545c77
[ci skip] update NEWS
2017-11-10 11:41:16 +01:00
Anatol Belski
89e4760dcc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-11-10 11:40:47 +01:00
Anatol Belski
df615f47bd
[ci skip] update NEWS
2017-11-10 11:40:16 +01:00
Anatol Belski
01c70cc98b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #75384 PHP seems incompatible with OneDrive files on demand
bump versions
Fixed ext/date tests due to changes in Olson database
2017-11-08 12:00:30 +01:00
Anatol Belski
d36e793c93
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #75384 PHP seems incompatible with OneDrive files on demand
Fixed ext/date tests due to changes in Olson database
2017-11-08 11:54:18 +01:00
Anatol Belski
c6720e2f45
Fixed #75384 PHP seems incompatible with OneDrive files on demand
2017-11-08 11:52:42 +01:00
Dmitry Stogov
b6294bbc6c
Fixed assertion on phpMyAdmin-4.7.5 home page
2017-11-08 12:51:53 +03:00
Joe Watkins
3be6810385
bump versions
2017-11-07 15:35:14 +00:00
Derick Rethans
466a34d67c
Revert "date module, replacing abs call with the llabs's like one due to bigger type"
...
This reverts commit c189845951 .
2017-11-07 14:52:12 +00:00
Derick Rethans
22b6ab3919
Merge branch 'PHP-7.1' into PHP-7.2
2017-11-07 11:35:03 +00:00
Derick Rethans
ba9df1cff6
Fixed ext/date tests due to changes in Olson database
2017-11-07 11:34:55 +00:00
Derick Rethans
ca0bcf535c
Fixed ext/date tests due to changes in Olson database
2017-11-07 11:25:28 +00:00
Anatol Belski
b6336b0d3e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
7.0.27 next
2017-11-07 10:10:41 +01:00
Anatol Belski
c842e1ac53
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
7.0.27 next
2017-11-07 10:09:52 +01:00
Anatol Belski
bc7d4dc523
7.0.27 next
2017-11-07 10:07:52 +01:00
David Carlier
c189845951
date module, replacing abs call with the llabs's like one due to bigger type
2017-11-07 05:27:27 +00:00
Michael Moravec
f70ca770b6
Revert BC break caused by fixing bug #74035
...
This reverts commit 9ffc6ca62f .
2017-11-06 17:52:17 -05:00
Simon JAILLET
5060fc2349
Fixes #68948 related to a BC break introduced by #68532 fix.
2017-11-06 17:34:42 -05:00
Christoph M. Becker
b152633ecb
Scale support for bcmod()
...
As of commit 90dcbbe (PHP-7.2+) bcmod() supports non-integral
parameters as well. Since formerly only integer modulus has been
supported, it did not make much sense to cater to the scale with regard
to the result. However, now it does for consistency with other BCMath
operations.
Therefore, we add support for an optional `scale` parameter and fall
back to the default scale (`bcmath.scale`) as usual.
2017-11-06 17:26:52 -05:00
Tyson Andre
5cdf37e603
Fix proto documents for new global functions
...
See NEWS and UPGRADING (or arginfo/implementation) for details.
2017-11-06 07:24:42 +00:00
Tyson Andre
88e94a0bd1
Mention spl_object_id in UPGRADING notes
...
This was implemented in PR #2611
2017-11-06 07:18:39 +00:00
Joe Watkins
c3ee17065b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix wrong check of definition_phi->constraint.range.max_ssa_var
2017-11-03 17:49:52 +00:00
MITSUNARI Shigeo
21dbd2ffcd
fix wrong check of definition_phi->constraint.range.max_ssa_var
2017-11-03 17:49:42 +00:00
Anatol Belski
0166e5c466
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update libs_version.txt
2017-11-02 22:46:25 +01:00
Anatol Belski
91c7460c53
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update libs_version.txt
2017-11-02 22:44:27 +01:00
Anatol Belski
c3be49e07d
Update libs_version.txt
2017-11-02 22:41:12 +01:00
Nikita Popov
f3c7e1cefb
Merge branch 'PHP-7.1' into PHP-7.2
2017-11-02 20:56:35 +01:00
Nikita Popov
1f736085f1
Merge branch 'PHP-7.0' into PHP-7.1
2017-11-02 20:56:25 +01:00
Nikita Popov
d88ef8d7e1
Fix ext/soap/tests/bug69137.phpt
...
Switch to example.org. Also mark it as an online test.
2017-11-02 20:56:03 +01:00
Anatol Belski
8a4702223d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync and fix tests for ICU 60.1 compat
2017-11-02 12:39:04 +01:00
Anatol Belski
e8af216ce5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Sync and fix tests for ICU 60.1 compat
2017-11-02 12:38:32 +01:00
Anatol Belski
dbfa0140ae
Sync and fix tests for ICU 60.1 compat
2017-11-02 12:37:04 +01:00
Anatol Belski
5a3688fe2c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Yet one /nologo
2017-11-02 09:24:22 +01:00
Anatol Belski
ba50b27284
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Yet one /nologo
2017-11-02 09:22:25 +01:00
Anatol Belski
f5358c0e23
Yet one /nologo
2017-11-02 09:21:22 +01:00
Anatol Belski
da9da5742c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix year
Add /nologo
2017-10-31 10:38:18 +01:00
Anatol Belski
98422cfa3d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix year
Add /nologo
2017-10-31 10:35:59 +01:00
Anatol Belski
8a3e2a6b14
Fix year
2017-10-31 10:25:15 +01:00
Anatol Belski
164167f3da
Add /nologo
2017-10-31 10:24:34 +01:00
Anatol Belski
e3b2859c8a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add missing ICU version check
2017-10-30 18:16:47 +01:00
Anatol Belski
6eb4daabeb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add missing ICU version check
2017-10-30 18:16:03 +01:00
Anatol Belski
68c500421c
Add missing ICU version check
2017-10-30 18:15:26 +01:00
Jakub Zelenka
19c62e83fa
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-30 16:43:36 +00:00
Jakub Zelenka
7c2031bfca
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-30 16:42:23 +00:00
Jakub Zelenka
fc169d2133
Prevent leaking x509 and csr resources if it is not requested
...
All functions using php_openssl_x509_from_zval or php_openssl_csr_from_zval
with makeresource equal to 0 do not deref the resource which means there
is a leak till the end of the request. This can cause issues for long
running apps. It is a generic solution for bug #75363 which also covers
other functions.
2017-10-30 16:40:56 +00:00
Jakub Zelenka
d8ccffa79a
Extend and speed up pkey export tests
2017-10-30 16:40:56 +00:00
Jakub Zelenka
e78e839e53
Rewrite openssl_csr_get_subject test to improve coverage
2017-10-30 16:40:56 +00:00
Jakub Zelenka
528aa540b4
Add openssl_csr_get_public_key test
2017-10-30 16:40:56 +00:00
Jakub Zelenka
548798818b
Extend openssl_pkcs7_* tests to cover resource cert
2017-10-30 16:40:56 +00:00
Jakub Zelenka
55d92413b9
Fix cleaning tmp output file in openssl_csr_export_to_file test
2017-10-30 16:40:56 +00:00
Jelle van der Waa
5812f7a8d3
openssl: add basic openssl_csr_export_to_file tests
...
Add a basic test for openssl_csr_export_to_file.
2017-10-30 16:40:56 +00:00
Jakub Zelenka
628a52d365
Extend openssl_csr_sign test to cover cert resource
2017-10-30 16:40:56 +00:00
Jakub Zelenka
80191eebec
Set different invalid path in openssl_pkcs12_export so it is more unlikely to exist
2017-10-30 16:40:55 +00:00
Jakub Zelenka
cd66aad141
Extend openssl_x509_parse to cover cert resource
2017-10-30 16:40:55 +00:00
Jakub Zelenka
c1d98588a2
Rename and test resource cert in openssl_x509_checkpurpose test
2017-10-30 16:40:55 +00:00
Jakub Zelenka
d23d4fd61b
Extend openssl_x509_check_private_key to test resource cert
2017-10-30 16:40:55 +00:00
Jakub Zelenka
be0758b75a
Extend openssl_x509_fingerprint test to cover resource cert with sha1
2017-10-30 16:40:55 +00:00
Joe Watkins
ccba0f5948
Merge branch 'PHP-7.2' of git.php.net:/php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:/php-src:
Yet one attempt to mitigate the unzip error on AppVeyor
Ensure SDK is checked out before asking for version
Fix fetching the SDK version
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
Remove status check on the SDK repo and add version check
Use abbrev
Catch with the latest AppVeyor unzip errors
Fixed type inference
2017-10-30 14:16:38 +00:00
Joe Watkins
37b0ad5537
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Yet one attempt to mitigate the unzip error on AppVeyor
Ensure SDK is checked out before asking for version
Fix fetching the SDK version
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
Remove status check on the SDK repo and add version check
Use abbrev
Catch with the latest AppVeyor unzip errors
Fixed type inference
2017-10-30 14:16:27 +00:00
Joe Watkins
cfa885830a
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Yet one attempt to mitigate the unzip error on AppVeyor
Ensure SDK is checked out before asking for version
Fix fetching the SDK version
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
Remove status check on the SDK repo and add version check
Catch with the latest AppVeyor unzip errors
2017-10-30 14:16:16 +00:00
Joe Watkins
118db2d2f7
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders
2017-10-30 14:14:21 +00:00
Joe Watkins
5262bd9ea3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders
2017-10-30 14:13:31 +00:00
Fabien Villepinte
a308000ff2
Fix bug #75464 Wrong reflection on SoapClient::__setSoapHeaders
2017-10-30 14:13:05 +00:00
Anatol Belski
f10d8c21ab
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Yet one attempt to mitigate the unzip error on AppVeyor
2017-10-30 12:20:24 +01:00
Anatol Belski
a2cd2965d7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Yet one attempt to mitigate the unzip error on AppVeyor
2017-10-30 12:17:53 +01:00
Anatol Belski
7ea44da104
Yet one attempt to mitigate the unzip error on AppVeyor
2017-10-30 12:16:53 +01:00
Anatol Belski
8be5bb8b10
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Ensure SDK is checked out before asking for version
2017-10-30 12:09:15 +01:00
Anatol Belski
c32e53b641
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Ensure SDK is checked out before asking for version
2017-10-30 12:08:50 +01:00
Anatol Belski
e305e8fb7a
Ensure SDK is checked out before asking for version
2017-10-30 12:07:27 +01:00
Anatol Belski
ddcef0fc0f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix fetching the SDK version
2017-10-30 11:30:19 +01:00
Anatol Belski
dfadda3d09
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix fetching the SDK version
2017-10-30 11:29:40 +01:00
Anatol Belski
7bf2947016
Fix fetching the SDK version
2017-10-30 11:28:32 +01:00
Xinchen Hui
d4b81223cd
Merge branch 'PHP-7.2' of git.php.net:/php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:/php-src:
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
2017-10-30 18:21:00 +08:00
Xinchen Hui
6336c4f629
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
2017-10-30 18:20:20 +08:00
Xinchen Hui
db4eb54149
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use abbrev
2017-10-30 18:17:41 +08:00
Xinchen Hui
a3286a8ee4
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Remove status check on the SDK repo and add version check
2017-10-30 18:17:27 +08:00
Anatol Belski
a438a633e9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
2017-10-30 11:16:33 +01:00
Anatol Belski
bba09a53f4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix SDK version comparison and add more verbosity
Don't use the cache dependency, SDK version is handled in script
2017-10-30 11:15:51 +01:00
Anatol Belski
c6e8c2bc9f
Fix SDK version comparison and add more verbosity
2017-10-30 10:53:12 +01:00
Anatol Belski
591e811a35
Don't use the cache dependency, SDK version is handled in script
2017-10-30 10:34:11 +01:00
Anatol Belski
e5179054fb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Remove status check on the SDK repo and add version check
2017-10-30 10:17:25 +01:00
Anatol Belski
f361caa5c0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove status check on the SDK repo and add version check
2017-10-30 10:16:39 +01:00
Anatol Belski
bc410c2609
Remove status check on the SDK repo and add version check
...
If Appveyor fails to unzip, .git would be in an arbitrary state anyway.
Thus this check doesn't help. For the version check - rely on the branch
naming scheme in the SDK.
2017-10-30 10:14:05 +01:00
Xinchen Hui
d9de0f8683
Use abbrev
2017-10-30 16:26:59 +08:00
Anatol Belski
af6ba57d95
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Catch with the latest AppVeyor unzip errors
2017-10-30 08:57:29 +01:00
Anatol Belski
26eb6c5bab
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Catch with the latest AppVeyor unzip errors
2017-10-30 08:56:52 +01:00
Dmitry Stogov
49256dcf6f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed type inference
2017-10-30 10:44:12 +03:00
Anatol Belski
741efa7807
Catch with the latest AppVeyor unzip errors
2017-10-30 08:42:59 +01:00
Dmitry Stogov
230e505fd8
Fixed type inference
2017-10-30 10:41:27 +03:00
Joe Watkins
1a72d3225c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
2017-10-30 06:55:58 +00:00
Joe Watkins
63c0ecc445
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
2017-10-30 06:55:28 +00:00
Fabien Villepinte
e6aea3dc78
Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
2017-10-30 06:55:00 +00:00
Anatol Belski
2c317bea2c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Re-enable AppVeyor cache
2017-10-29 10:09:45 +01:00
Anatol Belski
83d51baf83
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Re-enable AppVeyor cache
2017-10-29 10:09:18 +01:00
Anatol Belski
123b1d79eb
Re-enable AppVeyor cache
2017-10-29 10:08:31 +01:00
Joe Watkins
cb04599d27
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
make sure run-tests reports exit status upon prerequisite error
2017-10-29 04:38:08 +00:00
Joe Watkins
6c90612d13
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
make sure run-tests reports exit status upon prerequisite error
2017-10-29 04:37:55 +00:00
Joe Watkins
59d413ceb8
make sure run-tests reports exit status upon prerequisite error
2017-10-29 04:37:21 +00:00
Nikita Popov
58f90ab569
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-28 12:58:23 +02:00
Nikita Popov
27856f64c3
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-28 12:57:46 +02:00
Fabien Villepinte
938f256ed9
Fix bug #75434 Wrong reflection for mysqli_fetch_all function
2017-10-28 12:57:25 +02:00
Sara Golemon
cc96166f74
Don't optimize input arrays with suffix holes
2017-10-27 13:07:33 -04:00
Joe Watkins
f2367d4626
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #75307 Wrong reflection for openssl_open function
2017-10-27 16:06:57 +01:00
Joe Watkins
14be7dcf8e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #75307 Wrong reflection for openssl_open function
2017-10-27 16:06:29 +01:00
Fabien Villepinte
51ea2cfbe1
Fix bug #75307 Wrong reflection for openssl_open function
2017-10-27 16:06:01 +01:00
Anatol Belski
cbf385e68c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip test on PostgreSQL 10
2017-10-27 16:23:50 +02:00
Anatol Belski
005205714b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip test on PostgreSQL 10
2017-10-27 16:23:19 +02:00
Anatol Belski
15a71fe045
Skip test on PostgreSQL 10
...
The 42P18 error is not produced by the server anymore.
2017-10-27 16:19:42 +02:00
Anatol Belski
f936a17c12
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test compat for PostgreSQL 10
2017-10-27 15:04:54 +02:00
Anatol Belski
36b27f2ba5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat for PostgreSQL 10
2017-10-27 15:04:29 +02:00
Anatol Belski
24b1bb0abd
Fix test compat for PostgreSQL 10
2017-10-27 14:58:43 +02:00
Anatol Belski
40f76c9f0c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Apply upstream patch for CVE-2017-14107
Backport and apply upstream patch for CVE-2017-14107
2017-10-27 14:18:27 +02:00
Anatol Belski
211dacd7b5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Apply upstream patch for CVE-2017-14107
Backport and apply upstream patch for CVE-2017-14107
2017-10-27 14:17:57 +02:00
Anatol Belski
10dc1950f7
Apply upstream patch for CVE-2017-14107
2017-10-27 13:20:15 +02:00
Anatol Belski
f0a42d9fe4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Backport and apply upstream patch for CVE-2017-14107
2017-10-27 13:18:41 +02:00
Anatol Belski
f6e8ce8121
Backport and apply upstream patch for CVE-2017-14107
2017-10-27 13:16:56 +02:00
Anatol Belski
f577a03c04
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Binary SDK 2.0.12 stable
2017-10-26 21:27:09 +02:00
Anatol Belski
fb1c573a29
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Binary SDK 2.0.12 stable
2017-10-26 21:26:03 +02:00
Anatol Belski
9eb6f86765
Binary SDK 2.0.12 stable
2017-10-26 21:25:08 +02:00
Dmitry Stogov
1d846fdfb2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed indirect modification of magic ArrayAccess method arguments
2017-10-26 16:07:49 +03:00
Dmitry Stogov
503df277ab
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed indirect modification of magic ArrayAccess method arguments
2017-10-26 16:04:20 +03:00
Dmitry Stogov
98eee90734
Fixed indirect modification of magic ArrayAccess method arguments
2017-10-26 16:03:42 +03:00
Dmitry Stogov
25d988e91a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Backport tests
2017-10-26 14:12:45 +03:00
Dmitry Stogov
d3146889ab
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Backport tests
2017-10-26 14:12:33 +03:00
Dmitry Stogov
502cfddf28
Backport tests
2017-10-26 14:12:08 +03:00
Dmitry Stogov
e3997b2c82
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed indirect modification of magic method arguments.
2017-10-26 13:12:52 +03:00
Dmitry Stogov
177cdcf313
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed indirect modification of magic method arguments.
2017-10-26 13:11:59 +03:00
Dmitry Stogov
bc59289b7a
Fixed indirect modification of magic method arguments.
2017-10-26 13:05:23 +03:00
Xinchen Hui
887ae8a380
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed test
2017-10-26 10:24:00 +08:00
Xinchen Hui
6b637ac589
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed test
2017-10-26 10:23:52 +08:00
Xinchen Hui
eaeccc1d99
Fixed test
2017-10-26 10:23:43 +08:00
Xinchen Hui
ed02dce2a4
Update NEWS
2017-10-26 10:11:13 +08:00
Xinchen Hui
11a4b57e61
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75420 (Crash when modifing property name in __isset for BP_VAR_IS)
2017-10-26 10:09:57 +08:00
Xinchen Hui
7d3c057bd1
Update NEWS
2017-10-26 10:09:41 +08:00
Xinchen Hui
3c4c9a23bc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75420 (Crash when modifing property name in __isset for BP_VAR_IS)
Conflicts:
Zend/zend_object_handlers.c
2017-10-26 10:08:39 +08:00
Xinchen Hui
d2047503cb
Fixed bug #75420 (Crash when modifing property name in __isset for BP_VAR_IS)
2017-10-26 10:07:08 +08:00
Joe Watkins
25a3ebdc73
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix typo in comments
2017-10-25 21:00:03 +01:00
Joe Watkins
5e9f7f619e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix typo in comments
2017-10-25 20:59:51 +01:00
Fabien Villepinte
578ba71b3b
Fix typo in comments
2017-10-25 20:59:40 +01:00
Anatol Belski
777e189445
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Don't create plist files when using clang analyzer
2017-10-25 18:11:40 +02:00
Anatol Belski
8ad4de887f
Don't create plist files when using clang analyzer
2017-10-25 18:06:56 +02:00
Christoph M. Becker
a059244b3c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
2017-10-25 14:53:01 +02:00
Christoph M. Becker
b6b0289f5e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
2017-10-25 14:47:11 +02:00
Fabien Villepinte
e763a1cdc7
Fix the SKIPIF part in /ext/gd/tests/bug75437.phpt
2017-10-25 14:39:38 +02:00
Christoph M. Becker
c78813a6b8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #75437 Wrong reflection on imagewebp
2017-10-25 13:03:42 +02:00
Christoph M. Becker
9d59beb8ba
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #75437 Wrong reflection on imagewebp
2017-10-25 12:56:25 +02:00
Fabien Villepinte
0fbb9f343f
Fix bug #75437 Wrong reflection on imagewebp
2017-10-25 12:54:05 +02:00
Ferenc Kovacs
58ccfb051b
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-25 03:42:55 +02:00
Ferenc Kovacs
298db6fc92
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-25 03:40:49 +02:00
Ferenc Kovacs
9fbf13a496
Merge branch 'PHP-5.6' into PHP-7.0
2017-10-25 03:39:34 +02:00
Ferenc Kovacs
f600785f65
5.6.33 is next
2017-10-25 03:36:30 +02:00
Ferenc Kovacs
92dd3df148
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-25 03:20:34 +02:00
Ferenc Kovacs
9e47f868d3
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-25 03:17:14 +02:00
Ferenc Kovacs
b53fb886a4
use trusty explicitly
2017-10-25 03:14:51 +02:00
Ferenc Kovacs
6125ce9d33
Merge branch 'PHP-5.6' into PHP-7.0
2017-10-25 03:13:40 +02:00
Rasmus Lerdorf
ad7ed6fe21
These tests all assume that IPV6 is available.
2017-10-25 02:21:16 +02:00
Ferenc Kovacs
787e3a1ee4
fix the travis build for PHP-5.6 using precise instead of trusty
2017-10-25 01:51:48 +02:00
Ferenc Kovacs
9839d3a953
fix the travis build for PHP-5.6 using precise instead of trusty
2017-10-25 01:47:50 +02:00
Sara Golemon
a8ffc69288
Update NEWS for 7.2.0RC6
2017-10-24 14:32:38 -04:00
Sara Golemon
98f28a911c
Update NEWS for PHP 7.2.0RC5
2017-10-24 14:32:38 -04:00
Anatol Belski
ffeb8d1b03
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:38:44 +02:00
Anatol Belski
67b99b698f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:38:23 +02:00
Anatol Belski
e19bf29b53
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Parametrize the expected value to avoid platform false positives
2017-10-24 18:36:56 +02:00
Anatol Belski
45ac5edbd9
Parametrize the expected value to avoid platform false positives
2017-10-24 18:33:21 +02:00
Sara Golemon
d0d7db8b3f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Decref default_link when clearing
2017-10-24 11:38:24 -04:00
Sara Golemon
53fe84bfcc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Decref default_link when clearing
2017-10-24 11:38:17 -04:00
Sara Golemon
68e27b0763
Decref default_link when clearing
2017-10-24 11:37:59 -04:00
Christoph M. Becker
c04617aa61
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #65148 (imagerotate may alter image dimensions)
2017-10-24 17:17:18 +02:00
Christoph M. Becker
9c79de4d62
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #65148 (imagerotate may alter image dimensions)
2017-10-24 17:09:59 +02:00
Christoph M. Becker
22c487616f
Fixed bug #65148 (imagerotate may alter image dimensions)
...
We apply the respective patches from external libgd, work around the
still missing `gdImageClone()`, and fix the special cased rotation
routines according to Pierre's patch
(https://gist.github.com/pierrejoye/59d72385ed1888cf8894a7ed437235ae ).
We also cater to bug73272.phpt whose result obviously changes a bit.
2017-10-24 17:02:56 +02:00
Derick Rethans
ca23b0484c
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-24 14:56:24 +01:00
Derick Rethans
7bc31238b4
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-24 14:55:48 +01:00
Derick Rethans
8e3260376c
Update timezonemap.h, which needs to match the bundled TZ db
2017-10-24 14:55:13 +01:00
Anatol Belski
4ec299437d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test
2017-10-24 14:58:56 +02:00
Anatol Belski
8ad71bc1d2
Fix test
2017-10-24 14:58:01 +02:00
Anatol Belski
ab85763997
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
[ci skip] update NEWS
2017-10-24 14:22:44 +02:00
Anatol Belski
ab8c0f194a
[ci skip] update NEWS
2017-10-24 14:22:25 +02:00
Anatol Belski
c05fcc4687
[ci skip] update NEWS
2017-10-24 14:21:11 +02:00
Anatol Belski
0b5825d0e9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
[ci skip] update NEWS
2017-10-24 14:19:45 +02:00
Anatol Belski
75d0ba5179
[ci skip] update NEWS
2017-10-24 14:18:59 +02:00
Anatol Belski
fadcfc8149
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
[ci skip] update NEWS
2017-10-24 14:17:21 +02:00
Anatol Belski
7d06a5c89f
[ci skip] update NEWS
2017-10-24 14:16:54 +02:00
Anatol Belski
176c9b61a4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #72535 arcfour encryption stream filter crashes php
2017-10-24 14:07:32 +02:00
Anatol Belski
9138966c67
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72535 arcfour encryption stream filter crashes php
2017-10-24 14:05:18 +02:00
Anatol Belski
968c8fc0d5
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #72535 arcfour encryption stream filter crashes php
2017-10-24 14:04:08 +02:00
Anatol Belski
37acebcc8c
Fixed bug #72535 arcfour encryption stream filter crashes php
2017-10-24 13:59:18 +02:00
Anatol Belski
e97b10f1a0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:45:16 +02:00
Anatol Belski
4d31ee9043
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:44:03 +02:00
Anatol Belski
5efbcd1882
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
Apply upstream patch for CVE-2016-1283
2017-10-24 13:38:48 +02:00
Anatol Belski
a7815e63bd
Fixed bug #75055 Out-Of-Bounds Read in timelib_meridian()
2017-10-24 11:28:17 +02:00
Anatol Belski
d37658be6c
Apply upstream patch for CVE-2016-1283
...
Fix bug #75207 , see also
https://bugzilla.redhat.com/show_bug.cgi?id=1295385
https://vcs.pcre.org/pcre?view=revision&revision=1636
(cherry picked from commit d11fceab15 )
2017-10-24 11:10:11 +02:00
Sara Golemon
e83e187a9f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
NEWS entry for pg_close() fix
2017-10-23 14:56:50 -04:00
Sara Golemon
1758525df9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS entry for pg_close() fix
2017-10-23 14:56:10 -04:00
Sara Golemon
9fca585488
NEWS entry for pg_close() fix
2017-10-23 14:55:32 -04:00
Sara Golemon
ece23ea20f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Bugfix#75419 Fix clearing of default link during pg_close()
2017-10-23 14:44:40 -04:00
Sara Golemon
781521e112
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bugfix#75419 Fix clearing of default link during pg_close()
2017-10-23 14:44:28 -04:00
Sara Golemon
a645af4456
Bugfix#75419 Fix clearing of default link during pg_close()
2017-10-23 14:44:00 -04:00
Anatol Belski
b4db9e9acc
Update libmagic.patch
2017-10-23 19:18:25 +02:00
Anatol Belski
734c1f3cd4
Fail hard when re2c is not found or the version requirement not met
...
With 7.2, the binary SDK supplies the minimal required version, thus no
reason to fail later at the compilation time.
2017-10-23 19:01:14 +02:00
Anatol Belski
fb0be397d0
Fix mismatching alloc
2017-10-23 18:49:17 +02:00
Derick Rethans
12e2fc4ab6
Updated to version 2017.3 (2017c)
2017-10-23 17:31:23 +01:00
Derick Rethans
9290c826fa
Empty merge
2017-10-23 17:31:23 +01:00
Derick Rethans
b07b526b95
Updated to version 2017.3 (2017c)
2017-10-23 17:31:21 +01:00
Derick Rethans
eca1623f1b
Empty merge
2017-10-23 17:31:21 +01:00
Derick Rethans
b2dfcb30eb
Updated to version 2017.3 (2017c)
2017-10-23 17:31:20 +01:00
Anatol Belski
9beb743b07
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix memory leak
2017-10-23 15:40:37 +02:00
Anatol Belski
5b497797f2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix memory leak
2017-10-23 15:40:05 +02:00
Anatol Belski
1cb2079d6c
Fix memory leak
2017-10-23 15:26:08 +02:00
Anatol Belski
0e44c980f9
Fix uninitialized vars
2017-10-23 12:02:41 +02:00
Anatol Belski
8f35685744
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Renaming cache folder is not a solution, too. Disable cache for now.
Revert "Rename build cache folder and separate sdk"
2017-10-23 07:14:14 +02:00
Anatol Belski
0a3ea6091c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Renaming cache folder is not a solution, too. Disable cache for now.
Revert "Rename build cache folder and separate sdk"
2017-10-23 07:13:51 +02:00
Anatol Belski
9f00e26008
Renaming cache folder is not a solution, too. Disable cache for now.
2017-10-23 07:13:00 +02:00
Anatol Belski
c9a14b3aee
Revert "Rename build cache folder and separate sdk"
...
This reverts commit 58dd892156 .
2017-10-23 07:12:33 +02:00
Anatol Belski
bba881e424
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Rename build cache folder and separate sdk
Revert "Invalidate the whole cache when .appveyor.yml was changed"
2017-10-23 07:09:52 +02:00
Anatol Belski
a10ef3d5cc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Rename build cache folder and separate sdk
Revert "Invalidate the whole cache when .appveyor.yml was changed"
2017-10-23 07:09:35 +02:00
Anatol Belski
58dd892156
Rename build cache folder and separate sdk
2017-10-23 07:08:45 +02:00
Anatol Belski
eead6bf97a
Revert "Invalidate the whole cache when .appveyor.yml was changed"
...
This reverts commit 25d40602cb .
2017-10-23 07:05:48 +02:00
Anatol Belski
ae5dbea5e7
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Invalidate the whole cache when .appveyor.yml was changed
2017-10-23 07:02:15 +02:00
Anatol Belski
a2c9ba78dd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Invalidate the whole cache when .appveyor.yml was changed
2017-10-23 07:01:43 +02:00
Anatol Belski
25d40602cb
Invalidate the whole cache when .appveyor.yml was changed
2017-10-23 07:00:36 +02:00
Jakub Zelenka
e33721978e
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-22 18:58:15 +01:00
Jakub Zelenka
f10fd89f99
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-22 18:57:14 +01:00
Jakub Zelenka
34ed75fab7
Fix clean up for openssl_pkcs12_export_to_file_basic
2017-10-22 18:54:15 +01:00
Jelle van der Waa
314bef5d03
openssl: Fix openssl_pkcs12_export extracerts test
...
Fix the openssl_pkcs12_export testcase for extracerts, the 'extracerts'
option needs to be the key of the certificate value otherwise
openssl_pkcs12_export will ignore it.
2017-10-22 18:53:30 +01:00
Anatol Belski
bb0a15f499
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
With ICU 58+, set the default restriction level to high
2017-10-21 17:24:42 +02:00
Anatol Belski
e986f71527
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
With ICU 58+, set the default restriction level to high
2017-10-21 17:24:15 +02:00
Anatol Belski
1d781fbdb1
With ICU 58+, set the default restriction level to high
...
Further experiments show, that CJK scripts should be ok. If there are
any issues, the moderate level can still be set later.
2017-10-21 17:21:41 +02:00
Anatol Belski
ff1b1c2761
Add TZ and Unicode versions to intl MINFO
2017-10-21 16:17:31 +02:00
Anatol Belski
73d68ff3e0
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Reenable AppVeyor cache
2017-10-21 12:00:26 +02:00
Anatol Belski
5ce28090e0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Reenable AppVeyor cache
2017-10-21 12:00:02 +02:00
Anatol Belski
44b3bc847b
Reenable AppVeyor cache
2017-10-21 11:59:22 +02:00
Anatol Belski
839b3d1677
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Disable AppVeyor cache to unlock build
2017-10-21 10:52:48 +02:00
Anatol Belski
f588a02463
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Disable AppVeyor cache to unlock build
2017-10-21 10:52:22 +02:00
Anatol Belski
0b71ae7a15
Disable AppVeyor cache to unlock build
2017-10-21 10:49:20 +02:00
Anatol Belski
3eb7ea55ae
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60
2017-10-21 10:30:43 +02:00
Anatol Belski
88ec44dfe3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60
2017-10-21 10:30:14 +02:00
Anatol Belski
5d85d967bd
Rework these new tests to match with diffs in ICU 58, 59 and upcoming 60
2017-10-21 10:29:04 +02:00
Anatol Belski
42ccf41e96
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[skip ci] Update NEWS
[ci skip] Update NEWS
2017-10-20 20:49:17 +02:00
Anatol Belski
858614e92a
[ci skip] Update NEWS
2017-10-20 20:48:59 +02:00
Anatol Belski
ffa4d48e70
[skip ci] Update NEWS
2017-10-20 20:47:36 +02:00
Anatol Belski
f508734e2f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Update NEWS
2017-10-20 20:47:16 +02:00
Anatol Belski
ede8cee9e6
[ci skip] Update NEWS
2017-10-20 20:46:42 +02:00
Anatol Belski
416c993c8e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
Add test for newer ICU version
2017-10-20 20:14:48 +02:00
Anatol Belski
6f395736e2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
Add test for newer ICU version
2017-10-20 20:14:08 +02:00
Anatol Belski
f95063647c
Fixed bug #73655 Spoofchecker::isSuspicious behavior change due to upstream changes
...
There are significant changes in the spoof checking reflecting
http://www.unicode.org/reports/tr39/tr39-15.html and relying on the
restriction levels. ICU 58+ removes WSC and MSC handling and otherwise
undergoes big changes in both code and data areas. Keep up with the
basic points for now, as we need to move forward and provide an
acceptable experience to PHP users linking to a newer ICU. The most
distros ATM don't provide ICU > 57.1, though. We'll need for sure to
keep up with the BC breach in ICU 58+ in possible further aspects.
2017-10-20 19:23:32 +02:00
Anatol Belski
2198d38cbc
Add test for newer ICU version
2017-10-20 19:02:42 +02:00
Anatol Belski
57fc9fcba4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Further test fixes for ICU >= 58
Version checks
2017-10-20 18:40:55 +02:00
Anatol Belski
3d55910f35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Further test fixes for ICU >= 58
2017-10-20 18:40:26 +02:00
Anatol Belski
e02c41fc72
Further test fixes for ICU >= 58
2017-10-20 18:39:46 +02:00
Anatol Belski
7027a1643f
Version checks
2017-10-20 18:26:14 +02:00
Anatol Belski
fb88cee0fc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Yet two wrong version checks
2017-10-20 16:55:32 +02:00
Anatol Belski
65d4bd0311
Yet two wrong version checks
2017-10-20 16:54:47 +02:00
Anatol Belski
0f7ddf0d47
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix version checks in tests
Fix version checks in tests
2017-10-20 15:25:27 +02:00
Anatol Belski
ae6d877f54
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix version checks in tests
2017-10-20 15:25:01 +02:00
Anatol Belski
2f444640b4
Fix version checks in tests
2017-10-20 15:24:43 +02:00
Anatol Belski
7240d99838
Fix version checks in tests
2017-10-20 15:23:09 +02:00
Anatol Belski
7775f9e872
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync some tests for compat with ICU 58.1, PHP 7.1+ part
Sync some tests for compat with ICU 58.1+
2017-10-20 13:58:53 +02:00
Anatol Belski
e2afa00b4c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Sync some tests for compat with ICU 58.1+
2017-10-20 13:57:44 +02:00
Anatol Belski
26473523b0
Sync some tests for compat with ICU 58.1, PHP 7.1+ part
2017-10-20 13:56:58 +02:00
Anatol Belski
877e0b04bc
Sync some tests for compat with ICU 58.1+
2017-10-20 13:55:32 +02:00
Anatol Belski
2a361b14ea
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add skip for incompatible ICU version
2017-10-20 11:30:09 +02:00
Anatol Belski
7751ae59ae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add skip for incompatible ICU version
2017-10-20 11:28:51 +02:00
Anatol Belski
9071ff5c87
Add skip for incompatible ICU version
2017-10-20 11:27:54 +02:00
Joe Watkins
4b67943501
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination
2017-10-19 12:03:19 +01:00
Joe Watkins
8eee20d876
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination
2017-10-19 12:02:52 +01:00
Nester
80c3b078b8
Fixed #75317 - UConverter::setDestinationEncoding changes source instead of destinatination
2017-10-19 12:02:22 +01:00
Joe Watkins
cf91d81b31
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update .editorconfig with some more configs
2017-10-19 11:54:01 +01:00
Joe Watkins
85c243ef66
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update .editorconfig with some more configs
2017-10-19 11:53:50 +01:00
Peter Kokot
aa143515d6
Update .editorconfig with some more configs
...
Added support for .awk, .w32, .bat, .mk, .frag, .m4, .sh, .php, .phpt,
and Markdown files based on the current most used coding style in the
php-src repository.
2017-10-19 11:53:37 +01:00
Joe Watkins
0397b8c5c5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix issue with zend signals in php_request_startup
2017-10-19 11:48:27 +01:00
Herman J. Radtke III
bb1814b5c3
Fix issue with zend signals in php_request_startup
...
The zend_signals_activate() function is called in php_request_startup()
even if `--disable-zend-signals` is used. This causes uninitialized
variables to be used on ZTS builds.
This was removed in 7.1 in c870633 . Removing guards from the SAPIs
should be fine, but removing the guard from main/main.c prevents anyone
using the static embedded library to integrate PHP into their programs.
For more details, see the "Additional remark" section in
https://bugs.php.net/bug.php?id=74149
2017-10-19 11:48:16 +01:00
Joe Watkins
965daf4349
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Escape newline on curl config.m4
2017-10-19 11:40:48 +01:00
Joe Watkins
925d969f9e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Escape newline on curl config.m4
2017-10-19 11:40:05 +01:00
Ryan Volz
4e85dd0346
Escape newline on curl config.m4
2017-10-19 11:39:54 +01:00
Anatol Belski
2b76520d86
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move to php-sdk-2.0.0beta3 for Appveyor
2017-10-18 17:47:27 +02:00
Anatol Belski
3c2b087b3e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move to php-sdk-2.0.0beta3 for Appveyor
2017-10-18 17:46:40 +02:00
Anatol Belski
5f7707cc8a
Move to php-sdk-2.0.0beta3 for Appveyor
...
Supposed to fix sporadic tool crashes on the test image
2017-10-18 17:45:33 +02:00
Anatol Belski
5315cea6e2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Backport 7ff13badda into 7.0+
2017-10-18 16:27:31 +02:00
Anatol Belski
53d8775015
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Backport 7ff13badda into 7.0+
2017-10-18 16:24:23 +02:00
Anatol Belski
d82805f097
Backport 7ff13badda into 7.0+
2017-10-18 16:02:56 +02:00
Anatol Belski
63a0ddb013
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
One more folder to delete in AppVeyor image
2017-10-17 15:37:23 +02:00
Anatol Belski
b9b06c4bdf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
One more folder to delete in AppVeyor image
2017-10-17 15:34:42 +02:00
Anatol Belski
9891f11f84
One more folder to delete in AppVeyor image
2017-10-17 15:32:47 +02:00
Xinchen Hui
e53a9aaa4a
Fixed bug (assertion fails with extended info generated)
2017-10-17 19:47:29 +08:00
Xinchen Hui
0292456262
Fixed test
2017-10-17 12:20:43 +08:00
Xinchen Hui
2f73f2436a
Try to fix test
2017-10-17 11:35:40 +08:00
Tianfang Yang
77ad860bf0
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-16 19:27:21 -04:00
Tianfang Yang
d1f43b1a58
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-16 19:24:08 -04:00
Tianfang Yang
f955cff54c
Fixed valgrind issue
2017-10-16 19:20:24 -04:00
Tianfang Yang
aad4544e95
Fixed valgrind issue
2017-10-16 19:16:30 -04:00
Anatol Belski
d30477f23a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move to next binary SDK version for AppVeyor
2017-10-16 18:07:41 +02:00
Anatol Belski
c3177f8279
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move to next binary SDK version for AppVeyor
2017-10-16 18:06:38 +02:00
Anatol Belski
7778106f40
Move to next binary SDK version for AppVeyor
2017-10-16 18:05:56 +02:00
Dmitry Stogov
5d6912d185
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Prevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql
2017-10-16 19:02:22 +03:00
Dmitry Stogov
c33ca443ee
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Prevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql
2017-10-16 19:02:07 +03:00
Dmitry Stogov
8bfe748fb0
Prevent crash on ext/pdo_mysql/tests/bug_39858.phpt when built with libmysql
2017-10-16 19:00:12 +03:00
Xinchen Hui
6fab62e923
Merge branch 'PHP-7.2' of git.php.net:/php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:/php-src:
[ci skip] Fixed bug #75383 (The date is "Sep", it should say "Oct")
Properly fix #75363 and address some other leaks with cert
2017-10-16 19:07:55 +08:00
Xinchen Hui
863acd7753
Fixed bug #75378 ([REGRESSION] IntlDateFormatter::parse() does not change $position argument)
2017-10-16 19:07:34 +08:00
Christoph M. Becker
08c04c9245
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Fixed bug #75383 (The date is "Sep", it should say "Oct")
2017-10-16 11:12:17 +02:00
Christoph M. Becker
200d526a9c
[ci skip] Fixed bug #75383 (The date is "Sep", it should say "Oct")
2017-10-16 11:11:34 +02:00
Jakub Zelenka
532aec7af2
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
2017-10-16 09:54:03 +01:00
Xinchen Hui
8e147f12b9
Fixed bug (Phi sources removel)
2017-10-16 15:01:06 +08:00
Jakub Zelenka
a3da46b524
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-15 20:33:22 +01:00
Jakub Zelenka
547fee9cd4
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-15 20:31:25 +01:00
Jakub Zelenka
999fe36d40
Properly fix #75363 and address some other leaks with cert
2017-10-15 20:25:58 +01:00
Jakub Zelenka
7c556c44a1
Fix bug #68567 (JSON_PARTIAL_OUTPUT_ON_ERROR can result in JSON with null key)
2017-10-15 19:36:15 +01:00
Christoph M. Becker
46d87c1f10
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #53070 (enchant_broker_get_path crashes if no path is set)
2017-10-15 14:07:41 +02:00
Christoph M. Becker
5e2751e7ff
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #53070 (enchant_broker_get_path crashes if no path is set)
2017-10-15 14:02:31 +02:00
Jelle van der Waa
5acb8381b2
Fixed bug #53070 (enchant_broker_get_path crashes if no path is set)
...
enchant_broker_get_dict_path segfaults when the dict path is not setup,
instead of segfaulting return false instead.
2017-10-15 13:57:44 +02:00
Christoph M. Becker
de5f15ed4e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75365 (Enchant still reports version 1.1.0)
2017-10-15 13:35:59 +02:00
Christoph M. Becker
fd993b1045
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75365 (Enchant still reports version 1.1.0)
2017-10-15 13:30:06 +02:00
Christoph M. Becker
fb09021432
Fixed bug #75365 (Enchant still reports version 1.1.0)
...
Since Enchant is bundled, we make `PHP_ENCHANT_VERSION` an alias of
`PHP_VERSION` and also drop the rather meaningless revision hash from
the PHP info.
2017-10-15 13:19:17 +02:00
Xinchen Hui
481a65a028
Update NEWS
2017-10-15 10:29:40 +08:00
Xinchen Hui
9f5ed133b3
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)
2017-10-15 10:29:28 +08:00
Xinchen Hui
b9b2ae703c
Update NEWS
2017-10-15 10:29:10 +08:00
Xinchen Hui
49702ad7fb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)
2017-10-15 10:28:46 +08:00
Xinchen Hui
816758eda2
Fixed bug #75287 (Builtin webserver crash after chdir in a shutdown function)
2017-10-15 10:28:28 +08:00
Xinchen Hui
abbdbc21b0
Fixed bug #75357 (segfault loading WordPress wp-admin)
2017-10-14 23:12:29 +08:00
Dmitry Stogov
7045362ce7
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75368 (mmap/munmap trashing on unlucky allocations)
2017-10-13 14:00:21 +03:00
Dmitry Stogov
bf1c1d07db
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75368 (mmap/munmap trashing on unlucky allocations)
2017-10-13 13:56:23 +03:00
Dmitry Stogov
397f5cb687
Fixed bug #75368 (mmap/munmap trashing on unlucky allocations)
2017-10-13 13:56:06 +03:00
Xinchen Hui
21f049b45c
Prevent from being affected by local php.ini
2017-10-13 18:23:56 +08:00
Xinchen Hui
a52d1088e5
Added skipf
2017-10-13 18:21:41 +08:00
Xinchen Hui
e4f7ff9c0f
Fixed bug #75370 (Webserver hangs on valid PHP text)
2017-10-13 18:18:10 +08:00
Xinchen Hui
e50cc4d3af
Fixed typo
2017-10-13 17:35:02 +08:00
Christoph M. Becker
3f8961dfac
Fixed bug #75221 (Argon2i always throws NUL at the end)
...
Apparently, `argon2_encodedlen()` also counts the terminating NUL byte;
that doesn't appear to be documented somewhere, but from looking at the
implementation[1] it is pretty obvious. Therefore, the respective
`zend_string` has to be one byte shorter.
[1] <https://github.com/P-H-C/phc-winner-argon2/blob/20161029/src/argon2.c#L431-L436 >
2017-10-12 12:52:37 +02:00
Bob Weinand
ee36507423
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-12 12:32:30 +02:00
Bob Weinand
f8ff4c4918
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-12 12:31:20 +02:00
Bob Weinand
a55af1e271
Fixed bug #75363 (openssl_x509_parse leaks memory)
2017-10-12 12:30:20 +02:00
Anatol Belski
81473829d4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
It looks like i should've taken joint response on ext/fileinfo long ago
2017-10-11 22:25:27 +02:00
Anatol Belski
677cd85cb7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
It looks like i should've taken joint response on ext/fileinfo long ago
2017-10-11 22:24:52 +02:00
Anatol Belski
23e97b0222
It looks like i should've taken joint response on ext/fileinfo long ago
2017-10-11 22:21:34 +02:00
Anatol Belski
e7aebcc186
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Put php-sdk-2.0.12beta1 for AppVeyor
2017-10-11 20:31:58 +02:00
Anatol Belski
f63a0fef6b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Put php-sdk-2.0.12beta1 for AppVeyor
2017-10-11 20:30:40 +02:00
Anatol Belski
d432bdb4ab
Put php-sdk-2.0.12beta1 for AppVeyor
...
Quite some tool upgrades there, especially re2c 1.0.2
2017-10-11 20:27:27 +02:00
Anatol Belski
4d61091ac7
[ci skip] update NEWS
2017-10-11 19:02:51 +02:00
Anatol Belski
747f70ba82
Cleanup irrelevant info
2017-10-11 18:40:16 +02:00
Anatol Belski
08d8623dec
Upgrade bundled libmagic to 5.31
2017-10-11 18:18:55 +02:00
Christoph M. Becker
1f150fcde1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-11 17:30:45 +02:00
Christoph M. Becker
d3d23e0cb8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-11 17:29:36 +02:00
Christoph M. Becker
787bf7eaf7
Merge branch 'pull-request/2798' into PHP-7.0
...
* pull-request/2798:
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-11 17:28:30 +02:00
Christoph M. Becker
50bd4996fd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use PHP_VERSION for exif
2017-10-11 14:44:43 +02:00
Christoph M. Becker
62098a10aa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use PHP_VERSION for exif
2017-10-11 14:43:51 +02:00
Christoph M. Becker
b497b6edf9
Merge branch 'pull-request/2799' into PHP-7.0
...
* pull-request/2799:
Use PHP_VERSION for exif
2017-10-11 14:42:46 +02:00
Christoph M. Becker
b65e6cfe35
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
bump version
2017-10-11 14:38:12 +02:00
Anatol Belski
53169dc480
Fix datatype
2017-10-11 08:58:59 +02:00
Dmitry Stogov
2929110ce1
Fixed cleanup after optimization passes
2017-10-10 19:25:51 +03:00
Sara Golemon
6c3c18723c
Revert "Update NEWS for PHP 7.2.0RC4"
...
This reverts commit 1ea657c65e .
2017-10-10 11:55:50 -04:00
Sara Golemon
6c8a5817ec
Revert "Update NEWS for 7.2.0RC5"
...
This reverts commit ef25e56ae6 .
2017-10-10 11:55:41 -04:00
Sara Golemon
ef25e56ae6
Update NEWS for 7.2.0RC5
2017-10-10 15:49:16 +00:00
Sara Golemon
1ea657c65e
Update NEWS for PHP 7.2.0RC4
2017-10-10 15:27:31 +00:00
Joe Watkins
c2bfdf3712
bump version
2017-10-10 16:12:36 +01:00
Anatol Belski
ad279bd180
Fix path in makefile fragment
2017-10-10 14:32:19 +02:00
Christoph M. Becker
fcaf183174
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Add NEWS entry for bug #75349
2017-10-10 13:59:28 +02:00
Christoph M. Becker
fee21a45df
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Add NEWS entry for bug #75349
2017-10-10 13:56:47 +02:00
Christoph M. Becker
c8eccf8451
[ci skip] Add NEWS entry for bug #75349
2017-10-10 13:54:52 +02:00
Anatol Belski
9c5a1dad64
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix re2c version detection
2017-10-10 13:00:26 +02:00
Anatol Belski
30f121f9bc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix re2c version detection
2017-10-10 12:59:14 +02:00
Remi Collet
f3cda1a3a5
Update NEWS for 7.2.0RC5
2017-10-10 10:27:37 +00:00
Remi Collet
9317e910fe
Update NEWS for PHP 7.2.0RC4
2017-10-10 10:12:30 +00:00
Anatol Belski
d1fc9b425f
Fix re2c version detection
2017-10-10 10:52:52 +02:00
Anatol Belski
406622d117
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move dev to 7.0.26
2017-10-10 08:28:09 +02:00
Anatol Belski
c8732b1c5f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move dev to 7.0.26
2017-10-10 08:27:37 +02:00
Anatol Belski
51658bac35
Move dev to 7.0.26
2017-10-10 08:26:04 +02:00
Anatol Belski
611d117b24
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix array access on undeclared properties in DateInterval
2017-10-09 15:38:37 +02:00
Anatol Belski
d8881f4eb4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix array access on undeclared properties in DateInterval
2017-10-09 15:38:21 +02:00
Anatol Belski
f48abfa902
Fix array access on undeclared properties in DateInterval
2017-10-09 15:35:38 +02:00
Anatol Belski
a51c542b53
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix ftok() multibyte path support
2017-10-09 13:13:51 +02:00
Anatol Belski
dc3b9fe619
Fix ftok() multibyte path support
2017-10-09 13:12:40 +02:00
Sara Golemon
1db7e4a962
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
2017-10-07 10:14:03 -04:00
Sara Golemon
ac1fd769ad
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
2017-10-07 10:13:54 -04:00
Sara Golemon
843e492c68
Bugfix #74556 stream_socket_get_name() returns null bytes on MacOS
2017-10-07 10:08:34 -04:00
Rasmus Lerdorf
ec3ea3081d
Add line numbers to Optimizer debug output
2017-10-06 17:18:58 -03:00
Christoph M. Becker
d0146c2506
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
2017-10-06 16:57:20 +02:00
Christoph M. Becker
0f55138533
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
2017-10-06 16:46:51 +02:00
Christoph M. Becker
ec3d864784
Fixed bug #75318 (The parameter of UConverter::getAliases() is not optional)
...
Of course, reflection has to know that as well.
2017-10-06 16:45:07 +02:00
Nikita Popov
0e8ccb179d
Merge branch 'PHP-7.1' into PHP-7.2
2017-10-05 12:26:19 +02:00
Nikita Popov
d34c8fa802
Merge branch 'PHP-7.0' into PHP-7.1
2017-10-05 12:25:37 +02:00
Mathieu CARBONNEAUX
6b9ccda936
Fixed bug #75311
2017-10-05 12:24:57 +02:00
Peter Kokot
74124de048
Use PHP_VERSION for exif
2017-10-04 23:25:36 +02:00
Dmitry Stogov
e9426cf816
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed rarely possible use-after-free
2017-10-04 16:39:47 +03:00
Dmitry Stogov
b6e34eaf04
Fixed rarely possible use-after-free
2017-10-04 16:38:55 +03:00
Dmitry Stogov
c3bb81d5a4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Bumped ext/oci8 version
Use dereferenced value
Fixed compilation errors
Restored code for BOOL variables
Fixed few ext/oci8 bugs
2017-10-04 09:59:27 +03:00
Dmitry Stogov
c935b832dc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bumped ext/oci8 version
Use dereferenced value
Fixed compilation errors
Restored code for BOOL variables
Fixed few ext/oci8 bugs
2017-10-04 09:58:32 +03:00
Dmitry Stogov
1195de87ff
Bumped ext/oci8 version
2017-10-04 09:56:25 +03:00
Dmitry Stogov
ee50fcfa27
Merge branch 'oci8_fix' into PHP-7.0
...
* oci8_fix:
Use dereferenced value
Fixed compilation errors
Restored code for BOOL variables
Fixed few ext/oci8 bugs
2017-10-04 09:49:40 +03:00
Christoph M. Becker
2b83f0da89
[ci skip] Merge branch 'pull-request/2776' into PHP-7.2
...
* pull-request/2776:
Change EXTENSIONS file encoding from iso-8859-1 to utf-8
2017-10-04 00:30:57 +02:00
Dmitry Stogov
24e595bf26
Use dereferenced value
2017-10-03 10:49:56 +03:00
Joe Watkins
6e39258302
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Typo in status.html
2017-10-03 07:22:15 +01:00
Joe Watkins
d0cda9d0bd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Typo in status.html
2017-10-03 07:22:04 +01:00
Viktor Szépe
e995b7e475
Typo in status.html
...
feet needs -> fit needs
2017-10-03 07:21:53 +01:00
Joe Watkins
4c12da6aca
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #74905
2017-10-03 07:19:23 +01:00
Joe Watkins
1322c2c86a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #74905
2017-10-03 07:19:00 +01:00
Peter Kokot
6d1dd8b0af
Fix bug #74905
2017-10-03 07:18:38 +01:00
Joe Watkins
a87434bda8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Remove ident gitattribute for ext/zip/php_zip.c
2017-10-03 07:15:14 +01:00
Joe Watkins
2019b25daa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove ident gitattribute for ext/zip/php_zip.c
2017-10-03 07:15:02 +01:00
Peter Kokot
7b248a1b32
Remove ident gitattribute for ext/zip/php_zip.c
2017-10-03 07:14:50 +01:00
Dmitry Stogov
4d69587035
Fixed compilation errors
2017-10-03 09:08:28 +03:00
Remi Collet
ca6d701994
NEWS
2017-10-03 06:42:39 +02:00
Remi Collet
d67873ec99
Fix Bug #75284 sha3 is not supported on bigendian machine
2017-10-03 06:41:46 +02:00
Frank Denis
a1c0824518
NEWS
2017-10-02 22:47:06 +02:00
Frank Denis
9d236d63f9
ext/sodium: untab tests
2017-10-02 22:28:46 +02:00
Frank Denis
1dc47286d1
ext/sodium: import secretstream test
2017-10-02 22:28:33 +02:00
Frank Denis
6de12a5f1e
ext/sodium: sodium_compare() is always available
2017-10-02 22:23:53 +02:00
Frank Denis
40ab4c9d4e
ext/sodium: fix funky indentation
2017-10-02 22:22:22 +02:00
Frank Denis
7fc396c15d
ext/sodium: move pwhash_scrypt() after pwhash()
2017-10-02 22:19:55 +02:00
Frank Denis
986a9e879a
ext/sodium: checks for crypto_box_SEALBYTES are not required
2017-10-02 22:11:29 +02:00
Frank Denis
4d1707b764
ext/sodium: explicitly include <string.h>
2017-10-02 22:10:30 +02:00
Frank Denis
0726d0be9f
ext/sodium: zend_parse_parameters -> zend_parse_parameters_throw
2017-10-02 22:05:59 +02:00
Frank Denis
e4917d141a
ext/sodium: fix funky indent on zend_parse_parameters_throw() calls
2017-10-02 22:02:47 +02:00
Frank Denis
72f7d0b184
ext/sodium: import bindings for secretstream
2017-10-02 21:59:51 +02:00
Frank Denis
7d53e65125
ext/sodium: add crypto_pwhash_str_needs_rehash()
...
Also properly define xchacha20poly1305_ietf_keygen()
2017-10-02 21:54:50 +02:00
Frank Denis
e22094eb13
ext/sodium: +base64 codecs (timing-safe)
2017-10-02 21:43:54 +02:00
Frank Denis
ad120c5ae9
ext/sodium: add arginfo definitions that will be required later
...
Don't check for existence of aesgcm symbols, since we only support
libsodium >= 1.0.8
2017-10-02 21:40:38 +02:00
Frank Denis
519ca1d53b
ext/sodium: sort prototypes
2017-10-02 21:36:35 +02:00
Dmitry Stogov
c8dea7ae1e
Restored code for BOOL variables
2017-10-02 17:04:26 +03:00
Remi Collet
2606c5f0fe
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
NEWS
Fixed bug #75303 sha3 hangs on bigendian
2017-10-02 11:26:46 +02:00
Remi Collet
03aef5f65c
NEWS
2017-10-02 11:26:08 +02:00
Remi Collet
fa78afa112
Fixed bug #75303 sha3 hangs on bigendian
2017-10-02 11:25:23 +02:00
Sara Golemon
ec90310ea9
Guard against AI_NUMERICSERV not being defined.
2017-10-01 21:37:04 -04:00
Frank Denis
0663ca135d
ext/sodium: fix pwhash_argon2i test
2017-10-01 16:00:41 +02:00
Fabien Villepinte
9d9873b3b5
Fix Bug #75299 Wrong reflection on inflate_init and inflate_add
2017-10-01 11:27:16 +02:00
Xinchen Hui
92ceb64faf
Merge branch 'patch-compile-warning' of https://github.com/petk/php-src into PHP-7.2
...
* 'patch-compile-warning' of https://github.com/petk/php-src :
Fix bug #75279
2017-09-30 12:14:21 +08:00
Andrea Faulds
15efa985df
Merge branch 'PHP-7.1' into PHP-7.2
2017-09-29 21:38:52 +01:00
Andrea Faulds
4372293192
Merge branch 'PHP-7.0' into PHP-7.1
2017-09-29 21:38:30 +01:00
Andrea Faulds
abefb6dfe7
Fix bug #75290
2017-09-29 21:38:08 +01:00
Remi Collet
7e21f472c6
NEWS
2017-09-29 15:50:38 +02:00
Remi Collet
7c8357929c
Fixed bug #75285i Broken build when system libpcre don't have jit support
...
Detect JIT support in system library,
So --with-pcre-jit is only for bundled library.
2017-09-29 15:47:50 +02:00
Peter Kokot
8d87f6f6dd
Fix bug #75279
2017-09-29 14:33:54 +02:00
Anatol Belski
c3a1cc382a
Revert --with-pcre-valgrind by default in debug build
...
After quite a few people reported this option enabled to be in many cases
not handy by default, it's reverted to no by default everywhere. If enabled,
it requires Valgrind dev packages, where just a few have Valgrind itself
installed or care. Still for PCRE related work this option is a must,
though will have to be turned on by hand.
Revert "fix default args for --with-pcre-valgrind"
This reverts commit 24de0fe9f4 .
Revert "Enable valgrind support for PCRE by default in debug builds"
This reverts commit 850bb998d9 .
2017-09-29 12:17:38 +02:00
Xinchen Hui
d3aa65231e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75267 (possible &/&& mixup)
2017-09-29 11:17:07 +08:00
Xinchen Hui
9fd33c1f20
Fixed bug #75267 (possible &/&& mixup)
2017-09-29 11:16:32 +08:00
Sara Golemon
a93fe32c1a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix word alignment on ILP64.
2017-09-28 10:48:43 -04:00
Sara Golemon
b5bc88c64e
Fix word alignment on ILP64.
2017-09-28 10:45:51 -04:00
Anatol Belski
4f1ea03528
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Apply upstream patch for CVE-2016-1283
2017-09-28 15:45:09 +02:00
Anatol Belski
db9778dfb2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Apply upstream patch for CVE-2016-1283
2017-09-28 15:44:40 +02:00
Anatol Belski
d11fceab15
Apply upstream patch for CVE-2016-1283
...
Fix bug #75207 , see also
https://bugzilla.redhat.com/show_bug.cgi?id=1295385
https://vcs.pcre.org/pcre?view=revision&revision=1636
2017-09-28 15:40:49 +02:00
Anatol Belski
4f63024206
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix mkdir() special case for path length < 260 and > 248
2017-09-28 13:19:48 +02:00
Anatol Belski
72c008f945
Fix mkdir() special case for path length < 260 and > 248
2017-09-28 13:18:31 +02:00
Christoph M. Becker
b0d6d27349
[ci skip] hash_hmac_algos() is new in PHP 7.2.0
2017-09-27 17:18:10 +02:00
Dmitry Stogov
978c6c4e31
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75255 (Request hangs and not finish)
2017-09-27 17:17:46 +03:00
Dmitry Stogov
1c68d63f35
Fixed bug #75255 (Request hangs and not finish)
2017-09-27 17:16:24 +03:00
jhdxr
7deb561f75
fix bug #75222 DateInterval microseconds property always 0
2017-09-27 06:23:42 +01:00
Joe Watkins
b0950ff854
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix CGI m4 config message when CGI is disabled
2017-09-27 06:20:46 +01:00
Joe Watkins
1981c48e60
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix CGI m4 config message when CGI is disabled
2017-09-27 06:20:34 +01:00
Peter Kokot
29e673f8ed
Fix CGI m4 config message when CGI is disabled
2017-09-27 06:20:09 +01:00
Joe Watkins
474ee702ab
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #75248 and #75251
2017-09-27 06:16:13 +01:00
Joe Watkins
af71942da2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #75248 and #75251
2017-09-27 06:15:47 +01:00
Peter Kokot
6d0391b1a4
Fix bug #75248 and #75251
2017-09-27 06:15:12 +01:00
Joe Watkins
0d6c56a8ea
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #75220 - Segfault when calling is_callable on parent
2017-09-27 06:08:49 +01:00
Joe Watkins
2dd77456fe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #75220 - Segfault when calling is_callable on parent
2017-09-27 06:08:01 +01:00
Nester
a680d701ce
Fixed #75220 - Segfault when calling is_callable on parent
2017-09-27 06:07:24 +01:00
Frank Denis
33b4405d84
ext/sodium: call crypto_pwhash_argon2id() explicitly if required
2017-09-26 18:09:00 +02:00
Frank Denis
47d75394c9
ext/sodium: avoid tautological comparisons
2017-09-26 17:58:16 +02:00
Frank Denis
f64d00d684
ext/sodium: signing empty messages is fine
2017-09-26 17:37:04 +02:00
Remi Collet
bffe657d94
Update NEWS for 7.2.0RC4
2017-09-26 09:38:23 +00:00
Remi Collet
8cdb9784d2
Update NEWS for PHP 7.2.0RC3
2017-09-26 09:23:07 +00:00
Nikita Popov
3a4db74ee4
Create $http_response_header even if not used
...
Extensions are relying on it.
2017-09-26 09:20:43 +02:00
Christoph M. Becker
296eb5193c
Merge branch 'pull-request/2773' into PHP-7.2
...
* pull-request/2773:
Fix PHP_GD_TTSTR: command not found warning in ext/gd
2017-09-26 00:45:21 +02:00
Anatol Belski
8466ef9096
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Remove some old sapi/apache_hooks and sapi/apache leftovers
2017-09-25 21:58:41 +02:00
Anatol Belski
0217a81722
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove some old sapi/apache_hooks and sapi/apache leftovers
2017-09-25 21:58:18 +02:00
Peter Kokot
e095e6db63
Change EXTENSIONS file encoding from iso-8859-1 to utf-8
...
Also fix some characters to their correct letters.
2017-09-25 21:57:24 +02:00
Peter Kokot
3752d18ffe
Remove some old sapi/apache_hooks and sapi/apache leftovers
2017-09-25 21:56:39 +02:00
Dmitry Stogov
2a33e357cd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Added missed ~
2017-09-25 12:23:01 +03:00
Dmitry Stogov
550595c085
Added missed ~
2017-09-25 12:22:35 +03:00
Dmitry Stogov
801cdb8945
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed type inference
2017-09-25 12:04:13 +03:00
Dmitry Stogov
d526ddec85
Fixed type inference
2017-09-25 12:03:47 +03:00
Peter Kokot
8c85d7b732
Fix PHP_GD_TTSTR: command not found warning in ext/gd
2017-09-25 02:37:42 +02:00
Xinchen Hui
ed2a5ebaeb
Fixed bug #75230 (Invalid opcode 49/1/8 using opcache)
2017-09-24 18:01:29 +08:00
Xinchen Hui
ccc0a92504
Update NEWS
2017-09-24 17:25:11 +08:00
Xinchen Hui
bad5639386
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
Compiler warning
2017-09-24 17:24:57 +08:00
Xinchen Hui
634f79d8d8
Update NEWS
2017-09-24 17:24:43 +08:00
Xinchen Hui
e8c200515a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
Compiler warning
2017-09-24 17:24:23 +08:00
Xinchen Hui
b05ff14a9a
Fixed bug #75241 (Null pointer dereference in zend_mm_alloc_small()).
2017-09-24 17:24:11 +08:00
Xinchen Hui
db63367871
Compiler warning
2017-09-24 17:19:05 +08:00
Nikita Popov
76b2b4a190
Merge branch 'PHP-7.1' into PHP-7.2
2017-09-24 08:55:12 +02:00
Nikita Popov
628c257f71
Merge branch 'PHP-7.0' into PHP-7.1
2017-09-24 08:54:36 +02:00
Nikita Popov
73d6456d7d
Fixed bug #75252
2017-09-24 08:53:27 +02:00
Dmitry Stogov
28391b9e7f
Using "enum" types as bit-fields is not portable.
2017-09-22 13:35:41 +03:00
Frank Denis
8a52a61e3a
ext/sodium: avoid negations on unsigned values
2017-09-21 17:46:01 +02:00
Anatol Belski
95870dcc77
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix thread safety
2017-09-21 10:33:13 +02:00
Anatol Belski
96323d1bd7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix thread safety
2017-09-21 10:32:47 +02:00
Anatol Belski
da2f581833
Fix thread safety
2017-09-21 10:32:09 +02:00
Andrea Faulds
7418f6814f
Merge branch 'PHP-7.1' into PHP-7.2
2017-09-21 00:04:56 +01:00
Andrea Faulds
b71023e297
Merge branch 'PHP-7.0' into PHP-7.1
2017-09-21 00:04:08 +01:00
Andrea Faulds
418f97443a
Fix bug #75236
2017-09-21 00:02:52 +01:00
Jannes Jeising
c7a0177491
[ci skip] Fix more typos in UPGRADING
2017-09-20 15:50:06 -04:00
Christoph M. Becker
43152bc39f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
2017-09-20 15:54:07 +02:00
Christoph M. Becker
0c0b955d5f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
2017-09-20 15:47:02 +02:00
Dmitry Stogov
9a01fe712a
Fixed few ext/oci8 bugs
2017-09-20 16:46:04 +03:00
Christoph M. Becker
eedc060c92
Fixed bug #73629 (SplDoublyLinkedList::setIteratorMode masks intern flags)
...
We must not overwrite the SPL_DLLIST_IT_FIX flag when changing the
iterator mode.
2017-09-20 15:46:04 +02:00
Dmitry Stogov
6544ec5460
Fixed NOP removal (empty blocks should be shifted as well)
2017-09-20 01:10:31 +03:00
Frank Denis
fd86fdd7b8
ext/sodium: throw an exception if only the prefix of a hex string is valid
2017-09-19 14:37:21 +02:00
Remi Collet
ee84f34344
rename test
2017-09-19 07:26:53 +02:00
Christoph M. Becker
3cd5f28899
[ci skip] Update NEWS
2017-09-18 22:52:18 +02:00
Dmitry Stogov
5ef10d08ec
Use private names for new libpcre symbols.
2017-09-18 20:00:45 +03:00
Remi Collet
7d5c0f1906
NEWS
2017-09-18 18:09:35 +02:00
Remi Collet
cfc6c4d297
Fixed Bug #75212 php_value acts like php_admin_value
2017-09-18 18:08:51 +02:00
Dmitry Stogov
084e34098a
Fixed optimization (the bug caused endless-loop on micro_bench.php in master branch)
2017-09-18 14:10:18 +03:00
Anatol Belski
d8f1afb45e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix the version check causing the test fail
2017-09-18 12:06:54 +02:00
Anatol Belski
5c59dd0047
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix the version check causing the test fail
2017-09-18 12:06:23 +02:00
Anatol Belski
9641586efa
Fix the version check causing the test fail
2017-09-18 12:04:31 +02:00
Dmitry Stogov
41e5f916bf
Fixed bug #74878 (Data race in ZTS builds)
2017-09-18 11:27:10 +03:00
Anatol Belski
de2f28ede1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update lib_versions.txt
2017-09-18 09:37:46 +02:00
Anatol Belski
e3e3d37fa9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update lib_versions.txt
2017-09-18 09:36:29 +02:00
Anatol Belski
7670590efd
Update lib_versions.txt
2017-09-18 09:34:58 +02:00
Anatol Belski
9551818649
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move to next binary SDK version for AppVeyor
2017-09-15 23:06:19 +02:00
Anatol Belski
351f98f5f3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move to next binary SDK version for AppVeyor
2017-09-15 23:05:25 +02:00
Anatol Belski
7910c1dee9
Move to next binary SDK version for AppVeyor
2017-09-15 23:04:15 +02:00
Christoph M. Becker
b5052f0110
[ci skip] Fix typos in UPGRADING
2017-09-14 00:34:26 +02:00
Anatol Belski
46e0c474e0
[ci skip] update NEWS
2017-09-13 15:47:52 +02:00
Anatol Belski
66c7c28dbf
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-09-13 15:47:19 +02:00
Anatol Belski
fba792945e
[ci skip] update NEWS
...
Fix format
2017-09-13 15:46:33 +02:00
Anatol Belski
b134793b32
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75018 , fixed bug #75177
2017-09-13 14:12:31 +02:00
Anatol Belski
3d93856c4a
Fixed bug #75018 , fixed bug #75177
...
Both are caused by the same cast issue in mysqlnd on 32-bit.
2017-09-13 14:10:30 +02:00
Remi Collet
d99cd28925
fix tests for 32-bit
2017-09-13 12:20:05 +02:00
Dmitry Stogov
168ec3a6e1
Fixed ZTS build (disable deallocation of arg_info of internal functions with type hints)
2017-09-13 10:10:56 +03:00
Dmitry Stogov
a84608d4e2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Properly update string type flags
2017-09-13 01:46:23 +03:00
Dmitry Stogov
c24b3eff11
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Properly update string type flags
2017-09-13 01:46:12 +03:00
Dmitry Stogov
d7a10f0e32
Properly update string type flags
2017-09-13 01:45:57 +03:00
Dmitry Stogov
10a7f2cf62
Fixed memry leaks (free arg_info of internal functions with type hints)
2017-09-13 01:44:19 +03:00
Dmitry Stogov
40d15cb03d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Revert "Properly update string type flags"
2017-09-13 00:15:20 +03:00
Dmitry Stogov
5f1d553e7e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Properly update string type flags"
2017-09-13 00:15:08 +03:00
Dmitry Stogov
83d8ebc991
Revert "Properly update string type flags"
...
This reverts commit 99b1a62d55 .
2017-09-13 00:14:39 +03:00
Dmitry Stogov
c2cf132ecd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed test
2017-09-12 23:47:52 +03:00
Dmitry Stogov
253d49369d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed test
2017-09-12 23:47:39 +03:00
Dmitry Stogov
2874fa8fb0
Fixed test
2017-09-12 23:47:22 +03:00
Dmitry Stogov
73430d5362
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Properly update string type flags
2017-09-12 23:43:56 +03:00
Dmitry Stogov
7452fd0263
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Properly update string type flags
2017-09-12 23:43:42 +03:00
Dmitry Stogov
99b1a62d55
Properly update string type flags
2017-09-12 23:42:51 +03:00
Sara Golemon
0d37dcd21d
Update NEWS for 7.2.0RC3
2017-09-12 12:47:55 -04:00
Sara Golemon
2272f408ed
Update NEWS for PHP 7.2.0RC2
2017-09-12 12:47:55 -04:00
Anatol Belski
689f9956da
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test failure on 32-bit
2017-09-12 18:19:34 +02:00
Anatol Belski
fcad6a97b8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test failure on 32-bit
2017-09-12 18:18:44 +02:00
Anatol Belski
7674b5e574
Fix test failure on 32-bit
2017-09-12 18:17:28 +02:00
Anatol Belski
7c5e454b09
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
bump versions
2017-09-12 18:11:05 +02:00
Joe Watkins
7f01872a24
bump versions
2017-09-12 15:34:30 +01:00
Remi Collet
ea2507bc24
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
drop symbol definition, and not defined anywhere
2017-09-12 13:03:55 +02:00
Remi Collet
42e15813e2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
drop symbol definition, and not defined anywhere
2017-09-12 13:03:39 +02:00
Remi Collet
35deb4c88b
drop symbol definition, and not defined anywhere
2017-09-12 13:03:18 +02:00
Anatol Belski
8ed0094f48
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-09-12 12:19:14 +02:00
Anatol Belski
1454dc20eb
[ci skip] update NEWS
2017-09-12 12:18:58 +02:00
Anatol Belski
ac6eefcf3d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-09-12 12:18:01 +02:00
Anatol Belski
3719aaebbf
[ci skip] update NEWS
2017-09-12 12:17:46 +02:00
Anatol Belski
3d1cb7e32c
[ci skip] update NEWS
2017-09-12 12:17:12 +02:00
Anatol Belski
a54079b92f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75193 segfault in collator_convert_object_to_string
2017-09-12 12:14:24 +02:00
Anatol Belski
05c65de082
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75193 segfault in collator_convert_object_to_string
2017-09-12 12:13:42 +02:00
Remi Collet
b09497c0e2
Fixed bug #75193 segfault in collator_convert_object_to_string
2017-09-12 12:12:06 +02:00
Anatol Belski
3a61773b45
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move dev to 7.0.25
2017-09-12 09:03:31 +02:00
Anatol Belski
0cb5a2cb49
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move dev to 7.0.25
2017-09-12 09:03:07 +02:00
Anatol Belski
5cf215536b
Move dev to 7.0.25
2017-09-12 09:02:01 +02:00
Anatol Belski
be57071e8c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Fix news entry format
2017-09-12 08:38:36 +02:00
Anatol Belski
ea21b60dda
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] Fix news entry format
2017-09-12 08:38:10 +02:00
Anatol Belski
c347f49a2d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] Fix news entry format
2017-09-12 08:37:50 +02:00
Anatol Belski
f5d478c8e6
[ci skip] Fix news entry format
2017-09-12 08:37:40 +02:00
Anatol Belski
b5c9cd4df6
[ci skip] Fix news entry format
2017-09-12 08:36:05 +02:00
Anatol Belski
194547f591
[ci skip] Fix news entry format
2017-09-12 08:35:10 +02:00
Joe Watkins
f87e513557
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:08:01 +01:00
Joe Watkins
7015d22116
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:06:35 +01:00
jhdxr
3e11b7fc21
fix bug #75173 incorrect behavior of AppendIterator::append in foreach loop
2017-09-12 07:05:58 +01:00
Dylan K. Taylor
c3b0e68eb7
Fix LDFLAGS getting overwritten (ext/curl)
2017-09-12 07:03:22 +01:00
Xinchen Hui
afd59b0c80
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 #46781 (BC math handles minus zero incorrectly)
Fork test to keep up with libxsl >= 1.1.30
Add symbol to libxml exports
Fix test compat with libxml2 2.9.5
Fix test compat with libxml2 2.9.5
Fix test portability
Fix test compatibility with libxml2 2.9.5
2017-09-12 13:27:40 +08:00
Xinchen Hui
a8427e7d37
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed arginfo for get_defined_functions
2017-09-12 13:26:25 +08:00
Xinchen Hui
58aa726548
Fixed arginfo for get_defined_functions
2017-09-12 13:26:07 +08:00
Christoph M. Becker
77f3cef35c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #46781 (BC math handles minus zero incorrectly)
2017-09-11 23:52:14 +02:00
Christoph M. Becker
87a91aef83
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #46781 (BC math handles minus zero incorrectly)
2017-09-11 23:46:21 +02:00
Christoph M. Becker
9aa6898b9b
Fixed bug #46781 (BC math handles minus zero incorrectly)
...
Actually, there is no negative zero at all. We obey Postel's law, and
still accept negative zeroes, but we store them as positive zeroes
after the conversion from string, i.e. we normalize before further
processing.
2017-09-11 23:44:23 +02:00
Christoph M. Becker
613bac9eb3
[ci-skip] Add NEWS entry for bug #75185
2017-09-11 19:07:44 +02:00
Christoph M. Becker
d95221ec4b
[ci-skip] Add missing UPGRADING entry for commit 0d0f7cd
...
There is a respective entry in NEWS, but that would likely be missed by
the doc team.
2017-09-11 18:37:51 +02:00
Anatol Belski
dcae6d6423
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fork test to keep up with libxsl >= 1.1.30
2017-09-11 18:20:42 +02:00
Anatol Belski
88c7556d99
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fork test to keep up with libxsl >= 1.1.30
2017-09-11 18:20:13 +02:00
Anatol Belski
d103802003
Fork test to keep up with libxsl >= 1.1.30
...
The behavior of date parsing has changed and is reflected in the
changelog. Invalid dates are not accepted, in particular dates with a
negative year, as in this test.
2017-09-11 18:14:51 +02:00
Anatol Belski
2d60b35147
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add symbol to libxml exports
2017-09-11 17:37:10 +02:00
Anatol Belski
75cb69740e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add symbol to libxml exports
2017-09-11 17:36:25 +02:00
Anatol Belski
04a6bbae6c
Add symbol to libxml exports
2017-09-11 17:35:25 +02:00
Anatol Belski
8a9ff55397
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test compat with libxml2 2.9.5
2017-09-11 16:16:09 +02:00
Anatol Belski
a77eddff96
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat with libxml2 2.9.5
2017-09-11 16:15:32 +02:00
Anatol Belski
cab41ecb93
Fix test compat with libxml2 2.9.5
...
One warning disappeared, but the flow is still valid.
2017-09-11 16:12:04 +02:00
Anatol Belski
45613b3473
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test compat with libxml2 2.9.5
2017-09-11 14:35:51 +02:00
Anatol Belski
b5d7663444
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compat with libxml2 2.9.5
2017-09-11 14:35:24 +02:00
Anatol Belski
3549d9184a
Fix test compat with libxml2 2.9.5
...
From 2.9.5 on libxml explcitly initializes the keepBlanks flag.
2017-09-11 14:32:54 +02:00
Anatol Belski
2f5129cacb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test portability
2017-09-11 12:40:11 +02:00
Anatol Belski
d33194d2aa
Fix test portability
...
The message comes from the C runtime, so it is not reliable to check the
exact wording.
2017-09-11 12:38:20 +02:00
Anatol Belski
a6bbb534d5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:18:37 +02:00
Anatol Belski
9ca0cd0a1a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:18:06 +02:00
Anatol Belski
5f9ae45e22
Fix test compatibility with libxml2 2.9.5
2017-09-11 12:12:19 +02:00
Xinchen Hui
cbb72a2f8e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Not sure why these lines are removed :<
2017-09-11 13:36:09 +08:00
Xinchen Hui
c40c0b8111
Not sure why these lines are removed :<
2017-09-11 13:35:49 +08:00
Xinchen Hui
8cb0627325
Update NEWS
2017-09-11 12:48:02 +08:00
Xinchen Hui
82d4727dbb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75152 (signed integer overflow in parse_iv)
Conflicts:
ext/standard/var_unserializer.c
2017-09-11 12:47:47 +08:00
Xinchen Hui
822c13b9ef
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 #73730 (textdomain(null) throws in strict mode)
Fix bug75178.phpt on Windows
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
Add BC define for users of the typoed zend_symbtable_add_new
Fix typo in zend_symtable_add_new() API name
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
Fixed bug #44995 (bcpowmod() fails if scale != 0)
Add missing null termination
Fixed bug #70470
Add test for bug #75155
Revert "Fixed #74977 - Appending AppendIterator leads to segfault"
2017-09-11 12:46:26 +08:00
Xinchen Hui
6b2813c3a7
Fixed bug #75152 (signed integer overflow in parse_iv)
2017-09-11 12:46:11 +08:00
Christoph M. Becker
674fe0af38
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73730 (textdomain(null) throws in strict mode)
2017-09-10 18:47:16 +02:00
Christoph M. Becker
b394343a31
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73730 (textdomain(null) throws in strict mode)
2017-09-10 18:41:00 +02:00
Christoph M. Becker
4b746fce1c
Fixed bug #73730 (textdomain(null) throws in strict mode)
...
The $text_domain parameter may be NULL, which we have to cater to
explicitly with regard to strict_types.
2017-09-10 18:39:29 +02:00
Christoph M. Becker
20fe838c76
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug75178.phpt on Windows
2017-09-09 17:04:42 +02:00
Christoph M. Becker
6602cc0385
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug75178.phpt on Windows
2017-09-09 16:54:23 +02:00
Christoph M. Becker
3fd08a1595
Fix bug75178.phpt on Windows
...
bug75178.phpt fails on Windows, because the stderr output is not
interspersed with stdout output there, but rather is appended to the
end. The fix is analogous to bug72093.phpt.
2017-09-09 16:46:32 +02:00
Christoph M. Becker
21eab49a53
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
2017-09-09 13:30:40 +02:00
Christoph M. Becker
afa39038c2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
2017-09-09 13:20:14 +02:00
Christoph M. Becker
44eec946e8
Fixed bug #75178 (bcpowmod() misbehaves for non-integer base or modulus)
...
Since `bcpowmod()` does not support non-integral operands, we have to
truncate these in addition to emitting a respective warning. We also
have to work with the truncated values in the following.
We recognize that the division by one to enforce the truncation is
actually overkill, but we stick with it for now, and shall tackle the
issue for PHP 7.3.
2017-09-09 13:18:26 +02:00
Sara Golemon
55562dfb00
Do not include BC for zend_symbtable_add_new on 7.2/master
2017-09-07 17:37:20 -04:00
Sara Golemon
361d3007a6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add BC define for users of the typoed zend_symbtable_add_new
2017-09-07 17:36:35 -04:00
Sara Golemon
a1573d5620
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add BC define for users of the typoed zend_symbtable_add_new
2017-09-07 17:36:04 -04:00
Sara Golemon
0413feb29c
Add BC define for users of the typoed zend_symbtable_add_new
2017-09-07 17:35:54 -04:00
Sara Golemon
ff04db4420
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix typo in zend_symtable_add_new() API name
2017-09-07 16:29:57 -04:00
Sara Golemon
9369843ee2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix typo in zend_symtable_add_new() API name
2017-09-07 16:26:45 -04:00
Sara Golemon
f18cf46d07
Fix typo in zend_symtable_add_new() API name
2017-09-07 16:25:25 -04:00
Sammy Kaye Powers
b786e1b45c
Improve sodium "invalid parameters" error messages
2017-09-07 22:18:48 +02:00
Nikita Popov
fd07302024
Fixed bug #75170
...
This change may result in different mt_rand/rand sequences being
generated on 64-bit systems for a specific seed.
See also https://externals.io/message/100229 .
2017-09-07 20:04:38 +02:00
Côme Chilliet
e67379399a
Removing client controls attribute from ldap_exop signature
...
Client controls will not get implemented in php-ldap as
they are specific to each client ldap lib and most of the
time unused any way. (servers controls on the other end are used
and will get implemented)
2017-09-07 16:31:03 +02:00
Dmitry Stogov
251a5599b4
Fixed SSA reconstruction
2017-09-07 17:10:38 +03:00
Christoph M. Becker
d01453b129
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
2017-09-07 00:38:59 +02:00
Christoph M. Becker
0f88a49fd5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
2017-09-07 00:32:39 +02:00
Christoph M. Becker
b2919853f8
Fixed bug #54598 (bcpowmod() may return 1 if modulus is 1)
...
`x mod 1` is always zero; we have to take the scale into account,
though.
2017-09-07 00:30:05 +02:00
Christoph M. Becker
5ce744091c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #44995 (bcpowmod() fails if scale != 0)
2017-09-06 23:41:46 +02:00
Christoph M. Becker
d724d8c107
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #44995 (bcpowmod() fails if scale != 0)
2017-09-06 23:33:48 +02:00
Christoph M. Becker
dea41f3c3a
Fixed bug #44995 (bcpowmod() fails if scale != 0)
...
`bc_divmod()` is supposed to do integer division, so we must not apply
a scale factor here.
2017-09-06 23:30:53 +02:00
Nikita Popov
d78a7909c8
Merge branch 'PHP-7.1' into PHP-7.2
2017-09-05 18:14:16 +02:00
Nikita Popov
0b69ce72b8
Merge branch 'PHP-7.0' into PHP-7.1
2017-09-05 18:14:10 +02:00
Nikita Popov
42549b7844
Add missing null termination
2017-09-05 18:13:50 +02:00
Nikita Popov
dc00b6cf3f
Fix assertion failure in SoapFault ctor
...
Resetting the IAP on a shared array violates COW. I'm replacing this
with code to look up indexes 0 and 1, even though this is not
strictly the same.
2017-09-05 17:38:50 +02:00
Ken Guest
056df0dcb2
Add test for invalid SoapFault parameters
2017-09-05 17:36:01 +02:00
Sammy Kaye Powers
a8862d215c
Fix a few places where ZPP throw got reverted to ZPP
2017-09-05 16:39:24 +02:00
Sammy Kaye Powers
f1fd11f4ca
Update NEWS that did not get updated in #2442
...
[ci skip]
2017-09-05 16:33:57 +02:00
Nikita Popov
9fbd8620fb
Merge branch 'PHP-7.1' into PHP-7.2
2017-09-05 16:24:40 +02:00
Nikita Popov
e866e05b0d
Merge branch 'PHP-7.0' into PHP-7.1
2017-09-05 16:24:21 +02:00
Bouke van der Bijl
cd9d90f4d4
Fixed bug #70470
2017-09-05 16:23:32 +02:00
Remi Collet
7378967206
UPGRADING
2017-09-05 08:20:04 +02:00
Remi Collet
81ad6a978a
NEWS
2017-09-05 08:18:58 +02:00
Remi Collet
e967de6bfa
Fixed bug #75142 buildcheck.sh check for autoconf version needs to be updated for v2.64
2017-09-05 08:16:33 +02:00
Derick Rethans
c0383b5039
Upgrade timelib to 2017.05beta9
2017-09-04 22:45:34 +01:00
Nikita Popov
b2824629c2
Merge branch 'PHP-7.1' into PHP-7.2
2017-09-04 21:24:32 +02:00
Nikita Popov
c2e3541cc1
Add test for bug #75155
2017-09-04 21:23:07 +02:00
Nikita Popov
b689857d53
Revert "Fixed #74977 - Appending AppendIterator leads to segfault"
...
This reverts commit dbc2ffba82 .
2017-09-04 21:20:49 +02:00
Dmitry Stogov
384da65a97
Fixed edge-case in SSA use/def chain construction and type inference.
2017-09-04 21:58:24 +03:00
Dmitry Stogov
b5935c339e
Fixed tests
2017-09-04 20:12:17 +03:00
Remi Collet
6355e650f7
NEWS
2017-09-04 18:37:45 +02:00
Remi Collet
a1bf36778a
Fixed Bug #75149 redefinition of typedefs ttinfo and t1info
...
Minimal fix from upstream
Better name for struct will come later
2017-09-04 18:35:42 +02:00
Dmitry Stogov
ea734e2ac2
Fixed incorect constant conditional jump elimination
2017-09-04 19:11:17 +03:00
Dmitry Stogov
97b3cce755
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
improve warn (bzip2 requires libzip >= 1.3.0)
libzip 1.3.0 supports also bz2 compression
2017-09-04 16:50:44 +03:00
Dmitry Stogov
eb21300a26
Revert "Fixed incorrect optimizaton (update of jump instructions should be also reflected in CFG update)"
...
This reverts commit db5b8dbcdf .
2017-09-04 16:50:12 +03:00
Remi Collet
5bbd459609
improve warn (bzip2 requires libzip >= 1.3.0)
2017-09-04 14:47:03 +02:00
Anatol Belski
b971087354
libzip 1.3.0 supports also bz2 compression
2017-09-04 13:27:53 +02:00
Dmitry Stogov
db5b8dbcdf
Fixed incorrect optimizaton (update of jump instructions should be also reflected in CFG update)
2017-09-04 14:07:37 +03:00
Dmitry Stogov
ebb00c1e0f
Fixed typo
2017-09-04 13:01:30 +03:00
Dmitry Stogov
4f1c2c22ca
Prevent duplicate debug output
2017-09-04 12:58:40 +03:00
Anatol Belski
ecc8f3cf16
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix command
2017-09-02 16:58:58 +02:00
Anatol Belski
296d0826da
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix command
2017-09-02 16:58:44 +02:00
Anatol Belski
24da62d342
Fix command
2017-09-02 16:56:52 +02:00
Christoph M. Becker
b4dc3de5ab
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
2017-09-02 00:20:46 +02:00
Christoph M. Becker
afad9006c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
2017-09-02 00:11:36 +02:00
Christoph M. Becker
e20a6b0213
Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)
...
We back-port https://github.com/libgd/libgd/commit/dd48286 even though
we cannot come up with a regression test, because the erroneous
condition appears to be impossible to trigger.
We also parenthesize the inner ternary operation to avoid confusion.
2017-09-02 00:04:02 +02:00
Anatol Belski
a6456f0a6c
Fixed bug #75143 new method setEncryptionName() seems not to exist in ZipArchive
...
update NEWS
2017-09-01 10:53:09 +02:00
Anatol Belski
fb597a8123
Yet one DLL to ignore
2017-09-01 10:37:59 +02:00
Anatol Belski
8191b9790b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Make for exclusion per regex
2017-08-31 23:57:58 +02:00
Anatol Belski
db78eff4c9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Make for exclusion per regex
2017-08-31 23:57:36 +02:00
Anatol Belski
a86df6bcb0
Make for exclusion per regex
2017-08-31 23:56:42 +02:00
Anatol Belski
01171db15d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Extend ignore list for DLLs to not to look after
2017-08-31 20:55:53 +02:00
Anatol Belski
965570541b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Extend ignore list for DLLs to not to look after
2017-08-31 20:55:12 +02:00
Anatol Belski
6ec494016b
Extend ignore list for DLLs to not to look after
...
fix typo
2017-08-31 20:54:11 +02:00
Anatol Belski
e7c1c86ceb
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix `nmake install` fails when there are no shared extensions
2017-08-31 20:34:03 +02:00
Anatol Belski
1f977d2377
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix `nmake install` fails when there are no shared extensions
2017-08-31 20:33:31 +02:00
Dylan K. Taylor
2e77f5eed3
Fix nmake install fails when there are no shared extensions
...
check for existence instead of muting everything
check for exe existence before trying to copy
2017-08-31 20:32:36 +02:00
Anatol Belski
7ebf2902e7
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Copy dependencies of the core DLL in `nmake snap` for statically-compiled extensions when packaging builds
2017-08-31 19:48:43 +02:00
Anatol Belski
020d3decb3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Copy dependencies of the core DLL in `nmake snap` for statically-compiled extensions when packaging builds
2017-08-31 19:48:11 +02:00
Dylan K. Taylor
4e9c3e9396
Copy dependencies of the core DLL in nmake snap for statically-compiled extensions when packaging builds
2017-08-31 19:46:47 +02:00
Remi Collet
1248e0f7f5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:56:13 +02:00
Remi Collet
bcf50b7261
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:56:00 +02:00
Remi Collet
3239f6d679
move AC_DEFINE in the right position (in bundled lib conditon)
2017-08-31 07:55:45 +02:00
Jakub Zelenka
1f843a8fb5
Automatically load OpenSSL configuration file
2017-08-30 17:31:17 +01:00
Jakub Zelenka
58df6a3b61
Do not explicitly initialize and clean up OpenSSL for OpenSSL 1.1
2017-08-30 17:29:24 +01:00
Anatol Belski
752fc86f2b
Fix symbol name
2017-08-30 01:11:19 +02:00
Frank Denis
04c87ea815
ext/sodium: the second parameter of sodium_hex2bin() is optional
2017-08-29 19:25:01 +02:00
Frank Denis
b1a7885dd7
ext/sodium: AI_StringRef_And_String -> AI_StringRefAndString for consistency
2017-08-29 19:23:22 +02:00
Frank Denis
6383c6e3d0
ext/sodium: sort functions list
2017-08-29 19:22:17 +02:00
Remi Collet
045d18d246
Update NEWS for 7.2.0RC2
2017-08-29 11:08:14 +00:00
Remi Collet
4f64716f37
Update NEWS for PHP 7.2.0RC1
2017-08-29 10:52:59 +00:00
Sammy Kaye Powers
56a999885a
Fix constant references in error messages in ext/sodium
2017-08-28 22:16:35 -04:00
Anatol Belski
c22cda5999
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move to next bin SDK version for AppVeyor
2017-08-28 13:15:07 +02:00
Anatol Belski
ae364546d6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move to next bin SDK version for AppVeyor
2017-08-28 13:14:08 +02:00
Anatol Belski
0966f9de41
Move to next bin SDK version for AppVeyor
2017-08-28 13:12:51 +02:00
Christoph M. Becker
1aeafb7d4a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75124 (gdImageGrayScale() may produce colors)
2017-08-27 14:07:55 +02:00
Christoph M. Becker
a9ff4d1f5a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75124 (gdImageGrayScale() may produce colors)
2017-08-27 13:55:23 +02:00
Christoph M. Becker
499f5480f1
Fixed bug #75124 (gdImageGrayScale() may produce colors)
...
We have to make sure to avoid alpha-blending issues by explicitly
switching to `gdEffectReplace` and to restore the old value afterwards.
This is a port of <https://github.com/libgd/libgd/commit/a7a7ece >.
2017-08-27 13:53:39 +02:00
Remi Collet
cc577749a8
Improve pkg-config usage
...
- use default path when run using --with-curl=/usr (for debian)
- fallback to headers search when libcurl.pc not found
- issue warnings for explanation
2017-08-27 07:48:52 +02:00
Christoph M. Becker
3a2ad5b2c5
Update to SQLite 3.20.1
2017-08-26 12:13:06 +02:00
David Carlier
24c0a17d78
Sync strlcat() implementation
...
Sync with last version made few days after.
2017-08-25 22:12:23 +02:00
Nikita Popov
3ef8964997
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-25 22:03:23 +02:00
Nikita Popov
52e854f0ab
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-25 22:03:00 +02:00
Thomas Punt
be9edd83c2
Fixed bug #75090
2017-08-25 22:02:19 +02:00
Remi Collet
df7f2a5df3
NEWS
2017-08-25 17:02:24 +02:00
Remi Collet
b8c6ce91b2
Switch from curl-config to pkg-config for curl extension
...
First attemp to fix multiarch support (#74125 ) for curl
introduce some debian specificity (dpkg command)
so is not suitable for other environmant.
This is mostly related to a broken "curl-config" config on debian
which doesn't provide the correct build options, while pkg-config
works as expected.
This new attemp rely on pkg-config output instead.
Notice: this make pkg-config a hard dependency.
Is there system without pkg-config ?
2017-08-25 17:01:12 +02:00
Anatol Belski
bd823a076c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
update libs versions
2017-08-25 11:29:12 +02:00
Anatol Belski
3641ba4332
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update libs versions
2017-08-25 11:28:54 +02:00
Anatol Belski
55db2c31cd
update libs versions
2017-08-25 11:28:12 +02:00
Anatol Belski
a454e38b7c
Enable PGO for Opcache
2017-08-24 23:36:21 +02:00
Anatol Belski
99ca99f079
Switch to non deprecated PGO options
2017-08-24 17:14:24 +02:00
Frank Denis
48907e57ff
sodium ext: if it's a length, call it "length"!
2017-08-24 16:17:41 +02:00
Frank Denis
3691f36913
sodium ext: add bindings for sodium_pad() and sodium_unpad()
2017-08-24 16:12:18 +02:00
Christoph M. Becker
5cd348c1d6
Fixed bug #75111 (Memory disclosure or DoS via crafted .bmp image)
...
Crafted BMP images can cause dynamicSeek() to be called with a negative
position which must not be allowed, since dynamicSeek() works like
fseek() in SEEK_SET mode. We solve this by bailing out if `pos` is
negative, and let the image reading fail gracefully.
2017-08-24 14:07:10 +02:00
Frank Denis
cf6f25bd37
sodium ext: restore sodium_remove_param_values_from_backtrace() call
2017-08-24 11:01:08 +02:00
Frank Denis
a966d21aa8
sodium ext: sync sodium_crypto_kdf_derive_from_key() with the standalone ext
...
Use libsodium's native function if available, use correct constant names
in error messages
2017-08-24 10:59:02 +02:00
Frank Denis
271f0c4f90
sodium ext: Constants were renamed SODIUM_*
...
Adjust error messages accordingly.
2017-08-24 10:50:34 +02:00
Remi Collet
03361e9aa5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
From documentation, only the sign of returned value is relevant
2017-08-24 10:30:06 +02:00
Remi Collet
c449057808
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
From documentation, only the sign of returned value is relevant
2017-08-24 10:29:44 +02:00
Remi Collet
b7e96f8e0e
From documentation, only the sign of returned value is relevant
...
With recent glibc, memcmp sometime return a negative value instead of -1
2017-08-24 10:27:38 +02:00
Remi Collet
f4792750a5
timelib now have a function for this, use it
2017-08-22 12:55:13 +02:00
Frank Denis
3fff74aab5
sodium ext: If sodium_init() returns 1, this is fine.
...
We actually want to do this so that multiple extensions using libsodium
can be loaded simultaneously.
2017-08-22 09:40:38 +02:00
Tianfang Yang
708349eeac
Update NEWS
2017-08-22 01:51:15 -04:00
Tianfang Yang
d128fdc2dc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:44:20 -04:00
Tianfang Yang
1b8a71e740
Update NEWS
2017-08-22 01:43:07 -04:00
Tianfang Yang
441487cd05
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:39:55 -04:00
Tianfang Yang
4bf1a11c07
Merge branch 'pull-request/2534' into PHP-7.0
...
* pull-request/2534:
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:10:58 -04:00
Ingmar Runge
079bc324cd
Fixed bug #74631 (PDO_PCO with PHP-FPM: OCI environment initialized before PHP-FPM sets it up)
2017-08-22 01:09:35 -04:00
Anatol Belski
5b4b19981c
Correct default value
2017-08-21 19:37:41 +02:00
Xinchen Hui
ccab684d9f
Attempt to fix unstable test
2017-08-21 18:51:03 +08:00
Xinchen Hui
ee26c1efbc
Fixed type-infer
2017-08-21 16:35:07 +08:00
Andrea Faulds
799b52e87f
Retroactively correct NEWS omission
2017-08-19 21:09:18 +01:00
Andrea Faulds
ccb09d2c12
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-19 20:38:02 +01:00
Andrea Faulds
158b06cffb
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-19 20:35:22 +01:00
Andrea Faulds
61538ebadc
Fixed bug #75097 (gethostname fails if your host name is 64 chars long)
...
PHP contained two different off-by-one errors, which are fixed here. First,
it created a buffer of size HOST_NAME_MAX, not adding space for a null
terminator. Second, it subtracted 1 from the size of that buffer when passing
its size to gethostname(), despite gethostname() expecting it to be a buffer
size including space for a terminating null byte, not a string length.
2017-08-19 20:31:54 +01:00
Sammy Kaye Powers
e8f552aeba
Remove param values from backtrace in exception thrown from ZPP throw
2017-08-19 15:18:41 +02:00
Sammy Kaye Powers
0591fe2494
Change zend_parse_parameters() to zend_parse_parameters_throw() in ext/sodium
2017-08-19 15:16:45 +02:00
Xinchen Hui
2e002eaf70
Fixed for RESOURCE too
2017-08-19 18:55:56 +08:00
Xinchen Hui
4b6345a3ae
Fixed RC1 Hanlding
2017-08-19 18:51:17 +08:00
Xinchen Hui
ea0df07398
Fixed type-info for ZEND_FETCH_DIIM_UNSET
2017-08-19 18:48:10 +08:00
Anatol Belski
9b327ff15f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-08-19 02:41:24 +02:00
Anatol Belski
11d3a7869c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-08-19 02:41:07 +02:00
Anatol Belski
95ef8e96d2
[ci skip] update NEWS
2017-08-19 02:40:50 +02:00
Anatol Belski
3cad07b84f
[ci skip] update NEWS
2017-08-19 02:40:17 +02:00
Anatol Belski
00b97d34c1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix issues with phpt and EXTENSION on windows (BUG 75042)
2017-08-19 02:01:23 +02:00
Anatol Belski
97ed208cfd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix issues with phpt and EXTENSION on windows (BUG 75042)
2017-08-19 02:01:03 +02:00
John Boehr
71b12940d0
Fix issues with phpt and EXTENSION on windows (BUG 75042)
...
* Commands are not properly escaped for windows
* Specifying "-n" to check loaded modules causes "Module already loaded"
warning
* Extensions to be loaded need the "php_" prefix on Windows
Bug: https://bugs.php.net/bug.php?id=75042
Add back -n flag to fetch loaded extensions in run-tests.php
Add test for phpt EXTENSIONS directive
Add a second test for bug 75042
Add test to test loading of nonexistent shared module
with the EXTENSIONS phpt block
Pass ini settings when checking loaded extensions
Fix skipifs
2017-08-19 01:59:48 +02:00
Anatol Belski
f2ed8c1087
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix .pgd name for ts build
2017-08-19 00:32:11 +02:00
Anatol Belski
5ef63b6f0e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix .pgd name for ts build
2017-08-19 00:31:55 +02:00
Anatol Belski
ba59b6f11b
Fix .pgd name for ts build
2017-08-19 00:31:04 +02:00
Anatol Belski
07e8cb4205
[ci skip] update NEWS
2017-08-18 19:40:43 +02:00
Anatol Belski
f1c664d379
Fix skipifs
2017-08-18 17:38:16 +02:00
John Boehr
59558ffd96
Fix issues with phpt and EXTENSION on windows (BUG 75042)
...
* Commands are not properly escaped for windows
* Specifying "-n" to check loaded modules causes "Module already loaded"
warning
* Extensions to be loaded need the "php_" prefix on Windows
Bug: https://bugs.php.net/bug.php?id=75042
Add back -n flag to fetch loaded extensions in run-tests.php
Add test for phpt EXTENSIONS directive
Add a second test for bug 75042
Add test to test loading of nonexistent shared module
with the EXTENSIONS phpt block
Pass ini settings when checking loaded extensions
2017-08-18 17:34:48 +02:00
Remi Collet
debbaba93f
NEWS
2017-08-18 14:52:58 +02:00
Remi Collet
ef96411f60
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
NEWS
NEWS
Fixed bug #75093 OpenSSL support not detected
2017-08-18 14:52:43 +02:00
Remi Collet
de0b816b49
NEWS
2017-08-18 14:52:30 +02:00
Remi Collet
acf09c416b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fixed bug #75093 OpenSSL support not detected
2017-08-18 14:52:22 +02:00
Remi Collet
b28912b0f7
NEWS
2017-08-18 14:52:11 +02:00
Remi Collet
a7594cb74f
Fixed bug #75093 OpenSSL support not detected
2017-08-18 14:51:44 +02:00
Dmitry Stogov
ef90e37bd1
Fixed bug #75089 (preg_grep() is not reporting PREG_BAD_UTF8_ERROR after first input string)
2017-08-18 14:56:28 +03:00
Anatol Belski
6c3c88074c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix phpize exit status
2017-08-18 12:06:19 +02:00
Anatol Belski
4494ad6911
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix phpize exit status
2017-08-18 12:06:07 +02:00
Anatol Belski
065551bc9c
Fix phpize exit status
...
Configure and others are generated, not copied. Seems there's yet much
more to do wrt exit status catching.
2017-08-18 11:54:56 +02:00
Anatol Belski
642983c59a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add dump env target
2017-08-18 11:10:18 +02:00
Anatol Belski
264271f69e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add dump env target
2017-08-18 11:09:59 +02:00
Anatol Belski
e7f4e67155
Add dump env target
2017-08-18 11:08:27 +02:00
Anatol Belski
90a2e7c014
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
bump versions
2017-08-18 11:07:04 +02:00
Dmitry Stogov
3866c1699e
More accurate reference counting inference
2017-08-17 20:03:12 +03:00
Xinchen Hui
30fb70dd25
Fixed type-infer on ZEND_FETCH_DIM_FUNC_ARG
2017-08-17 21:57:28 +08:00
Joe Watkins
d53d793673
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Do the revert properly, and put back fraction support in 7.1
2017-08-16 16:41:48 +01:00
Joe Watkins
5b02d10584
bump versions
2017-08-16 16:41:15 +01:00
Derick Rethans
4e03ebc04a
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-16 16:00:20 +01:00
Derick Rethans
7121b8d0a2
Do the revert properly, and put back fraction support in 7.1
2017-08-16 15:59:56 +01:00
Derick Rethans
43c78b2422
Fixed 32-bit tests as well.
2017-08-16 15:28:50 +01:00
Derick Rethans
6f2bc07182
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-16 15:21:02 +01:00
Derick Rethans
547f9fd389
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-16 15:20:45 +01:00
Derick Rethans
60a6feed07
Revert "Upgrade timelib to 2017.05beta7"
...
This reverts commit bdd56f3107 .
2017-08-16 15:19:18 +01:00
Derick Rethans
8af70958fc
Revert "Remove removed header files from configuration files."
...
This reverts commit 3df753c6ca .
2017-08-16 15:19:11 +01:00
Derick Rethans
21493e0824
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-16 11:14:53 +01:00
Derick Rethans
9a72a7c58f
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-16 11:14:47 +01:00
Derick Rethans
5d2c303438
Fixed stupid test
2017-08-16 11:14:41 +01:00
Derick Rethans
e92a4891aa
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-16 09:51:36 +01:00
Derick Rethans
4dc8f4f9d1
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-16 09:51:28 +01:00
Derick Rethans
7829f9b1d2
Added timelib version to phpinfo()
2017-08-16 09:51:21 +01:00
Dmitry Stogov
db2807e4d2
Added few more jump threading optimisation patterns
2017-08-16 09:17:32 +03:00
Remi Collet
05e75d6aaa
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
cleanup
2017-08-16 07:46:42 +02:00
Remi Collet
44209573e3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
cleanup
2017-08-16 07:46:23 +02:00
Remi Collet
01735f4d9f
cleanup
2017-08-16 07:46:07 +02:00
Derick Rethans
decf4c6880
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-15 20:24:44 +01:00
Derick Rethans
336cfd9980
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-15 20:24:21 +01:00
Derick Rethans
3df753c6ca
Remove removed header files from configuration files.
2017-08-15 20:22:41 +01:00
Derick Rethans
a063d55395
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-15 15:07:24 +01:00
Derick Rethans
584db6f38f
Merged PHP-7.0 by hand due to conflicts.
2017-08-15 15:06:18 +01:00
Derick Rethans
bdd56f3107
Upgrade timelib to 2017.05beta7
2017-08-15 14:10:23 +01:00
Dmitry Stogov
b096eacdd1
Fixed possible incorrect result of type verification.
2017-08-15 14:46:18 +03:00
Dmitry Stogov
389ea45b12
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Made test 32/64-bit independent
2017-08-15 13:13:27 +03:00
Dmitry Stogov
3bc1226804
Made test 32/64-bit independent
2017-08-15 13:12:54 +03:00
Dmitry Stogov
1cbe4e009c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip 64-bit related test
2017-08-15 13:01:06 +03:00
Dmitry Stogov
0f3e01f5cc
Skip 64-bit related test
2017-08-15 13:00:45 +03:00
Remi Collet
3e66ae67a8
Update NEWS for 7.2.0RC1
2017-08-15 08:54:17 +00:00
Remi Collet
6c1c49d1b5
Update NEWS for PHP 7.2.0beta3
2017-08-15 08:39:24 +00:00
Anatol Belski
6e3356837d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
move dev to 7.0.24
2017-08-15 09:36:41 +02:00
Anatol Belski
49501f8f41
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move dev to 7.0.24
2017-08-15 09:36:14 +02:00
Anatol Belski
3af6201224
move dev to 7.0.24
2017-08-15 09:33:30 +02:00
Xinchen Hui
6b77792dc2
Update NEWS
2017-08-15 12:35:17 +08:00
Xinchen Hui
05de40a651
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75075 (unpack with X* causes infinity loop)
2017-08-15 12:35:10 +08:00
Xinchen Hui
6275825c68
Update NEWS
2017-08-15 12:34:58 +08:00
Xinchen Hui
4f8e703854
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75075 (unpack with X* causes infinity loop)
2017-08-15 12:34:37 +08:00
Xinchen Hui
d8c80af71e
Fixed bug #75075 (unpack with X* causes infinity loop)
2017-08-15 12:34:13 +08:00
Tianfang Yang
9ec0a2071c
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-14 21:22:17 -04:00
Tianfang Yang
e112d71435
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-14 21:21:11 -04:00
Tianfang Yang
2def85688d
Merge branch 'syncoci8' into PHP-7.0
2017-08-14 21:16:34 -04:00
Tianfang Yang
259477826c
Prepare for PECL release
2017-08-14 21:14:14 -04:00
Anatol Belski
5dc847c53d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Test cleanup improvements, files might be locked in the test process
2017-08-14 14:40:26 +02:00
Anatol Belski
1f3b87dc11
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Test cleanup improvements, files might be locked in the test process
2017-08-14 14:39:58 +02:00
Anatol Belski
ab07265573
Test cleanup improvements, files might be locked in the test process
2017-08-14 13:08:04 +02:00
Anatol Belski
707b2a529e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix test cleanup
2017-08-14 12:56:49 +02:00
Anatol Belski
bd0b0cc8c9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test cleanup
2017-08-14 12:55:58 +02:00
Anatol Belski
71fd58652f
fix test cleanup
2017-08-14 12:55:14 +02:00
Dmitry Stogov
df5104bfc9
Fixed removing dead live ranges
2017-08-14 13:54:52 +03:00
Anatol Belski
112afb9250
[ci skip] update NEWS
2017-08-14 12:24:51 +02:00
Anatol Belski
2492add033
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
2017-08-14 12:24:20 +02:00
Anatol Belski
73d84d4bbd
[ci skip] update NEWS
2017-08-14 12:23:51 +02:00
Dmitry Stogov
18f567a3b4
Fixed test
2017-08-14 12:37:37 +03:00
Dmitry Stogov
a80e462fbd
Order live ranges according to "start" position
2017-08-14 12:21:07 +03:00
Dmitry Stogov
cd6893aed1
Fixed attempt to free invalid structure (result of ROPE_INIT is not a zval)
2017-08-14 12:11:25 +03:00
Dmitry Stogov
d6406bbf5f
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
Revert "Fixed live_range removing (bug can be triggred by JIT)"
2017-08-14 12:00:30 +03:00
Dmitry Stogov
2fab62271a
Revert "Fixed live_range removing (bug can be triggred by JIT)"
...
This reverts commit aecf996510 .
2017-08-14 12:00:02 +03:00
Xinchen Hui
6445b3a68f
Revert "Fixed live_range removing (bug can be triggred by JIT)"
...
This reverts commit aecf996510 .
2017-08-14 16:59:01 +08:00
Tianfang Yang
1135161b4f
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-14 00:36:33 -04:00
Tianfang Yang
4d936c1254
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-14 00:23:41 -04:00
Tianfang Yang
f555224743
Sync OCI8 on PHP 7.x branches
2017-08-13 23:44:24 -04:00
Anatol Belski
0a2a136111
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75063
2017-08-14 00:51:47 +02:00
Anatol Belski
3069ad8dd1
Fixed bug #75063
2017-08-14 00:44:19 +02:00
Christoph M. Becker
36eddfc785
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73793 (WDDX uses wrong decimal seperator)
2017-08-13 21:05:57 +02:00
Christoph M. Becker
207105b1a3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73793 (WDDX uses wrong decimal seperator)
2017-08-13 21:03:45 +02:00
Christoph M. Becker
f64be0b013
Fixed bug #73793 (WDDX uses wrong decimal seperator)
...
The WDDX specification[1] requires to serialize floats with a decimal
point, but `snprintf()` is locale-dependent and may use a decimal
comma. We fix that afterwards by replacing an eventual comma with a
point.
[1] <http://xml.coverpages.org/wddx0090-dtd-19980928.txt >
2017-08-13 20:51:53 +02:00
Christoph M. Becker
bbf39c550f
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip this test if ext/session is not available
2017-08-13 18:10:37 +02:00
Christoph M. Becker
de5a5f6fdc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip this test if ext/session is not available
2017-08-13 18:07:42 +02:00
Christoph M. Becker
472b25921e
Skip this test if ext/session is not available
2017-08-13 18:05:45 +02:00
Nikita Popov
b202587e09
Note deprecation of $errcontext
2017-08-12 20:34:44 +02:00
Nikita Popov
a871badf2a
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-12 13:17:24 +02:00
Nikita Popov
4fb7665c09
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-12 13:15:48 +02:00
Nikita Popov
1a23ebc1ff
Fixed bug #74103 and bug #75054
...
Directly fail unserialization when trying to acquire an r/R
reference to an UNDEF HT slot. Previously this left an UNDEF and
later deleted the index/key from the HT.
What actually caused the issue here is a combination of two
factors: First, the key deletion was performed using the hash API,
rather than the symtable API, such that the element was not actually
removed if it used an integral string key. Second, a subsequent
deletion operation, while collecting trailing UNDEF ranges, would
mark the element as available for reuse (leaving a corrupted HT
state with nNumOfElemnts > nNumUsed).
Fix this by failing early and dropping the deletion code.
2017-08-12 13:11:35 +02:00
Andrea Faulds
f877b86604
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-12 01:38:46 +01:00
Andrea Faulds
e88ab74886
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-12 01:37:47 +01:00
Andrea Faulds
b59718bdc4
Fix bug #74725 (html_errors=1 breaks unhandled exceptions)
2017-08-12 01:37:20 +01:00
Xinchen Hui
aecf996510
Fixed live_range removing (bug can be triggred by JIT)
2017-08-11 21:56:30 +08:00
Jakub Zelenka
e53dd027c5
Reset utf8_invalid in json scanner
2017-08-10 19:47:58 +01:00
Jakub Zelenka
f5b4cb7130
Fix possible overflow in json scanner utf8_invalid_count
2017-08-10 19:40:02 +01:00
Xinchen Hui
4375a6c5cd
Fixed type infer for FUNC_GET_ARGS
2017-08-11 00:33:55 +08:00
Xinchen Hui
f7cf839213
Update NEWs
2017-08-09 11:29:54 +08:00
Xinchen Hui
e7dd9c781b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
2017-08-09 11:29:46 +08:00
Xinchen Hui
46ecda76ba
Update NEWS
2017-08-09 11:29:32 +08:00
Xinchen Hui
307acb6618
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
2017-08-09 11:29:13 +08:00
Xinchen Hui
b06f8cb58b
Fixed bug #75049 (spl_autoload_unregister can't handle spl_autoload_functions results)
2017-08-09 11:28:53 +08:00
Anatol Belski
823ca5c697
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Remove mistakingly added line
2017-08-08 19:40:42 +02:00
Anatol Belski
42608a3401
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove mistakingly added line
2017-08-08 19:40:28 +02:00
Anatol Belski
afb20f4895
Remove mistakingly added line
2017-08-08 19:37:55 +02:00
Anatol Belski
e62db6309c
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Sync makefile options for phpize
2017-08-08 17:59:44 +02:00
Anatol Belski
315d3910fa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Sync makefile options for phpize
2017-08-08 17:59:15 +02:00
Anatol Belski
075986f214
Sync makefile options for phpize
...
- run target
- debugger mode
2017-08-08 17:58:10 +02:00
Frank Denis
ef0bd7b215
sodium ext: Use _ietf_ vs _IETF_ consistently
2017-08-08 17:50:17 +02:00
Frank Denis
03314e3f69
sodium ext: No need for #ifdef crypto_aead_chacha20poly1305_IETF_
...
chacha20poly1305_ietf was implemented in libsodium 1.0.4 which is way earlier
than the minimum version we support.
2017-08-08 17:42:38 +02:00
Frank Denis
596a892c5e
Sodium ext: Isolate a return statement for consistency
2017-08-08 17:38:13 +02:00
Frank Denis
a0d1e0915c
sodium ext: The default password hashing function is not supposed to be Argon2i
2017-08-08 17:37:06 +02:00
Frank Denis
631fc3c9c1
sodium ext: long -> zend_long
2017-08-08 17:36:06 +02:00
Frank Denis
3140d40421
sodium ext: Add missing "return" statements after zend_throw_exception()
2017-08-08 17:34:20 +02:00
Darek Slusarczyk
abd97b8bcb
Merge branch 'PHP-7.1' into PHP-7.2
...
# Conflicts:
# ext/json/config.w32
2017-08-08 16:08:19 +02:00
Darek Slusarczyk
86aa1ca990
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-08 16:05:13 +02:00
Darek Slusarczyk
618dcd6520
JSON: fix config.w32 / Install headers on windows
2017-08-08 15:52:53 +02:00
Andrey Hristov
f589e5c791
Add new enum options defined in MySQL 5.7
2017-08-08 14:57:01 +03:00
Anatol Belski
dcd669b4d9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Unify EOL
2017-08-07 17:04:15 +02:00
Anatol Belski
9ebf813ea4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Unify EOL
2017-08-07 17:03:54 +02:00
Anatol Belski
4c9fe5a490
Unify EOL
2017-08-07 17:03:17 +02:00
Anatol Belski
d36344e888
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix test target for phpize
2017-08-07 16:45:57 +02:00
Anatol Belski
da966a93ac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test target for phpize
2017-08-07 16:45:41 +02:00
Anatol Belski
d058e30917
fix test target for phpize
2017-08-07 16:45:02 +02:00
Jakub Zelenka
41d7621f48
Fix segfault in json ignoring of invalid UTF8
2017-08-06 17:20:31 +01:00
Nikita Popov
6b73b2d6eb
Check for empty string in mb_ord()
2017-08-04 22:20:05 +02:00
Côme Chilliet
aa0e402acf
Added controls parameters to ldap_exop so that control support can be added later
2017-08-04 18:10:49 +02:00
Remi Collet
17bb8d575a
win32 for pdo_sqlite
2017-08-04 13:28:48 +02:00
Remi Collet
bf1c242cf4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
use AC_DEFINE + win32
2017-08-04 13:21:54 +02:00
Remi Collet
aee20e637a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use AC_DEFINE + win32
2017-08-04 13:21:41 +02:00
Remi Collet
159e5c1048
use AC_DEFINE + win32
2017-08-04 13:21:28 +02:00
Nikita Popov
353f7bf461
Also check for invalid codepoints in mb_ord()
...
And return false in that case, instead of returning 0x3f...
2017-08-04 13:01:03 +02:00
Nikita Popov
e53162a32b
Return false on invalid codepoint in mb_chr()
...
Instead of returning the encoding of the current substitution
character. This allows a robust check for the failure case. The
substitution character (especially the default of "?") is also
a valid output of mb_chr() for a valid input (for "?" that would be
0x3f), so it's a bad choice for an error value.
2017-08-03 22:36:42 +02:00
Nikita Popov
41e9ba6333
Always use Unicode codepoints in mb_ord() and mb_chr()
...
Previously mb_chr() had two different encoding-dependent behaviors:
* For "Unicode-encodings" it took a Unicode codepoint and returned
its encoded representation.
* Otherwise it returned a big-endian binary encoding of the passed
integer.
Now the input is always interpreted as a Unicode codepoint. If
a big-endian binary encoding is what you want, you don't need
mbstring to implement that.
2017-08-03 22:14:00 +02:00
Nikita Popov
fb9bf5b64b
Revert/fix substitution character fallback
...
The introduced checks were not correct in two respects:
* It was checked whether the source encoding of the string matches
the internal encoding, while the actually relevant encoding is
the *target* encoding.
* Even if the correct encoding is used, the checks are still too
conservative. Just because something is not a "Unicode-encoding"
does not mean that it does not map any non-ASCII characters.
I've reverted the added checks and instead adjusted mbfl_convert
to first try to use the provided substitution character and if
that fails, perform the fallback to '?' at that point. This means
that any codepoint mapped in the target encoding should now be
correctly supported and anything else should fall back to '?'.
2017-08-03 21:53:59 +02:00
Nikita Popov
a8a9e93e9a
Revert/fix mb_substitute_character() codepoint checks
...
The introduced checks did not treat "non-Unicode" encodings correctly,
because they treated the passed integer as encoded in the internal
encoding in that case, while in actuality the substitute character
is always a Unicode codepoint.
Additionally checking the codepoint against the internal encoding
is not correct in any case, because the substitution character must
be mapped in the *target* encoding of the conversion, which does
not necessarily coincide with the internal encoding (the internal
encoding is the default *source* encoding, not *target* encoding).
This reverts the checks back to simple range checks, but in a way
that still resolves #69079 : Characters outside the Basic
Multilingual Plane are now accepted and Surrogate Codepoints are
rejected. A distinction between UTF-8 and non-UTF-8 encodings is
not made for surrogate checks (as in the original patch), as
surrogates are always illegal on their own. Specifying a surrogate
as substitution character would only make sense if you could
specify a substitution string with more than one character --
however we do not support that.
2017-08-03 21:12:41 +02:00
Anatol Belski
355743600d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Increase expected timing on Travis
2017-08-03 15:08:05 +02:00
Anatol Belski
21c6ba3412
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Increase expected timing on Travis
2017-08-03 15:07:47 +02:00
Anatol Belski
9689796c10
Increase expected timing on Travis
...
If 5ms to read/write 8 bytes still has issue, probably next this test
should skip on Travis to avoid false positive fails.
2017-08-03 15:05:22 +02:00
Anatol Belski
93c2c56a1b
Rework automatic interactive cli activation
...
There are still systems delivering buggy console info. If a file was
passed, obviously no interaction is meant.
2017-08-03 11:23:50 +02:00
Anatol Belski
39f0e810c9
[ci skip] update NEWS
2017-08-02 21:51:35 +02:00
Anatol Belski
fbc8596b68
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
update NEWS
2017-08-02 21:51:01 +02:00
Anatol Belski
54e2224df7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-08-02 21:50:26 +02:00
Anatol Belski
3e5b8c1e89
[ci skip] update NEWS
2017-08-02 21:49:56 +02:00
Anatol Belski
9ba2cfd33e
update NEWS
2017-08-02 21:49:21 +02:00
Andreas Treichel
29e4d4eee6
Add ftp_append to create a new file or append data to an existing file (RFC959)
2017-08-02 20:52:28 +02:00
Nikita Popov
aa925cb0ad
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-02 18:50:18 +02:00
Nikita Popov
4988e83fe9
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-02 18:50:04 +02:00
Andreas Treichel
c2b8066efb
Bug #74975 : Different serialization for classes
2017-08-02 18:49:26 +02:00
Nikita Popov
042ff13ca9
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-02 18:18:23 +02:00
Nikita Popov
9871555090
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-02 18:16:56 +02:00
Nikita Popov
9ca1b2a775
Merge remote-tracking branch 'php-src/PHP-7.0' into PHP-7.0
2017-08-02 18:16:18 +02:00
Nikita Popov
91240073ea
Merge branch 'PHP-7.1' into PHP-7.2
2017-08-02 18:11:12 +02:00
Nikita Popov
63607375f5
Merge branch 'PHP-7.0' into PHP-7.1
2017-08-02 18:09:09 +02:00
Fabien Villepinte
2cc1cbf2f4
Fix Bug #75001 : Wrong reflection on mb_eregi_replace
2017-08-02 18:08:42 +02:00
Fabien Villepinte
15abb2b56e
Fix test transliterator_create_inverse_basic.phpt
2017-08-02 18:04:43 +02:00
George Wang
e78712791d
take care of compile warnings.
2017-08-02 11:59:41 -04:00
Tyson Andre
5097e2ee13
Implement spl_object_id(object $x) : int
...
spl_object_id is a new function returning the object handle,
as a signed integer.
Discussion for this new function is ongoing on php-internals, see
https://marc.info/?t=143835274500003&r=1&w=2
The object id is unique for the lifetime of the object.
When the object is garbage collected,
different objects may & will have the same object id.
- This is also the case for the string generated by spl_object_hash
It is always possible to cast the object handle to a **signed** zend_long
in php 7.2. _zend_object->handle is always of the type `uint32_t`.
(zend_long is 32 bits on 32 bit builds, 64 bits on 64 bit builds)
As of php 7.0, the object id uniquely identifies the object,
there can't be two objects with the same id but different handlers
(See the implementation of spl_object_hash)
Skip the pointless XORing, as discussed in internals.
- It was intended to avoid exposing in-memory addresses.
- The object handle is not a memory address.
- The output of var_dump() includes the object handle(id)
2017-08-02 17:54:07 +02:00
Anatol Belski
b4bce59fe9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
2017-08-02 16:42:20 +02:00
Anatol Belski
1fdc518971
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
2017-08-02 16:41:48 +02:00
Derick Rethans
b112d09013
Fixed bug #75002 Null Pointer Dereference in timelib_time_clone
2017-08-02 16:40:48 +02:00
Remi Collet
afdf7519d1
fix build with old system libsqlite (sqlite3_close_v2 may be missing)
2017-08-02 16:09:36 +02:00
Remi Collet
5e5895a464
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:03:23 +02:00
Remi Collet
5f030924c1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:03:02 +02:00
Remi Collet
666cb6c802
fix build with old system libsqlite (sqlite3_errstr may be missing)
2017-08-02 14:01:56 +02:00
Joe Watkins
6202c821a9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fixed #endif comments
2017-08-02 08:35:51 +01:00
Joe Watkins
9c6262f39b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fixed #endif comments
2017-08-02 08:35:38 +01:00
clwu
b2934d2612
fixed #endif comments
2017-08-02 08:35:27 +01:00
Christoph M. Becker
43e7656241
Update NEWS
2017-08-02 00:11:11 +02:00
Sara Golemon
6278f6140f
Update NEWS for 7.2.0beta3
2017-08-01 12:50:56 -04:00
Sara Golemon
1b05a2373b
Update NEWS for PHP 7.2.0beta2
2017-08-01 12:50:55 -04:00
Christoph M. Becker
fe107cce45
Update to SQLite 3.20.0
2017-08-01 18:26:14 +02:00
Nikita Popov
6c2c7a023d
Optimize array_unique()
...
In SORT_STRING mode, instead of sorting the array, build a hash of
seen elements.
2017-08-01 18:08:38 +02:00
Julien Pauli
5069d52189
Updated NEWS
2017-08-01 16:03:00 +02:00
Julien Pauli
4f06b62781
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Updated NEWS
Updated NEWS
Fix #75015 . Crash in SPL destructors
2017-08-01 16:02:36 +02:00
Julien Pauli
f0d40286e7
Updated NEWS
2017-08-01 16:02:26 +02:00
Julien Pauli
cd06b5af09
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Updated NEWS
Fix #75015 . Crash in SPL destructors
2017-08-01 16:02:00 +02:00
Julien Pauli
0c0cbb43da
Updated NEWS
2017-08-01 16:01:43 +02:00
Julien Pauli
64e6ddc7f7
Fix #75015 . Crash in SPL destructors
2017-08-01 15:59:54 +02:00
Julien Pauli
ad5222c3a6
Fix use of uninitialised value in uniqid() where more_entropy=0
2017-08-01 14:58:00 +02:00
Anatol Belski
b8da481a2a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Test to cover the change in ce1a0d97
2017-08-01 12:51:20 +02:00
Anatol Belski
d9d152b895
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Test to cover the change in ce1a0d97
2017-08-01 12:50:52 +02:00
Anatol Belski
a8e25fdbf8
Test to cover the change in ce1a0d97
2017-08-01 12:49:45 +02:00
Anatol Belski
2164e3a0b8
fix test
2017-08-01 11:56:23 +02:00
Anatol Belski
ce1a0d971b
fix NULL deref
2017-08-01 11:55:32 +02:00
Xinchen Hui
5856becc2b
Update NEWS
2017-07-31 11:52:23 +08:00
Xinchen Hui
9b87b73fec
Req #74963 (Improved error message on fetching property of non-object)
2017-07-31 11:51:23 +08:00
Kalle Sommer Nielsen
c62e5eb0a9
Reduce EXIF test image sizes, there is still one large image left that I will look into reducing if possible (bug50845.jpg)
...
The changes in phpts are due to exiftool, I verified that all the images still remain relevant for testing
2017-07-30 21:59:55 +02:00
Kalle Sommer Nielsen
97ff7bbb36
Lowercase the file extension
2017-07-30 21:59:10 +02:00
Anatol Belski
03383119d2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
remove dup of the binary file, rely on a test runtime copy instead
2017-07-30 17:52:36 +02:00
Anatol Belski
eab66f9068
remove dup of the binary file, rely on a test runtime copy instead
2017-07-30 17:51:27 +02:00
Christoph M. Becker
4db1e1adf2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Shrink another large image
2017-07-30 16:35:07 +02:00
Christoph M. Becker
2d6d1ec55b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Shrink another large image
2017-07-30 16:27:38 +02:00
Christoph M. Becker
2d96fdd54f
Shrink another large image
...
This image is only used for testing `BITMAPV5HEADER` support in
`getimagesize()` (see bf9ad4e ). Therefore it is not necessary to have
a big image; a single pixel is sufficient.
2017-07-30 16:26:06 +02:00
Frank Denis
0c21187363
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
Shrink test image
2017-07-30 15:42:24 +02:00
Frank Denis
34df3cdafa
sodium ext: skip scrypt if it is not available
...
scrypt was removed from minimal libsodium builds in version 1.0.13
2017-07-30 15:41:34 +02:00
Frank Denis
650f68c36e
sodium ext: fix tests/pwhash_argon2i description
2017-07-30 15:05:21 +02:00
Christoph M. Becker
d53b78c6ed
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Shrink test image
2017-07-30 15:01:59 +02:00
Frank Denis
74d7f1d04e
sodium ext: check hash length for scrypt
2017-07-30 15:00:03 +02:00
Frank Denis
3f45262aa9
Merge branch 'PHP-7.2' of git.php.net:php-src into PHP-7.2
...
* 'PHP-7.2' of git.php.net:php-src:
It's `--SKIPIF--`, not `--SKIP--`
2017-07-30 14:48:44 +02:00
Frank Denis
85895b2e5b
sodium ext: no need for #ifdef crypto_aead_chacha20poly1305_IETF_NPUBBYTES
...
chacha20poly1305_ietf was implemented in libsodium 1.0.4 which is way earlier
than the minimum version we support.
2017-07-30 14:47:49 +02:00
Frank Denis
1d7e1f845f
sodium ext: check that message sizes are safe, to avoid hitting abort() in libsodium
2017-07-30 14:45:06 +02:00
Christoph M. Becker
82e4ad3983
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Shrink test image
2017-07-30 14:44:52 +02:00
Christoph M. Becker
74a696d53b
Shrink test image
...
The last (`IDAT`) chunk in this file starting at `0x5e265` reports to
have a length of `0x2000` bytes, but there are only `0x1D9B` bytes
left. Simply cutting the first `IDAT` chunk which starts at `0x31` and
also reports a length of `0x2000` at the same offset should produce the
same test results (while reducing the file size to 7.628 bytes).
2017-07-30 14:43:37 +02:00
Frank Denis
ae99959986
sodium ext: use unexpand -t 4 --first-only to convert from spaces to tabs
...
No actual code changes.
Fun fact: macOS' unexpand(1) tool doesn't work as documented, and always
converts everything to tabs, regardless of the -a switch.
2017-07-30 14:34:55 +02:00
Christoph M. Becker
782f45c8e6
It's --SKIPIF--, not --SKIP--
2017-07-30 14:01:51 +02:00
Christoph M. Becker
71e47c5c13
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip this test if ext/gd is not available
2017-07-30 13:37:36 +02:00
Christoph M. Becker
f213ee5952
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip this test if ext/gd is not available
2017-07-30 13:30:18 +02:00
Christoph M. Becker
4d6f808c16
Skip this test if ext/gd is not available
2017-07-30 13:24:10 +02:00
Frank Denis
613c8dd7b0
sodium ext: let crypto_pwhash() accept an optional algorithm identifier
2017-07-29 13:04:54 +02:00
Nikita Popov
5d777e56e2
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-28 13:03:26 +02:00
Nikita Popov
c48c638aeb
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-28 13:03:02 +02:00
Nikita Popov
e3d25e78eb
Fixed bug #62934
2017-07-28 13:02:25 +02:00
Anatol Belski
80d839d25a
add missing makefile fragment for .w32
...
ensure correct dir
2017-07-28 07:26:11 +02:00
Anatol Belski
2ae0dd7f61
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
relax test on travis
2017-07-28 00:28:12 +02:00
Anatol Belski
55e7459cea
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
relax test on travis
2017-07-28 00:27:52 +02:00
Anatol Belski
b01336814d
relax test on travis
2017-07-28 00:27:11 +02:00
Sara Golemon
4a6ef8327a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Simpler fix for #74974
2017-07-27 10:04:59 -04:00
Sara Golemon
b62fb3aa0c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Simpler fix for #74974
2017-07-27 10:04:14 -04:00
Pedro Magalhães
34e5d3a87d
Simpler fix for #74974
2017-07-27 09:25:38 -04:00
Xinchen Hui
262aeb8ae1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed test
2017-07-27 12:50:41 +08:00
Xinchen Hui
0ddda0dcb7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed test
2017-07-27 12:50:28 +08:00
Xinchen Hui
9fcfe52d03
Fixed test
2017-07-27 12:50:17 +08:00
Xinchen Hui
afc2be8fc8
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74949 (null pointer dereference in _function_string)
2017-07-27 11:24:53 +08:00
Xinchen Hui
f894bb750c
Update NEWS
2017-07-27 11:24:26 +08:00
Xinchen Hui
efb1be547c
Update NEWS
2017-07-27 11:23:52 +08:00
Xinchen Hui
84a18c4782
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74949 (null pointer dereference in _function_string)
2017-07-27 11:23:27 +08:00
Xinchen Hui
e36c04ef48
Fixed bug #74949 (null pointer dereference in _function_string)
2017-07-27 11:23:06 +08:00
Sara Golemon
08fef4cc23
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
2017-07-26 18:56:06 -04:00
Sara Golemon
80f4297c25
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
2017-07-26 18:55:46 -04:00
Sara Golemon
c7aa8ba0ee
Bugfix #74993 Wrong reflection param into for some intl: lookup_*() methods
2017-07-26 18:55:23 -04:00
Anatol Belski
57c435e5ac
[ci skip] update NEWS
2017-07-26 17:31:57 +02:00
Anatol Belski
2d8fe973b1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-07-26 17:31:10 +02:00
Anatol Belski
4cde48bb73
[ci skip] update NEWS
2017-07-26 17:30:40 +02:00
Anatol Belski
3f9e8e6686
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-07-26 17:30:02 +02:00
Anatol Belski
3306b3aa60
[ci skip] update NEWS
2017-07-26 17:29:37 +02:00
Anatol Belski
9ff4801159
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:21:20 +02:00
Anatol Belski
eaf5c7cdd4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:20:48 +02:00
Anatol Belski
bd00fe81cc
Fixed bug #74833 , SID constant created with wrong module number
2017-07-26 13:19:41 +02:00
Joe Watkins
d3060a00d1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
2017-07-26 10:47:49 +01:00
Joe Watkins
bb9ea4e88b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
2017-07-26 10:47:22 +01:00
Benjamin W. Broersma
6b1fbafdf0
Fix bug #74991 - include_path has a 4096 char (minus "__DIR__:") limit, in some PHAR cases
2017-07-26 10:46:50 +01:00
Christopher Jones
787ea0dda5
Update NEWS
2017-07-26 15:25:01 +10:00
Christopher Jones
664eca5967
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-26 15:24:26 +10:00
Christopher Jones
747f5b23ae
Update NEWS
2017-07-26 15:23:58 +10:00
Christopher Jones
46a6ae0d45
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-26 15:23:17 +10:00
Christopher Jones
de65a2243f
Expose oci_unregister_taf_callback()
2017-07-26 15:22:44 +10:00
Xinchen Hui
53e59e4b34
Update NEWS
2017-07-26 12:07:20 +08:00
Xinchen Hui
0e61cddeb1
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74980 (Narrowing occurred during type inference)
2017-07-26 12:06:55 +08:00
Xinchen Hui
3df47c12f7
Fixed bug #74980 (Narrowing occurred during type inference)
2017-07-26 12:06:33 +08:00
Aleš Rebec
f469edcf59
Remove obsolete function names from CODING_STANDARDS file
...
Deprecated and removed function names used as examples in coding standards file.
- Mcrypt is deprecated and will be removed in 7.2
- Mysql functions are deprecated in 5.4 and removed in 7.0.
According to those changes, CODING_STANDARDS file should be updated.
2017-07-25 07:04:23 +01:00
Joe Watkins
4ddb0630c2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed finding CURL on systems with multiarch support
2017-07-25 06:59:03 +01:00
Joe Watkins
238f837cbc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed finding CURL on systems with multiarch support
2017-07-25 06:58:37 +01:00
Carsten Brandt
3fd7d819b8
Fixed finding CURL on systems with multiarch support
...
fixes https://bugs.php.net/bug.php?id=74125
This commit makes the cURL config script aware of debian/ubuntu
[multiarch support][1] which installs architecture specific
headers in a different location.
It checks whether the `dpkg-architecture` script exists and is
executeable, if that is the case, the multiarch architecture is
detected by calling `dpkg-architecture -qDEB_HOST_MULTIARCH` as
documented in [debian multiarch implementation docs][2]:
> `/usr/include/<triplet>`: used for arch-varying headers
[1]: https://wiki.debian.org/Multiarch
[2]: https://wiki.debian.org/Multiarch/Implementation
2017-07-25 06:58:11 +01:00
Joe Watkins
8d5a5fbf6b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
minor loop optimizations, closes #2633
2017-07-25 06:54:20 +01:00
Joe Watkins
78ad5e8864
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
minor loop optimizations, closes #2633
2017-07-25 06:51:44 +01:00
Joe Watkins
69b48f83df
minor loop optimizations, closes #2633
2017-07-25 06:47:58 +01:00
Joe Watkins
2e8759428b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #74977 - Appending AppendIterator leads to segfault
2017-07-25 06:40:25 +01:00
andrewnester
dbc2ffba82
Fixed #74977 - Appending AppendIterator leads to segfault
2017-07-25 06:39:50 +01:00
Sammy Kaye Powers
66729aeeeb
Fix ext/sodium display in phpinfo()
2017-07-25 06:35:40 +01:00
Anatol Belski
7453d2303b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
switch to binary sdk 2.0.9 for appveyor
2017-07-24 23:09:20 +02:00
Anatol Belski
bedd881da6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to binary sdk 2.0.9 for appveyor
2017-07-24 23:08:07 +02:00
Anatol Belski
cdf9178c43
switch to binary sdk 2.0.9 for appveyor
2017-07-24 23:07:15 +02:00
jrfnl
f901e7e3c5
Fix typo in PHP 7.2 changelog
2017-07-24 16:57:07 -04:00
Joe Watkins
515b396889
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update copyright year to 2017
2017-07-24 17:24:22 +01:00
Joe Watkins
b44484b912
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update copyright year to 2017
2017-07-24 17:24:10 +01:00
Peter Kokot
924ff6164e
Update copyright year to 2017
2017-07-24 17:23:57 +01:00
Anatol Belski
0489e85c18
[ci skip] update NEWS
2017-07-24 17:46:31 +02:00
Anatol Belski
cb7e42da25
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Add test for bug #74903
2017-07-24 17:03:24 +02:00
Anatol Belski
2dc81d4a09
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add test for bug #74903
2017-07-24 17:02:55 +02:00
Anatol Belski
a769d873f8
Add test for bug #74903
2017-07-24 17:02:10 +02:00
Anatol Belski
660b829ccc
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Followup on 0ec147d3 for another place
Ensure binary mode for OpenSSL I/O
2017-07-24 16:38:05 +02:00
Anatol Belski
e2b61eccb9
Followup on 0ec147d3 for another place
...
which requires also to move the macros into the header
(cherry picked from commit b7eb2c0604 )
2017-07-24 16:33:12 +02:00
Anatol Belski
6918a68d9d
Ensure binary mode for OpenSSL I/O
...
Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.
(cherry picked from commit 0ec147d301 )
2017-07-24 16:31:09 +02:00
Anatol Belski
b7eb2c0604
Followup on 0ec147d3 for another place
...
which requires also to move the macros into the header
2017-07-24 16:24:04 +02:00
Anatol Belski
0ec147d301
Ensure binary mode for OpenSSL I/O
...
Essential for OpenSSL 1.1.0 on Windows, some issues was revealed earlier
and now by openssl_pkcs12_export_to_file_basic.phpt.
2017-07-24 15:43:48 +02:00
Anatol Belski
8a6afbef3f
Combine conditions for the automatic interactive console activation
...
as with bug #74979 it seems to have regressions which were not
present before.
2017-07-24 14:47:32 +02:00
Frank Denis
742895f60c
sodium ext: don't reinvent sodium_increment() and sodium_add()
2017-07-24 14:26:05 +02:00
Joe Watkins
52964bbfb2
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
openssl: Add openssl_pkcs12_export_to_file tests
2017-07-24 10:47:02 +01:00
Joe Watkins
5816ce330c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
openssl: Add openssl_pkcs12_export_to_file tests
2017-07-24 10:46:52 +01:00
Jelle van der Waa
23c124ec75
openssl: Add openssl_pkcs12_export_to_file tests
...
Add basic tests for openssl_pkcs12_export_to_file.
2017-07-24 10:46:42 +01:00
Issei.M
f1d7857969
Fix typo in UPGRADING for 7.2
2017-07-24 10:44:19 +01:00
Joe Watkins
94e6c72e26
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update PHP 5 version to 7 in header comments
2017-07-24 10:42:48 +01:00
Joe Watkins
642fb44d69
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update PHP 5 version to 7 in header comments
2017-07-24 10:42:35 +01:00
Peter Kokot
c4e11c8ef3
Update PHP 5 version to 7 in header comments
2017-07-24 10:42:15 +01:00
Sara Golemon
a6e4a713ea
Add hash_hmac_algos() for filtered is_crypto methods
2017-07-23 15:17:09 -04:00
Nikita Popov
706f0cf8a0
Update Unicode data for Unicode 10
2017-07-23 16:05:39 +02:00
Nikita Popov
24cfbfd56f
Update ucgendat for more bidi properties
...
Handle them the same way as others -- by classifying as Other
Neutral.
2017-07-23 16:03:11 +02:00
Nikita Popov
077e61fad3
Fixed bug #69267 completely
...
ucgendat.c was assuming that a title-case character is a character
that has both lower and upper-case variants. However, there are
title-case characters that only have a lower-case variant. Use the
Lt general character proprety to determine where in the case map
the character should be placed instead.
2017-07-23 15:30:17 +02:00
Nikita Popov
c0bcd301d3
Another fix for bug #69267
...
mb_strtoupper() was converting lowercase characters into
titlecase characters, instead of uppercase characters. Luckily
there are only very few characters with a distinct titlecase
representation, so this mostly worked out okay...
2017-07-23 15:07:02 +02:00
Nikita Popov
0e4af9192f
Partial fix for bug #69267
...
This pulls in 60a25c72ba389f53b0621ca250bc99f3b295d43f from the
OpenLDAP project.
2017-07-23 14:47:21 +02:00
Nikita Popov
88f752a947
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-23 12:21:51 +02:00
Nikita Popov
f116a88592
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-23 12:21:16 +02:00
Christoph M. Becker
418da85f15
Fix #71606 : Segmentation fault mb_strcut with HTML-ENTITIES
...
The HTML decoding filter uses the `opaque` member of mbfl_convert_filter
as buffer, but there was no copy constructor defined, what caused double
frees when the filter is copied (what happens multiple times in mb_strcut(),
for instance).
2017-07-23 12:19:27 +02:00
Nikita Popov
9af5b7f33d
Fix use after free in mb_send_mail
2017-07-23 11:55:26 +02:00
Anatol Belski
47334646db
fix skipif
2017-07-23 11:08:11 +02:00
Sara Golemon
089f4ff885
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use compatability zend_isnan() instead of POSIX isnan()
2017-07-22 21:33:28 -04:00
Sara Golemon
a4e3589966
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use compatability zend_isnan() instead of POSIX isnan()
2017-07-22 21:33:20 -04:00
Sara Golemon
775b4b54d8
Use compatability zend_isnan() instead of POSIX isnan()
...
s/isnan/zend_isnan/g
2017-07-22 21:32:44 -04:00
Sara Golemon
e23c132940
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix compile-time optimization of NAN comparisons
2017-07-22 21:23:29 -04:00
Sara Golemon
1229b0f8cb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix compile-time optimization of NAN comparisons
2017-07-22 21:23:17 -04:00
Sara Golemon
c562d44321
Fix compile-time optimization of NAN comparisons
2017-07-22 21:22:51 -04:00
Frank Denis
401188cbf9
sodium ext: require libsodium >= 1.0.8
...
(but really, 1.0.9 should be the bare minimum)
2017-07-22 22:07:53 +02:00
Frank Denis
c499bd12f7
sodium ext: define crypto_aead_chacha20poly1305_ietf_KEYBYTES if needed
...
Some old libsodium versions didn't had a dedicated constant for the
IETF version of this construction.
2017-07-22 19:57:44 +02:00
Frank Denis
8a2e747a7b
sodium ext: remove redundant and obsolete macros
2017-07-22 17:50:22 +02:00
Nikita Popov
4672411ef5
Fix incorrect propagation of ZEND_BOOL in pass 1
...
BOOL (next to QM_ASSIGN) is one of the opcodes that can assign to
a temporary that is assigned in multiple branches. Pass 1 does
not check for this, so we should not try to handle it at that
point. Block pass and sccp will be able to treat this correctly.
2017-07-22 17:23:50 +02:00
Nikita Popov
96665fbfe0
Fix block removal if there are duplicate successors
2017-07-22 14:53:23 +02:00
Anatol Belski
1e9ad4a307
[ci skip] update NEWS
2017-07-22 14:15:32 +02:00
Anatol Belski
3fc52f1dc4
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-07-22 14:14:22 +02:00
Anatol Belski
c068818ff3
[ci skip] update NEWS
2017-07-22 14:13:51 +02:00
Anatol Belski
e0c0007bd2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-07-22 14:13:25 +02:00
Anatol Belski
ad12da4908
[ci skip] update NEWS
2017-07-22 14:12:45 +02:00
Bob Weinand
76ce874422
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-22 11:16:48 +02:00
Bob Weinand
134e713be2
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-22 11:14:54 +02:00
Bob Weinand
bad5d0d6c5
Fixed bug #74954 (null deref and segfault in zend_generator_resume())
2017-07-22 11:14:00 +02:00
Anatol Belski
14e8f9557b
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
2017-07-22 10:36:58 +02:00
Anatol Belski
4cb1151fff
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
2017-07-22 10:36:31 +02:00
Anatol Belski
e405ff59f9
Fixed bug #74968 PHP crashes when calling mysqli_result::fetch_object with an abstract class
2017-07-22 10:35:26 +02:00
Nikita Popov
3fa76ac54f
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-21 23:22:56 +02:00
Nikita Popov
69ec51eb02
Fix DFG construction for VERIFY_RETURN
...
`use` only contains uses prior to definition. This was not
honoured for VERIFY_RETURN with a temporary operand.
The test case only breaks on PHP 7.2.
2017-07-21 23:20:56 +02:00
Anatol Belski
7ec8b8d49f
remove casts and ensure no out of bounds access
2017-07-21 22:26:37 +02:00
Frank Denis
f8ffc9622b
sodium ext: delete copypasta from sodium_crypto_kdf_derive_from_key()
...
/via @fredemmott
2017-07-21 18:25:25 +02:00
Frank Denis
0e2a7fc829
sodium ext: use crypto_scalarmult_BYTES for points coordinates
...
Just for consistency.
2017-07-21 14:02:33 +02:00
Frank Denis
557029e8e6
sodium ext: clear the hash state after we're done hashing
2017-07-21 14:02:26 +02:00
Frank Denis
d8a14e2aad
sodium ext: drop unused code
...
/via @remicollet
2017-07-21 14:02:18 +02:00
Xinchen Hui
735b34c016
Update NEWS
2017-07-21 18:17:54 +08:00
Xinchen Hui
01090e6ced
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
2017-07-21 18:17:33 +08:00
Xinchen Hui
a8f98fc7f7
Update NEWS
2017-07-21 18:17:12 +08:00
Xinchen Hui
08177312fb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
2017-07-21 18:16:54 +08:00
Xinchen Hui
256ec5bebb
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Move the define into the header to reduce diff for future upgrade
2017-07-21 18:16:37 +08:00
Xinchen Hui
3a7b0027f3
Fixed bug #74950 (nullpointer deref in simplexml_element_getDocNamespaces)
2017-07-21 18:16:11 +08:00
Anatol Belski
96ad72dc29
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Move the define into the header to reduce diff for future upgrade
2017-07-21 11:16:38 +02:00
Anatol Belski
4b3ed311aa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Move the define into the header to reduce diff for future upgrade
2017-07-21 11:16:15 +02:00
Anatol Belski
9b3c26d4f4
Move the define into the header to reduce diff for future upgrade
2017-07-21 09:12:06 +02:00
Xinchen Hui
6242230219
Update NEWS
2017-07-21 12:03:17 +08:00
Xinchen Hui
463413db53
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Update NEWS
Fixed bug #74947 (Segfault in scanner on INF number)
Conflicts:
Zend/zend_language_scanner.c
2017-07-21 12:02:54 +08:00
Xinchen Hui
e2b240c164
Update NEWS
2017-07-21 11:58:30 +08:00
Xinchen Hui
84926a0d71
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74947 (Segfault in scanner on INF number)
Conflicts:
Zend/zend_language_scanner.c
2017-07-21 11:58:07 +08:00
Xinchen Hui
95d2908814
Fixed bug #74947 (Segfault in scanner on INF number)
2017-07-21 11:56:49 +08:00
Dmitry Stogov
0b2c456312
fixed comments
2017-07-20 23:29:22 +03:00
Dmitry Stogov
1b9d0c8af3
Fixed wrong edges_count re-calculation.
2017-07-20 23:28:05 +03:00
Anatol Belski
b8eb110cd5
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
increment sdk version
2017-07-20 22:08:39 +02:00
Anatol Belski
fa33b065ac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
increment sdk version
2017-07-20 22:07:32 +02:00
Anatol Belski
ce06677069
increment sdk version
2017-07-20 22:06:34 +02:00
Anatol Belski
2ec3c67428
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
remove another cygwin instance in AppVeyor run
2017-07-20 20:40:47 +02:00
Anatol Belski
7c21535fb3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove another cygwin instance in AppVeyor run
2017-07-20 20:39:36 +02:00
Anatol Belski
ecad9a470f
remove another cygwin instance in AppVeyor run
2017-07-20 20:39:04 +02:00
Sergei Morozov
9b9184a45a
Fixed bug #74941 - Session fails to start after having headers sent
2017-07-20 07:52:02 +01:00
Anatol Belski
18595b6fc6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix dir separator in test
2017-07-19 22:42:05 +02:00
Anatol Belski
8ef5a50e2d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix dir separator in test
2017-07-19 22:41:32 +02:00
Anatol Belski
f67a3cc9bd
fix dir separator in test
2017-07-19 22:41:09 +02:00
Sara Golemon
bb02f99e71
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Do not allow using traits/interfaces/abstract classes as stream wrappers
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a
2017-07-19 14:01:18 -04:00
Sara Golemon
a9e8239f45
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Do not allow using traits/interfaces/abstract classes as stream wrappers
2017-07-19 14:01:00 -04:00
Sara Golemon
c9fd093127
Do not allow using traits/interfaces/abstract classes as stream wrappers
...
Fixes https://bugs.php.net/bug.php?id=74951
2017-07-19 14:00:00 -04:00
Emmanuel Dreyfus
d25049cc1b
Fixed bug #74851 : Improve uniqid() performance
...
uniqid() relies on microsecond-precise system clock to produce an
unique identifier. In order to avoid using the same value, the
original implementation calls usleep(1) to wait for the next microsecond.
Unfortunately, usleep() specification says "The suspension time may be
longer than requested due to the scheduling of other activity by the
system." Indeed, the pause may as as long as an entire execution slice,
causing a uniqid() call to last more than 10 ms.
This is fixed by replacing the usleep() call by time polling using
gettimeofday() until the microsecond changes. Since the getttimeoday()
system call lasts around a microsecond, only a small time is wasted
calling multiple gettimeofday. On the benefit side, uniqid() performance
in increased 10000 fold without changing its behavior.
2017-07-19 19:54:19 +02:00
Lior Kaplan
2b36f3d71f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a
2017-07-19 17:26:38 +03:00
Lior Kaplan
2cca43b3ab
Add oci8_failover.c to config.w32, follow up for commit 1b797f7a
2017-07-19 17:23:22 +03:00
Dmitry Stogov
6fcc7134f1
Keep resource of enclosing stream, because it may be referenced from other place(s).
...
This fixes valgrind warnings on Zend/tests/type_declarations/scalar_basic.phpt
2017-07-19 17:16:56 +03:00
Dmitry Stogov
112eda7525
Separate the fast-patch
2017-07-19 15:42:32 +03:00
Dmitry Stogov
3185f8628f
Convert CONCAT into FAST_CONCAT for non-object operands
2017-07-19 15:41:46 +03:00
Dmitry Stogov
95a1f77b5e
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Reset globals on startup or restart
2017-07-19 15:36:48 +03:00
Dmitry Stogov
4252f14299
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Reset globals on startup or restart
2017-07-19 15:36:24 +03:00
Dmitry Stogov
e5beb4e828
Reset globals on startup or restart
2017-07-19 15:35:10 +03:00
Dmitry Stogov
8447b86eef
Remove dead live ranges and FREE instructions
2017-07-19 13:07:33 +03:00
Dmitry Stogov
5274cefb4d
Remove live ranges
2017-07-19 13:06:25 +03:00
Nikita Popov
ecb67e59d7
Don't reuse compare_function operands
...
If the same zval is used for the result and one operand, then the
function thinks it is responsible for freeing the value in case of
a type conversion.
2017-07-19 01:04:36 +02:00
Sergei Morozov
5b12b46a19
Fixed bug #74936 - session_*() functions trigger a warning in read mode when the session is active
2017-07-18 22:25:22 +02:00
Nikita Popov
a624ded4d3
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-18 22:16:33 +02:00
Nikita Popov
8e7c99acf4
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-18 22:16:11 +02:00
andrewnester
afc22828ea
Fixed #74699 - Broken ArrayIterator unserializing
2017-07-18 22:14:11 +02:00
Nikita Popov
f9d6cff67e
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-18 21:45:41 +02:00
Nikita Popov
4e9158da76
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-18 21:45:35 +02:00
YaoGuai
51cdd3dc50
Fix check of mysql_commit() return value
...
For mysql_commit() everything non-zero is an error.
2017-07-18 21:45:02 +02:00
Nikita Popov
9cd82df0bb
Merge branch 'PHP-7.1' into PHP-7.2
2017-07-18 21:21:46 +02:00
Andrew Nester
6c32d271d2
Fixed #74892 - Fixed URL rewriting for urls started with #
2017-07-18 21:20:03 +02:00
Dmitry Stogov
0903f6bffb
Remove dead JMP/JMPZ/JMPNZ/JMPZNZ (DCE pass can't remove them)
2017-07-18 20:43:06 +03:00
Dmitry Stogov
582882ae18
Constant evaluation of few more constant functions
2017-07-18 20:42:40 +03:00
Dmitry Stogov
c41d2535b1
Disabled compile-time constant DOUBLE to STRING evaluation (its result depends on run-time 'precision' setting)
2017-07-18 20:41:01 +03:00
Joe Watkins
f4323248ec
bump versions
2017-07-18 17:21:19 +01:00
Sara Golemon
b01448f9a6
Update NEWS for 7.2.0beta2
2017-07-18 16:00:34 +00:00
Sara Golemon
1d184e1851
Update NEWS for PHP 7.2.0beta1
2017-07-18 15:40:26 +00:00
Sara Golemon
05ff0c5180
Bump all API numbers in prep for 7.2 fork
2017-07-18 10:45:02 -04:00
Frank Denis
09b15e4f30
sodium ext: implement sodium_crypto_kdf()
...
Also add zend_parse_parameters_none() statements where appropriate.
2017-07-18 14:42:15 +02:00
Frank Denis
36bd878ec2
Merge remote-tracking branch 'jedisct1/sodium-keygen'
...
* jedisct1/sodium-keygen:
sodium ext: remove unused sodium_randombytes_*() prototypes
sodium ext: add bindings for keygen() functions
sodium ext: sort prototypes
2017-07-18 12:53:18 +02:00
Anatol Belski
3e33d2c2e6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Exclude ext/ftp from AppVeyor test run
2017-07-18 12:11:17 +02:00
Anatol Belski
657609ebae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Exclude ext/ftp from AppVeyor test run
2017-07-18 12:09:58 +02:00
Anatol Belski
0da10134f2
Exclude ext/ftp from AppVeyor test run
...
as the tests depend on fork() and otherwise an extra setup would be
needed anyway.
2017-07-18 12:08:31 +02:00
Anatol Belski
807bc620ac
Merge branch 'PHP-7.1'
...
* PHP-7.1:
move to 7.0.23 for dev
2017-07-18 10:26:51 +02:00
Anatol Belski
735468a0b8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move to 7.0.23 for dev
2017-07-18 10:26:10 +02:00
Anatol Belski
649027b963
move to 7.0.23 for dev
2017-07-18 10:25:40 +02:00
Anatol Belski
a39fd99524
fix regression introduced by 0782a7fc63
2017-07-18 00:35:01 +02:00
Dmitry Stogov
bb743ca62d
Added NEWS entry
2017-07-17 23:21:03 +03:00
Dmitry Stogov
f49ee79e95
gc_check_possible_root() may throw exception.
2017-07-17 23:17:16 +03:00
Dmitry Stogov
cc04d42055
Merge branch 'master' into unset_cv
...
* master:
Constant evaluation of in_array() (support for more cases).
fix missing var for phpize
Add support for OpenSSL security level
2017-07-17 23:09:13 +03:00
Dmitry Stogov
ff83560ec6
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
fix missing var for phpize
Add support for OpenSSL security level
2017-07-17 23:08:42 +03:00
Dmitry Stogov
3754272818
Constant evaluation of in_array() (support for more cases).
2017-07-17 23:08:10 +03:00
Anatol Belski
bdfc84239b
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix missing var for phpize
2017-07-17 19:41:21 +02:00
Anatol Belski
65d5e025a7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix missing var for phpize
2017-07-17 19:40:31 +02:00
Anatol Belski
4ef9f536ba
fix missing var for phpize
...
(cherry picked from commit 36c3d71407 )
2017-07-17 19:38:50 +02:00
Jakub Zelenka
26982e36d5
Add support for OpenSSL security level
2017-07-17 17:40:51 +01:00
Dmitry Stogov
eb6c7471cb
Constant evaluation of in_array() (support for more cases).
2017-07-17 17:27:21 +03:00
Dmitry Stogov
1180d8c801
Separate ISSET_ISEMPTY_CV/UNSET_CV from ISSET_ISEMPTY_VAR/UNSET_VAR
2017-07-17 14:11:50 +03:00
Dmitry Stogov
d9d3b2c206
Fixed CFG/SSA construction (avoid multiple identical predecessors)
2017-07-17 13:35:47 +03:00
Dmitry Stogov
5b0e6248e6
Removed vim mode lines. zend_vm_opcodes.h loses these lines after regeneration. Lines in zend_vm_def.h lead to insertion inthe middle of zend_vm_execute.h.
2017-07-17 11:00:46 +03:00
Dmitry Stogov
b31e77dbea
Allocate additional slot for third argument
2017-07-17 09:11:14 +03:00
Anatol Belski
6e4f3d1967
fix new password related pieces wrt failing tests
2017-07-17 08:01:26 +02:00
Peter Kokot
9780d16376
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:56:59 +01:00
Joe Watkins
876941cae2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:55:28 +01:00
Joe Watkins
e0282c3b58
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:55:02 +01:00
Peter Kokot
4d08b9dac0
Fixed bug #74906 redirecting incorrect include <sys/errno.h>
2017-07-17 06:54:27 +01:00
Joe Watkins
8c238c15bc
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
2017-07-17 06:52:43 +01:00
Joe Watkins
2e82ed9b73
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
2017-07-17 06:51:47 +01:00
Peter Kokot
0db20a7cb1
Fixed bug 74913 redirecting incorrect include <sys/poll.h>
2017-07-17 06:50:59 +01:00
Anatol Belski
ea51bcd1fa
fix typo
2017-07-17 07:01:07 +02:00
Anatol Belski
36c3d71407
fix missing var for phpize
2017-07-17 06:54:47 +02:00
Sara Golemon
e93f089d6a
Refactor password_hash()
...
Pull salt generation out to a helper.
Merge options/hash into single switch.
Restore php_error->php_error_docref from last diff. (Error messages matter)
2017-07-16 17:37:45 -04:00
Sara Golemon
7165e28738
Refactor password.c
...
Use zend_string instread of char*/size_t
Clean up use of scope vars
Get rid of some temporaries/overstacked expressions.
2017-07-16 17:02:39 -04:00
Sara Golemon
3de82a0349
Provide zend_string wrappers for php_base64_(en|de)code
...
Also pull existing php_base64_decode() proxy out to an inline.
Bump PHP_API_VERSION for ABI change.
2017-07-16 17:01:20 -04:00
Jakub Zelenka
90ae2aec8c
Make functions in openssl.c more consistent
...
Improve naming, CS and add some static defs
2017-07-16 18:38:17 +01:00
Jakub Zelenka
5381ff757d
Make consitent naming and improve CS in xp_ssl
2017-07-16 17:57:43 +01:00
Jakub Zelenka
c08dba3431
Allow setting SNI cert and pk in separate files
2017-07-16 16:15:43 +01:00
Jakub Zelenka
18180bb161
Bump PHP_JSON_VERSION to 1.6.0
2017-07-16 15:53:02 +01:00
Jakub Zelenka
0f047f60f0
[ci skip] Remove CSV leftovers from json code - $Id$
2017-07-16 15:51:39 +01:00
Jakub Zelenka
9c58822653
Introduce internal php_json_encode_ex to allow extensions setting depth
2017-07-16 15:47:23 +01:00
Jakub Zelenka
0d0f7cde8c
Add JSON_INVALID_UTF8_SUBSTITUTE and JSON_INVALID_UTF8_IGNORE
...
It implements request #65082 and adds options for replacing resp.
ignoring invalid UTF-8 sequences for json_encode and json_decode.
2017-07-16 12:35:24 +01:00
Anatol Belski
f6a4491662
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Add test for bug #74923
2017-07-15 11:31:45 +02:00
Anatol Belski
6cd140fdf8
Add test for bug #74923
2017-07-15 11:30:56 +02:00
Anatol Belski
d6bcfcd9eb
update NEWS
2017-07-14 21:08:36 +02:00
Anatol Belski
705c151cd8
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update NEWS
2017-07-14 21:08:16 +02:00
Anatol Belski
0b5683e480
update NEWS
2017-07-14 21:07:48 +02:00
Sebastian Bergmann
674b11d10e
Tweak
2017-07-14 13:43:21 +02:00
Dmitry Stogov
2a286ad599
Added goblal optimisation passes based on data flow analyses using SSA form:
...
SCCP - Sparse Conditional Constant Propagation, DCE - Dead Code Elimination
and removing of unused local variablesi.
Squashed commit of the following:
commit bf5ac05fc0f5f6ab9c7f2e4eaa83a11c84f471d3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 14:26:40 2017 +0300
Added news entry
commit 4cfa6984b1f3cd8008a0c0dc82ee3de2da02bf7c
Merge: 1cdaaac 1f261d7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 13:30:50 2017 +0300
Merge branch 'sccp' into dce
* sccp:
Bump OCI8 version for recent patch
WS
Fix test title
Ensure that the stream position is kept between reads
Turn off EXIF_DEBUG so Travis don't complain at me
Don't add a new line to undefined tags in EXIF_DEBUG mode
Fix compile error with EXIF_DEBUG
update NEWS
disable --with-pcre-valgrind on travis
fix default args for --with-pcre-valgrind
Enable valgrind support for PCRE by default in debug builds
add oniguruma.patch to ease future upgrades
SIZEOF_SIZE_T doesn't exist on AIX and POWER8 (ppc64le), keep using SIZEOF_LONG
commit 1f261d77cb1cb966335097f364ace9349269c704
Merge: a32a3fb b280ba8
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 13:30:39 2017 +0300
Merge branch 'master' into sccp
* master:
Bump OCI8 version for recent patch
WS
Fix test title
Ensure that the stream position is kept between reads
Turn off EXIF_DEBUG so Travis don't complain at me
Don't add a new line to undefined tags in EXIF_DEBUG mode
Fix compile error with EXIF_DEBUG
update NEWS
disable --with-pcre-valgrind on travis
fix default args for --with-pcre-valgrind
Enable valgrind support for PCRE by default in debug builds
add oniguruma.patch to ease future upgrades
SIZEOF_SIZE_T doesn't exist on AIX and POWER8 (ppc64le), keep using SIZEOF_LONG
commit 1cdaaac601cff37fa729f3e6b31dc584782a1649
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 13:27:12 2017 +0300
Use generic evalution mechanism for constant functions
commit 75bd92a60928818358686410deec24a48e05d6da
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 12:39:05 2017 +0300
Fixed use-def chain unlinking for "$a = 1; $a += $a;"
commit 7d7746814dc382e468f9016d90c069b88b8b0f0d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 12:38:29 2017 +0300
Enable duplicate predecessors verification
commit 6b1667f2062d7c1b55e389b03b155cbe132f5dbf
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:55:20 2017 +0300
Removed duplicate definitions
commit 1415b53014bf5aa1521b779debea6847db8c7940
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:51:29 2017 +0300
Enable evaluation of constant functions with 3 arguments
commit ab367deef99f39dee15c6bbac45cb25eb9d29e00
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:45:13 2017 +0300
Removed deprecated check
commit c51659ea8c62e4e8fbf32a0567d4f541807d6b6d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:40:42 2017 +0300
Reduce limit
commit b1be5a04d783eb160a71fe26e030386b3e2771ba
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:38:23 2017 +0300
Disable constant array_flip() evaluation
commit 7a5b0596a149a2efc5893ea83be78ef9129009cb
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:33:20 2017 +0300
Fixed comments
commit 377e48b3426f9ccbcd6207acbbed87b9fdbf549d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:28:50 2017 +0300
Cast of string to long/double can not produce exception
commit 228dd01af3bf6daefbd7d5be82938dec8b55b6a0
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:24:50 2017 +0300
Added missed return
commit 0972a2163643757e7e270b8e1c466800aedf1308
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:22:36 2017 +0300
objects may be nested in array operands
commit bd346bfa5c4c58896fabd9ab2e4d9bb85b3c1402
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:19:20 2017 +0300
~$resource is unsupported.
commit c77e45610c22e29b5f4ad7234e38a1f4e2498937
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:15:39 2017 +0300
ws
commit 0b64d71109fddfec736c91546b6df978adb1f4fd
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:14:40 2017 +0300
Call to zend_ssa_unlink_use_chain() shouldn't be dropped
commit cb7059fcf6e51616c08d5b8a933401a94ae0b6e0
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:11:58 2017 +0300
Safer check for function name. The previous check is incorrect in ZTS build.
commit 7280aba1e125fc314284d7ef1252e14d04c415a4
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 11:02:10 2017 +0300
Missing warning
commit 54bc7b576cee33037b7e575c013e3ede726647a2
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 14 10:56:42 2017 +0300
Proper check for successors count
commit ea8c004a155453b4e15684e2bd1bdb1dc99e8833
Merge: 624f76d a32a3fb
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 15:56:26 2017 +0300
Merge branch 'sccp' into dce
* sccp:
fix fold
Fixed bug #74866 extension_dir = "./ext" now use current directory for base
add next vc15 toolset to the list
Revert "Enable whole program optimization for builds without PGO, too"
extend comment
cleanup discontinued target
commit a32a3fb67cd03b9cdab8cd15f133ef55e717408d
Merge: 2722dbf 5fb2abd
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 15:56:14 2017 +0300
Merge branch 'master' into sccp
* master:
fix fold
Fixed bug #74866 extension_dir = "./ext" now use current directory for base
add next vc15 toolset to the list
Revert "Enable whole program optimization for builds without PGO, too"
extend comment
cleanup discontinued target
commit 624f76df48db42f616bdfd02e9b26515a97c68e2
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 12:30:27 2017 +0300
Set RETURN_VALUE_UNUSED instead of additional FREE opcode, if possible.
Keep alive dead instructions that have to free two temporary variables.
commit 94c9b26695702e863ebeb40fa3cce5f5f2db7744
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 11:51:14 2017 +0300
More accurate "vararg" handling in DCE
commit 665ed8491ca07cd6d3363abf42c5777e132a3da1
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 13 09:31:45 2017 +0300
Improved DCE performance, by avoiding redundand checks and repeatable iterations.
commit 3f42ce18ba4420aabb9b07b838096cce340d06b7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 23:03:11 2017 +0300
Added few more instructions without side effects and exceptions
commit b17178f991c095d9137c1536b53b933208e575bf
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 20:39:02 2017 +0300
Temprary enable SSA validation in DEBUG build
commit e238a8dc79debcf2f833e07323f975173aec6205
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 20:37:53 2017 +0300
Inegrate SSA validation developed by Nikita
commit a247cee80b47ca335162e8bd46d06274f8af5a4d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 20:31:27 2017 +0300
Perform DCE pass before other DFA optimisations, to properly reconstruct "no value" use-def chains.
commit a651564f299e3b413af1146149de0d7eec0dfb28
Merge: 06f6eb0 2722dbf
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 18:55:05 2017 +0300
Merge branch 'sccp' into dce
* sccp:
Resources should be closed during object destructioin, not during freeing.
Guard against AppVeyor losing deps issue
increase poll timeout as false positives mitigation
Value of EG(user_exception_handler) should't relive request boundary
sodium ext: remove function names before exception messages
sodium ext: update the crypto_kx_*() API to the libsodium one
Revert "fix macro redifinitions"
commit 2722dbfdf54702c8b429ed792e96f91219031eb6
Merge: 6595ea3 09d3b73
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 18:54:48 2017 +0300
Merge branch 'master' into sccp
* master:
Resources should be closed during object destructioin, not during freeing.
Guard against AppVeyor losing deps issue
increase poll timeout as false positives mitigation
Value of EG(user_exception_handler) should't relive request boundary
sodium ext: remove function names before exception messages
sodium ext: update the crypto_kx_*() API to the libsodium one
Revert "fix macro redifinitions"
commit 06f6eb0e6877d8b26c621f5627587539ebcc781f
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 14:52:28 2017 +0300
Use zend_ssa_is_no_val_use() instead of zend_has_improper_op1_use()
commit 4b64dbb30d519be359c44ad4f3802e93a7f5fa65
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 13:07:14 2017 +0300
Check if instruction may throw exception only for instructions without known side effects.
Always disable removing ASSIGN and UNSET_VAR that may throw.
commit c5aa1f47cd16290c77fb988504dc0dd8bad242a3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 11:21:07 2017 +0300
Use existing bit
commit c2af153baea6e05401f78a856a8ae436e5f37bf9
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 11:10:48 2017 +0300
Updated Windows build
commit de5e8fc12971e55c81b0768daa96adcd6074038e
Merge: 8c0de53 6595ea3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 11:10:12 2017 +0300
Merge branch 'sccp' into dce
* sccp: (29 commits)
Use existing bit
Updated Windows build
Fixed compilation error
Remove debug code
We need to check for the length here too, or we crash and no one likes that! :(
* Implemented #65187 (exif_read_data/thumbnail: add support for stream resource) * ext/exif now uses FAST_ZPP
Remove extraneous configure flag
Revert "remove excessive checks and fix warnings"
parametrize zip names
Upgrade bundled PCRE to 8.41
Updated NEWS file with LDAP changes
Fixed removing all controls by passing an empty array to ldap_set_option
Filled in NEWS file with ext/ldap last modifications
change order, allow to build as shared extension
restore file deleted by mistake in a merge commit
Fix segfault in php_stream_context_get_option call
remove excessive checks and fix warnings
fix macro redifinitions
fix symbol availability and ws
Remove this for now, as not found
...
commit 6595ea3420b686d1bfe49fbd5893b6a42115c60b
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 10:27:02 2017 +0300
Use existing bit
commit f0bfd36cb822dbbe28df827a53a2ed96aa61051f
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 10:21:22 2017 +0300
Updated Windows build
commit a9bd7c89f28cf99933a4d3d026a6da5f5e3ca0f7
Merge: d1eb5ed 2b7d3fb
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 12 09:51:32 2017 +0300
Merge branch 'master' into sccp
* master: (27 commits)
Fixed compilation error
Remove debug code
We need to check for the length here too, or we crash and no one likes that! :(
* Implemented #65187 (exif_read_data/thumbnail: add support for stream resource) * ext/exif now uses FAST_ZPP
Remove extraneous configure flag
Revert "remove excessive checks and fix warnings"
parametrize zip names
Upgrade bundled PCRE to 8.41
Updated NEWS file with LDAP changes
Fixed removing all controls by passing an empty array to ldap_set_option
Filled in NEWS file with ext/ldap last modifications
change order, allow to build as shared extension
restore file deleted by mistake in a merge commit
Fix segfault in php_stream_context_get_option call
remove excessive checks and fix warnings
fix macro redifinitions
fix symbol availability and ws
Remove this for now, as not found
fix authors
NEWS for Sodium
...
commit 8c0de53e5f599c83fa03c78931527ab4ff14cf93
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 21:54:36 2017 +0300
Initial integration of Dead Code Elimination (DCE) and unused variable removing passes, originally developed in https://github.com/nikic/php-src/tree/opt , into DFA optimization pass.
commit d1eb5ede3a2b9a0bf57e06783f7913a6383f5d6d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 12:19:11 2017 +0300
Proper SSA reconstruction for "$a = $a;"
commit 4872d139b55c22c2325459dba0ee557c708567b5
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 11:57:33 2017 +0300
Replace conditions, that should be always true, by ZEND_ASSERT()
commit 9915b1f5cd2bdd92d0cc5e90244a90fbef06740b
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 11:56:51 2017 +0300
Fixed pass name
commit d26ff1b88d3b3b1e8742f2e7812ae5e2531958a6
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 11:55:47 2017 +0300
Don't create identical predecessors
commit 0625fbe32bd66b7bcca29e65b131f0cfccd3e074
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 09:36:07 2017 +0300
Update unreachable blocks.
commit 9d7d409e6abda5c2e13458f01b8133095fb68531
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 09:28:49 2017 +0300
Keep consistent cfg.map[]
commit 85a86e58b220eaf2012f652b97fbeb2d2f85646d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 02:36:14 2017 +0300
Remove unusded phi
commit d5e0f2df4c76656bbe5973e69e12e1b7415de5ee
Author: Dmitry Stogov <dmitry@zend.com >
Date: Tue Jul 11 02:35:00 2017 +0300
Don't clear phi->spources[] too early.
commit a90ed34295a0bab09c00bb7001a368a858a38399
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 21:29:39 2017 +0300
Make SCCP to remove dead live ranges.
commit 320237f3d84b872dfa096b9a604ae4d5b4d28c8e
Merge: 63bbed5 7be2637
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 17:35:21 2017 +0300
Merge branch 'master' into sccp
* master:
Fixed memory leak introduced by 7cb5bdf64a
eliminate casts
remove checks for eol dependencies
improve test
Small fix in ext/ldap, Moved vars definitions to the beginning of the block using them
ZipArchive implements countable, added ZipArchive::count() method
commit 63bbed5e71432d14217b591de511f09937a3c00c
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 17:01:15 2017 +0300
Evaluation of few more constant functions
commit 07f45d8a3dbfa67bc28c9ef4bb14c753816f4e44
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 16:22:47 2017 +0300
Properly unlinking dead blocks from predecessors/successors and dominators
commit 502002aa6e11452ed27829f7e29604b27fc69ad2
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 13:33:14 2017 +0300
Replacel constant JMPZ/NZ/ZNZ by JMP or NOP
commit 3253e61b66b3aa324115ec57ff1cb271ca27dc14
Merge: e7f69f0 161c378
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 12:22:39 2017 +0300
Merge branch 'master' into sccp
* master:
Revert "Fixed bug #74878 "
Upgrading note for #74837
Fixed bug #74837 - NEWS
Implement Countable for DomNodeList and DOMNamedNodeMap (Request #74837 )
Fix #49649 - Handle property visibility changes on unserialization
commit e7f69f07fc649692218d01dab34b8f8555a6f88c
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 12:15:08 2017 +0300
Prevent compile-time evaluation of implode() with arguments causing run-time warnings
commit 0e882f189a01b6ee648420776fb473c1efd22380
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 11:54:04 2017 +0300
Constant evaluation of ini_get() for some safe cases
commit 9e36a748b28850bd15ac621879e1d28ed8e36169
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 11:13:37 2017 +0300
Constant evaluation of implode()
commit e73046e266617ae23caa7f40344fc6e8e41e3c56
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 10:51:23 2017 +0300
Fixed uninitialized value
commit f5e2e8e68cc46cfc1380d000672d01b243ad7f59
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 10:05:37 2017 +0300
Remove (compact) unused constants after SCCP pass
commit f0b7bb86ebe93373a02ef36029f76239ba9ec1d4
Merge: e69d4f6 cfacf84
Author: Dmitry Stogov <dmitry@zend.com >
Date: Mon Jul 10 09:10:00 2017 +0300
Merge branch 'master' into sccp
* master: (37 commits)
#73594 tests only check the extra params if dns_get_record is successful
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
fix uninitialized var
fix comparison warning
comply with POSIX signature
fix warning
remove some casts
cleanup casts
remove useless cast
eliminate casts
sync vim mode lines in main
[ci skip] update NEWS
[ci skip] update NEWS
[ci skip] update NEWS
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
Silent compiler warning
Fix test
Deprecated the read_exif_data() alias
Add myself as exif maintainer
update libs versions
...
commit e69d4f61409c473ae36d85c3779ad5f786fecdc0
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 12:51:41 2017 +0300
Avoid in-place modification of referenced data
commit 58f7c17978dec7b5fe6fe80b4efc55e2168bab61
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 12:33:24 2017 +0300
Use arena for temporary data.
commit 93d3e7ddc22f1bc7323abae2256b0b50bc1f8b29
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 11:54:47 2017 +0300
Made sccp_ctx to be an "extension" of scdf_ctx and remove duplicate data.
commit f810c6f7c47b03412c61878b761e1bb687fbcf28
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 11:20:48 2017 +0300
Improved SSCP integration
commit d17ed887f304af0f6ccba76a3dbfca888867ea01
Merge: d90805a 29653da
Author: Dmitry Stogov <dmitry@zend.com >
Date: Fri Jul 7 10:22:37 2017 +0300
Merge branch 'master' into sccp
* master:
Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()).
Fixed bug #72324 (imap_mailboxmsginfo() return wrong size)
Fix redefine warnings
Expand sb's name and capitalize my own
Write the URL on a new line, so that it is easier copyable
commit d90805a40bd5d75d197f7b95c69680f636932868
Merge: 2e5e03b fc336c7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 23:07:04 2017 +0300
Merge branch 'master' into sccp
* master:
Added missed dump of "main" script code
replace the stack var by a macro
[ci skip] sync NEWS
minor fix for web announce
add missing NEWS entry for #74087 and also fix the formatting
move NEWS entry to the correct place, also bump the version
commit 2e5e03b673cb86ee0fa6be06496553fa6b8c52e7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 23:03:41 2017 +0300
Call info should be removed, but at least we should prevent incorrect stack adjustment.
commit 1ee9110b35eab79f74d08278c104c92796740fa7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 19:34:43 2017 +0300
Remove NOP instructions, introduced bvy SCCP.
This commit discloses unrelated issue caused ext/soap/tests/bug70211.phpt failure.
commit 9a2f50070d1afde8ee4784a1dade2537e1ac30d5
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 16:34:02 2017 +0300
Avoid useless iterations for first SSA variablesi, always marked BOT.
commit c57dd7c6efb98c89a8c87af0eaad76b71c9cda16
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 16:33:46 2017 +0300
Use reference-counting
commit 90f822d68ef1cb68befa3fff289c9e8d1b2068c8
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 14:00:22 2017 +0300
Support for few more opcodes
commit cffee2f7e5bb4198e645e291fafe5690443cf26c
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 12:35:13 2017 +0300
Combined constants substitutaion and dead instruction removing in single pass. This eleminates substitution in dead instructions.
commit f890375c16052a9d79bf77c9021914cb9c6616f8
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 10:34:48 2017 +0300
Use reference-counting instead of duplication
commit db0cd64dfa7a2ff809b49a049074b5fa39d37314
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 03:04:27 2017 +0300
Improved SCDF<->SCCP interface
- "get_feasible_successors" callback is changed into "mark_feasible_successors" and should mark necessary edges through scdf_mark_edge_feasible()
- SCDF takes care about OP_DATA instruction
- SCDF code is re-arranged to avoid repeatable checks
commit e0ad5dd48942c71033fad985c591549a35c21ef3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 00:55:40 2017 +0300
Changed representation of "feasible_edges", using one bit per edge.
commit afee3138fe49588b3967f54bf66375f880a51924
Author: Dmitry Stogov <dmitry@zend.com >
Date: Thu Jul 6 00:49:56 2017 +0300
Revert "Don't propagate unused values"
This reverts commit 84e5bfd4304d34e3a7107db71783882013f8de59.
commit 84e5bfd4304d34e3a7107db71783882013f8de59
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 23:39:42 2017 +0300
Don't propagate unused values
commit d4f15b95061a8a2303d90e6e54effeb9733f90b7
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 23:39:10 2017 +0300
Don't visit the same Phi twice
commit 2558311b4d530fb84539db304d03dfeba5eda789
Merge: 722a59d 7bb4ae5
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 21:51:06 2017 +0300
Merge branch 'master' into sccp
* master:
Fixed final dump "after optimizer"
commit 722a59ddb12e641aea99ca8853ef921c4fdf9819
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 21:09:29 2017 +0300
SCCP doesn't support VERIFY_RETURN_TYPE (ext/opcache/tests/bug73789.phpt failure)
commit 7084fade4dcb74415f0644d8e207f0fab6c6509d
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 20:37:21 2017 +0300
Fixed SSA reconstruction
commit 37ec4e0845a5b25fe2b523452d32dba22605d2e3
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 19:34:46 2017 +0300
Disable constant propagation for variables that can be modified indirectly
commit 4bb9b6526e44c2f324f9a7c08890ab9bdedd639c
Merge: 6800460 73d5097
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 19:17:04 2017 +0300
Merge branch 'master' into sccp
* master: (43 commits)
Keep information about SSA variables, that may be modified indirectly.
Added constants for known ldap controls OID and tests for ldap_get/set_option for controls
Added support for controls to ldap_get_option
[ci skip] sync NEWS
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
valid_symbol_table removed
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
...
commit 680046086c17b938e0288fca820668a183b86834
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 16:14:38 2017 +0300
Support for few more internal functions evaluation
commit 74a29468ef14260ea3c210a2d1e3548806c81339
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 13:42:55 2017 +0300
Disabled evaluation of strpos() with empty needle.
commit e8908946e52127727da9f0dd22a053befe8bf848
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 13:17:30 2017 +0300
Replace calls to in_array() with constant array by IN_ARRAY instruction after SCCP.
commit 4e8fa2c3dd087a49ba90a3ef8231cc81f0399548
Author: Dmitry Stogov <dmitry@zend.com >
Date: Wed Jul 5 00:58:12 2017 +0300
Initial integration of Sparse Conditional Constant Propagation (SCCP), originally developed in https://github.com/nikic/php-src/tree/opt , into DFA optimization pass.
2017-07-14 14:33:34 +03:00
Anatol Belski
b5fd99b636
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74923 Crash when crawling through network share
2017-07-14 13:24:21 +02:00
Anatol Belski
5d15fdc4a4
Fixed bug #74923 Crash when crawling through network share
2017-07-14 13:23:24 +02:00
Christopher Jones
b280ba854a
Merge branch 'PHP-7.1'
2017-07-14 14:14:10 +10:00
Christopher Jones
3b60af90fd
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-14 14:13:33 +10:00
Christopher Jones
c1504b81d3
Bump OCI8 version for recent patch
2017-07-14 14:13:08 +10:00
Kalle Sommer Nielsen
4d684a6cd7
WS
2017-07-14 03:42:15 +02:00
Kalle Sommer Nielsen
333c362178
Fix test title
2017-07-14 02:02:25 +02:00
Kalle Sommer Nielsen
997e2e5452
Ensure that the stream position is kept between reads
2017-07-14 01:59:23 +02:00
Kalle Sommer Nielsen
f7d9f6456c
Turn off EXIF_DEBUG so Travis don't complain at me
2017-07-14 01:18:58 +02:00
Kalle Sommer Nielsen
bf7f6f9078
Don't add a new line to undefined tags in EXIF_DEBUG mode
2017-07-14 01:17:34 +02:00
Kalle Sommer Nielsen
9cf586cdfb
Fix compile error with EXIF_DEBUG
2017-07-14 01:12:00 +02:00
Anatol Belski
89eb27a99c
update NEWS
2017-07-13 21:08:13 +02:00
Anatol Belski
9ce076a3d1
disable --with-pcre-valgrind on travis
2017-07-13 20:28:44 +02:00
Anatol Belski
24de0fe9f4
fix default args for --with-pcre-valgrind
2017-07-13 20:28:10 +02:00
Frank Denis
aa32d989c7
sodium ext: remove unused sodium_randombytes_*() prototypes
2017-07-13 18:59:58 +02:00
Anatol Belski
850bb998d9
Enable valgrind support for PCRE by default in debug builds
...
Thanks Nikita for the hint.
2017-07-13 18:38:28 +02:00
Anatol Belski
1e2764614b
add oniguruma.patch to ease future upgrades
2017-07-13 17:34:14 +02:00
Lior Kaplan
c2c60fcac7
SIZEOF_SIZE_T doesn't exist on AIX and POWER8 (ppc64le), keep using SIZEOF_LONG
2017-07-13 18:05:47 +03:00
Anatol Belski
5fb2abd6b0
fix fold
2017-07-13 14:33:49 +02:00
Francois Laupretre
0782a7fc63
Fixed bug #74866 extension_dir = "./ext" now use current directory for base
2017-07-13 14:27:19 +02:00
Anatol Belski
613102bd67
add next vc15 toolset to the list
2017-07-13 12:20:34 +02:00
Anatol Belski
bc16deee83
Revert "Enable whole program optimization for builds without PGO, too"
...
This reverts commit f052e99df6 .
There appear to be link issues with upcoming 19.11 and /LTCG, prefer
wider dependency compatibility.
2017-07-13 12:20:34 +02:00
Anatol Belski
d9f72886aa
extend comment
2017-07-13 12:20:34 +02:00
Anatol Belski
1300017cdc
cleanup discontinued target
2017-07-13 08:18:50 +02:00
Frank Denis
b071fcb81d
sodium ext: add bindings for keygen() functions
...
This is the recommended way to generate keys correctly for all operations
using a single key, since libsodium 1.0.12.
2017-07-12 23:29:48 +02:00
Frank Denis
8e8fbf51f7
sodium ext: sort prototypes
2017-07-12 23:06:43 +02:00
Dmitry Stogov
09d3b7386c
Resources should be closed during object destructioin, not during freeing.
2017-07-12 18:53:16 +03:00
Anatol Belski
b41d715511
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Guard against AppVeyor losing deps issue
2017-07-12 15:40:33 +02:00
Anatol Belski
91aad4bc81
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Guard against AppVeyor losing deps issue
2017-07-12 15:40:00 +02:00
Anatol Belski
2f606dc5e8
Guard against AppVeyor losing deps issue
...
Possibly due to concurrent build cache updates or some changes in
the remote image. Some locking mechanism still could be required.
2017-07-12 15:37:40 +02:00
Anatol Belski
bfa3df0048
Merge branch 'PHP-7.1'
...
* PHP-7.1:
increase poll timeout as false positives mitigation
2017-07-12 14:50:36 +02:00
Anatol Belski
8b04e89ef0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
increase poll timeout as false positives mitigation
2017-07-12 14:49:58 +02:00
Anatol Belski
04cc2f6473
increase poll timeout as false positives mitigation
2017-07-12 14:38:12 +02:00
Dmitry Stogov
43e283fd64
Value of EG(user_exception_handler) should't relive request boundary
2017-07-12 15:37:12 +03:00
Frank Denis
a5258ed645
sodium ext: remove function names before exception messages
2017-07-12 08:48:09 +01:00
Frank Denis
6ac6d2c64a
sodium ext: update the crypto_kx_*() API to the libsodium one
...
The crypto_kx API initially present in the PHP bindings was a prototype
that was not part of libsodium.
This implements the one from libsodium >= 1.0.12.
We can later leverage the native libsodium functions if we decide that
1.0.12 is the minimum version we want to support.
2017-07-12 08:25:38 +01:00
Frank Denis
dfac71d096
Revert "fix macro redifinitions"
...
This reverts commit cbbf579f21 .
2017-07-12 08:25:35 +01:00
Dmitry Stogov
2b7d3fb45f
Fixed compilation error
2017-07-12 09:46:22 +03:00
Kalle Sommer Nielsen
7845182edd
Remove debug code
2017-07-12 06:12:07 +02:00
Kalle Sommer Nielsen
363bb03b7e
We need to check for the length here too, or we crash and no one likes that! :(
2017-07-12 06:11:14 +02:00
Kalle Sommer Nielsen
969eb8345b
* Implemented #65187 (exif_read_data/thumbnail: add support for stream resource)
...
* ext/exif now uses FAST_ZPP
2017-07-12 05:43:50 +02:00
Sara Golemon
bf0f769d58
Remove extraneous configure flag
...
--with-sodium --with-libsodium[=DIR] is inconsistent with
existing extensions. Unify these into a single
--with-sodium[=DIR] option
2017-07-11 22:12:58 -04:00
Anatol Belski
d1ee66655b
Revert "remove excessive checks and fix warnings"
...
This reverts commit c620daecb4 .
2017-07-11 23:13:22 +02:00
Anatol Belski
2b37da9eda
parametrize zip names
...
simplify names
2017-07-11 21:45:49 +02:00
Anatol Belski
8a287c0ea0
Upgrade bundled PCRE to 8.41
...
HEADSUP! With PCRE 8.39 the JIT related code was changed in the way,
that additional valgrind options became almost unavoidable. Valgrind
had it already sometimes hard with JIT, now there are seem to be more
cases requiring special valgrind options.
For this reason, the new configure option --with-pcre-valgrind was
introduced. The option is development/debugging only and turns on the
Valgrind related pieces in PCRE, so then false positives are avoided
to the big part. In addition, run-tests.php was added a new valgrind
option, when the leak check is enabled and the test filepath contains
pcre.
Thus, to debug the code related to PCRE with JIT enabled, two things
would likely make sense
- configure --with-pcre-valgrind
- valgrind option --smc-check=all if run-tests.php is not used
The checks so far reveal no new issues.
2017-07-11 17:01:59 +02:00
Côme Chilliet
9bcd93201f
Updated NEWS file with LDAP changes
...
Also fixed wording: bug -> feature request for EXOP
2017-07-11 16:23:21 +02:00
Côme Chilliet
a148ee8c7c
Fixed removing all controls by passing an empty array to ldap_set_option
2017-07-11 16:18:33 +02:00
Côme Chilliet
4219ca966e
Filled in NEWS file with ext/ldap last modifications
2017-07-11 13:53:46 +02:00
Remi Collet
249f75e7e4
change order, allow to build as shared extension
2017-07-11 13:53:06 +02:00
Remi Collet
d5f7e01f7c
restore file deleted by mistake in a merge commit
2017-07-11 13:07:51 +02:00
Remi Collet
2458dce3e5
Fix segfault in php_stream_context_get_option call
2017-07-11 11:41:47 +02:00
Anatol Belski
c620daecb4
remove excessive checks and fix warnings
2017-07-11 11:03:09 +02:00
Anatol Belski
cbbf579f21
fix macro redifinitions
2017-07-11 10:01:37 +02:00
Anatol Belski
8cfe479d1f
fix symbol availability and ws
2017-07-11 09:54:36 +02:00
Remi Collet
90b2cecbaa
Remove this for now, as not found
...
"E: Unable to locate package libsodium-dev"
2017-07-11 07:52:28 +02:00
Remi Collet
d269aa2003
fix authors
2017-07-11 07:43:56 +02:00
Remi Collet
c229ab587c
NEWS for Sodium
2017-07-11 07:41:43 +02:00
Remi Collet
ae96c7f48f
fix CREDITS file
2017-07-11 07:30:22 +02:00
Paragon Initiative Enterprises
5cfa26c181
Squashed commit - Add ext/sodium
...
RFC: https://wiki.php.net/rfc/libsodium
Licensing: https://web.archive.org/web/20170710161517/https://github.com/jedisct1/libsodium-php/issues/127
2017-07-11 07:25:50 +02:00
Anatol Belski
da2583b193
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update NEWS
update NEWS
2017-07-10 22:50:53 +02:00
Anatol Belski
82acb58d8a
update NEWS
2017-07-10 22:50:34 +02:00
Anatol Belski
3da01a9652
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-07-10 22:50:20 +02:00
Anatol Belski
3bcab31749
update NEWS
2017-07-10 22:49:55 +02:00
Anatol Belski
215bf24f01
Merge branch 'PHP-7.1'
...
* PHP-7.1:
switch to next binary tools sdk version
2017-07-10 21:47:07 +02:00
Anatol Belski
be531ce9f0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to next binary tools sdk version
2017-07-10 21:45:43 +02:00
Anatol Belski
b47cff48de
switch to next binary tools sdk version
2017-07-10 21:44:43 +02:00
Anatol Belski
07c7445dd0
fix datatype
2017-07-10 17:34:58 +02:00
Anatol Belski
ad25234350
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Revert "Add more constants, improve comments, and add tests"
2017-07-10 17:02:32 +02:00
Anatol Belski
7360e6a36f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Add more constants, improve comments, and add tests"
2017-07-10 17:01:25 +02:00
Anatol Belski
a797421e98
Revert "Add more constants, improve comments, and add tests"
...
This reverts commit 0c4f11ecaa .
2017-07-10 16:53:56 +02:00
Dmitry Stogov
7be2637dce
Fixed memory leak introduced by 7cb5bdf64a
2017-07-10 17:34:30 +03:00
Anatol Belski
2283b6ff53
eliminate casts
2017-07-10 15:48:54 +02:00
Anatol Belski
e0809fe62d
remove checks for eol dependencies
...
yet one leftower, only FreeTDS is usable at the moment
2017-07-10 15:00:16 +02:00
Anatol Belski
b6ae363338
Merge branch 'PHP-7.1'
...
* PHP-7.1:
improve test
2017-07-10 13:50:53 +02:00
Anatol Belski
fd08eaa8bc
improve test
2017-07-10 13:49:44 +02:00
Côme Chilliet
ed8bfcc6ea
Small fix in ext/ldap, Moved vars definitions to the beginning of the block using them
2017-07-10 11:33:08 +02:00
Remi Collet
569d164c4a
ZipArchive implements countable, added ZipArchive::count() method
2017-07-10 11:31:55 +02:00
Dmitry Stogov
161c378cc8
Revert "Fixed bug #74878 "
...
This reverts commit 9069734b57 .
2017-07-10 12:21:58 +03:00
Remi Collet
5369006edf
Upgrading note for #74837
2017-07-10 08:55:41 +02:00
Remi Collet
6f97fb47ca
Fixed bug #74837 - NEWS
2017-07-10 08:50:38 +02:00
Andreas Treichel
f725d9b1b9
Implement Countable for DomNodeList and DOMNamedNodeMap (Request #74837 )
2017-07-10 08:48:10 +02:00
Pedro Magalhães
7cb5bdf64a
Fix #49649 - Handle property visibility changes on unserialization
2017-07-10 07:27:09 +01:00
Joe Watkins
cfacf84dc1
Merge branch 'PHP-7.1'
...
* PHP-7.1:
#73594 tests only check the extra params if dns_get_record is successful
2017-07-10 06:56:03 +01:00
Joe Watkins
de32c9efc8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
#73594 tests only check the extra params if dns_get_record is successful
2017-07-10 06:55:53 +01:00
Pedro Magalhães
2689917b17
#73594 tests only check the extra params if dns_get_record is successful
2017-07-10 06:55:31 +01:00
Joe Watkins
bad55a72ab
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
2017-07-10 06:54:24 +01:00
Joe Watkins
ccd0ff3ac4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
2017-07-10 06:53:59 +01:00
jhdxr
5cf54f6073
Fixed bug #74852 (property_exists returns true on unknown DateInterval property)
2017-07-10 06:53:22 +01:00
Anatol Belski
e24a8012a0
fix uninitialized var
2017-07-09 17:54:46 +02:00
Anatol Belski
a51cb393b1
fix comparison warning
2017-07-09 16:28:17 +02:00
Anatol Belski
ba5df1c682
comply with POSIX signature
2017-07-09 16:23:31 +02:00
Anatol Belski
8d0d326ff9
fix warning
2017-07-09 16:05:36 +02:00
Anatol Belski
72b0a3a892
remove some casts
2017-07-09 15:47:01 +02:00
Anatol Belski
84079f4a1e
cleanup casts
2017-07-09 15:31:05 +02:00
Anatol Belski
e403acc74b
remove useless cast
2017-07-09 15:15:17 +02:00
Anatol Belski
aaf09f7bdf
eliminate casts
2017-07-09 15:11:02 +02:00
Anatol Belski
384f0f8a4c
sync vim mode lines in main
2017-07-09 15:07:23 +02:00
Anatol Belski
e870edb1ee
[ci skip] update NEWS
2017-07-09 15:05:44 +02:00
Anatol Belski
2409aac896
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] update NEWS
[ci skip] update NEWS
2017-07-09 15:03:07 +02:00
Anatol Belski
7938b9ccac
[ci skip] update NEWS
2017-07-09 15:02:40 +02:00
Anatol Belski
e89476a870
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-07-09 15:02:03 +02:00
Anatol Belski
62700f76cb
[ci skip] update NEWS
2017-07-09 15:01:37 +02:00
Anatol Belski
176b45fa3a
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-09 01:32:07 +02:00
Anatol Belski
02cc492015
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-09 01:31:25 +02:00
Anatol Belski
b5338c0b7d
Fixed bug #74883 SQLite3::__construct() produces "out of memory" exception with invalid flags
2017-07-08 23:52:22 +02:00
Kalle Sommer Nielsen
7bb696dc49
Silent compiler warning
2017-07-08 19:05:28 +02:00
Kalle Sommer Nielsen
38d019979e
Fix test
2017-07-08 18:01:51 +02:00
Kalle Sommer Nielsen
ba28d75c2c
Deprecated the read_exif_data() alias
2017-07-08 15:02:05 +02:00
Kalle Sommer Nielsen
5c6e0b189e
Merge branch 'master' of git.php.net:/php-src
2017-07-08 13:52:00 +02:00
Kalle Sommer Nielsen
b1fd08d94c
Add myself as exif maintainer
2017-07-08 13:51:36 +02:00
Anatol Belski
0acb6d1ae2
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update libs versions
Fix NEWS entry location
Fix NEWS entry location
news entry for 74819
news entry for 74651
news entry for 74111
news entry for 74435
news entry for 74603
2017-07-08 13:42:47 +02:00
Anatol Belski
b38de96733
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update libs versions
2017-07-08 13:42:10 +02:00
Anatol Belski
0fdceb6cd5
update libs versions
2017-07-08 13:41:50 +02:00
Kalle Sommer Nielsen
106386dd98
Fixed file name for case sensitive file systems
2017-07-08 03:34:30 +02:00
Kalle Sommer Nielsen
469206c84e
Added test case for bug #73115 which was fixed by recently fixed bugs
2017-07-08 03:30:46 +02:00
Nikita Popov
9069734b57
Fixed bug #74878
2017-07-07 22:41:48 +02:00
Kalle Sommer Nielsen
134047dfde
We currently don't use the guessing code, so don't compile it
2017-07-07 12:23:24 +02:00
Kalle Sommer Nielsen
e6903d471e
* Fixed bug #72819 (EXIF thumbnails not read anymore)
...
* Fixed bug #62523 (php crashes with segfault when exif_read_data called)
* Fixed the poor test case for #62523 , which was a HTML document
Fixing #72819 had the side effect of fixing #62523 by supporting the format as seen in bug62523_1.phpt
2017-07-07 12:20:05 +02:00
Andrey Andreev
ce4e07e37d
Add missing NEWS entry, update UPGRADING
...
This was done back in January, but never noted in the NEWS file.
References:
https://github.com/php/php-src/pull/2312
https://github.com/php/php-src/pull/2321
2017-07-07 13:01:09 +03:00
Kalle Sommer Nielsen
babc3c522f
This should be EXPECT instead of EXPECTF
2017-07-07 11:31:31 +02:00
Kalle Sommer Nielsen
cd8d0aad7f
Fixed bug #50660 (exif_read_data(): Illegal IFD offset (works fine with other exif readers))
2017-07-07 11:29:23 +02:00
Kalle Sommer Nielsen
900ce92c9a
Fixed bug #74428 (exif_read_data(): "Illegal IFD size" warning occurs with correct exif format)
2017-07-07 10:20:02 +02:00
Anatol Belski
57432da0b9
fix command
2017-07-07 09:05:33 +02:00
Dmitry Stogov
29653da385
Fixed bug #74873 (Minor BC break: PCRE_JIT changes output of preg_match()).
2017-07-07 09:54:21 +03:00
Kalle Sommer Nielsen
5a991ea49b
Fixed bug #72324 (imap_mailboxmsginfo() return wrong size)
2017-07-07 08:18:33 +02:00
Kalle Sommer Nielsen
9507d14584
Fix redefine warnings
2017-07-07 08:08:25 +02:00
Kalle Sommer Nielsen
4be4a38d99
Expand sb's name and capitalize my own
2017-07-07 04:56:45 +02:00
Kalle Sommer Nielsen
c5f83f3426
Write the URL on a new line, so that it is easier copyable
2017-07-07 04:15:13 +02:00
Christopher Jones
0d3e6f6add
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-07 12:14:57 +10:00
Christopher Jones
5c96a255ea
Fix NEWS entry location
2017-07-07 12:14:12 +10:00
Christopher Jones
5ca02ca494
Fix NEWS entry location
2017-07-07 12:13:21 +10:00
Dmitry Stogov
fc336c78e7
Added missed dump of "main" script code
2017-07-06 23:06:11 +03:00
Anatol Belski
9ad0d0ca3c
replace the stack var by a macro
2017-07-06 20:47:04 +02:00
Remi Collet
9470b2016c
[ci skip] sync NEWS
2017-07-06 13:22:10 +02:00
Remi Collet
ec0ad331cd
minor fix for web announce
2017-07-06 12:34:00 +02:00
Joe Watkins
18eb78854c
news entry for 74819
2017-07-06 09:33:07 +01:00
Joe Watkins
700803b70c
news entry for 74651
2017-07-06 08:20:21 +01:00
Joe Watkins
739ecf5430
news entry for 74111
2017-07-06 08:06:11 +01:00
Joe Watkins
1af5ca0746
news entry for 74435
2017-07-06 08:03:17 +01:00
Joe Watkins
2928feca46
news entry for 74603
2017-07-06 08:02:00 +01:00
Ferenc Kovacs
b04b6b6a5b
Merge branch 'PHP-7.1'
2017-07-06 00:14:29 +02:00
Ferenc Kovacs
fb140d582c
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-06 00:13:24 +02:00
Ferenc Kovacs
af07b76ccf
Merge branch 'PHP-5.6' into PHP-7.0
2017-07-06 00:12:05 +02:00
Ferenc Kovacs
390f64701d
add missing NEWS entry for #74087 and also fix the formatting
2017-07-06 00:10:07 +02:00
Ferenc Kovacs
7991a88675
move NEWS entry to the correct place, also bump the version
2017-07-06 00:05:14 +02:00
Dmitry Stogov
7bb4ae59c3
Fixed final dump "after optimizer"
2017-07-05 21:48:01 +03:00
Dmitry Stogov
73d5097a9f
Merge branch 'master' of git.php.net:php-src
...
* 'master' of git.php.net:php-src:
Added constants for known ldap controls OID and tests for ldap_get/set_option for controls
Added support for controls to ldap_get_option
2017-07-05 19:16:26 +03:00
Dmitry Stogov
acffb7a080
Keep information about SSA variables, that may be modified indirectly.
2017-07-05 19:15:16 +03:00
Côme Chilliet
274d84139b
Added constants for known ldap controls OID and tests for ldap_get/set_option for controls
...
Also fixed existing tests which were expecting ldap_get_option to fail on controls
2017-07-05 16:41:52 +02:00
Côme Chilliet
3a09c1246c
Added support for controls to ldap_get_option
2017-07-05 16:41:52 +02:00
Anatol Belski
6164ec91c6
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] sync NEWS
2017-07-05 12:33:20 +02:00
Anatol Belski
489f3a3234
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] sync NEWS
2017-07-05 12:32:52 +02:00
Anatol Belski
aa3fceeaad
[ci skip] sync NEWS
2017-07-05 12:31:21 +02:00
Côme Chilliet
513bbba5cc
Merge branch 'pull-request/2608'
...
* pull-request/2608:
Test ldap_exop_passwd with less parameters to be sure it works
Changed API to avoid using passing result by reference
Removed unused variables left over by LDAP EXOP patch
Removed TSRMLS_CC instances left over by LDAP EXOP patch
Swapped position of retoid and retdata as retoid is almost never used
Removed two step syntax for EXOP helpers, one call workflow is enough
Improved ldap_exop test to encode&decode a passwd EXOP to test sending/recieving data
Removed TODOs regarding implementing passwd and whoami exops based on ldap_exop
Added constants for standard EXOPs
Removed ldap_refresh function as I’m not sure how to fix/use/test it
Fixed ldap_exop and ldap_parse_exop. Only tested them for whoami exop. (see test file)
Fixed ldap_parse_exop_whoami and ldap_parse_exop_passwd and added test for them
Fixed ldap_exop_whoami and added a test for it
Fixed ldap_exop_passwd and added tests for it
Fixed building errors in LDAP EXOP
Added EXOP features based on patch from http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/databases/php-ldap/files/ldap-ctrl-exop56.patch
2017-07-05 11:20:14 +02:00
Remi Collet
e1f1ee1eb5
Merge branch 'PHP-7.1'
...
* PHP-7.1:
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
2017-07-05 10:03:00 +02:00
Remi Collet
1e3b960ab5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
2017-07-05 10:02:42 +02:00
Remi Collet
8b1559b9f4
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
NEWS for oniguruma
Patch from the upstream git https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229) b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Patch from the upstream git https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Patch from the upstream git https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226) b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6 f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
2017-07-05 10:02:21 +02:00
Remi Collet
55b880070c
NEWS for oniguruma
2017-07-05 09:26:55 +02:00
Remi Collet
703be4f77e
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:26:06 +02:00
Remi Collet
27a743b82b
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/59 (CVE-2017-9229)
b690371bbf97794b4a1d3f295d4fb9a8b05d402d Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:57 +02:00
Remi Collet
bdf7393ddb
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:49 +02:00
Remi Collet
2693e52113
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:39 +02:00
Remi Collet
4e68b2c52b
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/55 (CVE-2017-9226)
b4bf968ad52afe14e60a2dc8a95d3555c543353a Modified for onig 5.9.6
f015fbdd95f76438cd86366467bb2b39870dd7c6 Modified for onig 5.9.6
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-07-05 09:25:27 +02:00
Remi Collet
8d1ae4e1c5
valid_symbol_table removed
2017-07-05 06:33:34 +02:00
Stanislav Malyshev
d75dbb0e31
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 21:23:16 -07:00
Stanislav Malyshev
0ba04f7737
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Improve fix for #74145
Fix wddx
Fix tests
Fixed bug #74111
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 21:18:10 -07:00
Stanislav Malyshev
54840f9c8f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Improve fix for #74145
2017-07-04 21:11:15 -07:00
Stanislav Malyshev
f269cdcd4f
Improve fix for #74145
2017-07-04 21:10:08 -07:00
Stanislav Malyshev
f76a6cd023
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix tests
2017-07-04 21:05:06 -07:00
Stanislav Malyshev
6b18d956de
Fix wddx
2017-07-04 20:19:34 -07:00
Stanislav Malyshev
e46d589624
Fix tests
2017-07-04 20:12:57 -07:00
Stanislav Malyshev
0496f5407f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update NEWS
Fix bug #74087
Fixed parsing of strange formats with mixed month/day and time strings
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
Fixed bug #74111
Fix #74435 : Buffer over-read into uninitialized memory
Fix bug #74603 - use correct buffer size
Fix bug #74651 - check EVP_SealInit as it can return -1
Update NEWS
Fix bug #73807
2017-07-04 19:44:51 -07:00
Nikita Popov
3a25a56a92
Fixed bug #74111
2017-07-04 19:38:42 -07:00
Stanislav Malyshev
0525574913
Fix bug #74603 - use correct buffer size
2017-07-04 19:35:56 -07:00
Stanislav Malyshev
73cabfedf5
Fix bug #74651 - check EVP_SealInit as it can return -1
2017-07-04 19:30:56 -07:00
Stanislav Malyshev
12107d619b
Update NEWS
2017-07-04 19:30:29 -07:00
Stanislav Malyshev
f7f4fd4706
Fix bug #74087
...
Ported from https://vcs.pcre.org/pcre/code/trunk/pcre_jit_compile.c?r1=1676&r2=1680&view=patch
2017-07-04 19:21:28 -07:00
Derick Rethans
e8b7698f5e
Fixed parsing of strange formats with mixed month/day and time strings
2017-07-04 19:19:30 -07:00
Stanislav Malyshev
2aae60461c
Fix bug #74145 - wddx parsing empty boolean tag leads to SIGSEGV
2017-07-04 19:06:42 -07:00
Nikita Popov
f8c514ba6b
Fixed bug #74111
2017-07-04 19:06:16 -07:00
Christoph M. Becker
8dc4f4dc9e
Fix #74435 : Buffer over-read into uninitialized memory
...
The stack allocated color map buffers were not zeroed before usage, and
so undefined palette indexes could cause information leakage.
2017-07-04 19:00:57 -07:00
Stanislav Malyshev
5f8380d33e
Fix bug #74603 - use correct buffer size
2017-07-04 19:00:03 -07:00
Stanislav Malyshev
89637c6b41
Fix bug #74651 - check EVP_SealInit as it can return -1
2017-07-04 12:32:06 -07:00
Nikita Popov
8e0ddc89fe
Drop duplicate dtors in update_opN
...
Per new convention update_opN should no longer dtor on failure.
2017-07-04 21:23:34 +02:00
Nikita Popov
3f8ceb6f05
Drop useless allocation in php_filter_callback
2017-07-04 21:11:22 +02:00
Nikita Popov
8126599670
Drop dead abstract method check from zend_call_function()
...
zend_is_callable() is responsible for doing these kinds of checks
already.
Aldro drop a piece of obsolete commented out code.
2017-07-04 21:11:22 +02:00
Remi Collet
1be0563087
Merge branch 'PHP-7.1'
...
* PHP-7.1:
Adapt for 32-bits which fails at different offset (49 vs 38)
2017-07-04 20:27:10 +02:00
Remi Collet
1fa8e74d6e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Adapt for 32-bits which fails at different offset (49 vs 38)
2017-07-04 20:26:53 +02:00
Remi Collet
4b38feabe7
Adapt for 32-bits which fails at different offset (49 vs 38)
2017-07-04 20:25:59 +02:00
Anatol Belski
bc5811f361
further sync for vim mode lines
2017-07-04 18:12:45 +02:00
Anatol Belski
6a3a2bf18e
vim folds and mode lines yet
2017-07-04 17:06:52 +02:00
Anatol Belski
a0203ea143
fix datatype
2017-07-04 16:41:29 +02:00
Anatol Belski
8bf7246310
Merge branch 'PHP-7.1'
...
* PHP-7.1:
fix datatype
2017-07-04 16:41:05 +02:00
Anatol Belski
41ba98f02d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix datatype
2017-07-04 16:38:12 +02:00
Anatol Belski
a29264eb8c
fix datatype
2017-07-04 16:37:17 +02:00
Anatol Belski
bae668ee2a
add missing include guards
2017-07-04 16:21:45 +02:00
Anatol Belski
a56700043e
vim folds and modelines
2017-07-04 16:08:48 +02:00
Dmitry Stogov
0965a4ef9f
Check for exceptional cases before actual constant evaluation.
2017-07-04 16:09:28 +03:00
Dmitry Stogov
6276268b77
Separate constants propagation code shatred between "first" and "block" passes into helper functions.
2017-07-04 15:10:33 +03:00
Anatol Belski
816669af0c
Merge branch 'PHP-7.1'
...
* PHP-7.1:
[ci skip] sync NEWS
2017-07-04 12:15:19 +02:00
Anatol Belski
396c0f7a76
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] sync NEWS
2017-07-04 12:14:50 +02:00
Anatol Belski
4903f044d3
[ci skip] sync NEWS
2017-07-04 12:12:51 +02:00
Remi Collet
1605f5b8c4
Update NEWS for 7.2.0beta1
2017-07-04 11:35:39 +02:00
Remi Collet
8fa1f15e2d
Update NEWS for PHP 7.2.0alpha3
2017-07-04 11:35:39 +02:00
Anatol Belski
cae6767f8d
update NEWS
2017-07-04 11:31:35 +02:00
Anatol Belski
ff79b2070f
Merge branch 'PHP-7.1'
...
* PHP-7.1:
update NEWS
update NEWS
2017-07-04 11:31:09 +02:00
Anatol Belski
6f78923d1f
update NEWS
2017-07-04 11:30:30 +02:00
Anatol Belski
04904333fd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-07-04 11:29:54 +02:00
Anatol Belski
ce64b82ebb
update NEWS
2017-07-04 11:29:00 +02:00
Côme Chilliet
209c9ba384
Test ldap_exop_passwd with less parameters to be sure it works
2017-07-04 10:17:41 +02:00
Côme Chilliet
3207747b9e
Changed API to avoid using passing result by reference
...
See discussion on internals ML
2017-07-04 10:03:27 +02:00
Côme Chilliet
13062efd02
Removed unused variables left over by LDAP EXOP patch
2017-07-03 12:23:34 +02:00
Côme Chilliet
e05d230e52
Removed TSRMLS_CC instances left over by LDAP EXOP patch
2017-07-03 12:08:24 +02:00
Côme Chilliet
bda80aa332
Swapped position of retoid and retdata as retoid is almost never used
2017-07-03 10:58:13 +02:00
Côme Chilliet
e9001cab46
Removed two step syntax for EXOP helpers, one call workflow is enough
2017-07-03 10:58:13 +02:00
Côme Chilliet
5020325a6f
Improved ldap_exop test to encode&decode a passwd EXOP to test sending/recieving data
2017-07-03 10:58:13 +02:00
Côme Chilliet
413e9c84f6
Removed TODOs regarding implementing passwd and whoami exops based on ldap_exop
2017-07-03 10:58:13 +02:00
Côme Chilliet
9aa99cc34c
Added constants for standard EXOPs
2017-07-03 10:58:13 +02:00
Côme Chilliet
4652c46245
Removed ldap_refresh function as I’m not sure how to fix/use/test it
2017-07-03 10:58:13 +02:00
Côme Chilliet
e832ce4b22
Fixed ldap_exop and ldap_parse_exop. Only tested them for whoami exop. (see test file)
2017-07-03 10:58:13 +02:00
Côme Chilliet
28530b2f1c
Fixed ldap_parse_exop_whoami and ldap_parse_exop_passwd and added test for them
2017-07-03 10:58:13 +02:00
Côme Chilliet
fdafd68419
Fixed ldap_exop_whoami and added a test for it
2017-07-03 10:58:12 +02:00
Côme Chilliet
ae76c8ba2c
Fixed ldap_exop_passwd and added tests for it
2017-07-03 10:58:12 +02:00
Côme Chilliet
def09c7cab
Fixed building errors in LDAP EXOP
2017-07-03 10:58:12 +02:00
Côme Chilliet
a0920f2822
Added EXOP features based on patch from http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/databases/php-ldap/files/ldap-ctrl-exop56.patch
2017-07-03 10:58:12 +02:00
Stanislav Malyshev
3eecee16d1
Update NEWS
2017-06-24 23:32:59 -07:00
Nikita Popov
0f8cf3b849
Fix bug #73807
2017-06-20 00:23:44 -07:00