Skip to content

Instantly share code, notes, and snippets.

View asistent0's full-sized avatar

Константин asistent0

  • Volzhsky
  • 18:08 (UTC +03:00)
View GitHub Profile
@asistent0
asistent0 / trim nbsp.php
Created April 29, 2019 06:31 — forked from knedle/trim nbsp.php
Trim/remove   with php
<?php
$str = trim($str, chr(0xC2).chr(0xA0));
References:
Установка xDebug: https://xdebug.org/docs/install
Описание директив конфигурации: https://xdebug.org/docs/all_settings
Описание функций: https://xdebug.org/docs/all_functions
XHprof: https://www.php.net/manual/ru/book.xhprof.php
Useful links:
- https://grandrr.medium.com/profiling-php-application-with-docker-and-xhprof-e23188bdc223
- https://gist.github.com/hoandang/88bfb1e30805df6d1539640fc1719d12
- https://itelmenko.ru/working-environment/xdebug-docker-phpstorm/