George Peter Banyard
c803499e23
Remove depreacted curly brace offset syntax
...
Closes GH-5221
2020-05-22 16:52:17 +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
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
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
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
Máté Kocsis
86d58e9fff
Generate function entries for ext/zip
...
Closes GH-5601
2020-05-20 14:22:11 +02:00
Christoph M. Becker
a582931f42
Revert "Revert "Merge branch 'PHP-7.4'""
...
This reverts commit 28e650a , which reverted commit 046dcfb , which had
to be reverted due to phpdbg issues. The culprit was that we did not
properly reset `zend_handler_table` to `NULL`, which is required for
SAPIs which may restart the engine after shutdown.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=28e650abf8097a28789a005e5028fee095359583 >
[2] <http://git.php.net/?p=php-src.git;a=commit;h=046dcfb531e242d36a7af2942b9b148290c3c7fe >
2020-05-20 14:11:42 +02:00
George Peter Banyard
466e288b01
Fix [-Wundef] warning in PostgreSQL extension
2020-05-20 14:01:11 +02:00
George Peter Banyard
f677251ceb
Fix [-Wundef] warning in POSIX extension
2020-05-20 14:01:11 +02:00
George Peter Banyard
616bf43978
Fix [-Wundef] warning in PSpell extension
2020-05-20 14:01:11 +02:00
George Peter Banyard
21c0f8a984
Fix [-Wundef] warning in Session extension
2020-05-20 14:01:11 +02:00
George Peter Banyard
f23b3026bc
Fix [-Wundef] warning in SHMOP extension
2020-05-20 14:01:10 +02:00
George Peter Banyard
85104fae37
Fix [-Wundef] warning in ODBC extension
2020-05-20 14:01:10 +02:00
George Peter Banyard
24de4274f3
Fix [-Wundef] warning in PCNTL extension
2020-05-20 14:01:10 +02:00
George Peter Banyard
d50b076fa3
Fix [-Wundef] warning in PCRE extension
2020-05-20 14:01:10 +02:00
Nikita Popov
0a74da385d
Add support for replaying warnings in opcache
...
If opcache.record_warnings is enabled, opcache will record
compilation warnings and replay them when the file is included
again. The primary use case I have in mind for this is automated
testing of the opcache file cache.
This resolves bug #76535 .
2020-05-20 11:20:21 +02:00
Nikita Popov
1b1d313275
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix static property indirections in file cache
Don't require rc=1 for function static variables
2020-05-20 11:13:35 +02:00
Nikita Popov
db0cdcbb0a
Fix static property indirections in file cache
...
If the class is already linked, we need to serialize and
unserialize INDIRECTed static properties. Normally these would
be set up when copying from cache.
2020-05-20 11:12:18 +02:00
Nikita Popov
057875d161
Disable JIT in file cache test
...
File cache and JIT are currently incomatible.
2020-05-20 09:50:12 +02:00
Dmitry Stogov
e35c163e33
Tracing JIT SHM data initilaizarion must be done at MINIT
2020-05-20 02:07:18 +03:00
Dmitry Stogov
d1a92ddc72
typo
2020-05-20 02:07:07 +03:00