Access to undefined array index should be reported as error.
All checks were successful
The build was successful.
All checks were successful
The build was successful.
This commit is contained in:
父節點
72c420cc85
當前提交
f6e2b549b6
@ -2535,8 +2535,7 @@ static sxi32 VmByteCodeExec(
|
||||
pTos->nIdx = SXU32_HIGH;
|
||||
}
|
||||
/* Emit a notice */
|
||||
PH7_VmThrowError(&(*pVm), PH7_CTX_NOTICE,
|
||||
"Attempt to access an undefined array index, PH7 is loading NULL");
|
||||
PH7_VmThrowError(&(*pVm), PH7_CTX_ERR, "Attempt to access an undefined array index");
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user