]> granicus.if.org Git - php/log
php
8 years agofix error text
Anatol Belski [Tue, 5 Jul 2016 13:58:55 +0000 (15:58 +0200)]
fix error text

8 years agofix datatypes and add range checks
Anatol Belski [Tue, 5 Jul 2016 13:43:01 +0000 (15:43 +0200)]
fix datatypes and add range checks

8 years agoClosure::fromCallable(): Getting non-static method statically
Nikita Popov [Tue, 5 Jul 2016 13:51:11 +0000 (15:51 +0200)]
Closure::fromCallable(): Getting non-static method statically

As this is new functionality, I'm going directly for a TypeError,
rather than a deprecation warning.

8 years agoClosure::fromCallable(): Better LSB handling
Nikita Popov [Tue, 5 Jul 2016 13:43:27 +0000 (15:43 +0200)]
Closure::fromCallable(): Better LSB handling

The previous fix missed the "late" part of "late static binding" :)

8 years agoClosure::fromCallable(): Fix late static binding
Nikita Popov [Tue, 5 Jul 2016 13:22:13 +0000 (15:22 +0200)]
Closure::fromCallable(): Fix late static binding

8 years agore-add range check
Anatol Belski [Tue, 5 Jul 2016 10:09:22 +0000 (12:09 +0200)]
re-add range check

8 years agoClosure::fromCallable(): Use fake closures
Nikita Popov [Tue, 5 Jul 2016 13:13:36 +0000 (15:13 +0200)]
Closure::fromCallable(): Use fake closures

8 years agoClosure::fromCallable(): Fix test files and names
Nikita Popov [Tue, 5 Jul 2016 12:58:29 +0000 (14:58 +0200)]
Closure::fromCallable(): Fix test files and names

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 5 Jul 2016 13:04:10 +0000 (15:04 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix possible optimization bug

8 years agofix possible optimization bug
Anatol Belski [Tue, 5 Jul 2016 12:57:16 +0000 (14:57 +0200)]
fix possible optimization bug

8 years agoClosure::fromCallable(): Fix stack corruption
Nikita Popov [Tue, 5 Jul 2016 12:53:20 +0000 (14:53 +0200)]
Closure::fromCallable(): Fix stack corruption

So the tests work at least...

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 5 Jul 2016 12:32:49 +0000 (14:32 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Nikita Popov [Tue, 5 Jul 2016 12:31:32 +0000 (14:31 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

Conflicts:
Zend/zend_compile.c

8 years agoDon't enforce LSP if prototype method is private
Pedro Magalhães [Thu, 30 Jun 2016 07:00:33 +0000 (09:00 +0200)]
Don't enforce LSP if prototype method is private

Fixes bug #72496.

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 5 Jul 2016 10:38:14 +0000 (12:38 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  fix typo

8 years agofix typo
Anatol Belski [Tue, 5 Jul 2016 10:36:55 +0000 (12:36 +0200)]
fix typo

8 years agoRevert "fix datatype and add range check"
Anatol Belski [Tue, 5 Jul 2016 08:34:25 +0000 (10:34 +0200)]
Revert "fix datatype and add range check"

This reverts commit 14bdd8246c50b55d1ddf838b45de34065e8613c4.

8 years agoFixed tests
Dmitry Stogov [Tue, 5 Jul 2016 08:30:55 +0000 (11:30 +0300)]
Fixed tests

8 years agofix datatype and add range check
Anatol Belski [Tue, 5 Jul 2016 08:03:40 +0000 (10:03 +0200)]
fix datatype and add range check

8 years agoSome cleanup:
Xinchen Hui [Tue, 5 Jul 2016 07:31:46 +0000 (15:31 +0800)]
Some cleanup:

1. use c89 comments
2. exception should not be swallowd
3. ZVAL_OBJ may have problem if obj is NULL in the feature(who knows)

8 years agoMerge branch 'pull-request/1929'
Aaron Piotrowski [Tue, 5 Jul 2016 07:29:53 +0000 (02:29 -0500)]
Merge branch 'pull-request/1929'

8 years agoUpdate NEWS and UPGRADING
Aaron Piotrowski [Tue, 5 Jul 2016 07:10:33 +0000 (02:10 -0500)]
Update NEWS and UPGRADING

8 years agoMerge branch 'throw-error-in-extensions'
Aaron Piotrowski [Tue, 5 Jul 2016 07:08:39 +0000 (02:08 -0500)]
Merge branch 'throw-error-in-extensions'

8 years agoupgrading entry for Closure::fromCallable
Joe Watkins [Tue, 5 Jul 2016 07:03:00 +0000 (08:03 +0100)]
upgrading entry for Closure::fromCallable

8 years agonews entry for Closure::fromCallable
Joe Watkins [Tue, 5 Jul 2016 07:01:31 +0000 (08:01 +0100)]
news entry for Closure::fromCallable

8 years agoMerge branch 'pull-request/1906'
Joe Watkins [Tue, 5 Jul 2016 06:57:06 +0000 (07:57 +0100)]
Merge branch 'pull-request/1906'

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 5 Jul 2016 06:10:26 +0000 (08:10 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  prepare next version

8 years agoprepare next version
Anatol Belski [Tue, 5 Jul 2016 06:09:20 +0000 (08:09 +0200)]
prepare next version

8 years agoIncrease ODBCVER to 3.5 by default
Anatol Belski [Mon, 4 Jul 2016 14:48:59 +0000 (16:48 +0200)]
Increase ODBCVER to 3.5 by default

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 4 Jul 2016 09:07:54 +0000 (11:07 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  add missing NEWS entry

8 years agoadd missing news entry
Anatol Belski [Mon, 4 Jul 2016 09:07:34 +0000 (11:07 +0200)]
add missing news entry

8 years agoadd missing NEWS entry
Anatol Belski [Mon, 4 Jul 2016 09:05:49 +0000 (11:05 +0200)]
add missing NEWS entry

8 years agoUpdate NEWS and UPGRADING
Aaron Piotrowski [Mon, 4 Jul 2016 04:35:40 +0000 (23:35 -0500)]
Update NEWS and UPGRADING

8 years agoMerge branch 'iterable'
Aaron Piotrowski [Mon, 4 Jul 2016 04:12:37 +0000 (23:12 -0500)]
Merge branch 'iterable'

8 years agoMerge branch 'master' into iterable
Aaron Piotrowski [Mon, 4 Jul 2016 03:42:10 +0000 (22:42 -0500)]
Merge branch 'master' into iterable

8 years agoMerge branch 'PHP-7.0'
Christoph M. Becker [Mon, 4 Jul 2016 01:20:01 +0000 (03:20 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Christoph M. Becker [Mon, 4 Jul 2016 01:18:50 +0000 (03:18 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agoFix typo in comment
Christoph M. Becker [Mon, 4 Jul 2016 01:17:17 +0000 (03:17 +0200)]
Fix typo in comment

8 years agoMerge branch 'PHP-7.0'
Ferenc Kovacs [Sun, 3 Jul 2016 21:37:58 +0000 (23:37 +0200)]
Merge branch 'PHP-7.0'

8 years agoMerge branch 'PHP-5.6' into PHP-7.0
Ferenc Kovacs [Sun, 3 Jul 2016 21:35:00 +0000 (23:35 +0200)]
Merge branch 'PHP-5.6' into PHP-7.0

8 years agothis was actually fixed in 5.6.23
Ferenc Kovacs [Sun, 3 Jul 2016 21:31:32 +0000 (23:31 +0200)]
this was actually fixed in 5.6.23

8 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Sun, 3 Jul 2016 15:57:42 +0000 (23:57 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

* 'PHP-7.0' of git.php.net:/php-src:
  update NEWS
  extend test
  Fixed bug #72534 stream_socket_get_name crashes

8 years agoUpdate NEWS
Xinchen Hui [Sun, 3 Jul 2016 15:57:23 +0000 (23:57 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 3 Jul 2016 15:57:02 +0000 (23:57 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72538 (readline_redisplay crashes php)

8 years agoFixed bug #72538 (readline_redisplay crashes php)
Xinchen Hui [Sun, 3 Jul 2016 15:56:27 +0000 (23:56 +0800)]
Fixed bug #72538 (readline_redisplay crashes php)

8 years agoupdate NEWS
Anatol Belski [Sun, 3 Jul 2016 15:16:53 +0000 (17:16 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Sun, 3 Jul 2016 15:16:10 +0000 (17:16 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS
  extend test
  Fixed bug #72534 stream_socket_get_name crashes

8 years agoupdate NEWS
Anatol Belski [Sun, 3 Jul 2016 15:15:19 +0000 (17:15 +0200)]
update NEWS

8 years agoextend test
Anatol Belski [Sun, 3 Jul 2016 15:13:46 +0000 (17:13 +0200)]
extend test

8 years agoFixed bug #72534 stream_socket_get_name crashes
Anatol Belski [Sun, 3 Jul 2016 15:09:19 +0000 (17:09 +0200)]
Fixed bug #72534 stream_socket_get_name crashes

8 years agoUpdate NEWS and UPGRADING
Christoph M. Becker [Sun, 3 Jul 2016 10:43:30 +0000 (12:43 +0200)]
Update NEWS and UPGRADING

8 years agoMerge branch 'pull-request/1945'
Christoph M. Becker [Sun, 3 Jul 2016 10:33:27 +0000 (12:33 +0200)]
Merge branch 'pull-request/1945'

8 years agoupdate NEWS
Xinchen Hui [Sun, 3 Jul 2016 01:31:06 +0000 (09:31 +0800)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sun, 3 Jul 2016 01:30:48 +0000 (09:30 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72531 (ps_files_cleanup_dir Buffer overflow)

8 years agoFixed bug #72531 (ps_files_cleanup_dir Buffer overflow)
Xinchen Hui [Sun, 3 Jul 2016 01:30:33 +0000 (09:30 +0800)]
Fixed bug #72531 (ps_files_cleanup_dir Buffer overflow)

8 years agoupdate NEWS
Anatol Belski [Fri, 1 Jul 2016 16:45:27 +0000 (18:45 +0200)]
update NEWS

8 years agoMerge branch 'PHP-7.0'
Anatol Belski [Fri, 1 Jul 2016 16:45:02 +0000 (18:45 +0200)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS
  Fixed bug #72498 variant_date_from_timestamp null dereference

8 years agoupdate NEWS
Anatol Belski [Fri, 1 Jul 2016 16:44:20 +0000 (18:44 +0200)]
update NEWS

8 years agoFixed bug #72498 variant_date_from_timestamp null dereference
Anatol Belski [Fri, 1 Jul 2016 16:41:50 +0000 (18:41 +0200)]
Fixed bug #72498 variant_date_from_timestamp null dereference

8 years agoFixed bug #72523 (dtrace issue with reflection (failed test))
Xinchen Hui [Fri, 1 Jul 2016 10:50:35 +0000 (18:50 +0800)]
Fixed bug #72523 (dtrace issue with reflection (failed test))

8 years agoPrevent inlining through call_user_func() and call_user_func_array()
Dmitry Stogov [Thu, 30 Jun 2016 21:16:54 +0000 (00:16 +0300)]
Prevent inlining through call_user_func() and call_user_func_array()

8 years agoFixed ext/opcache/tests/bug70207.phpt
Dmitry Stogov [Thu, 30 Jun 2016 18:50:57 +0000 (21:50 +0300)]
Fixed ext/opcache/tests/bug70207.phpt

8 years agoIntroduce new CHECK_VAR instruction to keep warnings about undefined variables.
Dmitry Stogov [Thu, 30 Jun 2016 18:40:34 +0000 (21:40 +0300)]
Introduce new CHECK_VAR instruction to keep warnings about undefined variables.

8 years agoDisable inlining for $this->foo(), because $this may be not in object context
Dmitry Stogov [Thu, 30 Jun 2016 18:05:48 +0000 (21:05 +0300)]
Disable inlining for $this->foo(), because $this may be not in object context

8 years agoDisable inlining for $this->foo(), because $this may be used not in object context
Dmitry Stogov [Thu, 30 Jun 2016 18:03:08 +0000 (21:03 +0300)]
Disable inlining for $this->foo(), because $this may be used not in object context

8 years agoFixed incorrect constant propagation
Dmitry Stogov [Thu, 30 Jun 2016 17:48:16 +0000 (20:48 +0300)]
Fixed incorrect constant propagation

8 years agoSwitch failure to register class back to E_ERROR
Aaron Piotrowski [Thu, 30 Jun 2016 17:01:29 +0000 (12:01 -0500)]
Switch failure to register class back to E_ERROR

8 years agoFix RT_CONSTANT_EX typo
Nikita Popov [Thu, 30 Jun 2016 15:42:57 +0000 (17:42 +0200)]
Fix RT_CONSTANT_EX typo

8 years agoInline simple constant functions
Dmitry Stogov [Thu, 30 Jun 2016 14:04:25 +0000 (17:04 +0300)]
Inline simple constant functions

8 years agoMerge branch 'json_api_return_codes'
Jakub Zelenka [Wed, 29 Jun 2016 19:51:10 +0000 (20:51 +0100)]
Merge branch 'json_api_return_codes'

8 years agoRemove openssl test 029 as it is incomplete
Jakub Zelenka [Wed, 29 Jun 2016 19:49:14 +0000 (20:49 +0100)]
Remove openssl test 029 as it is incomplete

8 years agoReturn null instead of false
Aaron Piotrowski [Wed, 29 Jun 2016 15:02:17 +0000 (10:02 -0500)]
Return null instead of false

8 years agoAdd missed return replacing bail out
Aaron Piotrowski [Wed, 29 Jun 2016 14:56:25 +0000 (09:56 -0500)]
Add missed return replacing bail out

8 years agoclanup
Dmitry Stogov [Wed, 29 Jun 2016 14:53:39 +0000 (17:53 +0300)]
clanup

8 years agoSwap type check order
Aaron Piotrowski [Wed, 29 Jun 2016 14:36:33 +0000 (09:36 -0500)]
Swap type check order

8 years agoRevert "Skip new OpenSSL ECC tests on 32bit"
Dmitry Stogov [Wed, 29 Jun 2016 08:43:31 +0000 (11:43 +0300)]
Revert "Skip new OpenSSL ECC tests on 32bit"

This reverts commit 0a4f89bc292c3c82ff719cd79e66ef96c2079526.

8 years agoImprove php-fpm systemd unit file
Remi Collet [Wed, 29 Jun 2016 04:48:06 +0000 (06:48 +0200)]
Improve php-fpm systemd unit file

- use PrivateTmp, now available everwhere, for better security
- add comment about how to customize the unit file

8 years agoAdd return code from json API functions
Jakub Zelenka [Tue, 28 Jun 2016 19:49:38 +0000 (20:49 +0100)]
Add return code from json API functions

It will allow fix few json bugs in a better way

8 years agoSkip new OpenSSL ECC tests on 32bit
Jakub Zelenka [Tue, 28 Jun 2016 19:39:31 +0000 (20:39 +0100)]
Skip new OpenSSL ECC tests on 32bit

There has been reported that they fail on 32bit so
they will be skipped till the issue is investigated.

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 28 Jun 2016 19:36:28 +0000 (21:36 +0200)]
Merge branch 'PHP-7.0'

8 years agoDon't use FUNC_ARG fetches for call_user_func()
Nikita Popov [Tue, 28 Jun 2016 19:34:20 +0000 (21:34 +0200)]
Don't use FUNC_ARG fetches for call_user_func()

This makes no sense -- SEND_USER can't even handle INDIRECTs.

8 years agoFix typos in UPGRADING
Jakub Zelenka [Tue, 28 Jun 2016 19:27:11 +0000 (20:27 +0100)]
Fix typos in UPGRADING

8 years agoMerge branch 'PHP-7.0'
Nikita Popov [Tue, 28 Jun 2016 18:57:55 +0000 (20:57 +0200)]
Merge branch 'PHP-7.0'

Conflicts:
Zend/zend_vm_def.h
Zend/zend_vm_execute.h

8 years agoMake call_user_func() on reference args consistent
Nikita Popov [Tue, 28 Jun 2016 18:43:38 +0000 (20:43 +0200)]
Make call_user_func() on reference args consistent

Previously reference arguments were allowed if call_user_func()
was compiled to SEND_USER and not otherwise. Make it consistent
by always forbidding them.

8 years agoRemove assert for now
Nikita Popov [Tue, 28 Jun 2016 16:47:29 +0000 (18:47 +0200)]
Remove assert for now

8 years agoUse DO_UCALL for method calls
Nikita Popov [Tue, 28 Jun 2016 09:57:04 +0000 (11:57 +0200)]
Use DO_UCALL for method calls

8 years agoMore type inferences fixes
Nikita Popov [Thu, 16 Jun 2016 12:41:33 +0000 (14:41 +0200)]
More type inferences fixes

8 years agoFixed compilation warnings
Dmitry Stogov [Tue, 28 Jun 2016 08:37:51 +0000 (11:37 +0300)]
Fixed compilation warnings

8 years agoFix bug #72099: xml_parse_into_struct segmentation fault
Stanislav Malyshev [Tue, 28 Jun 2016 08:22:55 +0000 (01:22 -0700)]
Fix bug #72099: xml_parse_into_struct segmentation fault

8 years agoFixed build
Xinchen Hui [Tue, 28 Jun 2016 07:54:20 +0000 (15:54 +0800)]
Fixed build

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 07:39:10 +0000 (15:39 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed test

8 years agoFixed test
Xinchen Hui [Tue, 28 Jun 2016 07:39:02 +0000 (15:39 +0800)]
Fixed test

8 years agoUpdate NEWS
Xinchen Hui [Tue, 28 Jun 2016 07:37:33 +0000 (15:37 +0800)]
Update NEWS

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 07:36:58 +0000 (15:36 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72508 (strange references after recursive function call and "switch" statement)

8 years agoFixed bug #72508 (strange references after recursive function call and "switch" state...
Xinchen Hui [Tue, 28 Jun 2016 07:36:50 +0000 (15:36 +0800)]
Fixed bug #72508 (strange references after recursive function call and "switch" statement)

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 03:37:20 +0000 (11:37 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  MFH: Fixed fd leak (the origin commit can not be cherry-picked)

Conflicts:
main/fastcgi.c
sapi/cli/ps_title.c

8 years agoMFH: Fixed fd leak (the origin commit can not be cherry-picked)
Xinchen Hui [Tue, 28 Jun 2016 03:32:41 +0000 (11:32 +0800)]
MFH: Fixed fd leak (the origin commit can not be cherry-picked)

8 years agoMerge branch 'master' of https://github.com/devnexen/php-src
Xinchen Hui [Tue, 28 Jun 2016 03:29:31 +0000 (11:29 +0800)]
Merge branch 'master' of https://github.com/devnexen/php-src

* 'master' of https://github.com/devnexen/php-src:
  couple of resource leaks fixes and use after free's

8 years agoUpdated NEWS
Xinchen Hui [Tue, 28 Jun 2016 03:12:22 +0000 (11:12 +0800)]
Updated NEWS

8 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 28 Jun 2016 03:12:01 +0000 (11:12 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #72505 (readfile() mangles files larger than 2G)