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
George Peter Banyard
1f72dd89a5
Fix [-Wundef] warning in TSRM
2020-05-20 14:01:10 +02:00
Nikita Popov
ec1e8540d8
Slightly deduplicate run-tests code
2020-05-20 11:58:42 +02:00
Nikita Popov
c2068e95b4
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix bug #79603 , by retrying on RTD key collision
2020-05-20 11:24:37 +02:00
Nikita Popov
4f47ba99f0
Fix bug #79603 , by retrying on RTD key collision
...
This is a non-intrusive fix for 7.4, still trying to find a good
solution for master.
Closes GH-5597.
2020-05-20 11:22:50 +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
8819d247c6
Don't require rc=1 for function static variables
...
If file cache only is used, then static_variables_ptr may point
to an immutable static_variables HT, which we do not want to
destroy here.
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
Dmitry Stogov
928c796290
Make number of root and side traces configurable
2020-05-20 01:40:01 +03:00
Dmitry Stogov
e18f631abe
Use light version of zend_array_destroy() to free arrays without refcounted elements and string indexes.
2020-05-20 00:12:24 +03:00
Christoph M. Becker
496171a5ca
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Bump version
2020-05-19 17:28:39 +02:00
Christoph M. Becker
c4badcbec4
Bump version
...
Seems that has been forgotten.
2020-05-19 17:24:18 +02:00
Christoph M. Becker
5211ddce0e
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix INI setting member name
2020-05-19 16:01:48 +02:00
Christoph M. Becker
6a9db9573e
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix INI setting member name
2020-05-19 16:00:19 +02:00
Christoph M. Becker
85ac5643ff
Fix INI setting member name
...
Since the member is not used in `OnUpdateEol()` that's not really an
issue, but still it's confusing to apparently have two INI settings
targeting the same member.
2020-05-19 15:59:21 +02:00
Dmitry Stogov
6faa08f41c
Separate common code
2020-05-19 16:59:07 +03:00
Máté Kocsis
ed6cf67879
Fix some final classes in stubs
2020-05-19 14:54:37 +02:00
Máté Kocsis
d1d3a4afd5
Generate method entries for Closure
2020-05-19 14:19:37 +02:00
Nikita Popov
74ef4bd7ed
Fix opcache_get_configuration() test
2020-05-19 14:12:30 +02:00
Dmitry Stogov
8c19e611aa
Make JIT parameters configurable through opcache.jit_... options
2020-05-19 13:35:02 +03:00
Nikita Popov
33b5c026aa
Extract zend_foreach_op_array()
...
Move this functionality from zend_call_graph into zend_optimizer,
because we use this pattern in a number of places.
2020-05-19 11:15:54 +02:00
Dmitry Stogov
d377467d86
Keep ZEND_FUNC_INFO() for all run-time JIT triggers
2020-05-18 19:00:38 +03:00
Nikita Popov
c3bbcff5e6
Fix phpdbg test with JIT
...
With JIT one extra cache slot is allocated, so the extended_value
needs one more character, and the output ends up having one space
less...
2020-05-18 15:25:24 +02:00
Derick Rethans
3707d75f4b
Merge branch 'PHP-7.4'
2020-05-18 13:51:47 +01:00
Derick Rethans
d2797505cd
Put Xdebug 3 into 'off' mode for run-tests.php
2020-05-18 13:51:40 +01:00
Derick Rethans
8e7d94e229
Merge branch 'PHP-7.3' into PHP-7.4
2020-05-18 13:51:14 +01:00
Derick Rethans
74a4a5ae55
Put Xdebug 3 into 'off' mode for run-tests.php
2020-05-18 13:49:12 +01:00
Dmitry Stogov
5899b1611e
Fixed JIT on load with -O4
2020-05-18 15:29:28 +03:00
Dmitry Stogov
eae6df494d
Wrong condition
2020-05-18 15:04:39 +03:00
Dmitry Stogov
7a07deca0f
Fixed JIT with non-HYBRID VM
2020-05-18 14:56:39 +03:00
Dmitry Stogov
99611573f0
Tracing JIT with -O1 doesn't need to do type inference and abstract stack maintaining
2020-05-18 14:39:49 +03:00
Dmitry Stogov
a463197d7a
func_info should be empty
2020-05-18 14:30:55 +03:00
George Peter Banyard
3302ffb09e
Fix bogus check in TSRM and adjust TSRM_ASSERT macro
...
Closes GH-5562
2020-05-18 12:24:23 +02:00
Dmitry Stogov
0695048e20
JIT refactoring to allow run-time changes of JIT options (triggers, optimization_level, debug flags, etc)
2020-05-18 10:23:06 +03:00
Máté Kocsis
1179686f62
Improve error messages for invalid property access
...
Closes GH-5446
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com >
2020-05-18 08:27:00 +02:00
Remi Collet
b1fddec717
relax test (TS issue)
2020-05-18 07:53:03 +02:00
George Peter Banyard
7c33644fed
Fix [-Wextra-tokens] warning in MySQLi extension which breaks build
...
Didn't double check and this slipped through with my big search and replace
2020-05-18 01:00:47 +02:00
George Peter Banyard
1330359515
Fix [-Wundef] warning in MySQLnd extension
2020-05-18 00:37:20 +02:00
George Peter Banyard
82afcf4401
Fix [-Wundef] warning in MySQLi extension
2020-05-18 00:37:19 +02:00
George Peter Banyard
5f0128e1e0
Fix [-Wundef] warning in ZIP extension
2020-05-18 00:37:18 +02:00
George Peter Banyard
bc9497695e
Fix [-Wundef] warning in Tidy extension
2020-05-18 00:37:18 +02:00
George Peter Banyard
714c5f0b70
Fix [-Wundef] warning in Sysvmsg extension
2020-05-18 00:37:17 +02:00
George Peter Banyard
2df6482db9
Fix [-Wundef] warning in Sysvsem extension
2020-05-18 00:37:17 +02:00
George Peter Banyard
418bb5ebda
Fix [-Wundef] warning in Sysvshm extension
2020-05-18 00:37:16 +02:00