]> granicus.if.org Git - php/log
php
5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 18 Dec 2019 09:11:40 +0000 (10:11 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix freeing of dynamic call name

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 18 Dec 2019 09:11:23 +0000 (10:11 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix freeing of dynamic call name

5 years agoFix freeing of dynamic call name
Nikita Popov [Wed, 18 Dec 2019 09:10:30 +0000 (10:10 +0100)]
Fix freeing of dynamic call name

We need to free op2 if the call construction fails.

Also remove a redundant check for !call.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 18 Dec 2019 08:54:18 +0000 (09:54 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix const/cv freeing on failed reference assignment

5 years agoFix const/cv freeing on failed reference assignment
Nikita Popov [Wed, 18 Dec 2019 08:53:30 +0000 (09:53 +0100)]
Fix const/cv freeing on failed reference assignment

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 17 Dec 2019 19:01:44 +0000 (20:01 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  More updates to CONTRIBUTING.md

5 years agoMore updates to CONTRIBUTING.md
Christoph M. Becker [Tue, 17 Dec 2019 19:01:18 +0000 (20:01 +0100)]
More updates to CONTRIBUTING.md

7.4 is stable.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 17 Dec 2019 18:58:46 +0000 (19:58 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update CONTRIBUTING.md

5 years agoUpdate CONTRIBUTING.md
Christoph M. Becker [Tue, 17 Dec 2019 18:57:49 +0000 (19:57 +0100)]
Update CONTRIBUTING.md

7.1 is EOL; 7.2 is security fixes only.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 17 Dec 2019 16:53:44 +0000 (17:53 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #78976: SplFileObject::fputcsv returns -1 on failure

5 years agoFix #78976: SplFileObject::fputcsv returns -1 on failure
Christoph M. Becker [Tue, 17 Dec 2019 16:52:18 +0000 (17:52 +0100)]
Fix #78976: SplFileObject::fputcsv returns -1 on failure

`php_stream_write()` returns `-1` on failure now, which has to be
catered to by `SplFileObject::fputcsv()` which still is supposed to
return `false` on failure.

5 years agoFix leak of dynamic property name in address helper
Nikita Popov [Tue, 17 Dec 2019 15:58:10 +0000 (16:58 +0100)]
Fix leak of dynamic property name in address helper

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 17 Dec 2019 15:47:49 +0000 (16:47 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Free buffer in php_verror even if it is empty

5 years agoFree buffer in php_verror even if it is empty
Nikita Popov [Tue, 17 Dec 2019 15:44:17 +0000 (16:44 +0100)]
Free buffer in php_verror even if it is empty

vspprintf allocates a buffer even if the resulting string is empty.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 17 Dec 2019 15:28:56 +0000 (16:28 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix resetting of internal_encoding and friends

5 years agoFix resetting of internal_encoding and friends
Nikita Popov [Tue, 17 Dec 2019 15:26:42 +0000 (16:26 +0100)]
Fix resetting of internal_encoding and friends

We need to update the value even if new_value is NULL. In particular,
it should be reset back to NULL after each request if the setting was
not specified on startup. Otherwise we leave dangling pointers.

5 years agoAvoid generation of "jmp" to next instruction
Dmitry Stogov [Tue, 17 Dec 2019 12:42:02 +0000 (15:42 +0300)]
Avoid generation of "jmp" to next instruction

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 17 Dec 2019 12:26:32 +0000 (13:26 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Avoid float to int cast UB in exif

5 years agoAvoid float to int cast UB in exif
Nikita Popov [Tue, 17 Dec 2019 12:15:01 +0000 (13:15 +0100)]
Avoid float to int cast UB in exif

5 years agoMake "exception_handler_undef" stub to check EG(opline_before_exception) and undefine...
Dmitry Stogov [Tue, 17 Dec 2019 11:09:26 +0000 (14:09 +0300)]
Make "exception_handler_undef" stub to check EG(opline_before_exception) and undefine corresponnding result variable, if necessary.
This fixes few invalid "exception_handler_undef" usages.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 17 Dec 2019 09:05:40 +0000 (10:05 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update/fix NEWS [ci skip]

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 17 Dec 2019 09:05:18 +0000 (10:05 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update/fix NEWS [ci skip]

5 years agoUpdate/fix NEWS [ci skip]
Christoph M. Becker [Tue, 17 Dec 2019 08:51:30 +0000 (09:51 +0100)]
Update/fix NEWS [ci skip]

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 17 Dec 2019 09:03:13 +0000 (10:03 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Update NEWS
  [ci skip] Update  NEWS
  Fix test

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 17 Dec 2019 09:02:43 +0000 (10:02 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  [ci skip] Update NEWS
  [ci skip] Update  NEWS
  Fix test

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 17 Dec 2019 09:01:50 +0000 (10:01 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  [ci skip] Update  NEWS

5 years ago[ci skip] Update NEWS
Stanislav Malyshev [Tue, 17 Dec 2019 07:45:11 +0000 (23:45 -0800)]
[ci skip] Update NEWS

5 years ago[ci skip] Update NEWS
Stanislav Malyshev [Tue, 17 Dec 2019 07:41:04 +0000 (23:41 -0800)]
[ci skip] Update  NEWS

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 17 Dec 2019 07:13:13 +0000 (10:13 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Property names of internal classes from temporary extensins, loaded by dl(), may be emalloc-ed strings.

5 years agoProperty names of internal classes from temporary extensins, loaded by dl(), may...
Dmitry Stogov [Tue, 17 Dec 2019 07:10:11 +0000 (10:10 +0300)]
Property names of internal classes from temporary extensins, loaded by dl(), may be emalloc-ed strings.

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 17 Dec 2019 07:09:43 +0000 (10:09 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed memory leak

5 years agoFixed memory leak
Dmitry Stogov [Tue, 17 Dec 2019 07:09:22 +0000 (10:09 +0300)]
Fixed memory leak

5 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Tue, 17 Dec 2019 06:58:56 +0000 (09:58 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed memory leaks

5 years agoFixed memory leaks
Dmitry Stogov [Tue, 17 Dec 2019 06:58:27 +0000 (09:58 +0300)]
Fixed memory leaks

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 16 Dec 2019 19:23:53 +0000 (20:23 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Set opcache.optimization_level=0 in test

5 years agoSet opcache.optimization_level=0 in test
Nikita Popov [Mon, 16 Dec 2019 19:23:17 +0000 (20:23 +0100)]
Set opcache.optimization_level=0 in test

Otherwise opcache "inlines" the function, which causes a minor
difference in destruction behavior.

5 years agoFix tests
Stanislav Malyshev [Mon, 16 Dec 2019 18:59:36 +0000 (10:59 -0800)]
Fix tests

5 years agoFix test
Stanislav Malyshev [Mon, 16 Dec 2019 18:32:49 +0000 (10:32 -0800)]
Fix test

5 years agoMerge branch 'PHP-7.4'
Stanislav Malyshev [Mon, 16 Dec 2019 18:31:40 +0000 (10:31 -0800)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Test fixes

5 years agoTest fixes
Stanislav Malyshev [Mon, 16 Dec 2019 18:31:22 +0000 (10:31 -0800)]
Test fixes

5 years agoMerge branch 'PHP-7.4'
Stanislav Malyshev [Mon, 16 Dec 2019 18:07:15 +0000 (10:07 -0800)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix test
  Fix bug #78793
  Fix build - no model field anymore
  Fixed bug #78910
  Fix #78878: Buffer underflow in bc_shift_addsub
  Fix test
  Fix #78862: link() silently truncates after a null byte on Windows
  Fix #78863: DirectoryIterator class silently truncates after a null byte
  Fix #78943: mail() may release string with refcount==1 twice

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Stanislav Malyshev [Mon, 16 Dec 2019 18:05:02 +0000 (10:05 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix test
  Fix bug #78793

5 years agoMerge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4
Stanislav Malyshev [Mon, 16 Dec 2019 18:04:09 +0000 (10:04 -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:
  Remove DateTime class registration test
  Fixed bug #78973
  Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS)

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 16 Dec 2019 18:04:03 +0000 (10:04 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix test
  Fix bug #78793

5 years agoFix test
Stanislav Malyshev [Mon, 16 Dec 2019 18:03:43 +0000 (10:03 -0800)]
Fix test

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 16 Dec 2019 17:57:47 +0000 (18:57 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Remove DateTime class registration test

5 years agoRemove DateTime class registration test
Nikita Popov [Mon, 16 Dec 2019 17:57:19 +0000 (18:57 +0100)]
Remove DateTime class registration test

This test is more annoying than useful.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 16 Dec 2019 17:53:32 +0000 (18:53 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed bug #78973

5 years agoFixed bug #78973
Nikita Popov [Mon, 16 Dec 2019 17:52:30 +0000 (18:52 +0100)]
Fixed bug #78973

Save opline in leave helper to correctly handle destructor calls
during CV freeing (or other leave freeing).

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

* PHP-7.4:
  Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS)

5 years agoFixed bug #78961 (erroneous optimization of re-assigned $GLOBALS)
Dmitry Stogov [Mon, 16 Dec 2019 09:24:47 +0000 (12:24 +0300)]
Fixed bug #78961 (erroneous optimization of re-assigned $GLOBALS)

5 years agoFix bug #78793
Stanislav Malyshev [Mon, 16 Dec 2019 09:14:38 +0000 (01:14 -0800)]
Fix bug #78793

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Stanislav Malyshev [Mon, 16 Dec 2019 09:11:01 +0000 (01:11 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix build - no model field anymore

5 years agoFix build - no model field anymore
Stanislav Malyshev [Mon, 16 Dec 2019 09:10:42 +0000 (01:10 -0800)]
Fix build - no model field anymore

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Stanislav Malyshev [Mon, 16 Dec 2019 08:39:37 +0000 (00:39 -0800)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed bug #78910
  Fix #78878: Buffer underflow in bc_shift_addsub
  Fix test
  Fix #78862: link() silently truncates after a null byte on Windows
  Fix #78863: DirectoryIterator class silently truncates after a null byte
  Fix #78943: mail() may release string with refcount==1 twice

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Stanislav Malyshev [Mon, 16 Dec 2019 08:38:54 +0000 (00:38 -0800)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #78910
  Fix #78878: Buffer underflow in bc_shift_addsub
  Fix test
  Fix #78862: link() silently truncates after a null byte on Windows
  Fix #78863: DirectoryIterator class silently truncates after a null byte

5 years agoFixed bug #78910
Stanislav Malyshev [Mon, 16 Dec 2019 08:10:39 +0000 (00:10 -0800)]
Fixed bug #78910

5 years agoFix #78878: Buffer underflow in bc_shift_addsub
Christoph M. Becker [Sat, 30 Nov 2019 11:26:37 +0000 (12:26 +0100)]
Fix #78878: Buffer underflow in bc_shift_addsub

We must not rely on `isdigit()` to detect digits, since we only support
decimal ASCII digits in the following processing.

5 years agoFix test
Stanislav Malyshev [Sat, 30 Nov 2019 23:37:28 +0000 (15:37 -0800)]
Fix test

5 years agoFix #78862: link() silently truncates after a null byte on Windows
Christoph M. Becker [Sat, 23 Nov 2019 12:01:33 +0000 (13:01 +0100)]
Fix #78862: link() silently truncates after a null byte on Windows

Since link() is supposed to accepts paths (i.e. strings without NUL
bytes), we must not accept arbitrary strings.

5 years agoFix #78863: DirectoryIterator class silently truncates after a null byte
Christoph M. Becker [Mon, 25 Nov 2019 15:56:34 +0000 (16:56 +0100)]
Fix #78863: DirectoryIterator class silently truncates after a null byte

Since the constructor of DirectoryIterator and friends is supposed to
accepts paths (i.e. strings without NUL bytes), we must not accept
arbitrary strings.

5 years agoFix #78943: mail() may release string with refcount==1 twice
Christoph M. Becker [Tue, 10 Dec 2019 17:43:01 +0000 (18:43 +0100)]
Fix #78943: mail() may release string with refcount==1 twice

Since we need `headers_lc` as well as `headers_trim` in the following,
we do not release the former even if they are the same string, to avoid
complicating the release logic even more.

A new test case is not necessary, since we already have
mail_basic_alt2-win32.phpt and others.

5 years agoFurther reduce parse depth limit in mbstring fuzzer
Nikita Popov [Sat, 14 Dec 2019 21:42:05 +0000 (22:42 +0100)]
Further reduce parse depth limit in mbstring fuzzer

Depth limit of 1024 still causes optimize_node stack overflows
when running under asan.

5 years agoRemove deprecated behaviour of passing encoding as third parameter in mb_strrpos()
George Peter Banyard [Fri, 13 Dec 2019 19:09:42 +0000 (20:09 +0100)]
Remove deprecated behaviour of passing encoding as third parameter in mb_strrpos()

Merged GH-5011

5 years agoRevert "Remove dead code in libmbfl, memory device"
George Peter Banyard [Fri, 13 Dec 2019 17:43:14 +0000 (18:43 +0100)]
Revert "Remove dead code in libmbfl, memory device"

Stop trusting CLion's automatic dead code detection because it seems to be wrong
more often than not.
This reverts commit 612c86db3ea139e4ed4aa6a9aa28da343c9b39b8.

5 years agoRemove dead code in sanitizing_filter.c of the filter extension
George Peter Banyard [Fri, 13 Dec 2019 16:59:52 +0000 (17:59 +0100)]
Remove dead code in sanitizing_filter.c of the filter extension

5 years agoRemove dead code in libmbfl, memory device
George Peter Banyard [Fri, 13 Dec 2019 16:58:37 +0000 (17:58 +0100)]
Remove dead code in libmbfl, memory device

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 13 Dec 2019 15:38:42 +0000 (16:38 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed bug #78921

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Fri, 13 Dec 2019 15:38:24 +0000 (16:38 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed bug #78921

5 years agoFixed bug #78921
Nikita Popov [Fri, 13 Dec 2019 15:37:20 +0000 (16:37 +0100)]
Fixed bug #78921

By resetting fake_scope during autoloading. We already do the same
when executing destructors.

5 years agoLimit parse depth in mbstring fuzzer
Nikita Popov [Fri, 13 Dec 2019 15:09:28 +0000 (16:09 +0100)]
Limit parse depth in mbstring fuzzer

The default depth of 4096 is large enough to cause optimize_node
stack overflows under asan. Reduce to 1024.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 13 Dec 2019 10:05:41 +0000 (11:05 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Introduce extra counter to avoid RTD key collisions

5 years agoIntroduce extra counter to avoid RTD key collisions
Nikita Popov [Wed, 11 Dec 2019 16:11:30 +0000 (17:11 +0100)]
Introduce extra counter to avoid RTD key collisions

Also generate a fatal error if a collision occurs in zend_compile.

This is not perfect, because collisions might still be introduced
via opcache, if one file is included multiple times during a request,
invalidate in the meantime and recompiled by different processes.

This still needs to be addressed, but this patch fixes the much
more common case of collisions occuring when opcache is not used.

Fixes bug #78903.

5 years agophar: fix offset*() prototypes
Dylan T [Thu, 12 Dec 2019 11:13:35 +0000 (11:13 +0000)]
phar: fix offset*() prototypes

5 years agoFix exception message of implode()
Máté Kocsis [Thu, 12 Dec 2019 22:01:07 +0000 (23:01 +0100)]
Fix exception message of implode()

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Thu, 12 Dec 2019 13:22:32 +0000 (14:22 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix #78929: plus signs in cookie values are converted to spaces

5 years agoFix #78929: plus signs in cookie values are converted to spaces
Kachalin Alexey [Thu, 12 Dec 2019 10:49:06 +0000 (11:49 +0100)]
Fix #78929: plus signs in cookie values are converted to spaces

We switch the cookie value parsing function from `php_url_decode()` to
`php_raw_url_decode()`, so that cookie values are now parsed according
to RFC 6265, section 4.1.1.  We also refactor to remove duplicate code
without changing the execution flow.

5 years agoRemove support for mixing parameter order in implode()
Máté Kocsis [Thu, 12 Dec 2019 09:04:31 +0000 (10:04 +0100)]
Remove support for mixing parameter order in implode()

5 years agoPromote warnings to exceptions in password_*() functions
Máté Kocsis [Wed, 20 Nov 2019 01:21:06 +0000 (02:21 +0100)]
Promote warnings to exceptions in password_*() functions

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 12 Dec 2019 10:52:51 +0000 (11:52 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed bug #78950: Preloading trait method with static variables

5 years agoFixed bug #78950: Preloading trait method with static variables
Nikita Popov [Thu, 12 Dec 2019 10:19:07 +0000 (11:19 +0100)]
Fixed bug #78950: Preloading trait method with static variables

We need to make sure that trait methods with static variables
allocate a separate MAP slot for the static variables pointer,
rather than working in-place.

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Thu, 12 Dec 2019 08:40:54 +0000 (09:40 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix handling of non-final loop var free in sccp

5 years agoFix handling of non-final loop var free in sccp
Nikita Popov [Thu, 12 Dec 2019 08:39:52 +0000 (09:39 +0100)]
Fix handling of non-final loop var free in sccp

We only need to preserve the FE_FREE that marks the end of the
loop range. Skip FE_FREEs with the FREE_ON_RETURN flag.

5 years agoAdd funcinfo for spl global functions
Tyson Andre [Thu, 5 Dec 2019 00:57:14 +0000 (19:57 -0500)]
Add funcinfo for spl global functions

This assumes that `iterator_*` will now always throw or abort on failure.

Also, move #include _arginfo.h directive to the top of the file - virtually all
other files put it there, and developers may base code on basic_functions.c.

Closes GH-4968

5 years agoReturn empty string instead of NULL in serialize().
George Peter Banyard [Wed, 11 Dec 2019 22:59:13 +0000 (23:59 +0100)]
Return empty string instead of NULL in serialize().

Modifiy its return type accordingly and arginfo.

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Wed, 11 Dec 2019 22:45:03 +0000 (23:45 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  uint/ulong removal may affect other platforms as well

5 years agouint/ulong removal may affect other platforms as well
Christoph M. Becker [Wed, 11 Dec 2019 22:44:46 +0000 (23:44 +0100)]
uint/ulong removal may affect other platforms as well

5 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Wed, 11 Dec 2019 22:16:05 +0000 (23:16 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Typo fix in php.ini-production

5 years agoTypo fix in php.ini-production
Adrian Verde [Wed, 11 Dec 2019 20:51:05 +0000 (21:51 +0100)]
Typo fix in php.ini-production

Possibe -> Possible

5 years agoAdd stubs for standard library
Máté Kocsis [Tue, 10 Dec 2019 22:57:04 +0000 (23:57 +0100)]
Add stubs for standard library

5 years agoPromote warnings to exceptions in sapi_windows_* functions
Máté Kocsis [Wed, 11 Dec 2019 13:38:37 +0000 (14:38 +0100)]
Promote warnings to exceptions in sapi_windows_* functions

5 years agoPromote warning to exception in unserialize()
Máté Kocsis [Tue, 10 Dec 2019 22:55:07 +0000 (23:55 +0100)]
Promote warning to exception in unserialize()

5 years agoPromote warning to exception in parse_url()
Máté Kocsis [Tue, 10 Dec 2019 22:54:26 +0000 (23:54 +0100)]
Promote warning to exception in parse_url()

5 years agoPromote warnings to exceptions for some filter functions
Máté Kocsis [Tue, 10 Dec 2019 22:50:10 +0000 (23:50 +0100)]
Promote warnings to exceptions for some filter functions

5 years agoMerge branch 'array_filter-optimize' into HEAD
Tyson Andre [Wed, 11 Dec 2019 14:40:13 +0000 (09:40 -0500)]
Merge branch 'array_filter-optimize' into HEAD

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 11 Dec 2019 13:40:02 +0000 (14:40 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Revert "Fixed bug #78903: Conflict in RTD key for closures results in crash"

5 years agoRevert "Fixed bug #78903: Conflict in RTD key for closures results in crash"
Nikita Popov [Wed, 11 Dec 2019 13:38:48 +0000 (14:38 +0100)]
Revert "Fixed bug #78903: Conflict in RTD key for closures results in crash"

This reverts commit b55033fa18afd9bb60fc4537270266d808ec0868.

This breaks ext/opcache/tests/bug65915.phpt.

5 years agoConvert warnings to TypeError in php_spl.c
George Peter Banyard [Sun, 8 Dec 2019 20:42:01 +0000 (21:42 +0100)]
Convert warnings to TypeError in php_spl.c

Closes GH-4991

5 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 11 Dec 2019 12:08:12 +0000 (13:08 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed bug #78903: Conflict in RTD key for closures results in crash

5 years agoFixed bug #78903: Conflict in RTD key for closures results in crash
Nikita Popov [Wed, 11 Dec 2019 12:06:10 +0000 (13:06 +0100)]
Fixed bug #78903: Conflict in RTD key for closures results in crash

I wasn't able to create a simple reproducer for this. General approach
is the same as for anonymous classes: If the key is already used, reuse
the old definition.