Commit Graph

112165 Commits

Author SHA1 Message Date
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
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
Remi Collet
a0ce1df024 ignore first gets time which is usually a few ms only
in previous version, max_ms was "1" and "10" in travis/appveyor
having 10 by default make it fails on fast computer
2019-06-05 11:48:48 +02:00
Nikita Popov
9cf6a5413a Make mysqli_connect arguments explicitly nullable
It should be possible to skip any of these (and use the ini configured
defaults) by passing null, independently of strict_types settings.

Noticed while working on GH-4227.
2019-06-05 11:30:13 +02:00
Remi Collet
8f854c1099 keep DIR option to --with-unixODBC for old versions without libodbc.pc 2019-06-05 10:56:10 +02:00
Peter Kokot
ac9ce0f895 Fixed bug #78102 2019-06-05 10:04:57 +02:00
Nikita Popov
46d5a9bef9 Avoid concurrent directory writes in FilesystemIterator test
The test directory is often used for temporary files, let's use
the source directory, which should be more stable. If that doesn't
work we need to create a temporary directory.
2019-06-05 09:58:59 +02:00
Joe Watkins
cb9bb146d9
add azure pipelines badge to readme [ci skip] 2019-06-04 17:11:16 +02:00
Nikita Popov
524dbee15b Merge branch 'PHP-7.3' into PHP-7.4 2019-06-04 16:28:08 +02:00
Nikita Popov
d154301866 Merge branch 'PHP-7.2' into PHP-7.3 2019-06-04 16:27:57 +02:00
Nikita Popov
a3e6b50442 Fixed bug #78050
This is a backport of a982125561.
2019-06-04 16:26:34 +02:00
Nikita Popov
f4bac9a438 Actually load opcache on Azure 2019-06-04 16:14:34 +02:00
Nikita Popov
18060e5923 Merge branch 'PHP-7.3' into PHP-7.4 2019-06-04 16:14:26 +02:00
Nikita Popov
a4633b13d4 Merge branch 'PHP-7.2' into PHP-7.3 2019-06-04 16:14:14 +02:00
Nikita Popov
2d3bc71e89 Reload tsrmls_id in release builds as well
If TSRM is shut down and started again (something that phpdbg does),
then tsrmls_id needs to be reloaded everywhere. As tsrmls_id
update is a rare operation, doing that shouldn't be a problem.
2019-06-04 16:12:59 +02:00
Nikita Popov
d512075ff8 Fix potential port conflicts 2019-06-04 16:11:52 +02:00
Hugh McMaster
c9830f1c2c ext/zip: Replace $LIBZIP_LIBDIR with $LIBZIP_LIBS
Closes GH-4220.
2019-06-04 15:31:35 +02:00
Nikita Popov
a982125561 Try to fix phpdbg + opcache compatibility 2019-06-04 15:08:55 +02:00
Christoph M. Becker
79ff867ed2 PHP 7.4 is built with Visual Studio 2019 on Windows 2019-06-04 14:41:25 +02:00
Nikita Popov
3f7210efa8 Try to make 17result.php more robust
This is our most common intermittent failure. I don't understand
why it happens and can't reproduce it, but defining an explicit
sort order seems worth a shot...
2019-06-04 12:18:21 +02:00
Nikita Popov
40f2cfe258 Azure: Don't build zend-test as shared
This is shared on Travis to perform a dl() sanity check. Revert to
building it statically here so we don't need to explicitly load it.
2019-06-04 10:18:00 +02:00
Hugh McMaster
32114b57f3 Use a common setup macro to detect the Expat library
Closes GH-4221.
2019-06-04 10:10:50 +02:00
Joe Watkins
550f95e645
should be or 2019-06-04 08:23:43 +02:00
Joe Watkins
666cc8d5da
always run 2019-06-04 08:12:53 +02:00
Joe Watkins
47a953919f
run/publish test on success and failure 2019-06-04 08:10:52 +02:00
Joe Watkins
b2aef9e47a
always run/publish tests, even when failing 2019-06-04 08:06:53 +02:00
Joe Watkins
d37c335118
always run/publish tests 2019-06-04 07:50:46 +02:00
Remi Collet
e0f7e7aff9 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  this was in 7.3.5, not 7.3.6
2019-06-04 07:19:46 +02:00
Remi Collet
9a495911c8 this was in 7.3.5, not 7.3.6 2019-06-04 07:19:29 +02:00
Joe Watkins
b4c1369768
correct zts flags for 7.4 2019-06-04 05:04:24 +02:00
Joe Watkins
068dd5afa8
get the name of the branch right 2019-06-03 22:47:12 +02:00
Joe Watkins
74ce812007
Set up CI with Azure Pipelines 2019-06-03 22:27:50 +02:00
Nikita Popov
117f7720be Prevent use of TLS 1.3 in stream_server_reneg_limit.phpt
TLS 1.3 does not support renegotiation, make sure this test does
not use it.
2019-06-03 18:58:52 +02:00
Nikita Popov
829f18b48d Merge branch 'PHP-7.3' into PHP-7.4 2019-06-03 15:15:22 +02:00
Nikita Popov
37bba7a678 Merge branch 'PHP-7.2' into PHP-7.3 2019-06-03 15:15:07 +02:00
Nikita Popov
ac60007bec Clear errors after SSL_CTX_load_verify_locations()
We report our own errors here. Make sure these don't clog up the
error queue.
2019-06-03 15:14:01 +02:00
Nikita Popov
2856afc70e Make "MySQL server has gone away" errors more consistent
Don't generate explicit warnings for these in two places, use usual
error handling mechanism. Additionally suppress a number of warnings
if the server has gone away.
2019-06-03 14:27:47 +02:00
Joe Watkins
cf9fd3735a
remove reverted commit from changelog 2019-06-03 11:25:33 +02:00
Joe Watkins
ff96f25b12
Revert "Fix bug #62397 - disable_functions does not work with eval."
This reverts commit 050d299364.
2019-06-03 11:20:12 +02:00
Hugh McMaster
f349d790b4 ext/zip: Remove un-needed symbol check for zip_open
Closes GH-4189.
2019-06-03 09:20:31 +02:00
Hugh McMaster
310f96fd13 ext/zip: Add PHP_EVAL_LIBLINE to replace PHP_ADD_LIBRARY_WITH_PATH 2019-06-03 09:20:12 +02:00
Hugh McMaster
7ec50c24bb ext/ffi: Remove symbol check for ffi_open
Closes GH-4215.
2019-06-03 09:19:25 +02:00
Hugh McMaster
d39638a4ac ext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared builds
Closes GH-4216.
2019-06-03 09:18:51 +02:00
Hugh McMaster
72fe2b16f6 ext/skeleton: Update use of PHP_CHECK_LIBRARY
Closes GH-4218.
2019-06-03 09:18:22 +02:00
Jakub Zelenka
4feddd59dc Merge branch 'PHP-7.3' into PHP-7.4 2019-06-02 19:14:37 +01:00
Jakub Zelenka
8f69ca8dcd Merge branch 'PHP-7.2' into PHP-7.3 2019-06-02 19:13:18 +01:00
Jakub Zelenka
2e02579474 Fix bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c)
It also fixes invalid setting of tag length
2019-06-02 19:10:56 +01:00
Anatol Belski
7a64150921 Don't involve output check in the test 2019-06-01 23:31:05 +02:00
Anatol Belski
7faaeec942 Merge branch 'PHP-7.3' into PHP-7.4
* PHP-7.3:
  Fix expect section
2019-06-01 14:51:11 +02:00
Anatol Belski
793fd6bce9 Fix expect section 2019-06-01 14:50:14 +02:00