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