How to get data from js VC?

How to get the js in php vk api if 2 and 4 times placed in the array!
March 19th 20 at 08:40
1 answer
March 19th 20 at 08:42
Solution
@joanne.Haley,
<?php
$a='{
"response":
{"items":[
 {"type": "photo",
"source_id":111342022,
"date":1553194313,
photos:
{
"count":10,
"items":[{
"id":456247001,
"album_id":257940624,
"owner_id":111342022,
"sizes":1}]
}
}]
}
}
';

$b=JSON_decode($a);

print "<pre>";
var_dump($b->response->items[0]->source_id);
@joanne.Haley,
response.items[0].photos.items[0].id - Karolann42 commented on March 19th 20 at 08:45

Find more questions by tags VKontakteJavaScriptPHP