]>
granicus.if.org Git - php/log
Xinchen Hui [Wed, 23 Dec 2015 12:56:49 +0000 (20:56 +0800)]
Dmitry Stogov [Wed, 23 Dec 2015 10:52:15 +0000 (13:52 +0300)]
Consolidate indirect string offset modification checks (Nikita, Dmitry)
Check it once, instead of dozens of times.
Julien Pauli [Wed, 23 Dec 2015 10:38:16 +0000 (11:38 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Updated NEWS
Added support for HTTP 451
Julien Pauli [Wed, 23 Dec 2015 10:37:59 +0000 (11:37 +0100)]
Updated NEWS
Julien Pauli [Wed, 23 Dec 2015 10:33:10 +0000 (11:33 +0100)]
Merge branch 'PHP-5.6' into PHP-7.0
* PHP-5.6:
Added support for HTTP 451
Conflicts:
sapi/cgi/cgi_main.c
sapi/cli/php_cli_server.c
sapi/fpm/fpm/fpm_main.c
Julien Pauli [Wed, 23 Dec 2015 10:31:18 +0000 (11:31 +0100)]
Added support for HTTP 451
Dmitry Stogov [Wed, 23 Dec 2015 00:52:38 +0000 (03:52 +0300)]
Fixed SSA construction for CFG with unreachable BB
Dmitry Stogov [Wed, 23 Dec 2015 00:52:01 +0000 (03:52 +0300)]
Fixed test on 32-bit systems
Dmitry Stogov [Wed, 23 Dec 2015 00:46:40 +0000 (03:46 +0300)]
Remove live-range if the corresponding definition is deleted
Dmitry Stogov [Wed, 23 Dec 2015 00:20:28 +0000 (03:20 +0300)]
Support for incompletely constructed SSA
Dmitry Stogov [Tue, 22 Dec 2015 22:47:38 +0000 (01:47 +0300)]
Fixed bug #71196 (Memory leak with out-of-order live ranges)
Nikita Popov [Tue, 22 Dec 2015 22:08:26 +0000 (23:08 +0100)]
Always create ARRAY_ELEM ssa var for ELEM_REF
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
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
Dmitry Stogov [Tue, 22 Dec 2015 18:31:28 +0000 (21:31 +0300)]
Fixed incorrect setting on 32-bit systems
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
Julien Pauli [Tue, 22 Dec 2015 17:12:46 +0000 (18:12 +0100)]
Updated NEWS
Ilia Alshanetsky [Wed, 28 Oct 2015 22:38:54 +0000 (18:38 -0400)]
Fixed test
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
Bob Weinand [Tue, 22 Dec 2015 16:39:52 +0000 (17:39 +0100)]
Merge branch 'PHP-7.0'
Bob Weinand [Tue, 22 Dec 2015 16:39:36 +0000 (17:39 +0100)]
Added test for (long-ago fixed) bug #70083
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
Julien Pauli [Tue, 22 Dec 2015 15:27:52 +0000 (16:27 +0100)]
Updated NEWS
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
Julien Pauli [Tue, 22 Dec 2015 15:25:51 +0000 (16:25 +0100)]
Fix #70720
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
Dmitry Stogov [Tue, 22 Dec 2015 13:43:37 +0000 (16:43 +0300)]
Add ability to prevent "useless" SSA variable creation for "refcounting inference".
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
Anatol Belski [Tue, 22 Dec 2015 13:33:19 +0000 (14:33 +0100)]
release only appropriate string
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)
Anatol Belski [Tue, 22 Dec 2015 12:19:33 +0000 (13:19 +0100)]
Merge branch 'PHP-7.0'
* PHP-7.0:
update NEWS
Anatol Belski [Tue, 22 Dec 2015 12:18:21 +0000 (13:18 +0100)]
update NEWS
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
Anatol Belski [Tue, 22 Dec 2015 09:48:32 +0000 (10:48 +0100)]
7.0.3 next
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)
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)
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)
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)
Lior Kaplan [Mon, 21 Dec 2015 21:14:23 +0000 (23:14 +0200)]
Align NEWS entry format
Dmitry Stogov [Mon, 21 Dec 2015 16:46:55 +0000 (19:46 +0300)]
Get rid of MAY_BE_DEF
Dmitry Stogov [Mon, 21 Dec 2015 15:39:24 +0000 (18:39 +0300)]
Split MAY_BE_NULL from MAY_BE_UNDEF
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.
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
Dmitry Stogov [Mon, 21 Dec 2015 12:57:53 +0000 (15:57 +0300)]
Fixed possible crash on Zend/tests/bug71154.phpt
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"
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.
Xinchen Hui [Mon, 21 Dec 2015 10:13:11 +0000 (18:13 +0800)]
Merge branch 'PHP-7.0'
* PHP-7.0:
Fixed typo
Xinchen Hui [Mon, 21 Dec 2015 10:12:57 +0000 (18:12 +0800)]
Fixed typo
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
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)
Lior Kaplan [Sun, 20 Dec 2015 21:48:25 +0000 (23:48 +0200)]
Align #71165 entry format
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 )
Anatol Belski [Sun, 20 Dec 2015 14:25:11 +0000 (15:25 +0100)]
Partially fix bug #71129
Nikita Popov [Sun, 20 Dec 2015 11:47:39 +0000 (12:47 +0100)]
Protect against overflows in pi constraints
Xinchen Hui [Sun, 20 Dec 2015 02:53:34 +0000 (18:53 -0800)]
Merge branch 'master' of git.php.net:/php-src
Xinchen Hui [Sun, 20 Dec 2015 02:40:58 +0000 (18:40 -0800)]
typo agian :<
Yasuo Ohgaki [Sun, 20 Dec 2015 02:36:58 +0000 (11:36 +0900)]
Add session module test
Nikita Popov [Sat, 19 Dec 2015 22:59:29 +0000 (23:59 +0100)]
long -> zend_long in range inference
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);
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
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.
Nikita Popov [Sat, 19 Dec 2015 19:48:12 +0000 (20:48 +0100)]
Fix typo in pi placement
Xinchen Hui [Sat, 19 Dec 2015 13:45:44 +0000 (05:45 -0800)]
Added note to upgrading
Xinchen Hui [Sat, 19 Dec 2015 13:44:29 +0000 (05:44 -0800)]
Typo
Lior Kaplan [Sat, 19 Dec 2015 11:19:43 +0000 (13:19 +0200)]
Bug #71105 was fixed in 7.0.1 (commit
9374ba35 )
Xinchen Hui [Sat, 19 Dec 2015 05:55:04 +0000 (21:55 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sat, 19 Dec 2015 05:54:57 +0000 (21:54 -0800)]
Fixed NEWS
Xinchen Hui [Sat, 19 Dec 2015 05:52:15 +0000 (21:52 -0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Sat, 19 Dec 2015 05:52:05 +0000 (21:52 -0800)]
Fixed bug #71165 (-DGC_BENCH=1 doesn't work on PHP7)
Xinchen Hui [Sat, 19 Dec 2015 05:43:08 +0000 (21:43 -0800)]
Merge branch '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
Xinchen Hui [Sat, 19 Dec 2015 05:40:20 +0000 (21:40 -0800)]
Fixed bug #71163 (Segmentation Fault: cleanup_unfinished_calls)
Andrea Faulds [Sat, 19 Dec 2015 02:35:19 +0000 (02:35 +0000)]
Merge branch 'PHP-7.0'
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.
Andrea Faulds [Fri, 18 Dec 2015 19:32:20 +0000 (19:32 +0000)]
Merge branch 'PHP-7.0'
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.
Nikita Popov [Fri, 18 Dec 2015 16:34:27 +0000 (17:34 +0100)]
Clone cannot return reference
Nikita Popov [Fri, 18 Dec 2015 16:33:36 +0000 (17:33 +0100)]
Fix zend_get_func_info()
Xinchen Hui [Fri, 18 Dec 2015 16:30:35 +0000 (00:30 +0800)]
Merge branch 'PHP-7.0'
Conflicts:
NEWS
Xinchen Hui [Fri, 18 Dec 2015 16:29:19 +0000 (00:29 +0800)]
Fixed bug #71144 (Sementation fault when using cURL with ZTS)
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
Xinchen Hui [Fri, 18 Dec 2015 16:19:34 +0000 (00:19 +0800)]
Merge branch 'PHP-7.0'
Xinchen Hui [Fri, 18 Dec 2015 16:19:21 +0000 (00:19 +0800)]
Fixed test skip
Xinchen Hui [Fri, 18 Dec 2015 15:49:59 +0000 (23:49 +0800)]
Implemented FR #71159 (Upgraed bundled SQLite lib to 3.9.2)
Dmitry Stogov [Fri, 18 Dec 2015 14:18:13 +0000 (17:18 +0300)]
Fixed dump format
Dmitry Stogov [Fri, 18 Dec 2015 13:53:31 +0000 (16:53 +0300)]
Fixed compilation
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:
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
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
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
Xinchen Hui [Fri, 18 Dec 2015 09:37:40 +0000 (17:37 +0800)]
Improved fix for #71127
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().
Yasuo Ohgaki [Fri, 18 Dec 2015 04:09:30 +0000 (13:09 +0900)]
Fix typo in NEWS
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.
Andrea Faulds [Thu, 17 Dec 2015 23:36:20 +0000 (23:36 +0000)]
Merge branch 'PHP-7.0'
Andrea Faulds [Thu, 17 Dec 2015 23:33:24 +0000 (23:33 +0000)]
Fix tests broken by 'Fix bug #52355'
a4648ded430985e019b446939c4ff5bef36c0b91 broke some tests
Andrea Faulds [Thu, 17 Dec 2015 22:40:55 +0000 (22:40 +0000)]
Merge branch 'PHP-7.0'
Andrea Faulds [Thu, 17 Dec 2015 22:36:14 +0000 (22:36 +0000)]
Fix bug #52355
Nikita Popov [Thu, 17 Dec 2015 22:23:59 +0000 (23:23 +0100)]
Merge branch 'PHP-7.0'
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.