Note: This manual is provided for your convenience only - this is not the official source and may not be 100% up to date.
CLXIII. Swish Functions
The swish extension provides the bindings for Swish-e API. Swish-e stands for "Simple Web Indexing System for Humans - Enhanced" and is an open source system for indexing and search. Swish-e itself is licensed under GPL license, but uses a clause that allows applications to link against the library if every copy of the combined work is accompanied by the URL to Swish-e source code. Here it is: http://swish-e.org.
PECL/swish requires PHP 5.1.3 or newer.
Information for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: http://pecl.php.net/package/swish.
The latest PECL/swish Win32 DLL can be downloaded here: php_swish.dll.
This extension has no configuration directives defined in php.ini.
The above example will output something similar to:
The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
SwishException extends the built in Exception class and possesses the same set of properties and methods. See the Section called Extending Exceptions in Chapter 20 for more details.