History log of /PHP-7.2/ext/opcache/Optimizer/zend_inference.c (Results 76 – 100 of 146)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 3760bc54 10-Oct-2016 Dmitry Stogov

Removed deprecated flag


# b2d53e47 06-Oct-2016 Dmitry Stogov

Updated reference-counting inferece rules.
The previous rules refected PHP-5 behavior and were completely wrong for PHP-7. (e.g. scalars don't have reference counters at all).
This change sho

Updated reference-counting inferece rules.
The previous rules refected PHP-5 behavior and were completely wrong for PHP-7. (e.g. scalars don't have reference counters at all).
This change shouldn't affect anything, because results of this inference are not used yet.

show more ...


Revision tags: php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26
# c218c4f0 15-Sep-2016 Dmitry Stogov

Special handling for $php_errormsg and $http_response_header.


# c7651c23 24-Sep-2016 Nikita Popov

Fix a couple of ASSIGN_DIM/OBJ inference bugs

Account for possible null return values better.


# db801763 24-Sep-2016 Nikita Popov

Add range inference for ZEND_STRLEN

On 32-bit systems we conservatively allow negative lengths.
On 64-bit systems, the range could additionally be restricted to
the canonical 48-bit

Add range inference for ZEND_STRLEN

On 32-bit systems we conservatively allow negative lengths.
On 64-bit systems, the range could additionally be restricted to
the canonical 48-bit size.

show more ...


# 902e9ad0 15-Sep-2016 Dmitry Stogov

Special handling for $php_errormsg and $http_response_header.


Revision tags: php-7.1.0RC2, php-7.0.11
# 6aa07c90 07-Sep-2016 Dmitry Stogov

Fixed type inference bug


# daa2b75c 04-Sep-2016 Nikita Popov

Fix some sizeof(zend_long) > sizeof(size_t) issues

Fix a couple of mistakes that are only relevant if
sizeof(zend_long) > sizeof(size_t).

* Fix cast order in string offset check

Fix some sizeof(zend_long) > sizeof(size_t) issues

Fix a couple of mistakes that are only relevant if
sizeof(zend_long) > sizeof(size_t).

* Fix cast order in string offset check: Negation should happen
after the (zend_long) cast, otherwise sign extension does not
occur.
* Use Z_UL in zend_inference.
* Use aligned size for HT_USED_SIZE in zend_persist: The issue is
that on x86-32 uint64_t is considered to be 4-aligned, so the
alignment assumption does not hold.

show more ...


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# 129e8dad 23-Aug-2016 Dmitry Stogov

op_arrays may be optimized independetly and "script" might be NULL


Revision tags: php-7.1.0beta3, php-5.6.25
# 66a527b8 18-Aug-2016 Xinchen Hui

Fixed segfault introduced in 447e57a1e12cdcc6791302d5097119fb2165475a


# 447e57a1 17-Aug-2016 Kalle Sommer Nielsen

Fixed 7.1 build, decls first please!


Revision tags: php-7.0.10, php-7.1.0beta2
# 1a780e67 05-Aug-2016 Nikita Popov

Add assertion to prevent type narrowing

Currently type narrowing is always a bug, make sure we know about
it.


# fc7c81ff 05-Aug-2016 Nikita Popov

Fixed bug #72762


Revision tags: php-5.6.25RC1, php-7.0.10RC1
# 59a7da7b 30-Jul-2016 Kalle Sommer Nielsen

Fix opcache build


Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38
# 5f6effed 10-Jul-2016 Nikita Popov

Add opcodes to zend_wrong_string_offset()


Revision tags: php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1
# d8983446 30-Jun-2016 Dmitry Stogov

Inline simple constant functions


# 871cd76a 29-Jun-2016 Dmitry Stogov

clanup


# 2710ce22 28-Jun-2016 Nikita Popov

Remove assert for now


Revision tags: php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37
# cdd58edf 16-Jun-2016 Nikita Popov

More type inferences fixes


# 14331620 21-Jun-2016 Dmitry Stogov

Fixed compilation warnings


# 811dfba4 16-Jun-2016 Nikita Popov

More type inference fixes


# ff363e2e 15-Jun-2016 Dmitry Stogov

Implemented RFC: Replace "Missing argument" warning with "Too few arguments" exception
Squashed commit of the following:

commit 8b45fa2acb8cd92542a39e1e4720fe1f4fabc26c
Author: Dmitr

Implemented RFC: Replace "Missing argument" warning with "Too few arguments" exception
Squashed commit of the following:

commit 8b45fa2acb8cd92542a39e1e4720fe1f4fabc26c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Jun 16 01:52:50 2016 +0300

Separate slow path of ZEND_RECV into a cold function.

commit 9e18895ee59c64c93a96b1ba3061355c4663e962
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 23:26:28 2016 +0300

Required argument can't be IS_UNDEF anymore.

commit 662db66e3943d4455c65e4f987bb54abf724ecb2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 31 17:14:50 2016 +0300

Replace "Missing argument" warning by "Too few arguments" exception.

show more ...


# a9512af8 15-Jun-2016 Dmitry Stogov

Implemented RFC: Fix inconsistent behavior of $this variable
Squashed commit of the following:

commit bdd3b6895c3ce3eacfcf7d4bf4feb8dfa61801fd
Author: Dmitry Stogov <dmitry@zend.com>

Implemented RFC: Fix inconsistent behavior of $this variable
Squashed commit of the following:

commit bdd3b6895c3ce3eacfcf7d4bf4feb8dfa61801fd
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Jun 16 00:19:42 2016 +0300

Fixed GOTO VM

commit 2f1d7c8b89ce821086d357cf65f629f040a85c03
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 21:01:57 2016 +0300

Removed unused variable

commit cf749c42b0b1919f70b1e7d6dcbfff76899506af
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 19:06:16 2016 +0300

Protection from $this reassign through mb_parse_str()

commit 59a9a6c83c66b666971e57f1173b33a422166efd
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 18:14:50 2016 +0300

Added type inference rule for FETCH_THIS opcode

commit 73f8d14a856f14a461430b3c7534ab2ce870cbf6
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 18:11:18 2016 +0300

Restored PHP-7 behavior of isset($this->foo).
It throws exception if not in object context.
Removed useless opcode handlers.

commit fa0881381e8ae97e022ae5d1ec0851c952f33c82
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 31 12:25:47 2016 +0300

Changed "Notice: Undefined variable: this" into "Exception: Using $this when not in object context".

commit e32cc528c0f2c97963d8ec83eff0269f1f45af18
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 24 02:02:43 2016 +0300

Throw exception on attempt to re-assign $this through extract() and parse_str().

commit 41f1531b52113ec8a4c208aa6b9ef50f1386bb3f
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon May 23 22:18:36 2016 +0300

Fixed inconsistent $this behavior

show more ...


Revision tags: php-5.6.23RC1
# fba6f90a 08-Jun-2016 Nikita Popov

Fix type inference bugs

* Add proper array_key_any|array_of_any|array_of_ref in some more
places
* strlen() on objects may be null
* IS fetch on string dim may be null


# d1298725 15-Jun-2016 Dmitry Stogov

Fixed mistakes in type inference rules.


123456