]> granicus.if.org Git - php/log
php
6 years agoFix error_get_last() func info
Nikita Popov [Sat, 17 Feb 2018 21:43:25 +0000 (22:43 +0100)]
Fix error_get_last() func info

6 years agoFix mysqli_connect() func info
Nikita Popov [Sat, 17 Feb 2018 22:00:02 +0000 (23:00 +0100)]
Fix mysqli_connect() func info

This function returns an object, not a resource...

6 years agoFix bcscale() function info
Nikita Popov [Sat, 17 Feb 2018 21:48:19 +0000 (22:48 +0100)]
Fix bcscale() function info

Master only: This function now returns the old scale.

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Sat, 17 Feb 2018 22:21:31 +0000 (23:21 +0100)]
Merge branch 'PHP-7.2'

6 years agoFix COUNT range inference
Nikita Popov [Sat, 17 Feb 2018 22:04:31 +0000 (23:04 +0100)]
Fix COUNT range inference

count() on objects may return a negative number :(

6 years agoFix hash_init() and hash_copy() func info
Nikita Popov [Sat, 17 Feb 2018 21:53:14 +0000 (22:53 +0100)]
Fix hash_init() and hash_copy() func info

These functions were switched to use objects instead of resources.

6 years agoFix curl_multi_close() func info
Nikita Popov [Sat, 17 Feb 2018 21:50:17 +0000 (22:50 +0100)]
Fix curl_multi_close() func info

Returns false on failure

6 years agoFix get_object_vars() func info
Nikita Popov [Sat, 17 Feb 2018 17:44:48 +0000 (18:44 +0100)]
Fix get_object_vars() func info

Numeric keys will be converted to integer nowadays.

6 years agoAdd RC flags in init_func_return_info
Nikita Popov [Sat, 17 Feb 2018 17:42:08 +0000 (18:42 +0100)]
Add RC flags in init_func_return_info

6 years agoFix array_values() and array_keys() func info
Nikita Popov [Sat, 17 Feb 2018 17:36:17 +0000 (18:36 +0100)]
Fix array_values() and array_keys() func info

Can return RCN for empty/packed arrays

6 years agoOptimized strrev with SSSE3
Xinchen Hui [Sat, 17 Feb 2018 15:19:31 +0000 (23:19 +0800)]
Optimized strrev with SSSE3

since strrev is not wildly used, and SSSE3 is defined default by some
compiler, so won't try to do ifunc here.

6 years agochange argument parsing
Xinchen Hui [Sat, 17 Feb 2018 14:29:59 +0000 (22:29 +0800)]
change argument parsing

6 years agoFix DCE of throwing NEWs
Nikita Popov [Sat, 17 Feb 2018 13:50:20 +0000 (14:50 +0100)]
Fix DCE of throwing NEWs

6 years agoFix another bug in coalesce elimination
Nikita Popov [Sat, 17 Feb 2018 11:59:25 +0000 (12:59 +0100)]
Fix another bug in coalesce elimination

6 years agoRemove unnecessary cast
Anatol Belski [Sat, 17 Feb 2018 13:19:06 +0000 (14:19 +0100)]
Remove unnecessary cast

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Sat, 17 Feb 2018 12:13:17 +0000 (13:13 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Remove duplicated assignment

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Sat, 17 Feb 2018 12:12:29 +0000 (13:12 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Remove duplicated assignment

6 years agoRemove duplicated assignment
Anatol Belski [Sat, 17 Feb 2018 12:10:59 +0000 (13:10 +0100)]
Remove duplicated assignment

6 years agoReduce variable scope
Anatol Belski [Sat, 17 Feb 2018 11:59:12 +0000 (12:59 +0100)]
Reduce variable scope

6 years agoRemove always true condition
Anatol Belski [Sat, 17 Feb 2018 10:27:15 +0000 (11:27 +0100)]
Remove always true condition

6 years agoFix unsigned comparisons
Anatol Belski [Sat, 17 Feb 2018 01:07:23 +0000 (02:07 +0100)]
Fix unsigned comparisons

6 years agoReduce var scope
Anatol Belski [Sat, 17 Feb 2018 01:07:04 +0000 (02:07 +0100)]
Reduce var scope

6 years agoReduce var scope
Anatol Belski [Fri, 16 Feb 2018 17:42:02 +0000 (18:42 +0100)]
Reduce var scope

6 years agoFix COALESCE jump optimization
Nikita Popov [Sat, 17 Feb 2018 11:41:57 +0000 (12:41 +0100)]
Fix COALESCE jump optimization

6 years agoMerge branch 'PHP-7.2'
Xinchen Hui [Sat, 17 Feb 2018 08:39:31 +0000 (16:39 +0800)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Update NEWS
  Fixed bug #75961 (Strange references behavior)

Conflicts:
ext/standard/array.c

6 years agoUpdate NEWS
Xinchen Hui [Sat, 17 Feb 2018 08:35:42 +0000 (16:35 +0800)]
Update NEWS

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Xinchen Hui [Sat, 17 Feb 2018 08:33:39 +0000 (16:33 +0800)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Fixed bug #75961 (Strange references behavior)

6 years agoFixed bug #75961 (Strange references behavior)
Xinchen Hui [Sat, 17 Feb 2018 08:31:59 +0000 (16:31 +0800)]
Fixed bug #75961 (Strange references behavior)

6 years agoExplicitly sort live ranges by start opnum
Nikita Popov [Fri, 16 Feb 2018 20:47:00 +0000 (21:47 +0100)]
Explicitly sort live ranges by start opnum

Instead of moving live ranges around to maintain the start opnum
invariant, add an explicit sorting step in pass two.

6 years agoAvoid live range references in opcodes
Nikita Popov [Fri, 16 Feb 2018 20:25:49 +0000 (21:25 +0100)]
Avoid live range references in opcodes

Don't store the live range of the freed variable for FREE_ON_RETURN
frees, instead look it up at runtime. As this is an extremely
unlikely codepath (in particular, it requires a loop variable with
a throwing destructor), saving the runtime lookup of the live range
is not worth the extra complexity this adds everywhere else.

6 years agoMerge branch 'PHP-7.2'
Nikita Popov [Fri, 16 Feb 2018 19:31:01 +0000 (20:31 +0100)]
Merge branch 'PHP-7.2'

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Nikita Popov [Fri, 16 Feb 2018 19:30:23 +0000 (20:30 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

6 years agoFixed bug #75969
Nikita Popov [Fri, 16 Feb 2018 19:27:13 +0000 (20:27 +0100)]
Fixed bug #75969

Move NOP stripping out of zend_optimize_block: NOP stripping may
move instructions, which may invalidate a Tsource shared across
an extended basic block.

6 years agoHandle special case when SSE only requested for 32-bit build
Anatol Belski [Fri, 16 Feb 2018 15:51:11 +0000 (16:51 +0100)]
Handle special case when SSE only requested for 32-bit build

6 years agoRework --with-codegen-arch and --enable-native-intrinsics config
Anatol Belski [Fri, 16 Feb 2018 15:23:27 +0000 (16:23 +0100)]
Rework --with-codegen-arch and --enable-native-intrinsics config

6 years agoReduce var scope
Anatol Belski [Fri, 16 Feb 2018 14:43:54 +0000 (15:43 +0100)]
Reduce var scope

6 years agoRemove always true condition
Anatol Belski [Fri, 16 Feb 2018 14:22:46 +0000 (15:22 +0100)]
Remove always true condition

6 years agoSimplify declaration
Anatol Belski [Fri, 16 Feb 2018 14:21:32 +0000 (15:21 +0100)]
Simplify declaration

6 years agoSimplify declaration
Anatol Belski [Fri, 16 Feb 2018 14:12:43 +0000 (15:12 +0100)]
Simplify declaration

6 years agoFix unused variable warning
Nikita Popov [Fri, 16 Feb 2018 14:31:54 +0000 (15:31 +0100)]
Fix unused variable warning

6 years agoMerge branch 'PHP-7.2'
Anatol Belski [Fri, 16 Feb 2018 12:42:04 +0000 (13:42 +0100)]
Merge branch 'PHP-7.2'

* PHP-7.2:
  Wrap var depending on conditional compilation

6 years agoMerge branch 'PHP-7.1' into PHP-7.2
Anatol Belski [Fri, 16 Feb 2018 12:41:13 +0000 (13:41 +0100)]
Merge branch 'PHP-7.1' into PHP-7.2

* PHP-7.1:
  Wrap var depending on conditional compilation

6 years agoWrap var depending on conditional compilation
Anatol Belski [Fri, 16 Feb 2018 12:37:38 +0000 (13:37 +0100)]
Wrap var depending on conditional compilation

6 years agoSimplify REFCOUNTED checks
Dmitry Stogov [Fri, 16 Feb 2018 12:37:40 +0000 (15:37 +0300)]
Simplify REFCOUNTED checks

6 years agoDon't make expectations about non-constant zval refcauntability
Dmitry Stogov [Fri, 16 Feb 2018 12:37:04 +0000 (15:37 +0300)]
Don't make expectations about non-constant zval refcauntability

6 years agoFix duplicated strlen call
Anatol Belski [Fri, 16 Feb 2018 11:45:05 +0000 (12:45 +0100)]
Fix duplicated strlen call

6 years agoRemove unnecessary conditions and improve assignment
Anatol Belski [Fri, 16 Feb 2018 11:27:49 +0000 (12:27 +0100)]
Remove unnecessary conditions and improve assignment

6 years agoReduce var scope
Anatol Belski [Fri, 16 Feb 2018 11:10:28 +0000 (12:10 +0100)]
Reduce var scope

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