Установка

The easiest way to install the extension is via » PECL

pecl install ds

You can also build directly from source:

# Dependencies you might need to install
# sudo apt-get install git build-essential php7.0-dev

git clone https://github.com/php-ds/extension "php-ds"
cd php-ds

# Build and install the extension
phpize
./configure
make
make install

# Clean up the build files
make clean
phpize --clean

If you're on Windows, you can » download a compiled .dll on PECL

Замечание:

If you're using Composer, it's highly recommended that you include » php-ds/php-ds in your project so that your code is still functional in an environment where the extension is not installed. The extension will take priority if installed.

Коментарии

Note: please load this extension after json extension,otherwise can't   load this extension.
2017-01-12 07:38:50
http://php5.kiev.ua/manual/ru/ds.installation.html
You can install using brew install homebrew/php/php71-ds on macOs
2017-03-17 17:54:26
http://php5.kiev.ua/manual/ru/ds.installation.html
On Debian & ubuntu also avaliable via APT system:
ex: apt install php8.1-ds
2023-11-12 13:12:08
http://php5.kiev.ua/manual/ru/ds.installation.html

    Поддержать сайт на родительском проекте КГБ