History log of /PHP-8.0/ext/opcache/Optimizer/block_pass.c (Results 76 – 100 of 223)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1
# 330a7b62 23-Feb-2017 Xinchen Hui

Fixed bug #74152 (if statement says true to a null variable)


Revision tags: php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1
# dac6c639 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 478f119a 04-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


# 9e29f841 02-Jan-2017 Sammy Kaye Powers

Update copyright headers to 2017


Revision tags: php-7.1.1, php-5.6.29
# 60249f43 07-Dec-2016 Nikita Popov

Fix propagation of QM_ASSIGN into VERIFY_RETURN_TYPE

VERIFY_RETURN_TYPE uses different formats for the CONST/non-CONST
cases. If we progate a CONST operand into op1, op1 should be
mo

Fix propagation of QM_ASSIGN into VERIFY_RETURN_TYPE

VERIFY_RETURN_TYPE uses different formats for the CONST/non-CONST
cases. If we progate a CONST operand into op1, op1 should be
moved to result.

show more ...


Revision tags: php-7.0.14
# 9c1920d9 02-Dec-2016 Dmitry Stogov

Revert "Fix memory leaks with FE_RESET upon empty iterator"

This reverts commit 00e516e57549f29387ef858de7847e7e4ca0c1c0.


Revision tags: php-7.1.0
# 00e516e5 28-Nov-2016 Bob Weinand

Fix memory leaks with FE_RESET upon empty iterator

Solved by manually freeing and jumping to the opcode *after* FE_FREE


Revision tags: php-5.6.29RC1, php-7.0.14RC1
# 8106c01a 10-Nov-2016 Nikita Popov

Fix block pass leaks


# 3048428c 10-Nov-2016 Nikita Popov

Don't elide undef var notice


# 4f76073b 10-Nov-2016 Nikita Popov

Set result of FREE to unused in block pass


Revision tags: php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12, php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11
# 9a0bb406 09-Sep-2016 Nikita Popov

Remove handling for defined() and strlen() in opcache

These are converted by the compiler into DEFINED and STRLEN, no
need to handle the function forms.


# bbcf77c3 09-Sep-2016 Nikita Popov

Fix some block_pass bugs


Revision tags: php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1
# b66039db 29-Aug-2016 Dmitry Stogov

Fixed bug #72944 (Null pointer deref in zval_delref_p).


Revision tags: php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1, php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38
# 0da7c08e 13-Jul-2016 Dmitry Stogov

Prevent wrong optimization


Revision tags: php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37, php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1, php-5.6.22, php-5.5.36, php-7.0.7
# 2ae21abd 24-May-2016 Dmitry Stogov

Fixed bug #72213 (Finally leaks on nested exceptions).

Squashed commit of the following:

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

Fixed bug #72213 (Finally leaks on nested exceptions).

Squashed commit of the following:

commit 8461b0407fc9eab0869d43b84e6a92ba2fe06997
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed May 25 00:34:42 2016 +0300

Rmoved zend_try_catch_element.parent and walk through op_array.try_catch_array backward from the current try_cacth_offset.

commit 0c71e249649bed178bfbef30bb3e63c57f07af05
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed May 25 00:04:53 2016 +0300

Move SAVE_OPLINE() to its original place

commit 111432a4df738fcd65878a42f23194dc3c4983a2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed May 25 00:01:10 2016 +0300

Separate the common part of ZEND_HANDLE_EXCEPTION and FAST_RET into zend_dispatch_try_catch_finally_helper.

commit 4f21c06c2ec17819a708bc037f318784554a6ecd
Author: Nikita Popov <nikic@php.net>
Date: Tue May 24 14:55:27 2016 +0200

Improve finally fix

commit da5c7274997b8308e682b5bf280124e3a1483086
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 24 10:36:08 2016 +0300

Fixed Zend/tests/try/bug70228_3.phpt and Zend/tests/try/bug70228_4.phpt

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

Added test

commit 4c6aa93d43da941eb4fda15b48154bfb104bdc04
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 24 00:38:20 2016 +0300

Added tests

commit 8a8f4704b0eca2e460d42c1f253a363b0db8e510
Author: Dmitry Stogov <dmitry@zend.com>
Date: Mon May 23 23:27:34 2016 +0300

Fixed bug #72213 (Finally leaks on nested exceptions)

show more ...


# e745b4ca 18-May-2016 Nikita Popov

Replace BB end with BB len

And support empty blocks everywhere.


Revision tags: php-5.6.22RC1, php-7.0.7RC1
# 0691e7a8 04-May-2016 Nikita Popov

Fix JMPZ, JMPZNZ_EX chain optimization

The result_type was not copied, resulting in a corrupted JMPZ_EX.
Fix can be verified by inspecting the opcodes of the following
function (it s

Fix JMPZ, JMPZNZ_EX chain optimization

The result_type was not copied, resulting in a corrupted JMPZ_EX.
Fix can be verified by inspecting the opcodes of the following
function (it should not contain any _EX opcodes):

function test() {
if ($a && $b) {
echo "a";
}

if ($b || $c || $d) {
echo "b";
}
}

Conflicts:
ext/opcache/Optimizer/block_pass.c

show more ...


Revision tags: php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1
# 4a568dd7 16-Apr-2016 Nikita Popov

Drop left-over debugging statement in block pass


Revision tags: php-7.0.6RC1, php-5.6.20
# 1e82ad80 30-Mar-2016 Andrea Faulds

Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar

Warn about invalid strings in arithmetic

Squashed commit of the following:

commit e05d3b67325d4521418483ed924ac9211a188919
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Mar 30 01:43:35 2016 +0100

UPGRADING and NEWS

commit 6caf1d4585207d1b02fb06a216cd7da1a1f5e12d
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Mar 20 21:18:33 2016 +0000

Fixes

commit 6dadb1b0efe5e2ed071e95a55c806519e61377ac
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 02:15:01 2016 +0000

Add test for numeric string errors in assignment

commit bd5f04e8dd576f92a48d25546f4f9a0f57f374de
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 23:53:05 2016 +0000

Add test for numeric string errors

commit c72e92f16d512bcae30cc9639c89bcb08d971742
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:28:33 2016 +0000

Add test for scientific notation in integer operations

commit d94c08852d405b3a7ef6c84d24bf7915c890ce78
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:25:57 2016 +0000

Disable optimiser evaluation for numeric string errors

commit 30ee954ed13d933e766c68605d683c8ebae3d8ee
Author: Andrea Faulds <ajf@ajf.me>
Date: Sun Feb 14 01:46:25 2016 +0000

fixup

commit a6403b79e054c95e2b7345d787f3092b261eed27
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 22:00:27 2016 +0000

Do not convert error-causing numeric strings ahead-of-time

commit f9dc35401471ef3035954cb6f171826769297548
Author: Andrea Faulds <ajf@ajf.me>
Date: Sat Feb 13 19:15:38 2016 +0000

Disable compile-time evaluation for numeric string errors

commit e05b0cc8496ea082c6db27efd8b8277ef1f785b5
Author: Andrea Faulds <ajf@ajf.me>
Date: Fri Feb 5 11:42:26 2016 +0000

Make _zval_get_long_func_noisy function for inlining

commit 84d66321a57e579759109650c8bb7e3d5002854a
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 23:10:00 2016 +0000

Update tests

commit 5ac4a0cc4bff282e3a15eaa8ab44b67391881a6d
Author: Andrea Faulds <ajf@ajf.me>
Date: Tue Jan 26 22:08:19 2016 +0000

Use is_numeric_string_ex for zval_get_long etc.

commit c21f08848533723331012a62a153de3577731d6a
Author: Andrea Faulds <ajf@ajf.me>
Date: Thu Jan 7 21:13:04 2016 +0000

Update tests

commit 63e214cf8160420bfc51c6a2b4ae32f09ad8e8af
Author: Andrea Faulds <ajf@ajf.me>
Date: Wed Jan 6 00:28:01 2016 +0000

Warn on non-/bad numeric strings in arithmetic

show more ...


Revision tags: php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1
# 8e5b1397 12-Mar-2016 Nikita Popov

Evaluate arguments of new for classes without ctor

ML: http://markmail.org/message/4b3mk7jid64zvz34


# aef22ac1 17-Mar-2016 Xinchen Hui

Remove unnecessary pattern


# 041a01fd 17-Mar-2016 Xinchen Hui

Fixed for PHP7


# 8e2f658f 17-Mar-2016 Xinchen Hui

Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER)


Revision tags: php-5.6.19, php-5.5.33, php-7.0.4
# e65cc72c 18-Feb-2016 Dmitry Stogov

Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string


# 796e1629 18-Feb-2016 Dmitry Stogov

Set proper type flags (REFCOUNTED and COPYABLE) according to interned or regular string


123456789