Remove ZendArray
SharedMap was the last dependency on ZendArray. For its localCache, use a TypedValue[] array indexed by SharedVariant.getIndex(), and for escalate(mutableIteration), escalate to an HphpArray instead of a ZendArray.
Esse commit está contido em:
@@ -1616,7 +1616,7 @@ void FunctionScope::outputCPPDynamicInvoke(CodeGenerator &cg,
|
||||
if (!fewArgs && m_maxParam) {
|
||||
for (int i = 0; i < m_maxParam; i++) {
|
||||
if (isRefParam(i)) {
|
||||
cg_printf("const_cast<Array&>(params).escalate(true);\n");
|
||||
cg_printf("const_cast<Array&>(params).escalate();\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário