Nikita Popov
1391a0fa0b
Fixed bug #75893
...
It is not sufficient to just add the additional types for aliased
variables at the end of type inference, because types of derived
variables may depend on them. Make sure the additional types are
always added whenever the type of an aliased variable is updated.
2018-02-05 21:41:44 +01:00
Nikita Popov
d9e71169e6
Fixed bug #75729
...
Don't try to evaluate substr() and strpos() at compile-time if
mbstring function overloading is enabled. I'm reusing the
COMPILE_NO_BUILTIN_STRLEN for the detection of mbstring function
overloading here, even if it's technically only about strlen()...
2018-02-05 21:08:18 +01:00
Michael Wallner
3ef3f74a65
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
fix bug #75916 DNS_CAA record results contain garbage
2018-02-05 09:08:12 +01:00
Michael Wallner
42f2ae0572
fix bug #75916 DNS_CAA record results contain garbage
...
It is assumed that DNS_CAA record values are zero terminated,
while its length is defined as (RDATA_LENGTH - tag_length - 2).
2018-02-05 09:04:07 +01:00
Anatol Belski
138ea7c3fe
Ensure there are no line breaks in the error msg
2018-02-01 15:30:01 +01:00
Derick Rethans
5feb53964f
Sync with timelib 2017.06
2018-01-31 11:55:35 +00:00
Jakub Zelenka
3348d40a7b
Use correct certs for SNI server tests with separate key and cert
2018-01-30 20:08:19 +00:00
Jakub Zelenka
aef59537e6
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-30 20:02:34 +00:00
Jakub Zelenka
fe2ac52d50
Use correct certs for SNI server tests
2018-01-30 19:58:40 +00:00
Thomas Punt
0f393a6102
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Use the correct freeing function
2018-01-29 11:13:22 +00:00
Thomas Punt
fb128f6512
Use the correct freeing function
2018-01-29 11:13:10 +00:00
Bishop Bettini
fa586cee3e
Fixed bug #54289
...
If a directory is passed to Phar::extractTo(), loop over all
entries and extract all files with the given prefix.
2018-01-28 21:51:25 +01:00
Sam Ding
a8c6b36d62
fixed Big_endian issue on s390x for stream test cases
2018-01-27 16:39:03 +01:00
Christoph M. Becker
96595a232a
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Revert "Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature"
2018-01-27 13:13:06 +01:00
Christoph M. Becker
a882f95e39
Revert "Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature"
...
This reverts commit 4bd7658e1b
.
To avoid the BC break we apply the fix to master only.
2018-01-27 13:11:30 +01:00
Christoph M. Becker
d7a02844f9
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature
2018-01-27 12:41:15 +01:00
Christoph M. Becker
4bd7658e1b
Fix #75878 : RecursiveTreeIterator::setPostfix has wrong signature
2018-01-27 12:33:36 +01:00
Nikita Popov
fd255b8878
Merge branch 'PHP-7.1' into PHP-7.2
2018-01-26 22:28:48 +01:00
Philip Prindeville
aad76a9b79
Be consistent in clearing out in php_iconv_string()
2018-01-26 22:28:27 +01:00
Michael Orlitzky
3fe9e10a1b
ext/session: catch incompatible configure flags earlier.
...
The session extension has a --with-mm flag that tells it to build
the mm backend ("mm" is the name of the library). However, that
backend is not thread-safe, and mod_mm.c will refuse to compile if
the --enable-maintainer-zts flag was also passed to the configure
script.
Rather than crash halfway through the build, this commit adds a check
to the session extension's config.m4 file. If both --with-mm and
--enable-maintainer-zts are "on," then the configure script will
die and explain that they can't be used together.
PHP-bug: 14269
2018-01-24 21:22:15 +01:00
Derick Rethans
6dbe046154
Updated to version 2018.3 (2018c)
2018-01-24 13:57:07 +00:00
Derick Rethans
f80e59a566
Updated to version 2018.3 (2018c)
2018-01-24 13:57:06 +00:00
Anatol Belski
e403e122cd
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #73725 Unable to retrieve value of varchar(max) type
2018-01-22 17:03:48 +01:00
Anatol Belski
2384ade53c
Fixed bug #73725 Unable to retrieve value of varchar(max) type
2018-01-22 17:02:54 +01:00
Xinchen Hui
6184301212
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed #75838 (Memory leak in pg_escape_bytea())
2018-01-18 10:53:39 +08:00
Xinchen Hui
fb205020ce
Fixed #75838 (Memory leak in pg_escape_bytea())
2018-01-18 10:53:23 +08:00
Anatol Belski
c5768a7e24
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Allow pecl like usage in ext/phar, closes #2955
2018-01-15 14:25:45 +01:00
Anatol Belski
2d4fb56c1d
Allow pecl like usage in ext/phar, closes #2955
2018-01-15 14:23:46 +01:00
Nikita Popov
8c73fc8027
Fixed bug #75653
2018-01-12 18:30:22 +01:00
Anatol Belski
1d05750c50
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75774 imap_append HeapCorruction
2018-01-12 17:14:19 +01:00
Anatol Belski
cecf734dc3
Fixed bug #75774 imap_append HeapCorruction
2018-01-12 17:13:18 +01:00
Anatol Belski
baaf73be69
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Unify EOL
Extend test, latest cURL ships also with smb and smbs
2018-01-12 12:21:43 +01:00
Anatol Belski
9d2662ea4b
Unify EOL
2018-01-12 12:20:31 +01:00
Anatol Belski
4bb46c133d
Extend test, latest cURL ships also with smb and smbs
2018-01-12 12:17:57 +01:00
Anatol Belski
e3fda6e5f6
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix test for libtidy 5.6.0
2018-01-11 14:33:59 +01:00
Anatol Belski
83a77383b9
Fix test for libtidy 5.6.0
...
libtidy 5.6.0 remove the language option from the library, it is only
supported on cli. Prior to that, this option was not used in the
library. Thus, exclude the option presence from test.
2018-01-11 14:29:49 +01:00
Nikita Popov
f208187773
Backport narrowing fix to 7.1
...
This is a cherry-pick of 8a4532319d
.
2018-01-09 18:41:46 +01:00
Xinchen Hui
9a2fc39542
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fixed bug #75781 (substr_count incorrect result)
2018-01-09 16:21:13 +08:00
Xinchen Hui
6da44fefb2
Fixed bug #75781 (substr_count incorrect result)
2018-01-09 16:21:02 +08:00
Dmitry Stogov
cfee682802
Fixed possible incorrect "mark" usage
2018-01-09 10:30:00 +03:00
Anatol Belski
fc6a990891
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Fix tests
2018-01-04 16:09:51 +01:00
Anatol Belski
1448f0912f
Fix tests
2018-01-04 16:08:41 +01:00
Lior Kaplan
fc528afd2b
Happy new year (Update copyright to 2018)
2018-01-04 00:50:42 +02:00
Anatol Belski
4635cc5b9d
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip on Travis-CI
2018-01-03 18:36:10 +01:00
Anatol Belski
904e0d7212
Skip on Travis-CI
...
The current doc states max ram for a test VM would be 7.5G, the
currently used container image has even less. This skip should be
revisited, as the available memory amount shifts. The way of checking
/proc/meminfo doesn't work reliably on containers at least, thus
skipping explicitly on Travis-CI makes sense.
2018-01-03 18:32:33 +01:00
Anatol Belski
e282e52967
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Extend skip section
2018-01-03 16:56:00 +01:00
Anatol Belski
2508d5051f
Extend skip section
...
The test requires some untrivial amount of RAM. Added a simple check for
the system free RAM to avoid false positive fails.
2018-01-03 16:54:14 +01:00
Xinchen Hui
0e62639d28
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Happy new year (Update copyright to 2018)
2018-01-03 16:00:34 +08:00
Lior Kaplan
fbfdd1e1c4
Happy new year (Update copyright to 2018)
2018-01-02 23:42:29 +02:00
Anatol Belski
8a8bf1dc13
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
Skip test for pdo_odbc
2018-01-02 12:29:19 +01:00