can anyone tell me what is worng with this code?
while(list($struct, $items) = each($structs)) {
$default = new stdClass;
$size = 0;
while(list($item, $idef) = each($items)) {
$default->{$item} = NULL;
list($datatype, $defval) = explode(':', $idef, 2);
if (NULL !== $defval) {
$default->{$item} = $defval;
}