]> granicus.if.org Git - php/log
php
6 years agoReduce var scope
Anatol Belski [Fri, 16 Feb 2018 10:45:07 +0000 (11:45 +0100)]
Reduce var scope

6 years agoReduce variable scope
Anatol Belski [Thu, 15 Feb 2018 22:08:14 +0000 (23:08 +0100)]
Reduce variable scope

6 years agoAdded missed "return"
Dmitry Stogov [Fri, 16 Feb 2018 11:13:52 +0000 (14:13 +0300)]
Added missed "return"

6 years agoImproved ZPP to reduce amount of generated code.
Dmitry Stogov [Fri, 16 Feb 2018 08:37:20 +0000 (11:37 +0300)]
Improved ZPP to reduce amount of generated code.

6 years agoMove exceptional code into "cold" helpers
Dmitry Stogov [Thu, 15 Feb 2018 23:45:31 +0000 (02:45 +0300)]
Move exceptional code into "cold" helpers

6 years agoReduce variable scope
Anatol Belski [Thu, 15 Feb 2018 20:34:55 +0000 (21:34 +0100)]
Reduce variable scope

6 years agoUse explicit for more type safety
Anatol Belski [Thu, 15 Feb 2018 20:30:16 +0000 (21:30 +0100)]
Use explicit for more type safety

6 years agoReduce variable scope
Anatol Belski [Thu, 15 Feb 2018 20:26:01 +0000 (21:26 +0100)]
Reduce variable scope

6 years agoRemove condition that is always false
Anatol Belski [Thu, 15 Feb 2018 20:19:33 +0000 (21:19 +0100)]
Remove condition that is always false

6 years agoReduce variable scope
Anatol Belski [Thu, 15 Feb 2018 20:18:58 +0000 (21:18 +0100)]
Reduce variable scope

6 years agoUse Z_TYPE_INFO_REFCOUNTED() macro
Dmitry Stogov [Thu, 15 Feb 2018 18:54:49 +0000 (21:54 +0300)]
Use Z_TYPE_INFO_REFCOUNTED() macro

6 years agoOptimize "backup" functions of inlined opcode handlers for size
Dmitry Stogov [Thu, 15 Feb 2018 14:04:41 +0000 (17:04 +0300)]
Optimize "backup" functions of inlined opcode handlers for size

6 years agoAdded ability to manually sort opcode handlers (not used yet)
Dmitry Stogov [Thu, 15 Feb 2018 12:56:38 +0000 (15:56 +0300)]
Added ability to manually sort opcode handlers (not used yet)

6 years agoAdded simple VM instrumentation ability
Dmitry Stogov [Thu, 15 Feb 2018 12:55:19 +0000 (15:55 +0300)]
Added simple VM instrumentation ability

6 years agoAvoid generation of rarely used specialized handler
Dmitry Stogov [Thu, 15 Feb 2018 11:50:42 +0000 (14:50 +0300)]
Avoid generation of rarely used specialized handler

6 years agoAvoid inlining of rarely used handlers
Dmitry Stogov [Thu, 15 Feb 2018 10:48:04 +0000 (13:48 +0300)]
Avoid inlining of rarely used handlers

6 years agoMerge branch 'PHP-7.2'
Joe Watkins [Thu, 15 Feb 2018 07:57:52 +0000 (08:57 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Fixed print_const_table function and zval types in ____printzv_contents

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Thu, 15 Feb 2018 07:57:43 +0000 (08:57 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed print_const_table function and zval types in ____printzv_contents

6 years agoFixed print_const_table function and zval types in ____printzv_contents
Mitch Hagstrand [Wed, 14 Feb 2018 20:39:01 +0000 (14:39 -0600)]
Fixed print_const_table function and zval types in ____printzv_contents

1. Fixed print_const_table to work in ZE3
2. Removed ____print_const_table to use more generic ____print_ht
3. Fixed up zval types in ____printzv_contents

6 years agoMerge branch 'PHP-7.2'
Joe Watkins [Thu, 15 Feb 2018 07:56:40 +0000 (08:56 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  bump versions

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Joe Watkins [Thu, 15 Feb 2018 07:56:08 +0000 (08:56 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  bump versions

6 years agoBetter error message when fail to find test file
Gabriel Caruso [Wed, 14 Feb 2018 23:00:13 +0000 (21:00 -0200)]
Better error message when fail to find test file

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 agobump versions
Joe [Tue, 13 Feb 2018 19:24:34 +0000 (20:24 +0100)]
bump versions

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

7 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