]> granicus.if.org Git - php/log
php
5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 3 Sep 2019 11:59:59 +0000 (13:59 +0200)]
Merge branch 'PHP-7.4'

5 years agoReport false for inherited private methods in method_exists()
Nikita Popov [Tue, 3 Sep 2019 11:14:33 +0000 (13:14 +0200)]
Report false for inherited private methods in method_exists()

These shadow methods only exist as internal implementation markers.
This mirrors the behavior of property_exists().

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 3 Sep 2019 11:33:52 +0000 (13:33 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #41997: SP call yields additional empty result set

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 3 Sep 2019 11:32:40 +0000 (13:32 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #41997: SP call yields additional empty result set

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 3 Sep 2019 11:30:05 +0000 (13:30 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #41997: SP call yields additional empty result set

5 years agoFix #41997: SP call yields additional empty result set
Christoph M. Becker [Tue, 6 Aug 2019 12:30:41 +0000 (14:30 +0200)]
Fix #41997: SP call yields additional empty result set

When stored procedures are called, the "final result set is a status
result that includes no result set".  Calling `::nextRowset()` on the
actual last result set should return FALSE, since there is actually no
further result set to be processed.

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 3 Sep 2019 11:23:44 +0000 (14:23 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Execute preload script under user defined by opcache.preload_user directive

5 years agoExecute preload script under user defined by opcache.preload_user directive
Dmitry Stogov [Tue, 3 Sep 2019 11:23:13 +0000 (14:23 +0300)]
Execute preload script under user defined by opcache.preload_user directive

5 years agoDon't explicitly set return value on ZPP failure in ext/xml
Christoph M. Becker [Tue, 3 Sep 2019 11:11:08 +0000 (13:11 +0200)]
Don't explicitly set return value on ZPP failure in ext/xml

Failing ZPP throws as of PHP 8.0.0, so explicitly setting a return
value is useless, and also slightly confusing.

5 years agoAdd ext/xml stubs
Christoph M. Becker [Tue, 3 Sep 2019 11:04:37 +0000 (13:04 +0200)]
Add ext/xml stubs

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 3 Sep 2019 10:28:35 +0000 (12:28 +0200)]
Merge branch 'PHP-7.4'

5 years agoAvoid pointer UB in strip_header
Nikita Popov [Tue, 3 Sep 2019 10:01:56 +0000 (12:01 +0200)]
Avoid pointer UB in strip_header

Don't calculate header_start if lc_header_start is NULL, as we're
going to overflow the address space in that case.

5 years agoUse unsigned subtraction in php_random_int()
Nikita Popov [Tue, 3 Sep 2019 09:05:47 +0000 (11:05 +0200)]
Use unsigned subtraction in php_random_int()

This subtraction may overflow the signed domain, which is UB. Use
an unsigned subtraction instead.

5 years agoDon't perform coercions in internal func return type assertion
Nikita Popov [Tue, 3 Sep 2019 10:16:04 +0000 (12:16 +0200)]
Don't perform coercions in internal func return type assertion

The returned value must match the specified type exactly, as we
can't perform any coercions in non-debug builds.

Fix incorrect stub for easter_date() that slipped through the
assertion for this reason...

5 years agoFix gen_stubs with out-of-tree build
Nikita Popov [Tue, 3 Sep 2019 09:38:02 +0000 (11:38 +0200)]
Fix gen_stubs with out-of-tree build

We need to prefix with $(top_srcdir).

5 years agoSupport computing func info from ret arg info for internal funcs
Nikita Popov [Tue, 3 Sep 2019 08:32:47 +0000 (10:32 +0200)]
Support computing func info from ret arg info for internal funcs

5 years agoRemove duplicate func info for array_key_first/last
Nikita Popov [Tue, 3 Sep 2019 08:31:39 +0000 (10:31 +0200)]
Remove duplicate func info for array_key_first/last

Looks like this was already added in master separately...

5 years agoMerge branch 'PHP-7.4' of git://github.com/php/php-src into PHP-7.4
Derick Rethans [Tue, 3 Sep 2019 08:11:00 +0000 (09:11 +0100)]
Merge branch 'PHP-7.4' of git://github.com/php/php-src into PHP-7.4

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 3 Sep 2019 07:58:29 +0000 (09:58 +0200)]
Merge branch 'PHP-7.4'

5 years agoAdd missing opcache return info for ext/standard.
Tyson Andre [Tue, 3 Sep 2019 02:14:11 +0000 (22:14 -0400)]
Add missing opcache return info for ext/standard.

array_key_first/last returns null for invalid args,
wrong argument counts, and empty arrays.

random_bytes returns a string or throws.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 3 Sep 2019 07:53:51 +0000 (09:53 +0200)]
Merge branch 'PHP-7.4'

5 years agoAdd new missing functions from ext/hash
Tyson Andre [Tue, 3 Sep 2019 02:14:11 +0000 (22:14 -0400)]
Add new missing functions from ext/hash

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 3 Sep 2019 07:50:23 +0000 (09:50 +0200)]
Merge branch 'PHP-7.4'

5 years agoAdd zpp check to spl_classes()
Nikita Popov [Tue, 3 Sep 2019 07:50:08 +0000 (09:50 +0200)]
Add zpp check to spl_classes()

5 years agoUpdate NEWS for 7.4.0RC2
Derick Rethans [Tue, 3 Sep 2019 07:46:16 +0000 (07:46 +0000)]
Update NEWS for 7.4.0RC2

5 years agoUpdate NEWS for PHP 7.4.0RC1
Derick Rethans [Tue, 3 Sep 2019 07:44:58 +0000 (07:44 +0000)]
Update NEWS for PHP 7.4.0RC1

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 3 Sep 2019 07:44:09 +0000 (09:44 +0200)]
Merge branch 'PHP-7.4'

5 years agoClarify failure behavior of spl_iterator_apply()
Nikita Popov [Tue, 3 Sep 2019 07:43:22 +0000 (09:43 +0200)]
Clarify failure behavior of spl_iterator_apply()

It only fails if it throws, in which case it is meaningless to
set a return value.

5 years agoFix opcache optimizer info for time_nanosleep (again)
Tyson Andre [Tue, 3 Sep 2019 01:45:57 +0000 (21:45 -0400)]
Fix opcache optimizer info for time_nanosleep (again)

Fixes my earlier PR #4617

If I remember correctly,
The F0 macro is used for return values that are guaranteed to not be
reference counted.
The F1 macro is used for return values that may have up to 1 reference
(i.e. MAY_BE_RC1).

I didn't notice that time_nanosleep needed to be F1 since it could
return an array, and that array is reference counted.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 3 Sep 2019 07:28:48 +0000 (09:28 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Add missing argument checks

5 years agoAdd missing argument checks
Christoph M. Becker [Tue, 3 Sep 2019 07:25:21 +0000 (09:25 +0200)]
Add missing argument checks

These functions don't expect any arguments, so we check that none are
given.

5 years agophp_stream_from_zval can no longer return false
Nikita Popov [Tue, 3 Sep 2019 07:25:50 +0000 (09:25 +0200)]
php_stream_from_zval can no longer return false

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 3 Sep 2019 07:24:20 +0000 (09:24 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 3 Sep 2019 07:24:05 +0000 (09:24 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 3 Sep 2019 07:23:55 +0000 (09:23 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFix opcache return type for hash_update_stream
Tyson Andre [Tue, 3 Sep 2019 01:32:24 +0000 (21:32 -0400)]
Fix opcache return type for hash_update_stream

It can return false if the resource type is wrong.

```
php > var_export(hash_update_stream(hash_init('md5'),
        imagecreate(1,1)));

Warning: hash_update_stream(): supplied resource is not a valid stream
resource in php shell code on line 1
false
```

The return types were initially added in
c88ffa9a5673cb3141660626ba1921671f0b84d6

5 years agoDon't explicitly set return value on ZFR failure in ext/xmlwriter
Christoph M. Becker [Tue, 3 Sep 2019 07:15:41 +0000 (09:15 +0200)]
Don't explicitly set return value on ZFR failure in ext/xmlwriter

Failing `zend_fetch_resource(2)` throws as of PHP 8.0.0, so explicitly
setting a return value is useless, and also slightly confusing.

5 years agoAdd ext/xmlwriter stubs
Christoph M. Becker [Tue, 3 Sep 2019 07:09:57 +0000 (09:09 +0200)]
Add ext/xmlwriter stubs

5 years agoFixed pow() function info
Dmitry Stogov [Mon, 2 Sep 2019 18:44:10 +0000 (21:44 +0300)]
Fixed pow() function info

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 2 Sep 2019 16:03:45 +0000 (19:03 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update PHP_API_VERSION

5 years agoUpdate PHP_API_VERSION
Dmitry Stogov [Mon, 2 Sep 2019 16:02:40 +0000 (19:02 +0300)]
Update PHP_API_VERSION

5 years agoMake ReflectionType an abstract class
Nikita Popov [Mon, 2 Sep 2019 13:38:17 +0000 (15:38 +0200)]
Make ReflectionType an abstract class

This is never instantiated directly, only child classes are used.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Mon, 2 Sep 2019 13:22:19 +0000 (15:22 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update NEWS

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 2 Sep 2019 13:21:49 +0000 (15:21 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update NEWS

5 years agoUpdate NEWS
Christoph M. Becker [Mon, 2 Sep 2019 13:21:20 +0000 (15:21 +0200)]
Update NEWS

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Mon, 2 Sep 2019 13:07:48 +0000 (15:07 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #76577: outdated documentation concerning track_errors

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 2 Sep 2019 13:06:45 +0000 (15:06 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #76577: outdated documentation concerning track_errors

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Mon, 2 Sep 2019 13:05:57 +0000 (15:05 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #76577: outdated documentation concerning track_errors

5 years agoFix #76577: outdated documentation concerning track_errors
Christoph M. Becker [Mon, 2 Sep 2019 13:05:01 +0000 (15:05 +0200)]
Fix #76577: outdated documentation concerning track_errors

5 years agoMove isBuiltin() method from ReflectionType to ReflectionNamedType
Nikita Popov [Mon, 2 Sep 2019 12:55:04 +0000 (14:55 +0200)]
Move isBuiltin() method from ReflectionType to ReflectionNamedType

This method only makes sense for single types, e.g. it would be
meaningless for union types.

Note that we always return ReflectionNamedType right now, so this does
not break compatibility for code using any currently existing types.

5 years agoAdd arg type assertions to DO_ICALL
Nikita Popov [Mon, 2 Sep 2019 12:30:51 +0000 (14:30 +0200)]
Add arg type assertions to DO_ICALL

Now that DO_ICALL is also used for functions with type hints, we
should include the arginfo sanity check assertions in there as
well.

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 2 Sep 2019 11:20:01 +0000 (14:20 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Free two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO and ZEND_ACC_DONE_PASS_TWO/ZEND_ACC_ARENA_ALLOCATED that may be used only for user/internal functions

5 years agoFree two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO...
Dmitry Stogov [Mon, 2 Sep 2019 11:05:28 +0000 (14:05 +0300)]
Free two bits in fn_flags by merging ZEND_ACC_HEAP_RT_CACHE/ZEND_ACC_USER_ARG_INFO and ZEND_ACC_DONE_PASS_TWO/ZEND_ACC_ARENA_ALLOCATED that may be used only for user/internal functions

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Mon, 2 Sep 2019 09:50:40 +0000 (12:50 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed information about unused flags

5 years agoFixed information about unused flags
Dmitry Stogov [Mon, 2 Sep 2019 09:50:05 +0000 (12:50 +0300)]
Fixed information about unused flags

5 years agoFixed performance degradation caused by arg_info of internal function
Dmitry Stogov [Mon, 2 Sep 2019 09:11:18 +0000 (12:11 +0300)]
Fixed performance degradation caused by arg_info of internal function

5 years agoFix typo in type
Nikita Popov [Mon, 2 Sep 2019 08:55:51 +0000 (10:55 +0200)]
Fix typo in type

5 years agoMake error_reporting=E_ALL the default
Nikita Popov [Fri, 30 Aug 2019 08:31:32 +0000 (10:31 +0200)]
Make error_reporting=E_ALL the default

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 2 Sep 2019 07:37:41 +0000 (09:37 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 2 Sep 2019 07:37:26 +0000 (09:37 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 2 Sep 2019 07:36:58 +0000 (09:36 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFix pkg-config version constraint for ICU
Nikita Popov [Mon, 2 Sep 2019 07:36:20 +0000 (09:36 +0200)]
Fix pkg-config version constraint for ICU

On PHP 7.2 our minimum ICU version is 4.0, not 40.

5 years agoPromote warnings to errors in substr_count()
George Peter Banyard [Thu, 22 Aug 2019 10:27:06 +0000 (12:27 +0200)]
Promote warnings to errors in substr_count()

5 years agoPromote warnings to errors in substr_compare()
George Peter Banyard [Thu, 22 Aug 2019 09:48:21 +0000 (11:48 +0200)]
Promote warnings to errors in substr_compare()

5 years agoMerge branch 'PHP-7.4'
George Peter Banyard [Sat, 31 Aug 2019 21:17:21 +0000 (23:17 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Drop E_STRICT notice in mysqli extension

5 years agoDrop E_STRICT notice in mysqli extension
George Peter Banyard [Sun, 14 Jul 2019 19:31:21 +0000 (21:31 +0200)]
Drop E_STRICT notice in mysqli extension

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 15:25:27 +0000 (17:25 +0200)]
Merge branch 'PHP-7.4'

5 years agoReenable alloca support on ZTS
Nikita Popov [Fri, 30 Aug 2019 15:24:06 +0000 (17:24 +0200)]
Reenable alloca support on ZTS

This got disabled due to an incorrect change in a preprocessor condition
in 2104bea5d756dfa40b605a4a2765a3bc4637a76c. It was not supposed to
be disabled.

5 years agoCheck zpp before other errors in SoapServer::addSoapHeader()
Nikita Popov [Fri, 30 Aug 2019 15:03:04 +0000 (17:03 +0200)]
Check zpp before other errors in SoapServer::addSoapHeader()

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 14:37:20 +0000 (16:37 +0200)]
Merge branch 'PHP-7.4'

5 years agoFix file clashes in copy tests
Nikita Popov [Fri, 30 Aug 2019 14:36:49 +0000 (16:36 +0200)]
Fix file clashes in copy tests

Create the "*" file in a sub-directory rather than the main test
directory, so that it's different for each test.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 14:10:11 +0000 (16:10 +0200)]
Merge branch 'PHP-7.4'

5 years agoRemove bogus vcwd_open
Nikita Popov [Fri, 30 Aug 2019 13:25:23 +0000 (15:25 +0200)]
Remove bogus vcwd_open

This is a left-over from the Linux version...

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 14:08:05 +0000 (16:08 +0200)]
Merge branch 'PHP-7.4'

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 30 Aug 2019 14:07:54 +0000 (16:07 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Fri, 30 Aug 2019 14:07:33 +0000 (16:07 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #78469
Sergei Turchanov [Wed, 28 Aug 2019 03:05:14 +0000 (13:05 +1000)]
Fixed bug #78469

fcgi_accept_request function is supposed to call a FastCGI implementation's
on_accept hook when entering an "accepting" stage (that is right before
calling "accept"). This hook implementation (fpm_request_accepting) updates
a worker state to an "accepting" state which is effectively an "Idle" state,
and updates counters on the scoreboard of the corresponding pool (idle++,
active--).

But this is not done when listening for client connections on a named pipe on
Windows platform. In that case a combination of
ConnectNamedPipe/WaitForSingleObject is used (to be able to catch in_shutdown
as far as I understand), but it is nonetheless functionally equivalent to
"accept" call. Also by not calling on_hook neither a worker's state is updated
to "accepting" state nor scoreboard counters are updated.

5 years agoEnable JIT on community_job
Nikita Popov [Fri, 30 Aug 2019 08:48:06 +0000 (10:48 +0200)]
Enable JIT on community_job

5 years agoJIT: Fix missing free on JMPZ_EX with op1 == res
Nikita Popov [Fri, 30 Aug 2019 12:48:01 +0000 (14:48 +0200)]
JIT: Fix missing free on JMPZ_EX with op1 == res

We need to free the operand before we overwrite it with the result.

5 years agoAdd jit_bisect_limit
Nikita Popov [Fri, 30 Aug 2019 10:47:49 +0000 (12:47 +0200)]
Add jit_bisect_limit

To help identify which function is being miscompiled.

5 years agoRemove duplicate md5/sha1 implementation
Christoph M. Becker [Thu, 22 Aug 2019 11:47:47 +0000 (13:47 +0200)]
Remove duplicate md5/sha1 implementation

This code was actually unused since its introduction, and since at
least the md5 implementation in the core was completely overhauled,
we're dropping the md5 and sha1 related stuff from ext/hash.

5 years agoFix func info for chop()
Nikita Popov [Fri, 30 Aug 2019 09:18:47 +0000 (11:18 +0200)]
Fix func info for chop()

chop() is an alias of rtrim() and may return copied strings, so
should use FN.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 09:02:40 +0000 (11:02 +0200)]
Merge branch 'PHP-7.4'

5 years agoAvoid accessing undefined index in CLI server test
Nikita Popov [Fri, 30 Aug 2019 09:01:32 +0000 (11:01 +0200)]
Avoid accessing undefined index in CLI server test

5 years agoDon't call Reflection::export() in --rf etc implementation
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.

5 years agoDisable symfony build on master
Nikita Popov [Fri, 30 Aug 2019 08:46:42 +0000 (10:46 +0200)]
Disable symfony build on master

5 years agoFix closure extra args freeing for JIT as well
Nikita Popov [Fri, 30 Aug 2019 08:35:41 +0000 (10:35 +0200)]
Fix closure extra args freeing for JIT as well

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 08:33:12 +0000 (10:33 +0200)]
Merge branch 'PHP-7.4'

5 years agoModernize some connectors in tests to remove env key duplication
Fabien Villepinte [Tue, 27 Aug 2019 10:50:26 +0000 (12:50 +0200)]
Modernize some connectors in tests to remove env key duplication

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 30 Aug 2019 08:07:25 +0000 (10:07 +0200)]
Merge branch 'PHP-7.4'

5 years agoAdd job for community projects
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.

5 years agoMove and fix scandir related bug test
George Peter Banyard [Wed, 28 Aug 2019 23:35:29 +0000 (01:35 +0200)]
Move and fix scandir related bug test

5 years agoPromote warnings to errors in dir stdlib extension
George Peter Banyard [Wed, 28 Aug 2019 23:14:17 +0000 (01:14 +0200)]
Promote warnings to errors in dir stdlib extension

5 years agoMerge branch 'PHP-7.4'
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

5 years agoUpdate NEWS
Peter Kokot [Fri, 30 Aug 2019 02:32:05 +0000 (04:32 +0200)]
Update NEWS

5 years agoFix #78460: PEAR installation failure
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

5 years agoPromote warnings to errors in assert_options()
George Peter Banyard [Wed, 28 Aug 2019 21:57:51 +0000 (23:57 +0200)]
Promote warnings to errors in assert_options()

5 years agoPromote Directory handler warning to error
George Peter Banyard [Wed, 28 Aug 2019 23:30:13 +0000 (01:30 +0200)]
Promote Directory handler warning to error

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 29 Aug 2019 17:07:59 +0000 (19:07 +0200)]
Merge branch 'PHP-7.4'

5 years agoFix potentially uninitialized use in ldap
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.