Skip to content

Commit 75b83ec

Browse files
committed
Add NEWS
1 parent 744c4a5 commit 75b83ec

File tree

3 files changed

+14
-10
lines changed

3 files changed

+14
-10
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 2017 PHP 7.0.19
44

5+
- Core:
6+
. Fixed bug #74188 (Null coalescing operator fails for undeclared static
7+
class properties). (tpunt)
8+
59
- GD:
610
. Fixed bug #74343 (compile fails on solaris 11 with system gd2 library).
711
(krakjoe)

Zend/zend_vm_def.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ ZEND_VM_HELPER_EX(zend_fetch_var_address_helper, CONST|TMPVAR|CV, UNUSED|CONST|V
15631563
FREE_OP1();
15641564
HANDLE_EXCEPTION();
15651565
}
1566-
if (retval) {
1566+
if (EXPECTED(retval)) {
15671567
if (OP1_TYPE == IS_CONST) {
15681568
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
15691569
}

Zend/zend_vm_execute.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5055,7 +5055,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
50555055

50565056
HANDLE_EXCEPTION();
50575057
}
5058-
if (retval) {
5058+
if (EXPECTED(retval)) {
50595059
if (IS_CONST == IS_CONST) {
50605060
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
50615061
}
@@ -7023,7 +7023,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
70237023

70247024
HANDLE_EXCEPTION();
70257025
}
7026-
if (retval) {
7026+
if (EXPECTED(retval)) {
70277027
if (IS_CONST == IS_CONST) {
70287028
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
70297029
}
@@ -7541,7 +7541,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
75417541

75427542
HANDLE_EXCEPTION();
75437543
}
7544-
if (retval) {
7544+
if (EXPECTED(retval)) {
75457545
if (IS_CONST == IS_CONST) {
75467546
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
75477547
}
@@ -31473,7 +31473,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
3147331473

3147431474
HANDLE_EXCEPTION();
3147531475
}
31476-
if (retval) {
31476+
if (EXPECTED(retval)) {
3147731477
if (IS_CV == IS_CONST) {
3147831478
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
3147931479
}
@@ -33713,7 +33713,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
3371333713

3371433714
HANDLE_EXCEPTION();
3371533715
}
33716-
if (retval) {
33716+
if (EXPECTED(retval)) {
3371733717
if (IS_CV == IS_CONST) {
3371833718
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
3371933719
}
@@ -34673,7 +34673,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
3467334673

3467434674
HANDLE_EXCEPTION();
3467534675
}
34676-
if (retval) {
34676+
if (EXPECTED(retval)) {
3467734677
if (IS_CV == IS_CONST) {
3467834678
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
3467934679
}
@@ -41946,7 +41946,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
4194641946
zval_ptr_dtor_nogc(free_op1);
4194741947
HANDLE_EXCEPTION();
4194841948
}
41949-
if (retval) {
41949+
if (EXPECTED(retval)) {
4195041950
if ((IS_TMP_VAR|IS_VAR) == IS_CONST) {
4195141951
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
4195241952
}
@@ -42961,7 +42961,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
4296142961
zval_ptr_dtor_nogc(free_op1);
4296242962
HANDLE_EXCEPTION();
4296342963
}
42964-
if (retval) {
42964+
if (EXPECTED(retval)) {
4296542965
if ((IS_TMP_VAR|IS_VAR) == IS_CONST) {
4296642966
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
4296742967
}
@@ -43384,7 +43384,7 @@ static ZEND_OPCODE_HANDLER_RET ZEND_FASTCALL zend_fetch_var_address_helper_SPEC_
4338443384
zval_ptr_dtor_nogc(free_op1);
4338543385
HANDLE_EXCEPTION();
4338643386
}
43387-
if (retval) {
43387+
if (EXPECTED(retval)) {
4338843388
if ((IS_TMP_VAR|IS_VAR) == IS_CONST) {
4338943389
CACHE_POLYMORPHIC_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(opline->op1)), ce, retval);
4339043390
}

0 commit comments

Comments
 (0)