]> granicus.if.org Git - php/log
php
6 years agoFix: follow the indent of the other configure options
Tom Van Looy [Wed, 14 Feb 2018 20:47:56 +0000 (21:47 +0100)]
Fix: follow the indent of the other configure options

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Wed, 14 Feb 2018 18:00:41 +0000 (19:00 +0100)]
Merge branch 'PHP-7.2'

6 years agoRemove getmxrr alias dns_get_mx test
Gabriel Caruso [Sun, 4 Feb 2018 09:05:51 +0000 (07:05 -0200)]
Remove getmxrr alias dns_get_mx test

The test is currently failing, and the same functionality is
already tested (in a better way) in the getmxrr() test.

6 years agoFix datatypes for native AVX build
Anatol Belski [Wed, 14 Feb 2018 17:29:41 +0000 (18:29 +0100)]
Fix datatypes for native AVX build

6 years agoOptimized fast_memcpy with AVX instructions
Xinchen Hui [Wed, 14 Feb 2018 16:18:47 +0000 (00:18 +0800)]
Optimized fast_memcpy with AVX instructions

Great thanks to welting for helping :)

6 years agoUpgrade bundled PCRE2 to 10.31
Anatol Belski [Wed, 14 Feb 2018 12:44:38 +0000 (13:44 +0100)]
Upgrade bundled PCRE2 to 10.31

6 years agoMerge branch 'PHP-7.2'
Remi Collet [Wed, 14 Feb 2018 12:29:27 +0000 (13:29 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  add pkg-config example in extension skeleton

6 years agoadd pkg-config example in extension skeleton
Remi Collet [Wed, 14 Feb 2018 12:28:21 +0000 (13:28 +0100)]
add pkg-config example in extension skeleton

6 years agoMerge branch 'PHP-7.2'
Remi Collet [Wed, 14 Feb 2018 12:16:55 +0000 (13:16 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  factorization of duplicated code

6 years agofactorization of duplicated code
Remi Collet [Wed, 14 Feb 2018 12:15:09 +0000 (13:15 +0100)]
factorization of duplicated code

6 years agoRevert "Added return type for some basic functions"
Joe [Wed, 14 Feb 2018 10:18:52 +0000 (11:18 +0100)]
Revert "Added return type for some basic functions"

This reverts commit b7d2e04f1f229cc10a73628b4a56240f317c746d.

6 years agoRemove empty sections in tests
Gabriel Caruso [Tue, 13 Feb 2018 16:04:31 +0000 (14:04 -0200)]
Remove empty sections in tests

6 years agoAdded return type for some basic functions
Dmitry Patsura [Wed, 26 Aug 2015 06:00:00 +0000 (15:00 +0900)]
Added return type for some basic functions

6 years agoMerge branch 'PHP-7.2'
Remi Collet [Wed, 14 Feb 2018 07:59:59 +0000 (08:59 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix timezone var_dump from 51f2a5803fa4f09e212fed4b14ab8b4a003d4ef5

6 years agoFix timezone var_dump from 51f2a5803fa4f09e212fed4b14ab8b4a003d4ef5
Remi Collet [Wed, 14 Feb 2018 07:59:24 +0000 (08:59 +0100)]
Fix timezone var_dump from 51f2a5803fa4f09e212fed4b14ab8b4a003d4ef5

6 years agoMerge branch 'PHP-7.2'
Sara Golemon [Tue, 13 Feb 2018 19:37:34 +0000 (14:37 -0500)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Now working on 7.2.4-dev

6 years agoNow working on 7.2.4-dev
Sara Golemon [Tue, 13 Feb 2018 19:37:00 +0000 (14:37 -0500)]
Now working on 7.2.4-dev

6 years agoMerge branch 'PHP-7.2'
Sara Golemon [Tue, 13 Feb 2018 19:33:59 +0000 (14:33 -0500)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Now working on 7.2.4-dev

6 years agoNow working on 7.2.4-dev
Sara Golemon [Tue, 13 Feb 2018 19:32:37 +0000 (14:32 -0500)]
Now working on 7.2.4-dev

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Tue, 13 Feb 2018 13:06:27 +0000 (14:06 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Extend skipif check

6 years agoExtend skipif check
Anatol Belski [Tue, 13 Feb 2018 13:04:51 +0000 (14:04 +0100)]
Extend skipif check

6 years agoAdded SSE3 detection
Xinchen Hui [Tue, 13 Feb 2018 08:10:43 +0000 (16:10 +0800)]
Added SSE3 detection

6 years agoFix typo
Gabriel Caruso [Mon, 12 Feb 2018 20:22:50 +0000 (18:22 -0200)]
Fix typo

6 years agoRevert "Improve conversion loop"
Anatol Belski [Mon, 12 Feb 2018 21:57:32 +0000 (22:57 +0100)]
Revert "Improve conversion loop"

This reverts commit 7a4573a55ad244b66c40b4086e432775b6f185b7.

Don't read over '\0'.

6 years agoMicro optimization
Dmitry Stogov [Mon, 12 Feb 2018 21:56:48 +0000 (00:56 +0300)]
Micro optimization

6 years agoExtend intrinsics config with AVX and AVX2
Anatol Belski [Mon, 12 Feb 2018 19:54:27 +0000 (20:54 +0100)]
Extend intrinsics config with AVX and AVX2

6 years agoUpdate author info
Xinchen Hui [Mon, 12 Feb 2018 13:01:12 +0000 (21:01 +0800)]
Update author info

6 years agoOptimized base64_encode/decode with SIMD instructions
Xinchen Hui [Mon, 12 Feb 2018 12:46:17 +0000 (20:46 +0800)]
Optimized base64_encode/decode with SIMD instructions

6 years agoFixes for #74707 some methods of tidy class didn't have arginfo declared
Gabriel Caruso [Sun, 11 Feb 2018 15:13:39 +0000 (13:13 -0200)]
Fixes for #74707 some methods of tidy class didn't have arginfo declared

6 years agofix unknown opcode overflow error
Haitao Lv [Mon, 12 Feb 2018 01:25:31 +0000 (09:25 +0800)]
fix unknown opcode overflow error

6 years agoAdd test for bcpwmod
Gabriel Caruso [Mon, 12 Feb 2018 01:52:54 +0000 (23:52 -0200)]
Add test for bcpwmod

bc_raisemod's mod can't be zero and expo can't be negative

6 years agoFixed bug #68406 calling var_dump on a DateTimeZone object modifies it
CHU Zhaowei [Sun, 11 Feb 2018 13:07:52 +0000 (21:07 +0800)]
Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it

6 years agofix #68406
CHU Zhaowei [Thu, 8 Feb 2018 17:14:13 +0000 (01:14 +0800)]
fix #68406

6 years agoMerge branch 'PHP-7.2'
Joe [Mon, 12 Feb 2018 08:19:29 +0000 (09:19 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Mon, 12 Feb 2018 08:17:56 +0000 (09:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it

6 years agoFixed bug #68406 calling var_dump on a DateTimeZone object modifies it
jhdxr [Thu, 21 Sep 2017 18:15:22 +0000 (02:15 +0800)]
Fixed bug #68406 calling var_dump on a DateTimeZone object modifies it

6 years agoFix use of Z_LVAL_P in snmp
Nikita Popov [Sun, 11 Feb 2018 21:47:01 +0000 (22:47 +0100)]
Fix use of Z_LVAL_P in snmp

6 years agoRemoved unused variables
Gabriel Caruso [Sat, 10 Feb 2018 11:39:12 +0000 (09:39 -0200)]
Removed unused variables

6 years agoMerge branch 'PHP-7.2'
Christoph M. Becker [Sun, 11 Feb 2018 11:56:39 +0000 (12:56 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fix #75857: Timezone gets truncated when formatted

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Christoph M. Becker [Sun, 11 Feb 2018 11:49:41 +0000 (12:49 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fix #75857: Timezone gets truncated when formatted

6 years agoFix #75857: Timezone gets truncated when formatted
Gabriel Caruso [Thu, 8 Feb 2018 12:05:00 +0000 (10:05 -0200)]
Fix #75857: Timezone gets truncated when formatted

Use sizeof buffer instead of hard-coded lenghts

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 10 Feb 2018 18:31:09 +0000 (19:31 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 10 Feb 2018 18:30:57 +0000 (19:30 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFixed bug #75928
Pedro Lacerda [Wed, 7 Feb 2018 02:55:31 +0000 (23:55 -0300)]
Fixed bug #75928

6 years agoRemove trailing whitespace in inc files
Gabriel Caruso [Sat, 10 Feb 2018 00:49:21 +0000 (22:49 -0200)]
Remove trailing whitespace in inc files

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 10 Feb 2018 18:19:16 +0000 (19:19 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Sat, 10 Feb 2018 18:19:09 +0000 (19:19 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoEnhancements and fixes for print_pi in gdbinit
Mitch Hagstrand [Fri, 9 Feb 2018 17:30:45 +0000 (11:30 -0600)]
Enhancements and fixes for print_pi in gdbinit

1) Outputs the default value and the offset of a property
2) Fixed output of property flags

6 years agoFixed bug #74707
Gabriel Caruso [Wed, 7 Feb 2018 19:41:03 +0000 (17:41 -0200)]
Fixed bug #74707

Several tidy functions receive a tidy object as mandatory parameter

6 years agoRemove getmxrr alias dns_get_mx test
Gabriel Caruso [Sun, 4 Feb 2018 09:05:51 +0000 (07:05 -0200)]
Remove getmxrr alias dns_get_mx test

The test is currently failing, and the same functionality is
already tested (in a better way) in the getmxrr() test.

6 years agoSync opcache.optimization_level default value
sundarchi1 [Sun, 4 Feb 2018 01:17:39 +0000 (20:17 -0500)]
Sync opcache.optimization_level default value

The default value is 0x7FFFBFFF nowadays, disabling constant
propagation.

6 years ago[Bug 75448] In case of failure, mysqli::prepare() returns NULL instead of FALSE
Sergei Morozov [Sun, 29 Oct 2017 19:16:56 +0000 (12:16 -0700)]
[Bug 75448] In case of failure, mysqli::prepare() returns NULL instead of FALSE

6 years agoAlign overflow error messages with upstream
Christoph M. Becker [Fri, 9 Feb 2018 23:25:29 +0000 (00:25 +0100)]
Align overflow error messages with upstream

This particularly fixes two tests (bug66356.phpt and bug72339.phpt) if
PHP has been build with an external libgd.

6 years agoRemove tested code
Xinchen Hui [Sat, 10 Feb 2018 13:44:01 +0000 (21:44 +0800)]
Remove tested code

6 years agoFixed cpuinfo in LLVM GCC & Added AVX2 detection
Xinchen Hui [Sat, 10 Feb 2018 09:37:38 +0000 (17:37 +0800)]
Fixed cpuinfo in LLVM GCC & Added AVX2 detection

Seems it only defines __builtin_cpu_supports but no __builtin_cpu_init
(Apple LLVM version 9.0.0 (clang-900.0.38))

6 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Sat, 10 Feb 2018 09:01:55 +0000 (17:01 +0800)]
Merge branch 'master' of git.php.net:/php-src

* 'master' of git.php.net:/php-src: (37 commits)
  Avoid conditions inside loop
  Improve loop vectorization
  Improve loop vectorization
  Remove unused function
  Fixed bug #75938
  Remove unused files
  Fixed bug #75940 Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes
  typo
  Update README.GIT-RULES
  Fix SKIPIF section
  Fixes bug #75871 Use pkg-config for libxml2 if available
  Fixed bug #49876 lib path on 64bit distros
  Refactor testing READMEs
  Fixed bug #65414
  Fixed bug #65414
  Fixed bug #74519 strange behavior of AppendIterator
  fix #74519 strange behavior of AppendIterator
  Use bool instead of boolean
  Remove space between function name and open parentheses
  Fix some misspellings
  ...

6 years agoFixed cpu feature check in reslover functions
Xinchen Hui [Sat, 10 Feb 2018 08:58:27 +0000 (16:58 +0800)]
Fixed cpu feature check in reslover functions

6 years agoAvoid conditions inside loop
Anatol Belski [Fri, 9 Feb 2018 16:47:03 +0000 (17:47 +0100)]
Avoid conditions inside loop

6 years agoImprove loop vectorization
Anatol Belski [Fri, 9 Feb 2018 16:26:30 +0000 (17:26 +0100)]
Improve loop vectorization

6 years agoImprove loop vectorization
Anatol Belski [Fri, 9 Feb 2018 16:05:28 +0000 (17:05 +0100)]
Improve loop vectorization

6 years agoRemove unused function
Christoph M. Becker [Fri, 9 Feb 2018 16:39:24 +0000 (17:39 +0100)]
Remove unused function

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Fri, 9 Feb 2018 14:11:42 +0000 (15:11 +0100)]
Merge branch 'PHP-7.2'

6 years agoFixed bug #75938
Nikita Popov [Fri, 9 Feb 2018 14:10:23 +0000 (15:10 +0100)]
Fixed bug #75938

New modulus range inference implementation has been verified using
https://gist.github.com/nikic/67947ff92cf0e1f7e931f2f0d4cf817f.

The computed bounds are not tight, but it seems to be very hard to
compute tight bounds on modulus operations.

6 years agoRemove unused files
Christoph M. Becker [Fri, 9 Feb 2018 13:43:21 +0000 (14:43 +0100)]
Remove unused files

These files had served as fallback for GD < 2.1.0, but since we're
requiring GD ≥ 2.1.0 for years[1], there's no more need for them.

[1] 8a90aad35b3647a104458d5af4dcb315b9e8d80c

6 years agoFixed bug #75940 Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes
Jaromír Doleček [Fri, 9 Feb 2018 13:30:06 +0000 (14:30 +0100)]
Fixed bug #75940 Unnecessary compile wrapper with PHP_THREAD_SAFETY=yes

6 years agotypo
Dmitry Stogov [Fri, 9 Feb 2018 08:33:02 +0000 (11:33 +0300)]
typo

7 years agoMerge branch 'master' of git://github.com/php/php-src
Joe [Thu, 8 Feb 2018 16:53:26 +0000 (17:53 +0100)]
Merge branch 'master' of git://github.com/php/php-src

7 years agoUpdate README.GIT-RULES
Gabriel Caruso [Thu, 8 Feb 2018 13:03:49 +0000 (11:03 -0200)]
Update README.GIT-RULES

7 years agoFix SKIPIF section
Gabriel Caruso [Thu, 8 Feb 2018 11:35:53 +0000 (09:35 -0200)]
Fix SKIPIF section

7 years agoMerge branch 'PHP-7.2'
Joe [Thu, 8 Feb 2018 09:51:20 +0000 (10:51 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixes bug #75871 Use pkg-config for libxml2 if available

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:50:47 +0000 (10:50 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixes bug #75871 Use pkg-config for libxml2 if available

7 years agoFixes bug #75871 Use pkg-config for libxml2 if available
Pedro Magalhães [Tue, 6 Feb 2018 19:16:22 +0000 (19:16 +0000)]
Fixes bug #75871 Use pkg-config for libxml2 if available

7 years agoMerge branch 'PHP-7.2'
Joe [Thu, 8 Feb 2018 09:42:50 +0000 (10:42 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #49876 lib path on 64bit distros

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:42:25 +0000 (10:42 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #49876 lib path on 64bit distros

7 years agoFixed bug #49876 lib path on 64bit distros
David Zuelke [Wed, 13 Sep 2017 22:03:37 +0000 (00:03 +0200)]
Fixed bug #49876 lib path on 64bit distros

7 years agoRefactor testing READMEs
Peter Kokot [Wed, 29 Nov 2017 21:21:36 +0000 (22:21 +0100)]
Refactor testing READMEs

This patch removes additional README.TESTING2 file and moves its
contents into a single README.TESTING file for convenience.

7 years agoMerge branch 'PHP-7.2'
Joe [Thu, 8 Feb 2018 09:33:15 +0000 (10:33 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #65414

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:32:44 +0000 (10:32 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #65414

7 years agoFixed bug #65414
Bishop Bettini [Fri, 2 Feb 2018 02:29:37 +0000 (21:29 -0500)]
Fixed bug #65414

7 years agoFixed bug #65414
Bishop Bettini [Fri, 2 Feb 2018 02:29:37 +0000 (21:29 -0500)]
Fixed bug #65414

7 years agoMerge branch 'PHP-7.2'
Joe [Thu, 8 Feb 2018 09:18:45 +0000 (10:18 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed bug #74519 strange behavior of AppendIterator

7 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe [Thu, 8 Feb 2018 09:17:50 +0000 (10:17 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #74519 strange behavior of AppendIterator

7 years agoFixed bug #74519 strange behavior of AppendIterator
CHU Zhaowei [Tue, 19 Dec 2017 16:22:27 +0000 (00:22 +0800)]
Fixed bug #74519 strange behavior of AppendIterator

7 years agofix #74519 strange behavior of AppendIterator
CHU Zhaowei [Sun, 10 Dec 2017 18:22:55 +0000 (02:22 +0800)]
fix #74519 strange behavior of AppendIterator

7 years agoUse bool instead of boolean
Gabriel Caruso [Tue, 6 Feb 2018 13:21:01 +0000 (11:21 -0200)]
Use bool instead of boolean

7 years agoRemove space between function name and open parentheses
Gabriel Caruso [Wed, 7 Feb 2018 14:22:12 +0000 (12:22 -0200)]
Remove space between function name and open parentheses

7 years agoFix some misspellings
Gabriel Caruso [Mon, 5 Feb 2018 00:16:50 +0000 (22:16 -0200)]
Fix some misspellings

7 years agoIncrease ext/ftp coverage
Gabriel Caruso [Sat, 3 Feb 2018 06:56:03 +0000 (07:56 +0100)]
Increase ext/ftp coverage

7 years agoRemove unused variable
Christoph M. Becker [Tue, 6 Feb 2018 13:59:23 +0000 (14:59 +0100)]
Remove unused variable

We're not interested in the return value of
`gdGuessBackgroundColorFromCorners`, so there's no need to track it.

See also libgd/libgd@535eab566b4a412eef21347653fb98a48857d169.

7 years agoRemove unused variable
Gabriel Caruso [Mon, 5 Feb 2018 20:40:11 +0000 (18:40 -0200)]
Remove unused variable

7 years agoFixed tests
Dmitry Stogov [Tue, 6 Feb 2018 12:36:31 +0000 (15:36 +0300)]
Fixed tests

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Mon, 5 Feb 2018 20:43:50 +0000 (21:43 +0100)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #75893
Nikita Popov [Mon, 5 Feb 2018 20:41:44 +0000 (21:41 +0100)]
Fixed bug #75893

It is not sufficient to just add the additional types for aliased
variables at the end of type inference, because types of derived
variables may depend on them. Make sure the additional types are
always added whenever the type of an aliased variable is updated.

7 years agoMerge branch 'PHP-7.2'
Nikita Popov [Mon, 5 Feb 2018 20:10:12 +0000 (21:10 +0100)]
Merge branch 'PHP-7.2'

7 years agoFixed bug #75729
Nikita Popov [Mon, 5 Feb 2018 20:08:18 +0000 (21:08 +0100)]
Fixed bug #75729

Don't try to evaluate substr() and strpos() at compile-time if
mbstring function overloading is enabled. I'm reusing the
COMPILE_NO_BUILTIN_STRLEN for the detection of mbstring function
overloading here, even if it's technically only about strlen()...

7 years agoFix unused variable compiler warnings
Nikita Popov [Mon, 5 Feb 2018 19:57:14 +0000 (20:57 +0100)]
Fix unused variable compiler warnings

7 years agoMatch strpos() behavior with mbstring.func_overload
Nikita Popov [Mon, 5 Feb 2018 19:48:21 +0000 (20:48 +0100)]
Match strpos() behavior with mbstring.func_overload

mb_strpos() specifically emulates strpos() behavior when function
overloading is enabled. However, the condition was not changed
when strpos() behavior changed in PHP 7.

7 years agoFix visibility
Anatol Belski [Mon, 5 Feb 2018 19:27:52 +0000 (20:27 +0100)]
Fix visibility

7 years agoImprove conversion loop
Anatol Belski [Mon, 5 Feb 2018 11:42:59 +0000 (12:42 +0100)]
Improve conversion loop

7 years agoRemove unnecessary CE_STATIC_MEMBERS() checks
Nikita Popov [Mon, 5 Feb 2018 17:53:02 +0000 (18:53 +0100)]
Remove unnecessary CE_STATIC_MEMBERS() checks

CE_STATIC_MEMBERS(ce) is destroyed after EG(active)=0 is set, so we
should never run into a situation where it is NULL inside the VM.