]> granicus.if.org Git - php/log
php
6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 4 Jun 2019 14:14:46 +0000 (16:14 +0200)]
Merge branch 'PHP-7.4'

6 years agoActually load opcache on Azure
Nikita Popov [Tue, 4 Jun 2019 08:03:34 +0000 (10:03 +0200)]
Actually load opcache on Azure

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Tue, 4 Jun 2019 14:14:26 +0000 (16:14 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Tue, 4 Jun 2019 14:14:14 +0000 (16:14 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoReload tsrmls_id in release builds as well
Nikita Popov [Tue, 4 Jun 2019 13:23:10 +0000 (15:23 +0200)]
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.

6 years agoFix potential port conflicts
Nikita Popov [Tue, 4 Jun 2019 14:11:52 +0000 (16:11 +0200)]
Fix potential port conflicts

6 years agoext/zip: Replace $LIBZIP_LIBDIR with $LIBZIP_LIBS
Hugh McMaster [Mon, 3 Jun 2019 10:22:03 +0000 (20:22 +1000)]
ext/zip: Replace $LIBZIP_LIBDIR with $LIBZIP_LIBS

Closes GH-4220.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 4 Jun 2019 13:09:01 +0000 (15:09 +0200)]
Merge branch 'PHP-7.4'

6 years agoTry to fix phpdbg + opcache compatibility
Nikita Popov [Tue, 4 Jun 2019 13:08:16 +0000 (15:08 +0200)]
Try to fix phpdbg + opcache compatibility

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Tue, 4 Jun 2019 12:41:56 +0000 (14:41 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  PHP 7.4 is built with Visual Studio 2019 on Windows

6 years agoPHP 7.4 is built with Visual Studio 2019 on Windows
Christoph M. Becker [Tue, 4 Jun 2019 12:41:25 +0000 (14:41 +0200)]
PHP 7.4 is built with Visual Studio 2019 on Windows

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 4 Jun 2019 10:25:16 +0000 (12:25 +0200)]
Merge branch 'PHP-7.4'

6 years agoTry to make 17result.php more robust
Nikita Popov [Tue, 4 Jun 2019 10:18:21 +0000 (12:18 +0200)]
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...

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 4 Jun 2019 08:18:57 +0000 (10:18 +0200)]
Merge branch 'PHP-7.4'

6 years agoAzure: Don't build zend-test as shared
Nikita Popov [Tue, 4 Jun 2019 08:18:00 +0000 (10:18 +0200)]
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.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Tue, 4 Jun 2019 08:10:56 +0000 (10:10 +0200)]
Merge branch 'PHP-7.4'

6 years agoUse a common setup macro to detect the Expat library
Hugh McMaster [Wed, 29 May 2019 13:09:43 +0000 (23:09 +1000)]
Use a common setup macro to detect the Expat library

Closes GH-4221.

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Tue, 4 Jun 2019 06:23:50 +0000 (08:23 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  should be or

6 years agoshould be or
Joe Watkins [Tue, 4 Jun 2019 06:23:43 +0000 (08:23 +0200)]
should be or

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Tue, 4 Jun 2019 06:13:03 +0000 (08:13 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  always run

6 years agoalways run
Joe Watkins [Tue, 4 Jun 2019 06:12:53 +0000 (08:12 +0200)]
always run

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Tue, 4 Jun 2019 06:11:15 +0000 (08:11 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  run/publish test on success and failure

6 years agorun/publish test on success and failure
Joe Watkins [Tue, 4 Jun 2019 06:10:52 +0000 (08:10 +0200)]
run/publish test on success and failure

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Tue, 4 Jun 2019 06:07:01 +0000 (08:07 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  always run/publish tests, even when failing

6 years agoalways run/publish tests, even when failing
Joe Watkins [Tue, 4 Jun 2019 06:06:53 +0000 (08:06 +0200)]
always run/publish tests, even when failing

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Tue, 4 Jun 2019 05:51:06 +0000 (07:51 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  always run/publish tests

6 years agoalways run/publish tests
Joe Watkins [Tue, 4 Jun 2019 05:50:46 +0000 (07:50 +0200)]
always run/publish tests

6 years agoMerge branch 'PHP-7.4'
Remi Collet [Tue, 4 Jun 2019 05:19:59 +0000 (07:19 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  this was in 7.3.5, not 7.3.6

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Remi Collet [Tue, 4 Jun 2019 05:19:46 +0000 (07:19 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  this was in 7.3.5, not 7.3.6

6 years agothis was in 7.3.5, not 7.3.6
Remi Collet [Tue, 4 Jun 2019 05:19:29 +0000 (07:19 +0200)]
this was in 7.3.5, not 7.3.6

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Tue, 4 Jun 2019 03:04:51 +0000 (05:04 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  correct zts flags for 7.4

6 years agocorrect zts flags for 7.4
Joe Watkins [Tue, 4 Jun 2019 03:04:24 +0000 (05:04 +0200)]
correct zts flags for 7.4

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Mon, 3 Jun 2019 20:47:21 +0000 (22:47 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  get the name of the branch right

6 years agoget the name of the branch right
Joe Watkins [Mon, 3 Jun 2019 20:47:12 +0000 (22:47 +0200)]
get the name of the branch right

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Mon, 3 Jun 2019 20:28:02 +0000 (22:28 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Set up CI with Azure Pipelines

6 years agoSet up CI with Azure Pipelines
Joe Watkins [Wed, 29 May 2019 15:59:36 +0000 (17:59 +0200)]
Set up CI with Azure Pipelines

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 3 Jun 2019 16:59:21 +0000 (18:59 +0200)]
Merge branch 'PHP-7.4'

6 years agoPrevent use of TLS 1.3 in stream_server_reneg_limit.phpt
Nikita Popov [Mon, 3 Jun 2019 16:58:52 +0000 (18:58 +0200)]
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.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 3 Jun 2019 13:15:35 +0000 (15:15 +0200)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 3 Jun 2019 13:15:22 +0000 (15:15 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 3 Jun 2019 13:15:07 +0000 (15:15 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoClear errors after SSL_CTX_load_verify_locations()
Nikita Popov [Mon, 3 Jun 2019 13:14:01 +0000 (15:14 +0200)]
Clear errors after SSL_CTX_load_verify_locations()

We report our own errors here. Make sure these don't clog up the
error queue.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 3 Jun 2019 12:28:19 +0000 (14:28 +0200)]
Merge branch 'PHP-7.4'

6 years agoMake "MySQL server has gone away" errors more consistent
Nikita Popov [Mon, 3 Jun 2019 10:47:48 +0000 (12:47 +0200)]
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.

6 years agoFinish func_info updates for ext/standard
Nikita Popov [Mon, 3 Jun 2019 09:25:00 +0000 (11:25 +0200)]
Finish func_info updates for ext/standard

6 years agoExpect string argument in hexdec, octdec, bindec
Nikita Popov [Mon, 3 Jun 2019 08:27:15 +0000 (10:27 +0200)]
Expect string argument in hexdec, octdec, bindec

Instead of accepting zval and converting to string. Also rewrite the
functions to make it obvious that they cannot return false.

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Mon, 3 Jun 2019 09:25:45 +0000 (11:25 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  remove reverted commit from changelog

6 years agoremove reverted commit from changelog
Joe Watkins [Mon, 3 Jun 2019 09:24:51 +0000 (11:24 +0200)]
remove reverted commit from changelog

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Mon, 3 Jun 2019 09:20:23 +0000 (11:20 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Revert "Fix bug #62397 - disable_functions does not work with eval."

6 years agoRevert "Fix bug #62397 - disable_functions does not work with eval."
Joe Watkins [Mon, 3 Jun 2019 09:20:12 +0000 (11:20 +0200)]
Revert "Fix bug #62397 - disable_functions does not work with eval."

This reverts commit 050d299364ded5cb7b878bc515aa763c9c623c4b.

6 years agoUpdate ZPP docs
Christoph M. Becker [Mon, 3 Jun 2019 08:37:28 +0000 (10:37 +0200)]
Update ZPP docs

The `L` specifier is no longer supported, see
<http://git.php.net/?p=php-src.git;a=commit;h=8a0965e3d694037837a8f70f280e7d14dd7778eb>.

6 years agoFix typo
Christoph M. Becker [Mon, 3 Jun 2019 08:34:32 +0000 (10:34 +0200)]
Fix typo

6 years agoAdd Z_PARAM_NUMBER and use it for some functions
Nikita Popov [Mon, 3 Jun 2019 08:12:21 +0000 (10:12 +0200)]
Add Z_PARAM_NUMBER and use it for some functions

6 years agoRemove zpp L specifier
Nikita Popov [Mon, 3 Jun 2019 07:39:17 +0000 (09:39 +0200)]
Remove zpp L specifier

We don't use this internally anymore, and external usages should
be encouraged to move towards 'l'.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Mon, 3 Jun 2019 07:21:13 +0000 (09:21 +0200)]
Merge branch 'PHP-7.4'

6 years agoext/zip: Remove un-needed symbol check for zip_open
Hugh McMaster [Sun, 2 Jun 2019 00:25:13 +0000 (10:25 +1000)]
ext/zip: Remove un-needed symbol check for zip_open

Closes GH-4189.

6 years agoext/zip: Add PHP_EVAL_LIBLINE to replace PHP_ADD_LIBRARY_WITH_PATH
Hugh McMaster [Sun, 2 Jun 2019 00:23:28 +0000 (10:23 +1000)]
ext/zip: Add PHP_EVAL_LIBLINE to replace PHP_ADD_LIBRARY_WITH_PATH

6 years agoext/ffi: Remove symbol check for ffi_open
Hugh McMaster [Sat, 1 Jun 2019 23:53:34 +0000 (09:53 +1000)]
ext/ffi: Remove symbol check for ffi_open

Closes GH-4215.

6 years agoext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared builds
Hugh McMaster [Sat, 1 Jun 2019 13:00:32 +0000 (23:00 +1000)]
ext/enchant: Pass $ENCHANT_LIBS to PHP_CHECK_LIBRARY to fix shared builds

Closes GH-4216.

6 years agoext/skeleton: Update use of PHP_CHECK_LIBRARY
Hugh McMaster [Sun, 2 Jun 2019 00:13:39 +0000 (10:13 +1000)]
ext/skeleton: Update use of PHP_CHECK_LIBRARY

Closes GH-4218.

6 years agoConvert fetch_resource warnings into TypeErrors
Nikita Popov [Fri, 31 May 2019 09:51:54 +0000 (11:51 +0200)]
Convert fetch_resource warnings into TypeErrors

More type checks that are not part of zpp and should generate a
TypeError in PHP 8.

6 years agoMerge branch 'PHP-7.4'
Jakub Zelenka [Sun, 2 Jun 2019 18:15:00 +0000 (19:15 +0100)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Jakub Zelenka [Sun, 2 Jun 2019 18:14:37 +0000 (19:14 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Jakub Zelenka [Sun, 2 Jun 2019 18:13:18 +0000 (19:13 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoFix bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c)
Jakub Zelenka [Sun, 2 Jun 2019 18:10:56 +0000 (19:10 +0100)]
Fix bug #78079 (openssl_encrypt_ccm.phpt fails with OpenSSL 1.1.1c)

It also fixes invalid setting of tag length

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Sat, 1 Jun 2019 21:33:00 +0000 (23:33 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Don't involve output check in the test

6 years agoDon't involve output check in the test
Anatol Belski [Sat, 1 Jun 2019 21:31:05 +0000 (23:31 +0200)]
Don't involve output check in the test

6 years agoAdd return type for string functions
Gabriel Caruso [Thu, 30 May 2019 18:03:28 +0000 (15:03 -0300)]
Add return type for string functions

6 years agoAdd boolean return type for ctype extension functions
Gabriel Caruso [Thu, 30 May 2019 17:35:01 +0000 (14:35 -0300)]
Add boolean return type for ctype extension functions

6 years agoAdd double return type for math functions
Gabriel Caruso [Thu, 30 May 2019 17:24:40 +0000 (14:24 -0300)]
Add double return type for math functions

6 years agoAdd return type for bcmath extension functions
Gabriel Caruso [Wed, 29 May 2019 05:28:00 +0000 (02:28 -0300)]
Add return type for bcmath extension functions

Except for bcpowmod, as it returns string|false

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Sat, 1 Jun 2019 12:51:46 +0000 (14:51 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix expect section

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Anatol Belski [Sat, 1 Jun 2019 12:51:11 +0000 (14:51 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix expect section

6 years agoFix expect section
Anatol Belski [Sat, 1 Jun 2019 12:49:57 +0000 (14:49 +0200)]
Fix expect section

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Sat, 1 Jun 2019 11:45:53 +0000 (13:45 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Update SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Anatol Belski [Sat, 1 Jun 2019 11:44:44 +0000 (13:44 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Update SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Sat, 1 Jun 2019 11:44:10 +0000 (13:44 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Update SDK version for AppVeyor

6 years agoUpdate SDK version for AppVeyor
Anatol Belski [Sat, 1 Jun 2019 11:43:31 +0000 (13:43 +0200)]
Update SDK version for AppVeyor

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Sat, 1 Jun 2019 07:36:25 +0000 (09:36 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix ZTS issue regarding new Windows CTRL handling API

6 years agoFix ZTS issue regarding new Windows CTRL handling API
Christoph M. Becker [Sat, 1 Jun 2019 07:08:51 +0000 (09:08 +0200)]
Fix ZTS issue regarding new Windows CTRL handling API

php_win32_signal_system_ctrl_handler() is called from a kernel thread,
so the former initialization of `vm_interrupt_flag` has no effect,
since it is defined as thread-local.  This is, however, not necessary,
since the CTRL signal handling is supposed to work only for the main
thread anyway.  We therefore change `vm_interrupt_flag` and the related
variables to true globals.

This also allows us to unmark the respective test case as XFAIL.

Furthermore, `vm_interrupt_flag` is declared as `zend_bool *`, so we
better treat it such.

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Sat, 1 Jun 2019 05:36:52 +0000 (07:36 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  skip where no groups available

6 years agoskip where no groups available
Joe Watkins [Sat, 1 Jun 2019 05:36:03 +0000 (07:36 +0200)]
skip where no groups available

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Sat, 1 Jun 2019 04:13:43 +0000 (06:13 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  only clear when showing in parallel runner

6 years agoonly clear when showing in parallel runner
Joe Watkins [Sat, 1 Jun 2019 04:13:30 +0000 (06:13 +0200)]
only clear when showing in parallel runner

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Sat, 1 Jun 2019 00:28:15 +0000 (02:28 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Change ZPP only if compiled with ICU >= 64
  Update tests for ICU 64

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Anatol Belski [Sat, 1 Jun 2019 00:27:08 +0000 (02:27 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Change ZPP only if compiled with ICU >= 64
  Update tests for ICU 64

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Sat, 1 Jun 2019 00:26:07 +0000 (02:26 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Change ZPP only if compiled with ICU >= 64
  Update tests for ICU 64

6 years agoChange ZPP only if compiled with ICU >= 64
Anatol Belski [Sat, 1 Jun 2019 00:18:56 +0000 (02:18 +0200)]
Change ZPP only if compiled with ICU >= 64

6 years agoUpdate tests for ICU 64
Nikita Popov [Fri, 31 May 2019 13:39:03 +0000 (15:39 +0200)]
Update tests for ICU 64

(cherry picked from commit 8a8bc5c4529223ecf4f421b1bed03618f7394335)

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Fri, 31 May 2019 18:51:18 +0000 (20:51 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix var name

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Anatol Belski [Fri, 31 May 2019 18:50:53 +0000 (20:50 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix var name

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Anatol Belski [Fri, 31 May 2019 18:50:17 +0000 (20:50 +0200)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix var name

6 years agoFix var name
Anatol Belski [Fri, 31 May 2019 18:49:42 +0000 (20:49 +0200)]
Fix var name

6 years agoMerge branch 'PHP-7.4'
Christoph M. Becker [Fri, 31 May 2019 17:01:41 +0000 (19:01 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  SimpleXMLElement and ResourceBundle implement Countable

6 years agoSimpleXMLElement and ResourceBundle implement Countable
Thomas Gerbet [Wed, 29 May 2019 14:45:10 +0000 (16:45 +0200)]
SimpleXMLElement and ResourceBundle implement Countable

Both classes already have a count() method and are considered
countable by \is_countable().

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 31 May 2019 15:00:31 +0000 (17:00 +0200)]
Merge branch 'PHP-7.4'

6 years agoRemove confusing spkstr checks
Nikita Popov [Fri, 31 May 2019 14:59:46 +0000 (16:59 +0200)]
Remove confusing spkstr checks

This is a required parameter, it can never be NULL.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 31 May 2019 13:40:04 +0000 (15:40 +0200)]
Merge branch 'PHP-7.4'

6 years agoUpdate tests for ICU 64
Nikita Popov [Fri, 31 May 2019 13:39:03 +0000 (15:39 +0200)]
Update tests for ICU 64

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 31 May 2019 12:04:27 +0000 (14:04 +0200)]
Merge branch 'PHP-7.4'