Joe Watkins
21ae2ba39d
set version for release
2017-08-01 18:35:47 +01:00
Joe Watkins
0c8bda1fe9
set versions
2017-07-18 17:19:23 +01: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
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
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
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
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
6cd140fdf8
Add test for bug #74923
2017-07-15 11:30:56 +02:00
Anatol Belski
0b5683e480
update NEWS
2017-07-14 21:07:48 +02:00
Anatol Belski
5d15fdc4a4
Fixed bug #74923 Crash when crawling through network share
2017-07-14 13:23:24 +02: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
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
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
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
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
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
Anatol Belski
fd08eaa8bc
improve test
2017-07-10 13:49:44 +02: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Anatol Belski
2dc24005d9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74101 and bug #74614
2017-07-04 10:42:48 +02:00
Nikita Popov
d02f953faf
Fixed bug #74101 and bug #74614
2017-07-04 10:39:41 +02:00
Anatol Belski
9d1575c495
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
yet one C++ compat fix
2017-07-01 20:06:39 +02:00
Anatol Belski
d0b7eed0c9
yet one C++ compat fix
2017-07-01 20:05:11 +02:00
Anatol Belski
667185a264
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix C++ compat
2017-07-01 18:38:18 +02:00
Anatol Belski
c71b773a62
fix C++ compat
2017-07-01 18:36:43 +02:00
Bob Weinand
af7bfc71fd
Merge branch 'PHP-7.0' into PHP-7.1
2017-07-01 11:52:41 +02:00
Bob Weinand
e3cc15daf2
Fixed bug #74840 (Opcache overwrites argument of GENERATOR_RETURN within finally)
2017-07-01 11:52:03 +02:00
Julien Pauli
72f7143295
Updated NEWS
2017-06-29 20:24:34 +02:00
Julien Pauli
e57fce4d00
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Updated NEWS
Fix bug #74832 , crash in extension loading
2017-06-29 20:24:03 +02:00
Julien Pauli
2a1ad88538
Updated NEWS
2017-06-29 20:23:37 +02:00
Julien Pauli
3f4340a796
Fix bug #74832 , crash in extension loading
2017-06-29 20:22:21 +02:00
Adam Baratz
c8bb64c406
Fixed bug #69356
2017-06-29 11:43:12 +02:00
Adam Baratz
f15790ec73
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #69356 : PDOStatement::debugDumpParams() truncates query
2017-06-29 11:40:56 +02:00
Adam Baratz
08089f014c
Fixed #69356 : PDOStatement::debugDumpParams() truncates query
2017-06-29 11:39:50 +02:00
Tyson Andre
a99c5f28c5
Fix typo in PHP 7.1.8 news
2017-06-28 15:46:58 -07:00
George Wang
4e4f2f9f89
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-27 23:16:25 -04:00
George Wang
751d19f698
[BUGFIX] fixes the issue that a value from .user.ini displays in phpinfo(), but not applies.
...
[BUGFIX] when lsapi used the php_value has higher priority then ini_set when called from the script by itself .
2017-06-27 23:14:36 -04:00
Nikita Popov
e938cfc921
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 20:17:26 +02:00
Nikita Popov
604827b694
Fixed bug #73173
...
Patch by tloi at fortinet dot com.
2017-06-25 20:17:06 +02:00
Bob Weinand
44d734254a
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 20:13:48 +02:00
Bob Weinand
cfee5116dd
Expose inflate_get_status() and inflate_get_read_len() functions
2017-06-25 20:12:45 +02:00
Matthew Trescott
0c4f11ecaa
Add more constants, improve comments, and add tests
2017-06-25 20:12:45 +02:00
Nikita Popov
653b96347c
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 19:49:11 +02:00
Nikita Popov
2fddc4a7f1
Fixed bug #73900
2017-06-25 19:48:17 +02:00
Jakub Zelenka
0c707fcb10
Add OPENSSL_DONT_ZERO_PAD_KEY constant to prevent key padding
...
It fixes bug #71917 (openssl_open() returns junk on envelope < 16 bytes)
and bug #72362 (OpenSSL Blowfish encryption is incorrect for short
keys).
2017-06-25 18:08:50 +01:00
Nikita Popov
bda0f4e8dc
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-25 15:30:29 +02:00
Nikita Popov
de66e80d75
Don't leave holes in func_get_args() and backtraces
...
Argument lists should always be continuous and hole-free, even if
local variables are unset. Replace UNDEF values with NULLs.
2017-06-25 15:27:45 +02:00
Bob Weinand
fda0a8b735
Fixed bug #73944 (inflate_init() dictionary option) - add NEWS entry
2017-06-25 10:57:36 +02:00
wapmorgan
cd1869bcf2
Remove invalid check of dictionary content and add initialization of dictionary if raw compression used
2017-06-25 10:53:28 +02:00
Stanislav Malyshev
3eecee16d1
Update NEWS
2017-06-24 23:32:59 -07:00
Anatol Belski
4e98990f6b
[ci skip] update NEWS
2017-06-24 01:28:58 +02:00
Anatol Belski
b714309056
Fix bug #74798 pkcs7_en/decrypt does not work if \x0a is used in content
...
The patch for bug #74720 was incomplete.
2017-06-24 00:18:57 +02:00
Nikita Popov
5b5a92b8b6
Fixed bug #74623
2017-06-23 17:32:45 +02:00
Nikita Popov
4948da178a
Make inference robust against infinite loop
...
Right now, if narrowing occurs on non-debug builds, inference can
easily go into an infinite loop. Prevent this, and add a pointer
that this should be reported as a bug.
2017-06-23 17:07:44 +02:00
Nikita Popov
721de5b542
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-23 13:31:39 +02:00
ideal
4d6100569b
Fix error if compiled without -fpermissive flag.
2017-06-23 13:31:23 +02:00
Joe Watkins
bd8940a1fe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix method "eof"
2017-06-23 07:53:12 +01:00
danchukas
b255b97e43
fix method "eof"
...
replace "eof" with "feof"
because:
1) http://php.net/manual/ru/function.feof.php
2) Error: Call to undefined function eof()
2017-06-23 07:53:00 +01:00
Joe Watkins
b903733762
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove superfluous branch
2017-06-23 07:51:46 +01:00
Thomas Punt
b1301a0686
Remove superfluous branch
2017-06-23 07:51:32 +01:00
Joe Watkins
21cbdf6984
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix configure error
2017-06-22 14:01:45 +01:00
Peter Kokot
660250f4da
Fix configure error
...
This patch fixes configure error on some systems such as Alpine.
```
line 3472: test: =: unary operator expected
```
One of the fixes has been suggested also here already:
https://bugs.php.net/bug.php?id=39835
Thank you for considering merging this.
2017-06-22 14:01:18 +01:00
Joe Watkins
c56378b0d5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #73471 PHP freezes with AppendIterator
2017-06-22 11:57:39 +01:00
jhdxr
81c2a4b9ba
fix bug #73471 PHP freezes with AppendIterator
2017-06-22 11:56:49 +01:00
Joe Watkins
ed1f64e083
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #74780 parse_url() borken when query string contains colon
2017-06-22 11:52:39 +01:00
jhdxr
db287b2303
fix bug #74780 parse_url() borken when query string contains colon
2017-06-22 11:52:06 +01:00
Christopher Jones
c288ed44a2
Update NEWS
2017-06-21 16:16:20 +10:00
Christopher Jones
5d666d2a02
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:55:54 +10:00
Christopher Jones
b3bd379198
Merge branch 'pull-request/2532' into PHP-7.0
...
* pull-request/2532:
Add bug #74625 to package.xml
Add IN bind case to bug74625.phpt
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:55:28 +10:00
Christopher Jones
cda87977a5
Add bug #74625 to package.xml
2017-06-21 15:50:51 +10:00
Christopher Jones
b4c5f20c46
Add IN bind case to bug74625.phpt
2017-06-21 15:47:32 +10:00
Ingmar Runge
fa3615f14e
Fixed bug #74625 (Integer overflow in oci_bind_array_by_name).
2017-06-21 15:44:55 +10:00
Christopher Jones
13347e8a7d
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-21 15:04:03 +10:00
Christopher Jones
3fbbcf7f93
Remove use of obsolete create_function()
2017-06-21 15:02:58 +10:00
Christopher Jones
d9feb3c2d0
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-21 14:29:43 +10:00
Christopher Jones
1bdc290017
Update OCI8 version test and package.xml
2017-06-21 14:29:30 +10:00
Stanislav Malyshev
18b6de7a91
Fix bug #73634 - grapheme_strpos illegal memory access
2017-06-20 13:29:57 -07:00
Stanislav Malyshev
14c422a32f
Fix bug #73648 - integer overflow in substr
2017-06-20 13:29:48 -07:00
Joe Watkins
78bec63ad9
bump versions
2017-06-20 17:34:00 +01:00
Anatol Belski
67f063e3ac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Split requested size as expected by CreateFileMapping.
2017-06-20 15:45:05 +02:00
Anatol Belski
6a854e2740
Split requested size as expected by CreateFileMapping.
...
Thus fixing ext\opcache\tests\log_verbosity_bug.phpt fails on 64-bit.
2017-06-20 15:40:25 +02:00
Anatol Belski
3f2cfac5d6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move next
2017-06-20 14:06:27 +02:00
Anatol Belski
b4fa2ba295
move next
2017-06-20 14:05:50 +02:00
Nikita Popov
0f8cf3b849
Fix bug #73807
2017-06-20 00:23:44 -07:00
Christopher Jones
3303e87101
Update NEWS
2017-06-20 16:01:37 +10:00
Christopher Jones
7ecddd2c24
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-20 16:00:55 +10:00
Christopher Jones
27d6814351
PDO_OCI: support IC 12.2 in configure option
2017-06-20 16:00:22 +10:00
Christopher Jones
f39c9d8345
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bump OCI8 version
2017-06-20 14:55:27 +10:00
Christopher Jones
64447030bb
Bump OCI8 version
2017-06-20 14:54:45 +10:00
Christopher Jones
b1431c6174
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add test for bug #70700
2017-06-20 14:44:11 +10:00
Christopher Jones
073ac50374
Merge branch 'pull-request/1569' into PHP-7.0
...
* pull-request/1569:
add test for bug #70700
2017-06-20 14:43:50 +10:00
Chuck Burgess
98bcc0bd43
add test for bug #70700
2017-06-20 14:43:20 +10:00
Christopher Jones
82bb98ce1a
Update NEWS
2017-06-20 14:37:52 +10:00
Christopher Jones
135265ef69
Update NEWS
2017-06-20 14:37:16 +10:00
Christopher Jones
b742a18ba4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
oci8 - Implementation of Oracle TAF Callback
2017-06-20 14:33:35 +10:00
Christopher Jones
ec6ac50812
Merge branch 'pull-request/2459' into PHP-7.0
...
* pull-request/2459:
oci8 - Implementation of Oracle TAF Callback
2017-06-20 14:33:06 +10:00
KoenigsKind
1b797f7ad3
oci8 - Implementation of Oracle TAF Callback
...
Adds support for the Transparent Application Failover Callback.
The php_oci_connection struct got a char* added which will contain the
callback function, it should be set to PHP_OCI_TAF_DISABLE_CALLBACK at
the end of a php request for permanent connections so that, if a TAF
callback occurs, no userspace function will be called.
Maybe add support for registering object functions (via array),
currently the register function only accepts a string. I didn't know how
to implement it correctly. As a failover occurs very rarely it might be
better to not keep the cache when saving the zend_fcall_info.
Things to do
[ ] config.m4 needs to compile oci8_failover.c
[ ] Check if correctly implemented (especially for multithreading)
[ ] Add support for registering callback function via array
2017-06-20 14:32:52 +10:00
Christopher Jones
058bec9e33
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add test for bug #60994
2017-06-20 14:24:07 +10:00
Christopher Jones
a6c67a088a
Merge branch 'pull-request/1566' into PHP-7.0
...
* pull-request/1566:
add test for bug #60994
2017-06-20 14:23:20 +10:00
Chuck Burgess
51a7e35c24
add test for bug #60994
2017-06-20 14:22:28 +10:00
Jakub Zelenka
fbb884e532
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-18 19:08:51 +01:00
Jelle van der Waa
509f5097ab
openssl: Add openssl_pkcs12_(read, export) tests
...
Add basic tests for openssl_pkcs12_read and openssl_pkcs12_export.
openssl_pkcs12_export has two tests disable which currently do not work
as intended and should be fixed.
2017-06-18 19:02:51 +01:00
Jakub Zelenka
bfa9362d43
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-18 18:28:54 +01:00
Jakub Zelenka
887fabe78f
Regenerate and bump re2c version to 0.16
...
It also matches the re2c version for Zend language scanner
2017-06-18 18:26:48 +01:00
Anatol Belski
7275084388
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Next round on AppVeyor reliability.
2017-06-17 01:58:51 +02:00
Anatol Belski
4a39d33ee5
Next round on AppVeyor reliability.
2017-06-17 01:57:47 +02:00
Jakub Zelenka
c2a348b5bc
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-16 17:14:23 +01:00
Jelle van der Waa
f19dfac830
openssl: Fix spkstr and spki leak in openssl_spki_new
...
spkstr is not free'd when running the test and valgrind reports a leak
of 32,318 bytes. The free condition is not met since keyresource is not
NULL, apart from that OPENSSL_free actually free's the allocated memory
by OPENSSL_malloc inside OpenSSL.
Valgrind reports 768 bytes leaked in openssl_spki_new when running the
testsuite. Remove the keyresource check to always free spki.
2017-06-16 16:51:50 +01:00
Dmitry Stogov
84b9b164a8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
2017-06-13 17:16:13 +03:00
Dmitry Stogov
648be8600f
Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY)
2017-06-13 17:15:47 +03:00
Remi Collet
6408c66d3c
NEWS
2017-06-13 08:50:24 +02:00
Remi Collet
90f33b1ac7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fix bug #74705 for collator_get_sort_key
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
2017-06-13 08:50:10 +02:00
Remi Collet
c4d7cfa536
NEWS
2017-06-13 08:50:02 +02:00
Remi Collet
78970d5338
Fix bug #74705 for collator_get_sort_key
2017-06-13 08:48:17 +02:00
Tyson Andre
5f07a895cc
Fixes bug #74705 Wrong ReflectionInfo for Collator::getSortKey()
...
https://secure.php.net/manual/en/collator.getsortkey.php
2017-06-13 08:46:47 +02:00
Remi Collet
593d37376b
NEWS
2017-06-13 08:15:19 +02:00
Remi Collet
3aa80c482c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fixes bug #74708 reflection signatures for random_bytes+random_int
2017-06-13 08:14:57 +02:00
Remi Collet
aea8c6ddc1
NEWS
2017-06-13 08:14:34 +02:00
Tyson Andre
81b2533a68
Fixes bug #74708 reflection signatures for random_bytes+random_int
...
They have 1 and 2 required parameters, respectively
See https://secure.php.net/manual/en/function.random-int.php
2017-06-13 08:11:25 +02:00
Xinchen Hui
b7c2c44a8d
Forgotten NEWs update
2017-06-13 12:21:45 +08:00
Xinchen Hui
c0678be3e0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Forgotten NEWs update
2017-06-13 12:21:27 +08:00
Xinchen Hui
3968ffe7b3
Forgotten NEWs update
2017-06-13 12:20:42 +08:00
Xinchen Hui
caf35c5cf5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
2017-06-12 17:21:35 +08:00
Xinchen Hui
e05f79c3de
Merge branch 'bug74600' of https://github.com/manuelm/php-src into PHP-7.0
...
* 'bug74600' of https://github.com/manuelm/php-src :
Add simple cli test for PATH/HOST ini sections
Fixed bug #74600
2017-06-12 17:12:15 +08:00
Anatol Belski
0fa40b0546
group the change for bug #74720
2017-06-09 23:47:15 +02:00
Manuel Mausz
91f129ebf7
Add simple cli test for PATH/HOST ini sections
2017-06-09 23:28:19 +02:00
Anatol Belski
6d46528d54
update NEWS
2017-06-09 17:40:45 +02:00
Anatol Belski
cbe73b3cfe
Fixed bug #74720 pkcs7_en/decrypt does not work if \x1a is used in
...
content
2017-06-09 17:35:37 +02:00
Christoph M. Becker
1980234fc2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use reasonable SQLite3 module version
2017-06-09 14:05:04 +02:00
Christoph M. Becker
c3b910370c
Use reasonable SQLite3 module version
...
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3
module version is hardcoded to `0.7-dev`. It doesn't appear to make
much sense to have an own module version for a bundled extensions, but
as other code might rely on it, we don't remove the constant but rather
make it an alias of the PHP version.
2017-06-09 13:49:32 +02:00
Manuel Mausz
ee0e6963f3
Fixed bug #74600
...
Make sure the hash entry is an array.
The origin fix broke support for HOST/PATH ini sections. Only the
beginning of the string has to match. Revert this check but use
zend_binary_strncasecmp instead of strncasecmp.
2017-06-09 01:43:08 +02:00
Anatol Belski
844f4292ef
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
enforce exit status propagation and up the sdk version
2017-06-08 17:16:02 +02:00
Anatol Belski
9997767dc3
enforce exit status propagation and up the sdk version
2017-06-08 17:14:52 +02:00
Remi Collet
c39a10bc6e
relax this test again (still encounter erratic failure)
2017-06-06 17:20:33 +02:00
Jakub Zelenka
ff93f74f63
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-04 18:11:49 +01:00
Jakub Zelenka
3704947696
Replace ASN1_STRING_data with ASN1_STRING_get0_data
...
This is a slightly modified version of the patch from Jelle van der Waa
( @jelly ) so full credit to him.
2017-06-04 18:08:51 +01:00
Nikita Popov
6af1d7ad01
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-03 15:08:59 +02:00
Nikita Popov
585c9f3c4b
Fix leak in WDDX serialization
2017-06-03 15:08:42 +02:00
Nikita Popov
6b511d124e
Travis: Use opcache in release build
...
Our debug builds on Travis are often timing out recently. Opcache
causes quite a large performance hit on test run times, so move it
over to the release build, where it should have less impact.
2017-06-03 12:37:47 +02:00
Nikita Popov
d9fd44366d
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-03 00:42:30 +02:00
Tim Toohey
d027bc2add
Fixed bug #69373
...
xmlNodeSetContentLen() calls xmlFreeNode() on node->children. This
causes problems if there are other references around to those children.
2017-06-03 00:40:58 +02:00
Nikita Popov
bfedff58e3
Merge branch 'PHP-7.0' into PHP-7.1
2017-06-03 00:05:52 +02:00
libnex
95c4564f93
Fixed bug #73473 : Stack Buffer Overflow in msgfmt_parse_message
2017-06-03 00:05:16 +02:00
Jelle van der Waa
c742abb3ce
openssl_pkcs12_read: add missing BIO_free
...
When filling the extracerts array with certificates bio_out is created
but not free'd leading to a small memory leak of 224 bytes (reported by
valgrind).
2017-06-02 23:52:43 +02:00
Jesper Hagström
cea34425f3
Set timezone for intl/test/bug74298.phpt
...
Now sets UTC as default timezone for the DateTime which otherwise
uses the timezone defined in php.ini.
2017-06-02 23:40:48 +02:00
Nikita Popov
e9ff1fac85
Revert "merge PR #2290 : enable opcache in CLI in 7.1+"
...
This reverts commit 71fe529afc .
Without the file cache (which is not enabled by default), this has
non-trivial impact on the startup time. It also significantly
increases the baseline memory usage of PHP on CLI.
2017-06-02 23:36:20 +02:00
andrewnester
48598a2302
Fixed #74639 - Added proper clone functionality for DatePeriod and DateInterval
2017-06-01 08:07:11 +01:00
Xinchen Hui
741769d933
Update NEWS
2017-05-31 13:09:38 +08:00
Xinchen Hui
9064dca58b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)
Conflicts:
ext/reflection/php_reflection.c
2017-05-31 13:08:26 +08:00
Xinchen Hui
9c5717d0de
Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant)
2017-05-31 12:39:26 +08:00
Dmitry Stogov
316aaca155
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed wrong condition
2017-05-31 00:40:57 +03:00
Dmitry Stogov
77cbf8a657
Fixed wrong condition
2017-05-31 00:40:33 +03:00
Côme Bernigaud
1bb295e659
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
ext/ldap: Allow default host from ldap.conf to work.
Conflicts:
ext/ldap/ldap.c
2017-05-30 16:48:16 +02:00
Côme Bernigaud
dc7e53690f
Merge branch 'pull-request/2536' into PHP-7.0
...
* pull-request/2536:
ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
ext/ldap: Allow default host from ldap.conf to work.
2017-05-30 16:45:27 +02:00
Remi Collet
b11393fccb
NEWS
2017-05-30 15:46:15 +02:00
Remi Collet
bee52f352f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
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-05-30 15:45:52 +02:00
Remi Collet
46bb35a853
NEWS
2017-05-30 15:45:09 +02:00
Remi Collet
1c845d2950
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/60 (CVE-2017-9228)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:40:32 +02:00
Remi Collet
5416deec66
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-05-30 15:39:21 +02:00
Remi Collet
6a8ae7cf8d
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/58 (CVE-2017-9227)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:38:17 +02:00
Remi Collet
60b1829e1c
Patch from the upstream git
...
https://github.com/kkos/oniguruma/issues/57 (CVE-2017-9224)
Thanks to Mamoru TASAKA <mtasaka@fedoraproject.org >
2017-05-30 15:37:11 +02:00
Remi Collet
1e0c4386ab
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-05-30 15:35:42 +02:00
Fabien Villepinte
d6922ef8e3
Fix Bug #74386Phar::__construct(): wrong number of parameters by reflection
2017-05-29 08:31:47 +01:00
Joe Watkins
d351c199bb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection
2017-05-29 08:29:58 +01:00
Fabien Villepinte
2dee44c74c
Fix Bug #74386 Phar::__construct(): wrong number of parameters by reflection
2017-05-29 08:29:30 +01:00
Sara Golemon
e628ee9e9d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bugfix #74556 stream_socket_get_name() returns empty string
Fix abstract name handling to be binary safe
2017-05-28 08:49:25 -07:00
Sara Golemon
8dcfec9789
Bugfix #74556 stream_socket_get_name() returns empty string
...
The original bug report had it returning '\0',
but with a fix to abstract name handling (6d2d0bbda7 )
it now actually returns ''.
Neither of these are good, as per unix(7)
an empty socket name indicates an unbound name
and "should not be inspected".
2017-05-28 08:48:18 -07:00
Sara Golemon
6d2d0bbda7
Fix abstract name handling to be binary safe
...
Per unix(7):
abstract: an abstract socket address is distinguished (from a
pathname socket) by the fact that sun_path[0] is a null byte
('\0'). The socket's address in this namespace is given by the
additional bytes in sun_path that are covered by the specified
length of the address structure. (Null bytes in the name have no
special significance.) The name has no connection with filesystem
pathnames. When the address of an abstract socket is returned,
the returned addrlen is greater than sizeof(sa_family_t) (i.e.,
greater than 2), and the name of the socket is contained in the
first (addrlen - sizeof(sa_family_t)) bytes of sun_path.
The existing implementation was assuming significance in null bytes
contained in the abstract address identifier.
2017-05-28 08:45:44 -07:00
Sara Golemon
d9458aac9d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Bugfix #74598 ftp:// ignores context
2017-05-27 21:14:02 -07:00
Sara Golemon
05849a242a
Bugfix #74598 ftp:// ignores context
2017-05-27 21:12:49 -07:00
Xinchen Hui
398efb087c
Update NEWS
2017-05-27 22:43:30 +08:00
Xinchen Hui
19befb1ca2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
2017-05-27 22:43:23 +08:00
Xinchen Hui
60912e66c8
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp)
2017-05-27 22:42:27 +08:00
Xinchen Hui
1838f965bc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Correct the location
2017-05-27 12:12:12 +08:00
Xinchen Hui
ece7d223e8
Correct the location
2017-05-27 12:11:53 +08:00
Xinchen Hui
63ca6f93a1
Added NEWs
2017-05-27 12:09:11 +08:00
Xinchen Hui
cd3520c4d3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
2017-05-27 12:08:48 +08:00
Xinchen Hui
5269c4cacb
Fixed bug #74657 (Undefined constants in array properties result in broken properties)
2017-05-27 12:06:43 +08:00
David Caldwell
49d1cdc393
ext/ldap/test: Test that ldap_connect() uses defaults from ldap.conf (openldap)
2017-05-25 21:27:11 +00:00
Derick Rethans
fc87715950
Added a test case for (docs) bug #74652
2017-05-25 10:57:09 -04:00
David Caldwell
d51b8f915f
ext/ldap: Allow default host from ldap.conf to work.
...
This fixes an regression introduced in
e7af0fe1eb . Previously, calling
ldap_connect() with no parameters would pass NULL to ldap_init(),
which causes it to use the default host specified in
/etc/ldap/ldap.conf (on Ubuntu).
When the code changed to use ldap_initialize(), it initialized a uri,
even if there were no parameters passed to ldap_connect(). Because of
this, there's no way to pass a NULL into ldap_initialize(), making it
impossible to use the default uri from ldap.conf.
This commit bypasses the uri creation when there is no host argument,
passing on a NULL to ldap_initialize() which restores the old PHP 5.5
behavior.
2017-05-25 00:47:11 +00:00
Nikita Popov
e7a7065024
Merge branch 'PHP-7.0' into PHP-7.1
2017-05-24 18:02:13 +02:00
jhdxr
872e43d6e5
Fixed bug #74478
2017-05-24 18:01:41 +02:00
Joe Watkins
e535b80257
bump versions
2017-05-23 22:04:01 +01:00
Anatol Belski
056cb8c256
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
time to move next
2017-05-23 12:33:23 +02:00
Anatol Belski
fff1cab367
time to move next
2017-05-23 12:31:03 +02:00
Anatol Belski
65bf0364b6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move to the next sdk version for AppVeyor
2017-05-20 13:51:18 +02:00
Anatol Belski
c4ae856912
move to the next sdk version for AppVeyor
2017-05-20 13:48:35 +02:00
Xinchen Hui
11b4f105bf
Merge branch '74595-reflection-parameters' of https://github.com/andrewnester/php-src into PHP-7.1
...
* '74595-reflection-parameters' of https://github.com/andrewnester/php-src :
Fixed #74595 - ReflectionMethod::getParameters returns incorrect number of parameters
2017-05-19 23:59:43 +08:00
Xinchen Hui
08293a960b
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
follow up fix on bug #74022
Fixed bug #74606 (Segfault within try/catch/finally nesting in Generators)
2017-05-19 23:56:31 +08:00
Xinchen Hui
459c382df5
Update news
2017-05-19 23:56:10 +08:00
Anatol Belski
26f217bf40
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
follow up fix on bug #74022
2017-05-18 12:07:09 +02:00
Anatol Belski
464c1639ae
follow up fix on bug #74022
2017-05-18 12:03:13 +02:00
Bob Weinand
649494c0ee
Fixed bug #74606 (Segfault within try/catch/finally nesting in Generators)
...
Thanks to Nikita for pointing out the error source.
2017-05-17 19:58:51 +02:00
Xinchen Hui
78b10dd9d6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Added cleanup
2017-05-17 23:25:17 +08:00
Xinchen Hui
0954ea8d6d
Added cleanup
2017-05-17 23:24:58 +08:00
Xinchen Hui
f38487a0e0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Added test for bug #74600
2017-05-17 23:21:38 +08:00
Xinchen Hui
ef09bc0645
Added test for bug #74600
2017-05-17 23:21:18 +08:00
Xinchen Hui
d3e3bc611a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Added test for bug #74596
2017-05-17 22:43:03 +08:00
Xinchen Hui
e347b2ded6
Added test for bug #74596
2017-05-17 22:42:18 +08:00
Anatol Belski
02e9e59beb
improve error handling
2017-05-17 13:35:42 +02:00
Anatol Belski
6e3d24bcf4
fix wrong error check
2017-05-17 12:50:41 +02:00
Anatol Belski
b73a73da25
fix test
2017-05-16 15:09:02 +02:00
Anatol Belski
71f8c4dcfd
add test for bug #74589
2017-05-16 14:25:27 +02:00
Xinchen Hui
c667bb94fa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74600 (crash (SIGSEGV) in _zend_hash_add_or_update_i)
2017-05-16 19:32:59 +08:00
Xinchen Hui
8a1713e39c
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
variation of icu libraries causes failure
2017-05-16 19:32:33 +08:00
Xinchen Hui
9f49ebb5ba
Fixed bug #74600 (crash (SIGSEGV) in _zend_hash_add_or_update_i)
2017-05-16 19:32:13 +08:00
Anatol Belski
7d418430fd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
variation of icu libraries causes failure
2017-05-16 12:47:24 +02:00
Steve Walk
d74fbfb38f
variation of icu libraries causes failure
2017-05-16 12:46:27 +02:00
Xinchen Hui
7f051ac583
Update NEWs
2017-05-16 13:23:12 +08:00
Xinchen Hui
e04b91e6e2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74596 (SIGSEGV with opcache.revalidate_path enabled)
2017-05-16 13:22:43 +08:00
Xinchen Hui
89dd7fb328
Fixed bug #74596 (SIGSEGV with opcache.revalidate_path enabled)
...
Yeah, no test script is provided.. I got some troubles to make a one
2017-05-16 13:22:08 +08:00
Anatol Belski
8ec91086ee
Revert "fixing run-tests.php for variables_order="GPCS""
...
This reverts commit c1d5718697 .
The commit seems to be inappropriate as it contains parts from master,
which have nothing to do with the variables order issue. Obviously patch
applied to wrong branch or alike.
2017-05-15 20:34:11 +02:00
Anatol Belski
b067bda4cd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to Postgres 9.6 for appveyor
2017-05-15 17:48:29 +02:00
Anatol Belski
777929b1ae
switch to Postgres 9.6 for appveyor
2017-05-15 17:47:41 +02:00
Anatol Belski
42e5df141c
[ci skip] update NEWS
2017-05-15 17:39:31 +02:00
Anatol Belski
ae3f975c5d
Fixed bug #74589 __DIR__ wrong for unicode character
2017-05-15 16:35:22 +02:00
andrewnester
2e5a747b59
Fixed #74595 - ReflectionMethod::getParameters returns incorrect number of parameters
2017-05-15 17:07:00 +03:00
Matt Ficken
c1d5718697
fixing run-tests.php for variables_order="GPCS"
2017-05-15 02:21:55 -07:00
Anatol Belski
8cbfc882d2
[ci skip] update NEWS
2017-05-14 01:59:46 +02:00
Anatol Belski
cfe577fb86
revert workaround for bug #74489 as it's fixed in the dependency lib
2017-05-14 01:47:40 +02:00
Sara Golemon
90bd4be3f9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove typo from test header
2017-05-10 16:50:37 -07:00
Sara Golemon
b8e0351978
Remove typo from test header
2017-05-10 16:50:19 -07:00
Xinchen Hui
05c90e5994
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed tests when using cumstom php.ini(session.save_handler)
Fix Bug #74541 Wrong reflection on session_start()
2017-05-09 11:14:40 +08:00
Xinchen Hui
1b22e9dc2e
Fixed tests when using cumstom php.ini(session.save_handler)
2017-05-09 11:13:41 +08:00
Xinchen Hui
d40a852919
Merge branch 'fix_74541' of https://github.com/villfa/php-src into PHP-7.0
...
* 'fix_74541' of https://github.com/villfa/php-src :
Fix Bug #74541 Wrong reflection on session_start()
2017-05-09 11:04:39 +08:00
Xinchen Hui
15dbe775d1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix typo: exectute => execute
2017-05-09 11:01:52 +08:00
Xinchen Hui
99549ce79c
Merge branch 'patch-1' of https://github.com/ifdattic/php-src into PHP-7.0
...
* 'patch-1' of https://github.com/ifdattic/php-src :
Fix typo: exectute => execute
2017-05-09 11:01:33 +08:00
Fabien Villepinte
b39c70b4a7
Fix Bug #74541 Wrong reflection on session_start()
2017-05-08 22:42:09 +02:00
Anatol Belski
72073228ca
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync bin sdk version
2017-05-08 19:39:56 +02:00
Anatol Belski
1a06fae543
sync bin sdk version
2017-05-08 19:38:48 +02:00
Anatol Belski
83033f0b32
[ci skip] update libs_versions.txt
2017-05-08 13:11:12 +02:00
Anatol Belski
bdd66e1492
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update libs versions file
2017-05-08 13:10:48 +02:00
Anatol Belski
ca870dfee7
[ci skip] update libs versions file
2017-05-08 13:10:13 +02:00
Andrew Marcinkevičius
abad134681
Fix typo: exectute => execute
2017-05-08 13:59:05 +03:00
Xinchen Hui
2d30bc96a1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed another potential dangling pointer
2017-05-08 11:36:29 +08:00
Xinchen Hui
b966a8b5fa
Fixed another potential dangling pointer
2017-05-08 11:36:07 +08:00
Xinchen Hui
62c1edf535
Update NEWS
2017-05-08 11:32:42 +08:00
Xinchen Hui
2c070847e7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
2017-05-08 11:32:27 +08:00
Xinchen Hui
87d56a3d07
Fixed bug #74546 (SIGILL in ZEND_FETCH_CLASS_CONSTANT_SPEC_CONST_CONST_HANDLER())
2017-05-08 11:32:08 +08:00
Anatol Belski
5dafb523fd
[ci skip] update NEWS
2017-05-07 13:05:47 +02:00
Anatol Belski
6658b437ae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-05-07 13:05:10 +02:00
Anatol Belski
5c957b502e
[ci skip] update NEWS
2017-05-07 13:04:21 +02:00
Anatol Belski
378f785515
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
2017-05-06 15:10:16 +02:00
Anatol Belski
561f1afe6e
Fixed bug #74547 mysqli::change_user() doesn't accept null as $database argument w/strict_types
2017-05-06 15:06:34 +02:00
Anatol Belski
4b3a11b329
[ci skip] update NEWS
2017-05-02 14:54:42 +02:00
Anatol Belski
476b7f1667
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-05-02 14:54:17 +02:00
Anatol Belski
622dc2a611
[ci skip] update NEWS
2017-05-02 14:53:32 +02:00
Anatol Belski
64adba3b3f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #51918 Phar::webPhar() does not handle requests sent through PUT and DELETE method
2017-05-02 14:46:15 +02:00
Christian Weiske
c0c0871911
Fixed bug #51918 Phar::webPhar() does not handle requests sent through PUT and DELETE method
...
phar: Support DELETE, HEAD and PUT HTTP methods in Phar::webPhar
Up to now only GET and POST requests could be handled with Phar::webPhar(),
which is insufficient for today's REST APIs.
This patch expands the list of supported HTTP methods.
2017-05-02 14:44:47 +02:00
Anatol Belski
7431d6dda6
[ci skip] update NEWS
2017-05-02 12:39:10 +02:00
Anatol Belski
f97607027a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-05-02 12:38:40 +02:00
Anatol Belski
36c53036e7
[ci skip] update NEWS
2017-05-02 12:38:04 +02:00
Anatol Belski
3d9563b8b2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74510 win32/sendmail.c anchors CC header but not BCC
2017-05-02 12:32:40 +02:00
Anatol Belski
20a608d9da
Fixed bug #74510 win32/sendmail.c anchors CC header but not BCC
2017-05-02 12:31:00 +02:00
Joe Watkins
6bd30e8f1a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #74457 Wrong reflection on XMLReader::expand
2017-05-02 06:25:21 +01:00
Fabien Villepinte
4c0e50c88a
Fix bug #74457 Wrong reflection on XMLReader::expand
2017-05-02 06:24:46 +01:00
Joe Watkins
2735318c7b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #74468 wrong reflection on Collator::sortWithSortKeys
2017-05-02 06:21:54 +01:00
Fabien Villepinte
f50df1d0e3
Fix bug #74468 wrong reflection on Collator::sortWithSortKeys
2017-05-02 06:20:40 +01:00
Anatol Belski
023cbdb2ca
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Tests to ensure BC with undocumented behavior used in hacks
2017-05-01 18:06:09 +02:00
Anatol Belski
a581e64199
Tests to ensure BC with undocumented behavior used in hacks
...
Should become obsolete, once behaviors change.
2017-05-01 18:01:05 +02:00
Nikita Popov
e3f411c9f7
Merge branch 'PHP-7.0' into PHP-7.1
2017-05-01 12:15:41 +02:00
Nikita Popov
1967950dc3
Fix typo in SplFixedArray has_dimension implementation
2017-05-01 12:15:26 +02:00
Jakub Zelenka
9622a3be43
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-30 20:27:39 +01:00
Michael Heimpold
d9dfac90bf
Fix compiler warnings when compiled against musl libc
...
musl libc is complaining when <sys/poll.h> is used instead of <poll.h>
so change this.
This issue was reported for OpenWrt/LEDE where musl libc is the standard
C library instead of e.g. glibc, see the following link for the original PR:
https://github.com/openwrt/packages/pull/4263
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com >
Signed-off-by: Michael Heimpold <mhei@heimpold.de >
--
v3: refined checks/fallback paths as suggested by @bukka
v2: rebased to resolve merge conflict in main/php_network.h
v1: initial PR
2017-04-30 20:24:56 +01:00
Jakub Zelenka
6028fe511e
Fix bug #73808 (iv length warning too restrictive for aes-128-ccm)
2017-04-30 19:46:27 +01:00
Andrea Faulds
9891b9ede2
Test ReflectionType support of iterable
2017-04-29 16:12:46 +01:00
Jakub Zelenka
c436fe2426
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-27 15:45:31 +01:00
Jakub Zelenka
a0b9554f94
Fix possible memory leak in openssl_encrypt and openssl_decrypt
2017-04-27 15:44:26 +01:00
Jakub Zelenka
d83d5f4198
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-27 15:11:52 +01:00
Jakub Zelenka
7b392c7154
Prefer using DIRECTORY_SEPARATOR in OpenSSL config path
2017-04-27 15:10:55 +01:00
Jakub Zelenka
e7166ea9be
Add oid_section to the testing openssl.cnf
...
It tests repeated OID addition
2017-04-27 15:09:58 +01:00
Anatol Belski
9a07e9e1f8
[ci skip] update NEWS
2017-04-27 11:43:13 +02:00
Anatol Belski
38a65d5ef9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-04-27 11:39:14 +02:00
Anatol Belski
e67096dbbb
[ci skip] update NEWS
2017-04-27 11:35:00 +02:00
Anatol Belski
392bcba58d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Detect invalid port in xp_socket parse ip address"
Revert "Follow up patch regarding bug #74216 , see bug #74429 "
2017-04-27 11:11:41 +02:00
Anatol Belski
09ef61e3ca
Revert "Detect invalid port in xp_socket parse ip address"
...
This reverts commit bab0b99f37 .
2017-04-27 02:49:12 +02:00
Anatol Belski
bf3e2dce7b
Revert "Follow up patch regarding bug #74216 , see bug #74429 "
...
This reverts commit cda7dcf4ca .
2017-04-27 02:49:01 +02:00
Anatol Belski
66dbeb81ba
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync bin sdk version
2017-04-26 17:05:56 +02:00
Anatol Belski
36301bd615
sync bin sdk version
2017-04-26 17:04:29 +02:00
Jakub Zelenka
a1e74a9e0e
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-26 15:00:49 +01:00
Jakub Zelenka
c0203c0ceb
Do not add already added object to the internal OpenSSL table
...
This fixes OpenSSL 1.1 where adding object with OID that has been
already added causes an error - preventing of duplication.
2017-04-26 14:59:15 +01:00
Remi Collet
3f6d9fe9cc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
rely on bundle config, instead of system one
2017-04-26 14:41:54 +02:00
Remi Collet
f639b64dca
rely on bundle config, instead of system one
2017-04-26 14:41:40 +02:00
Remi Collet
7962185ded
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
skip the test on OpenSSL < 1.1 for now
2017-04-26 14:39:14 +02:00
Anatol Belski
8cfaea656c
skip the test on OpenSSL < 1.1 for now
2017-04-26 14:39:03 +02:00
Joe Watkins
91a0d48675
bump version after release
2017-04-25 16:49:20 +01:00
Anatol Belski
8c50a1a3e2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move next
2017-04-25 14:07:36 +02:00
Anatol Belski
53a702c020
move next
2017-04-25 14:06:17 +02:00
Anatol Belski
7d560514fc
[ci skip] update NEWS
2017-04-25 14:01:00 +02:00
Anatol Belski
bf2fc2800e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-04-25 14:00:10 +02:00
Anatol Belski
6aac86ec29
[ci skip] update NEWS
2017-04-25 13:59:20 +02:00
Anatol Belski
faf19a7756
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Follow up patch regarding bug #74216 , see bug #74429
2017-04-25 12:59:22 +02:00
Sara Golemon
cda7dcf4ca
Follow up patch regarding bug #74216 , see bug #74429
...
While the case in bug #74429 is not documented and is only worky due to
an implementation bug, the strength seems to breach some real world
apps. Given this patch doesn't impact the initial security fix for
bug #74216 , it is reasonable to let the apps keep working. As mentioned
in the ticket, this behavior is a subject to change in future versions
and should not be abused.
2017-04-25 12:52:48 +02:00
Anatol Belski
44fdae4360
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
don't backup older deps after upgrades
update SDK version for AppVeyor
2017-04-24 22:12:26 +02:00
Anatol Belski
6afcd6c86a
don't backup older deps after upgrades
2017-04-24 22:10:32 +02:00
Anatol Belski
e969966468
update SDK version for AppVeyor
2017-04-24 22:08:45 +02:00
Jakub Zelenka
7260f65c62
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-24 17:12:55 +01:00
Jakub Zelenka
9fa347997a
Fix bug #73833 (null character not allowed in openssl_pkey_get_private)
2017-04-24 17:11:36 +01:00
Anatol Belski
f504e9eb72
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Support also no,shared configure arg vals by default
2017-04-24 16:22:16 +02:00
Anatol Belski
f7b8322b14
Support also no,shared configure arg vals by default
...
This indirectly fixes bug #74398 where --with-extname is expected to be
configured shared with our default dependency package. With a non
default deps, it still can be enforced --with-extname=static
2017-04-24 15:46:22 +02:00
Jakub Zelenka
d37c4b0948
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-23 21:06:45 +01:00
Jakub Zelenka
dd36541f2c
Add missing NEWS entries for 7.0.19
2017-04-23 21:03:35 +01:00
Anatol Belski
b720160444
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
extend zlib export required for the recent libpng
2017-04-23 21:34:31 +02:00
Anatol Belski
f3c4e2f5bf
extend zlib export required for the recent libpng
2017-04-23 21:33:14 +02:00
Jakub Zelenka
ba83b18ce3
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-23 20:31:24 +01:00
Jakub Zelenka
366b1640d0
Fix bug #73711 (Segfault in openssl_pkey_new when generating DSA or DH key)
2017-04-23 20:30:14 +01:00
Anatol Belski
144ddd3b42
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
extend zlib export required for the recent libpng
2017-04-23 21:28:26 +02:00
Anatol Belski
2909742326
extend zlib export required for the recent libpng
2017-04-23 21:27:34 +02:00
Anatol Belski
fa72b039da
[ci skip] update NEWS
2017-04-22 22:41:15 +02:00
Anatol Belski
3f2271a717
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-04-22 22:40:48 +02:00
Anatol Belski
5d1fd66faf
[ci skip] update NEWS
2017-04-22 22:39:59 +02:00
Anatol Belski
91cb9a6ad1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
#74337 pointer returned by php_stream_fopen_tmpfile not validated in memory.c
2017-04-22 21:58:10 +02:00
Anton Serbulov
793a8bd886
#74337 pointer returned by php_stream_fopen_tmpfile not validated in memory.c
2017-04-22 21:56:37 +02:00
Anatol Belski
000fe3aacc
Fixed bug #74489 readline() immediately returns false in interactive console mode
2017-04-22 18:33:53 +02:00
Joe Watkins
aa0a2e8c58
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Avoid exact floating point comparison
2017-04-20 06:42:44 +01:00
Steve Walk
9b7f13cb1b
Avoid exact floating point comparison
2017-04-20 06:42:20 +01:00
Joe Watkins
242bdf7e8b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update php_network.h
2017-04-20 06:39:26 +01:00
Alexander Ilyin
464742bd2a
Update php_network.h
...
```
In file included from /usr/local/include/php/main/php_network.h:124:0,
from /var/www/html/php-ext-handlersocketi-0.0.1/hs_response.c:3:
/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
#warning redirecting incorrect #include <sys/poll.h> to <poll.h>
^
```
2017-04-20 06:39:14 +01:00
Xinchen Hui
0a27a5ba8c
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 loop identification
2017-04-17 20:27:07 +08:00
Xinchen Hui
d6315c2fbb
Fixed bug #74456 (Segmentation error while running a script in CLI mode)
...
Instead of make update_op1_by_const supports FETCH_LIST(CASE), I think
disable it is more safe for 7.1
2017-04-17 20:24:39 +08:00
Nikita Popov
abf16c18c7
Fix loop identification
...
When assigning loop headers, we should treat already detected
loops as collapsed to their loop header, instead of ignoring them.
This fixes the loop header of BB2 in mandel2 if live-range CFG
splitting is enabled.
2017-04-17 12:17:32 +02:00
Joe Watkins
f69c108249
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
ext/gettext: respect passed in library directory for all checks
2017-04-17 08:12:02 +01:00
Michael Heimpold
32c5b8efd6
ext/gettext: respect passed in library directory for all checks
...
A directory given to configure by --with-gettext=dir is only
used within the very first AC_CHECK_LIB. This is because the
temporary modified LDFLAGS variable is reset too early.
This results in functions not detected properly.
The original issue and patch was reported for OpenWrt/LEDE
distribution by @Dimazhan at:
https://github.com/openwrt/packages/issues/4250
Signed-off-by: Michael Heimpold <mhei@heimpold.de >
2017-04-17 08:11:40 +01:00
Joe Watkins
bc3c9a06e0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74080 Add datetime constant for RFC7231
2017-04-17 08:09:24 +01:00
Craig Duncan
618d97962a
Fixed bug #74080 Add datetime constant for RFC7231
2017-04-17 08:08:54 +01:00
Joe Watkins
0959e6f422
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74439 Wrong reflection on the Locale methods
2017-04-17 07:58:22 +01:00
Fabien Villepinte
7dc6b04f45
Fixed bug #74439 Wrong reflection on the Locale methods
2017-04-17 07:56:47 +01:00
Anatol Belski
949de4e46f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-04-16 14:55:51 +02:00
Anatol Belski
6a04a39d57
[ci skip] update NEWS
2017-04-16 14:55:31 +02:00
Anatol Belski
ce330ad8aa
[ci skip] update NEWS
2017-04-16 14:54:37 +02:00
Anatol Belski
039ef0143b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
improve/fix error handling
2017-04-15 19:35:13 +02:00
Anatol Belski
ca543ff01c
improve/fix error handling
...
GetLastError() should not be called, if the function didn't fail.
2017-04-15 19:32:04 +02:00
Anatol Belski
5bd0baa891
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix error handling
2017-04-15 18:25:31 +02:00
Anatol Belski
9719621e07
fix error handling
2017-04-15 18:19:33 +02:00
Nikita Popov
2719b8e91c
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-15 18:15:33 +02:00
Nikita Popov
e433c23b96
Improve accuracy of opline lineno information
...
If compile_var() was used instead of compile_expr() we did not
update the current lineno.
2017-04-15 18:15:24 +02:00
Anatol Belski
62bec0e212
extend error map
2017-04-15 17:27:45 +02:00
Nikita Popov
00c6ce0e00
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-15 12:35:53 +02:00
Nikita Popov
0beccc51f1
Fix compact_literals of INIT_METHOD_CALL with CONST op1
2017-04-15 12:35:09 +02:00
Nikita Popov
6c2222796b
Improve fix for bug #74442
...
Make the check less conservative to be consistent with the other
cases.
2017-04-15 01:39:33 +02:00
David Matejka
2135b057ec
Fixed bug #74444 : multiple catch freezes in some cases
...
zend_emit_jump() may reallocate, so reload the opline.
2017-04-15 01:38:37 +02:00
Rasmus Lerdorf
d80df7a8bf
Credit goes to Eric Norris for this one
2017-04-14 15:48:24 -07:00
Nikita Popov
2f22dffd1a
Fixed bug #74442
2017-04-14 22:20:32 +02:00
Nikita Popov
3ffe2cd251
Fixed bug #74431
...
If the last instruction in a block is a NOP, then `new_opline`
here won't be a copy of `opline`, it will be a copy of the last
non-NOP opline. Avoid performing a spurious update by explicitly
checking for NOP.
2017-04-14 22:03:06 +02:00
ekinhbayar
5d095f80c9
Test for bug 74431
2017-04-14 21:26:02 +02:00
Johannes Schlüter
b760508adc
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-14 16:30:51 +02:00
Johannes Schlüter
35a28fac51
Add support for MySQL 8's Unicode types
2017-04-14 16:30:10 +02:00
Joe Watkins
4ae69f986f
missing news entry from 7.1.3
2017-04-14 07:56:12 +01:00
Joe Watkins
bd32837acf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74433 Wrong reflection on the Normalizer methods
2017-04-13 13:21:51 +01:00
Fabien Villepinte
f05d74feb8
Fixed bug #74433 Wrong reflection on the Normalizer methods
2017-04-13 13:21:05 +01:00
Remi Collet
f70328b847
NEWS
2017-04-13 07:11:06 +02:00
Remi Collet
7f6e553f68
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
2017-04-13 07:10:47 +02:00
Remi Collet
da41afeb48
NEWS
2017-04-13 07:10:37 +02:00
Remi Collet
77e3fef64f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74416 Wrong reflection on DOMNode::cloneNode
2017-04-13 07:07:43 +02:00
Fabien Villepinte
bc4bb7882b
Fixed bug #74416 Wrong reflection on DOMNode::cloneNode
2017-04-13 07:07:24 +02:00
Christopher Jones
c73bcb0c6c
Add missing NEWS
2017-04-12 14:04:24 +10:00
Christopher Jones
241cf47400
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-12 14:03:34 +10:00
Christopher Jones
f4a41fe750
Fixed uninitialized data causing random crash (Dmitry)
2017-04-12 14:02:46 +10:00
Christopher Jones
28ddfbb892
Add missing NEWS
2017-04-12 13:23:19 +10:00
Anatol Belski
a334da8b17
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix misleading typo in identifiers
2017-04-11 13:49:19 +02:00
Anatol Belski
8bba2df2eb
Fix misleading typo in identifiers
2017-04-11 13:48:04 +02:00
Joe Watkins
8bbdbd063e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fixed bug #74413 wrong reflection on SQLite3::enableExceptions
2017-04-11 12:15:24 +01:00
Joe Watkins
b74b325aea
fixed bug #74413 wrong reflection on SQLite3::enableExceptions
2017-04-11 12:14:25 +01:00
Xinchen Hui
d44eacab07
Update NEWS
2017-04-11 18:46:57 +08:00
Xinchen Hui
87e6e1982b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74408 (Endless loop bypassing execution time limit)
2017-04-11 18:46:41 +08:00
Xinchen Hui
eb03f16442
Fixed bug #74408 (Endless loop bypassing execution time limit)
2017-04-11 18:46:16 +08:00
Anatol Belski
3dc9279188
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix re2c version comparison
2017-04-11 11:37:03 +02:00
Anatol Belski
dd17659b86
fix re2c version comparison
2017-04-11 11:03:24 +02:00
Matt Ficken
873c505ad9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #74410 by calling WaitForMultipleObjects() instead of MsgWaitForMultipleObjects()
2017-04-11 01:56:54 -07:00
Matt Ficken
76c9b58431
Fix #74410 by calling WaitForMultipleObjects() instead of
...
MsgWaitForMultipleObjects()
2017-04-11 01:54:57 -07:00
Sebastian Bergmann
25c941807b
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-11 08:28:55 +02:00
Sebastian Bergmann
7cdf520319
Fix bug #74409
2017-04-11 08:27:17 +02:00
Nikita Popov
9493ebbab2
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-10 22:26:35 +02:00
Nikita Popov
6e23f2bceb
Forgot to commit test file...
2017-04-10 22:26:14 +02:00
Nikita Popov
1df3099f2f
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-10 22:11:47 +02:00
Nikita Popov
6f950e83eb
Fix JMPZ+JMP => NOP+JMP optimization
2017-04-10 22:09:34 +02:00
Joe Watkins
8c53c346d4
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
2017-04-10 12:51:17 +01:00
Joe Watkins
5c518f47e4
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 #74402 (segfault on random_bytes, bin2hex, openssl_seal)
2017-04-10 12:51:00 +01:00
Joe Watkins
6a84762816
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74404 (wrong reflection on DateTimeZone::getTransitions)
2017-04-10 12:49:44 +01:00
Joe Watkins
d9e2f80375
Fixed bug #74404 (wrong reflection on DateTimeZone::getTransitions)
2017-04-10 12:48:51 +01:00
Xinchen Hui
394c53889f
Update NEWS
2017-04-10 19:03:27 +08:00
Xinchen Hui
3431132f18
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
2017-04-10 19:03:09 +08:00
Xinchen Hui
42e576ace2
Fixed bug #74402 (segfault on random_bytes, bin2hex, openssl_seal)
2017-04-10 19:02:50 +08:00
Joe Watkins
68b312db7d
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 condition check
Fixed condition check
another place
Fixed issue #2466 Invalid integer constant expression error in php.h
2017-04-10 08:07:52 +01:00
Joe Watkins
e642375764
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Fixed condition check
Fixed issue #2466 Invalid integer constant expression error in php.h
2017-04-10 08:07:24 +01:00
Joe Watkins
c961beb5de
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74400 (phpdbg comparing socket function to int)
2017-04-10 08:06:11 +01:00
Joe Watkins
60b68f19f0
Fixed bug #74400 (phpdbg comparing socket function to int)
2017-04-10 08:05:31 +01:00
Xinchen Hui
9398f15efd
Fixed condition check
2017-04-10 14:48:31 +08:00
Xinchen Hui
65d77812fc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed condition check
2017-04-10 14:47:42 +08:00
Xinchen Hui
4bebcb84ad
Fixed condition check
2017-04-10 14:47:24 +08:00
Xinchen Hui
d65459f4eb
another place
2017-04-10 14:42:48 +08:00
Xinchen Hui
8277111eee
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed issue #2466 Invalid integer constant expression error in php.h
2017-04-10 14:41:48 +08:00
Xinchen Hui
66411ee62e
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
fix news
Fix of Bug #74383 : Wrong reflection on Phar::running
2017-04-10 14:41:29 +08:00
Xinchen Hui
d2923ec1e5
Fixed issue #2466 Invalid integer constant expression error in php.h
2017-04-10 14:40:44 +08:00
Joe Watkins
1b6f784dd6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix news
2017-04-10 06:46:04 +01:00
Joe Watkins
a93832f414
fix news
2017-04-10 06:44:20 +01:00
Joe Watkins
9fe4d2d9cb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix of Bug #74383 : Wrong reflection on Phar::running
2017-04-10 06:32:40 +01:00
Mitch Hagstrand
d9a05807d2
Fix of Bug #74383 : Wrong reflection on Phar::running
2017-04-10 06:32:15 +01:00
Mitch Hagstrand
775afd5e2d
Fix of Bug #74383 : Wrong reflection on Phar::running
2017-04-10 06:24:57 +01:00
Xinchen Hui
9c7cb2cdcd
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Add NEWS
Resolve bug #74188 (undefined statics raising with ?? operator)
Fixed bug #72071 : Prevent Max-Age from being negative
Update NEWS with OpenSSL 1.1.0 support info
Add OpenSSL 1.1.0 support to PHP 7.0
2017-04-10 11:49:44 +08:00
Xinchen Hui
bb5535bd38
Update NEWS
2017-04-10 11:45:12 +08:00
Xinchen Hui
c32281d406
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74379 (syntax error compile error in libmagic/apprentice.c)
2017-04-10 11:44:50 +08:00
Xinchen Hui
341ff7119f
Fixed bug #74379 (syntax error compile error in libmagic/apprentice.c)
2017-04-10 11:44:41 +08:00
Xinchen Hui
3144222c7b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Missed NEWS
2017-04-10 11:22:37 +08:00
Xinchen Hui
a87ee7c57b
Missed NEWS
2017-04-10 11:22:08 +08:00
Nikita Popov
6db59ee0e0
Merge branch 'PHP-7.0' into PHP-7.1
...
[skip ci]
2017-04-09 15:57:15 +02:00
Nikita Popov
67283007ec
Add NEWS entries
...
[skip ci]
2017-04-09 15:56:49 +02:00
Nikita Popov
75b83ec2fd
Add NEWS
2017-04-09 15:52:37 +02:00
Nikita Popov
515e1e0cea
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-09 15:35:44 +02:00
Thomas Punt
744c4a5592
Resolve bug #74188 (undefined statics raising with ?? operator)
2017-04-09 15:29:31 +02:00
Nikita Popov
84ef6fa80d
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-09 13:14:57 +02:00
Craig Duncan
ba6561d3cc
Fixed bug #72071 : Prevent Max-Age from being negative
2017-04-09 13:14:40 +02:00
andrewnester
1ce355abb6
Fixed #74298 - IntlDateFormatter->format() doesn't return microseconds/fractions
2017-04-09 12:56:21 +02:00
Jakub Zelenka
a813cebff0
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-07 19:29:46 +01:00
Jakub Zelenka
948ad747d7
Update NEWS with OpenSSL 1.1.0 support info
2017-04-07 19:27:25 +01:00
Jakub Zelenka
cdc33251d2
Add OpenSSL 1.1.0 support to PHP 7.0
2017-04-07 19:21:33 +01:00
Xinchen Hui
7a796d18ee
Fixed bug #74353 (Segfault when killing within bash script trap code)
2017-04-07 16:15:36 +08:00
Xinchen Hui
d3198aa5a1
Update NEWS
2017-04-07 15:21:44 +08:00
Xinchen Hui
e656455eae
Remove unused var
2017-04-07 15:21:19 +08:00
Xinchen Hui
39327b90e3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
Conflicts:
ext/mysqlnd/mysqlnd_ps.c
2017-04-07 15:20:53 +08:00
Yussuf Khalil
27120d4412
Fix invalid free of persistent results on error/connection loss in mysqlnd (bug 74376)
2017-04-05 20:57:03 +02:00
Anatol Belski
adc49b1d18
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "extend skip section"
2017-04-04 16:23:49 +02:00
Anatol Belski
4ca3468e78
Revert "extend skip section"
...
This reverts commit 5136048064 .
This is not needed anymore wrt dst handling fix
2017-04-04 16:21:23 +02:00
Anatol Belski
3438e62b30
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix possible out of bounds buffer access
2017-04-03 15:22:04 +02:00
Anatol Belski
feeb35e438
fix possible out of bounds buffer access
2017-04-03 15:20:32 +02:00
Anatol Belski
2ec54af8df
fix buffer overflow
2017-04-03 14:22:23 +02:00
Nikita Popov
fe46a7da78
Fixed bug #74340
2017-04-02 13:30:35 +02:00
Nikita Popov
c8034514ed
Fixed bug #74361
2017-04-02 13:19:32 +02:00
Nikita Popov
32dcc1eef0
Merge branch 'PHP-7.0' into PHP-7.1
2017-04-02 01:08:24 +02:00
Martin Hujer
670041b60e
Fix opcache.max_accelerated_files doc in php.ini
...
As stated in docs: https://secure.php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files , the maximum is now 1000000
> The maximum value is 100000 in PHP < 5.5.6, and 1000000 in later versions.
2017-04-02 01:05:26 +02:00
Moritz Fain
46d286574b
Fixed bug #74341
...
Added support for ASN.1 UTCTime without seconds part (being 11 characters
long instead of 13).
Additionally, fixed incorrect handling of DST on systems without gmtoff.
2017-04-02 01:04:32 +02:00
Anatol Belski
dfb4875850
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update sdk version for appveyor
2017-03-31 01:43:46 +02:00
Anatol Belski
e0102f81aa
update sdk version for appveyor
2017-03-31 01:42:46 +02:00
Joe Watkins
6373ce7c1b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix bug #74343 compile fails on solaris 11 with system libgd
2017-03-30 16:28:37 +01:00
Joe Watkins
ef3140e544
fix bug #74343 compile fails on solaris 11 with system libgd
2017-03-30 16:27:40 +01:00
Markus Staab
22881e06e2
fixed typo
2017-03-29 09:10:42 +02:00
Markus Staab
175b2d8910
fixed typo
2017-03-29 09:10:41 +02:00
Remi Collet
cec720857a
relax more this test
2017-03-29 07:38:40 +02:00
Remi Collet
012dc336a6
Fix buid with system libsqlite, see bug #74217
...
SQLITE_DETERMINISTIC only exists in recent version
e.g. missing on 3.7 which is the default on RHEL/CentOS-7
and probably others (wheezy have 3.7, jessie 3.8...)
2017-03-29 07:25:01 +02:00
Remi Collet
d11211fb53
relax test failing in fast computer
2017-03-29 07:01:14 +02:00
Ben Scholzen
d896878ad5
Let MessageFormatter and IntlDateFormatter accept DateTimeImmutable as well
2017-03-29 00:20:46 +02:00
Nikita Popov
d2bae4ecad
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-28 22:08:58 +02:00
Nikita Popov
d6f70f0ee3
Disable block pass for large functions
...
(Backport of 7ea261685f to 7.0.)
2017-03-28 22:07:37 +02:00
Joe Watkins
e38310a151
prepare next
2017-03-28 15:22:10 +01:00
Anatol Belski
2a5e631e31
update NEWS
2017-03-28 13:14:51 +02:00
Anatol Belski
279d1efbdb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
Revert "Fixed bug #61471 "
2017-03-28 13:13:24 +02:00
Anatol Belski
5c93a31804
update NEWS
2017-03-28 13:12:27 +02:00
Anatol Belski
ef8632c9dc
Revert "Fixed bug #61471 "
...
This reverts commit 80c8d84af3 .
2017-03-28 13:06:38 +02:00
Anatol Belski
888fd16411
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
prepare next
2017-03-28 11:49:46 +02:00
Anatol Belski
ddad991c18
prepare next
2017-03-28 11:49:04 +02:00
Anatol Belski
0c3dcabc69
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-03-28 11:44:13 +02:00
Anatol Belski
6f2d33a239
update NEWS
2017-03-28 11:43:54 +02:00
Anatol Belski
5b12d08e1f
update NEWS
2017-03-28 11:43:02 +02:00
Anatol Belski
6508320936
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
deps updated, cherry-pick 88642decf9
add test for bug #74230
2017-03-27 19:42:24 +02:00
Anatol Belski
ee8b5de5a0
deps updated, cherry-pick 88642decf9
2017-03-27 19:38:20 +02:00
Anatol Belski
6da475367a
add test for bug #74230
2017-03-27 19:33:51 +02:00
x-xiang
e9e860a05b
Don't retain mt_rand() seeds across requests
...
In particular, this prevents manual seeding of mt_rand() to leak
across requests.
2017-03-27 19:02:39 +02:00
Derick Rethans
727b21c839
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-27 18:01:30 +01:00
Derick Rethans
1f8fc0fb56
Forgot to update the output in the test too
2017-03-27 18:01:22 +01:00
Anatol Belski
b8714a8b37
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
always use staging deps for CI, that's what we have a CI for as well
2017-03-27 18:49:59 +02:00
Anatol Belski
867c29caf0
always use staging deps for CI, that's what we have a CI for as well
2017-03-27 18:07:16 +02:00
Derick Rethans
f326cfc513
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-27 11:28:35 +01:00
Derick Rethans
eb5d4bcd4f
Fixed test for #33415 due to data fixes.
2017-03-27 11:28:16 +01:00
Derick Rethans
1f9e5cc2bc
Updated to version 2017.2 (2017b)
2017-03-24 12:25:26 +00:00
Derick Rethans
eb13003f6c
Updated to version 2017.2 (2017b)
2017-03-24 12:25:25 +00:00
Derick Rethans
fe5ef147b6
Empty merge
2017-03-24 12:25:25 +00:00
Derick Rethans
ee49d4b4be
Added a test case to make sure microseconds work.
2017-03-24 11:39:32 +00:00
Nikita Popov
e3e3547627
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-23 22:49:51 +01:00
Nikita Popov
d719b46222
Fix sequencing UB
2017-03-23 22:48:45 +01:00
Nikita Popov
f5951cc81b
Fix lineno for AST_ZVAL nodes
2017-03-23 22:48:41 +01:00
Sara Golemon
7835e2ebc5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug where `yield from` is captured too greedily
2017-03-23 13:38:58 -07:00
Sara Golemon
0fb640c717
Fix bug where yield from is captured too greedily
...
In the following piece of code:
```php
function from1234($x) {
return $x;
}
function foo($x) {
yield from1234($x);
}
```
The statement inside foo is taken as `yield from` `1234($x)`
which is neither the intent, nor even legal syntax for an fcall.
Do a lookahead for breaking non-label characters after the
`yield from` and only accept it if they occur.
2017-03-23 13:31:06 -07:00
Dmitry Stogov
a0331127fe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed uninitialized data
2017-03-23 18:59:56 +03:00
Dmitry Stogov
1517fdb36c
Fixed uninitialized data
2017-03-23 18:59:27 +03:00
Anatol Belski
78bacbadfb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
adjust deps dir naming scheme
2017-03-23 13:14:17 +01:00
Anatol Belski
1dbef2e27a
adjust deps dir naming scheme
...
not principal, just to have it same way as everywhere
2017-03-23 13:00:14 +01:00
Anatol Belski
9e3672eaef
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
explicitly ignore php.ini for proc open tests
2017-03-21 12:44:36 +01:00
Anatol Belski
bc2b500d3e
explicitly ignore php.ini for proc open tests
...
In some cases, when an environment is unclean, tests might get stuck fe
when some incorrect ini file is loaded. As the test depends on the core
only, it is safer to explicitly ignore the ini. Any ini can be passed in
the cmd itself, if needed.
2017-03-21 12:39:40 +01:00
Derick Rethans
2b7c3831cd
Fix for #73837 : "new DateTime()" with a cast to double
2017-03-20 17:48:15 +00:00
Jakub Zelenka
7dd52cbcdd
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-20 16:08:16 +00:00
Jakub Zelenka
6d066dc421
Lower timeout in test for but #72333
2017-03-20 16:07:12 +00:00
Nikita Popov
f2c35fdda8
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-17 20:20:43 +01:00
Nikita Popov
2e83082605
Fix bug #74265
2017-03-17 20:19:40 +01:00
Jakub Zelenka
ebc75dab50
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-17 19:08:26 +00:00
Jakub Zelenka
df135ffa7a
Make test 002 for bug #65538 not to use https in cafile
2017-03-17 19:07:32 +00:00
Jakub Zelenka
b0ba8c68cd
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-17 18:12:37 +00:00
Jakub Zelenka
53e2c9158d
Consume data by server in test for bug #72333
...
Client should be able to write more data and prevent time out
2017-03-17 18:11:50 +00:00
Nikita Popov
893bf7ecdd
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-17 13:35:50 +01:00
Nikita Popov
183cd048f1
Fix AST start lineno for list nodes
...
If the node is initialized with children, check if a child has a
lower start lineno, similar to what we do for fixed-sized nodes
as well.
2017-03-17 13:35:24 +01:00
Nikita Popov
7ea261685f
Disable block pass for large functions
...
This is the last fix for bug #74250 .
2017-03-17 12:49:20 +01:00
Jakub Zelenka
3becfb9be4
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-16 18:12:54 +00:00
Jakub Zelenka
0c8ad36d92
Make test for bug #72333 a bit more reliable
2017-03-16 18:11:56 +00:00
Sebastian Bergmann
ccc35d1903
Fugbix typo
2017-03-16 19:10:07 +01:00
Nikita Popov
052aa466e1
Further optimize worklist management
...
Instead of always popping the first elements, do multiple complete
iterations of the worklist until it is empty.
2017-03-16 18:11:27 +01:00
Nikita Popov
e60515f3b8
Slightly optimize worklist management
...
Avoid scanning the worklist twice on every iteration.
2017-03-16 17:32:27 +01:00
Nikita Popov
f1f68b60f5
Optimize DJ spanning tree back-edge check
...
Instead of walking the DJ spanning tree upwards, record entry and
exit times during the DFS and use these to determine whether CJ
edges are sp-back edges.
2017-03-16 17:26:20 +01:00
Nikita Popov
6633e8492e
Sort blocks in loop identification
...
The previous implementation was doing O(blocks*levels) iterations,
which for a linear-ish domtree is O(blocks^2). Avoid this by sorting
the blocks by decreasing level upfront.
2017-03-16 16:49:36 +01:00
Nikita Popov
63e59c75a5
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-16 12:57:36 +01:00
Adam Saponara
98f4ce9363
Return FALSE if error_log fails to write all bytes
2017-03-16 12:56:36 +01:00
Nikita Popov
9331be7d6a
Use call_map to avoid linear call lookup
2017-03-16 12:33:57 +01:00
Nikita Popov
2bba4a0d7f
Fix bug #69676
2017-03-15 19:49:02 +01:00
Bob Weinand
f3ab4c1a08
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-15 00:09:42 +01:00
Matt Bonneau
7fba8bda4c
Fixed bug #74240 (deflate_add can allocate too much memory)
2017-03-15 00:08:32 +01:00
Bob Weinand
3d4e954518
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-14 22:17:10 +01:00
Bob Weinand
8be63ce0e2
Fix stream context changes leaking into copies of previous context
2017-03-14 22:15:41 +01:00
Jakub Zelenka
b4f0174e5c
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-14 18:46:29 +00:00
Jakub Zelenka
b9d3dbc84e
Merge branch 'bug72333' into PHP-7.0
2017-03-14 18:43:39 +00:00
Jakub Zelenka
960e5cde02
Replace NEWS entry for #74159 with #72333
...
The #74159 is duplicate
2017-03-14 18:41:23 +00:00
Jakub Zelenka
ba70478a21
Skip bug74159 test for OpenSSL lower than 1.0.1
2017-03-14 18:13:57 +00:00
Jakub Zelenka
8e5d080d54
Tidy up test for bug72333
2017-03-14 18:13:57 +00:00
Jakub Zelenka
f0e67d1a56
Speed up test for bug72333
...
It reliably fails without the xp_ssl.c so it is good with smaller usleep
2017-03-14 18:13:57 +00:00
Jakub Zelenka
411f4b1b6f
Fix indent and add comment
2017-03-14 18:13:57 +00:00
Jakub Zelenka
760ff21bf3
Tidy up setting of SSL_MODE_RELEASE_BUFFERS
2017-03-14 18:13:57 +00:00
Jakub Zelenka
53cc72ef86
Remove extra SSL mode settings
2017-03-14 18:13:57 +00:00
Jakub Zelenka
17e9fc9bfe
Fix bug #72333 (fwrite() on non-blocking SSL sockets does not work)
2017-03-14 18:13:57 +00:00
Anatol Belski
7018a0502f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update binary sdk tools version for appveyor
2017-03-13 12:32:46 +01:00
Anatol Belski
8e45583006
update binary sdk tools version for appveyor
2017-03-13 12:31:31 +01:00
Remi Collet
1ffb1b9597
rely on provided openssl.cnf to avoid possible failure with system defaults
2017-03-13 08:17:42 +01:00
andrewnester
fbf0e0587f
Implement FR #74217 : deterministic sqlite functions
2017-03-12 17:03:00 +01:00
Nikita Popov
280e8dafe4
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-10 18:20:58 +01:00
Nikita Popov
29ee3e3c49
Fixed bug #73960
2017-03-10 18:20:32 +01:00
Xinchen Hui
9f263c257a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74218 (ArrayIterator error message is confusing)
2017-03-10 15:16:01 +08:00
Xinchen Hui
c398198c0a
Fixed bug #74218 (ArrayIterator error message is confusing)
2017-03-10 15:15:31 +08:00
Sara Golemon
7cb3e90162
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add NEWS entry for bab0b99f
2017-03-09 11:56:54 -08:00
Sara Golemon
9b16d4c999
Add NEWS entry for bab0b99f
2017-03-09 11:56:06 -08:00
Nikita Popov
305f3c2b76
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-09 20:48:24 +01:00
Nikita Popov
177f87cf05
Fixed bug #73370
...
If len=0 malloc() is allowed to return NULL.
2017-03-09 20:47:06 +01:00
Nikita Popov
314ef0ff69
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-09 17:32:01 +01:00
Thomas Orozco
247ce052cd
Fixed bug #71003 : Add PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT
2017-03-09 17:31:21 +01:00
Nikita Popov
6635639b75
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-09 16:45:28 +01:00
mcq8
b224e74267
Fixed bug #72096 Swatch time value incorrect for dates before 1970
2017-03-09 16:44:02 +01:00
Joe Watkins
8599ce4f18
Fix bug #74149 static embed SAPI linkage error
2017-03-09 07:43:58 +00:00
andrewnester
8f799137d7
Fixed bug #74058
...
Fall back from get_property_ptr_ptr to read_property if offsetGet
is overridden.
2017-03-09 00:10:00 +01:00
Sara Golemon
1a19b97ac3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Detect invalid port in xp_socket parse ip address
2017-03-07 12:11:22 -08:00
Sara Golemon
bab0b99f37
Detect invalid port in xp_socket parse ip address
...
For historical reasons, fsockopen() accepts the port and hostname
separately: fsockopen('127.0.0.1', 80)
However, with the introdcution of stream transports in PHP 4.3,
it became possible to include the port in the hostname specifier:
fsockopen('127.0.0.1:80')
Or more formally: fsockopen('tcp://127.0.0.1:80')
Confusing results when these two forms are combined, however.
fsockopen('127.0.0.1:80', 443) results in fsockopen() attempting
to connect to '127.0.0.1:80:443' which any reasonable stack would
consider invalid.
Unfortunately, PHP parses the address looking for the first colon
(with special handling for IPv6, don't worry) and calls atoi()
from there. atoi() in turn, simply stops parsing at the first
non-numeric character and returns the value so far.
The end result is that the explicitly supplied port is treated
as ignored garbage, rather than producing an error.
This diff replaces atoi() with strtol() and inspects the
stop character. If additional "garbage" of any kind is found,
it fails and returns an error.
2017-03-07 12:10:53 -08:00
Anatol Belski
b8f75e75f6
sync with the incremental and inter-file analysis option
...
available as of cppcheck 1.77
2017-03-07 15:27:57 +01:00
Nikita Popov
8a6281455e
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-07 13:17:33 +01:00
Nikita Popov
549a30d2cd
Fix out of bounds access in gc_find_additional_buffer()
2017-03-07 13:16:06 +01:00
Dmitry Stogov
d9231b1667
Fixed pointer allignment
2017-03-07 10:18:34 +03:00
Dmitry Stogov
b273a8cbe4
Ensure pointer alignment.
2017-03-07 09:48:18 +03:00
Dmitry Stogov
6158b517c4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
2017-03-03 16:12:41 +03:00
Dmitry Stogov
648b756f35
Fixed file-cache (Zend/tests/unused_shared_static_variables.phpt)
2017-03-03 16:10:46 +03:00
Anatol Belski
f844c0880d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS for bug #74159
2017-03-02 20:46:39 +01:00
Anatol Belski
c082c92b7e
sync NEWS for bug #74159
2017-03-02 20:45:15 +01:00
Anatol Belski
1d4248af42
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
improve signal globals consistency check for TS
2017-03-02 20:34:48 +01:00
Anatol Belski
18f7e26257
improve signal globals consistency check for TS
...
Seems when we receive TERM, TLS is destroyed completely. In that case,
not only signal globals, but the entire globals array doesn't exist
anymore.
2017-03-02 20:27:27 +01:00
Anatol Belski
494fc16184
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
do not try to handle signals, when globals are inconsistent
2017-03-02 16:41:43 +01:00
Anatol Belski
c7b2c698d0
do not try to handle signals, when globals are inconsistent
2017-03-02 16:40:38 +01:00
Nikita Popov
bf8c463f5b
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-02 12:36:13 +01:00
somedaysummer
fab5ce347c
PHP bug #74004
...
Fix for DOMDocument loadHTML and loadHTMLFile ignore LIBXML_NOWARNING
and LIBXML_NOERROR flags.
2017-03-02 12:35:42 +01:00
Derick Rethans
a7ff583e7e
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-02 11:28:09 +00:00
Derick Rethans
cf60f26da6
Fixed tests after tzdb removed abbreviations
2017-03-02 11:28:02 +00:00
Derick Rethans
61e9b7354f
Make sure we anchor this test to February
2017-03-02 11:27:44 +00:00
Nikita Popov
bc1807dbe2
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-02 12:13:38 +01:00
Mitch Hagstrand
29333550d2
Fix bug73858.phpt to work in months without 31 days
...
Used hardcoded months in bug73858.phpt rather than the current and previous
month.
2017-03-02 12:13:06 +01:00
Christopher Jones
9f09c810f5
Update NEWs
2017-03-02 15:34:47 +11:00
Christopher Jones
06e5ec9e32
Merge branch 'PHP-7.0' into PHP-7.1
2017-03-02 15:33:25 +11:00
Christopher Jones
e80ea04c79
Fixed bug #54379 (PDO_OCI: UTF-8 output gets truncated)
...
This was a modification of an incomplete PR #2276 .
2017-03-02 15:28:01 +11:00
Derick Rethans
1b16fb594f
Updated to version 2017.1 (2017a)
2017-03-01 20:07:51 +00:00
Derick Rethans
dfcb11d7d1
Updated to version 2017.1 (2017a)
2017-03-01 20:07:51 +00:00
Derick Rethans
36d8c1b182
Empty merge
2017-03-01 20:07:51 +00:00
Remi Collet
2f955d5d0a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
make type consistent with glob_t.gl_pathc
2017-03-01 17:02:42 +01:00
Remi Collet
53a08fd07d
make type consistent with glob_t.gl_pathc
2017-03-01 17:01:58 +01:00
Sara Golemon
c5727a30cf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix potential crash when setting invalid declare value
2017-02-28 17:17:41 -08:00
Sara Golemon
868930e079
Fix potential crash when setting invalid declare value
...
Using a non-literal expression in a declare value can cause the
compiler to crash trying to turn that AST node into a usable zval.
There was an existing test for such values using 'encoding',
but that didn't crash because it's handled by the lexer
rather than being compiled.
Trying to use a non-literal with ticks reproduces the crash.
2017-02-28 17:08:23 -08:00
Remi Collet
3006d1de5b
make test slower again
2017-02-28 11:36:24 +01:00
Joe Watkins
55bcef1751
prepare 7.1.4
2017-02-28 09:08:05 +00:00
Anatol Belski
52393daa3a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
prepare next
2017-02-28 09:47:56 +01:00
Anatol Belski
21a05b0418
prepare next
2017-02-28 09:46:11 +01:00
Joe Watkins
585ea4cda0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "fix crash in phpdbg shutdown process when opcache is loaded"
2017-02-27 19:21:37 +00:00
Joe Watkins
c564924d31
Revert "fix crash in phpdbg shutdown process when opcache is loaded"
...
This reverts commit 008fb28eaf .
2017-02-27 19:21:10 +00:00
Joe Watkins
7aa59a4440
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix crash in phpdbg shutdown process when opcache is loaded
2017-02-27 17:55:14 +00:00
Joe Watkins
008fb28eaf
fix crash in phpdbg shutdown process when opcache is loaded
2017-02-27 17:54:48 +00:00
Xinchen Hui
59acca2062
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Improve fix for bug #73807
2017-02-26 12:06:29 +08:00
Xinchen Hui
6a584cf318
Fixed bug #74157 (Segfault with nested generators)
2017-02-26 12:05:56 +08:00
Nikita Popov
846bea7f05
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-25 12:57:53 +01:00
Nikita Popov
bbfa1b6419
Improve fix for bug #73807
...
At least on some architectures memmove() on FreeBSD does not
short-curcuit if src==dst. Check for it explicitly to avoid
quadratic copying.
2017-02-25 12:55:14 +01:00
Xinchen Hui
36fcc4cb5d
Fixed bug #74164 (PHP hangs when an invalid value is dynamically passed to typehinted by-ref arg)
2017-02-25 12:00:42 +08:00
Xinchen Hui
d1f36d6d8e
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 bug #73127
Support run or test target invoked within debugger
Update test for bug #74159
Update NEWS
Fix bug #74159
2017-02-25 11:10:37 +08:00
Nikita Popov
f678b0eae2
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-24 23:22:24 +01:00
Grundik
eac8166bd4
Fix bug #73127
...
gost-crypto hash was incorrect if input data contained long 0xFF
sequence, due to a carry-propagation bug.
2017-02-24 23:20:49 +01:00
Anatol Belski
0ceedea2cc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Support run or test target invoked within debugger
2017-02-24 19:41:30 +01:00
Anatol Belski
9450e23b32
Support run or test target invoked within debugger
...
Useful, as it gets all the environment produced by the makefile. For the
test target, it might make sense to have the child process debug plugin
for VS installed.
2017-02-24 19:37:16 +01:00
Aaron Piotrowski
531fbb88f5
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-23 22:56:04 -06:00
Aaron Piotrowski
ff8a6b1232
Update test for bug #74159
2017-02-23 22:24:59 -06:00
Aaron Piotrowski
c05c65ac80
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-23 21:19:46 -06:00
Aaron Piotrowski
cc10515056
Update NEWS
2017-02-23 21:10:14 -06:00
Aaron Piotrowski
e9873d9853
Fix bug #74159
...
Thanks to @brzuchal for the patch to xp_ssl.c and @DaveRandom for helping debug the problem.
2017-02-23 20:59:43 -06:00
Xinchen Hui
afca29c436
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed typo (it should be typo)
2017-02-23 13:58:51 +08:00
Xinchen Hui
d2f384a47b
Fixed typo (it should be typo)
2017-02-23 13:58:08 +08:00
Xinchen Hui
be60d159b6
Add test only (bug doesn't exists in 7.1)
2017-02-23 12:47:15 +08:00
Xinchen Hui
002680d0d5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74152 (if statement says true to a null variable)
2017-02-23 12:47:04 +08:00
Xinchen Hui
330a7b62c3
Fixed bug #74152 (if statement says true to a null variable)
2017-02-23 12:33:17 +08:00
Xinchen Hui
48fcc5ddc2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments)
2017-02-23 11:02:37 +08:00
Xinchen Hui
1d4eead995
Fixed bug #74148 (ReflectionFunction incorrectly reports the number of arguments)
2017-02-23 11:02:23 +08:00
Remi Collet
d444e017fb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
report about OpenSSL 1.1 not supported during configure
2017-02-22 08:40:22 +01:00
Remi Collet
015a80ef7b
report about OpenSSL 1.1 not supported during configure
2017-02-22 08:39:07 +01:00
Joe Watkins
46d0933668
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
pull-request/2393:
stop fpm make install clobbering dot d configuration
2017-02-22 06:48:48 +00:00
Coenraad Loubser
9eaf551c86
pull-request/2393:
...
stop make install from clobbering default dot d configuration
2017-02-22 06:47:23 +00:00
Dmitry Stogov
500232ef35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
too many dashes
2017-02-21 10:48:21 +03:00
Dmitry Stogov
593a4d8fe9
too many dashes
2017-02-21 10:47:48 +03:00
Dmitry Stogov
508d78ce5e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Increase WSDL cache version (7.0 wsdl cache is incomatible with PHP-5) Include WSDL cache version number into file name
2017-02-21 10:42:42 +03:00
Dmitry Stogov
bd7e5c1548
Increase WSDL cache version (7.0 wsdl cache is incomatible with PHP-5)
...
Include WSDL cache version number into file name
2017-02-21 10:41:20 +03:00
Remi Collet
dd9701c414
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test for libzip 1.2.0
2017-02-19 17:02:16 +01:00
Remi Collet
c836ad1c7e
fix test for libzip 1.2.0
2017-02-19 17:02:00 +01:00
Anatol Belski
ac64eea9e6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
initialize valid_symbol_table, important for the main thread
2017-02-18 18:03:55 +01:00
Anatol Belski
1623ef10c9
initialize valid_symbol_table, important for the main thread
...
to prevent php_errormsg population on invalid symlol_table
2017-02-18 17:58:17 +01:00
andrewnester
15b8b124ae
Fixed #74099 - Memory leak with openssl_encrypt()
2017-02-17 21:23:16 +01:00
Nikita Popov
c240feb7f4
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-17 18:44:02 +01:00
Benjamin Robin
513582814b
Fixed bug #74105
...
If getrandom syscall is unavailable (ENOSYS), try to fallback on
/dev/urandom.
2017-02-17 18:42:35 +01:00
Xinchen Hui
aa1d92e3e5
Unused var
2017-02-17 12:22:59 +08:00
Nikita Popov
9ca43b873a
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-16 17:36:03 +01:00
Ondřej Surý
61e59db99d
Disable RTLD_DEEPBIND when compiling with AddressSanitizer (-fsanitize=address).
...
The AddressSanitizer doesn't support RTLD_DEEPBIND resulting in
erratic errors when deinitializing phar module and possibly others.
Clang use __has_feature() macro to indicate compilation with
AddressSanitizer while gcc uses __SANITIZE_ADDRESS__ define.
Fixes bug #73677 .
2017-02-16 17:35:29 +01:00
Nikita Popov
976225ef23
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-16 17:28:05 +01:00
Nikita Popov
cf3ef36323
Fix memory errors in url rewriter
...
Strings aren't terminated here...
2017-02-16 17:24:07 +01:00
Nikita Popov
a381b61f03
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-16 17:00:21 +01:00
Nikita Popov
708973c9bd
Fix autoload_func_info destruction
...
Can't reference the function ptr after the closure has been
destroyed.
2017-02-16 16:59:17 +01:00
Nikita Popov
f741f9b656
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-16 12:47:12 +01:00
Mitch Hagstrand
3b91ed112f
Make the ftp and stream tests more reliable.
...
The tests can sometimes fail because it chooses a passive port for ftp that
is already in use. This makes the test attempt multiple times to find a free
port.
2017-02-16 12:46:55 +01:00
Nikita Popov
5432d6f982
Add json dep to test
2017-02-16 12:45:24 +01:00
Anatol Belski
bf4fdda1a8
[ci skip] update NEWS
2017-02-15 16:35:49 +01:00
Anatol Belski
f1b36e7e35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-02-15 16:35:11 +01:00
Anatol Belski
e79754dee3
[ci skip] update NEWS
2017-02-15 16:33:49 +01:00
Anatol Belski
8ad75bec97
skip test
...
The code path not available on Windows.
2017-02-15 16:12:34 +01:00
Anatol Belski
2a61e5495a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74090 stream_get_contents maxlength>-1 returns empty string
2017-02-15 14:49:58 +01:00
Anatol Belski
89a5bd6750
Fixed bug #74090 stream_get_contents maxlength>-1 returns empty string
2017-02-15 11:22:47 +01:00
Xinchen Hui
f53ea4cd60
Fixed test in travis
2017-02-15 17:31:27 +08:00
Xinchen Hui
8d94d5d942
Make it slower
2017-02-15 15:27:21 +08:00
Xinchen Hui
dad5281a89
Fixed test
2017-02-15 14:49:02 +08:00
Xinchen Hui
6767ef05a5
Add a test for hard_timeout(bug #74093 )
2017-02-15 13:51:45 +08:00
Xinchen Hui
1242f53ddb
Workaround to fix bug #74093 (Maximum execution time of n+2 seconds exceed not written in error_log)
...
Use a different exit code for hard_timeout, 124 is used by linux
timeout:http://man7.org/linux/man-pages/man1/timeout.1.html
"If the command times out, and --preserve-status is not set, then exit with status 124"
2017-02-15 12:27:56 +08:00
Xinchen Hui
930ce02048
Update NEWS
2017-02-13 19:17:51 +08:00
Xinchen Hui
9df7cc3e68
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite)
2017-02-13 19:17:09 +08:00
Xinchen Hui
3917350531
Fixed bug #73989 (PHP 7.1 Segfaults within Symfony test suite)
2017-02-13 19:16:17 +08:00
Nikita Popov
134d0b33a3
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 22:03:31 +01:00
Nikita Popov
eb1373e509
Revert "Fixed bug #74035 "
...
This reverts commit 9ffc6ca62f .
2017-02-12 22:02:39 +01:00
Derick Rethans
d28df113d5
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 20:19:02 +00:00
Derick Rethans
f0519f4837
Upgrade timelib to 2017.01
...
This fixes:
- Fixed bug #72719 (Relative datetime format ignores weekday on sundays only).
- Fixed bug #73294 (DateTime wrong when date string is negative).
- Fixed bug #73489 (wrong timestamp when call setTimeZone multi times with UTC
offset).
- Fixed bug #73858 (first/last day of' flag is not being reset).
- Fixed bug #73942 ($date->modify('Friday this week') doesn't return a Friday
if $date is a Sunday).
- Fixed bug #74057 (wrong day when using "this week" in strtotime).
2017-02-12 20:17:01 +00:00
Xinchen Hui
b96c5b14b9
Update NEWS
2017-02-12 20:36:32 +08:00
Xinchen Hui
b56114e8fb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)
Conflicts:
Zend/zend_operators.c
2017-02-12 20:36:18 +08:00
Xinchen Hui
26fdebc63b
Fixed bug #74084 (Out of bound read - zend_mm_alloc_small)
2017-02-12 20:34:08 +08:00
Nikita Popov
98fceaf61e
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 12:50:14 +01:00
andrewnester
01c1afa79f
Fixed bug #74021
2017-02-12 12:48:18 +01:00
Xinchen Hui
5a1bb3891a
Update NEWS
2017-02-12 18:56:36 +08:00
Xinchen Hui
6649aebb89
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73496 (Invalid memory access in zend_inline_hash_func)
2017-02-12 18:56:11 +08:00
Xinchen Hui
ee25eb0eae
Fixed #73496 (Invalid memory access in zend_inline_hash_func)
...
no test script is added because it requre too much memory
2017-02-12 18:55:19 +08:00
Nikita Popov
479d7c3f4d
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 00:20:06 +01:00
Nikita Popov
981c58705a
run-tests: Exit 1 on BORKED tests
2017-02-12 00:19:36 +01:00
Nikita Popov
9fb2812b56
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 00:15:46 +01:00
Adam Saponara
7e5cf2aa19
Fixed bug #73118
2017-02-12 00:14:59 +01:00
Nikita Popov
6d5ea20e0b
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-12 00:06:35 +01:00
Denis Yeldandi
9814be4bc2
Fixed bug #69860
2017-02-12 00:06:04 +01:00
Anatol Belski
bf2627e58c
add missing datatype as sync for 5113909
2017-02-11 14:51:15 +01:00
Derick Rethans
5113909259
Fixed bug #73837 ("new DateTime()" sometimes returns 1 second ago value).
2017-02-11 11:10:01 +00:00
Xinchen Hui
808a11041d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed typo
2017-02-11 00:01:38 +08:00
Xinchen Hui
db7c0badd4
Fixed typo
2017-02-11 00:01:09 +08:00
Xinchen Hui
47f1e0817a
Update NEWs
2017-02-10 14:26:18 +08:00
Xinchen Hui
0b7fa040e9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74019 (Segfault with list)
2017-02-10 14:25:29 +08:00
Xinchen Hui
185304a61e
Fixed bug #74019 (Segfault with list)
2017-02-10 14:24:01 +08:00
Nikita Popov
f352c50026
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-08 01:10:48 +01:00
Zheng SHAO
80c8d84af3
Fixed bug #61471
2017-02-08 01:10:13 +01:00
Nikita Popov
8417a3be38
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-08 01:00:46 +01:00
dreamsxin
7a0adb4cd2
Add #ifndef restrict
2017-02-08 01:00:35 +01:00
Nikita Popov
bb9adc4c52
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-08 00:53:36 +01:00
Christian Schmidt
714d825b62
Fix detection of isnan and isinf
...
The isnan() and isinf() are C99 macros not functions.
Also fix is_infinite(-INF) in case isinf is not defined.
2017-02-08 00:53:18 +01:00
Anatol Belski
189ea77101
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
use some dynamically generated NAN as well
2017-02-07 13:18:38 +01:00
Anatol Belski
044dd30440
use some dynamically generated NAN as well
2017-02-07 13:16:30 +01:00
Anatol Belski
265c53dbbf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to smart str conversion routine to hide exact NAN type
2017-02-07 12:03:21 +01:00
Anatol Belski
fd521a22f7
switch to smart str conversion routine to hide exact NAN type
...
see https://github.com/php/php-src/pull/2356#issuecomment-277564135
2017-02-07 12:01:14 +01:00
Nikita Popov
546af1966e
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-06 01:46:01 +01:00
Nikita Popov
8a8aa67844
Revert "Fix detection of isnan and isinf"
...
This reverts commit 9ea0949f43 .
2017-02-06 01:45:53 +01:00
Nikita Popov
70b27b5ad8
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-05 18:10:04 +01:00
Christian Schmidt
9ea0949f43
Fix detection of isnan and isinf
...
The isnan() and isinf() are C99 macros not functions.
Also fix is_infinite(-INF) in case isinf is not defined.
2017-02-05 18:09:04 +01:00
Andrea Faulds
b87e399393
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-05 01:31:42 +00:00
Andrea Faulds
21d7878690
Fix bug #73954
2017-02-05 01:30:20 +00:00
Nikita Popov
f3b1ecb6c8
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-03 18:42:28 +01:00
Nikita Popov
dcaf4da8a6
Revert "Merge branch 'pull-request/2344' into PHP-7.0"
...
This reverts commit 6988d070ea , reversing
changes made to 75ad2b301a .
2017-02-03 18:42:10 +01:00
Nikita Popov
57817eb72f
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-03 18:30:32 +01:00
andrewnester
9ffc6ca62f
Fixed bug #74035
2017-02-03 18:29:39 +01:00
Nikita Popov
8660e95b4c
Fixed bug #74041
2017-02-03 17:54:39 +01:00
Joe Watkins
611952cd98
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
2017-02-03 06:12:42 +00:00
Joe Watkins
6988d070ea
Merge branch 'pull-request/2344' into PHP-7.0
...
* pull-request/2344:
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
2017-02-03 06:12:05 +00:00
somedaysummer
4df993d89d
Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
2017-02-03 06:08:42 +00:00
Joe Watkins
e9209e15a2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
increase wait time in timeout_variation_9.phpt by 1 second
2017-02-03 06:00:53 +00:00
Joe Watkins
75ad2b301a
Merge branch 'pull-request/2359' into PHP-7.0
...
* pull-request/2359:
increase wait time in timeout_variation_9.phpt by 1 second
2017-02-03 06:00:34 +00:00
Rodrigo Prado
0b56ba51d0
increase wait time in timeout_variation_9.phpt by 1 second
2017-02-03 05:57:26 +00:00
Joe Watkins
a52afd27ab
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
increase wait time in timeout_variation_10.phpt by 1 second
2017-02-03 05:55:16 +00:00
Joe Watkins
25271feeb0
Merge branch 'pull-request/2360' into PHP-7.0
...
* pull-request/2360:
increase wait time in timeout_variation_10.phpt by 1 second
2017-02-03 05:54:50 +00:00
Rodrigo Prado
8faf5f979c
increase wait time in timeout_variation_10.phpt by 1 second
2017-02-03 05:53:28 +00:00
Nikita Popov
e81f30ad1d
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-02 18:33:42 +01:00
Mitch Hagstrand
dd9cf23457
BUG #73998 : Numeric properties are not accessible from get_object_vars
2017-02-02 18:33:10 +01:00
Nikita Popov
2d1955796e
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-02 18:14:50 +01:00
Matěj Humpál
acda2563ce
Fix bug #74031
...
Fix incorrect parameter count for imagepng function
2017-02-02 18:13:53 +01:00
Nikita Popov
d2658287fa
Merge branch 'PHP-7.0' into PHP-7.1
2017-02-02 18:07:05 +01:00
Nikita Popov
a15bffd105
Fix bug #73807
2017-02-02 18:06:15 +01:00
Anatol Belski
89f2dd2879
[ci skip] update NEWS
2017-02-02 14:21:31 +01:00
Anatol Belski
e16d357e27
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] update NEWS
2017-02-02 14:20:53 +01:00
Anatol Belski
570a273807
[ci skip] update NEWS
2017-02-02 14:19:35 +01:00
Anatol Belski
9b9080e85d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
2017-02-02 13:06:31 +01:00
Anatol Belski
6fc0ae638a
Fixed #74022 PHP Fast CGI crashes when reading from a pfx file.
2017-02-02 12:48:12 +01:00
Anatol Belski
0260d42f6d
[ci skip] update NEWS
2017-02-02 01:35:22 +01:00
Anatol Belski
79d3a35ede
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-02-02 01:34:48 +01:00
Anatol Belski
1d7f8eb693
update NEWS
2017-02-02 01:33:41 +01:00
Anatol Belski
dcc8ecad00
remove the reverted NEWS entry
2017-02-01 20:02:20 +01:00
Anatol Belski
3bc7ea9a0a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
sync NEWS with the reverted stuff
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454 )"
2017-02-01 20:01:40 +01:00
Anatol Belski
74c95fb3fb
sync NEWS with the reverted stuff
2017-02-01 20:00:32 +01:00
Anatol Belski
3446e3b749
Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"
...
This reverts commit 2fcf1259c6 .
2017-02-01 19:59:24 +01:00
Anatol Belski
69a2e4ece2
Revert "fix BC break introduced by #2346 ( sebastianbergmann/phpunit#2454 )"
...
This reverts commit 62938bf088 .
2017-02-01 19:59:18 +01:00
Joe Watkins
46de334452
Revert "Inheritance checks should not ignore parents if these implement an interface"
...
This reverts commit b67eb3440b .
2017-02-01 18:34:14 +00:00
Joe Watkins
648238da5c
Revert "Added tests demonstrating the same effect with abstracts"
...
This reverts commit c11b2b809d .
2017-02-01 18:33:47 +00:00
Dmitry Stogov
ddf41b505c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
typo
2017-02-01 17:37:40 +03:00
Dmitry Stogov
3f89b630b4
typo
2017-02-01 17:36:55 +03:00
Dmitry Stogov
8f7f8d3f9b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fixed macro
2017-02-01 16:05:57 +03:00
Dmitry Stogov
15e9aa1706
fixed macro
2017-02-01 16:05:33 +03:00
Anatol Belski
ba358c5695
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix possible NULL dereference
2017-02-01 13:45:45 +01:00
Anatol Belski
8dfa428ccd
fix possible NULL dereference
2017-02-01 13:43:33 +01:00
Anatol Belski
5a7fe51235
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove unused var
use zend_string API
Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed
2017-02-01 12:57:02 +01:00
Anatol Belski
15404bda13
remove unused var
2017-02-01 12:49:32 +01:00
Anatol Belski
2cd0d8b711
use zend_string API
2017-02-01 12:45:19 +01:00
Anatol Belski
ec43a11581
Fixed bug #74005 mail.add_x_header causes RFC-breaking lone line feed
2017-02-01 12:36:14 +01:00
Anatol Belski
cd5d6efaf0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test for 32bits (int -> float)
2017-02-01 12:00:39 +01:00
Anatol Belski
d9ca5d9637
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix test for 32bits (int -> float)
2017-02-01 11:59:44 +01:00
Remi Collet
0e21d8066b
fix test for 32bits (int -> float)
...
(cherry picked from commit 0f1ae93bfa )
2017-02-01 11:49:52 +01:00
Remi Collet
4fe2758657
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test for 32bits (int -> float)
2017-02-01 10:25:54 +01:00
Remi Collet
aa9742d80d
fix test for 32bits (int -> float)
2017-02-01 10:25:30 +01:00
Anatol Belski
d5f00717bf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add a primitive debug facility to sendmail
2017-01-31 18:28:29 +01:00
Anatol Belski
163bb87897
add a primitive debug facility to sendmail
2017-01-31 18:25:36 +01:00
Anatol Belski
2c0c704d43
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "backport 51e1da6ea1 into 7.0"
2017-01-31 14:22:30 +01:00
Anatol Belski
5b5130c4ff
Revert "backport 51e1da6ea1 into 7.0"
...
This reverts commit 8da8756312 .
2017-01-31 14:21:20 +01:00
Joe Watkins
6278a5aa7d
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
bump versions for next in dev
2017-01-31 12:48:31 +00:00
Joe Watkins
c34bf0015b
bump versions
2017-01-31 12:48:05 +00:00
Anatol Belski
008e50a6f3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
bump versions for next in dev
2017-01-31 11:20:10 +01:00
Anatol Belski
536b3ca1e1
bump versions for next in dev
2017-01-31 11:18:23 +01:00
Joe Watkins
390134e6c5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
removed additional ";" from run-tests.php
2017-01-31 05:36:16 +00:00
Rodrigo Prado
543141ae3b
removed additional ";" from run-tests.php
2017-01-31 05:35:58 +00:00
Anatol Belski
6a8e7d5408
update NEWS
2017-01-30 22:35:46 +01:00
Anatol Belski
7a89dd8067
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-01-30 22:35:14 +01:00
Anatol Belski
f39cabe610
update NEWS
2017-01-30 22:34:14 +01:00
Sara Golemon
3475c0c035
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Securely zero the hash context key
2017-01-30 09:02:42 -08:00
Sara Golemon
bf0f53270f
Securely zero the hash context key
2017-01-30 08:57:17 -08:00
Anatol Belski
de64adeb1d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73983 crash on finish work with phar in cli + opcache
2017-01-30 12:46:11 +01:00
Anatol Belski
368958b3e4
Fixed bug #73983 crash on finish work with phar in cli + opcache
...
The file_cache_only option causes the storage to be per process,
furthermore the arena is destroyed per request. Thus, zend_string's
can't survive between request and the permanent flag should not
be set. This is already done with the file cache part, but the
persistency part is used in various scenarios and should respect
this case as well. In this particular bug, the pcre pattern cache
needs to survive between requests and uses pattern strings as hash
keys. One more case relevant here would be various situations where
the flow disables the use of shared memory.
2017-01-30 12:44:21 +01:00
Joe Watkins
e6bc4f39a2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454 )
2017-01-30 11:26:37 +00:00
Joe Watkins
dd227c2b23
Merge branch 'pull-request/2348' into PHP-7.0
...
* pull-request/2348:
fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454 )
2017-01-30 11:26:02 +00:00
jhdxr
62938bf088
fix BC break introduced by #2346 ( sebastianbergmann/phpunit#2454 )
2017-01-30 11:25:04 +00:00
Anatol Belski
f2c99e201e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move id initialization into ctor
2017-01-30 11:41:59 +01:00
Anatol Belski
4b1afc829c
move id initialization into ctor
2017-01-30 11:40:23 +01:00
Anatol Belski
2a5a310446
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix system id initialization for multiple threads
2017-01-30 01:57:27 +01:00
Anatol Belski
2b7e5468c9
fix system id initialization for multiple threads
2017-01-30 01:54:36 +01:00
Jakub Zelenka
1dab39b9aa
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-29 20:44:51 +00:00
Jakub Zelenka
df16579642
Try fpm path for testing in sbin as it is default target
2017-01-29 20:43:58 +00:00
Joe Watkins
366f838483
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
2017-01-28 08:27:53 +00:00
jhdxr
2fcf1259c6
fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
2017-01-28 08:27:05 +00:00
Joe Watkins
19fff2ece6
[ci skip] news entry for Fixed bug #73987
2017-01-28 06:46:43 +00:00
Pedro Magalhães
c11b2b809d
Added tests demonstrating the same effect with abstracts
2017-01-28 06:28:14 +00:00
Pedro Magalhães
b67eb3440b
Inheritance checks should not ignore parents if these implement an interface
2017-01-28 06:28:10 +00:00
Joe Watkins
bf914ff75a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix 00version.phpt when commit message has multiple lines.
2017-01-26 11:36:36 +00:00
Mitch Hagstrand
a3d3f76827
Fix 00version.phpt when commit message has multiple lines.
...
The environment variable "TRAVIS_COMMIT_MESSAGE" can contain multiple lines.
An example can be seen here https://travis-ci.org/php/php-src/jobs/195465293
2017-01-26 11:36:24 +00:00
Joe Watkins
2d339fa4d1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73973 - debug_zval_dump() assertion error for resource consts with --enable-debug
2017-01-26 09:04:25 +00:00
andrewnester
f65ae82c55
Fixed #73973 - debug_zval_dump() assertion error for resource consts with --enable-debug
2017-01-26 09:03:47 +00:00
Joe Watkins
76a7470160
Fixed bug #73994 incorrect arginfo for unpack
2017-01-26 06:58:08 +00:00
Joe Watkins
e5a6de6b9d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] news entry for PR #2337
2017-01-26 05:51:35 +00:00
Joe Watkins
a15c1990eb
[ci skip] news entry for PR #2337
2017-01-26 05:50:46 +00:00
Joe Watkins
f6f2855ecd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes)
Added (failing) testcase for bug #54382
2017-01-25 20:59:37 +00:00
Arnout Boks
721a189742
Fix bug #54382 (getAttributeNodeNS doesn't get xmlns* attributes)
...
The fix is based on the same strategy for handling namespace
declarations as used by getAttributeNode. Note that this strategy makes
these methods not return a DOMAttr for xmlns* attributes, but an
instance of the (undocumented) class DOMNameSpaceNode. This is not
really ideal, but at least this fix makes the behavior of
getAttributeNode and getAttributeNodeNS consistent.
A follow-up action would be to investigate whether DOMNameSpaceNode can
be made into a subclass of DOMAttr (which may be hard due to the way
libxml treats namespace declarations) or document this deviating return
value for xmlns* attributes.
2017-01-25 20:59:25 +00:00
Arnout Boks
737ee0661c
Added (failing) testcase for bug #54382
2017-01-25 20:59:23 +00:00
Jakub Zelenka
519b0dc886
Fix bug #73978 (openssl_decrypt triggers bug in PDO)
2017-01-25 19:55:05 +00:00
Bob Weinand
d0272ef1ef
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-25 13:01:10 +01:00
Bob Weinand
c44efbbbb1
Fix copying too much leading to potential segfault
2017-01-25 13:00:48 +01:00
Anatol Belski
ec78507bd4
dirname() should not normalize paths
...
This is the BC piece with the case where dirname() is used with an URL.
2017-01-24 17:56:00 +01:00
Anatol Belski
403f352482
make length check more robust
2017-01-24 13:24:11 +01:00
Joe Watkins
9aad38038e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix Bug #69865 php-fpm does not close stderr when using syslog
2017-01-23 16:56:08 +00:00
Michael Wallner
80a851b4dd
Fix Bug #69865 php-fpm does not close stderr when using syslog
2017-01-23 16:55:15 +00:00
Antony Dovgal
9d7054693e
use correct shift and fix slowlog bt in 7.1
2017-01-23 14:50:09 +03:00
Joe Watkins
5589df128c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move decl to correct place
2017-01-23 05:34:21 +00:00
Joe Watkins
d636467937
move decl to correct place
2017-01-23 05:33:58 +00:00
Joe Watkins
8bda542064
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called
2017-01-22 16:11:57 +00:00
andrewnester
6f912f7c04
Fixed #73969 - Fixed segmentation fault when debug_print_backtrace called
2017-01-22 16:11:25 +00:00
Christoph M. Becker
4af464a0df
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add regression test for bug #47946
2017-01-22 15:02:59 +01:00
Christoph M. Becker
71efe9d8fd
Add regression test for bug #47946
...
This bug had already been fixed, but apparently there's no regression
test yet, so we add one.
Note that the expected image has black pixel artifacts, which are
another issue (perhaps bug #40158 ), and would have to be adressed
separately.
2017-01-22 15:01:01 +01:00
Joe Watkins
55393e26a5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix intermittent segfault in GD library
2017-01-22 06:41:07 +00:00
Mitch Hagstrand
e56fe7e5e7
Fix intermittent segfault in GD library
...
The gdIOCtx struct should be zero filled with ecalloc.
emalloc does not zero fill the struct.
2017-01-22 06:40:55 +00:00
Christoph M. Becker
722375c603
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add myself as primary maintainer of GD
2017-01-21 18:53:43 +01:00
Christoph M. Becker
42d53f3bc0
Add myself as primary maintainer of GD
2017-01-21 18:52:34 +01:00
Christoph M. Becker
7a2497b2c5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73968 : Premature failing of XBM reading
2017-01-21 13:18:54 +01:00
Christoph M. Becker
f67d599a01
Fix #73968 : Premature failing of XBM reading
...
We must take into account the line padding, when we're reading XBM
files.
We deliberately ignore the potential integer overflow here, because
that would be caught by gdImageCreate() or even earlier if `bytes==0`,
what happens in libgd00094.phpt which we adapt accordingly.
2017-01-21 13:04:36 +01:00
Joe Watkins
1ff27053f9
Fix bug #73961 environmental build dependency in hash sha3 source
2017-01-21 07:45:28 +00:00
Anatol Belski
3020be675a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
backport 51e1da6ea1 into 7.0
2017-01-21 02:57:54 +01:00
Anatol Belski
8da8756312
backport 51e1da6ea1 into 7.0
2017-01-21 02:56:15 +01:00
Anatol Belski
51e1da6ea1
exclude debug code
2017-01-21 02:17:06 +01:00
Anatol Belski
6b6122a957
ensure the string for conversion is \0 terminated and integrade
...
additional path length check
2017-01-21 02:11:24 +01:00
Anatol Belski
95406c878a
Fixed bug #73962 bug with symlink related to cyrillic directory
2017-01-20 23:45:08 +01:00
Joe Watkins
d6feb2edbd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
2017-01-20 20:11:49 +00:00
andrewnester
21ac79e94b
Fixed #73959 - lastInsertId fails to throw an exception in pdsql
2017-01-20 20:10:55 +00:00
Remi Collet
d6c9f91e2e
NEWS
2017-01-20 17:46:41 +01:00
Remi Collet
7ea7d3d829
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fixed bug #73965 DTrace reported as enabled when disabled
2017-01-20 17:46:24 +01:00
Remi Collet
2e3d68ed1b
NEWS
2017-01-20 17:46:11 +01:00
Remi Collet
f81b7df618
Fixed bug #73965 DTrace reported as enabled when disabled
2017-01-20 17:45:15 +01:00
SjonHortensius
631861e1fa
Update comment, incorrect since 224aaf94
...
In 224aaf94; the warning was enabled; making the comment above incorrect. I've updated the comment to reflect the current code
2017-01-19 10:48:54 +00:00
Xinchen Hui
5e09031144
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed another part in ldap (bug #73933 )
2017-01-19 12:23:56 +08:00
Xinchen Hui
cad2598fcb
Fixed another part in ldap (bug #73933 )
2017-01-19 12:23:23 +08:00
Ferenc Kovacs
2efb63bf00
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-19 01:22:10 +01:00
Ferenc Kovacs
8c75dbc498
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-19 01:20:57 +01:00
Ferenc Kovacs
cf649f59cb
update NEWS
2017-01-19 01:16:31 +01:00
Nikita Popov
fec3a65ba4
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-18 21:20:00 +01:00
Mitch Hagstrand
8ba6d622e5
Removing zmemcheck from .gdbinit
...
It doesn't seem to make sense anymore
2017-01-18 21:19:48 +01:00
Joe Watkins
6d89640d55
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73949 leak in mysqli_fetch_object
2017-01-18 18:23:59 +00:00
Joe Watkins
f9226f9bf3
Fix bug #73949 leak in mysqli_fetch_object
2017-01-18 18:22:57 +00:00
Joe Watkins
bbe21ccf38
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Remove remnants of TSMRLS_* macro calls
2017-01-18 17:46:11 +00:00
Thomas Punt
fb8486f3bd
Remove remnants of TSMRLS_* macro calls
2017-01-18 17:42:45 +00:00
Joe Watkins
bce548d8e6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
DNS CAA record type implementation and tests for https://bugs.php.net/bug.php?id=73850
2017-01-18 17:23:29 +00:00
Marcus Bointon
280e9cb28d
DNS CAA record type implementation and tests for https://bugs.php.net/bug.php?id=73850
2017-01-18 17:23:08 +00:00
Leigh
85589ca660
Add php_openssl_store_errors to bailouts
2017-01-18 15:02:52 +00:00
Leigh
d2f07edf71
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-18 14:47:49 +00:00
Leigh
e7e96fe2e0
Change free to OPENSSL_free
2017-01-18 14:45:41 +00:00
Remi Collet
7673c9847b
NEWS
2017-01-18 13:02:33 +01:00
Remi Collet
2ce8a4cf87
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
NEWS
Fix #73956 Link use CC instead of CXX
2017-01-18 13:02:19 +01:00
Remi Collet
6af7753e36
NEWS
2017-01-18 13:02:03 +01:00
Remi Collet
6af22d0d3e
Fix #73956 Link use CC instead of CXX
2017-01-18 13:00:49 +01:00
Thomas Punt
9977bdf9b3
Remove more TSRMLS_CC macros
2017-01-18 10:00:15 +00:00
Joe Watkins
43612e9593
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix ce comparison
2017-01-18 05:06:07 +00:00
Thomas Punt
a22f181736
Fix ce comparison
2017-01-18 05:05:53 +00:00
Joe Watkins
4edaa3f1e7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
updates to release docs
2017-01-17 20:33:44 +00:00
Joe Watkins
e00c2f335c
updates to release docs
2017-01-17 20:33:25 +00:00
Joe Watkins
13e6dacb6b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixes in .gdbinit for ZE 3
2017-01-17 17:07:53 +00:00
Mitch Hagstrand
db894fa6aa
Fixes in .gdbinit for ZE 3
...
1. Fixed print_pi function
2. Fixed printing properties in ____printzv_contents
3. Added optional max length parameter in ____print_str
2017-01-17 17:07:31 +00:00
Anatol Belski
1e225a6115
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ci skip] sync NEWS
2017-01-17 10:57:56 +01:00
Anatol Belski
3f960255f4
[ci skip] sync NEWS
2017-01-17 10:56:17 +01:00
Anatol Belski
cea050b8da
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73869 : Signed Integer Overflow gd_io.c
Fix #73868 : DOS vulnerability in gdImageCreateFromGd2Ctx()
2017-01-17 09:35:26 +01:00
Anatol Belski
5d07438cb3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix #73869 : Signed Integer Overflow gd_io.c
Fix #73868 : DOS vulnerability in gdImageCreateFromGd2Ctx()
2017-01-17 09:33:51 +01:00
Christoph M. Becker
d2274b01cb
Fix #73869 : Signed Integer Overflow gd_io.c
...
GD2 stores the number of horizontal and vertical chunks as words (i.e. 2
byte unsigned). These values are multiplied and assigned to an int when
reading the image, what can cause integer overflows. We have to avoid
that, and also make sure that either chunk count is actually greater
than zero. If illegal chunk counts are detected, we bail out from
reading the image.
(cherry picked from commit 5b5d9db3988b829e0b121b74bb3947f01c2796a1)
2017-01-17 09:30:58 +01:00
Christoph M. Becker
f1b2afc9d9
Fix #73868 : DOS vulnerability in gdImageCreateFromGd2Ctx()
...
We must not pretend that there are image data if there are none. Instead
we fail reading the image file gracefully.
(cherry picked from commit cdb648dc4115ce0722f3cc75e6a65115fc0e56ab)
2017-01-17 09:30:43 +01:00
Xinchen Hui
abe094dde8
Update NEWS
2017-01-17 15:35:29 +08:00
Xinchen Hui
e180e45a18
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)
2017-01-17 15:35:06 +08:00
Xinchen Hui
b28c2e20ca
Fixed bug #73933 (error/segfault with ldap_mod_replace and opcache)
2017-01-17 15:34:19 +08:00
Stanislav Malyshev
05f2f730e6
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73648 - integer overflow in substr
2017-01-16 12:14:03 -08:00
Stanislav Malyshev
d1d002fc4d
Fix bug #73648 - integer overflow in substr
2017-01-16 12:11:50 -08:00
Nikita Popov
29433f9fd5
Make unserialize() ref unwrapping compatible with 7.0
...
Also fix output difference in merged test (unrelated).
2017-01-16 14:25:58 +01:00
Nikita Popov
590ef15f6a
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-16 14:12:10 +01:00
Nikita Popov
e0ca519a8b
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-16 14:11:41 +01:00
Nikita Popov
6477bb724e
Add additional serialize tests for fixed bugs
...
These have been fixed as a side-effect of the delayed __wakeup
patch.
2017-01-16 13:24:13 +01:00
Stanislav Malyshev
34d6b63501
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73634 - grapheme_strpos illegal memory access
Fix typo
2017-01-16 01:18:50 -08:00
Stanislav Malyshev
6736527aeb
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix typo
2017-01-16 01:18:38 -08:00
Stanislav Malyshev
8c44d07fd4
Fix bug #73634 - grapheme_strpos illegal memory access
2017-01-16 01:18:16 -08:00
Stanislav Malyshev
50b38322b9
Fix typo
2017-01-16 00:23:06 -08:00
Joe Watkins
bac4c97602
Fix bug #73939 memory allocation in signal handler when HAVE_STRUCT_SIGINFO_T
2017-01-16 04:32:27 +00:00
Joe Watkins
d11bed5909
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Add test ini_set with invalid time zone
2017-01-16 04:13:26 +00:00
Niklas Keller
cc9893eb44
Add test ini_set with invalid time zone
...
Wasn't covered before according to gcov.php.net.
2017-01-16 04:13:01 +00:00
Stanislav Malyshev
ca6f679417
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix test
2017-01-15 18:42:44 -08:00
Stanislav Malyshev
2c7909697a
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix test
2017-01-15 18:42:33 -08:00
Stanislav Malyshev
814966ad33
Fix test
2017-01-15 18:42:22 -08:00
Stanislav Malyshev
19e80ef496
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Update more functions with path check
2017-01-15 17:32:37 -08:00
Stanislav Malyshev
43d0f2abc5
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Update more functions with path check
2017-01-15 17:32:26 -08:00
Stanislav Malyshev
0ab1af7d3e
Update more functions with path check
2017-01-15 17:31:08 -08:00
Anatol Belski
bd0569e287
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix AppVeyor failures with Opcache enabled
2017-01-15 21:18:48 +01:00
Anatol Belski
4f19bb7af6
fix AppVeyor failures with Opcache enabled
...
opcache_reset() only schedules the restart. Under circumstances,
the follow up requests might run uncached, until the restart
condition is met. To mitigate the false positives caused by this
behavior, any tests using opcache_reset() should not be put in
between other tests. Thus, moving the corresponding test to be
executed last.
2017-01-15 21:13:15 +01:00
Nikita Popov
6674f81027
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-14 14:13:42 +01:00
Yordan Gigov
60aff0bd30
Fixed bug #69993
2017-01-14 14:13:15 +01:00
Tom Sommer
e77a1dbe40
Fix bug #69061
...
Make mail.log append correct PHP_EOL and remove timestamp when
sending to syslog.
2017-01-14 13:53:09 +01:00
Andrey Andreev
4bf7ef0806
Add hash_hkdf()
2017-01-14 13:28:21 +01:00
Joe Watkins
687b02789e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Added test for "opcache: print restart reason" to basic_logging.phpt
2017-01-14 07:33:08 +00:00
Mitch Hagstrand
fbf655afbd
Added test for "opcache: print restart reason" to basic_logging.phpt
2017-01-14 07:32:55 +00:00
Alexander Polyakov
a4accc0e3e
opcache: print restart reason
2017-01-13 21:34:11 +00:00
Alexander Polyakov
d79b82d8ae
opcache: print restart reason
2017-01-13 21:33:58 +00:00
Anatol Belski
929819aaac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix remaining tests for Opcache runs
2017-01-13 17:21:01 +01:00
Anatol Belski
aaaef22db6
fix remaining tests for Opcache runs
...
The fail reason here is the TMP change while both top and test
run same binary with opcache enabled.
2017-01-13 17:16:15 +01:00
Anatol Belski
a7b20894e5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
ensure the end path wouldn't contain double slashes
2017-01-13 16:54:10 +01:00
Anatol Belski
8e993b427c
ensure the end path wouldn't contain double slashes
2017-01-13 16:50:05 +01:00
Anatol Belski
2ae5f2d1a5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
templatize the resource number
2017-01-13 15:48:33 +01:00
Anatol Belski
3500262b7d
templatize the resource number
2017-01-13 15:45:35 +01:00
Anatol Belski
e7c3f44958
refix test
2017-01-13 15:31:10 +01:00
Anatol Belski
8d1aab2aee
fix test
...
Same as before actulaly - the host process running with Opcache
enabled, all the intermediate scripts land in cache. So the count
can be variable, maybe even better to just test for > 0.
2017-01-13 14:40:31 +01:00
Anatol Belski
527bf4d8e6
Fix test runs with Opcache enabled PHP on top
...
Writing to the same file, while it's cached, is an issue.
2017-01-13 14:37:37 +01:00
Joe Watkins
19363de12f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Increase wait time for tests involving sockets to improve Travis relability
2017-01-13 06:45:17 +00:00
Mitch Hagstrand
fd92b91188
Increase wait time for tests involving sockets to improve Travis relability
...
1. Increased sleep time from 25ms to 50ms
2. Added sleep to shutdown handlers
2017-01-13 06:45:04 +00:00
Xinchen Hui
b25be216c1
Remove redundant reference handling
2017-01-13 13:05:22 +08:00
Xinchen Hui
18f4ff4131
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73916 (zend_print_flat_zval_r doesn't consider reference)
2017-01-13 13:04:53 +08:00
Xinchen Hui
04379bcb1d
Fixed bug #73916 (zend_print_flat_zval_r doesn't consider reference)
2017-01-13 13:04:37 +08:00
Anatol Belski
e6632ce377
update NEWS
2017-01-12 22:45:18 +01:00
Anatol Belski
aacba43056
Fixed #72898 PHP_FCGI_CHILDREN is not included in phpinfo()
2017-01-12 22:06:03 +01:00
Nikita Popov
da5e09ad03
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-12 21:15:57 +01:00
rfussenegger
bd75f9e613
Fix bug #69899
2017-01-12 21:13:39 +01:00
Anatol Belski
af2de536d3
update NEWS
2017-01-12 18:59:36 +01:00
Leigh
4f7b498d12
Fixed bug #73374
...
Add "0b" prefix detection to intval($str, 0). The implementation
is relatively complicated because we need to handle whitespace and
sign.
2017-01-12 18:53:28 +01:00
Anatol Belski
e65760f878
Fixed bug #73904 php-cgi fails to load -c specified php.ini file
2017-01-12 17:25:26 +01:00
Mitch Hagstrand
1ee1f79e27
Fixed bug #72680 gdbinit print_cvs not prepared for PHP 7
2017-01-12 09:10:12 +00:00
Joe Watkins
6fbd61a819
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
added a note to opache.fast_shutdown why its not enabled by default in php.ini
2017-01-11 11:18:26 +00:00
Markus Staab
ef42f49470
added a note to opache.fast_shutdown why its not enabled by default in php.ini
2017-01-11 11:18:10 +00:00
Joe Watkins
b2782c6dc5
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Fixed bug #67707 IV not needed for ECB encryption mode, but it returns a warning
Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
Fix glob-wrapper.phpt to not fail in Windows
Fix #73893 : A hidden danger of death cycle in a function of gd
2017-01-11 08:12:51 +00:00
Joe Watkins
6d797630ab
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 #67707 IV not needed for ECB encryption mode, but it returns a warning
Add support for "xfail" to phpt SKIPIF sections
Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
Fix glob-wrapper.phpt to not fail in Windows
Set a session path for this test
Fix #73893 : A hidden danger of death cycle in a function of gd
Missing %s
Ok, maybe Nikita is right. We should default this on.
Missed one. This needs gc as well
These tests expect gc to be enabled
2017-01-11 08:12:40 +00:00
Joe Watkins
d5553b97d2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #71219 configure script incorrectly checks for ttyname_r
2017-01-11 08:10:47 +00:00
Joe Watkins
51d487786c
Fixed bug #71219 configure script incorrectly checks for ttyname_r
2017-01-11 08:09:10 +00:00
Nikita Popov
5999874886
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:44:45 +01:00
Robrecht Plaisier
d9cd2876d9
Fixed bug #67707 IV not needed for ECB encryption mode, but it returns a warning
2017-01-10 23:42:44 +01:00
Nikita Popov
5cee9dfe9a
Add support for "xfail" to phpt SKIPIF sections
...
If SKIPIF output starts with "xfail" instead of "skip", the test
will be marked as XFAIL with the following message. Example:
--TEST--
Test xfailif feature
--SKIPIF--
<?php
if (some_cond()) die('xfail Expected to fail!');
?>
--FILE--
...
2017-01-10 23:32:03 +01:00
Nikita Popov
908ad3cc80
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:29:43 +01:00
Arnout Boks
13edec75a3
Fixed #73907 (nextSibling property not included in var_dump of DOMNode)
2017-01-10 23:29:02 +01:00
Nikita Popov
79c0cef8ca
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:25:07 +01:00
Arnout Boks
07340553a5
Fixed bug #61858 (DOMAttr debug info generates E_WARNING)
...
It seems fair to remove this warning, given that:
* it is not documented in the official documentation
* the $specified property, which has a similar 'not implemented' status,
also does not trigger a warning
* it apparently hinders quite a lot of people during debugging, judging by
the number of votes on the bug
2017-01-10 23:24:34 +01:00
Nikita Popov
d1bb306530
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 23:19:30 +01:00
Nikita Popov
291e3f0762
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-10 23:19:19 +01:00
Mitch Hagstrand
ad9c552b12
Fix glob-wrapper.phpt to not fail in Windows
2017-01-10 23:18:52 +01:00
Rasmus Lerdorf
c7ef178e86
Set a session path for this test
2017-01-10 15:18:26 -05:00
Christoph M. Becker
fc46003666
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73893 : A hidden danger of death cycle in a function of gd
2017-01-10 20:13:16 +01:00
Christoph M. Becker
15837bab8c
Fix #73893 : A hidden danger of death cycle in a function of gd
...
We remove the unused, but potentially dangerous functions.
2017-01-10 19:52:06 +01:00
Rasmus Lerdorf
9fce263f3b
Missing %s
2017-01-10 13:50:49 -05:00
Rasmus Lerdorf
08c7ff0df4
Ok, maybe Nikita is right. We should default this on.
2017-01-10 12:16:45 -05:00
Rasmus Lerdorf
ffd870f63d
Missed one. This needs gc as well
2017-01-10 12:07:47 -05:00
Rasmus Lerdorf
47fcb75a90
These tests expect gc to be enabled
2017-01-10 11:54:49 -05:00
Joe Watkins
3c23d1b6d5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
pull-request/1807: test for dns_get_record
2017-01-10 13:56:49 +00:00
Joe Watkins
6a9efa2d3e
Merge branch 'pull-request/1807' into PHP-7.0
...
* pull-request/1807:
test for dns_get_record
2017-01-10 13:56:26 +00:00
marcosptf
dcaed51ba0
pull-request/1807:
...
test for dns_get_record
2017-01-10 13:55:31 +00:00
Joe Watkins
4cddc85c1f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Prevent fd leak in readdir_r that causes false negative on readdir_r implementation when compiled with AddressSanitizer
2017-01-10 11:51:39 +00:00
Ondřej Surý
1bdffee820
Prevent fd leak in readdir_r that causes false negative on readdir_r implementation when compiled with AddressSanitizer
2017-01-10 11:51:27 +00:00
Joe Watkins
aadc84f6f7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #73902 mention router support in usage output for php-cli
2017-01-10 06:20:56 +00:00
Joe Watkins
125ee6a68e
Fixed #73902 mention router support in usage output for php-cli
2017-01-10 06:19:34 +00:00
Sara Golemon
005ba2001d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix open_basedir check for glob:// opendir wrapper
2017-01-09 16:08:08 -08:00
Sara Golemon
69fbe3a9ad
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix open_basedir check for glob:// opendir wrapper
2017-01-09 16:07:33 -08:00
Nikita Popov
9cc34c4e3e
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-10 00:09:02 +01:00
Nikita Popov
69058f35f8
Un-XFAIL serialization test
2017-01-10 00:07:38 +01:00
Nikita Popov
aab3f784d0
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-09 23:29:33 +01:00
Leigh
14c72cc582
Fix check for linux getrandom syscall
2017-01-09 23:29:07 +01:00
Nikita Popov
61af3ed38a
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-09 23:22:59 +01:00
Mitch Hagstrand
9ad3413190
Add print zend string function to gdbinit
2017-01-09 23:22:49 +01:00
Nikita Popov
4d18591e59
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-09 23:20:29 +01:00
Dmitry Stogov
9a159f37e1
Improved GENERATOR_CREATE opcode handler.
2017-01-09 22:24:21 +03:00
Sara Golemon
7e49e8e797
Fix open_basedir check for glob:// opendir wrapper
...
php_check_open_basedir() expects a local filesystem path,
but we're handing it a `glob://...` URI instead.
Move the check to after the path trim so that we're checking
a meaningful pathspec.
2017-01-09 11:02:50 -08:00
Joe Watkins
28f2959b83
Revert "set more suitable defaults for opcache in ini and code"
...
This reverts commit b655f2d632 .
This has been deemed unsuitable for 7.0
2017-01-09 17:08:07 +00:00
Joe Watkins
c2f25bd188
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update release process notes
2017-01-09 16:21:21 +00:00
Joe Watkins
f1ad170a15
update release process notes
2017-01-09 16:20:48 +00:00
Joe Watkins
c6ba284496
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 #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:59:40 +00:00
Joe Watkins
add4f43f0e
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:59:21 +00:00
Joe Watkins
2992f4164d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix stub to accept user properly
2017-01-09 15:58:09 +00:00
Joe Watkins
ef7e5e0d69
fix stub to accept user properly
2017-01-09 15:57:46 +00:00
Dmitry Stogov
5753a753c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:12:22 +03:00
Dmitry Stogov
4f1b24d974
Fixed bug #73896 (spl_autoload() crashes when calls magic _call())
2017-01-09 15:11:33 +03:00
Joe Watkins
71fe529afc
merge PR #2290 : enable opcache in CLI in 7.1+
2017-01-09 11:00:05 +00:00
Joe Watkins
9727e37cae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
set more suitable defaults for opcache in ini and code
2017-01-09 10:56:54 +00:00
Joe Watkins
63e08cbef7
Merge branch 'pull-request/2291' into PHP-7.0
...
* pull-request/2291:
set more suitable defaults for opcache in ini and code
2017-01-09 10:54:57 +00:00
Markus Staab
b655f2d632
set more suitable defaults for opcache in ini and code
2017-01-09 10:53:23 +00:00
Xinchen Hui
697809d425
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73854 (Always true condition in php_openssl_sockop_io)
2017-01-09 16:30:48 +08:00
Xinchen Hui
f7cb79431f
Fixed bug #73854 (Always true condition in php_openssl_sockop_io)
2017-01-09 16:30:00 +08:00
Joe Watkins
bf6eb65673
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72979 money_format stores wrong length on AIX
2017-01-09 05:32:50 +00:00
Joe Watkins
8dd523a216
Fixed bug #72979 money_format stores wrong length on AIX
2017-01-09 05:31:41 +00:00
Joe Watkins
0738a78c59
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update ip2long_varation2 test to skip for AIX, see bug #72973
2017-01-09 05:25:17 +00:00
Joe Watkins
8c653c163a
update ip2long_varation2 test to skip for AIX, see bug #72973
2017-01-09 05:24:44 +00:00
Joe Watkins
6166a0d68d
[ci skip] news entry for issue #72974
2017-01-09 05:20:42 +00:00
Joe Watkins
c39f71ba9f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #72974 imap is undefined service on AIX
2017-01-09 05:15:34 +00:00
Joe Watkins
b8215c0817
Fixed #72974 imap is undefined service on AIX
2017-01-09 05:15:21 +00:00
Joe Watkins
3b8dc330bf
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix FTP tests for Travis CI.
2017-01-09 00:36:57 +00:00
Mitch Hagstrand
47007455dc
Fix FTP tests for Travis CI.
...
This suppresses the errors from stream_socket_server() until
server.inc will not make anymore attempts.
2017-01-09 00:36:39 +00:00
Anatol Belski
d454730407
improve and generalize the recognition of a cli sapi
2017-01-08 23:54:58 +01:00
Joe Watkins
c846daef28
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use proper file extension for the README
2017-01-08 21:05:24 +00:00
Markus Staab
5b5483dc8e
Use proper file extension for the README
2017-01-08 21:05:06 +00:00
Joe Watkins
230b387e8a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix 404 links in Litespeed README - Bug 73890
2017-01-08 20:28:05 +00:00
Peter Kokot
7f1247004e
Fix 404 links in Litespeed README - Bug 73890
2017-01-08 20:27:48 +00:00
Anatol Belski
9a4a023771
update NEWS
2017-01-08 20:13:27 +01:00
Anatol Belski
1aa792b44b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2017-01-08 20:12:53 +01:00
Anatol Belski
c75287dc85
update NEWS
2017-01-08 20:11:02 +01:00
Joe Watkins
8961c78524
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
improve FPM tests (mostly for systemd build)
2017-01-08 19:03:10 +00:00
Remi Collet
eb02876e74
improve FPM tests (mostly for systemd build)
2017-01-08 19:02:50 +00:00
Anatol Belski
1f22daeb0f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
[ast] Fix exporting **= in expansion of assign op
2017-01-08 18:54:28 +01:00
Sara Golemon
5df97b339e
[ast] Fix exporting **= in expansion of assign op
...
(cherry picked from commit 9c3865eb6a )
2017-01-08 18:43:47 +01:00
Nikita Popov
b38e6a54cf
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-08 13:48:48 +01:00
Nikita Popov
b36f4ac708
deflate_add(): Don't add unnecessary +1 to size
...
zend_string_realloc will do this by itself.
2017-01-08 13:47:20 +01:00
Anatol Belski
329d487e68
update NEWS
2017-01-08 01:22:00 +01:00
Anatol Belski
43b92ed5a8
move various places to the centralized OpenSSL setup routine
2017-01-08 00:25:47 +01:00
Anatol Belski
bf14ecc0d8
use the new API for opaque symbol in OpenSSL 1.1.x
2017-01-08 00:25:46 +01:00
Anatol Belski
df1e1fdcb9
implement basic config support for OpenSSL 1.1.x
2017-01-08 00:25:46 +01:00
Nikita Popov
ac46909162
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-08 00:02:33 +01:00
Nikita Popov
ec1b7b933d
Fix OOB read introduced by previous commit
...
Ooops...
2017-01-08 00:01:05 +01:00
Nikita Popov
d48ff0f3f5
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-07 23:55:48 +01:00
Rowan Collins
5146d9f8ac
http_fopen_wrapper.c - Handle HTTP headers with varying white space
...
The stream handler assumed all HTTP headers contained exactly one space,
but the standard says there may be zero or more. Should fix Bug #47021 ,
and any other edge cases caused by a web server sending unusual spacing,
e.g. the MIME type discovered from Content-Type: can no longer contain
leading whitespace.
We strip trailing whitespace from the headers added into
$http_response_header as well.
2017-01-07 23:54:57 +01:00
Nikita Popov
bb2ab75555
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-07 22:54:16 +01:00
Nikita Popov
a46bbdda2e
Fixed bug #67583
...
As fcgi_request is an opaque struct as of PHP 7, expose a new API
function fcgi_end() which does fcgi_flush() with end=1 and checks/
sets the ->ended flag.
2017-01-07 22:53:28 +01:00
Nikita Popov
f346bd6ee6
Rename fcgi_request.closed to .ended
...
"closed" refers to whether FCGI_END_REQUEST has been sent, while
the "close" operation does something entirely different. It gets
extra confusing when fcgi_is_closed() does not actually return
fcgi_request.closed...
2017-01-07 22:45:19 +01:00
Joe Watkins
201e56cd04
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Adapts the readme to the new test-possibility
2017-01-07 16:46:01 +00:00
Joe Watkins
2cb8950cc2
Merge branch '1391' into PHP-7.0
...
* 1391:
Adapts the readme to the new test-possibility
2017-01-07 16:45:33 +00:00
Andreas Heigl
fc777296bf
Adapts the readme to the new test-possibility
...
This commit introduces a way to use a vagrant setup to test against a
known LDAP without the need to setup an LDAP on your own machine
2017-01-07 16:45:10 +00:00
Anatol Belski
901a551bda
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Implement github PR #1736
2017-01-07 15:40:00 +01:00
Anatol Belski
486fc0424a
Implement github PR #1736
...
This fixes leak issues on *BSD systems, as described in the PR.
2017-01-07 15:36:14 +01:00
Anatol Belski
2fed175780
update UPGRADING
2017-01-07 12:46:45 +01:00
Anatol Belski
9845155aa2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix wrong version
extend UPGRADING
2017-01-07 12:44:56 +01:00
Anatol Belski
80a5ae4f53
fix wrong version
2017-01-07 12:43:56 +01:00
Anatol Belski
49a0c166f3
extend UPGRADING
2017-01-07 12:43:19 +01:00
Anatol Belski
bba09d56e5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add 'e' flag for fopen() to enable CLOEXEC
2017-01-07 12:36:09 +01:00
Evgeniy Makhrov
d0279242ce
add 'e' flag for fopen() to enable CLOEXEC
2017-01-07 12:10:51 +01:00
Joe Watkins
5ae45ef993
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix memleaks from #1755 and some pre-existing ones
2017-01-07 10:15:15 +00:00
Joe Watkins
b351ec8baf
Merge branch 'pull-request/2283' into PHP-7.0
...
* pull-request/2283:
Fix memleaks from #1755 and some pre-existing ones
2017-01-07 10:14:36 +00:00
Leigh
21f287915c
Remove superfluous variable reinit
2017-01-07 09:43:05 +00:00
Joe Watkins
58273f631b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
PR #2211 don't supress warnings in tests
2017-01-07 08:08:09 +00:00
Joe Watkins
574f7bc3d4
Merge branch '2211' into PHP-7.0
...
* pull-request/2211:
PR #2211 don't supress warnings in DOM tests
2017-01-07 08:07:17 +00:00
Craig Duncan
98c2cd4311
PR #2211 don't supress warnings in tests
2017-01-07 08:06:38 +00:00
Joe Watkins
f60ebd13b3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixes for session and fpm tests in PHP7.0 branch
2017-01-07 07:10:46 +00:00
Joe Watkins
41c1d0291c
Merge branch 'pull-request/2284' into PHP-7.0
...
* pull-request/2284:
Fixes for session and fpm tests in PHP7.0 branch
2017-01-07 07:10:23 +00:00
Mitch Hagstrand
3401f553b9
Fixes for session and fpm tests in PHP7.0 branch
...
1. Increased the timeout on sapi/fpm tests to match the cli server
2. Disabled session GC in session_set_save_handler_basic.phpt
3. Fixed GC in save_handler.inc to delete files based on age
2017-01-06 19:55:57 -08:00
Anatol Belski
22ed374c9a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
/guard is also a security flag
2017-01-07 02:48:14 +01:00
Anatol Belski
f98d8f6c15
/guard is also a security flag
2017-01-07 02:25:00 +01:00
Anatol Belski
f7bb3b5cbd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Test request47456.phpt for PR 1303" on PHP-7.0 and PHP-7.1
2017-01-07 02:05:37 +01:00
Mitch Hagstrand
4568618030
Revert "Test request47456.phpt for PR 1303" on PHP-7.0 and PHP-7.1
...
This reverts commit e55e93a1e3 .
This change should only apply to master. Not PHP-7.0 or PHP-7.1
2017-01-07 02:04:03 +01:00
Anatol Belski
b716a1fbef
fix edge case leak
2017-01-07 01:15:49 +01:00
Anatol Belski
0f410f8087
Fixed bug #73877 readlink() returns garbage for UTF-8 paths
2017-01-07 01:09:17 +01:00
Anatol Belski
f8518ba1a1
fix typo
2017-01-06 18:55:12 +01:00
Anatol Belski
043d10c345
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix typo
2017-01-06 18:54:50 +01:00
Anatol Belski
71e84e2c36
fix typo
2017-01-06 18:53:30 +01:00
Anatol Belski
dccfd8ee18
update NEWS and UPGRADING
2017-01-06 18:39:47 +01:00
Anatol Belski
841689cafe
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS and UPGRADING
2017-01-06 18:37:50 +01:00
Anatol Belski
1516132167
update NEWS and UPGRADING
2017-01-06 18:32:33 +01:00
Anatol Belski
847e1f97da
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Return integer field types as native integers instead of strings
2017-01-06 18:12:52 +01:00
Dorin Marcoci
826122fa8e
Return integer field types as native integers instead of strings
...
Use another define for better compatibility
Test case for #72583 Feature. Small optimisations.
Adjust conditional directives according to coding standards
Add more compatibility for "end of line" on multiple environements
Updated execute.phpt test after switching to integer mapping
2017-01-06 17:43:46 +01:00
Joe Watkins
c50f61b9b0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Test request47456.phpt for PR 1303
2017-01-06 16:22:58 +00:00
Mitch Hagstrand
e55e93a1e3
Test request47456.phpt for PR 1303
...
After merging PR 1303 unmatched subpatterns are set to NULL
2017-01-06 16:22:11 +00:00
Joe Watkins
699ab98f9d
fix build broken by #2124
2017-01-06 16:18:24 +00:00
Joe Watkins
46c800948e
fix acinclude, messed up by bad merge #2124
2017-01-06 16:13:21 +00:00
Joe Watkins
91cf3269c2
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 #70103 : Fix bug 70103 when ZTS is enabled
2017-01-06 16:07:12 +00:00
Joe Watkins
e114e94c5f
fix broken build scripts #2124
2017-01-06 16:06:48 +00:00
Leigh
62e9e1fecd
Some commentary, change free method
2017-01-06 15:49:15 +00:00
Leigh
9a0dac124e
Conditionally free depending on how assignment happened
2017-01-06 15:24:37 +00:00
Leigh
053b966134
Fix memleaks from #1755 and some pre-existing ones
2017-01-06 14:58:54 +00:00
Christoph M. Becker
cc75e8bca5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #70103 : Fix bug 70103 when ZTS is enabled
2017-01-06 15:44:31 +01:00
Mitch Hagstrand
ad08aa3956
Fix #70103 : Fix bug 70103 when ZTS is enabled
...
Used snprintf to copy the basename string before it is freed
2017-01-06 15:26:17 +01:00
Joe Watkins
ec0daf7913
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use AX_CHECK_COMPILE_FLAG macro to check for -fvisibility=hidden
2017-01-06 08:14:29 +00:00
Joe Watkins
ba0751a915
Merge branch 'pull-request/1809'
...
* pull-request/1809:
test for function curl_multi_info_read();
2017-01-06 08:06:38 +00:00
Joe Watkins
3d50172e9e
Merge branch 'pull-request/1809'
...
* pull-request/1809:
test for function curl_multi_info_read();
2017-01-06 08:06:10 +00:00
Joe Watkins
2d42423953
Merge branch 'pull-request/1755'
...
* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse
2017-01-06 07:43:59 +00:00
Joe Watkins
0884cffb67
Merge branch 'pull-request/1755'
...
* pull-request/1755:
Fix bug #71519 Add 'serialNumberHex' variable to openssl_x509_parse
2017-01-06 07:42:57 +00:00
Joe Watkins
1c40eaaee4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add stream_socket_sendto test from PR #1804
2017-01-06 07:28:56 +00:00
Joe Watkins
3a79f35fdc
add stream_socket_sendto test from PR #1804
2017-01-06 07:27:31 +00:00
Joe Watkins
e86d355c4c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed #69442 closing of fd incorrect when PTS enabled
2017-01-06 06:58:56 +00:00
Joe Watkins
ff6b309c6f
Merge branch 'pull-request/1588' into PHP-7.0
...
* pull-request/1588:
Fixed #69442 closing of fd incorrect when PTS enabled
2017-01-06 06:56:50 +00:00
Joe Watkins
811dfaa57b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #69582 session not readable by root in CLI
2017-01-06 06:07:17 +00:00
Joe Watkins
b0ff9ee688
Merge branch 'pull-request/1360' into PHP-7.0
...
* pull-request/1360:
Fixed bug #69582 session not readable by root in CLI
news entry for PR #1360
2017-01-06 06:05:17 +00:00
Joe Watkins
de3649e2a3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix inappropriate warning in FPM log
2017-01-06 05:55:14 +00:00
Joe Watkins
6a03b43e5f
Merge branch 'pull-request/1311' into PHP-7.0
...
* pull-request/1311:
fix inappropriate warning in FPM log
2017-01-06 05:54:42 +00:00
Joe Watkins
3f89aec716
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #70103 : ZipArchive::addGlob ignores remove_all_path option
news entry for PR #1430
2017-01-06 05:40:41 +00:00
Joe Watkins
a49aaf9ab0
Merge branch 'pull-request/1430' into PHP-7.0
...
* pull-request/1430:
Fix #70103 : ZipArchive::addGlob ignores remove_all_path option
news entry for PR 1430
2017-01-06 05:39:48 +00:00
Joe Watkins
a1ff6e7201
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
add skip when json not loaded
2017-01-06 05:33:22 +00:00
Joe Watkins
12bbeaa45e
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
add skip when json not loaded
2017-01-06 05:32:55 +00:00
Joe Watkins
d5a1c5a96b
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Increase realpath_cache_size default value
add UPGRADING note for realpath_cache_size
2017-01-06 05:31:29 +00:00
Joe Watkins
8e39a27b76
Merge branch 'realpath_cache_size_update' into PHP-7.0
...
* realpath_cache_size_update:
Increase realpath_cache_size default value
add UPGRADING note regarding realpath_cache_size
2017-01-06 05:29:50 +00:00
Remi Collet
d18d3e7825
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add skip when json not loaded
2017-01-06 06:27:25 +01:00
Remi Collet
4f1335cd4c
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
add skip when json not loaded
2017-01-06 06:27:08 +01:00
Joe Watkins
bebfdec0a2
Merge branch 'realpath_cache_size_update' into PHP-7.0
...
* realpath_cache_size_update:
Increase realpath_cache_size default value
2017-01-06 05:25:49 +00:00
Markus Staab
49b2cbf763
Update php.ini-development
2017-01-06 05:25:13 +00:00
Markus Staab
81fb61f97c
Update php.ini-production
2017-01-06 05:25:10 +00:00
Markus Staab
782b84c6d5
updated default per proposal
...
TODO: adjust php.ini defaults
2017-01-06 05:25:08 +00:00
Markus Staab
66b698c3cf
Increase realpath_cache_size default value
2017-01-06 05:25:04 +00:00
Remi Collet
db890956ec
add skip when json not loaded
2017-01-06 06:23:59 +01:00
Anatol Belski
1f6a9060f9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix deps dir for test data preparations
2017-01-06 02:37:10 +01:00
Anatol Belski
a7c444b939
fix deps dir for test data preparations
2017-01-06 02:34:03 +01:00
Ferenc Kovacs
1ed188011a
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-06 01:50:08 +01:00
Ferenc Kovacs
a43a3798d3
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-06 01:48:24 +01:00
Ferenc Kovacs
3b14d7b84b
5.6.31 is next
2017-01-06 01:43:11 +01:00
Anatol Belski
460247c742
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
don't use separate deps for release branches
2017-01-06 01:29:45 +01:00
Anatol Belski
372144508c
don't use separate deps for release branches
2017-01-06 01:24:41 +01:00
Christoph M. Becker
e7ce861def
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #70417 : PharData::compress() doesn't close temp file
2017-01-05 18:51:04 +01:00
Christoph M. Becker
183a34a5cf
Merge branch 'pull-request/2278' into PHP-7.0
...
* pull-request/2278:
Fix #70417 : PharData::compress() doesn't close temp file
2017-01-05 18:49:52 +01:00
Joe Watkins
4cce1e9a94
wrong version
2017-01-05 17:00:40 +00:00
Joe Watkins
3b741353e1
I am bad at counting (wrong date in news)
2017-01-05 16:56:26 +00:00
Joe Watkins
e627aa9841
bump version after release
2017-01-05 16:50:52 +00:00
Christoph M. Becker
995ecffbb2
Fix #70417 : PharData::compress() doesn't close temp file
...
According to the comment, it has not been deemed necessary to close compressed
files. However, we don't want to keep unclosed file handles to save ressources.
So we're also closing compressed archives, if they're not aliased.
2017-01-05 14:12:31 +01:00
Anatol Belski
34c1040e22
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0"
2017-01-05 14:02:43 +01:00
Anatol Belski
57736cc937
Revert "Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0"
...
This reverts commit a8931df672 , reversing
changes made to f2f35a2b27 .
2017-01-05 13:59:01 +01:00
Nikita Popov
769e17ce9b
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-05 11:38:17 +01:00
Nikita Popov
2022dacb99
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-05 11:38:05 +01:00
Nikita Popov
900b17b15f
Fix printf modifier
2017-01-05 11:37:06 +01:00
Joe Watkins
c370024c2c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix php-fpm.service.in
2017-01-05 06:54:37 +00:00
Joe Watkins
b037c43497
Merge branch 'pull-request/1256' into PHP-7.0
...
* pull-request/1256:
Fix php-fpm.service.in
2017-01-05 06:54:19 +00:00
Anatol Belski
b7b3d50f78
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
quick fix for the base branch version parsing, not perfect still
2017-01-05 01:52:37 +01:00
Anatol Belski
2ca5aa9418
quick fix for the base branch version parsing, not perfect still
2017-01-05 01:49:36 +01:00
Anatol Belski
db19cb243e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
move dev to next
2017-01-05 01:14:27 +01:00
Anatol Belski
997d902762
move dev to next
2017-01-05 01:12:18 +01:00
Nikita Popov
49d90dcc4d
Add Z_EXTRA macro
...
For use with u2 values which don't deserve a custom macro...
2017-01-05 00:49:19 +01:00
Nikita Popov
8d8e949369
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-05 00:28:21 +01:00
Nikita Popov
b47c49d7a0
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-05 00:24:25 +01:00
Nikita Popov
f697874e3f
Add tests for delayed __wakeup()
2017-01-05 00:21:48 +01:00
Nikita Popov
0426b916df
Implement delayed __wakeup
2017-01-05 00:21:48 +01:00
Joe Watkins
7b436b0c48
Merge branch 'pull-request/2274' into PHP-7.1
...
* pull-request/2274:
Update copyright headers to 2017
2017-01-04 22:25:45 +00:00
Joe Watkins
125578c636
Merge branch 'pull-request/2273' into PHP-7.0
...
* pull-request/2273:
Update copyright headers to 2017
2017-01-04 22:24:34 +00:00
Sammy Kaye Powers
1f620efe3c
Update copyright header to 2017 in calendar.c
2017-01-04 11:24:25 -06:00
Sammy Kaye Powers
dac6c639bb
Update copyright headers to 2017
2017-01-04 11:23:42 -06:00
Sammy Kaye Powers
6550f3ad7e
Update copyright header to 2017 in calendar.c
2017-01-04 11:15:47 -06:00
Sammy Kaye Powers
478f119ab9
Update copyright headers to 2017
2017-01-04 11:14:55 -06:00
Anatol Belski
178c7d01f2
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
switch to the beta1 SDK for AppVeyor build
2017-01-04 17:21:34 +01:00
Anatol Belski
0484c6efe0
switch to the beta1 SDK for AppVeyor build
2017-01-04 15:54:47 +01:00
Joe Watkins
26b7e2e044
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
remove duplicate test
2017-01-04 14:51:21 +00:00
Joe Watkins
0d09b98ac4
remove duplicate test
2017-01-04 14:50:59 +00:00
Joe Watkins
d514f23573
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2017-01-04 14:36:37 +00:00
Joe Watkins
b39310c715
fix test
2017-01-04 14:36:18 +00:00
Joe Watkins
6c9164047e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
get_defined_functions additional parameter to exclude disabled functions
news entry for PR #1312
2017-01-04 13:36:04 +00:00
Joe Watkins
63d116e571
Merge branch 'pull-request/1312' into PHP-7.0
...
* pull-request/1312:
get_defined_functions extra parameter to exclude disabled functions
news entry for PR #1312
2017-01-04 13:34:31 +00:00
Anatol Belski
b15cc7913a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix PDO tests to match SQL standard syntax and pass Firebird tests.
2017-01-03 17:54:46 +01:00
Dorin Marcoci
e914abff1e
Fix PDO tests to match SQL standard syntax and pass Firebird tests.
2017-01-03 17:48:52 +01:00
Anatol Belski
63d980b3c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
better skip on files
2017-01-03 13:27:06 +01:00
Anatol Belski
3a1ae7bb9b
better skip on files
...
some more could be added
2017-01-03 13:25:16 +01:00
Nikita Popov
661fad7beb
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-03 12:18:33 +01:00
Nikita Popov
b3889d4b20
Fix build
2017-01-03 12:16:35 +01:00
Vince
cfd6e14842
Fix Bug #73462 - Persistent connections don't set $connect_errno
...
Persistent connections skipped resetting $connect_error and $connect_errno values
This adds the "clear error" line to persistent connections for consistency
2017-01-03 12:13:08 +01:00
Joe Watkins
ff4e330eae
Merge branch 'pull-request/1905'
...
* pull-request/1905:
pack()/unpack() for Big Endian float/double and Little Endian float/double
2017-01-03 10:50:19 +00:00
Joe Watkins
e42a01bcd5
Merge branch 'pull-request/1905'
...
* pull-request/1905:
pack()/unpack() for Big Endian float/double and Little Endian float/double
2017-01-03 10:49:53 +00:00
Rasmus Lerdorf
19b757dacd
Fix opcache test dependencies
2017-01-02 22:30:28 -08:00
Rasmus Lerdorf
608724bfe1
Fix opcache test dependencies
2017-01-02 22:21:12 -08:00
Stanislav Malyshev
b9837dc183
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Use correct string release function
2017-01-02 22:08:42 -08:00
Stanislav Malyshev
68ac602b28
Use correct string release function
2017-01-02 22:08:25 -08:00
Stanislav Malyshev
0f0406a1c9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix error reporting
2017-01-02 21:59:59 -08:00
Stanislav Malyshev
ea6e54aff3
Fix error reporting
2017-01-02 21:59:44 -08:00
Stanislav Malyshev
ca72faa2c5
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix #73832 - leave the table in a safe state if the size is too big.
Fix bug #73831 - NULL Pointer Dereference while unserialize php object
2017-01-02 21:37:06 -08:00
Stanislav Malyshev
a6cdefe043
Merge branch 'PHP-7.0.15' into PHP-7.0
...
* PHP-7.0.15:
Fix #73832 - leave the table in a safe state if the size is too big.
Fix bug #73831 - NULL Pointer Dereference while unserialize php object
2017-01-02 21:35:42 -08:00
Stanislav Malyshev
2075fb2b73
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73737 FPE when parsing a tag format
Fix bug #73773 - Seg fault when loading hostile phar
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Fix bug #73768 - Memory corruption when loading hostile phar
Fix int overflows in phar (bug #73764 )
2017-01-02 21:07:01 -08:00
Stanislav Malyshev
7f0de1a138
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #73737 FPE when parsing a tag format
Fix bug #73773 - Seg fault when loading hostile phar
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Fix bug #73768 - Memory corruption when loading hostile phar
Fix int overflows in phar (bug #73764 )
2017-01-02 21:01:35 -08:00
Stanislav Malyshev
fa2125df67
Merge branch 'PHP-5.6.30' into PHP-5.6
...
* PHP-5.6.30:
Fix bug #73737 FPE when parsing a tag format
Fix bug #73773 - Seg fault when loading hostile phar
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
Fix bug #73768 - Memory corruption when loading hostile phar
Fix int overflows in phar (bug #73764 )
2017-01-02 20:56:32 -08:00
Stanislav Malyshev
4cc0286f2f
Fix #73832 - leave the table in a safe state if the size is too big.
2017-01-02 20:14:05 -08:00
Anatol Belski
ed8fdad72b
Merge branch 'PHP-7.1' of git.php.net:php-src into PHP-7.1
2017-01-03 02:24:23 +01:00
Nikita Popov
2a4d0a7a0f
Fix test after mail.log change
2017-01-03 02:18:00 +01:00
Anatol Belski
f44ef0ba3f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
set exclude AppVeyor branches and ignore builds on NEWS updates
2017-01-03 02:17:44 +01:00
Anatol Belski
d2298c3cec
set exclude AppVeyor branches and ignore builds on NEWS updates
2017-01-03 02:15:20 +01:00
Nikita Popov
a08747bb4c
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-03 02:13:04 +01:00
Nikita Popov
e1e5caf9d4
Fix early free
2017-01-03 02:12:28 +01:00
Anatol Belski
26c944a855
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Disable pdb generation for AppVeyor
2017-01-03 01:11:41 +01:00
Anatol Belski
f12f0b2bc2
Disable pdb generation for AppVeyor
...
It is not needed for the test runs and would speedup the compilation
phase.
2017-01-03 01:07:55 +01:00
Nikita Popov
43ed89ea31
Fix data_size decrement
...
We don't want to decrement the pointer...
2017-01-02 23:47:30 +01:00
Nikita Popov
737eb060db
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-02 23:39:35 +01:00
Nikita Popov
20c172d459
Add NEWS entries
2017-01-02 23:35:27 +01:00
Nikita Popov
593b6cd0a8
Optimize get_browser() using prefix and contains checks
...
Avoid expensive regex compilations by checking for prefix
and contained segments beforehand.
2017-01-02 23:31:27 +01:00
Nikita Popov
b06fb88cf9
Optimize browscap loading and representation
...
Avoid many string duplications, use interning (browscap-local, of
course), reduce pattern size, use more compact key-value
representation, build result array only on demand.
2017-01-02 23:30:56 +01:00
Nikita Popov
76a1d3f153
Add get_browser() test against larger corpus
...
Testing corpus provided by Anatol against current browscap.ini lite.
About 30% of all agents are not recognized by this browscap.ini,
but this should give us decent coverage.
2017-01-02 23:30:27 +01:00
Mitch Hagstrand
0acaa97a16
Fix for nowait.phpt failing intermittently
...
The parent process was releasing the child semaphore
after the child process continued execution. Now
the child semaphore is released before the child
process continues execution.
2017-01-02 16:45:52 +00:00
Mitch Hagstrand
c019d33267
Fix for nowait.phpt failing intermittently
...
The parent process was releasing the child semaphore
after the child process continued execution. Now
the child semaphore is released before the child
process continues execution.
2017-01-02 16:44:43 +00:00
vanviegen
abba56f605
Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE
...
Fixes bug #73800
news entry for PR #2249
2017-01-02 14:56:41 +00:00
vanviegen
732f67ee6f
Fix for sporadic segfault with MYSQLI_OPT_INT_AND_FLOAT_NATIVE
...
Fixes bug #73800
news entry for PR #2250
2017-01-02 14:54:45 +00:00
Joe Watkins
156781baf5
news entry for PR #2267
2017-01-02 11:58:57 +00:00
Joe Watkins
243dff2057
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
news entry for PR #2267
Fixed #67474 (getElementsByTagNameNS and default namespace)
Add (failing) testcase for bug #67474
2017-01-02 11:58:14 +00:00
Joe Watkins
9f4d05acec
news entry for PR #2267
2017-01-02 11:57:45 +00:00
Arnout Boks
a8955926c2
Fixed #67474 (getElementsByTagNameNS and default namespace)
...
This bug was caused by the fact that dom_get_elements_by_tag_name_ns_raw
uses an empty string to filter on the default namespace (as NULL means
'no filter'), whereas in the node itself the default namespace is
signalled by nodep->ns being null.
2017-01-02 11:56:37 +00:00
Arnout Boks
19c4a2ef19
Add (failing) testcase for bug #67474
2017-01-02 11:56:33 +00:00
Joe Watkins
3e798c4a5f
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src: (146 commits)
Flush stderr on win32 in cli_log_message
Fixed bug #73154
FIx bug #70213
Fix dom class can't be inherited by the internal class
Another try at making concat_003 more reliable
Fix flaky openssl_pkey_new test
Make Opcache tests using the cli server more reliable
Revert "Fix #73530 : Unsetting result set may reset other result set"
define php_ap_map_http_request_error function for older httpd only
add old versions of httpd support
Disable AppVeyor fast_finish
Makes the sapi web server and curl tests more reliable
Fixes the curl tests to be more reliable in Travis CI
Interpretation of curl_setopt values for boolean parameters
Fixes #65689 . PDO_Firebrid / exec() does not free allocated statement.
Fix alpn_ctx leaking in openssl
Fixed bug #73373 (deflate_add does not verify that output was not truncated)
Fix IS_UNDEF comparisons in opcache
Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)
Increase timing quota for small string concat test
...
2017-01-02 09:44:02 +00:00
Mitch Hagstrand
e077735b03
Fix nowait.phpt to no longer depend on sleeping
...
In Travis CI the nowait.phpt test sometimes fails because of
the usleep() not being long enough ensure proper
execution order. Instead of depending on sleeping the
test now uses two semaphores to guarantee execution order.
2017-01-02 09:43:47 +00:00
Joe Watkins
532486569a
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
Flush stderr on win32 in cli_log_message
Fixed bug #73154
2017-01-02 09:41:44 +00:00
Mitch Hagstrand
b4459af025
Fix nowait.phpt to no longer depend on sleeping
...
In Travis CI the nowait.phpt test sometimes fails because of
the usleep() not being long enough ensure proper
execution order. Instead of depending on sleeping the
test now uses two semaphores to guarantee execution order.
2017-01-02 09:40:46 +00:00
Nikita Popov
a5027d43dd
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 21:09:27 +01:00
Nikita Popov
935b5cb11e
Flush stderr on win32 in cli_log_message
...
This allows us to unfork a bunch of tests for Windows.
2017-01-01 21:09:02 +01:00
Nikita Popov
70ca40d30f
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 19:26:36 +01:00
Nikita Popov
4877641962
Fixed bug #73154
...
The object that is being serialized may be destroyed during the
execution of __sleep(), so operate on a copy instead.
2017-01-01 19:24:41 +01:00
Joe Watkins
876b7b177f
news entry for PR #1414
2017-01-01 14:41:20 +00:00
Joe Watkins
e7d4a8ce8b
Merge branch 'pull-request/1414' into PHP-7.1
...
* Add subject to mail.log
2017-01-01 14:39:35 +00:00
Nikita Popov
878b8f0465
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 14:13:29 +01:00
Nikita Popov
9f560baef5
Merge branch 'PHP-5.6' into PHP-7.0
2017-01-01 14:12:26 +01:00
Nikita Popov
a65ad951ad
FIx bug #70213
2017-01-01 14:10:49 +01:00
Nikita Popov
2a34042323
Merge branch 'PHP-7.0' into PHP-7.1
2017-01-01 12:20:46 +01:00
dreamszhu
3c977618e1
Fix dom class can't be inherited by the internal class
2017-01-01 12:20:04 +01:00
Nikita Popov
8467c5c9bf
Fix year dependent test
2017-01-01 12:15:52 +01:00
Joe Watkins
e51f284c78
Revert "news entry for PR #2263 "
...
This reverts commit 299e02c82a .
2017-01-01 06:52:59 +00:00
Joe Watkins
dbfbe6261d
Revert "Fix dom class can't be inherited by the internal class"
...
This reverts commit 705f60e481 .
2017-01-01 06:52:41 +00:00
Joe Watkins
299e02c82a
news entry for PR #2263
2017-01-01 06:49:42 +00:00
dreamszhu
705f60e481
Fix dom class can't be inherited by the internal class
2017-01-01 06:48:02 +00:00
Stanislav Malyshev
8d2539fa0f
Fix bug #73831 - NULL Pointer Dereference while unserialize php object
2016-12-31 20:14:20 -08:00
Stanislav Malyshev
1cda0d7c2f
Fix bug #73737 FPE when parsing a tag format
2016-12-31 19:31:49 -08:00
Stanislav Malyshev
e5246580a8
Fix bug #73773 - Seg fault when loading hostile phar
2016-12-31 18:47:50 -08:00
Nikita Popov
242d924e59
Fix bug #73847
2016-12-31 13:33:21 +01:00
Stanislav Malyshev
16b3003ffc
Fix bug #73825 - Heap out of bounds read on unserialize in finish_nested_data()
2016-12-30 16:59:46 -08:00
Stanislav Malyshev
b28b8b2fee
Fix bug #73768 - Memory corruption when loading hostile phar
2016-12-30 15:57:24 -08:00
Stanislav Malyshev
ca46d0acbc
Fix int overflows in phar (bug #73764 )
2016-12-30 15:39:48 -08:00
Adam Harvey
eb25e14962
Document the changes to lexical scoping in 7.1.
...
Fixes bug #73844 (Cannot use lexical variable $variable as a parameter
name inside array_walk()).
2016-12-30 11:39:45 -08:00
Christoph M. Becker
f5bf19ee3a
Update UPGRADING wrt. bug #72785
2016-12-30 14:17:38 +01:00
Christoph M. Becker
97e16ebbe2
Merge branch 'PHP-7.0' of https://git.php.net/repository/php-src into PHP-7.0
...
* 'PHP-7.0' of https://git.php.net/repository/php-src :
Another try at making concat_003 more reliable
Fix flaky openssl_pkey_new test
Make Opcache tests using the cli server more reliable
2016-12-30 13:56:34 +01:00
Nikita Popov
2497ae031b
Don't check for precise length in ecc.phpt
...
Again, this can be off by one.
2016-12-29 22:05:38 +01:00
Nikita Popov
12922f2a58
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-29 21:41:21 +01:00
Nikita Popov
432660f73f
Another try at making concat_003 more reliable
...
Use array_fill() for the array population loop -- this isn't the
part that is being tested and on PHP 7.0 w/o opcache this duplicates
the inner array a lot.
2016-12-29 21:39:40 +01:00
David Walker
b09c2f899e
Fixed bug #73783
...
Bug #73783 raises an issue with signal handling when using SIG_IGN.
With PHP7.1 ZEND_SIGNALS is defaulted to on, which will for all
signals set the handler as zend_signal_handler_defer. This is
problematic for syscalls like sleep(), which will only return when the
requisite number of seconds have elapsed, or, a non-ignored signal is
raised. In this case we want to SIG_IGN SIGCHLD, however, SIG_IGN is
only stored in the SIGG(handlers) array, and the actual system level
handler is defined. This prevents proper signal ignoring when requeted.
2016-12-29 21:18:22 +01:00
Nikita Popov
7746ed9d5f
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-29 21:00:14 +01:00
Nikita Popov
78675ebd9a
Fix flaky openssl_pkey_new test
...
Public key size may vary by one bit... switch to using %d for
key sizes.
2016-12-29 20:59:28 +01:00
Mitch Hagstrand
d0fcc74110
Make Opcache tests using the cli server more reliable
...
Same fix already applied to ext/curl/tests/server.inc
and sapi/cli/tests/php_cli_server.inc
1. Increases the amount of time for the PHP built-in server to accept a connection
2. Outputs an error if the PHP built-in server fails
2016-12-29 20:56:45 +01:00
Christoph M. Becker
f4d884dc6e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Revert "Fix #73530 : Unsetting result set may reset other result set"
2016-12-29 13:54:11 +01:00
Christoph M. Becker
88d1a2c5aa
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Revert "Fix #73530 : Unsetting result set may reset other result set"
# Conflicts:
# ext/sqlite3/sqlite3.c
2016-12-29 13:47:28 +01:00
Christoph M. Becker
2ba3b27594
Revert "Fix #73530 : Unsetting result set may reset other result set"
...
This reverts commit eb570294a2 .
That commit caused a regression, so it's probably best to revert it, and
to tackle the issue for the next minor release.
2016-12-29 12:59:04 +01:00
Xinchen Hui
716fa9c24d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
define php_ap_map_http_request_error function for older httpd only
add old versions of httpd support
typo fixed
bug fixed #61471 in apache2handler
2016-12-29 15:56:26 +08:00
Xinchen Hui
a8931df672
Merge branch 'bugfix_timeout_61471' of https://github.com/axot/php-src into PHP-7.0
...
* 'bugfix_timeout_61471' of https://github.com/axot/php-src :
define php_ap_map_http_request_error function for older httpd only
add old versions of httpd support
typo fixed
bug fixed #61471 in apache2handler
2016-12-29 15:46:47 +08:00
Zheng SHAO
587497e3a9
define php_ap_map_http_request_error function for older httpd only
2016-12-29 16:07:05 +09:00
Zheng SHAO
d92606a4be
add old versions of httpd support
2016-12-29 00:41:56 +09:00
Nikita Popov
d82bd3696e
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-27 22:22:05 +01:00
Nikita Popov
f2f35a2b27
Disable AppVeyor fast_finish
...
As NTS and TS fail in different ways, we want to see both.
2016-12-27 22:20:40 +01:00
Nikita Popov
937115f8c5
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-27 21:52:33 +01:00
Mitch Hagstrand
2d51267c07
Makes the sapi web server and curl tests more reliable
...
1. Increased the time for the sapi/cli/tests/php_cli_server.inc to accept connections.
2. sapi/cli/tests/php_cli_server.inc has errors messages and a `stop` function.
3. bug67429.phpt uses the `stop` function to shutdown the webserver before starting a new one.
4. Removed ext/curl/tests/bug48203_multi-win32.phpt test now that ext/curl/tests/bug48203_multi.phpt
runs on Windows also.
2016-12-27 21:52:05 +01:00
Mitch Hagstrand
92678d1a83
Fixes the curl tests to be more reliable in Travis CI
...
1. Increases the amount of time for the PHP built-in server to accept a connection
2. Outputs an error if the PHP built-in server fails
3. In bug48203_multi.phpt the test no longer starts and stops multiple PHP built-in servers
2016-12-27 21:52:05 +01:00
Sara Golemon
a49675faac
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Interpretation of curl_setopt values for boolean parameters
2016-12-25 22:33:03 -08:00
dedal.qq
7f29e7c678
Interpretation of curl_setopt values for boolean parameters
2016-12-25 22:32:49 -08:00
Sébastien Santoro
5d7c774bea
Remove extraneous parentheses in conditions
...
The zend_vm_gen.php generator now checks if the condition is already
enclosed by parentheses, and them only if needed.
This fixes nine clang/llvm parentheses-equality warnings.
2016-12-25 22:17:46 -08:00
Sara Golemon
fcd4c34cb3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixes #65689 . PDO_Firebrid / exec() does not free allocated statement.
2016-12-25 22:07:09 -08:00
Dorin Marcoci
e926bf6507
Fixes #65689 . PDO_Firebrid / exec() does not free allocated statement.
2016-12-25 22:06:20 -08:00
Bob Weinand
7b133e074c
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 23:34:51 +01:00
Bob Weinand
ac1372d811
Fix alpn_ctx leaking in openssl
2016-12-22 23:34:07 +01:00
Bob Weinand
898e439333
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 15:31:39 +01:00
Bob Weinand
8823b68c41
Fixed bug #73373 (deflate_add does not verify that output was not truncated)
2016-12-22 15:29:36 +01:00
Nikita Popov
175b9f67f6
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 12:47:29 +01:00
Sébastien Santoro
25c96f92f4
Fix IS_UNDEF comparisons in opcache
...
These conditions were formerly `!q->pData` and `!p->pData`, and should
now be detected as undefined variables, using the special type IS_UNDEF.
Incidentally, this syntax raised a logical-not-parentheses compiler
warning, now gone.
2016-12-22 12:46:14 +01:00
Bob Weinand
728502fc29
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-22 00:40:54 +01:00
Bob Weinand
3b2b080cbc
Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)
2016-12-22 00:39:24 +01:00
Nikita Popov
ed0602fe31
Fix string extension in negate_num_string
...
Forgot to actually assign the reallocated string...
2016-12-21 22:11:17 +01:00
Nikita Popov
06699abffb
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 21:28:29 +01:00
Nikita Popov
c41826d1e6
Increase timing quota for small string concat test
...
Test is regularly failing on Travis.
2016-12-21 21:27:47 +01:00
Nikita Popov
9afc61c214
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 21:19:10 +01:00
David Walker
5733fd1caf
Fix #73753 - Unpacked Arrays and Duplication
2016-12-21 21:18:20 +01:00
Anatol Belski
6ffa1d256f
add folds
2016-12-21 17:59:45 +01:00
Anatol Belski
637436628a
fix possible null dereference
2016-12-21 17:58:34 +01:00
Xinchen Hui
82988d3e41
Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)
...
This reverts commit a12f43ee2c .
2016-12-21 14:24:14 +08:00
Bob Weinand
7e2146293b
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-21 02:42:38 +01:00
Bob Weinand
becda86ae5
Fix issue with -- in phpdbg command line
2016-12-21 02:42:23 +01:00
Bob Weinand
8b06b7e266
Fixed bug #73794 (Crash (out of memory) when using run and # command separator)
2016-12-20 20:18:36 +01:00
Bob Weinand
3273f15412
Fix segfault in ZTS mode when just printing and exiting in phpdbg
2016-12-20 19:49:04 +01:00
Dmitry Stogov
43cc3d7d92
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73792 (invalid foreach loop hangs script)
2016-12-20 16:53:06 +03:00
Dmitry Stogov
3c6a2fb08c
Fixed bug #73792 (invalid foreach loop hangs script)
2016-12-20 16:48:57 +03:00
Xinchen Hui
6bd41a1d47
Fixed bug #73789 (Strange behavior of class constants in switch/case block)
2016-12-20 21:01:21 +08:00
Anatol Belski
21e2836473
deliver the real cp also if a constant is passed
2016-12-20 02:40:44 +01:00
Zheng SHAO
884e2a0519
Fixed NEWS conflicts
2016-12-20 09:48:47 +09:00
Dmitry Stogov
6ea44908fb
Fixed arginfo
2016-12-19 11:13:02 +03:00
Anatol Belski
8adc86a698
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
Compatibility with Firebird & Oracle select syntax.
2016-12-19 01:08:44 +01:00
Anatol Belski
7ef2e90197
update NEWS
2016-12-19 01:08:19 +01:00
Anatol Belski
9fb8ea58b5
update NEWS
2016-12-19 01:07:08 +01:00
Dorin Marcoci
eb33d08f1e
Compatibility with Firebird & Oracle select syntax.
2016-12-19 01:06:24 +01:00
Anatol Belski
680b813380
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-19 00:52:01 +01:00
Anatol Belski
88c1491c6d
fix proto
2016-12-19 00:50:29 +01:00
Anatol Belski
f077ada348
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Cursor is not opened on singleton selects.
fix arg spec and datatype, follow up on 73594
2016-12-18 21:55:30 +01:00
Dorin Marcoci
cf46ac1179
Cursor is not opened on singleton selects.
...
Test case for unregistered bug on FB3 singleton selects
Set error mode to warning instead of exception.
2016-12-18 21:53:51 +01:00
Anatol Belski
3e48baa49d
fix arg spec and datatype, follow up on 73594
2016-12-18 21:16:35 +01:00
Anatol Belski
7371c46518
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73594
2016-12-18 20:47:02 +01:00
Bruce Weirdan
c78fd4568e
Fixed bug #73594
...
Skip the tests when local resolver does not behave
* Added SKIPIF sections to check local resolver
* Added test to check $authns parameter
2016-12-18 20:44:33 +01:00
Nikita Popov
4ef4e34c2e
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-18 17:10:54 +01:00
Nikita Popov
c1af9f282f
Fix bug #46103
2016-12-18 17:10:19 +01:00
Nikita Popov
7d404bc3d6
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-18 14:58:38 +01:00
Nikita Popov
eb636fcb56
Add test for get_browser() in object mode
...
All other tests only check array return values...
2016-12-18 13:16:25 +01:00
Anatol Belski
59bf7f907f
extend UPGRADING
2016-12-18 01:08:58 +01:00
Anatol Belski
e8512ed7db
update NEWS
2016-12-18 01:03:00 +01:00
Anatol Belski
f86e077ec8
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix C89 compat
2016-12-17 20:46:09 +01:00
Anatol Belski
58a945cf68
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix C89 compat
2016-12-17 20:45:22 +01:00
Anatol Belski
79e47aae41
fix C89 compat
2016-12-17 20:43:32 +01:00
Anatol Belski
a9e0705b64
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
replace default appveyor build version
2016-12-17 13:14:12 +01:00
Anatol Belski
0cd1c18853
replace default appveyor build version
2016-12-17 13:12:34 +01:00
Xinchen Hui
aa84808e33
Merge branch 'PHP-7.1' of git.php.net:/php-src into PHP-7.1
...
* 'PHP-7.1' of git.php.net:/php-src:
add Appveyor fast_fail
improve error check
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
Fix stack management in ini scanner
chance CLI codepage, only when SAPI is initialized
2016-12-17 20:09:34 +08:00
Xinchen Hui
a12f43ee2c
Reorder the oplines
...
1. we should only do the return type checking when it is really about to
return
2. for 029.php, actually, the exception threw should be discard while it
jmp into finally(it could be observed by change the return to return an array)
3. after this fix, the test 029.phpt behavior consistently with 7.0
4. good for optimizer too
2016-12-17 20:06:18 +08:00
Zheng SHAO
fb98907d2d
typo fixed
2016-12-17 20:26:09 +09:00
Anatol Belski
a3a8cc686a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
add Appveyor fast_fail
improve error check
2016-12-17 11:27:17 +01:00
Anatol Belski
9afb05dcd1
add Appveyor fast_fail
2016-12-17 11:26:13 +01:00
Anatol Belski
158d11d53d
improve error check
2016-12-17 11:25:06 +01:00
Zheng SHAO
9b65a10256
bug fixed #61471 in apache2handler
2016-12-17 13:37:58 +09:00
Anatol Belski
c104f09d88
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
turn mcrypt back on for Appveyor runs
add build status badge
add scripts for AppVeyor integration
Silence warning from unhandled enum
fix leaking streams and memory mapped files
2016-12-17 00:14:50 +01:00
Anatol Belski
53c4c38878
turn mcrypt back on for Appveyor runs
...
(cherry picked from commit fca2312fbe )
2016-12-17 00:13:16 +01:00
Anatol Belski
576ed049c5
add build status badge
...
(cherry picked from commit 3a886c9d20 )
2016-12-17 00:13:01 +01:00
Anatol Belski
aeebae641e
add scripts for AppVeyor integration
...
(cherry picked from commit c737d6fb49 )
2016-12-17 00:12:49 +01:00
Sara Golemon
5004ae2b62
Silence warning from unhandled enum
...
(cherry picked from commit 57bbe2c140 )
2016-12-17 00:12:33 +01:00
Anatol Belski
2f9e928af8
fix leaking streams and memory mapped files
...
(cherry picked from commit f1ff23095b )
2016-12-17 00:12:19 +01:00
Anatol Belski
fca2312fbe
turn mcrypt back on for Appveyor runs
2016-12-16 22:59:47 +01:00
Anatol Belski
4377546d2f
add build status badge
...
(cherry picked from commit 3a886c9d20 )
2016-12-16 22:56:23 +01:00
Anatol Belski
4a69f450ff
add scripts for AppVeyor integration
...
(cherry picked from commit c737d6fb49 )
2016-12-16 22:56:08 +01:00
Sara Golemon
587f1b2427
Silence warning from unhandled enum
...
(cherry picked from commit 57bbe2c140 )
2016-12-16 22:55:13 +01:00
Anatol Belski
9cdf64c225
fix leaking streams and memory mapped files
...
(cherry picked from commit f1ff23095b )
2016-12-16 22:55:02 +01:00
Nikita Popov
a32829f909
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-16 20:55:08 +01:00
Nikita Popov
fa92a16e46
Fix stack management in ini scanner
2016-12-16 20:54:46 +01:00
Anatol Belski
b91d7f186a
chance CLI codepage, only when SAPI is initialized
...
This finally solves issues with DBSC console codepages, and in
general improves the console codepage switching. When
module_initialized, all the possible encoding INI settings with
regard to possible modifications are set, and that's the
right moment to switch the console codepage in regard to I/O.
CJK glyphs might take more than 1 cell, so then visual issues
can occur, when switching console codepage back and forth. Users
are free to use ini_set(), but any visual issues are then up to
the user responsibility.
2016-12-16 16:49:18 +01:00
Xinchen Hui
8ba7878f1b
Add an assertion
2016-12-16 11:09:22 +08:00
Xinchen Hui
7cef66c635
Fixed bug #73746 (Method that returns string returns UNKNOWN:0 instead)
2016-12-16 11:06:27 +08:00
Anatol Belski
b441ff6cf9
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
make timing check more forgiving in these tests
2016-12-15 12:32:35 +01:00
Anatol Belski
8bc3f179ce
make timing check more forgiving in these tests
...
Particularly on slower VMs, the sporadic fails can still happen.
The timing is kept in an uncritical range, but allows the tests
pass there. Mayby, it'd make sense to introduce a new group for
this kind of tests, so tests requiring exact time measurement
can be avoided on unsuitable environments.
2016-12-15 12:20:37 +01:00
Matteo Beccati
72fb941bd4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Skip tests when secure_file_priv dir not writable
Add missing UPGRADING entry. Manual is updated before 7.0 release.
2016-12-15 09:32:04 +01:00
Matteo Beccati
7c696fa886
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Skip tests when secure_file_priv dir not writable
2016-12-15 09:31:54 +01:00
Matteo Beccati
0c9324ea9b
Skip tests when secure_file_priv dir not writable
2016-12-15 09:31:00 +01:00
Yasuo Ohgaki
577b081a20
Add missing UPGRADING entry. Manual is updated before 7.0 release.
2016-12-15 16:16:45 +09:00
Anatol Belski
382ec5cf9e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
extend skip section
2016-12-14 19:56:19 +01:00
Anatol Belski
5136048064
extend skip section
...
The day light offset is calculated based on the system TZ, so with
an unsuitable one there's no way to workaround the false positives.
2016-12-14 19:53:55 +01:00
Nikita Popov
33e96c9d63
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-14 18:11:43 +01:00
Nikita Popov
f99bf70360
Partially fix bug #70492
...
The libmagic portion is missing.
2016-12-14 18:11:27 +01:00
Nikita Popov
2f438342ec
Fixed bug #73727
...
Error introduced when refactoring zend_alloc code into zend_bitset.
2016-12-14 17:56:31 +01:00
Anatol Belski
1820f4b9d1
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
cleanup temporary data
2016-12-14 12:34:14 +01:00
Anatol Belski
d663296e3b
cleanup temporary data
2016-12-14 12:33:13 +01:00
Anatol Belski
e33ec61f9c
Care about intput and output encoding, as per default encoding RFC
...
If PHP CLI is used with programs with no Unicode support, the default
PHP console codepage might cause backward incompatible behaviors. This
is solved with this patch by separating the handling of I/O codepage.
As per https://wiki.php.net/rfc/default_encoding input_encodnig and
output_encoding are centralized INI settings, so they're used for the
purpose of adjusting the codepage. This gives user the ability to use
UTF-8 internally, while letting the system API to convert the output
to a compatible codepage. This also might solve the font issues on
systems without good true type support.
Note, that there no change to the default behavior - if input and
output encoding are not set, which is the default case, the default
charset applies to both console input and output. The patch is just
a compilment to the backward compatibility, not more and not less.
2016-12-14 02:51:29 +01:00
Nikita Popov
b344832b80
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-13 17:57:14 +01:00
Nikita Popov
4b2cc62e26
More fixes for bug #73089
...
Insert a lot more DEREFs. Some may not be necessary, but better
safe than sorry. I'm thinking the soap_hash_str_find_deref function
should become part of the zend_hash API -- we need this in many
places.
2016-12-13 17:56:38 +01:00
Andrey Hristov
9eca4dca73
Optimized memory handling of BIT fields. Less memory copies and less
...
memory usage.
2016-12-12 21:59:29 +02:00
Andrey Hristov
3836c2faac
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-12 21:52:59 +02:00
Andrey Hristov
13fc1b92ca
Add a bit more test cases (edge cases) to the BIT test case
2016-12-12 21:52:36 +02:00
Andrey Hristov
d494e19701
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-12 21:29:06 +02:00
Andrey Hristov
a881ea7d86
Add a test case to test fetching of multiple rows with bit values.
2016-12-12 21:28:33 +02:00
Andrey Hristov
2819a28ac3
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-12 21:12:44 +02:00
Andrey Hristov
e15c418c4c
Fix off by 1 problem.
...
The problem was manifestated only with BIT columns and only when more than
one row was fetched. The problem was coming from the fact that in pre-7.0
times mysqlnd was using a no-copy optimization. This optimization kept the
strings (and also the BIT mask equivalents as strings) in the packet and the
zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because
of this the allocated memory for the packet was reduced by 1 by the person who
ported the driver, but the starting address of the bit area wasn't reduced.
Because of this the bit_area started at wrong address and the length decoded
wrong.
2016-12-12 21:11:02 +02:00
Anatol Belski
d9fc5ea6ec
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
better way to get ACP
2016-12-12 01:56:44 +01:00
Anatol Belski
7a8774ade4
better way to get ACP
2016-12-12 01:54:22 +01:00
Anatol Belski
8199e5a7e9
adapt patch for 7.1
2016-12-12 01:50:15 +01:00
Anatol Belski
e53f967ed7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix datatype for zpp, yet a followup on bug #73679
2016-12-12 01:29:23 +01:00
Anatol Belski
3473b519c0
fix datatype for zpp, yet a followup on bug #73679
2016-12-12 01:26:06 +01:00
Anatol Belski
ae91cfacdb
update NEWS
2016-12-11 17:40:22 +01:00
Anatol Belski
8f6b975130
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-12-11 17:39:54 +01:00
Anatol Belski
ee2625e252
update NEWS
2016-12-11 17:39:08 +01:00
Anatol Belski
e6e5f06c78
improve fix for bug #73679 with new capabilities available
2016-12-11 17:25:48 +01:00
Anatol Belski
fb92116a5a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73679 DOTNET read access violation using invalid codepage
2016-12-11 17:07:57 +01:00
Anatol Belski
1d80fb2cdb
Fixed bug #73679 DOTNET read access violation using invalid codepage
2016-12-11 17:06:55 +01:00
Nikita Popov
2c70581338
Fix T_NUM_STRING negation
...
T_NUM_STRING follows the rules of symtable numeric string
conversion. If the offset isn't an integer under those rules, it
is treated as a string. This should apply to negated T_NUM_STRINGs
as well.
2016-12-11 13:33:25 +01:00
Anatol Belski
8b82e2c2fe
extend errno mapping
2016-12-10 11:17:07 +01:00
Xinchen Hui
0ad804ec9b
Fixed tests
2016-12-10 16:43:17 +08:00
Xinchen Hui
4eb4ec2cb1
Update NEWS
2016-12-09 22:39:42 +08:00
Xinchen Hui
09b36113b0
Fix the bug in ZEND_ASSIGN_DIM (as nikic suggest)
2016-12-09 22:30:24 +08:00
Xinchen Hui
6812721ef2
Revert "Refix bug #73686 "
...
This reverts commit 4589386026 .
2016-12-09 22:22:59 +08:00
Xinchen Hui
4589386026
Refix bug #73686
2016-12-09 16:37:22 +08:00
Xinchen Hui
6a43c61bcd
Fixed bug #73646 (mb_ereg_search_init null pointer dereference)
2016-12-09 15:55:07 +08:00
Xinchen Hui
4faa540b45
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 uninitialized member
2016-12-09 11:41:26 +08:00
Xinchen Hui
68bdd6d018
Fixed bug #73686 (Adding settype()ed values to ArrayObject results in references)
2016-12-09 11:41:08 +08:00
Anatol Belski
d46972b6ae
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix uninitialized member
2016-12-08 17:16:48 +01:00
Anatol Belski
66ad7918b8
fix uninitialized member
2016-12-08 17:15:06 +01:00
Xinchen Hui
8250b3fca1
Fixed possible false assertion failure
2016-12-08 22:04:43 +08:00
Ferenc Kovacs
f8ea3e3e4c
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-08 07:11:11 +01:00
Ferenc Kovacs
a4d6d16b3b
Merge branch 'PHP-5.6' into PHP-7.0
2016-12-08 07:09:41 +01:00
Ferenc Kovacs
60da307c61
update NEWS
2016-12-08 07:05:32 +01:00
Anatol Belski
394a3593cc
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
git clean section
2016-12-08 03:24:59 +01:00
Anatol Belski
ff6565462e
git clean section
2016-12-08 03:24:18 +01:00
Nikita Popov
60249f4390
Fix propagation of QM_ASSIGN into VERIFY_RETURN_TYPE
...
VERIFY_RETURN_TYPE uses different formats for the CONST/non-CONST
cases. If we progate a CONST operand into op1, op1 should be
moved to result.
2016-12-07 23:14:46 +01:00
Adam Baratz
5a20d83be8
Remove noop param hook
2016-12-07 17:09:09 -05:00
Adam Baratz
e133a2dd78
Clean up tabs and whitespace
2016-12-07 17:08:51 -05:00
Anatol Belski
8e40fdd37c
update NEWS
2016-12-07 21:24:16 +01:00
Anatol Belski
68d119bcdb
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-12-07 21:23:37 +01:00
Anatol Belski
73fb2192d2
update NEWS
2016-12-07 21:22:34 +01:00
Anatol Belski
67b7c5055c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #72931 PDO_FIREBIRD with Firebird 3.0 not work on returning statement
2016-12-07 21:07:14 +01:00
Dorin Marcoci
13ffa88e1f
Fixed bug #72931 PDO_FIREBIRD with Firebird 3.0 not work on returning statement
2016-12-07 21:06:11 +01:00
Johannes Schlüter
54f526be89
Install ext/json headers
2016-12-07 17:50:05 +01:00
Anatol Belski
5b3e36fe78
fix test compat with MySQL 5.7
2016-12-07 16:04:47 +01:00
Christoph M. Becker
00ee42e385
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-07 13:45:18 +01:00
Markus Staab
dd77116fb0
Fixed typo in skipif error message
2016-12-07 13:35:58 +01:00
Dmitry Stogov
ee15891c35
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Check if PHP is in execution state.
2016-12-07 15:12:48 +03:00
Dmitry Stogov
3c8c347fa7
Check if PHP is in execution state.
2016-12-07 15:12:18 +03:00
Nikita Popov
76c4a3db08
Fix bug #73668
...
Not bothering to implement special handling to get an accurate
range for this case.
2016-12-06 22:25:35 +01:00
Nikita Popov
d7e7f74b24
Factor out common binary op code in range inference
...
Instead of repeating the same code for binary ops and their
compound assignment variants, factor the range computation out
into a separate function.
2016-12-06 22:09:44 +01:00
Anatol Belski
1c5c046d9a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
update NEWS
2016-12-06 20:26:40 +01:00
Anatol Belski
991ca7f7d7
update NEWS
2016-12-06 20:25:27 +01:00
Bob Weinand
43f88f25bb
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-06 18:30:37 +01:00
Bob Weinand
7e12b5da71
Fixed issue getting executable lines from custom wrappers
...
See also krakjoe/phpdbg#161
2016-12-06 18:29:48 +01:00
Anatol Belski
308cc2e9d4
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak, take 2
2016-12-06 16:18:54 +01:00
Anatol Belski
fee5c049a8
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak, take 2
2016-12-06 16:17:28 +01:00
Anatol Belski
c89306ac52
fix leak, take 2
2016-12-06 16:12:39 +01:00
Anatol Belski
4e3f728701
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak, take on 7.x
2016-12-06 14:44:04 +01:00
Anatol Belski
9b1430140a
fix leak, take on 7.x
2016-12-06 14:42:59 +01:00
Anatol Belski
8f4c006ada
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix leak, take on 5.6
2016-12-06 14:37:58 +01:00
Anatol Belski
f2fc812b78
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
fix leak, take on 5.6
2016-12-06 14:36:52 +01:00
Anatol Belski
b04d60626d
fix leak, take on 5.6
2016-12-06 14:34:27 +01:00
Xinchen Hui
72891f385b
Update NEWS
2016-12-06 17:33:15 +08:00
Xinchen Hui
d7a759916d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:48 +08:00
Xinchen Hui
358bd77b23
Fixed bug #73663 ("Invalid opcode 65/16/8" occurs with a variable created with list())
2016-12-06 17:32:32 +08:00
Dmitry Stogov
547b735d34
Micro optimizations
2016-12-06 10:01:18 +03:00
Stanislav Malyshev
28fc49a53f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:33:42 -08:00
Stanislav Malyshev
183b4d78aa
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:33:33 -08:00
Stanislav Malyshev
d7ce944cf1
This still leaks memory, I don't have enough knowledge in WDDX code to fix them :(
2016-12-05 22:32:59 -08:00
Stanislav Malyshev
619a691c7c
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73645 - int/size_t confusion
2016-12-05 22:16:42 -08:00
Stanislav Malyshev
1d59ed7524
Fix bug #73645 - int/size_t confusion
2016-12-05 22:16:00 -08:00
Stanislav Malyshev
4ae4ca45aa
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:59:10 -08:00
Stanislav Malyshev
6292fe84d3
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:58:55 -08:00
Stanislav Malyshev
266ecb6d0a
Fix bug #73631 - Invalid read when wddx decodes empty boolean element
2016-12-05 21:40:55 -08:00
Nikita Popov
3b79f8f408
Fix bug #73654
2016-12-05 20:41:14 +01:00
Dmitry Stogov
2f0e61f4b7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-05 21:49:09 +03:00
Dmitry Stogov
a983b728a7
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-05 21:45:08 +03:00
Anatol Belski
8ad9043aa3
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2016-12-04 22:45:31 +01:00
Anatol Belski
eddca73ad2
fix test
...
This test depends on connection flags modifable from teh env,
that can affect the exact function called.
2016-12-04 22:42:39 +01:00
Anatol Belski
b6f5fcfc3a
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2016-12-04 22:28:34 +01:00
Anatol Belski
1eb3f01c68
fix test
...
On Windows, either doubled backslashes or forward slashes are supported
on the server side.
2016-12-04 22:27:17 +01:00
Anatol Belski
69c3859368
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix ident
2016-12-04 20:59:56 +01:00
Anatol Belski
69fbc751ff
fix ident
2016-12-04 20:59:12 +01:00
Anatol Belski
2198ce2f28
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fix test
2016-12-04 17:29:22 +01:00
Anatol Belski
8e209d0435
fix test
2016-12-04 17:28:43 +01:00
Anatol Belski
dfd776b326
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
enforce the test ini usage for the child process
2016-12-04 14:02:37 +01:00
Anatol Belski
10a2ceef3b
enforce the test ini usage for the child process
2016-12-04 14:01:40 +01:00
Yasuo Ohgaki
e34c8281fa
Merge branch 'pull-request/2228' into PHP-7.1
...
* pull-request/2228:
Fix session upgrade documentation
2016-12-04 17:48:55 +09:00
Tobias Schultze
e15733f0b8
Fix session upgrade documentation
2016-12-04 07:33:29 +01:00
Bob Weinand
ca871aaba6
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-03 23:44:23 +01:00
Bob Weinand
46d708a1b6
Fix PHP-7.0 build (wrong fix for the branch)
2016-12-03 23:39:54 +01:00
Bob Weinand
146b68e022
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-03 18:28:47 +01:00
Bob Weinand
ffc1ef1eed
Fix leak when using $this outside of object context
2016-12-03 18:28:08 +01:00
Christoph M. Becker
c20299ddc4
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-03 14:18:56 +01:00
Christoph M. Becker
a8ec79e27f
Merge branch 'PHP-5.6' into PHP-7.0
2016-12-03 14:18:00 +01:00
Adrien Crivelli
cf2496140d
Fix minor typo
2016-12-03 14:15:52 +01:00
Yasuo Ohgaki
0b204d60a4
Fix typo in php.ini-* comment
2016-12-03 14:23:05 +09:00
Nikita Popov
91d365f805
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-02 17:03:59 +01:00
Nikita Popov
8f7325fc24
Fix leak in shift_right_function
2016-12-02 17:03:05 +01:00
Bob Weinand
7b5e89de82
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-02 15:42:19 +01:00
Bob Weinand
3c1a0d75bf
Fix test of wrong operator in self_xor.phpt
2016-12-02 15:41:47 +01:00
Dmitry Stogov
af2d47c9c7
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Eliminated useless exception check
2016-12-02 15:40:04 +03:00
Dmitry Stogov
68558ab71d
Eliminated useless exception check
2016-12-02 15:39:33 +03:00
Dmitry Stogov
b3a4de65cd
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-02 15:14:37 +03:00
Dmitry Stogov
2b70d44b57
Fixed behavior of failing compound assignments (they shouldn't change the source value when exception thrown during type converion).
2016-12-02 15:13:55 +03:00
Dmitry Stogov
5a57b3d6e0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed behavior of failing compound assignments (they shouldn't change the source value).
2016-12-02 14:00:29 +03:00
Dmitry Stogov
dbf39cddd9
Fixed behavior of failing compound assignments (they shouldn't change the source value).
2016-12-02 13:58:44 +03:00
Davey Shafik
2f5090168f
Bump versions and NEWS for 7.1.1-dev
2016-12-02 02:24:54 -08:00
Dmitry Stogov
04500f1fe0
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed possible memory leak in &=, |=, ^=.
2016-12-02 12:35:44 +03:00
Dmitry Stogov
67d90a4870
Fixed possible memory leak in &=, |=, ^=.
2016-12-02 12:34:46 +03:00
Bob Weinand
ad5038bfee
Merge branch 'PHP-7.0' into PHP-7.1
2016-12-01 15:21:49 +01:00
Bob Weinand
fcaccbaa22
Fix valgrind issue when throwing due to yield from aborted generator
2016-12-01 15:21:28 +01:00
Anatol Belski
1c2333009f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
fork tests
2016-12-01 14:53:22 +01:00
Anatol Belski
2252d4e59d
fork tests
2016-12-01 14:52:18 +01:00
Dmitry Stogov
96655ad01e
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Fixed bad merge
2016-12-01 16:22:23 +03:00
Dmitry Stogov
7f22e3c879
Fixed bad merge
2016-12-01 16:21:57 +03:00
Dmitry Stogov
d149ba217f
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Workaround for GCC-4.9.2 bug
oops, changed in wrong place
2016-12-01 15:50:19 +03:00
Dmitry Stogov
b7b7dd8cea
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Workaround for GCC-4.9.2 bug
oops, changed in wrong place
2016-12-01 15:50:05 +03:00
Dmitry Stogov
1cd566e13f
Workaround for GCC-4.9.2 bug
2016-12-01 15:46:52 +03:00
Anatol Belski
9c7540d357
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
improve skipif
2016-12-01 13:33:42 +01:00
Anatol Belski
615c9bfe5a
fix condition
2016-12-01 13:33:27 +01:00
Anatol Belski
043d8e2fe1
improve skipif
2016-12-01 13:32:10 +01:00
Anatol Belski
8ecbb660d0
improve skipif
2016-12-01 13:25:28 +01:00
Dmitry Stogov
54244ba565
Fixed access to uninitialized value
2016-12-01 13:25:50 +03:00
Dmitry Stogov
54f7abfe7d
Merge branch 'PHP-7.0' into PHP-7.1
...
* PHP-7.0:
Simpler overflow check
fix gcov coverage
2016-12-01 10:34:09 +03:00
Dmitry Stogov
003346c450
Simpler overflow check
2016-12-01 10:30:02 +03:00
Anatol Belski
60c875b072
fix dir separator
2016-12-01 01:36:29 +01:00
Davey Shafik
db456d91f4
Update NEWS for the build
2016-11-30 15:14:38 -08:00
Nuno Lopes
d5a2af6d1c
Merge branch 'PHP-7.0' of https://git.php.net/push/php-src into PHP-7.0
2016-11-30 14:41:26 -05:00
Bob Weinand
e37412e19c
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-30 11:45:18 +01:00
Bob Weinand
344ef050aa
Fix run-tests.php to always include TEST_PHPDBG_EXECUTABLE if phpdbg available
2016-11-30 11:44:10 +01:00
Bob Weinand
7aaa1a876e
Merge branch 'PHP-7.0' into PHP-7.1
2016-11-30 02:57:16 +01:00
Bob Weinand
b73a3afff3
Fixed bug #73615 (phpdbg without option never load .phpdbginit at startup)
2016-11-30 02:56:47 +01:00
Stanislav Malyshev
c8778eb293
oops, changed in wrong place
2016-11-27 16:11:41 -08:00
Nuno Lopes
d26b8804d0
fix gcov coverage
2016-11-16 15:11:07 -05:00
Joshua Thijssen
e7f23e164b
Implemented fix for incorrect filedescriptor closing
2015-10-21 13:21:03 +02:00
Christoph M. Becker
c36ce04dd3
Fix #70103 : ZipArchive::addGlob ignores remove_all_path option
...
When the remove_all_path option is set, but no add_path option, remove_all_path
is simply ignored. This patch fixes this.
2015-08-13 21:04:36 +02:00
Tom Sommer
e37b5f20fb
Fix rebase error
2015-07-14 13:18:47 -04:00
Tom Sommer
29f96ab37e
Add subject to mail.log
2015-07-14 11:44:58 -04:00
Evgeniy Spinov
650e073f7a
*[Sessions]: Now session is accessible if process is ran by root. Fixing bug: https://bugs.php.net/bug.php?id=69582
...
*[Sessions]: Replaced fstat with zend_fstat
2015-06-28 12:02:57 +04:00
EvgeniySpinov
2edf296a92
Merge pull request #1 from php/master
...
Merging upstream
2015-06-28 12:00:38 +04:00
Evgeniy Spinov
a2c461d58a
*[Sessions]: Now session is accessible if process is ran by root. Fixing bug: https://bugs.php.net/bug.php?id=69582
2015-06-24 15:26:25 +04:00
Willian Gustavo Veiga
33721742a5
Added "exclude_disabled" argument to "get_defined_functions".
2015-06-02 21:42:18 -03:00
Willian Gustavo Veiga
978832331a
Fix bug #31875 - get_defined_functions() should not list disabled functions.
2015-05-30 12:29:27 -03:00
redfoxli
2ece3ea699
improperlog
2015-05-30 14:37:41 +08:00
Floris Bos
bb19125781
Fix php-fpm.service.in
...
- Expand file paths.
- Remove obsolete After=syslog.target. Syslog is socket activated nowadays.
Signed-off-by: Floris Bos <bos@je-eigen-domein.nl >
2015-05-01 15:28:55 +02:00