]>
granicus.if.org Git - php/log
George Peter Banyard [Wed, 20 May 2020 12:00:20 +0000 (14:00 +0200)]
Fix [-Wundef] warning in PostgreSQL extension
George Peter Banyard [Wed, 20 May 2020 12:00:14 +0000 (14:00 +0200)]
Fix [-Wundef] warning in POSIX extension
George Peter Banyard [Wed, 20 May 2020 12:00:09 +0000 (14:00 +0200)]
Fix [-Wundef] warning in PSpell extension
George Peter Banyard [Wed, 20 May 2020 12:00:03 +0000 (14:00 +0200)]
Fix [-Wundef] warning in Session extension
George Peter Banyard [Wed, 20 May 2020 11:59:56 +0000 (13:59 +0200)]
Fix [-Wundef] warning in SHMOP extension
George Peter Banyard [Wed, 20 May 2020 11:59:50 +0000 (13:59 +0200)]
Fix [-Wundef] warning in ODBC extension
George Peter Banyard [Wed, 20 May 2020 11:59:44 +0000 (13:59 +0200)]
Fix [-Wundef] warning in PCNTL extension
George Peter Banyard [Wed, 20 May 2020 11:59:38 +0000 (13:59 +0200)]
Fix [-Wundef] warning in PCRE extension
George Peter Banyard [Wed, 20 May 2020 11:59:27 +0000 (13:59 +0200)]
Fix [-Wundef] warning in TSRM
Nikita Popov [Wed, 20 May 2020 09:58:42 +0000 (11:58 +0200)]
Slightly deduplicate run-tests code
Nikita Popov [Wed, 20 May 2020 09:24:37 +0000 (11:24 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix bug #79603, by retrying on RTD key collision
Nikita Popov [Tue, 19 May 2020 08:13:25 +0000 (10:13 +0200)]
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.
Nikita Popov [Tue, 19 May 2020 13:01:18 +0000 (15:01 +0200)]
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.
Nikita Popov [Wed, 20 May 2020 09:13:07 +0000 (11:13 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix static property indirections in file cache
Don't require rc=1 for function static variables
Nikita Popov [Wed, 20 May 2020 08:55:36 +0000 (10:55 +0200)]
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.
Nikita Popov [Wed, 20 May 2020 08:26:08 +0000 (10:26 +0200)]
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.
Nikita Popov [Wed, 20 May 2020 07:49:46 +0000 (09:49 +0200)]
Disable JIT in file cache test
File cache and JIT are currently incomatible.
Dmitry Stogov [Tue, 19 May 2020 23:07:18 +0000 (02:07 +0300)]
Tracing JIT SHM data initilaizarion must be done at MINIT
Dmitry Stogov [Tue, 19 May 2020 23:07:07 +0000 (02:07 +0300)]
typo
Dmitry Stogov [Tue, 19 May 2020 22:40:01 +0000 (01:40 +0300)]
Make number of root and side traces configurable
Dmitry Stogov [Tue, 19 May 2020 21:12:24 +0000 (00:12 +0300)]
Use light version of zend_array_destroy() to free arrays without refcounted elements and string indexes.
Christoph M. Becker [Tue, 19 May 2020 15:28:39 +0000 (17:28 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Bump version
Christoph M. Becker [Tue, 19 May 2020 15:24:18 +0000 (17:24 +0200)]
Bump version
Seems that has been forgotten.
Christoph M. Becker [Tue, 19 May 2020 14:01:48 +0000 (16:01 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix INI setting member name
Christoph M. Becker [Tue, 19 May 2020 14:00:19 +0000 (16:00 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix INI setting member name
Christoph M. Becker [Mon, 18 May 2020 14:07:16 +0000 (16:07 +0200)]
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.
Dmitry Stogov [Tue, 19 May 2020 13:59:07 +0000 (16:59 +0300)]
Separate common code
Máté Kocsis [Tue, 19 May 2020 12:54:37 +0000 (14:54 +0200)]
Fix some final classes in stubs
Máté Kocsis [Tue, 19 May 2020 11:56:30 +0000 (13:56 +0200)]
Generate method entries for Closure
Nikita Popov [Tue, 19 May 2020 12:12:30 +0000 (14:12 +0200)]
Fix opcache_get_configuration() test
Dmitry Stogov [Tue, 19 May 2020 10:35:02 +0000 (13:35 +0300)]
Make JIT parameters configurable through opcache.jit_... options
Nikita Popov [Tue, 19 May 2020 09:10:19 +0000 (11:10 +0200)]
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.
Dmitry Stogov [Mon, 18 May 2020 16:00:38 +0000 (19:00 +0300)]
Keep ZEND_FUNC_INFO() for all run-time JIT triggers
Nikita Popov [Mon, 18 May 2020 13:25:24 +0000 (15:25 +0200)]
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...
Derick Rethans [Mon, 18 May 2020 12:51:47 +0000 (13:51 +0100)]
Merge branch 'PHP-7.4'
Derick Rethans [Mon, 18 May 2020 12:51:40 +0000 (13:51 +0100)]
Put Xdebug 3 into 'off' mode for run-tests.php
Derick Rethans [Mon, 18 May 2020 12:51:14 +0000 (13:51 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Derick Rethans [Mon, 18 May 2020 12:49:12 +0000 (13:49 +0100)]
Put Xdebug 3 into 'off' mode for run-tests.php
Dmitry Stogov [Mon, 18 May 2020 12:29:28 +0000 (15:29 +0300)]
Fixed JIT on load with -O4
Dmitry Stogov [Mon, 18 May 2020 12:04:39 +0000 (15:04 +0300)]
Wrong condition
Dmitry Stogov [Mon, 18 May 2020 11:56:39 +0000 (14:56 +0300)]
Fixed JIT with non-HYBRID VM
Dmitry Stogov [Mon, 18 May 2020 11:39:49 +0000 (14:39 +0300)]
Tracing JIT with -O1 doesn't need to do type inference and abstract stack maintaining
Dmitry Stogov [Mon, 18 May 2020 11:30:55 +0000 (14:30 +0300)]
func_info should be empty
George Peter Banyard [Sun, 17 May 2020 23:13:11 +0000 (01:13 +0200)]
Fix bogus check in TSRM and adjust TSRM_ASSERT macro
Closes GH-5562
Dmitry Stogov [Mon, 18 May 2020 07:23:06 +0000 (10:23 +0300)]
JIT refactoring to allow run-time changes of JIT options (triggers, optimization_level, debug flags, etc)
Máté Kocsis [Fri, 24 Apr 2020 08:58:46 +0000 (10:58 +0200)]
Improve error messages for invalid property access
Closes GH-5446
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Remi Collet [Mon, 18 May 2020 05:53:03 +0000 (07:53 +0200)]
relax test (TS issue)
George Peter Banyard [Sun, 17 May 2020 23:00:39 +0000 (01:00 +0200)]
Fix [-Wextra-tokens] warning in MySQLi extension which breaks build
Didn't double check and this slipped through with my big search and replace
George Peter Banyard [Sun, 17 May 2020 21:10:10 +0000 (23:10 +0200)]
Fix [-Wundef] warning in MySQLnd extension
George Peter Banyard [Sun, 17 May 2020 21:09:49 +0000 (23:09 +0200)]
Fix [-Wundef] warning in MySQLi extension
George Peter Banyard [Tue, 12 May 2020 15:55:50 +0000 (17:55 +0200)]
Fix [-Wundef] warning in ZIP extension
George Peter Banyard [Tue, 12 May 2020 16:04:24 +0000 (18:04 +0200)]
Fix [-Wundef] warning in Tidy extension
George Peter Banyard [Sat, 16 May 2020 14:01:40 +0000 (16:01 +0200)]
Fix [-Wundef] warning in Sysvmsg extension
George Peter Banyard [Sat, 16 May 2020 13:55:24 +0000 (15:55 +0200)]
Fix [-Wundef] warning in Sysvsem extension
George Peter Banyard [Sat, 16 May 2020 13:53:28 +0000 (15:53 +0200)]
Fix [-Wundef] warning in Sysvshm extension
George Peter Banyard [Fri, 15 May 2020 22:30:38 +0000 (00:30 +0200)]
Fix [-Wundef] warnings in LDAP extension
George Peter Banyard [Tue, 5 May 2020 17:56:43 +0000 (19:56 +0200)]
Adjust bogus checks in FPM as HAVE_FPM_LQ is always defined
Drop checks for FPM status as per review
Closes GH-5530
George Peter Banyard [Fri, 15 May 2020 22:32:37 +0000 (00:32 +0200)]
Fix [-Wundef] warnings in libxml extension
George Peter Banyard [Tue, 12 May 2020 15:59:17 +0000 (17:59 +0200)]
Fix [-Wundef] warning in MBString extension
George Peter Banyard [Tue, 12 May 2020 21:29:04 +0000 (23:29 +0200)]
Fix [-Wundef] warning in IMAP extension
George Peter Banyard [Tue, 12 May 2020 21:19:30 +0000 (23:19 +0200)]
Fix [-Wundef] warning in GetText extension
George Peter Banyard [Tue, 12 May 2020 16:02:35 +0000 (18:02 +0200)]
Fix [-Wundef] warning in FTP extension
George Peter Banyard [Tue, 12 May 2020 21:04:56 +0000 (23:04 +0200)]
Fix [-Wundef] warning in Filter extension
George Peter Banyard [Tue, 12 May 2020 20:58:49 +0000 (22:58 +0200)]
Fix [-Wundef] warning in EXIF extension
George Peter Banyard [Tue, 12 May 2020 20:54:43 +0000 (22:54 +0200)]
Fix [-Wundef] warning in DOM extension
George Peter Banyard [Tue, 12 May 2020 20:36:08 +0000 (22:36 +0200)]
Fix [-Wundef] warning in cURL extension
George Peter Banyard [Tue, 12 May 2020 20:29:51 +0000 (22:29 +0200)]
Fix [-Wundef] warning in CType extension
George Peter Banyard [Tue, 12 May 2020 15:55:35 +0000 (17:55 +0200)]
Fix [-Wundef] warning in BZip2 extension
George Peter Banyard [Tue, 12 May 2020 20:24:01 +0000 (22:24 +0200)]
Fix [-Wundef] warning in BCMath extension
George Peter Banyard [Fri, 15 May 2020 22:40:37 +0000 (00:40 +0200)]
Drop check for HAVE_NSLDAP
This constant is never defined thus useless
George Peter Banyard [Mon, 11 May 2020 16:42:46 +0000 (18:42 +0200)]
Use ZEND_FCI_INITIALIZED macro
Instead of manually checking that the fci.size is different than 0
Nikita Popov [Fri, 15 May 2020 09:05:00 +0000 (11:05 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed bug #79600
Nikita Popov [Fri, 15 May 2020 09:03:05 +0000 (11:03 +0200)]
Fixed bug #79600
Missed unsetting of DO_INIT in one case.
Nikita Popov [Fri, 15 May 2020 08:13:38 +0000 (10:13 +0200)]
Remove some uses of zend_inline_hash_func
There's no need to force-inline the hashing for all of these.
Dmitry Stogov [Fri, 15 May 2020 07:44:14 +0000 (10:44 +0300)]
Merge branch 'master' of git.php.net:php-src
* 'master' of git.php.net:php-src:
fixed typo of bug id (#79599)
master doesn't been affected since we are not passing errcontext now
Fixed bug #97599 (coredump in set_error_handler)
Fix #79557: extension_dir = ./ext now use current directory for base
Fix #79596: MySQL FLOAT truncates to int some locales
[ci skip] Fix NEWS
Xinchen Hui [Fri, 15 May 2020 07:44:02 +0000 (15:44 +0800)]
Merge branch 'PHP-7.4'
* PHP-7.4:
fixed typo of bug id (#79599)
Xinchen Hui [Fri, 15 May 2020 07:43:38 +0000 (15:43 +0800)]
fixed typo of bug id (#79599)
Xinchen Hui [Fri, 15 May 2020 07:40:53 +0000 (15:40 +0800)]
master doesn't been affected since we are not passing errcontext now
Xinchen Hui [Fri, 15 May 2020 07:40:43 +0000 (15:40 +0800)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fixed bug #97599 (coredump in set_error_handler)
Conflicts:
Zend/zend.c
Xinchen Hui [Fri, 15 May 2020 07:36:51 +0000 (15:36 +0800)]
Merge branch 'PHP-7.4' of git.php.net:/php-src into PHP-7.4
* 'PHP-7.4' of git.php.net:/php-src:
Fix #79557: extension_dir = ./ext now use current directory for base
Fix #79596: MySQL FLOAT truncates to int some locales
[ci skip] Fix NEWS
Xinchen Hui [Fri, 15 May 2020 07:36:00 +0000 (15:36 +0800)]
Fixed bug #97599 (coredump in set_error_handler)
Christoph M. Becker [Fri, 15 May 2020 07:24:07 +0000 (09:24 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #79557: extension_dir = ./ext now use current directory for base
Christoph M. Becker [Mon, 4 May 2020 12:55:24 +0000 (14:55 +0200)]
Fix #79557: extension_dir = ./ext now use current directory for base
For some reason, `ImageLoad()` fails to load images with a relative
path starting with `.\` or `./`. We work around this issue by
stripping those leading characters.
Christoph M. Becker [Fri, 15 May 2020 07:12:56 +0000 (09:12 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #79596: MySQL FLOAT truncates to int some locales
Christoph M. Becker [Fri, 15 May 2020 07:11:19 +0000 (09:11 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #79596: MySQL FLOAT truncates to int some locales
Christoph M. Becker [Fri, 15 May 2020 07:09:41 +0000 (09:09 +0200)]
Fix #79596: MySQL FLOAT truncates to int some locales
We must not do locale aware float to string conversion here; instead
we using our `snprintf()` implementation with the `F` specifier.
Christoph M. Becker [Fri, 15 May 2020 06:59:55 +0000 (08:59 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
[ci skip] Fix NEWS
Christoph M. Becker [Fri, 15 May 2020 06:53:58 +0000 (08:53 +0200)]
[ci skip] Fix NEWS
We add the missing release dates, the NEWS regarding the latest CVE
fixes, and move the entry for bug #79536 to 7.4.7 because it didn't
make it into 7.4.6.
Dmitry Stogov [Thu, 14 May 2020 22:06:47 +0000 (01:06 +0300)]
Added HALT symbol
Christoph M. Becker [Thu, 14 May 2020 15:55:31 +0000 (17:55 +0200)]
Remove unused variable
Máté Kocsis [Fri, 24 Apr 2020 08:58:10 +0000 (10:58 +0200)]
Improve error message for deprecated methods
Bob Weinand [Thu, 14 May 2020 14:59:54 +0000 (16:59 +0200)]
Remove generated zend_jit_x86.c upon make distclean
Christoph M. Becker [Thu, 14 May 2020 13:59:34 +0000 (15:59 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Check compatibility with proper runtime DLL
Christoph M. Becker [Thu, 14 May 2020 13:39:00 +0000 (15:39 +0200)]
Check compatibility with proper runtime DLL
In practise, this likely does not matter, because usually these DLLs
are installed side by side, but still we should check the proper DLL.
Nikita Popov [Thu, 14 May 2020 12:16:22 +0000 (14:16 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Canonicalize bison error during ini parsing
Nikita Popov [Thu, 14 May 2020 10:54:20 +0000 (12:54 +0200)]
Canonicalize bison error during ini parsing
Bison 3.6 seems to use "end of file" rather than "$end" for this.
Force the same on older bison versions to be consistent.
Máté Kocsis [Thu, 14 May 2020 11:31:52 +0000 (13:31 +0200)]
Add stubs for some SAPIs
For apache2handler, fpm, litespeed, phpdbg, specifically.
Partially implements GH-5295
Dmitry Stogov [Thu, 14 May 2020 11:21:46 +0000 (14:21 +0300)]
Tracing JIT support for delayed call chain
Máté Kocsis [Fri, 8 May 2020 15:18:39 +0000 (17:18 +0200)]
Convert resource to object in Sysvmsg
Closes GH-5546
Nikita Popov [Thu, 14 May 2020 08:35:33 +0000 (10:35 +0200)]
Avoid duplicating the proc_open cleanup logic
Use a slightly ugly "goto unreachable" pattern to share this code,
so we don't have to duplicate cleanup logic for the success and
the failure cases.