-
- Elzo Valugi

-
Total Posts: 28
Joined: 2010-02-01
|
my PHP memory limit is 512M ...
this is the function where is stalles
function _processStructure($key) { $ret = array(); //449 line if (count($pieces = explode('|', $key)) > 1) { $ret['choices'] = array(); foreach ($pieces as $piece) { $ret['choices'][] = $this->_processStructure($piece); } return $ret; } $multi = $key{0}; if ($multi == '+' || $multi == '*') { $ret['multiple'] = $key{0}; $key = substr($key, 1); } if (count($attrs = explode('->', $key)) > 1) { $ret['tag'] = array_shift($attrs); $ret['attribs'] = $attrs; } else { $ret['tag'] = $key; } return $ret; }
|