]> granicus.if.org Git - php/log
php
5 years agoUpdate NEWS for 7.4.0RC1
Derick Rethans [Tue, 20 Aug 2019 14:10:36 +0000 (14:10 +0000)]
Update NEWS for 7.4.0RC1

5 years agoUpdate NEWS for PHP 7.4.0beta4
Derick Rethans [Tue, 20 Aug 2019 14:09:17 +0000 (14:09 +0000)]
Update NEWS for PHP 7.4.0beta4

5 years agoFix #78386: fstat mode has unexpected value on PHP 7.4
Christoph M. Becker [Tue, 20 Aug 2019 14:04:14 +0000 (16:04 +0200)]
Fix #78386: fstat mode has unexpected value on PHP 7.4

We must not assume that any file which is not a directory is a regular
file.  Therefore we employ `GetFileType()` in this case to properly
distinguish between character special, FIFO special and regular files.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 20 Aug 2019 11:58:54 +0000 (13:58 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Don't use C++ style comments

5 years agoDon't use C++ style comments
Christoph M. Becker [Tue, 20 Aug 2019 11:58:22 +0000 (13:58 +0200)]
Don't use C++ style comments

Cf. <https://github.com/php/php-src/blob/f45b61b8988b5b2d80dd4a1df7edd04282cf319a/CODING_STANDARDS.md#syntax-and-indentation>

cc @mcmic

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 20 Aug 2019 11:34:42 +0000 (13:34 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  fix the problem for connect_attr, set db condition, and add a new attribute _server_host

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 20 Aug 2019 11:32:53 +0000 (13:32 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  fix the problem for connect_attr, set db condition, and add a new attribute _server_host

5 years agofix the problem for connect_attr, set db condition, and add a new attribute _server_host
Qianqian Bu [Mon, 12 Aug 2019 02:00:31 +0000 (04:00 +0200)]
fix the problem for connect_attr, set db condition, and add a new attribute _server_host

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Mon, 19 Aug 2019 17:58:20 +0000 (19:58 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #78220: Can't access OneDrive folder

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Mon, 19 Aug 2019 17:56:12 +0000 (19:56 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #78220: Can't access OneDrive folder

5 years agoFix #78220: Can't access OneDrive folder
Christoph M. Becker [Mon, 19 Aug 2019 17:44:37 +0000 (19:44 +0200)]
Fix #78220: Can't access OneDrive folder

As of Windows 1903, when the OneDrive on-demand feature is enabled, the
OneDrive folder is reported as reparse point by `FindFirstFile()`, but
trying to get information about the reparse point using
`DeviceIoControl()` fails with `ERROR_NOT_A_REPARSE_POINT`.  We work
around this problem by falling back to `GetFileInformationByHandle()`
if that happens, but only if the reparse point is reported as cloud
reparse point, and only if PHP is running on Windows 1903 or later.

The patch has been developed in collaboration with ab@php.net.

We should keep an eye on the somewhat quirky OneDrive behavior, since
it might change again in a future Windows release.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Sat, 17 Aug 2019 08:59:52 +0000 (10:59 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoFixed bug #77922
Nikita Popov [Sat, 17 Aug 2019 08:57:26 +0000 (10:57 +0200)]
Fixed bug #77922

In PHP 7.3 shadow properties are no longer duplicated. Make sure we
only release them if the property was defined on the parent class,
which means that it changed from private->shadow, which is where
duplication does happen.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Sara Golemon [Fri, 16 Aug 2019 16:41:32 +0000 (12:41 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Suppress deprecation warning on IDNA2003 ICU methods

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Sara Golemon [Fri, 16 Aug 2019 16:41:02 +0000 (12:41 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Suppress deprecation warning on IDNA2003 ICU methods

5 years agoSuppress deprecation warning on IDNA2003 ICU methods
Sara Golemon [Fri, 16 Aug 2019 16:40:20 +0000 (12:40 -0400)]
Suppress deprecation warning on IDNA2003 ICU methods

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Sara Golemon [Fri, 16 Aug 2019 15:40:01 +0000 (11:40 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Revert "Move to non deprecated API on suitable ICU versions"

5 years agoRevert "Move to non deprecated API on suitable ICU versions"
Sara Golemon [Fri, 16 Aug 2019 15:25:33 +0000 (11:25 -0400)]
Revert "Move to non deprecated API on suitable ICU versions"

This reverts commit 13a2f2d041999dca0066542f2a552798fab9a13d.

The APIs used by this commit aren't entirely equivalent to the original ones.

5 years agoappveyor: exclude some documentation paths
Jan Altensen [Thu, 15 Aug 2019 14:11:13 +0000 (16:11 +0200)]
appveyor: exclude some documentation paths

Change-Id: Ifff234133f4437bfe5c31c1f1e00092cd60e1d53

5 years agoEmpty merge
Christoph M. Becker [Thu, 15 Aug 2019 13:30:03 +0000 (15:30 +0200)]
Empty merge

5 years agoUpdate NEWS
Christoph M. Becker [Thu, 15 Aug 2019 13:28:52 +0000 (15:28 +0200)]
Update NEWS

This fix has been cherry-picked into PHP-7.3.9.

5 years agoFixed bug #78409
Nikita Popov [Thu, 15 Aug 2019 08:38:43 +0000 (10:38 +0200)]
Fixed bug #78409

This removes an incorrect optimization (I think this code used to be
necessary to properly handle references in the Serializable based
implementation, but now this code just avoids an array duplication
in a way that is not sound).

5 years agoEmpty merge
Christoph M. Becker [Wed, 14 Aug 2019 17:25:48 +0000 (19:25 +0200)]
Empty merge

5 years agoUpdate credits_ext.h
Christoph M. Becker [Wed, 14 Aug 2019 17:24:16 +0000 (19:24 +0200)]
Update credits_ext.h

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 14 Aug 2019 15:53:24 +0000 (17:53 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoFix reference printing in GC tracing
Nikita Popov [Wed, 14 Aug 2019 14:58:54 +0000 (16:58 +0200)]
Fix reference printing in GC tracing

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Wed, 14 Aug 2019 15:51:26 +0000 (17:51 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #78412
Nikita Popov [Wed, 14 Aug 2019 15:48:57 +0000 (17:48 +0200)]
Fixed bug #78412

$this should only be included in the generator GC buffer, if it
will be released on destruction.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Sara Golemon [Tue, 13 Aug 2019 23:34:26 +0000 (19:34 -0400)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Bump for 7.2.23

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Sara Golemon [Tue, 13 Aug 2019 23:34:12 +0000 (19:34 -0400)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Bump for 7.2.23

5 years agoBump for 7.2.23
Sara Golemon [Tue, 13 Aug 2019 23:32:12 +0000 (19:32 -0400)]
Bump for 7.2.23

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 13 Aug 2019 22:48:49 +0000 (00:48 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Next will be 7.3.10

5 years agoNext will be 7.3.10
Christoph M. Becker [Tue, 13 Aug 2019 21:57:48 +0000 (23:57 +0200)]
Next will be 7.3.10

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 13 Aug 2019 21:26:29 +0000 (23:26 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Bump version numbers

5 years agoBump version numbers
Christoph M. Becker [Tue, 13 Aug 2019 21:23:43 +0000 (23:23 +0200)]
Bump version numbers

This should have been done four weeks ago already.

5 years agoFixed bug #78410
Nikita Popov [Tue, 13 Aug 2019 18:23:56 +0000 (20:23 +0200)]
Fixed bug #78410

5 years agoAdd myself to extension maintainer list
Nikita Popov [Tue, 13 Aug 2019 14:07:51 +0000 (16:07 +0200)]
Add myself to extension maintainer list

Year ranges are wild guesses.

5 years agoFixed bug #72530
Nikita Popov [Thu, 1 Aug 2019 10:55:39 +0000 (12:55 +0200)]
Fixed bug #72530

For objects with destructors, we will now only call the destructor
in the initial GC run, and remove any nested data. The object is
marked purple so it will be considered a root for the next GC run,
at which point it will be fully destroyed, if possible.

GC counts change on a number of tests, as the objects now get
destroyed later.

5 years agoDon't return persistent string from get_cfg_var()
Nikita Popov [Tue, 13 Aug 2019 12:40:07 +0000 (14:40 +0200)]
Don't return persistent string from get_cfg_var()

This is not thread-safe.

5 years agoMark PCRE locale key as local persistent
Nikita Popov [Tue, 13 Aug 2019 12:35:08 +0000 (14:35 +0200)]
Mark PCRE locale key as local persistent

5 years agoRemove dead code
Christoph M. Becker [Tue, 13 Aug 2019 11:25:54 +0000 (13:25 +0200)]
Remove dead code

5 years agoAdjust GC count in SPL test
Nikita Popov [Tue, 13 Aug 2019 10:34:48 +0000 (12:34 +0200)]
Adjust GC count in SPL test

5 years agoRemove removed nested data from GC count
Nikita Popov [Tue, 13 Aug 2019 10:17:08 +0000 (12:17 +0200)]
Remove removed nested data from GC count

5 years agoDon't include non-refcounted structures in GC count
Nikita Popov [Tue, 13 Aug 2019 10:08:59 +0000 (12:08 +0200)]
Don't include non-refcounted structures in GC count

5 years agoGeneralize delref assertion
Nikita Popov [Tue, 13 Aug 2019 09:44:54 +0000 (11:44 +0200)]
Generalize delref assertion

The refcount should never become negative, not just during GC.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 13 Aug 2019 09:23:06 +0000 (11:23 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 13 Aug 2019 09:22:10 +0000 (11:22 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoFixed bug #77191
Nikita Popov [Tue, 13 Aug 2019 09:19:58 +0000 (11:19 +0200)]
Fixed bug #77191

5 years agoFixed bug #78406
Nikita Popov [Tue, 13 Aug 2019 08:22:32 +0000 (10:22 +0200)]
Fixed bug #78406

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 13 Aug 2019 07:54:44 +0000 (09:54 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 13 Aug 2019 07:54:26 +0000 (09:54 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoDon't destroy properties array with unset GC type
Nikita Popov [Tue, 13 Aug 2019 07:51:29 +0000 (09:51 +0200)]
Don't destroy properties array with unset GC type

As the properties array can also be a GC root, it might have
already been destroyed.

5 years agoFix WS
Christoph M. Becker [Mon, 12 Aug 2019 15:59:30 +0000 (17:59 +0200)]
Fix WS

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 12 Aug 2019 15:17:42 +0000 (17:17 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 12 Aug 2019 15:17:30 +0000 (17:17 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

5 years agoIntern alias old_name early
Nikita Popov [Mon, 12 Aug 2019 14:58:52 +0000 (16:58 +0200)]
Intern alias old_name early

This is likely going to end up interned lateron at some point
when the new_name is referenced somewhere. However, it may be
that there are some uses that do not get interned before that.
In this case we will intern a string that already have zval
users, without updating the refcounted flag on those zvals.

In particular this can happen with something like [Foo::class],
where Foo is an imported symbol. The string it resolves to won't
get interned right away, but may be interned later.

    use Foo as Bar;
    $x = [Bar::class];
    var_dump(Bar::X);
    debug_zval_dump($x); // Will show negative refcount
    class Foo {
        const X = 1;
    }

However, this doesn't really fix the root cause, there are probably
other situations where something similar can occur.

5 years agoAdd missing argument checks
Christoph M. Becker [Mon, 12 Aug 2019 12:50:44 +0000 (14:50 +0200)]
Add missing argument checks

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

5 years agoFixed bug #78396
Nikita Popov [Mon, 12 Aug 2019 08:45:13 +0000 (10:45 +0200)]
Fixed bug #78396

5 years agoUpdated to version 2019.2 (2019b)
Derick Rethans [Sun, 11 Aug 2019 15:05:59 +0000 (16:05 +0100)]
Updated to version 2019.2 (2019b)

5 years agoEmpty merge
Derick Rethans [Sun, 11 Aug 2019 15:05:59 +0000 (16:05 +0100)]
Empty merge

5 years agoUpdated to version 2019.2 (2019b)
Derick Rethans [Sun, 11 Aug 2019 15:05:58 +0000 (16:05 +0100)]
Updated to version 2019.2 (2019b)

5 years agoFix parameter order
Christoph M. Becker [Sun, 11 Aug 2019 14:05:53 +0000 (16:05 +0200)]
Fix parameter order

`imagecopymerge()` and `imagecopymergegray()` expect the destination
image first, not the other way round.

5 years agoExtend color component range checks
Christoph M. Becker [Sun, 11 Aug 2019 13:00:23 +0000 (15:00 +0200)]
Extend color component range checks

We also check for alpha components to be within range, and we add yet
missing range checks for other functions as well.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Fri, 9 Aug 2019 14:47:35 +0000 (17:47 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed handling of references in nested data of objects with destructor

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Fri, 9 Aug 2019 14:47:06 +0000 (17:47 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed handling of references in nested data of objects with destructor

5 years agoFixed handling of references in nested data of objects with destructor
Dmitry Stogov [Fri, 9 Aug 2019 14:43:50 +0000 (17:43 +0300)]
Fixed handling of references in nested data of objects with destructor

5 years agoDon't short-circuit MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE
Nikita Popov [Fri, 9 Aug 2019 14:33:21 +0000 (16:33 +0200)]
Don't short-circuit MBFL_OUTPUTFILTER_ILLEGAL_MODE_NONE

Make sure we always go through mbfl_filt_conv_illegal_output(), so
that the number of illegal characters gets counted.

5 years agoFixed bug #78391
Nikita Popov [Fri, 9 Aug 2019 13:02:06 +0000 (15:02 +0200)]
Fixed bug #78391

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Fri, 9 Aug 2019 12:58:33 +0000 (15:58 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Fri, 9 Aug 2019 12:58:16 +0000 (15:58 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)

5 years agoFixed second part of the bug #78379 (Cast to object confuses GC, causes crash)
Dmitry Stogov [Fri, 9 Aug 2019 12:42:39 +0000 (15:42 +0300)]
Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Fri, 9 Aug 2019 10:40:39 +0000 (13:40 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Added asserts to catch GC errors when refcount goes below zero.

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Fri, 9 Aug 2019 10:39:59 +0000 (13:39 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Added asserts to catch GC errors when refcount goes below zero.

5 years agoAdded asserts to catch GC errors when refcount goes below zero.
Dmitry Stogov [Fri, 9 Aug 2019 10:37:23 +0000 (13:37 +0300)]
Added asserts to catch GC errors when refcount goes below zero.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Matteo Beccati [Fri, 9 Aug 2019 08:33:15 +0000 (10:33 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Skip test when SIGKILL is not defined

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Matteo Beccati [Fri, 9 Aug 2019 08:32:56 +0000 (10:32 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Skip test when SIGKILL is not defined

5 years agoSkip test when SIGKILL is not defined
Matteo Beccati [Fri, 9 Aug 2019 08:32:15 +0000 (10:32 +0200)]
Skip test when SIGKILL is not defined

5 years agoFix test when default TZ is not UTC
Matteo Beccati [Fri, 9 Aug 2019 07:58:10 +0000 (09:58 +0200)]
Fix test when default TZ is not UTC

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Thu, 8 Aug 2019 08:55:02 +0000 (10:55 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

5 years agoFix GC tracing
Nikita Popov [Thu, 8 Aug 2019 08:52:29 +0000 (10:52 +0200)]
Fix GC tracing

Due to the GC changes in 7.3 we stopped tracing most of the
interesting coloring changes...

5 years agoAdd UPGRADING note about stream_set_option() and includes
Nikita Popov [Thu, 8 Aug 2019 08:12:16 +0000 (10:12 +0200)]
Add UPGRADING note about stream_set_option() and includes

[ci skip]

5 years agoFixed bug #78383
Nikita Popov [Thu, 8 Aug 2019 07:55:29 +0000 (09:55 +0200)]
Fixed bug #78383

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Dmitry Stogov [Thu, 8 Aug 2019 07:07:39 +0000 (10:07 +0300)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fixed bug #78379 (Cast to object confuses GC, causes crash)

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Dmitry Stogov [Thu, 8 Aug 2019 07:05:59 +0000 (10:05 +0300)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fixed bug #78379 (Cast to object confuses GC, causes crash)

5 years agoFixed bug #78379 (Cast to object confuses GC, causes crash)
Dmitry Stogov [Thu, 8 Aug 2019 07:00:39 +0000 (10:00 +0300)]
Fixed bug #78379 (Cast to object confuses GC, causes crash)

5 years agoFix detection of pg_config.h
Christoph M. Becker [Wed, 7 Aug 2019 11:24:05 +0000 (13:24 +0200)]
Fix detection of pg_config.h

pg_config.h is supposed to be placed right besides libpq-fe.h, so we
should check the same paths.

5 years agoSkip test if ext/json is not available
Christoph M. Becker [Wed, 7 Aug 2019 11:02:23 +0000 (13:02 +0200)]
Skip test if ext/json is not available

Otherwise the test fails.

5 years agoMake extension compatibility check more liberal
Christoph M. Becker [Tue, 6 Aug 2019 09:53:41 +0000 (11:53 +0200)]
Make extension compatibility check more liberal

Checking for the exact linker version appears to be too restrictive; it
should be fine if the tens match.

We also refactor to avoid repeating ourselves.

5 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 6 Aug 2019 15:28:36 +0000 (17:28 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #78282: atime and mtime mismatch

5 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Tue, 6 Aug 2019 15:27:32 +0000 (17:27 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #78282: atime and mtime mismatch

5 years agoFix #78282: atime and mtime mismatch
Christoph M. Becker [Sat, 13 Jul 2019 07:40:50 +0000 (09:40 +0200)]
Fix #78282: atime and mtime mismatch

The fix for bug #78241 assumed that `time_t` would always be 64bit, but
actually is 32bit for x86.  We therefore enforce 64bit arithmetic to
avoid wrapping.

(cherry picked from commit bf242d58e77d50d4d8fdaaaca7ede686ec4467c0)

5 years agoInline zend_zval_ptr() in executor explicitely (only on hot paths)
Dmitry Stogov [Tue, 6 Aug 2019 13:28:42 +0000 (16:28 +0300)]
Inline zend_zval_ptr() in executor explicitely (only on hot paths)

5 years agotypo
Dmitry Stogov [Tue, 6 Aug 2019 10:58:17 +0000 (13:58 +0300)]
typo

5 years agoPreloading is not comatible with dl() function
Dmitry Stogov [Tue, 6 Aug 2019 09:44:55 +0000 (12:44 +0300)]
Preloading is not comatible with dl() function

5 years agoDon't set GC_HAS_DESTRUCTORS flag if destructors were already called
Dmitry Stogov [Tue, 6 Aug 2019 08:35:53 +0000 (11:35 +0300)]
Don't set GC_HAS_DESTRUCTORS flag if destructors were already called

5 years agoUpdate NEWS for 7.4.0beta3
Derick Rethans [Tue, 6 Aug 2019 06:55:20 +0000 (06:55 +0000)]
Update NEWS for 7.4.0beta3

5 years agoUpdate NEWS for PHP 7.4.0beta2
Derick Rethans [Tue, 6 Aug 2019 06:54:01 +0000 (06:54 +0000)]
Update NEWS for PHP 7.4.0beta2

5 years agoFixed bug #78376 (Incorrect preloading of constant static properties)
Dmitry Stogov [Mon, 5 Aug 2019 19:55:06 +0000 (22:55 +0300)]
Fixed bug #78376 (Incorrect preloading of constant static properties)

5 years agoFix handling of succeeding XFAIL tests
Christoph M. Becker [Mon, 5 Aug 2019 09:35:17 +0000 (11:35 +0200)]
Fix handling of succeeding XFAIL tests

Due to a typo in commit e1151c9[1], succeeding XFAIL test without an
EXPECTF or EXPECTREGEX section have been reported reported as passed
instead of warned.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=e1151c9549cf5a7235c1609019f79bbb1bbcdbea>

5 years agoSupport calling convention specific function name mangling
Christoph M. Becker [Fri, 26 Jul 2019 12:37:34 +0000 (14:37 +0200)]
Support calling convention specific function name mangling

On Windows certain calling conventions cause C function names to be
mangled, so to import them we have to use the properly mangled names.