let allBudget = 0;
for(let i = 0; i < people.length; i++){
allBudget += people[i].money;
}
/\?(.*)/
&
и потом каждую пару разбить на ключ и значение по знаку =
.const url = new URL('https://mydomen.ru/category/search?area=32&city=31');
console.log('host', url.host);
console.log('search', url.search);
const city = url.searchParams.get('city');
console.log('city', city);
$b=$pdo->prepare(" INSERT INTO `main` SET tel=:tel");
$b->bindValue(":tel", '79998887766');
$pdo->prepare(" INSERT INTO `main` SET tel=:tel")->execute(["tel" => '79998887766']);
$out = exec('cd /path && mysql -u root < "/path/my-sql.sql" 2>&1');
log_error($out);
<?if(!empty($arItem["DISPLAY_PROPERTIES"]["SUB_HEADER"]["VALUE"])):?>
<?=$arItem["DISPLAY_PROPERTIES"]["SUB_HEADER"]["VALUE"]?>
<?endif;?>
echo <(ls -1 .)
/dev/fd/63
shopt -s nullglob
for f in my_temp_dir/*; do
echo "$f"
done
....
RUN curl -LO https://deployer.org/deployer.phar && \
mv deployer.phar /usr/local/bin/dep && \
chmod +x /usr/local/bin/dep
....
RUN dep test