Skip to content

Instantly share code, notes, and snippets.

<?php
/****************** удаляем из массива ******************/
//массив из которого нужно удалить
$letters = array('(', ')', '[', ']', '{', '}','h', 'r','ff');
//массив данных, которые не трогаем
$no_delete = array('(', ')', '[', ']', '{', '}');
foreach($letters_new as $key => $char){
<?php
/********* универсальное решение ****************/
function sendRequest($url, array $params = [], $post = false){
$curl = curl_init();
$headers = array(
'Content-Type: application/json-patch+json',
'accept: application/json',
);
if ($post == true) {
@Azmandios
Azmandios / GitCommitEmoji.md
Created September 16, 2021 06:25 — forked from supervoron1/GitCommitEmoji.md
Git Commit message Emoji