Answer the question
In order to leave comments, you need to log in
How to parse a string into an array?
there is a line some1[some2][some3]
as a matter of fact it is name input. Available as a string. There is also some value.
It is necessary to parse and get an array
$ar = [
'some1'=>[
'some2' => [
'some3' => 'некий value'
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question