<?php
$region = 93;
$cat = 'dacha';
$urls = ['1', '2', '3', 'abc'];
$projects['realty' . $region . '_' . $cat . '_search.xml'] = [[
'type' => 'urls',
'urls' => [
'http://dacha.ngs93.ru/' => 1,
'http://dacha.ngs93.ru/sell/' => 0.9,
'http://dacha.ngs93.ru/buy/' => 0.3,
'http://dacha.ngs93.ru/rent_available/' => 0.9,
'http://dacha.ngs93.ru/rent_required/' => 0.3,
],
]
];
$project = &$projects['realty' . $region . '_' . $cat . '_search.xml'];
var_export($project);
preferences:
35.47 ms | 402 KiB | 5 Q