Dmitry Stogov
3d88a64e0c
Add another DFA optimization pattern (ASSIGN -> QM_ASSING)
2015-12-24 11:06:02 +03:00
Xinchen Hui
5b916d3dd5
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Superfluous semicolon
2015-12-24 10:42:49 +08:00
Xinchen Hui
c2fa01b939
Merge branch 'PHP-7.0' of git.php.net:/php-src into PHP-7.0
...
* 'PHP-7.0' of git.php.net:/php-src:
update NEWS
update NEWS
fix merge mistake
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Sort 7.0.1 extensions' entries
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Add CVE for #71020 (PHP 7.0.1)
Update NEWS & Fixed test
Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)
This should never fail
Fixed bug #71202 (Autoload function registered by another not activated immediately)
Updated NEWS
Added support for HTTP 451
2015-12-24 10:42:42 +08:00
Xinchen Hui
64071fc531
Superfluous semicolon
2015-12-24 10:41:05 +08:00
Anatol Belski
0ece97e5a4
fix merge mistake
2015-12-23 18:30:32 +01:00
Anatol Belski
204faa5c36
Added test for bug #71201
2015-12-23 18:26:56 +01:00
Anatol Belski
95454c448b
Bug #71201 round() segfault on 64-bit builds
2015-12-23 18:26:55 +01:00
Anatol Belski
1e7a593b60
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
Add CVE for #71020 (PHP 7.0.1)
2015-12-23 18:25:28 +01:00
Anatol Belski
d97b161f10
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Added test for bug #71201
Bug #71201 round() segfault on 64-bit builds
2015-12-23 18:24:56 +01:00
Anatol Belski
50c4be0309
Added test for bug #71201
2015-12-23 18:18:02 +01:00
Anatol Belski
0d822f6df9
Bug #71201 round() segfault on 64-bit builds
2015-12-23 18:16:52 +01:00
Xinchen Hui
eaa79de2e5
Merge branch 'PHP-7.0'
2015-12-23 08:13:24 -08:00
Xinchen Hui
825b7f895a
Update NEWS & Fixed test
2015-12-23 08:13:13 -08:00
Xinchen Hui
8692a99551
Merge branch 'PHP-5.6' into PHP-7.0
2015-12-23 08:11:09 -08:00
Xinchen Hui
620ccc9b1a
Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading)
2015-12-23 08:10:59 -08:00
Xinchen Hui
62e8eadfa0
Merge branch 'PHP-7.0'
2015-12-23 07:52:36 -08:00
Xinchen Hui
9cc4cdbe57
This should never fail
2015-12-23 07:52:24 -08:00
Xinchen Hui
086eb8c88d
Merge branch 'PHP-7.0'
2015-12-23 07:48:16 -08:00
Xinchen Hui
e21cb2daea
Fixed bug #71202 (Autoload function registered by another not activated immediately)
2015-12-23 07:48:00 -08:00
Dmitry Stogov
28a016a6dc
Fixed SSA construction for CFG with unreachable BB
2015-12-23 03:52:38 +03:00
Dmitry Stogov
1e3ab15843
Fixed test on 32-bit systems
2015-12-23 03:52:01 +03:00
Dmitry Stogov
e82a73573b
Remove live-range if the corresponding definition is deleted
2015-12-23 03:46:40 +03:00
Dmitry Stogov
dd3cb33ef0
Support for incompletely constructed SSA
2015-12-23 03:20:28 +03:00
Nikita Popov
fdfbeeb296
Always create ARRAY_ELEM ssa var for ELEM_REF
2015-12-22 23:08:26 +01:00
Dmitry Stogov
5c1c8f1dec
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed incorrect setting on 32-bit systems
2015-12-22 21:33:07 +03:00
Dmitry Stogov
f3bf95eb81
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fixed incorrect setting on 32-bit systems
2015-12-22 21:32:45 +03:00
Dmitry Stogov
a57a08e791
Fixed incorrect setting on 32-bit systems
2015-12-22 21:31:28 +03:00
Ilia Alshanetsky
b92ae5d7bc
Fixed test
2015-12-22 18:12:56 +01:00
Ilia Alshanetsky
f705063e23
Added validation to parse_url() to prohibit restricted characters inside login/pass components based on RFC3986
2015-12-22 18:12:56 +01:00
Julien Pauli
c0eea8a8b7
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Updated NEWS
Fix #70720
Align NEWS entry format
2015-12-22 16:28:12 +01:00
Julien Pauli
332b778d68
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Fix #70720
Align NEWS entry format
2015-12-22 16:26:30 +01:00
Julien Pauli
ff7ed9021c
Fix #70720
2015-12-22 16:25:51 +01:00
Dmitry Stogov
a75c6d5fb2
Skip "useless" SSA variables for INIT_ARRAY, ADD_ARRAY_ELEMENT, FE_RESET_R
2015-12-22 17:35:08 +03:00
Dmitry Stogov
b4b6d58990
Add ability to prevent "useless" SSA variable creation for "refcounting inference".
2015-12-22 16:43:37 +03:00
Anatol Belski
e8f1db14d5
Merge branch 'PHP-7.0'
...
* PHP-7.0:
release only appropriate string
2015-12-22 14:37:05 +01:00
Anatol Belski
4037ba5847
release only appropriate string
2015-12-22 14:33:19 +01:00
Dmitry Stogov
83cd828469
Make RC1/RCN inference more accurate (it's probably not 100% correct anyway)
2015-12-22 15:35:17 +03:00
Xinchen Hui
e9b2febd61
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed bug #71190 (substr_replace converts integers in original $search array to strings)
2015-12-22 12:29:00 +08:00
Xinchen Hui
d63ae2c382
Fixed bug #71190 (substr_replace converts integers in original $search array to strings)
2015-12-22 12:13:28 +08:00
Xinchen Hui
b216481a96
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed #71188 (str_replace converts integers in original $search array to strings)
2015-12-22 11:07:42 +08:00
Xinchen Hui
3524849f77
Fixed #71188 (str_replace converts integers in original $search array to strings)
2015-12-22 11:07:30 +08:00
Dmitry Stogov
d952eb753c
Get rid of MAY_BE_DEF
2015-12-21 19:46:55 +03:00
Dmitry Stogov
ae303cf82f
Split MAY_BE_NULL from MAY_BE_UNDEF
2015-12-21 18:39:24 +03:00
Nikita Popov
88eae43ff9
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.
2015-12-21 14:44:42 +01:00
Xinchen Hui
952748a606
Merge branch 'PHP-7.0'
...
* PHP-7.0:
Fixed typo
2015-12-21 18:13:11 +08:00
Xinchen Hui
4531d2c591
Fixed typo
2015-12-21 18:12:57 +08:00
Xinchen Hui
4f48704014
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
2015-12-21 18:11:01 +08:00
Xinchen Hui
817513af4e
Fixed bug #71178 (preg_replace with arrays creates [0] in replace array if not already set)
2015-12-21 18:10:48 +08:00
Nikita Popov
420ff42bc0
Protect against overflows in pi constraints
2015-12-20 12:56:05 +01:00
Yasuo Ohgaki
0cf7143441
Add session module test
2015-12-20 11:39:57 +09:00