George Peter Banyard
cebe750f46
Refactor ZPP API to use uint32_t as everywhere else
...
Closes GH-5609
2020-05-22 17:13:42 +02:00
George Peter Banyard
bc3ee2eeea
[skip-ci] Update UPGRADING
...
Add upgrading note for mixed type and removal of curly braces offset syntax
2020-05-22 17:02:30 +02:00
Nikita Popov
b9d0ff7634
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Revert "Fix #79595 : zend_init_fpu() alters FPU precision"
2020-05-22 16:57:24 +02:00
Nikita Popov
10eb842a64
Revert "Fix #79595 : zend_init_fpu() alters FPU precision"
...
This reverts commit 88dfc475c5 .
2020-05-22 16:57:14 +02:00
George Peter Banyard
c803499e23
Remove depreacted curly brace offset syntax
...
Closes GH-5221
2020-05-22 16:52:17 +02:00
Nikita Popov
a307e48d67
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Show diffs for failed tests on Azure CI
2020-05-22 16:37:22 +02:00
Alex Dowad
6ad746488e
Show diffs for failed tests on Azure CI
...
It's currently not possible to view the "Tests" tab on Azure if
you're not signed in, so also display diffs in the log.
Closes GH-5612.
2020-05-22 16:37:04 +02:00
Máté Kocsis
aec4c0fd03
Add support for the mixed type
...
RFC: https://wiki.php.net/rfc/mixed_type_v2
Closes GH-5313
Co-authored-by: Dan Ackroyd <danack@basereality.com >
2020-05-22 16:08:12 +02:00
Christoph M. Becker
4bc1d8333a
Raise ext/pgsql requirements to PostGreSQL 7.4
...
We can safely assume that users have at the very least libpq 7.4, for
which official support ended on 2010-10-01; even CentOS 6 has 8.4 now.
It is also noteworthy that PDO_PGSQL already requires libpq 7.4 or
later.
2020-05-22 15:56:24 +02:00
Christoph M. Becker
c0920e674f
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #79595 : zend_init_fpu() alters FPU precision
2020-05-22 15:47:33 +02:00
Christoph M. Becker
88dfc475c5
Fix #79595 : zend_init_fpu() alters FPU precision
...
On startup, PHP deliberately changes the floating point control word to
enforce binary64 format for the calculations for best consistency
across platforms. However, this is unnessary when compiling under
`__SSE__`, because in this case the x87 instructions are not used.
Therefore, we can skip the modification, which has the benefit that
system libraries are free to work in the mode of their liking.
2020-05-22 15:46:13 +02:00
Dmitry Stogov
f4b46314f6
Prevent CGG reordering if hanlers order is defined by zend_vm_order.txt
2020-05-22 12:37:35 +03:00
Dmitry Stogov
0085cbffd8
Fixed typecast
2020-05-22 12:36:52 +03:00
Gerard Roche
cf3d3cd86f
Fix PostgreSQL and MySQL setup on Travis CI
...
Note that the PostgreSQL tests still don't work on some architectures.
Closes GH-5607.
2020-05-22 10:02:57 +02:00
Gerard Roche
d1dde094f2
run-tests: refactor
2020-05-22 09:58:04 +02:00
Gerard Roche
2ef88f517d
run-tests: echo message and exit if no tests found
...
The test runner currently defaults to running the entire test suite if
no selected tests can be found. This can be unexpected.
For example the ext/mysqlnd/ directory has no tests, if you specify that
directory when testing the entire test suite will be run.
run-tests.php [options] ext/mysqlnd/
Closes GH-5605.
2020-05-22 09:37:46 +02:00
Christoph M. Becker
7f51f43509
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #79615 : Wrong GIF header written in GD GIFEncode
2020-05-22 09:22:38 +02:00
Christoph M. Becker
da801ba5e3
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #79615 : Wrong GIF header written in GD GIFEncode
2020-05-22 09:19:05 +02:00
Christoph M. Becker
d4bd6fb491
Fix #79615 : Wrong GIF header written in GD GIFEncode
...
The color resolution is expected in bits 4-6 of the packed fields byte
of the logical screen descriptor (byte 10 of the GIF data stream),
according to the specification[1], section 18.
[1] <https://www.w3.org/Graphics/GIF/spec-gif89a.txt >
2020-05-22 09:15:41 +02:00
Dmitry Stogov
bb1a68b40c
Use EX(run_time_cache) instead of RUN_TIME_CACHE(&EX(func)->op_array)
2020-05-21 18:35:32 +03:00
Dmitry Stogov
a9b2ff3dda
simplification
2020-05-21 18:01:44 +03:00
Dmitry Stogov
2dfd6cd373
Allow counter settings to be "zero" to disable corresponding counter
2020-05-21 01:06:50 +03:00
Dmitry Stogov
d2446ca1d9
Missed label
2020-05-21 00:57:54 +03:00
Dmitry Stogov
b65d366bf8
Better condition
2020-05-20 23:05:48 +03:00
Dmitry Stogov
95248491af
Prefer already cached version of the script
2020-05-20 23:04:34 +03:00
George Peter Banyard
3b62e8b9ab
Fix [-Wundef] warning in SQLite3 extension
2020-05-20 18:22:11 +02:00
George Peter Banyard
6a151225dc
Fix [-Wundef] warning in SPL extension
2020-05-20 18:22:10 +02:00
George Peter Banyard
e6930bcfba
More [-Wundef] warnings fixed in POSIX extension
...
Forgot to squash this into the other commit
2020-05-20 18:22:10 +02:00
George Peter Banyard
3092a1ee12
Fix [-Wundef] warning in PHAR extension
2020-05-20 18:22:10 +02:00
George Peter Banyard
999f65c9cd
Fix [-Wundef] warning in OpenSSL extension
2020-05-20 18:22:10 +02:00
George Peter Banyard
ea8686540a
Fix [-Wundef] warning in INTL extension
2020-05-20 18:22:10 +02:00
George Peter Banyard
9cc24baa1c
Fix [-Wundef] warning in Iconv extension
2020-05-20 18:22:09 +02:00
George Peter Banyard
2f0dcf2ac2
Fix [-Wundef] warning in GD extension
2020-05-20 18:22:09 +02:00
Nikita Popov
e852944f63
Add --enable-memory-sanitizer flag
...
This flag enabled msan late in the pipeline, so that it does
not affect configure checks.
Otherwise we get a false positive report for openpty availability
without -lutil, which will then result in infinite recursion if
actually called.
This also sets origin tracking to 2, so bump the timeout to 90
minutes.
2020-05-20 16:46:28 +02:00
George Peter Banyard
c85ded7632
Fix [-Wundef] warning in PDO PostgreSQL extension
2020-05-20 16:29:53 +02:00
George Peter Banyard
50af36a8aa
Fix [-Wundef] warning in PDO ODBC extension
2020-05-20 16:29:53 +02:00
George Peter Banyard
a43f100fda
Fix [-Wundef] warning in PDO OCI extension
2020-05-20 16:29:53 +02:00
George Peter Banyard
c932cc841a
Fix [-Wundef] warning in PDO MySQL extension
2020-05-20 16:29:52 +02:00
George Peter Banyard
db7dc2fa2f
Fix [-Wundef] warning in PDO Firebird extension
2020-05-20 16:29:52 +02:00
George Peter Banyard
1c598cf6a8
Fix [-Wundef] warning in PDO DBLib extension
2020-05-20 16:29:52 +02:00
George Peter Banyard
f0794c7719
Fix [-Wundef] warning in SimpleXML extension
2020-05-20 16:29:52 +02:00
George Peter Banyard
e5a7ab33f6
Fix [-Wundef] warning in SOAP extension
2020-05-20 16:29:51 +02:00
George Peter Banyard
336998f110
Fix [-Wundef] warning in XLS extension
2020-05-20 16:29:51 +02:00
George Peter Banyard
c7055f5916
Fix [-Wundef] warning in XMLReader extension
2020-05-20 16:29:51 +02:00
George Peter Banyard
7fa0d30014
Fix [-Wundef] warning in XML extension
2020-05-20 16:29:51 +02:00
Tyson Andre
3e045d5f2b
Fix grammar in the jit's README.md
...
For GH-5585
2020-05-20 10:01:34 -04:00
Tyson Andre
27b849ec9a
[skip ci] Add a README for Opcache's JIT.
...
Mention information that would be useful for working on new features or bug
fixes for the JIT.
Closes GH-5585
2020-05-20 09:58:24 -04:00
Nikita Popov
25aa125530
Add file cache job on azure
2020-05-20 15:33:20 +02:00
Nikita Popov
0374cf08c7
Add --file-cache-prime/use options to run-tests
...
--file-cache-prime populates the file cache,
--file-cache-use uses the file cache.
And fix a number of tests to run under file cache or disabled
timestamp validation.
2020-05-20 15:29:32 +02:00
Nikita Popov
40b59cee8a
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Update msan symbolizer path
2020-05-20 15:25:19 +02:00