]>
granicus.if.org Git - php/log
Anatol Belski [Sun, 18 Feb 2018 19:30:33 +0000 (20:30 +0100)]
Avoid multiple wcslen() calls
Anatol Belski [Sun, 18 Feb 2018 18:59:23 +0000 (19:59 +0100)]
Reduce var scope
Anatol Belski [Sun, 18 Feb 2018 18:15:36 +0000 (19:15 +0100)]
Reduce variable scope
Anatol Belski [Sun, 18 Feb 2018 18:07:25 +0000 (19:07 +0100)]
Remove effectless assignment
Anatol Belski [Sun, 18 Feb 2018 15:07:37 +0000 (16:07 +0100)]
Fix possible int overflow on vars used in loop with size_t counter
Anatol Belski [Sun, 18 Feb 2018 14:34:55 +0000 (15:34 +0100)]
Fix overflow, int var used in loop with size_t counter
Nikita Popov [Sun, 18 Feb 2018 16:43:08 +0000 (17:43 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 18 Feb 2018 16:39:18 +0000 (17:39 +0100)]
Fix pfsockopen() func info
Nikita Popov [Sun, 18 Feb 2018 16:20:32 +0000 (17:20 +0100)]
Fix ZEND_SL range inference
This is a bit tricker than right shifts because shifting in the
sign bit flips the sign. The computed bounds are not tight.
Nikita Popov [Sun, 18 Feb 2018 16:03:20 +0000 (17:03 +0100)]
Fix ZEND_SR range inference
Handle out-of-range RHS correctly.
Nikita Popov [Sun, 18 Feb 2018 15:41:53 +0000 (16:41 +0100)]
Fix constant() func info
Since PHP 5.6 this can also be an array.
Gabriel Caruso [Sat, 17 Feb 2018 15:51:37 +0000 (13:51 -0200)]
Fix some compile results warnings
Nikita Popov [Sun, 18 Feb 2018 15:21:25 +0000 (16:21 +0100)]
Fix pg_pconnect() func info
Nikita Popov [Sun, 18 Feb 2018 15:19:42 +0000 (16:19 +0100)]
Fix gettext func infos
Nikita Popov [Sun, 18 Feb 2018 14:37:10 +0000 (15:37 +0100)]
Fix DCE test
Without the type hint the previous optimization no longer applied,
as the result could be an (overloaded) object, which might have
caused dtor effect reordering.
Nikita Popov [Sat, 17 Feb 2018 22:27:20 +0000 (23:27 +0100)]
More mysqli func info fixes
Mainly changing resource returns to objects
Nikita Popov [Sun, 18 Feb 2018 14:34:04 +0000 (15:34 +0100)]
Merge branch 'PHP-7.2'
Nikita Popov [Sun, 18 Feb 2018 14:27:53 +0000 (15:27 +0100)]
Handle overloaded GMP operators in type inference
Nikita Popov [Sun, 18 Feb 2018 14:13:14 +0000 (15:13 +0100)]
Disable negative range inference
The negative range inference implementation does not work correctly,
and it's not clear right now how it can be fixed. As such, disable
it entirely for now.
Anatol Belski [Sun, 18 Feb 2018 14:26:33 +0000 (15:26 +0100)]
Avoid multiple wcslen calls
Xinchen Hui [Sun, 18 Feb 2018 11:47:41 +0000 (19:47 +0800)]
change layout
Xinchen Hui [Sun, 18 Feb 2018 11:34:48 +0000 (19:34 +0800)]
Move map out of loop
Gabriel Caruso [Fri, 16 Feb 2018 03:15:48 +0000 (01:15 -0200)]
Remove redelcaration of zend_parse_parameters_none
Gabriel Caruso [Fri, 16 Feb 2018 03:01:02 +0000 (01:01 -0200)]
Use zend_parse_parameters_none_throw
Nikita Popov [Sat, 17 Feb 2018 22:07:07 +0000 (23:07 +0100)]
Fix lcfirst() + ucfirst() func info
These may return the original string
Nikita Popov [Sat, 17 Feb 2018 21:47:25 +0000 (22:47 +0100)]
Fix bcpowmod() func_info
Returns false on error
Nikita Popov [Sat, 17 Feb 2018 21:43:25 +0000 (22:43 +0100)]
Fix error_get_last() 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...
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.
Nikita Popov [Sat, 17 Feb 2018 22:21:31 +0000 (23:21 +0100)]
Merge branch 'PHP-7.2'
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 :(
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.
Nikita Popov [Sat, 17 Feb 2018 21:50:17 +0000 (22:50 +0100)]
Fix curl_multi_close() func info
Returns false on failure
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.
Nikita Popov [Sat, 17 Feb 2018 17:42:08 +0000 (18:42 +0100)]
Add RC flags in init_func_return_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
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.
Xinchen Hui [Sat, 17 Feb 2018 14:29:59 +0000 (22:29 +0800)]
change argument parsing
Nikita Popov [Sat, 17 Feb 2018 13:50:20 +0000 (14:50 +0100)]
Fix DCE of throwing NEWs
Nikita Popov [Sat, 17 Feb 2018 11:59:25 +0000 (12:59 +0100)]
Fix another bug in coalesce elimination
Anatol Belski [Sat, 17 Feb 2018 13:19:06 +0000 (14:19 +0100)]
Remove unnecessary cast
Anatol Belski [Sat, 17 Feb 2018 12:13:17 +0000 (13:13 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
Remove duplicated assignment
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
Anatol Belski [Sat, 17 Feb 2018 12:10:59 +0000 (13:10 +0100)]
Remove duplicated assignment
Anatol Belski [Sat, 17 Feb 2018 11:59:12 +0000 (12:59 +0100)]
Reduce variable scope
Anatol Belski [Sat, 17 Feb 2018 10:27:15 +0000 (11:27 +0100)]
Remove always true condition
Anatol Belski [Sat, 17 Feb 2018 01:07:23 +0000 (02:07 +0100)]
Fix unsigned comparisons
Anatol Belski [Sat, 17 Feb 2018 01:07:04 +0000 (02:07 +0100)]
Reduce var scope
Anatol Belski [Fri, 16 Feb 2018 17:42:02 +0000 (18:42 +0100)]
Reduce var scope
Nikita Popov [Sat, 17 Feb 2018 11:41:57 +0000 (12:41 +0100)]
Fix COALESCE jump optimization
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
Xinchen Hui [Sat, 17 Feb 2018 08:35:42 +0000 (16:35 +0800)]
Update NEWS
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)
Xinchen Hui [Sat, 17 Feb 2018 08:31:59 +0000 (16:31 +0800)]
Fixed bug #75961 (Strange references behavior)
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.
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.
Nikita Popov [Fri, 16 Feb 2018 19:31:01 +0000 (20:31 +0100)]
Merge branch '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
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.
Anatol Belski [Fri, 16 Feb 2018 15:51:11 +0000 (16:51 +0100)]
Handle special case when SSE only requested for 32-bit build
Anatol Belski [Fri, 16 Feb 2018 15:23:27 +0000 (16:23 +0100)]
Rework --with-codegen-arch and --enable-native-intrinsics config
Anatol Belski [Fri, 16 Feb 2018 14:43:54 +0000 (15:43 +0100)]
Reduce var scope
Anatol Belski [Fri, 16 Feb 2018 14:22:46 +0000 (15:22 +0100)]
Remove always true condition
Anatol Belski [Fri, 16 Feb 2018 14:21:32 +0000 (15:21 +0100)]
Simplify declaration
Anatol Belski [Fri, 16 Feb 2018 14:12:43 +0000 (15:12 +0100)]
Simplify declaration
Nikita Popov [Fri, 16 Feb 2018 14:31:54 +0000 (15:31 +0100)]
Fix unused variable warning
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
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
Anatol Belski [Fri, 16 Feb 2018 12:37:38 +0000 (13:37 +0100)]
Wrap var depending on conditional compilation
Dmitry Stogov [Fri, 16 Feb 2018 12:37:40 +0000 (15:37 +0300)]
Simplify REFCOUNTED checks
Dmitry Stogov [Fri, 16 Feb 2018 12:37:04 +0000 (15:37 +0300)]
Don't make expectations about non-constant zval refcauntability
Anatol Belski [Fri, 16 Feb 2018 11:45:05 +0000 (12:45 +0100)]
Fix duplicated strlen call
Anatol Belski [Fri, 16 Feb 2018 11:27:49 +0000 (12:27 +0100)]
Remove unnecessary conditions and improve assignment
Anatol Belski [Fri, 16 Feb 2018 11:10:28 +0000 (12:10 +0100)]
Reduce var scope
Anatol Belski [Fri, 16 Feb 2018 10:45:07 +0000 (11:45 +0100)]
Reduce var scope
Anatol Belski [Thu, 15 Feb 2018 22:08:14 +0000 (23:08 +0100)]
Reduce variable scope
Dmitry Stogov [Fri, 16 Feb 2018 11:13:52 +0000 (14:13 +0300)]
Added missed "return"
Dmitry Stogov [Fri, 16 Feb 2018 08:37:20 +0000 (11:37 +0300)]
Improved ZPP to reduce amount of generated code.
Dmitry Stogov [Thu, 15 Feb 2018 23:45:31 +0000 (02:45 +0300)]
Move exceptional code into "cold" helpers
Anatol Belski [Thu, 15 Feb 2018 20:34:55 +0000 (21:34 +0100)]
Reduce variable scope
Anatol Belski [Thu, 15 Feb 2018 20:30:16 +0000 (21:30 +0100)]
Use explicit for more type safety
Anatol Belski [Thu, 15 Feb 2018 20:26:01 +0000 (21:26 +0100)]
Reduce variable scope
Anatol Belski [Thu, 15 Feb 2018 20:19:33 +0000 (21:19 +0100)]
Remove condition that is always false
Anatol Belski [Thu, 15 Feb 2018 20:18:58 +0000 (21:18 +0100)]
Reduce variable scope
Dmitry Stogov [Thu, 15 Feb 2018 18:54:49 +0000 (21:54 +0300)]
Use Z_TYPE_INFO_REFCOUNTED() macro
Dmitry Stogov [Thu, 15 Feb 2018 14:04:41 +0000 (17:04 +0300)]
Optimize "backup" functions of inlined opcode handlers for size
Dmitry Stogov [Thu, 15 Feb 2018 12:56:38 +0000 (15:56 +0300)]
Added ability to manually sort opcode handlers (not used yet)
Dmitry Stogov [Thu, 15 Feb 2018 12:55:19 +0000 (15:55 +0300)]
Added simple VM instrumentation ability
Dmitry Stogov [Thu, 15 Feb 2018 11:50:42 +0000 (14:50 +0300)]
Avoid generation of rarely used specialized handler
Dmitry Stogov [Thu, 15 Feb 2018 10:48:04 +0000 (13:48 +0300)]
Avoid inlining of rarely used handlers
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
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
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
Joe Watkins [Thu, 15 Feb 2018 07:56:40 +0000 (08:56 +0100)]
Merge branch 'PHP-7.2'
* PHP-7.2:
bump versions
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
Gabriel Caruso [Wed, 14 Feb 2018 23:00:13 +0000 (21:00 -0200)]
Better error message when fail to find test file
Tom Van Looy [Wed, 14 Feb 2018 20:47:56 +0000 (21:47 +0100)]
Fix: follow the indent of the other configure options
Nikita Popov [Wed, 14 Feb 2018 18:00:41 +0000 (19:00 +0100)]
Merge branch 'PHP-7.2'
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.
Anatol Belski [Wed, 14 Feb 2018 17:29:41 +0000 (18:29 +0100)]
Fix datatypes for native AVX build