Peter Kokot
89a6ebd0e9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Update changelog
Remove unused MISSING_MSGHDR_MSGFLAGS
2019-07-18 02:18:18 +02:00
Peter Kokot
53299d610a
Remove unused MISSING_MSGHDR_MSGFLAGS
...
Closes GH-4426
2019-07-18 02:17:14 +02:00
Peter Kokot
e0ea444dd3
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Convert all php_error_docref0 to php_error_docref
2019-07-13 02:10:17 +02:00
George Peter Banyard
1c1de0c41a
Convert all php_error_docref0 to php_error_docref
...
Closes GH-4394
2019-07-13 02:05:17 +02:00
Nikita Popov
057012f241
Merge branch 'PHP-7.4'
2019-07-03 12:48:00 +02:00
Nikita Popov
d6d9024cb8
Avoid use of random ports in some socket tests
2019-07-03 12:47:49 +02:00
Peter Kokot
0d9318a424
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove unused check for struct cmsghdr
2019-07-01 13:18:08 +02:00
Peter Kokot
c70d9cdb11
Remove unused check for struct cmsghdr
...
The result of this check is to whether to define the HAVE_CMSGHDR symbol
or not. The HAVE_CMSGHDR is never used in the code and it has been
removed via 90289924c0 .
Closes GH-4337
2019-07-01 13:13:51 +02:00
Peter Kokot
98d0892dd8
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Sync functions checks
2019-06-30 23:59:47 +02:00
Peter Kokot
9a3c8e51e3
Sync functions checks
...
Removed unused checks:
- mbsinit check removed, HAVE_MBSINIT removed (not used in php-src)
- mempcpy check removed, HAVE_MEMPCPY removed (not used in php-src anymore since
560ed89bfb which uses PHP's own implementation)
- strpncpy check removed, added via a8c9e893b6 and
not used.
- setpgid check removed since HAVE_SETPGID is not used
Moved to a central configure.ac:
- fpclass
- mbrlen moved to configure.ac (since the HAVE_MBRLEN is used accross the php-src)
- sigprocmask
- getcwd
- getwd
- glob
- strfmon
- nice
Duplicated checks removed:
- gethostname
- getlogin
- getpwuid_r
- socketpair
- mprotect check simplified
2019-06-30 23:57:54 +02:00
Peter Kokot
6bfa6bff0b
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Clean headers checks
2019-06-27 02:45:31 +02:00
Peter Kokot
2079b09854
Clean headers checks
...
Some headers were checked multiple times in the main configure.ac file
and in the bundled extensions or SAPIs themselves. Also many of these
checks are then used accross other extensions or SAPIs so a central
configure.ac makes most sense for these checks.
2019-06-27 02:45:09 +02:00
Nikita Popov
0d31a8e4e1
Merge branch 'PHP-7.4'
2019-06-20 17:24:43 +02:00
Nikita Popov
dd6d471834
Handle misaligned ifreq on macos
2019-06-20 17:24:16 +02:00
Joe Watkins
9bcbd80775
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky socket test
2019-06-18 08:31:32 +02:00
Joe Watkins
68785c00ef
fix flaky socket test
2019-06-18 08:30:46 +02:00
Joe Watkins
99dfc5e640
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove dead code in sockets extension [ci skip]
2019-06-15 08:39:50 +02:00
George Peter Banyard
cfdca10910
Remove dead code in sockets extension [ci skip]
2019-06-15 08:39:35 +02:00
Joe Watkins
7231ee9f55
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky socket tests
2019-06-15 08:09:17 +02:00
Joe Watkins
afdf7ed5ba
fix flaky socket tests
2019-06-15 08:08:08 +02:00
Joe Watkins
956db0cdc2
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix mac tests on azure
2019-06-14 12:58:13 +02:00
Joe Watkins
f16b012116
fix mac tests on azure
2019-06-14 12:55:00 +02:00
Nikita Popov
af10245034
Merge branch 'PHP-7.4'
2019-06-13 09:38:19 +02:00
Nikita Popov
4603ce731b
Don't throw warning if testing multiple ports
2019-06-13 09:34:23 +02:00
Nikita Popov
89df091529
Merge branch 'PHP-7.4'
2019-06-12 13:50:48 +02:00
Nikita Popov
cdefeb715b
Use memset instead of brace initialization
...
Apparently {{0}} is not enough ... let's not rely on structure
layout specifics here.
2019-06-12 13:50:23 +02:00
Nikita Popov
eea206a06c
Merge branch 'PHP-7.4'
2019-06-12 13:18:04 +02:00
Nikita Popov
2134cc25d2
Guard functions by SO_PASSCRED
2019-06-12 13:17:25 +02:00
Nikita Popov
477d1e02ae
Merge branch 'PHP-7.4'
2019-06-12 11:54:21 +02:00
Nikita Popov
f601eb15e6
Fix -Wmissing-braces warnings
...
Unfortunate that = {} is a GNU extension.
2019-06-12 11:54:12 +02:00
Joe Watkins
6df77cafb9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky sockets test - form of response is OS dependent
2019-06-12 08:48:18 +02:00
Joe Watkins
c54a247cb0
fix flaky sockets test - form of response is OS dependent
2019-06-12 08:47:35 +02:00
Joe Watkins
2a11d88bc5
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky test on OSX
2019-06-12 08:33:19 +02:00
Joe Watkins
abe38b5e48
fix flaky test on OSX
2019-06-12 08:33:07 +02:00
Joe Watkins
f5e79e0b40
Merge branch 'PHP-7.4'
...
* PHP-7.4:
fix flaky ipv4 loopback test
2019-06-10 10:35:57 +02:00
Joe Watkins
52ca8ca7d5
fix flaky ipv4 loopback test
2019-06-10 10:35:31 +02:00
Christoph M. Becker
3b77f269e9
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Use zero port in socket_(export|import)_stream-4-win.phpt
2019-06-06 16:19:37 +02:00
Christoph M. Becker
3b05bdedcd
Use zero port in socket_(export|import)_stream-4-win.phpt
...
These regularly fail due to port clashes, though we don't seem to
use those ports in any other tests.
As we don't care about the specific port that is used here, pass
zero so that a random ephemeral port is used.
2019-06-06 16:19:19 +02:00
Nikita Popov
7686b0b889
Merge branch 'PHP-7.4'
2019-06-05 14:53:50 +02:00
Nikita Popov
a31f46421d
Allow exceptions in __toString()
...
RFC: https://wiki.php.net/rfc/tostring_exceptions
And convert some object to string conversion related recoverable
fatal errors into Error exceptions.
Improve exception safety of internal code performing string
conversions.
2019-06-05 14:25:07 +02:00
Nikita Popov
03a9c2df7b
Merge branch 'PHP-7.4'
2019-06-05 11:58:20 +02:00
Nikita Popov
528aa7932a
Use zero port in socket_(export|import)_stream-5.phpt
...
These regularly fail due to port clashes, though we don't seem to
use those ports in any other tests.
As we don't care about the specific port that is used here, pass
zero so that a random ephemeral port is used.
2019-06-05 11:58:11 +02:00
Nikita Popov
623eedbbd5
Merge branch 'PHP-7.4'
2019-06-04 16:14:46 +02:00
Nikita Popov
d512075ff8
Fix potential port conflicts
2019-06-04 16:11:52 +02:00
Nikita Popov
1df8175b61
Convert fetch_resource warnings into TypeErrors
...
More type checks that are not part of zpp and should generate a
TypeError in PHP 8.
2019-06-03 09:17:12 +02:00
Christoph M. Becker
8a11f3b166
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Prevent parallel test conflicts
2019-05-27 18:43:18 +02:00
Christoph M. Becker
c12d474653
Prevent parallel test conflicts
...
These ports are already used by another test, so we change them.
2019-05-27 18:42:52 +02:00
Nikita Popov
22797c0e00
Merge branch 'PHP-7.4'
2019-05-23 11:13:22 +02:00
Nikita Popov
fc8fb77262
Merge branch 'PHP-7.3' into PHP-7.4
2019-05-23 11:13:14 +02:00
Nikita Popov
b394654c1e
Merge branch 'PHP-7.2' into PHP-7.3
2019-05-23 11:12:59 +02:00