'http' => [
'method' => 'POST',
'header' => "Content-type: application/json\r\nAuthorization: Bearer токен",
'content' => json_encode(
[
[
'text' => 'text',
'complete_till' => 1661578861
]
],
JSON_UNESCAPED_UNICODE
)
]
sites[i].name
var sites = [
{ url: 'https://example.com', name: 'Site 1' },
{ url: 'https://example2.com', name: 'Site2' },
];
<?php
$begin = hrtime(true);
// Соединение с БД
$end = hrtime(true);
echo $end - $begin;
Из S1 == 1 в данном примере всегда следует S0 == 0 (или !S0 == 1) просто потому, что состояния S1:0 == 11 у нас нет.