1

I want to print the array identifier name along with its content. In situations where a page contains many arrays, then there is a confusion - which elements belong to which array.

$user= array('id' => 1,'name' => "Tom");

//expectation
user
Array
(
    [id] => 1
    [name] => Tom
)
1
  • Thiis link may help you Commented Apr 12, 2019 at 11:49

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.