]> granicus.if.org Git - php/log
php
9 years agoFixed SSA construction for CFG with unreachable BB
Dmitry Stogov [Wed, 23 Dec 2015 00:52:38 +0000 (03:52 +0300)]
Fixed SSA construction for CFG with unreachable BB

9 years agoFixed test on 32-bit systems
Dmitry Stogov [Wed, 23 Dec 2015 00:52:01 +0000 (03:52 +0300)]
Fixed test on 32-bit systems

9 years agoRemove live-range if the corresponding definition is deleted
Dmitry Stogov [Wed, 23 Dec 2015 00:46:40 +0000 (03:46 +0300)]
Remove live-range if the corresponding definition is deleted

9 years agoSupport for incompletely constructed SSA
Dmitry Stogov [Wed, 23 Dec 2015 00:20:28 +0000 (03:20 +0300)]
Support for incompletely constructed SSA

9 years agoFixed bug #71196 (Memory leak with out-of-order live ranges)
Dmitry Stogov [Tue, 22 Dec 2015 22:47:38 +0000 (01:47 +0300)]
Fixed bug #71196 (Memory leak with out-of-order live ranges)

9 years agoAlways create ARRAY_ELEM ssa var for ELEM_REF
Nikita Popov [Tue, 22 Dec 2015 22:08:26 +0000 (23:08 +0100)]
Always create ARRAY_ELEM ssa var for ELEM_REF

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Tue, 22 Dec 2015 18:33:07 +0000 (21:33 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed incorrect setting on 32-bit systems

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Dmitry Stogov [Tue, 22 Dec 2015 18:32:45 +0000 (21:32 +0300)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fixed incorrect setting on 32-bit systems

9 years agoFixed incorrect setting on 32-bit systems
Dmitry Stogov [Tue, 22 Dec 2015 18:31:28 +0000 (21:31 +0300)]
Fixed incorrect setting on 32-bit systems

9 years agoCorrected error messages:
Dmitry Stogov [Tue, 22 Dec 2015 17:55:11 +0000 (20:55 +0300)]
Corrected error messages:

- we don't use NULL for overlaoded objects for ages
- fixed array/object mess

9 years agoUpdated NEWS
Julien Pauli [Tue, 22 Dec 2015 17:12:46 +0000 (18:12 +0100)]
Updated NEWS

9 years agoFixed test
Ilia Alshanetsky [Wed, 28 Oct 2015 22:38:54 +0000 (18:38 -0400)]
Fixed test

9 years agoAdded validation to parse_url() to prohibit restricted characters inside login/pass...
Ilia Alshanetsky [Tue, 27 Oct 2015 16:40:53 +0000 (12:40 -0400)]
Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986

9 years agoMerge branch 'PHP-7.0'
Bob Weinand [Tue, 22 Dec 2015 16:39:52 +0000 (17:39 +0100)]
Merge branch 'PHP-7.0'

9 years agoAdded test for (long-ago fixed) bug #70083
Bob Weinand [Tue, 22 Dec 2015 16:39:36 +0000 (17:39 +0100)]
Added test for (long-ago fixed) bug #70083

9 years agoMerge branch 'PHP-7.0'
Julien Pauli [Tue, 22 Dec 2015 15:28:12 +0000 (16:28 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Updated NEWS
  Fix #70720
  Align NEWS entry format

9 years agoUpdated NEWS
Julien Pauli [Tue, 22 Dec 2015 15:27:52 +0000 (16:27 +0100)]
Updated NEWS

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Julien Pauli [Tue, 22 Dec 2015 15:26:30 +0000 (16:26 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Fix #70720
  Align NEWS entry format

9 years agoFix #70720
Julien Pauli [Tue, 22 Dec 2015 15:25:51 +0000 (16:25 +0100)]
Fix #70720

9 years agoSkip "useless" SSA variables for INIT_ARRAY, ADD_ARRAY_ELEMENT, FE_RESET_R
Dmitry Stogov [Tue, 22 Dec 2015 14:35:08 +0000 (17:35 +0300)]
Skip "useless" SSA variables for INIT_ARRAY, ADD_ARRAY_ELEMENT, FE_RESET_R

9 years agoAdd ability to prevent "useless" SSA variable creation for "refcounting inference".
Dmitry Stogov [Tue, 22 Dec 2015 13:43:37 +0000 (16:43 +0300)]
Add ability to prevent "useless" SSA variable creation for "refcounting inference".

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 22 Dec 2015 13:37:05 +0000 (14:37 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  release only appropriate string

9 years agorelease only appropriate string
Anatol Belski [Tue, 22 Dec 2015 13:33:19 +0000 (14:33 +0100)]
release only appropriate string

9 years agoMake RC1/RCN inference more accurate (it's probably not 100% correct anyway)
Dmitry Stogov [Tue, 22 Dec 2015 12:35:17 +0000 (15:35 +0300)]
Make RC1/RCN inference more accurate (it's probably not 100% correct anyway)

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 22 Dec 2015 12:19:33 +0000 (13:19 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  update NEWS

9 years agoupdate NEWS
Anatol Belski [Tue, 22 Dec 2015 12:18:21 +0000 (13:18 +0100)]
update NEWS

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Tue, 22 Dec 2015 09:49:38 +0000 (10:49 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  7.0.3 next

9 years ago7.0.3 next
Anatol Belski [Tue, 22 Dec 2015 09:48:32 +0000 (10:48 +0100)]
7.0.3 next

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 22 Dec 2015 04:29:00 +0000 (12:29 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #71190 (substr_replace converts integers in original $search array to strings)

9 years agoFixed bug #71190 (substr_replace converts integers in original $search array to strings)
Xinchen Hui [Tue, 22 Dec 2015 04:07:44 +0000 (12:07 +0800)]
Fixed bug #71190 (substr_replace converts integers in original $search array to strings)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Tue, 22 Dec 2015 03:07:42 +0000 (11:07 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed #71188 (str_replace converts integers in original $search array to strings)

9 years agoFixed #71188 (str_replace converts integers in original $search array to strings)
Xinchen Hui [Tue, 22 Dec 2015 03:07:30 +0000 (11:07 +0800)]
Fixed #71188 (str_replace converts integers in original $search array to strings)

9 years agoAlign NEWS entry format
Lior Kaplan [Mon, 21 Dec 2015 21:14:23 +0000 (23:14 +0200)]
Align NEWS entry format

9 years agoGet rid of MAY_BE_DEF
Dmitry Stogov [Mon, 21 Dec 2015 16:46:55 +0000 (19:46 +0300)]
Get rid of MAY_BE_DEF

9 years agoSplit MAY_BE_NULL from MAY_BE_UNDEF
Dmitry Stogov [Mon, 21 Dec 2015 15:39:24 +0000 (18:39 +0300)]
Split MAY_BE_NULL from MAY_BE_UNDEF

9 years agoRemove uses of VARs in extended_value
Nikita Popov [Sun, 20 Dec 2015 12:42:26 +0000 (13:42 +0100)]
Remove uses of VARs in extended_value

The DECLARE_(ANON_)INHERITED_CLASS(_DELAYED) opcodes were
referencing the parent ce VAR through extended_value. This is
hacky and we can't track the def-use chain in SSA.

To avoid this, the layout of declaration opcodes is changed
as follows: op1 points to the lcname and rtd_key literals, in
that order. (For anon/lambda declarations only one of lcname or
rtd_key is present.) This frees up op2, which is now used to
reference the parent ce VAR in inheriting declarations. The
jmp offset for anon class declarations is moved frop op2 to
extended_value.

The changes were applied both to class and function declarations
to keep everything symmetric.

9 years agoMerge branch 'PHP-7.0'
Dmitry Stogov [Mon, 21 Dec 2015 12:58:58 +0000 (15:58 +0300)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed possible crash on Zend/tests/bug71154.phpt

9 years agoFixed possible crash on Zend/tests/bug71154.phpt
Dmitry Stogov [Mon, 21 Dec 2015 12:57:53 +0000 (15:57 +0300)]
Fixed possible crash on Zend/tests/bug71154.phpt

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Mon, 21 Dec 2015 11:10:49 +0000 (12:10 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Revert "Partially fix bug #71129"

9 years agoRevert "Partially fix bug #71129"
Anatol Belski [Mon, 21 Dec 2015 11:09:24 +0000 (12:09 +0100)]
Revert "Partially fix bug #71129"

This reverts commit 4c55669caa96f6202c2047a7baf6c5d5894d5fa7.

The way it is fixes doesn't satisfy every SAPI, so a better solution
is yet to work out.

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 21 Dec 2015 10:13:11 +0000 (18:13 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed typo

9 years agoFixed typo
Xinchen Hui [Mon, 21 Dec 2015 10:12:57 +0000 (18:12 +0800)]
Fixed typo

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Mon, 21 Dec 2015 10:11:01 +0000 (18:11 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Fixed bug #71178 (preg_replace with arrays creates [0] in replace array if not already set)
  Align #71165 entry format

9 years agoFixed bug #71178 (preg_replace with arrays creates [0] in replace array if not alread...
Xinchen Hui [Mon, 21 Dec 2015 10:09:59 +0000 (18:09 +0800)]
Fixed bug #71178 (preg_replace with arrays creates [0] in replace array if not already set)

9 years agoAlign #71165 entry format
Lior Kaplan [Sun, 20 Dec 2015 21:48:25 +0000 (23:48 +0200)]
Align #71165 entry format

9 years agoMerge branch 'PHP-7.0'
Anatol Belski [Sun, 20 Dec 2015 14:27:13 +0000 (15:27 +0100)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Partially fix bug #71129
  Typo
  Bug #71105 was fixed in 7.0.1 (commit 9374ba35)

9 years agoPartially fix bug #71129
Anatol Belski [Sun, 20 Dec 2015 14:25:11 +0000 (15:25 +0100)]
Partially fix bug #71129

9 years agoProtect against overflows in pi constraints
Nikita Popov [Sun, 20 Dec 2015 11:47:39 +0000 (12:47 +0100)]
Protect against overflows in pi constraints

9 years agoMerge branch 'master' of git.php.net:/php-src
Xinchen Hui [Sun, 20 Dec 2015 02:53:34 +0000 (18:53 -0800)]
Merge branch 'master' of git.php.net:/php-src

9 years agotypo agian :<
Xinchen Hui [Sun, 20 Dec 2015 02:40:58 +0000 (18:40 -0800)]
typo agian :<

9 years agoAdd session module test
Yasuo Ohgaki [Sun, 20 Dec 2015 02:36:58 +0000 (11:36 +0900)]
Add session module test

9 years agolong -> zend_long in range inference
Nikita Popov [Sat, 19 Dec 2015 22:59:29 +0000 (23:59 +0100)]
long -> zend_long in range inference

9 years agoFix Pi constraint for -LONG_MIN adjustments
Nikita Popov [Sat, 19 Dec 2015 22:47:08 +0000 (23:47 +0100)]
Fix Pi constraint for -LONG_MIN adjustments

-LONG_MIN == LONG_MIN so bad things will happen.
Example of JIT miscompile:

    function test($n) {
if ($n + PHP_INT_MIN == 0) {
    $n2 = (int) ($n + PHP_INT_MAX);
    var_dump($n2);
}
    }
    test(PHP_INT_MAX + 1);

9 years agoExtrace find_adjusted_tmp_var() function
Nikita Popov [Sat, 19 Dec 2015 22:20:31 +0000 (23:20 +0100)]
Extrace find_adjusted_tmp_var() function

This code was duplicated for op1 and op2

9 years agoSimplify bf/bt computation in pi placement
Nikita Popov [Sat, 19 Dec 2015 20:00:38 +0000 (21:00 +0100)]
Simplify bf/bt computation in pi placement

The meaning of the successors is well-defined, no need to check it.

9 years agoFix typo in pi placement
Nikita Popov [Sat, 19 Dec 2015 19:48:12 +0000 (20:48 +0100)]
Fix typo in pi placement

9 years agoAdded note to upgrading
Xinchen Hui [Sat, 19 Dec 2015 13:45:44 +0000 (05:45 -0800)]
Added note to upgrading

9 years agoTypo
Xinchen Hui [Sat, 19 Dec 2015 13:44:29 +0000 (05:44 -0800)]
Typo

9 years agoBug #71105 was fixed in 7.0.1 (commit 9374ba35)
Lior Kaplan [Sat, 19 Dec 2015 11:19:43 +0000 (13:19 +0200)]
Bug #71105 was fixed in 7.0.1 (commit 9374ba35)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 19 Dec 2015 05:55:04 +0000 (21:55 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed NEWS
Xinchen Hui [Sat, 19 Dec 2015 05:54:57 +0000 (21:54 -0800)]
Fixed NEWS

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 19 Dec 2015 05:52:15 +0000 (21:52 -0800)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71165 (-DGC_BENCH=1 doesn't work on PHP7)
Xinchen Hui [Sat, 19 Dec 2015 05:52:05 +0000 (21:52 -0800)]
Fixed bug #71165 (-DGC_BENCH=1 doesn't work on PHP7)

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Sat, 19 Dec 2015 05:43:08 +0000 (21:43 -0800)]
Merge branch 'PHP-7.0'

9 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Sat, 19 Dec 2015 05:40:48 +0000 (21:40 -0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

9 years agoFixed bug #71163 (Segmentation Fault: cleanup_unfinished_calls)
Xinchen Hui [Sat, 19 Dec 2015 05:40:20 +0000 (21:40 -0800)]
Fixed bug #71163 (Segmentation Fault: cleanup_unfinished_calls)

9 years agoMerge branch 'PHP-7.0'
Andrea Faulds [Sat, 19 Dec 2015 02:35:19 +0000 (02:35 +0000)]
Merge branch 'PHP-7.0'

9 years agoFix bug #70804
Andrea Faulds [Sat, 19 Dec 2015 02:25:44 +0000 (02:25 +0000)]
Fix bug #70804

This follows on from a4648ded430985e019b446939c4ff5bef36c0b91 and
4e01269082d20f5598c481f122b3eea10a586e2b.
Both -(+0.0) and +(-0.0) behaved incorrectly for the same reason.

9 years agoMerge branch 'PHP-7.0'
Andrea Faulds [Fri, 18 Dec 2015 19:32:20 +0000 (19:32 +0000)]
Merge branch 'PHP-7.0'

9 years agoFix bug #66179
Andrea Faulds [Fri, 18 Dec 2015 19:29:35 +0000 (19:29 +0000)]
Fix bug #66179

This also fixes ext/standard/tests/general_functions/var_export-locale.phpt
to actually run the floating-point section.

9 years agoClone cannot return reference
Nikita Popov [Fri, 18 Dec 2015 16:34:27 +0000 (17:34 +0100)]
Clone cannot return reference

9 years agoFix zend_get_func_info()
Nikita Popov [Fri, 18 Dec 2015 16:33:36 +0000 (17:33 +0100)]
Fix zend_get_func_info()

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 18 Dec 2015 16:30:35 +0000 (00:30 +0800)]
Merge branch 'PHP-7.0'

Conflicts:
NEWS

9 years agoFixed bug #71144 (Sementation fault when using cURL with ZTS)
Xinchen Hui [Fri, 18 Dec 2015 16:29:19 +0000 (00:29 +0800)]
Fixed bug #71144 (Sementation fault when using cURL with ZTS)

9 years agoMerge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
Xinchen Hui [Fri, 18 Dec 2015 16:20:18 +0000 (00:20 +0800)]
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 18 Dec 2015 16:19:34 +0000 (00:19 +0800)]
Merge branch 'PHP-7.0'

9 years agoFixed test skip
Xinchen Hui [Fri, 18 Dec 2015 16:19:21 +0000 (00:19 +0800)]
Fixed test skip

9 years agoImplemented FR #71159 (Upgraed bundled SQLite lib to 3.9.2)
Xinchen Hui [Fri, 18 Dec 2015 15:49:59 +0000 (23:49 +0800)]
Implemented FR #71159 (Upgraed bundled SQLite lib to 3.9.2)

9 years agoFixed dump format
Dmitry Stogov [Fri, 18 Dec 2015 14:18:13 +0000 (17:18 +0300)]
Fixed dump format

9 years agoFixed compilation
Dmitry Stogov [Fri, 18 Dec 2015 13:53:31 +0000 (16:53 +0300)]
Fixed compilation

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 18 Dec 2015 09:44:05 +0000 (17:44 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:

9 years agoMerge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6
Xinchen Hui [Fri, 18 Dec 2015 09:43:25 +0000 (17:43 +0800)]
Merge branch 'PHP-5.6' of git.php.net:/php-src into PHP-5.6

* 'PHP-5.6' of git.php.net:/php-src:
  Align news entry format: Implement FR -> Implemented FR

9 years agoMerge branch 'PHP-7.0'
Xinchen Hui [Fri, 18 Dec 2015 09:42:11 +0000 (17:42 +0800)]
Merge branch 'PHP-7.0'

* PHP-7.0:
  Improved fix for #71127

9 years agoMerge branch 'PHP-5.6' into PHP-7.0
Xinchen Hui [Fri, 18 Dec 2015 09:41:42 +0000 (17:41 +0800)]
Merge branch 'PHP-5.6' into PHP-7.0

* PHP-5.6:
  Improved fix for #71127

Conflicts:
ext/opcache/Optimizer/pass1_5.c

9 years agoImproved fix for #71127
Xinchen Hui [Fri, 18 Dec 2015 09:37:40 +0000 (17:37 +0800)]
Improved fix for #71127

9 years agoImprove FR #48532 implementation (Allow pg_fetch_all() to index numerically).
Yasuo Ohgaki [Fri, 18 Dec 2015 06:50:57 +0000 (15:50 +0900)]
Improve FR #48532 implementation (Allow pg_fetch_all() to index numerically).
Made result type option be consistent with pg_fetch_row().

9 years agoFix typo in NEWS
Yasuo Ohgaki [Fri, 18 Dec 2015 04:09:30 +0000 (13:09 +0900)]
Fix typo in NEWS

9 years agoImprove FR #31021 implementation (pg_last_notice() is needed to get all notice messages).
Yasuo Ohgaki [Fri, 18 Dec 2015 04:04:34 +0000 (13:04 +0900)]
Improve FR #31021 implementation (pg_last_notice() is needed to get all notice messages).
Now pg_last_notice() can clear stored notices.

9 years agoMerge branch 'PHP-7.0'
Andrea Faulds [Thu, 17 Dec 2015 23:36:20 +0000 (23:36 +0000)]
Merge branch 'PHP-7.0'

9 years agoFix tests broken by 'Fix bug #52355'
Andrea Faulds [Thu, 17 Dec 2015 23:33:24 +0000 (23:33 +0000)]
Fix tests broken by 'Fix bug #52355'

a4648ded430985e019b446939c4ff5bef36c0b91 broke some tests

9 years agoMerge branch 'PHP-7.0'
Andrea Faulds [Thu, 17 Dec 2015 22:40:55 +0000 (22:40 +0000)]
Merge branch 'PHP-7.0'

9 years agoFix bug #52355
Andrea Faulds [Thu, 17 Dec 2015 22:36:14 +0000 (22:36 +0000)]
Fix bug #52355

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Thu, 17 Dec 2015 22:23:59 +0000 (23:23 +0100)]
Merge branch 'PHP-7.0'

9 years agoFixed iter leak on by-ref foreach over const/tmp array
Nikita Popov [Thu, 17 Dec 2015 22:21:48 +0000 (23:21 +0100)]
Fixed iter leak on by-ref foreach over const/tmp array

FE_FREE does not unregister the iter for plain arrays. So always
wrap into a REF wrapper, even if not strictly necessary, in
RESET_RW. Alternatively we could use a flag to distinguish plain
positions and interators.

Also added a check for leaked iterators in shutdown_executor.

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Thu, 17 Dec 2015 21:20:40 +0000 (22:20 +0100)]
Merge branch 'PHP-7.0'

9 years agoFixed bug #71154
Nikita Popov [Thu, 17 Dec 2015 21:11:08 +0000 (22:11 +0100)]
Fixed bug #71154

9 years agoMerge branch 'master' of git.php.net:php-src
George Wang [Thu, 17 Dec 2015 20:25:39 +0000 (15:25 -0500)]
Merge branch 'master' of git.php.net:php-src

9 years agoFixed a bug in apache_request_headers() that adds an extra \0 to header name.
George Wang [Thu, 17 Dec 2015 20:20:08 +0000 (15:20 -0500)]
Fixed a bug in apache_request_headers() that adds an extra \0 to header name.

9 years agoFixed a bug in apache_request_headers() that adds an extra \0 to header name.
George Wang [Thu, 17 Dec 2015 20:20:08 +0000 (15:20 -0500)]
Fixed a bug in apache_request_headers() that adds an extra \0 to header name.

9 years agoMerge branch 'PHP-7.0'
Nikita Popov [Thu, 17 Dec 2015 20:01:27 +0000 (21:01 +0100)]
Merge branch 'PHP-7.0'