Обращение к элементу используя устаревший синтаксис
This commit is contained in:
parent
b467451c9e
commit
f570da257d
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ class Tools_String {
|
||||||
$res[] = static::strToArray(implode(',', $subarr[$in_subarr]));
|
$res[] = static::strToArray(implode(',', $subarr[$in_subarr]));
|
||||||
$in_subarr--;
|
$in_subarr--;
|
||||||
}
|
}
|
||||||
} elseif ($tok{0} === '{') { // we're inside a new sub-array
|
} elseif ($tok[0] === '{') { // we're inside a new sub-array
|
||||||
if ('}' !== substr($tok, -1, 1)) {
|
if ('}' !== substr($tok, -1, 1)) {
|
||||||
$in_subarr++;
|
$in_subarr++;
|
||||||
// if sub-array has more than one element
|
// if sub-array has more than one element
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue