names.addAll(iniDefinitions.getNames());
for (String name : names) {
if (name.startsWith(prefix)) {
IniDefinition iniDefinition = iniDefinitions.get(name);
// php/1a0n - do not add unless defined
if (!iniDefinition.isRuntimeDefinition()) {
ArrayValue inner = new ArrayValueImpl();
inner.put(global, iniDefinition.getAsStringValue(env.getQuercus()));
inner.put(local, iniDefinition.getAsStringValue(env));
inner.put(access, LongValue.create(iniDefinition.getScope()));
directives.put(env.createStringOld(name), inner);
}
}
}