How to parse the string into an array?


Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
19 views
there is a line some1[some2][some3] in fact it is the name input. There is a line. There is a value.
It is necessary to disassemble and to array
$ar = [ 'some1'=>[ 'some2' => [ 'some3' => 'some value'

Can't figure out how to do it. Nesting is unknown.
by | 19 views

1 Answer

0 like 0 dislike
by

Related questions

0 like 0 dislike
3 answers
0 like 0 dislike
3 answers
asked May 4, 2019 by mrDolte
0 like 0 dislike
2 answers
asked Apr 14, 2019 by EnderStore
110,608 questions
257,187 answers
0 comments
40,796 users