]>
granicus.if.org Git - php/log
Nikita Popov [Fri, 30 Aug 2019 09:02:40 +0000 (11:02 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 09:01:32 +0000 (11:01 +0200)]
Avoid accessing undefined index in CLI server test
Nikita Popov [Fri, 30 Aug 2019 08:59:58 +0000 (10:59 +0200)]
Don't call Reflection::export() in --rf etc implementation
This method is deprecated ... instead simply directly print the
object.
Nikita Popov [Fri, 30 Aug 2019 08:46:42 +0000 (10:46 +0200)]
Disable symfony build on master
Nikita Popov [Fri, 30 Aug 2019 08:35:41 +0000 (10:35 +0200)]
Fix closure extra args freeing for JIT as well
Nikita Popov [Fri, 30 Aug 2019 08:33:12 +0000 (10:33 +0200)]
Merge branch 'PHP-7.4'
Fabien Villepinte [Tue, 27 Aug 2019 10:50:26 +0000 (12:50 +0200)]
Modernize some connectors in tests to remove env key duplication
Nikita Popov [Fri, 30 Aug 2019 08:07:25 +0000 (10:07 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 27 Aug 2019 18:54:50 +0000 (20:54 +0200)]
Add job for community projects
Run some open-source projects through an aggressive debug
configuration with asan and ubsan. We don't care about test results,
only check that we don't assert or crash.
Currently testing laravel, symfony and amp.
George Peter Banyard [Wed, 28 Aug 2019 23:35:29 +0000 (01:35 +0200)]
Move and fix scandir related bug test
George Peter Banyard [Wed, 28 Aug 2019 23:14:17 +0000 (01:14 +0200)]
Promote warnings to errors in dir stdlib extension
Peter Kokot [Fri, 30 Aug 2019 02:32:30 +0000 (04:32 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Update NEWS
Fix #78460: PEAR installation failure
Peter Kokot [Fri, 30 Aug 2019 02:32:05 +0000 (04:32 +0200)]
Update NEWS
Peter Kokot [Wed, 28 Aug 2019 15:21:46 +0000 (17:21 +0200)]
Fix #78460: PEAR installation failure
When building PHP outside of the source tree:
mkdir custom-build-dir
cd custom-build-dir
../path/to/php-src/configure
The directories need to be manually created including the pear directory
so the pear installation PHAR file doesn't need to be downloaded from
the remote location.
Closes GH-4639
George Peter Banyard [Wed, 28 Aug 2019 21:57:51 +0000 (23:57 +0200)]
Promote warnings to errors in assert_options()
George Peter Banyard [Wed, 28 Aug 2019 23:30:13 +0000 (01:30 +0200)]
Promote Directory handler warning to error
Nikita Popov [Thu, 29 Aug 2019 17:07:59 +0000 (19:07 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 29 Aug 2019 16:01:34 +0000 (18:01 +0200)]
Fix potentially uninitialized use in ldap
If ctrl->ldctl_value.bv_len is zero context is uninitialized. Only
free it if the call took place and succeeded.
Mark [Mon, 26 Aug 2019 22:44:20 +0000 (23:44 +0100)]
Warnings to Errors hash_equals
Mark [Mon, 26 Aug 2019 22:31:28 +0000 (23:31 +0100)]
Errorfy hash_pbkdf2
Mark [Mon, 26 Aug 2019 22:20:49 +0000 (23:20 +0100)]
Warnings become errors for hash_hkdf
Mark [Mon, 26 Aug 2019 22:02:57 +0000 (23:02 +0100)]
Warnings become errors hash stream functions (other than hash_init)
Mark [Mon, 26 Aug 2019 21:52:45 +0000 (22:52 +0100)]
Warnings become errors hash_init
Mark [Mon, 26 Aug 2019 21:34:50 +0000 (22:34 +0100)]
Warnings become errors hash_hmac hash_hmac_file
George Peter Banyard [Wed, 21 Aug 2019 00:57:33 +0000 (02:57 +0200)]
Promote warnings to errors in array_walk(_recursive)()
George Peter Banyard [Wed, 21 Aug 2019 00:43:24 +0000 (02:43 +0200)]
Promote warnings to errors in compact()
George Peter Banyard [Wed, 21 Aug 2019 00:36:20 +0000 (02:36 +0200)]
Promote warnings to errors in array_merge(_recursive)() and array_replace()
Nikita Popov [Thu, 29 Aug 2019 12:47:30 +0000 (14:47 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 29 Aug 2019 12:33:31 +0000 (14:33 +0200)]
Addref static vars when not copying private method
While we don't need to give this method separate static vars, we
do still need to perform an addref, as there will be a corresponding
delref in the dtor.
Nikita Popov [Thu, 29 Aug 2019 10:58:22 +0000 (12:58 +0200)]
Use explicit unaligned type in md5 implementation
Nikita Popov [Thu, 29 Aug 2019 10:34:31 +0000 (12:34 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Thu, 29 Aug 2019 10:34:07 +0000 (12:34 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 29 Aug 2019 10:32:23 +0000 (12:32 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Thu, 29 Aug 2019 10:30:39 +0000 (12:30 +0200)]
Fix use-after-free of immediately invoked closure with extra args
George Peter Banyard [Wed, 21 Aug 2019 00:52:20 +0000 (02:52 +0200)]
Promote warnings to errors in extract()
Christoph M. Becker [Wed, 28 Aug 2019 16:44:57 +0000 (18:44 +0200)]
Don't explicitly set return value on ZFR failure in ext/odbc
Failing `zend_fetch_resource(2)` throws as of PHP 8.0.0, so explicitly
setting a return value is useless, and also slightly confusing.
Nikita Popov [Wed, 28 Aug 2019 16:18:25 +0000 (18:18 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 28 Aug 2019 15:39:39 +0000 (17:39 +0200)]
Set opcache.protect_memory=1 on Azure
Christoph M. Becker [Wed, 28 Aug 2019 16:10:33 +0000 (18:10 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78473: odbc_close() closes arbitrary resources
Christoph M. Becker [Wed, 28 Aug 2019 15:58:13 +0000 (17:58 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Fix #78473: odbc_close() closes arbitrary resources
Christoph M. Becker [Wed, 28 Aug 2019 15:56:23 +0000 (17:56 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Fix #78473: odbc_close() closes arbitrary resources
Christoph M. Becker [Wed, 28 Aug 2019 15:51:57 +0000 (17:51 +0200)]
Fix #78473: odbc_close() closes arbitrary resources
We have to bail out, if an invalid resource is given. For consistency
with the other `zend_fetch_resource(2)` calls, we return `FALSE`.
Nikita Popov [Wed, 28 Aug 2019 15:36:31 +0000 (17:36 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 28 Aug 2019 15:31:52 +0000 (17:31 +0200)]
Add missed mutability check
Christoph M. Becker [Wed, 28 Aug 2019 14:07:47 +0000 (16:07 +0200)]
Add ext/odbc stubs
Nikita Popov [Wed, 28 Aug 2019 15:04:55 +0000 (17:04 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 28 Aug 2019 13:35:53 +0000 (15:35 +0200)]
Remove delref in free_object_storage
This gives us better object leak diagnostics.
Nikita Popov [Wed, 28 Aug 2019 13:33:51 +0000 (15:33 +0200)]
Destroy error handlers before final GC run
Christoph M. Becker [Wed, 28 Aug 2019 14:43:43 +0000 (16:43 +0200)]
Fix test regarding ZPP TypeErrors
We simply remove the second call to `odbc_data_source` since it is
testing standard ZPP behavior.
Nikita Popov [Wed, 28 Aug 2019 10:32:22 +0000 (12:32 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Wed, 28 Aug 2019 10:15:28 +0000 (12:15 +0200)]
Fixed bug #78335
Destroy static properties and variables prior to the final GC run,
as they may hold GC roots.
Nikita Popov [Wed, 28 Aug 2019 07:32:18 +0000 (09:32 +0200)]
Compute needle end only after checking it's non-empty
Stanislav Malyshev [Wed, 28 Aug 2019 07:12:08 +0000 (00:12 -0700)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Upgrade oniguruma lib to 6.9.3
Stanislav Malyshev [Wed, 28 Aug 2019 07:11:50 +0000 (00:11 -0700)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Upgrade oniguruma lib to 6.9.3
Stanislav Malyshev [Wed, 28 Aug 2019 06:28:33 +0000 (23:28 -0700)]
Upgrade oniguruma lib to 6.9.3
George Peter Banyard [Tue, 20 Aug 2019 23:11:44 +0000 (01:11 +0200)]
Promote warnings to errors in max()
George Peter Banyard [Tue, 20 Aug 2019 23:08:59 +0000 (01:08 +0200)]
Promote warnings to errors in min()
Nikita Popov [Tue, 27 Aug 2019 20:01:59 +0000 (22:01 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 27 Aug 2019 19:59:56 +0000 (21:59 +0200)]
Don't specify precedence for T_INC/T_DEC
As these do not operate on expressions, precedence is meaningless
for them.
Nikita Popov [Tue, 27 Aug 2019 15:25:19 +0000 (17:25 +0200)]
Some pcntl cleanup
Fix some indentation issues and make sure zpp is used consistently.
Nikita Popov [Tue, 27 Aug 2019 15:03:29 +0000 (17:03 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Tue, 27 Aug 2019 09:36:58 +0000 (11:36 +0200)]
Add --with-pear to Travis build
Christoph M. Becker [Tue, 27 Aug 2019 13:54:18 +0000 (15:54 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
add ffi to php.ini extension [ci skip]
Pavel Dyakonov [Tue, 27 Aug 2019 13:06:56 +0000 (16:06 +0300)]
add ffi to php.ini extension [ci skip]
Anatol Belski [Tue, 27 Aug 2019 12:35:06 +0000 (14:35 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix signature and calls
Anatol Belski [Tue, 27 Aug 2019 12:34:14 +0000 (14:34 +0200)]
Fix signature and calls
Christoph M. Becker [Tue, 27 Aug 2019 11:36:41 +0000 (13:36 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Update SDK version for AppVeyor
Christoph M. Becker [Tue, 27 Aug 2019 11:36:09 +0000 (13:36 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
Update SDK version for AppVeyor
Christoph M. Becker [Tue, 27 Aug 2019 11:35:05 +0000 (13:35 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2:
Update SDK version for AppVeyor
Christoph M. Becker [Tue, 27 Aug 2019 11:34:35 +0000 (13:34 +0200)]
Update SDK version for AppVeyor
Nikita Popov [Tue, 27 Aug 2019 07:37:48 +0000 (09:37 +0200)]
Throw TypeError from VM implementation of get_class()
The normal function already throws TypeError through the usual zpp
mechanism, but the VM implementation handles this manually and has
not been updated.
Nikita Popov [Tue, 27 Aug 2019 07:12:22 +0000 (09:12 +0200)]
Add skipifs for zmm
Nikita Popov [Tue, 27 Aug 2019 07:09:03 +0000 (09:09 +0200)]
Fix chunk_split test on i386 release
Jakub Zelenka [Mon, 26 Aug 2019 17:12:35 +0000 (18:12 +0100)]
Merge branch 'PHP-7.4'
Jakub Zelenka [Mon, 26 Aug 2019 17:11:04 +0000 (18:11 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4
Tsuyoshi Sadakata [Thu, 25 Jul 2019 14:22:45 +0000 (23:22 +0900)]
Fix bug #78334 (fpm log prefix message includes wrong stdout/stderr notation)
Craig Duncan [Mon, 26 Aug 2019 15:21:38 +0000 (17:21 +0200)]
Convert fileinfo functions arginfo to php stubs
We also allow the context for finfo to be null.
Nikita Popov [Mon, 26 Aug 2019 15:54:00 +0000 (17:54 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 26 Aug 2019 15:52:56 +0000 (17:52 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 26 Aug 2019 15:50:46 +0000 (17:50 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 26 Aug 2019 15:48:05 +0000 (17:48 +0200)]
Remove properties HT from nested GC data
The properties HT may be a GC root itself, so we need to remove it.
I'm not sure this issue actually applies to PHP 7.2, but committing
it there to be safe. As seen from the test case, the handling here
is rather buggy on 7.2.
Craig Duncan [Thu, 15 Aug 2019 19:47:15 +0000 (21:47 +0200)]
Convert exif functions arginfo to php stubs
We also allow sections needed to be null.
George Peter Banyard [Fri, 23 Aug 2019 23:52:17 +0000 (01:52 +0200)]
Remove memory exhaustion checks in php_chunk_split()
George Peter Banyard [Sun, 18 Aug 2019 13:33:10 +0000 (15:33 +0200)]
Improve strpos and strstr function family implementation
Nikita Popov [Mon, 26 Aug 2019 14:12:47 +0000 (16:12 +0200)]
Merge branch 'PHP-7.4'
Nikita Popov [Mon, 26 Aug 2019 14:10:29 +0000 (16:10 +0200)]
Don't use needs_live_range hook for "special" live ranges
In particular we were disgarding SILENCE live ranges in opcache,
because we decided that a MAY_BE_LONG type does not need a live
range.
Christoph M. Becker [Mon, 26 Aug 2019 14:03:24 +0000 (16:03 +0200)]
Add ext\opcache stubs
Burak Çakırel [Sun, 25 Aug 2019 20:07:16 +0000 (23:07 +0300)]
Add assert arginfo stubs
Closes GH-4619.
Nikita Popov [Mon, 26 Aug 2019 13:39:39 +0000 (15:39 +0200)]
Make arginfo printing of prefer-ref arguments nicer
Christoph M. Becker [Mon, 26 Aug 2019 13:22:33 +0000 (15:22 +0200)]
Add ext/ffi stubs
Nikita Popov [Mon, 26 Aug 2019 12:34:28 +0000 (14:34 +0200)]
Make sure that params with null default are marked nullable
Nikita Popov [Mon, 26 Aug 2019 12:24:31 +0000 (14:24 +0200)]
Assert that symbol table is available in compact()
I believe NULL here is no longer possible due to the dynamic call
check. A similar assumption already exists in the extract()
implementation.
Christoph M. Becker [Mon, 26 Aug 2019 12:06:08 +0000 (14:06 +0200)]
Merge branch 'PHP-7.4'
* PHP-7.4:
Replace deprecated libzip functions
Christoph M. Becker [Mon, 26 Aug 2019 10:37:29 +0000 (12:37 +0200)]
Replace deprecated libzip functions
We replace all deprecated libzip functions with their recommended
substitutes, and add proper comment length checks including a test
case.
George Peter Banyard [Tue, 20 Aug 2019 23:20:53 +0000 (01:20 +0200)]
Promote warnings to errors in array_rand()
Nikita Popov [Mon, 26 Aug 2019 11:14:53 +0000 (13:14 +0200)]
Avoid duplicate "non well-formed" warning
The arginfo checking code for internal functions should not generate
this warning, as it will be thrown by zpp.
Theodore Brown [Mon, 26 Aug 2019 10:52:27 +0000 (12:52 +0200)]
Convert remaining array function arginfo to PHP stubs
viest [Sat, 3 Aug 2019 15:05:56 +0000 (23:05 +0800)]
Remove deprecated getaddrinfo flags
The AI_IDN_ALLOW_UNASSIGNED and AI_IDN_USE_STD3_ASCII_RULES have
been deprecated by glibcs, and PHP 7.4 follows this deprecation.
This removes the offending flags for PHP 8.0.
George Peter Banyard [Thu, 22 Aug 2019 10:09:55 +0000 (12:09 +0200)]
Promote warnings to errors in explode()
Nikita Popov [Mon, 26 Aug 2019 09:33:38 +0000 (11:33 +0200)]
Merge branch 'PHP-7.4'