]> granicus.if.org Git - php/log
php
8 years agoUse new param API in date
Sara Golemon [Wed, 28 Dec 2016 17:44:20 +0000 (09:44 -0800)]
Use new param API in date

Left the zend_parse_parameters_throw() uses along because
throwing isn't currently supported by the new API.
Also left the complex parsing in DatePeriod::__construct alone
because the macros don't really stack all that well.

8 years agoUse new param API in ctype
Sara Golemon [Wed, 28 Dec 2016 17:11:53 +0000 (09:11 -0800)]
Use new param API in ctype

8 years agoMigrate curl to new parameters API
Sara Golemon [Wed, 28 Dec 2016 16:38:01 +0000 (08:38 -0800)]
Migrate curl to new parameters API

Plus a handful of char*->zend_string* conversions

8 years agoConvert bcmath to new parameter parsing API
Sara Golemon [Wed, 28 Dec 2016 07:44:18 +0000 (23:44 -0800)]
Convert bcmath to new parameter parsing API

8 years agoUse zend_string in bcmath params
Sara Golemon [Wed, 28 Dec 2016 07:35:38 +0000 (23:35 -0800)]
Use zend_string in bcmath params

8 years agoCorrect function protos in intl/idn
Sara Golemon [Wed, 28 Dec 2016 06:52:26 +0000 (22:52 -0800)]
Correct function protos in intl/idn

8 years agoUse zend_string in intl/idn
Sara Golemon [Wed, 28 Dec 2016 06:47:16 +0000 (22:47 -0800)]
Use zend_string in intl/idn

8 years agoSimplify error path in intl/idn
Sara Golemon [Wed, 28 Dec 2016 06:37:29 +0000 (22:37 -0800)]
Simplify error path in intl/idn

8 years agofix uninitialized value
Anatol Belski [Tue, 27 Dec 2016 22:43:13 +0000 (23:43 +0100)]
fix uninitialized value

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Tue, 27 Dec 2016 21:22:14 +0000 (22:22 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 27 Dec 2016 21:22:05 +0000 (22:22 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoDisable AppVeyor fast_finish
Nikita Popov [Tue, 27 Dec 2016 21:20:40 +0000 (22:20 +0100)]
Disable AppVeyor fast_finish

As NTS and TS fail in different ways, we want to see both.

8 years agoFixed typo in "session_module_name"
Graham Campbell [Tue, 27 Dec 2016 19:39:15 +0000 (19:39 +0000)]
Fixed typo in "session_module_name"

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Tue, 27 Dec 2016 20:52:56 +0000 (21:52 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Tue, 27 Dec 2016 20:52:33 +0000 (21:52 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoMakes the sapi web server and curl tests more reliable
Mitch Hagstrand [Fri, 23 Dec 2016 20:07:47 +0000 (12:07 -0800)]
Makes the sapi web server and curl tests more reliable

1. Increased the time for the sapi/cli/tests/php_cli_server.inc to accept connections.
2. sapi/cli/tests/php_cli_server.inc has errors messages and a `stop` function.
3. bug67429.phpt uses the `stop` function to shutdown the webserver before starting a new one.
4. Removed ext/curl/tests/bug48203_multi-win32.phpt test now that ext/curl/tests/bug48203_multi.phpt
   runs on Windows also.

8 years agoFixes the curl tests to be more reliable in Travis CI
Mitch Hagstrand [Tue, 20 Dec 2016 10:37:48 +0000 (02:37 -0800)]
Fixes the curl tests to be more reliable in Travis CI

1. Increases the amount of time for the PHP built-in server to accept a connection
2. Outputs an error if the PHP built-in server fails
3. In bug48203_multi.phpt the test no longer starts and stops multiple PHP built-in servers

8 years agofork tests
Anatol Belski [Mon, 26 Dec 2016 20:37:34 +0000 (21:37 +0100)]
fork tests

8 years agoNew parsing parameters in curl
dedal.qq [Sun, 25 Dec 2016 00:00:02 +0000 (03:00 +0300)]
New parsing parameters in curl

8 years agoReduce redundant storage of required number of parameters to required flag
Barbu Paul - Gheorghe [Mon, 26 Dec 2016 18:39:19 +0000 (10:39 -0800)]
Reduce redundant storage of required number of parameters to required flag

The required field, until now, stored how many required parameters
the function, it belongs to, has. I think this is rather problematic
because it's a feature of the function to know how many required
parameters it has, not of the parameter itself. The parameter should
only say if it's required or optional (among other unrelated things).

Also storing the function's number of required parameters in every
parameter was redundant since the _zend_function structure already
has that information. And storing the same value (number of required
parameters) across multiple variables is inefficient and could lead
to inconsistencies.

8 years agoMerge branch 'PHP-7.1'
Sara Golemon [Mon, 26 Dec 2016 06:33:11 +0000 (22:33 -0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Interpretation of curl_setopt values for boolean parameters

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Mon, 26 Dec 2016 06:33:03 +0000 (22:33 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Interpretation of curl_setopt values for boolean parameters

8 years agoInterpretation of curl_setopt values for boolean parameters
dedal.qq [Tue, 13 Dec 2016 21:52:16 +0000 (00:52 +0300)]
Interpretation of curl_setopt values for boolean parameters

8 years agoMerge branch 'PHP-7.1'
Sara Golemon [Mon, 26 Dec 2016 06:18:27 +0000 (22:18 -0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Remove extraneous parentheses in conditions

8 years agoRemove extraneous parentheses in conditions
Sébastien Santoro [Thu, 22 Dec 2016 21:01:20 +0000 (21:01 +0000)]
Remove extraneous parentheses in conditions

The zend_vm_gen.php generator now checks if the condition is already
enclosed by parentheses, and them only if needed.

This fixes nine clang/llvm parentheses-equality warnings.

8 years agoMerge branch 'PHP-7.1'
Sara Golemon [Mon, 26 Dec 2016 06:07:29 +0000 (22:07 -0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixes #65689. PDO_Firebrid / exec() does not free allocated statement.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Sara Golemon [Mon, 26 Dec 2016 06:07:09 +0000 (22:07 -0800)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixes #65689. PDO_Firebrid / exec() does not free allocated statement.

8 years agoFixes #65689. PDO_Firebrid / exec() does not free allocated statement.
Dorin Marcoci [Sat, 24 Dec 2016 11:57:03 +0000 (13:57 +0200)]
Fixes #65689. PDO_Firebrid / exec() does not free allocated statement.

8 years agoFix tests for appveyor
Yasuo Ohgaki [Fri, 23 Dec 2016 23:50:28 +0000 (08:50 +0900)]
Fix tests for appveyor

8 years agoMerge branch 'PHP-7.1'
Bob Weinand [Thu, 22 Dec 2016 22:40:24 +0000 (23:40 +0100)]
Merge branch 'PHP-7.1'

Also inline alpn_ctx in openssl_netstream_data (no need for the extra allocation there)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Thu, 22 Dec 2016 22:34:51 +0000 (23:34 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix alpn_ctx leaking in openssl
Bob Weinand [Thu, 22 Dec 2016 22:34:07 +0000 (23:34 +0100)]
Fix alpn_ctx leaking in openssl

8 years agoMerge branch 'PHP-7.1'
Bob Weinand [Thu, 22 Dec 2016 14:31:58 +0000 (15:31 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Thu, 22 Dec 2016 14:31:39 +0000 (15:31 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFixed bug #73373 (deflate_add does not verify that output was not truncated)
Bob Weinand [Thu, 22 Dec 2016 14:29:17 +0000 (15:29 +0100)]
Fixed bug #73373 (deflate_add does not verify that output was not truncated)

8 years agoPath handling related refactorings
Anatol Belski [Thu, 22 Dec 2016 13:56:47 +0000 (14:56 +0100)]
Path handling related refactorings

Primarily related to the path handling datatypes, to avoid unnecessary
casts, where possible. Also some rework to avoid code dup. Probably
more places are to go, even not path related, primarily to have less
casts and unsigned integers where possible. That way, we've not only
less warnings and casts, but are also safer with regard to the
integer overflows. OFC it's not a panacea, but still significantly
reduces the vulnerability potential.

8 years agoFinish remaining replacement uint => uint32_t
Anatol Belski [Thu, 22 Dec 2016 13:32:02 +0000 (14:32 +0100)]
Finish remaining replacement uint => uint32_t

Tthe core should be normalized now, no uints anymore

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Thu, 22 Dec 2016 11:47:50 +0000 (12:47 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Thu, 22 Dec 2016 11:47:29 +0000 (12:47 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix IS_UNDEF comparisons in opcache
Sébastien Santoro [Wed, 21 Dec 2016 21:14:04 +0000 (21:14 +0000)]
Fix IS_UNDEF comparisons in opcache

These conditions were formerly `!q->pData` and `!p->pData`, and should
now be detected as undefined variables, using the special type IS_UNDEF.

Incidentally, this syntax raised a logical-not-parentheses compiler
warning, now gone.

8 years agofix min supported versions
Anatol Belski [Thu, 22 Dec 2016 11:40:58 +0000 (12:40 +0100)]
fix min supported versions

8 years agoUpdate NEWS
Yasuo Ohgaki [Thu, 22 Dec 2016 07:03:55 +0000 (16:03 +0900)]
Update NEWS

8 years agoFix bug #73100 - Improve bug fix. Forbid to set 'user' save handler other than set_sa...
Yasuo Ohgaki [Thu, 22 Dec 2016 06:57:53 +0000 (15:57 +0900)]
Fix bug #73100 - Improve bug fix. Forbid to set 'user' save handler other than set_save_handler().

8 years agoEliminate win95nt.h
Kalle Sommer Nielsen [Thu, 22 Dec 2016 05:51:18 +0000 (06:51 +0100)]
Eliminate win95nt.h

- Most of this is builtin php.h now
- Removed some dead defines
- We now pass /D _USE_MATH_DEFINES for M_PI etc

8 years agoHmm actually it seems to be the other way around, Anatol?
Kalle Sommer Nielsen [Thu, 22 Dec 2016 04:53:13 +0000 (05:53 +0100)]
Hmm actually it seems to be the other way around, Anatol?

8 years agoMerge branch 'master' of git.php.net:php-src
Kalle Sommer Nielsen [Thu, 22 Dec 2016 04:47:00 +0000 (05:47 +0100)]
Merge branch 'master' of git.php.net:php-src

8 years agoSync the default value of --with-odbcver with the hardcoded default for ODBCVER
Kalle Sommer Nielsen [Thu, 22 Dec 2016 04:46:12 +0000 (05:46 +0100)]
Sync the default value of --with-odbcver with the hardcoded default for ODBCVER

8 years agomove the defs to the right place
Anatol Belski [Thu, 22 Dec 2016 01:17:55 +0000 (02:17 +0100)]
move the defs to the right place

8 years agoMerge branch 'PHP-7.1'
Bob Weinand [Wed, 21 Dec 2016 23:42:05 +0000 (00:42 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Wed, 21 Dec 2016 23:40:54 +0000 (00:40 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFixed bug #73704 (phpdbg shows the wrong line in files with shebang)
Bob Weinand [Wed, 21 Dec 2016 23:38:47 +0000 (00:38 +0100)]
Fixed bug #73704 (phpdbg shows the wrong line in files with shebang)

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Wed, 21 Dec 2016 21:12:17 +0000 (22:12 +0100)]
Merge branch 'PHP-7.1'

8 years agoFix string extension in negate_num_string
Nikita Popov [Wed, 21 Dec 2016 21:11:17 +0000 (22:11 +0100)]
Fix string extension in negate_num_string

Forgot to actually assign the reallocated string...

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Wed, 21 Dec 2016 20:28:36 +0000 (21:28 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Wed, 21 Dec 2016 20:28:29 +0000 (21:28 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoIncrease timing quota for small string concat test
Nikita Popov [Wed, 21 Dec 2016 20:27:47 +0000 (21:27 +0100)]
Increase timing quota for small string concat test

Test is regularly failing on Travis.

8 years agoMerge branch 'PHP-7.1'
Nikita Popov [Wed, 21 Dec 2016 20:19:28 +0000 (21:19 +0100)]
Merge branch 'PHP-7.1'

8 years agoDrop some dead code in ext/reflection
Nikita Popov [Sun, 18 Dec 2016 16:13:21 +0000 (17:13 +0100)]
Drop some dead code in ext/reflection

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Nikita Popov [Wed, 21 Dec 2016 20:18:55 +0000 (21:18 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix #73753 - Unpacked Arrays and Duplication
David Walker [Tue, 20 Dec 2016 22:48:43 +0000 (15:48 -0700)]
Fix #73753 - Unpacked Arrays and Duplication

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Wed, 21 Dec 2016 17:00:45 +0000 (18:00 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  add folds
  fix possible null dereference

8 years agoadd folds
Anatol Belski [Wed, 21 Dec 2016 16:59:45 +0000 (17:59 +0100)]
add folds

8 years agofix possible null dereference
Anatol Belski [Wed, 21 Dec 2016 16:58:34 +0000 (17:58 +0100)]
fix possible null dereference

8 years agoadd UPGRADING and NEWS items
Anatol Belski [Wed, 21 Dec 2016 15:10:38 +0000 (16:10 +0100)]
add UPGRADING and NEWS items

8 years agoRaise the supported API to win7/server 2008r2
Anatol Belski [Wed, 21 Dec 2016 14:59:45 +0000 (15:59 +0100)]
Raise the supported API to win7/server 2008r2

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Wed, 21 Dec 2016 06:27:13 +0000 (14:27 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)

8 years agoRevert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)
Xinchen Hui [Wed, 21 Dec 2016 06:24:14 +0000 (14:24 +0800)]
Revert "Reorder the oplines" (Break Zend/tests/return_types/bug71092.phpt)

This reverts commit a12f43ee2c3d27a7eb9a3c873901643df5f7197e.

8 years agoMerge branch 'PHP-7.1'
Bob Weinand [Wed, 21 Dec 2016 01:43:04 +0000 (02:43 +0100)]
Merge branch 'PHP-7.1'

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Bob Weinand [Wed, 21 Dec 2016 01:42:38 +0000 (02:42 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agoFix issue with -- in phpdbg command line
Bob Weinand [Wed, 21 Dec 2016 01:42:23 +0000 (02:42 +0100)]
Fix issue with -- in phpdbg command line

8 years agoUpdate NEWS and UPGRADING
Yasuo Ohgaki [Tue, 20 Dec 2016 23:16:38 +0000 (08:16 +0900)]
Update NEWS and UPGRADING

8 years agoMerge branch 'pull-request/2233'
Yasuo Ohgaki [Tue, 20 Dec 2016 23:07:49 +0000 (08:07 +0900)]
Merge branch 'pull-request/2233'

* pull-request/2233:
  Remove "register_globals" support codes from php/php_binary serializers. As a result, users may use PS_UNDEF_MAKER(=!) char for session variable name.

8 years agoRemove "register_globals" support codes from php/php_binary serializers.
Yasuo Ohgaki [Wed, 7 Dec 2016 09:23:11 +0000 (18:23 +0900)]
Remove "register_globals" support codes from php/php_binary serializers.
As a result, users may use PS_UNDEF_MAKER(=!) char for session variable name.

8 years agoMerge branch 'PHP-7.1'
Bob Weinand [Tue, 20 Dec 2016 19:18:53 +0000 (20:18 +0100)]
Merge branch 'PHP-7.1'

8 years agoFixed bug #73794 (Crash (out of memory) when using run and # command separator)
Bob Weinand [Tue, 20 Dec 2016 19:18:36 +0000 (20:18 +0100)]
Fixed bug #73794 (Crash (out of memory) when using run and # command separator)

8 years agoMerge branch 'PHP-7.1'
Bob Weinand [Tue, 20 Dec 2016 18:49:25 +0000 (19:49 +0100)]
Merge branch 'PHP-7.1'

8 years agoFix segfault in ZTS mode when just printing and exiting in phpdbg
Bob Weinand [Tue, 20 Dec 2016 18:48:59 +0000 (19:48 +0100)]
Fix segfault in ZTS mode when just printing and exiting in phpdbg

8 years agoAdd "Sent SQL" to debug dump for emulated prepares
Adam Baratz [Tue, 20 Dec 2016 14:59:39 +0000 (09:59 -0500)]
Add "Sent SQL" to debug dump for emulated prepares

8 years agoRemove PDOStatement::activeQueryString()
Adam Baratz [Tue, 20 Dec 2016 14:58:50 +0000 (09:58 -0500)]
Remove PDOStatement::activeQueryString()

8 years agoMerge branch 'master' of git.php.net:php-src
Dmitry Stogov [Tue, 20 Dec 2016 13:54:53 +0000 (16:54 +0300)]
Merge branch 'master' of git.php.net:php-src

* 'master' of git.php.net:php-src:

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Tue, 20 Dec 2016 13:54:28 +0000 (16:54 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #73792 (invalid foreach loop hangs script)
  Fixed bug #73789 (Strange behavior of class constants in switch/case block)

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Dmitry Stogov [Tue, 20 Dec 2016 13:53:06 +0000 (16:53 +0300)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Fixed bug #73792 (invalid foreach loop hangs script)

8 years agoFixed bug #73792 (invalid foreach loop hangs script)
Dmitry Stogov [Tue, 20 Dec 2016 13:48:57 +0000 (16:48 +0300)]
Fixed bug #73792 (invalid foreach loop hangs script)

8 years agoMerge branch 'PHP-7.1'
Xinchen Hui [Tue, 20 Dec 2016 13:01:38 +0000 (21:01 +0800)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed bug #73789 (Strange behavior of class constants in switch/case block)

8 years agoFixed bug #73789 (Strange behavior of class constants in switch/case block)
Xinchen Hui [Tue, 20 Dec 2016 13:01:21 +0000 (21:01 +0800)]
Fixed bug #73789 (Strange behavior of class constants in switch/case block)

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Tue, 20 Dec 2016 01:44:40 +0000 (02:44 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  deliver the real cp also if a constant is passed

8 years agodeliver the real cp also if a constant is passed
Anatol Belski [Tue, 20 Dec 2016 01:40:44 +0000 (02:40 +0100)]
deliver the real cp also if a constant is passed

8 years agoFew micro-optimizations
Dmitry Stogov [Mon, 19 Dec 2016 12:36:37 +0000 (15:36 +0300)]
Few micro-optimizations

8 years agoMerge branch 'PHP-7.1'
Dmitry Stogov [Mon, 19 Dec 2016 08:13:21 +0000 (11:13 +0300)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Fixed arginfo

8 years agoFixed arginfo
Dmitry Stogov [Mon, 19 Dec 2016 08:13:02 +0000 (11:13 +0300)]
Fixed arginfo

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Mon, 19 Dec 2016 00:10:58 +0000 (01:10 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  update NEWS
  update NEWS
  Compatibility with Firebird & Oracle select syntax.

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Mon, 19 Dec 2016 00:08:44 +0000 (01:08 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  update NEWS
  Compatibility with Firebird & Oracle select syntax.

8 years agoupdate NEWS
Anatol Belski [Mon, 19 Dec 2016 00:08:19 +0000 (01:08 +0100)]
update NEWS

8 years agoupdate NEWS
Anatol Belski [Mon, 19 Dec 2016 00:07:08 +0000 (01:07 +0100)]
update NEWS

8 years agoCompatibility with Firebird & Oracle select syntax.
Dorin Marcoci [Sat, 17 Dec 2016 19:34:32 +0000 (21:34 +0200)]
Compatibility with Firebird & Oracle select syntax.

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sun, 18 Dec 2016 23:53:17 +0000 (00:53 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  fix proto

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 18 Dec 2016 23:52:01 +0000 (00:52 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

8 years agofix proto
Anatol Belski [Sun, 18 Dec 2016 23:50:29 +0000 (00:50 +0100)]
fix proto

8 years agoMerge branch 'PHP-7.1'
Anatol Belski [Sun, 18 Dec 2016 20:56:56 +0000 (21:56 +0100)]
Merge branch 'PHP-7.1'

* PHP-7.1:
  Cursor is not opened on singleton selects.
  fix arg spec and datatype, follow up on 73594

8 years agoMerge branch 'PHP-7.0' into PHP-7.1
Anatol Belski [Sun, 18 Dec 2016 20:55:30 +0000 (21:55 +0100)]
Merge branch 'PHP-7.0' into PHP-7.1

* PHP-7.0:
  Cursor is not opened on singleton selects.
  fix arg spec and datatype, follow up on 73594