]> granicus.if.org Git - php/log
php
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'

6 years agoFix NO_INTERACTION handling in parallel test runner
Nikita Popov [Fri, 31 May 2019 12:03:22 +0000 (14:03 +0200)]
Fix NO_INTERACTION handling in parallel test runner

This printing shouldn't depend on NO_INTERACTION, the variable that
controls this is SHOW_ONLY_GROUPS.

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

6 years agoFixed uninitialized var warning
Nikita Popov [Fri, 31 May 2019 10:55:13 +0000 (12:55 +0200)]
Fixed uninitialized var warning

Causes build failure on release+zts azure build. I'm rewriting this
code to separate the if/else handling, because they don't really
have anything in common anyway...

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

6 years agoAdd junit support for parallel test runner
Nikita Popov [Fri, 31 May 2019 10:38:06 +0000 (12:38 +0200)]
Add junit support for parallel test runner

6 years agorun-tests: Remove redundant 'suites' key
Nikita Popov [Fri, 31 May 2019 10:04:23 +0000 (12:04 +0200)]
run-tests: Remove redundant 'suites' key

We don't have nestead testsuites or similar, so drop this confusing
key.

6 years agoA few more func info updates
Nikita Popov [Fri, 31 May 2019 09:24:15 +0000 (11:24 +0200)]
A few more func info updates

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Fri, 31 May 2019 09:22:08 +0000 (12:22 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Better hot/cold code splitting

6 years agoBetter hot/cold code splitting
Dmitry Stogov [Fri, 31 May 2019 09:09:06 +0000 (12:09 +0300)]
Better hot/cold code splitting

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

6 years agoRemove stream_socket_sendto.phpt
Nikita Popov [Fri, 31 May 2019 09:08:33 +0000 (11:08 +0200)]
Remove stream_socket_sendto.phpt

Fails for me locally due to different number of warnings with
different messages. Rather than adding more wildcards I'm dropping
this test entirely, as it doesn't seem to test anything particularly
useful.

6 years agoUse TypeError instead of warning in implode()
Nikita Popov [Fri, 31 May 2019 09:04:13 +0000 (11:04 +0200)]
Use TypeError instead of warning in implode()

These are again manual argument type checks.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Fri, 31 May 2019 08:54:58 +0000 (10:54 +0200)]
Merge branch 'PHP-7.4'

6 years agoAdd CONFLCITS file for fpm
Nikita Popov [Fri, 31 May 2019 08:54:32 +0000 (10:54 +0200)]
Add CONFLCITS file for fpm

We should not run FPM tests in parallel due to port clashes.

6 years agoConvert some warnings to TypeErrors in array functions
Nikita Popov [Fri, 31 May 2019 08:35:07 +0000 (10:35 +0200)]
Convert some warnings to TypeErrors in array functions

This is manual type and argument number checking code that was not
covered by the zpp move to TypeErrors.

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

6 years agoMark sapi_windows_set_ctrl_handler.phpt as XFAIL
Nikita Popov [Fri, 31 May 2019 07:17:51 +0000 (09:17 +0200)]
Mark sapi_windows_set_ctrl_handler.phpt as XFAIL

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 30 May 2019 22:00:12 +0000 (01:00 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fixed compilation warning

6 years agoFixed compilation warning
Dmitry Stogov [Thu, 30 May 2019 21:59:52 +0000 (00:59 +0300)]
Fixed compilation warning

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 30 May 2019 21:32:18 +0000 (00:32 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Don't specialize "cold" handlers

6 years agoDon't specialize "cold" handlers
Dmitry Stogov [Thu, 30 May 2019 21:31:57 +0000 (00:31 +0300)]
Don't specialize "cold" handlers

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 30 May 2019 21:16:20 +0000 (00:16 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Removed useless specialization. Specialized handlers called not specialized helpers.

6 years agoRemoved useless specialization. Specialized handlers called not specialized helpers.
Dmitry Stogov [Thu, 30 May 2019 21:15:25 +0000 (00:15 +0300)]
Removed useless specialization. Specialized handlers called not specialized helpers.

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 30 May 2019 21:15:18 +0000 (00:15 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Reduce register pressure by reloading values on CPUs with few general purpose registers

6 years agoReduce register pressure by reloading values on CPUs with few general purpose registers
Dmitry Stogov [Thu, 30 May 2019 21:14:10 +0000 (00:14 +0300)]
Reduce register pressure by reloading values on CPUs with few general purpose registers

6 years agoUpdate the DatePeriod read/write handlers
Craig Duncan [Tue, 28 May 2019 19:03:19 +0000 (20:03 +0100)]
Update the DatePeriod read/write handlers

6 years agoMerge branch 'PHP-7.4'
Craig Duncan [Thu, 30 May 2019 18:15:58 +0000 (19:15 +0100)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Add a test for bug #65672
  Ensure the internal properties cannot be overwritten

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Craig Duncan [Thu, 30 May 2019 18:14:04 +0000 (19:14 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Add a test for bug #65672
  Ensure the internal properties cannot be overwritten

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Craig Duncan [Thu, 30 May 2019 17:55:55 +0000 (18:55 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Add a test for bug #65672
  Ensure the internal properties cannot be overwritten

6 years agoAdd a test for bug #65672
Craig Duncan [Tue, 20 Feb 2018 21:12:43 +0000 (21:12 +0000)]
Add a test for bug #65672

6 years agoEnsure the internal properties cannot be overwritten
Craig Duncan [Tue, 20 Feb 2018 21:11:03 +0000 (21:11 +0000)]
Ensure the internal properties cannot be overwritten

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Thu, 30 May 2019 17:43:17 +0000 (20:43 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Disable "bad" optimisations only for emulation loop

6 years agoDisable "bad" optimisations only for emulation loop
Dmitry Stogov [Thu, 30 May 2019 17:35:30 +0000 (20:35 +0300)]
Disable "bad" optimisations only for emulation loop

6 years agoAdd boolean return type for is_* functions
Gabriel Caruso [Wed, 29 May 2019 04:15:47 +0000 (01:15 -0300)]
Add boolean return type for is_* functions

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Thu, 30 May 2019 12:09:48 +0000 (14:09 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Update libmagic.patch

6 years ago[ci skip] Update libmagic.patch
Anatol Belski [Thu, 30 May 2019 12:09:00 +0000 (14:09 +0200)]
[ci skip] Update libmagic.patch

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Thu, 30 May 2019 12:03:28 +0000 (14:03 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Update year

6 years ago[ci skip] Update year
Anatol Belski [Thu, 30 May 2019 12:02:54 +0000 (14:02 +0200)]
[ci skip] Update year

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Thu, 30 May 2019 12:00:14 +0000 (14:00 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  [ci skip] Update NEWS

6 years ago[ci skip] Update NEWS
Anatol Belski [Thu, 30 May 2019 11:59:21 +0000 (13:59 +0200)]
[ci skip] Update NEWS

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Thu, 30 May 2019 11:33:02 +0000 (13:33 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Add test for bug #78075, json detection

6 years agoAdd test for bug #78075, json detection
Anatol Belski [Thu, 30 May 2019 11:31:48 +0000 (13:31 +0200)]
Add test for bug #78075, json detection

6 years agoMerge branch 'PHP-7.4'
Joe Watkins [Thu, 30 May 2019 05:46:50 +0000 (07:46 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  have parallel test runner respect NO_INTERACTION

6 years agohave parallel test runner respect NO_INTERACTION
Joe Watkins [Thu, 30 May 2019 05:46:31 +0000 (07:46 +0200)]
have parallel test runner respect NO_INTERACTION

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Thu, 30 May 2019 00:48:37 +0000 (02:48 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Partially reapply ba40f505e5804a5f62a1e220b0dce9d417a27f4d

6 years agoPartially reapply ba40f505e5804a5f62a1e220b0dce9d417a27f4d
Anatol Belski [Thu, 30 May 2019 00:48:01 +0000 (02:48 +0200)]
Partially reapply ba40f505e5804a5f62a1e220b0dce9d417a27f4d

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Thu, 30 May 2019 00:35:28 +0000 (02:35 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Fix datatype

6 years agoFix datatype
Anatol Belski [Thu, 30 May 2019 00:34:35 +0000 (02:34 +0200)]
Fix datatype

6 years agoMerge branch 'PHP-7.4'
Anatol Belski [Thu, 30 May 2019 00:23:20 +0000 (02:23 +0200)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Ported limagic 5.37

6 years agoPorted limagic 5.37
Anatol Belski [Thu, 30 May 2019 00:18:48 +0000 (02:18 +0200)]
Ported limagic 5.37

6 years agoFix FPM tests for PHP 8
Nikita Popov [Wed, 29 May 2019 15:31:10 +0000 (17:31 +0200)]
Fix FPM tests for PHP 8

6 years agoRemove get() object handler
Nikita Popov [Wed, 29 May 2019 09:52:55 +0000 (11:52 +0200)]
Remove get() object handler

Now that set() is gone, there is little point in keeping get(), as
it is essentially just a different way of writing cast_object()
now.

Closes GH-4202.

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 29 May 2019 15:07:52 +0000 (17:07 +0200)]
Merge branch 'PHP-7.4'

6 years agoRun sapi tests when running all tests
Nikita Popov [Wed, 29 May 2019 15:07:12 +0000 (17:07 +0200)]
Run sapi tests when running all tests

6 years agoUpdate phpdbg oplog test
Nikita Popov [Wed, 29 May 2019 15:05:01 +0000 (17:05 +0200)]
Update phpdbg oplog test

6 years agoUpdate cli reflection test
Nikita Popov [Wed, 29 May 2019 15:02:36 +0000 (17:02 +0200)]
Update cli reflection test

6 years agoRemove two zpp tests in sapi/cli/tests
Nikita Popov [Wed, 29 May 2019 15:00:12 +0000 (17:00 +0200)]
Remove two zpp tests in sapi/cli/tests

These fail on master -- apparently we're not running these tests...

6 years agoescapeshellarg/escapeshellcmd: Throw TypeError instead of E_ERROR
Nikita Popov [Wed, 29 May 2019 14:57:16 +0000 (16:57 +0200)]
escapeshellarg/escapeshellcmd: Throw TypeError instead of E_ERROR

6 years agoMerge branch 'PHP-7.4'
Nikita Popov [Wed, 29 May 2019 14:48:37 +0000 (16:48 +0200)]
Merge branch 'PHP-7.4'

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Wed, 29 May 2019 14:48:28 +0000 (16:48 +0200)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoSCCP: Fix leak when determining TYPE_CHECK from type info
Nikita Popov [Wed, 29 May 2019 14:47:19 +0000 (16:47 +0200)]
SCCP: Fix leak when determining TYPE_CHECK from type info

As TYPE_CHECK is the only opcode where we do something like this,
I'm adding this hack.

6 years agoUpdate more func info information for ext/standard
Nikita Popov [Wed, 29 May 2019 13:30:06 +0000 (15:30 +0200)]
Update more func info information for ext/standard

6 years agoEnable JIT in Travis build
Nikita Popov [Tue, 28 May 2019 09:44:24 +0000 (11:44 +0200)]
Enable JIT in Travis build

All tests should pass now.

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 29 May 2019 10:59:01 +0000 (13:59 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  zend_assign_to_variable() optimization

6 years agozend_assign_to_variable() optimization
Dmitry Stogov [Wed, 29 May 2019 10:58:37 +0000 (13:58 +0300)]
zend_assign_to_variable() optimization

6 years agoDisable JIT for ext/ffi/tests/200.phpt
Nikita Popov [Wed, 29 May 2019 10:11:32 +0000 (12:11 +0200)]
Disable JIT for ext/ffi/tests/200.phpt

JIT assumes that the zend_write callback will not be changed at
runtime, which I think is reasonable, so don't run this test
under JIT.

6 years agoDon't JIT functions with many blocks
Nikita Popov [Wed, 29 May 2019 09:48:40 +0000 (11:48 +0200)]
Don't JIT functions with many blocks

Avoids a stack overflow in Zend/tests/runtime_compile_time_binary_operands.php
that happens in recursive RPO calculation. We could make that code
non-recursive, but I don't think it makes sense to JIT this kind of
function in the first place.

6 years agoMerge branch 'PHP-7.4'
Dmitry Stogov [Wed, 29 May 2019 08:50:27 +0000 (11:50 +0300)]
Merge branch 'PHP-7.4'

* PHP-7.4:
  Mark "cold" functions

6 years agoMark "cold" functions
Dmitry Stogov [Wed, 29 May 2019 08:31:46 +0000 (11:31 +0300)]
Mark "cold" functions